@e-mc/module 0.8.9 → 0.8.11

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.
Files changed (3) hide show
  1. package/README.md +5 -5
  2. package/index.js +2 -2
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- - https://www.unpkg.com/@e-mc/types@0.8.9/lib/index.d.ts
12
+ - https://www.unpkg.com/@e-mc/types@0.8.11/lib/index.d.ts
13
13
 
14
14
  ```typescript
15
15
  import type { LogStatus } from "./squared";
@@ -232,10 +232,10 @@ interface ModuleConstructor {
232
232
 
233
233
  ## References
234
234
 
235
- - https://www.unpkg.com/@e-mc/types@0.8.9/lib/core.d.ts
236
- - https://www.unpkg.com/@e-mc/types@0.8.9/lib/logger.d.ts
237
- - https://www.unpkg.com/@e-mc/types@0.8.9/lib/module.d.ts
238
- - https://www.unpkg.com/@e-mc/types@0.8.9/lib/node.d.ts
235
+ - https://www.unpkg.com/@e-mc/types@0.8.11/lib/core.d.ts
236
+ - https://www.unpkg.com/@e-mc/types@0.8.11/lib/logger.d.ts
237
+ - https://www.unpkg.com/@e-mc/types@0.8.11/lib/module.d.ts
238
+ - https://www.unpkg.com/@e-mc/types@0.8.11/lib/node.d.ts
239
239
 
240
240
  ## LICENSE
241
241
 
package/index.js CHANGED
@@ -687,7 +687,7 @@ class Module extends EventEmitter {
687
687
  this[_f] = new AbortController();
688
688
  this[_g] = null;
689
689
  }
690
- static get VERSION() { return "0.8.9"; }
690
+ static get VERSION() { return "0.8.11"; }
691
691
  static get LOG_TYPE() { return types_1.LOG_TYPE; }
692
692
  static get STATUS_TYPE() { return types_1.STATUS_TYPE; }
693
693
  static get MAX_TIMEOUT() { return 2147483647; }
@@ -2276,7 +2276,7 @@ class Module extends EventEmitter {
2276
2276
  if ((0, types_1.isArray)(include)) {
2277
2277
  MEMORY_CACHE_DISK.include = include.map(value => this.toPosix(value, true));
2278
2278
  }
2279
- else if ((0, types_1.isArray)(exclude)) {
2279
+ if ((0, types_1.isArray)(exclude)) {
2280
2280
  MEMORY_CACHE_DISK.exclude = exclude.map(value => this.toPosix(value, true));
2281
2281
  }
2282
2282
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/module",
3
- "version": "0.8.9",
3
+ "version": "0.8.11",
4
4
  "description": "Module base class for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -20,7 +20,7 @@
20
20
  "license": "MIT",
21
21
  "homepage": "https://github.com/anpham6/e-mc#readme",
22
22
  "dependencies": {
23
- "@e-mc/types": "0.8.9",
23
+ "@e-mc/types": "0.8.11",
24
24
  "abort-controller": "^3.0.0",
25
25
  "chalk": "4.1.2",
26
26
  "event-target-shim": "^5.0.1",