@npmcli/package-json
Advanced tools
+1
-1
@@ -477,3 +477,3 @@ const valid = require('semver/functions/valid') | ||
| // expand "directories.bin" | ||
| if (steps.includes('binDir') && data.directories?.bin && !data.bin) { | ||
| if (steps.includes('binDir') && data.directories?.bin && !data.bin && pkg.path) { | ||
| const binPath = secureAndUnixifyPath(data.directories.bin) | ||
@@ -480,0 +480,0 @@ const bins = await lazyLoadGlob()('**', { cwd: path.resolve(pkg.path, binPath) }) |
+2
-2
| { | ||
| "name": "@npmcli/package-json", | ||
| "version": "7.0.2", | ||
| "version": "7.0.3", | ||
| "description": "Programmatic API to update package.json", | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
| "@npmcli/git": "^7.0.0", | ||
| "glob": "^11.0.3", | ||
| "glob": "^12.0.0", | ||
| "hosted-git-info": "^9.0.0", | ||
@@ -36,0 +36,0 @@ "json-parse-even-better-errors": "^5.0.0", |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
52894
0.02%+ Added
- Removed
Updated