@e-mc/types 0.9.20 → 0.9.21

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
- * [View Source](https://www.unpkg.com/@e-mc/types@0.9.20/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.9.21/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { LogArguments } from "./lib/logger";
@@ -194,12 +194,12 @@ const IMPORT_MAP: Record<string, string | undefined>;
194
194
 
195
195
  ## References
196
196
 
197
- - https://www.unpkg.com/@e-mc/types@0.9.20/lib/logger.d.ts
198
- - https://www.unpkg.com/@e-mc/types@0.9.20/lib/module.d.ts
197
+ - https://www.unpkg.com/@e-mc/types@0.9.21/lib/logger.d.ts
198
+ - https://www.unpkg.com/@e-mc/types@0.9.21/lib/module.d.ts
199
199
 
200
200
  * https://nodejs.org/api/perf_hooks.html
201
201
  * https://www.npmjs.com/package/@types/bytes
202
202
 
203
203
  ## LICENSE
204
204
 
205
- BSD 3-Clause
205
+ MIT
package/constant.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export const enum INTERNAL {
2
- VERSION = '0.9.20',
2
+ VERSION = '0.9.21',
3
3
  TEMP_DIR = 'tmp',
4
4
  CJS = '__cjs__'
5
5
  }
@@ -67,6 +67,7 @@ export const enum ERR_MESSAGE {
67
67
  UNSUPPORTED_MIME = 'Unsupported MIME',
68
68
  UNSUPPORTED_READ = 'Not permitted to read file',
69
69
  UNSUPPORTED_WRITE = 'Not permitted to write file',
70
+ UNSUPPORTED_PATH = 'Not permitted to set absolute path',
70
71
  NOTFOUND_PATH = 'Path not found',
71
72
  NOTFOUND_FILE = 'File not found',
72
73
  NOTFOUND_BINARY = 'Binary 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.9.20",
3
+ "version": "0.9.21",
4
4
  "description": "Type definitions for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",