@e-mc/types 0.4.0 → 0.4.2

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/constant.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ export const enum INTERNAL {
2
+ VERSION = '0.4.2',
3
+ TEMP_DIR = 'tmp', // eslint-disable-line @typescript-eslint/no-shadow
4
+ CJS = '__cjs__'
5
+ }
6
+
1
7
  export const enum VAL_MESSAGE {
2
8
  SUCCESS = 'Success',
3
9
  MODIFIED_DIRECTORY = 'Directory was modified',
package/lib/index.d.ts CHANGED
@@ -674,6 +674,7 @@ declare namespace functions {
674
674
  readonly LOG_TYPE: LOG_TYPE;
675
675
  readonly STATUS_TYPE: STATUS_TYPE;
676
676
  readonly MAX_TIMEOUT: number;
677
+ readonly TEMP_DIR: string;
677
678
  supported(major: number, minor?: number, patch?: number, lts?: boolean): boolean;
678
679
  formatMessage(type: LogType, title: string, value: LogValue, message?: unknown, options?: LogMessageOptions): void;
679
680
  writeFail(value: LogValue, message?: unknown, options?: LogFailOptions | LogType): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/types",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
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
  "uuid": "^9.0.0"
25
25
  },
26
26
  "devDependencies": {
27
- "typescript": "5.0.2"
27
+ "typescript": "5.0.4"
28
28
  }
29
29
  }