nw-builder 4.17.1 → 4.17.3
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/bld.js +1 -1
- package/src/index.js +1 -0
- package/src/util.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nw-builder",
|
|
3
|
-
"version": "4.17.
|
|
3
|
+
"version": "4.17.3",
|
|
4
4
|
"description": "Build NW.js desktop applications for MacOS, Windows and Linux.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NW.js",
|
|
@@ -56,23 +56,23 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@eslint/js": "^9.39.2",
|
|
59
|
-
"@vitest/coverage-v8": "^4.0.
|
|
59
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
60
60
|
"base-volta-off-of-nwjs": "^1.0.5",
|
|
61
61
|
"eslint": "^9.39.2",
|
|
62
|
-
"eslint-plugin-jsdoc": "^62.
|
|
63
|
-
"globals": "^17.
|
|
62
|
+
"eslint-plugin-jsdoc": "^62.5.4",
|
|
63
|
+
"globals": "^17.3.0",
|
|
64
64
|
"nw": "^0.107.0",
|
|
65
|
-
"selenium-webdriver": "^4.
|
|
65
|
+
"selenium-webdriver": "^4.40.0",
|
|
66
66
|
"vitest": "^4.0.14"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@nwutils/getter": "^0.2.
|
|
69
|
+
"@nwutils/getter": "^0.2.2",
|
|
70
70
|
"archiver": "^7.0.1",
|
|
71
|
-
"commander": "^14.0.
|
|
72
|
-
"glob": "^13.0.
|
|
71
|
+
"commander": "^14.0.3",
|
|
72
|
+
"glob": "^13.0.1",
|
|
73
73
|
"plist": "^3.1.0",
|
|
74
|
-
"resedit": "^3.0.
|
|
75
|
-
"tar": "^7.5.
|
|
74
|
+
"resedit": "^3.0.2",
|
|
75
|
+
"tar": "^7.5.7"
|
|
76
76
|
},
|
|
77
77
|
"volta": {
|
|
78
78
|
"node": "25.2.1",
|
package/src/bld.js
CHANGED
|
@@ -136,7 +136,7 @@ async function bld({
|
|
|
136
136
|
/* Set `product_string` in manifest for MacOS. This is used in renaming the Helper apps. */
|
|
137
137
|
if (platform === 'osx') {
|
|
138
138
|
manifest.json.product_string = app.name;
|
|
139
|
-
await fs.promises.writeFile(manifest.path, JSON.stringify(manifest.json));
|
|
139
|
+
await fs.promises.writeFile(manifest.path, JSON.stringify(manifest.json, null, 2));
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
if (glob) {
|
package/src/index.js
CHANGED
package/src/util.js
CHANGED
|
@@ -15,7 +15,7 @@ import * as GlobModule from 'glob';
|
|
|
15
15
|
function getManifest(manifestUrl) {
|
|
16
16
|
let chunks = '';
|
|
17
17
|
|
|
18
|
-
if (manifestUrl.startsWith('file://')) {
|
|
18
|
+
if (manifestUrl && manifestUrl.startsWith('file://')) {
|
|
19
19
|
const filePath = url.fileURLToPath(manifestUrl);
|
|
20
20
|
return fs.readFileSync(filePath, 'utf-8');
|
|
21
21
|
}
|