@code-inspector/core 1.3.2 → 1.3.4
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 +20848 -20814
- package/package.json +2 -2
- package/types/shared/record-cache.d.ts +2 -2
- package/types/shared/utils.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-inspector/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@vue/compiler-dom": "^3.5.13",
|
|
42
42
|
"chalk": "^4.1.1",
|
|
43
43
|
"dotenv": "^16.1.4",
|
|
44
|
-
"launch-ide": "1.3.
|
|
44
|
+
"launch-ide": "1.3.1",
|
|
45
45
|
"portfinder": "^1.0.28"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RecordInfo } from './type';
|
|
1
|
+
import type { RecordInfo } from './type';
|
|
2
2
|
export declare const resetFileRecord: (output: string) => void;
|
|
3
|
-
export declare const getProjectRecord: (record: RecordInfo) =>
|
|
3
|
+
export declare const getProjectRecord: (record: RecordInfo) => Partial<RecordInfo>;
|
|
4
4
|
export declare const setProjectRecord: (record: RecordInfo, key: keyof RecordInfo, value: RecordInfo[keyof RecordInfo]) => void;
|
|
5
5
|
export declare const findPort: (record: RecordInfo) => Promise<number>;
|
package/types/shared/utils.d.ts
CHANGED
|
@@ -15,4 +15,5 @@ export declare function getMappingFilePath(file: string, mappings?: Record<strin
|
|
|
15
15
|
replacement: string;
|
|
16
16
|
}>): string;
|
|
17
17
|
export declare function isExcludedFile(file: string, options: CodeOptions): boolean;
|
|
18
|
+
export declare function hasWritePermission(filePath: string): boolean;
|
|
18
19
|
export {};
|