@code-inspector/core
Advanced tools
+2
-2
| { | ||
| "name": "@code-inspector/core", | ||
| "version": "1.2.3", | ||
| "version": "1.2.4", | ||
| "main": "dist/index.js", | ||
@@ -44,3 +44,3 @@ "module": "./dist/index.mjs", | ||
| "dotenv": "^16.1.4", | ||
| "launch-ide": "1.1.1", | ||
| "launch-ide": "1.2.0", | ||
| "portfinder": "^1.0.28" | ||
@@ -47,0 +47,0 @@ }, |
@@ -0,1 +1,3 @@ | ||
| /// <reference types="node" /> | ||
| import { Server } from 'http'; | ||
| import type { Editor } from 'launch-ide'; | ||
@@ -17,2 +19,3 @@ export type HotKey = 'ctrlKey' | 'altKey' | 'metaKey' | 'shiftKey'; | ||
| root?: string; | ||
| server?: Server; | ||
| }; | ||
@@ -19,0 +22,0 @@ export type IDEOpenMethod = 'reuse' | 'new' | 'auto'; |
@@ -1,2 +0,3 @@ | ||
| import { CodeOptions, Condition, EscapeTags } from './type'; | ||
| /// <reference types="node" /> | ||
| import { CodeOptions, Condition, EscapeTags, RecordInfo } from './type'; | ||
| export declare function getIP(ip: boolean | string): string; | ||
@@ -17,2 +18,7 @@ export declare function fileURLToPath(fileURL: string): string; | ||
| export declare function isExcludedFile(file: string, options: CodeOptions): boolean; | ||
| export declare const hasProjectRecord: (record: RecordInfo) => boolean; | ||
| export declare const getProjectRecord: (record: RecordInfo) => Partial<RecordInfo> | undefined; | ||
| export declare const setProjectRecord: (record: RecordInfo, key: keyof RecordInfo, value: any) => void; | ||
| export declare const cleanProjectRecord: (record: RecordInfo) => void; | ||
| export declare const isProjectAlive: (record: RecordInfo) => false | (() => string | import("net").AddressInfo | null) | undefined; | ||
| export {}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
12192555
0.04%2688
0.34%2
100%+ Added
- Removed
Updated