@yarnpkg/core
Advanced tools
Comparing version 3.5.3 to 3.5.4
@@ -228,3 +228,6 @@ "use strict"; | ||
if (typeof data.bin === `string`) { | ||
if (this.name !== null) { | ||
if (data.bin.trim() === ``) { | ||
errors.push(new Error(`Invalid bin field`)); | ||
} | ||
else if (this.name !== null) { | ||
this.bin.set(this.name.name, normalizeSlashes(data.bin)); | ||
@@ -238,3 +241,3 @@ } | ||
for (const [key, value] of Object.entries(data.bin)) { | ||
if (typeof value !== `string`) { | ||
if (typeof value !== `string` || value.trim() === ``) { | ||
errors.push(new Error(`Invalid bin definition for '${key}'`)); | ||
@@ -241,0 +244,0 @@ continue; |
{ | ||
"name": "@yarnpkg/core", | ||
"version": "3.5.3", | ||
"version": "3.5.4", | ||
"license": "BSD-2-Clause", | ||
@@ -15,3 +15,3 @@ "main": "./lib/index.js", | ||
"@yarnpkg/parsers": "^2.5.1", | ||
"@yarnpkg/pnp": "^3.3.4", | ||
"@yarnpkg/pnp": "^3.3.5", | ||
"@yarnpkg/shell": "^3.2.5", | ||
@@ -53,6 +53,6 @@ "camelcase": "^5.3.1", | ||
"@types/tunnel": "^0.0.0", | ||
"@yarnpkg/cli": "^3.6.2", | ||
"@yarnpkg/cli": "^3.6.4", | ||
"@yarnpkg/plugin-link": "^2.2.1", | ||
"@yarnpkg/plugin-npm": "^2.7.4", | ||
"@yarnpkg/plugin-pnp": "^3.2.12", | ||
"@yarnpkg/plugin-pnp": "^3.2.13", | ||
"esbuild": "npm:esbuild-wasm@^0.15.15", | ||
@@ -59,0 +59,0 @@ "rollup": "^2.59.0", |
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
758521
13435
+ Added@types/node@18.19.67(transitive)
- Removed@types/node@18.19.66(transitive)
Updated@yarnpkg/pnp@^3.3.5