@e-mc/module 0.8.26 → 0.8.27

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.26/lib/index.d.ts
12
+ - https://www.unpkg.com/@e-mc/types@0.8.27/lib/index.d.ts
13
13
 
14
14
  ```typescript
15
15
  import type { LogStatus } from "./squared";
@@ -231,10 +231,10 @@ interface ModuleConstructor {
231
231
 
232
232
  ## References
233
233
 
234
- - https://www.unpkg.com/@e-mc/types@0.8.26/lib/core.d.ts
235
- - https://www.unpkg.com/@e-mc/types@0.8.26/lib/logger.d.ts
236
- - https://www.unpkg.com/@e-mc/types@0.8.26/lib/module.d.ts
237
- - https://www.unpkg.com/@e-mc/types@0.8.26/lib/node.d.ts
234
+ - https://www.unpkg.com/@e-mc/types@0.8.27/lib/core.d.ts
235
+ - https://www.unpkg.com/@e-mc/types@0.8.27/lib/logger.d.ts
236
+ - https://www.unpkg.com/@e-mc/types@0.8.27/lib/module.d.ts
237
+ - https://www.unpkg.com/@e-mc/types@0.8.27/lib/node.d.ts
238
238
 
239
239
  ## LICENSE
240
240
 
package/index.js CHANGED
@@ -717,7 +717,7 @@ class Module extends EventEmitter {
717
717
  this[_f] = new AbortController();
718
718
  this[_g] = null;
719
719
  }
720
- static get VERSION() { return "0.8.26"; }
720
+ static get VERSION() { return "0.8.27"; }
721
721
  static get LOG_TYPE() { return types_1.LOG_TYPE; }
722
722
  static get STATUS_TYPE() { return types_1.STATUS_TYPE; }
723
723
  static get MAX_TIMEOUT() { return 2147483647; }
@@ -2484,7 +2484,7 @@ class Module extends EventEmitter {
2484
2484
  dir = dir.substring(ensureDir(PROCESS_CWD).length);
2485
2485
  }
2486
2486
  else {
2487
- this.formatMessage(1, 'WARN', 'Temp directory can only be relative', dir, { ...this.LOG_STYLE_WARN, newline: true });
2487
+ this.formatMessage(1, 'WARN', "Not permitted to set absolute path", dir, { ...this.LOG_STYLE_WARN, newline: true });
2488
2488
  dir = undefined;
2489
2489
  }
2490
2490
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/module",
3
- "version": "0.8.26",
3
+ "version": "0.8.27",
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.26",
23
+ "@e-mc/types": "0.8.27",
24
24
  "abort-controller": "^3.0.0",
25
25
  "chalk": "4.1.2",
26
26
  "event-target-shim": "^5.0.1",