@e-mc/types 0.11.1 → 0.11.3

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.11.1/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.11.3/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { LogArguments } from "./lib/logger";
@@ -47,7 +47,7 @@ function convertTime(value: number | string): number;
47
47
  function convertTime(value: HighResolutionTime, format: true): string;
48
48
  function convertTime(value: HighResolutionTime, format?: boolean): number;
49
49
  function hasGlob(value: string): boolean;
50
- function escapePattern(value: unknown, lookBehind?: boolean, reserved?: boolean): string;
50
+ function escapePattern(value: unknown, symbols?: boolean): string;
51
51
  function renameExt(value: string, ext: string, when?: string): string;
52
52
  function formatSize(value: string): number;
53
53
  function formatSize(value: number, options?: BytesOptions): string;
@@ -198,10 +198,10 @@ const IMPORT_MAP: Record<string, string | undefined>;
198
198
 
199
199
  ## References
200
200
 
201
- - https://www.unpkg.com/@e-mc/types@0.11.1/index.d.ts
202
- - https://www.unpkg.com/@e-mc/types@0.11.1/lib/logger.d.ts
203
- - https://www.unpkg.com/@e-mc/types@0.11.1/lib/module.d.ts
204
- - https://www.unpkg.com/@e-mc/types@0.11.1/lib/node.d.ts
201
+ - https://www.unpkg.com/@e-mc/types@0.11.3/index.d.ts
202
+ - https://www.unpkg.com/@e-mc/types@0.11.3/lib/logger.d.ts
203
+ - https://www.unpkg.com/@e-mc/types@0.11.3/lib/module.d.ts
204
+ - https://www.unpkg.com/@e-mc/types@0.11.3/lib/node.d.ts
205
205
 
206
206
  * https://developer.mozilla.org/en-US/docs/Web/API/DOMException
207
207
  * 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.11.1',
2
+ VERSION = '0.11.3',
3
3
  TEMP_DIR = 'tmp',
4
4
  CJS = '__cjs__'
5
5
  }
@@ -309,6 +309,7 @@ export const enum SETTINGS_KEY_NAME {
309
309
  NODE_REQUIRE_EXT = "node.require.ext",
310
310
  NODE_REQUIRE_NPM = "node.require.npm",
311
311
  NODE_REQUIRE_INLINE = "node.require.inline",
312
+ NODE_POSIX_STRICT = "node.posix.strict",
312
313
  NODE_PACKAGE_MANAGER = "node.settings.package_manager",
313
314
  TEMP_DIR = "temp.dir",
314
315
  TEMP_WRITE = "temp.write",
package/index.d.ts CHANGED
@@ -252,12 +252,14 @@ declare namespace types {
252
252
  FILEMANAGER_INTERVAL: number;
253
253
  WATCH_INTERVAL: number;
254
254
  WATCH_CHANGE: number;
255
+ LOGGER_METER_INCREMENT: number;
255
256
  }
256
257
 
257
258
  const THRESHOLD: {
258
259
  FILEMANAGER_INTERVAL: number;
259
260
  WATCH_INTERVAL: number;
260
261
  WATCH_CHANGE: number;
262
+ LOGGER_METER_INCREMENT: number;
261
263
  };
262
264
 
263
265
  const IMPORT_MAP: StringMap;
package/index.js CHANGED
@@ -477,6 +477,7 @@ var THRESHOLD;
477
477
  THRESHOLD[THRESHOLD["FILEMANAGER_INTERVAL"] = 100] = "FILEMANAGER_INTERVAL";
478
478
  THRESHOLD[THRESHOLD["WATCH_INTERVAL"] = 500] = "WATCH_INTERVAL";
479
479
  THRESHOLD[THRESHOLD["WATCH_CHANGE"] = 100] = "WATCH_CHANGE";
480
+ THRESHOLD[THRESHOLD["LOGGER_METER_INCREMENT"] = 250] = "LOGGER_METER_INCREMENT";
480
481
  })(THRESHOLD || (exports.THRESHOLD = THRESHOLD = {}));
481
482
  exports.IMPORT_MAP = {
482
483
  "atlas": "@pi-r/atlas",
package/lib/settings.d.ts CHANGED
@@ -54,6 +54,9 @@ export interface NodeModule<T = NodeSettings> extends HandlerSettings<T> {
54
54
  npm?: boolean;
55
55
  inline?: boolean;
56
56
  };
57
+ posix?: {
58
+ strict?: boolean;
59
+ };
57
60
  }
58
61
 
59
62
  export interface NodeSettings extends PlainObject {
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.11.1",
3
+ "version": "0.11.3",
4
4
  "description": "Type definitions for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -24,6 +24,6 @@
24
24
  "chalk": "4.1.2"
25
25
  },
26
26
  "devDependencies": {
27
- "typescript": "5.7.2"
27
+ "typescript": "5.7.3"
28
28
  }
29
29
  }