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.2.2 to 3.2.3

3

lib/MessageName.d.ts

@@ -79,5 +79,6 @@ export declare enum MessageName {

INCOMPATIBLE_ARCHITECTURE = 76,
GHOST_ARCHITECTURE = 77
GHOST_ARCHITECTURE = 77,
PROLOG_LIMIT_EXCEEDED = 79
}
export declare function stringifyMessageName(name: MessageName | number): string;
export declare function parseMessageName(messageName: string): MessageName;

@@ -87,2 +87,3 @@ "use strict";

MessageName[MessageName["GHOST_ARCHITECTURE"] = 77] = "GHOST_ARCHITECTURE";
MessageName[MessageName["PROLOG_LIMIT_EXCEEDED"] = 79] = "PROLOG_LIMIT_EXCEEDED";
})(MessageName = exports.MessageName || (exports.MessageName = {}));

@@ -89,0 +90,0 @@ function stringifyMessageName(name) {

@@ -141,2 +141,18 @@ "use strict";

scriptEnv.npm_package_version = version;
let packageLocation;
if (workspace) {
packageLocation = workspace.cwd;
}
else {
const pkg = project.storedPackages.get(locator.locatorHash);
if (!pkg)
throw new Error(`Package for ${structUtils.prettyLocator(project.configuration, locator)} not found in the project`);
const linkers = project.configuration.getLinkers();
const linkerOptions = { project, report: new StreamReport_1.StreamReport({ stdout: new stream_1.PassThrough(), configuration: project.configuration }) };
const linker = linkers.find(linker => linker.supportsPackage(pkg, linkerOptions));
if (!linker)
throw new Error(`The package ${structUtils.prettyLocator(project.configuration, pkg)} isn't supported by any of the available linkers`);
packageLocation = await linker.findPackageLocation(pkg, linkerOptions);
}
scriptEnv.npm_package_json = fslib_2.npath.fromPortablePath(fslib_2.ppath.join(packageLocation, fslib_1.Filename.manifest));
}

@@ -143,0 +159,0 @@ const version = YarnVersion_1.YarnVersion !== null

{
"name": "@yarnpkg/core",
"version": "3.2.2",
"version": "3.2.3",
"license": "BSD-2-Clause",

@@ -11,8 +11,8 @@ "main": "./lib/index.js",

"@types/treeify": "^1.0.0",
"@yarnpkg/fslib": "^2.6.2",
"@yarnpkg/fslib": "^2.7.0",
"@yarnpkg/json-proxy": "^2.1.1",
"@yarnpkg/libzip": "^2.2.4",
"@yarnpkg/parsers": "^2.5.1",
"@yarnpkg/pnp": "^3.2.1",
"@yarnpkg/shell": "^3.2.2",
"@yarnpkg/pnp": "^3.2.2",
"@yarnpkg/shell": "^3.2.3",
"camelcase": "^5.3.1",

@@ -23,3 +23,3 @@ "chalk": "^3.0.0",

"cross-spawn": "7.0.3",
"diff": "^4.0.1",
"diff": "^5.1.0",
"globby": "^11.0.1",

@@ -47,3 +47,3 @@ "got": "^11.7.0",

"@types/cross-spawn": "6.0.0",
"@types/diff": "^4.0.2",
"@types/diff": "^5.0.0",
"@types/lodash": "^4.14.136",

@@ -54,6 +54,6 @@ "@types/micromatch": "^4.0.1",

"@types/tunnel": "^0.0.0",
"@yarnpkg/cli": "^3.2.1",
"@yarnpkg/cli": "^3.2.2",
"@yarnpkg/plugin-link": "^2.2.1",
"@yarnpkg/plugin-npm": "^2.7.1",
"@yarnpkg/plugin-pnp": "^3.2.1",
"@yarnpkg/plugin-pnp": "^3.2.2",
"esbuild": "npm:esbuild-wasm@^0.11.20",

@@ -60,0 +60,0 @@ "rollup": "^2.59.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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