Comparing version 0.86.0-1 to 0.86.0-2
{ | ||
"name": "nw", | ||
"version": "0.86.0-1", | ||
"version": "0.86.0-2", | ||
"description": "An installer for nw.js", | ||
@@ -40,3 +40,2 @@ "repository": { | ||
"tar": "^6.2.1", | ||
"yargs": "^17.7.2", | ||
"yauzl-promise": "^4.0.0" | ||
@@ -43,0 +42,0 @@ }, |
@@ -20,3 +20,3 @@ #!/usr/bin/env node | ||
.option('--cacheDir <cacheDir>') | ||
.argument('<app>') | ||
.argument('[app]') | ||
.parse(process.argv); | ||
@@ -23,0 +23,0 @@ |
@@ -0,1 +1,2 @@ | ||
import path from 'node:path'; | ||
import process from 'node:process'; | ||
@@ -59,3 +60,3 @@ | ||
options.downloadUrl = options.downloadUrl || process.env.npm_config_nwjs_urlbase || process.env.NWJS_URLBASE || 'https://dl.nwjs.io'; | ||
options.cacheDir = options.npm_config_nwjs_urlbase || process.env.npm_config_nwjs_cache_dir || process.env.NWJS_CACHE_DIR || '.'; | ||
options.cacheDir = options.npm_config_nwjs_urlbase || process.env.npm_config_nwjs_cache_dir || process.env.NWJS_CACHE_DIR || path.resolve('.', 'node_modules', 'nw'); | ||
options.cache = options.cache || process.env.npm_config_nwjs_cache || process.env.NWJS_CACHE || true; | ||
@@ -62,0 +63,0 @@ options.ffmpeg = options.ffmpeg || process.env.npm_config_nwjs_ffmpeg || process.env.NWJS_FFMPEG || false; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
33234
5
800
0
- Removedyargs@^17.7.2
- Removedansi-regex@5.0.1(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedcliui@8.0.1(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedemoji-regex@8.0.0(transitive)
- Removedescalade@3.2.0(transitive)
- Removedget-caller-file@2.0.5(transitive)
- Removedis-fullwidth-code-point@3.0.0(transitive)
- Removedrequire-directory@2.1.1(transitive)
- Removedstring-width@4.2.3(transitive)
- Removedstrip-ansi@6.0.1(transitive)
- Removedwrap-ansi@7.0.0(transitive)
- Removedy18n@5.0.8(transitive)
- Removedyargs@17.7.2(transitive)
- Removedyargs-parser@21.1.1(transitive)