nw-builder 4.17.2 → 4.17.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nw-builder",
3
- "version": "4.17.2",
3
+ "version": "4.17.4",
4
4
  "description": "Build NW.js desktop applications for MacOS, Windows and Linux.",
5
5
  "keywords": [
6
6
  "NW.js",
@@ -59,8 +59,8 @@
59
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.4.1",
63
- "globals": "^17.2.0",
62
+ "eslint-plugin-jsdoc": "^62.5.4",
63
+ "globals": "^17.3.0",
64
64
  "nw": "^0.107.0",
65
65
  "selenium-webdriver": "^4.40.0",
66
66
  "vitest": "^4.0.14"
@@ -68,10 +68,10 @@
68
68
  "dependencies": {
69
69
  "@nwutils/getter": "^0.2.2",
70
70
  "archiver": "^7.0.1",
71
- "commander": "^14.0.2",
72
- "glob": "^13.0.0",
71
+ "commander": "^14.0.3",
72
+ "glob": "^13.0.1",
73
73
  "plist": "^3.1.0",
74
- "resedit": "^3.0.1",
74
+ "resedit": "^3.0.2",
75
75
  "tar": "^7.5.7"
76
76
  },
77
77
  "volta": {
package/src/index.js CHANGED
@@ -99,6 +99,7 @@ async function nwbuild(options) {
99
99
  platform: options.platform,
100
100
  arch: options.arch,
101
101
  downloadUrl: options.downloadUrl,
102
+ manifestUrl: options.manifestUrl,
102
103
  cacheDir: options.cacheDir,
103
104
  cache: options.cache,
104
105
  ffmpeg: options.ffmpeg,
package/src/util.js CHANGED
@@ -539,7 +539,7 @@ export const validate = async (options, releaseInfo) => {
539
539
  if (typeof options.app.NSHumanReadableCopyright !== 'string') {
540
540
  throw new Error('Expected options.app.NSHumanReadableCopyright to be a string. Got ' + options.app.NSHumanReadableCopyright);
541
541
  }
542
- if (typeof options.app.NSLocalNetworkUsageDescription !== 'string') {
542
+ if (options.app.NSLocalNetworkUsageDescription && typeof options.app.NSLocalNetworkUsageDescription !== 'string') {
543
543
  throw new Error('Expected options.app.NSLocalNetworkUsageDescription to be a string. Got ' + options.app.NSLocalNetworkUsageDescription);
544
544
  }
545
545
  } else {