@lijuhong1981/jsevents 1.1.27 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,9 +1,3 @@
1
- import EventDispatcher from "./src/EventDispatcher.js";
2
- import EventEmitter from "./src/EventEmitter.js";
3
- import EventSubscriber from "./src/EventSubscriber.js";
4
-
5
- export {
6
- EventDispatcher,
7
- EventEmitter,
8
- EventSubscriber,
9
- }
1
+ export * from "./src/EventDispatcher.js";
2
+ export * from "./src/EventEmitter.js";
3
+ export * from "./src/EventSubscriber.js";
package/package.json CHANGED
@@ -1,26 +1,26 @@
1
- {
2
- "name": "@lijuhong1981/jsevents",
3
- "version": "1.1.27",
4
- "description": "> TODO: description",
5
- "author": "lijuhong1981 <lijuhong@hotmail.com>",
6
- "homepage": "https://github.com/lijuhong1981/jslibs#readme",
7
- "license": "ISC",
8
- "type": "module",
9
- "main": "index.js",
10
- "module": "index.js",
11
- "publishConfig": {
12
- "access": "public"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://github.com/lijuhong1981/jslibs.git"
17
- },
18
- "bugs": {
19
- "url": "https://github.com/lijuhong1981/jslibs/issues"
20
- },
21
- "dependencies": {
22
- "@lijuhong1981/jscheck": "^1.0.19",
23
- "@lijuhong1981/jsdestroy": "^1.1.19"
24
- },
25
- "gitHead": "11a1d49d8302089d97ed1c37cdbfa8a231d3ef0c"
26
- }
1
+ {
2
+ "name": "@lijuhong1981/jsevents",
3
+ "version": "1.2.0",
4
+ "description": "> TODO: description",
5
+ "author": "lijuhong1981 <lijuhong@hotmail.com>",
6
+ "homepage": "https://github.com/lijuhong1981/jslibs#readme",
7
+ "license": "ISC",
8
+ "type": "module",
9
+ "main": "index.js",
10
+ "module": "index.js",
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/lijuhong1981/jslibs.git"
17
+ },
18
+ "bugs": {
19
+ "url": "https://github.com/lijuhong1981/jslibs/issues"
20
+ },
21
+ "dependencies": {
22
+ "@lijuhong1981/jscheck": "^1.0.19",
23
+ "@lijuhong1981/jsdestroy": "^1.1.19"
24
+ },
25
+ "gitHead": "11a1d49d8302089d97ed1c37cdbfa8a231d3ef0c"
26
+ }
@@ -210,4 +210,5 @@ class EventDispatcher extends Destroyable {
210
210
  }
211
211
  };
212
212
 
213
- export default EventDispatcher;
213
+ export default EventDispatcher;
214
+ export { EventDispatcher }
@@ -137,4 +137,5 @@ class EventEmitter extends Destroyable {
137
137
  }
138
138
  };
139
139
 
140
- export default EventEmitter;
140
+ export default EventEmitter;
141
+ export { EventEmitter }
@@ -145,4 +145,5 @@ class EventSubscriber extends Destroyable {
145
145
  }
146
146
  };
147
147
 
148
- export default EventSubscriber;
148
+ export default EventSubscriber;
149
+ export { EventSubscriber }