nw-builder 4.17.11 → 4.17.13
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/package.json +13 -13
- package/src/bld.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nw-builder",
|
|
3
|
-
"version": "4.17.
|
|
3
|
+
"version": "4.17.13",
|
|
4
4
|
"description": "Build NW.js desktop applications for MacOS, Windows and Linux.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NW.js",
|
|
@@ -56,28 +56,28 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@eslint/js": "^10.0.1",
|
|
59
|
-
"@vitest/coverage-v8": "^4.1.
|
|
59
|
+
"@vitest/coverage-v8": "^4.1.9",
|
|
60
60
|
"base-volta-off-of-nwjs": "^1.0.5",
|
|
61
|
-
"eslint": "^10.
|
|
62
|
-
"eslint-plugin-jsdoc": "^
|
|
63
|
-
"globals": "^17.
|
|
64
|
-
"nw": "^0.
|
|
65
|
-
"selenium-webdriver": "^4.
|
|
61
|
+
"eslint": "^10.6.0",
|
|
62
|
+
"eslint-plugin-jsdoc": "^63.0.10",
|
|
63
|
+
"globals": "^17.7.0",
|
|
64
|
+
"nw": "^0.112.0",
|
|
65
|
+
"selenium-webdriver": "^4.45.0",
|
|
66
66
|
"vitest": "^4.0.14"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@nwutils/getter": "^0.2.4",
|
|
70
70
|
"@nwutils/runner": "^0.2.3",
|
|
71
|
-
"archiver": "^
|
|
72
|
-
"commander": "^
|
|
71
|
+
"archiver": "^8.0.0",
|
|
72
|
+
"commander": "^15.0.0",
|
|
73
73
|
"glob": "^13.0.6",
|
|
74
|
-
"plist": "^
|
|
74
|
+
"plist": "^5.0.0",
|
|
75
75
|
"resedit": "^3.0.2",
|
|
76
|
-
"semver": "^7.
|
|
77
|
-
"tar": "^7.5.
|
|
76
|
+
"semver": "^7.8.5",
|
|
77
|
+
"tar": "^7.5.19"
|
|
78
78
|
},
|
|
79
79
|
"volta": {
|
|
80
|
-
"node": "
|
|
80
|
+
"node": "26.1.0",
|
|
81
81
|
"npm": "11.13.0"
|
|
82
82
|
}
|
|
83
83
|
}
|
package/src/bld.js
CHANGED
|
@@ -4,7 +4,7 @@ import fs from 'node:fs';
|
|
|
4
4
|
import path from 'node:path';
|
|
5
5
|
import process from 'node:process';
|
|
6
6
|
|
|
7
|
-
import
|
|
7
|
+
import { ZipArchive } from 'archiver';
|
|
8
8
|
import * as resedit from 'resedit';
|
|
9
9
|
// pe-library is a direct dependency of resedit
|
|
10
10
|
import * as peLibrary from 'pe-library';
|
|
@@ -354,7 +354,7 @@ const compress = async ({
|
|
|
354
354
|
outDir,
|
|
355
355
|
}) => {
|
|
356
356
|
if (zip === true || zip === 'zip') {
|
|
357
|
-
const archive =
|
|
357
|
+
const archive = new ZipArchive();
|
|
358
358
|
const writeStream = fs.createWriteStream(`${outDir}.zip`);
|
|
359
359
|
archive.pipe(writeStream);
|
|
360
360
|
archive.directory(outDir, false);
|