new-native-tools 3.1.17 → 3.1.19
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/index.d.ts +1 -0
- package/index.js +2 -1
- package/package.json +6 -6
- package/tools.darwin-arm64.node +0 -0
- package/tools.darwin-x64.node +0 -0
- package/tools.linux-x64-gnu.node +0 -0
- package/tools.win32-ia32-msvc.node +0 -0
- package/tools.win32-x64-msvc.node +0 -0
package/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare function migrateCookiesDown(filepath: string): Promise<void>
|
|
|
47
47
|
export declare function getSystemInfo(): unknown
|
|
48
48
|
export declare function unzipToFolder(inputZip: string, outputDir: string): Promise<boolean>
|
|
49
49
|
export declare function archivateFolder(outputFile: string, inputDir: string, fileList: Array<string>, excludeFileList?: Array<string> | undefined | null): Promise<boolean>
|
|
50
|
+
export declare function validateArchive(archivePath: string): Promise<boolean>
|
|
50
51
|
export declare function setForegroundByPid(pid: number): boolean | number
|
|
51
52
|
export declare function isProcessRunning(pid: number): boolean
|
|
52
53
|
export declare function killProcessByPid(pid: number): number
|
package/index.js
CHANGED
|
@@ -310,7 +310,7 @@ if (!nativeBinding) {
|
|
|
310
310
|
throw new Error(`Failed to load native binding`)
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
const { checkVersionInAllFolders, generateZipPatch, applyZipPatch, downloadWithProgress, exportEntireLeveldb, importLevelDb, proxyCheckHttp, proxyCheckSocks5H, proxyCheckSocks5, sqliteAddLoginPassword, createSqliteLoginDatabase, sqliteGetVersion, sqliteAddCookies, sqliteGetCookies, migrateCookiesDown, getSystemInfo, unzipToFolder, archivateFolder, setForegroundByPid, isProcessRunning, killProcessByPid, closeProcessByPid, tileWindowsEvenly, rustLoggerInit, getVersion } = nativeBinding
|
|
313
|
+
const { checkVersionInAllFolders, generateZipPatch, applyZipPatch, downloadWithProgress, exportEntireLeveldb, importLevelDb, proxyCheckHttp, proxyCheckSocks5H, proxyCheckSocks5, sqliteAddLoginPassword, createSqliteLoginDatabase, sqliteGetVersion, sqliteAddCookies, sqliteGetCookies, migrateCookiesDown, getSystemInfo, unzipToFolder, archivateFolder, validateArchive, setForegroundByPid, isProcessRunning, killProcessByPid, closeProcessByPid, tileWindowsEvenly, rustLoggerInit, getVersion } = nativeBinding
|
|
314
314
|
|
|
315
315
|
module.exports.checkVersionInAllFolders = checkVersionInAllFolders
|
|
316
316
|
module.exports.generateZipPatch = generateZipPatch
|
|
@@ -330,6 +330,7 @@ module.exports.migrateCookiesDown = migrateCookiesDown
|
|
|
330
330
|
module.exports.getSystemInfo = getSystemInfo
|
|
331
331
|
module.exports.unzipToFolder = unzipToFolder
|
|
332
332
|
module.exports.archivateFolder = archivateFolder
|
|
333
|
+
module.exports.validateArchive = validateArchive
|
|
333
334
|
module.exports.setForegroundByPid = setForegroundByPid
|
|
334
335
|
module.exports.isProcessRunning = isProcessRunning
|
|
335
336
|
module.exports.killProcessByPid = killProcessByPid
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "new-native-tools",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.19",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"napi": {
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"version": "napi version"
|
|
42
42
|
},
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"new-native-tools-win32-x64-msvc": "3.1.
|
|
45
|
-
"new-native-tools-darwin-x64": "3.1.
|
|
46
|
-
"new-native-tools-linux-x64-gnu": "3.1.
|
|
47
|
-
"new-native-tools-darwin-arm64": "3.1.
|
|
48
|
-
"new-native-tools-win32-ia32-msvc": "3.1.
|
|
44
|
+
"new-native-tools-win32-x64-msvc": "3.1.19",
|
|
45
|
+
"new-native-tools-darwin-x64": "3.1.19",
|
|
46
|
+
"new-native-tools-linux-x64-gnu": "3.1.19",
|
|
47
|
+
"new-native-tools-darwin-arm64": "3.1.19",
|
|
48
|
+
"new-native-tools-win32-ia32-msvc": "3.1.19"
|
|
49
49
|
}
|
|
50
50
|
}
|
package/tools.darwin-arm64.node
CHANGED
|
Binary file
|
package/tools.darwin-x64.node
CHANGED
|
Binary file
|
package/tools.linux-x64-gnu.node
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|