Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@yarnpkg/core

Package Overview
Dependencies
Maintainers
6
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/core - npm Package Compare versions

Comparing version 3.5.3 to 3.5.4

7

lib/Manifest.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc