@e-mc/module 0.12.5 → 0.12.6

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 +6 -6
  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
- * [View Source](https://www.unpkg.com/@e-mc/types@0.12.5/lib/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.12.6/lib/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { LogStatus } from "./squared";
@@ -414,11 +414,11 @@ interface LoggerModule {
414
414
 
415
415
  ## References
416
416
 
417
- - https://www.unpkg.com/@e-mc/types@0.12.5/lib/core.d.ts
418
- - https://www.unpkg.com/@e-mc/types@0.12.5/lib/logger.d.ts
419
- - https://www.unpkg.com/@e-mc/types@0.12.5/lib/module.d.ts
420
- - https://www.unpkg.com/@e-mc/types@0.12.5/lib/node.d.ts
421
- - https://www.unpkg.com/@e-mc/types@0.12.5/lib/settings.d.ts
417
+ - https://www.unpkg.com/@e-mc/types@0.12.6/lib/core.d.ts
418
+ - https://www.unpkg.com/@e-mc/types@0.12.6/lib/logger.d.ts
419
+ - https://www.unpkg.com/@e-mc/types@0.12.6/lib/module.d.ts
420
+ - https://www.unpkg.com/@e-mc/types@0.12.6/lib/node.d.ts
421
+ - https://www.unpkg.com/@e-mc/types@0.12.6/lib/settings.d.ts
422
422
 
423
423
  * https://www.npmjs.com/package/@types/node
424
424
 
package/index.js CHANGED
@@ -869,7 +869,7 @@ class Module extends EventEmitter {
869
869
  static LOG_STYLE_NOTICE = Object.freeze({ titleBgColor: 'bgGrey', titleColor: 'white' });
870
870
  static LOG_STYLE_REVERSE = Object.freeze({ titleBgColor: 'bgWhite', titleColor: 'black', messageBgColor: 'bgGrey' });
871
871
  static get VERSION() {
872
- return "0.12.5";
872
+ return "0.12.6";
873
873
  }
874
874
  static get LOG_TYPE() {
875
875
  return types_1.LOG_TYPE;
@@ -2645,7 +2645,7 @@ class Module extends EventEmitter {
2645
2645
  dir = dir.substring(ensureDir(PROCESS_CWD).length);
2646
2646
  }
2647
2647
  else {
2648
- this.formatMessage(1, "WARN!", 'Temp directory can only be relative', dir, { ...this.LOG_STYLE_WARN, newline: true });
2648
+ this.formatMessage(1, "WARN!", "Not permitted to set absolute path", dir, { ...this.LOG_STYLE_WARN, newline: true });
2649
2649
  dir = VALUES["temp.dir"];
2650
2650
  }
2651
2651
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/module",
3
- "version": "0.12.5",
3
+ "version": "0.12.6",
4
4
  "description": "Module base class for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "license": "BSD-3-Clause",
20
20
  "homepage": "https://github.com/anpham6/e-mc#readme",
21
21
  "dependencies": {
22
- "@e-mc/types": "0.12.5",
22
+ "@e-mc/types": "0.12.6",
23
23
  "chalk": "4.1.2",
24
24
  "file-type": "^18.7.0",
25
25
  "js-yaml": "^4.1.0",