nw-builder 4.17.5 → 4.17.6
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 +10 -10
- package/src/index.js +1 -1
- package/src/util.js +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nw-builder",
|
|
3
|
-
"version": "4.17.
|
|
3
|
+
"version": "4.17.6",
|
|
4
4
|
"description": "Build NW.js desktop applications for MacOS, Windows and Linux.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NW.js",
|
|
@@ -55,27 +55,27 @@
|
|
|
55
55
|
"demo:cli": "nwbuild --mode=build --flavor=sdk --glob=false --cacheDir=./node_modules/nw --logLevel=debug --managedManifest=./tests/fixtures/app/package.json --outDir=./tests/fixtures/out/linux --app.name=Demo --app.icon=./tests/fixtures/app/icon.png ./tests/fixtures/app"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@eslint/js": "^
|
|
58
|
+
"@eslint/js": "^10.0.1",
|
|
59
59
|
"@vitest/coverage-v8": "^4.0.18",
|
|
60
60
|
"base-volta-off-of-nwjs": "^1.0.5",
|
|
61
|
-
"eslint": "^
|
|
62
|
-
"eslint-plugin-jsdoc": "^62.
|
|
63
|
-
"globals": "^17.
|
|
64
|
-
"nw": "^0.
|
|
65
|
-
"selenium-webdriver": "^4.
|
|
61
|
+
"eslint": "^10.0.2",
|
|
62
|
+
"eslint-plugin-jsdoc": "^62.7.1",
|
|
63
|
+
"globals": "^17.4.0",
|
|
64
|
+
"nw": "^0.109.0",
|
|
65
|
+
"selenium-webdriver": "^4.41.0",
|
|
66
66
|
"vitest": "^4.0.14"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@nwutils/getter": "^0.2.2",
|
|
70
70
|
"archiver": "^7.0.1",
|
|
71
71
|
"commander": "^14.0.3",
|
|
72
|
-
"glob": "^13.0.
|
|
72
|
+
"glob": "^13.0.6",
|
|
73
73
|
"plist": "^3.1.0",
|
|
74
74
|
"resedit": "^3.0.2",
|
|
75
|
-
"tar": "^7.5.
|
|
75
|
+
"tar": "^7.5.10"
|
|
76
76
|
},
|
|
77
77
|
"volta": {
|
|
78
78
|
"node": "25.2.1",
|
|
79
|
-
"npm": "11.
|
|
79
|
+
"npm": "11.11.0"
|
|
80
80
|
}
|
|
81
81
|
}
|
package/src/index.js
CHANGED
package/src/util.js
CHANGED
|
@@ -59,7 +59,7 @@ async function getReleaseInfo(
|
|
|
59
59
|
manifestUrl,
|
|
60
60
|
) {
|
|
61
61
|
let releaseData = undefined;
|
|
62
|
-
let manifestPath
|
|
62
|
+
let manifestPath;
|
|
63
63
|
if (platform === 'osx' && arch === 'arm64') {
|
|
64
64
|
manifestPath = path.resolve(cacheDir, 'manifest.mac.arm.json');
|
|
65
65
|
} else {
|
|
@@ -124,7 +124,6 @@ async function globFiles({
|
|
|
124
124
|
let patterns;
|
|
125
125
|
if (glob) {
|
|
126
126
|
files = [];
|
|
127
|
-
patterns = [];
|
|
128
127
|
if (Array.isArray(srcDir)) {
|
|
129
128
|
patterns = srcDir;
|
|
130
129
|
} else {
|
|
@@ -215,6 +214,7 @@ export const parse = async (options, pkg) => {
|
|
|
215
214
|
options.ffmpeg = str2Bool(options.ffmpeg ?? false);
|
|
216
215
|
options.logLevel = options.logLevel ?? 'info';
|
|
217
216
|
options.shaSum = str2Bool(options.shaSum ?? true);
|
|
217
|
+
options.nativeAddon = str2Bool(options.nativeAddon) ?? false;
|
|
218
218
|
|
|
219
219
|
if (options.mode === 'get') {
|
|
220
220
|
return { ...options };
|
|
@@ -232,7 +232,6 @@ export const parse = async (options, pkg) => {
|
|
|
232
232
|
options.zip = str2Bool(options.zip) ?? false;
|
|
233
233
|
|
|
234
234
|
options.managedManifest = str2Bool(options.managedManifest) ?? false;
|
|
235
|
-
options.nativeAddon = str2Bool(options.nativeAddon) ?? false;
|
|
236
235
|
|
|
237
236
|
options.app = options.app ?? {};
|
|
238
237
|
options.app.name = options.app.name ?? pkg.name;
|