@e-mc/types 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.
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/index.d.ts
12
+ - https://www.unpkg.com/@e-mc/types@0.8.27/index.d.ts
13
13
 
14
14
  ```typescript
15
15
  import type { LogArguments } from "./lib/logger";
@@ -186,8 +186,8 @@ const IMPORT_MAP: Record<string, string | undefined>;
186
186
 
187
187
  ## References
188
188
 
189
- - https://www.unpkg.com/@e-mc/types@0.8.26/lib/logger.d.ts
190
- - https://www.unpkg.com/@e-mc/types@0.8.26/lib/module.d.ts
189
+ - https://www.unpkg.com/@e-mc/types@0.8.27/lib/logger.d.ts
190
+ - https://www.unpkg.com/@e-mc/types@0.8.27/lib/module.d.ts
191
191
 
192
192
  * https://nodejs.org/api/perf_hooks.html
193
193
  * https://www.npmjs.com/package/@types/bytes
package/constant.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export const enum INTERNAL {
2
- VERSION = '0.8.26',
2
+ VERSION = '0.8.27',
3
3
  TEMP_DIR = 'tmp',
4
4
  CJS = '__cjs__'
5
5
  }
@@ -62,6 +62,7 @@ export const enum ERR_MESSAGE {
62
62
  UNSUPPORTED_MIME = 'Unsupported MIME',
63
63
  UNSUPPORTED_READ = 'Not permitted to read file',
64
64
  UNSUPPORTED_WRITE = 'Not permitted to write file',
65
+ UNSUPPORTED_PATH = 'Not permitted to set absolute path',
65
66
  NOTFOUND_FILE = 'File not found',
66
67
  NOTFOUND_BINARY = 'Binary not found',
67
68
  NOTFOUND_PACKAGE = 'Package not found',
package/lib/task.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- export interface Command<T = unknown> extends PlainObject {
2
- task: string;
3
- origDir: string;
4
- data: T;
5
- }
6
-
7
- export interface SpawnResult {
8
- added?: string[];
9
- deleted?: string[];
1
+ export interface Command<T = unknown> extends PlainObject {
2
+ task: string;
3
+ origDir: string;
4
+ data: T;
5
+ }
6
+
7
+ export interface SpawnResult {
8
+ added?: string[];
9
+ deleted?: string[];
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/types",
3
- "version": "0.8.26",
3
+ "version": "0.8.27",
4
4
  "description": "Type definitions for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",