new-native-tools 3.1.28 → 3.1.29
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 -1
- package/index.js +2 -2
- 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
|
@@ -56,7 +56,7 @@ export interface Cookie {
|
|
|
56
56
|
export declare function sqliteGetVersion(filepath: string): Promise<string>
|
|
57
57
|
export declare function sqliteAddCookies(filepath: string, cookies: Array<Cookie>): Promise<void>
|
|
58
58
|
export declare function sqliteGetCookies(filepath: string): Promise<Array<Cookie>>
|
|
59
|
-
export declare function
|
|
59
|
+
export declare function migrateCookies(filepath: string): Promise<void>
|
|
60
60
|
export declare function getSystemInfo(): unknown
|
|
61
61
|
export declare function unzipToFolder(inputZip: string, outputDir: string): Promise<boolean>
|
|
62
62
|
export declare function archivateFolder(outputFile: string, inputDir: string, fileList: Array<string>, excludeFileList?: Array<string> | undefined | null): Promise<boolean>
|
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, generateZipPatchFile, applyZipPatch, applyZipPatchFile, downloadWithProgress, exportEntireLeveldb, importLevelDb, proxyCheckHttp, proxyCheckSocks5H, proxyCheckSocks5, sqliteAddLoginPassword, createSqliteLoginDatabase, sqliteGetVersion, sqliteAddCookies, sqliteGetCookies,
|
|
313
|
+
const { checkVersionInAllFolders, generateZipPatch, generateZipPatchFile, applyZipPatch, applyZipPatchFile, downloadWithProgress, exportEntireLeveldb, importLevelDb, proxyCheckHttp, proxyCheckSocks5H, proxyCheckSocks5, sqliteAddLoginPassword, createSqliteLoginDatabase, sqliteGetVersion, sqliteAddCookies, sqliteGetCookies, migrateCookies, 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
|
|
@@ -328,7 +328,7 @@ module.exports.createSqliteLoginDatabase = createSqliteLoginDatabase
|
|
|
328
328
|
module.exports.sqliteGetVersion = sqliteGetVersion
|
|
329
329
|
module.exports.sqliteAddCookies = sqliteAddCookies
|
|
330
330
|
module.exports.sqliteGetCookies = sqliteGetCookies
|
|
331
|
-
module.exports.
|
|
331
|
+
module.exports.migrateCookies = migrateCookies
|
|
332
332
|
module.exports.getSystemInfo = getSystemInfo
|
|
333
333
|
module.exports.unzipToFolder = unzipToFolder
|
|
334
334
|
module.exports.archivateFolder = archivateFolder
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "new-native-tools",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.29",
|
|
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.29",
|
|
45
|
+
"new-native-tools-darwin-x64": "3.1.29",
|
|
46
|
+
"new-native-tools-linux-x64-gnu": "3.1.29",
|
|
47
|
+
"new-native-tools-darwin-arm64": "3.1.29",
|
|
48
|
+
"new-native-tools-win32-ia32-msvc": "3.1.29"
|
|
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
|