@code-inspector/core 1.2.4 → 1.2.5
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/dist/index.js +4 -4
- package/dist/index.mjs +32055 -32139
- package/package.json +1 -1
- package/types/shared/index.d.ts +1 -0
- package/types/shared/record-cache.d.ts +5 -0
- package/types/shared/utils.d.ts +1 -7
package/package.json
CHANGED
package/types/shared/index.d.ts
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { RecordInfo } from './type';
|
|
2
|
+
export declare const resetFileRecord: (output: string) => void;
|
|
3
|
+
export declare const getProjectRecord: (record: RecordInfo) => any;
|
|
4
|
+
export declare const setProjectRecord: (record: RecordInfo, key: keyof RecordInfo, value: RecordInfo[keyof RecordInfo]) => void;
|
|
5
|
+
export declare const findPort: (record: RecordInfo) => Promise<number>;
|
package/types/shared/utils.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { CodeOptions, Condition, EscapeTags, RecordInfo } from './type';
|
|
1
|
+
import { CodeOptions, Condition, EscapeTags } from './type';
|
|
3
2
|
export declare function getIP(ip: boolean | string): string;
|
|
4
3
|
export declare function fileURLToPath(fileURL: string): string;
|
|
5
4
|
export declare function isJsTypeFile(file: string): boolean;
|
|
@@ -15,9 +14,4 @@ export declare function getMappingFilePath(file: string, mappings?: Record<strin
|
|
|
15
14
|
replacement: string;
|
|
16
15
|
}>): string;
|
|
17
16
|
export declare function isExcludedFile(file: string, options: CodeOptions): boolean;
|
|
18
|
-
export declare const hasProjectRecord: (record: RecordInfo) => boolean;
|
|
19
|
-
export declare const getProjectRecord: (record: RecordInfo) => Partial<RecordInfo> | undefined;
|
|
20
|
-
export declare const setProjectRecord: (record: RecordInfo, key: keyof RecordInfo, value: any) => void;
|
|
21
|
-
export declare const cleanProjectRecord: (record: RecordInfo) => void;
|
|
22
|
-
export declare const isProjectAlive: (record: RecordInfo) => false | (() => string | import("net").AddressInfo | null) | undefined;
|
|
23
17
|
export {};
|