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

@pnpm/link-bins

Package Overview
Dependencies
Maintainers
2
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/link-bins - npm Package Compare versions

Comparing version 6.2.1 to 6.2.2

9

lib/index.js

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

const error_1 = __importDefault(require("@pnpm/error"));
const logger_1 = __importDefault(require("@pnpm/logger"));
const manifest_utils_1 = require("@pnpm/manifest-utils");

@@ -28,2 +29,3 @@ const package_bins_1 = __importDefault(require("@pnpm/package-bins"));

const fix_bin_1 = __importDefault(require("bin-links/lib/fix-bin"));
const binsConflictLogger = (0, logger_1.default)('bins-conflict');
const IS_WINDOWS = (0, is_windows_1.default)();

@@ -89,3 +91,8 @@ const EXECUTABLE_SHEBANG_SUPPORTED = !IS_WINDOWS;

if (usedNames[cmd.name]) {
opts.warn(`Cannot link binary '${cmd.name}' of '${cmd.pkgName}' to '${binsDir}': binary of '${usedNames[cmd.name]}' is already linked`, 'BINARIES_CONFLICT');
binsConflictLogger.debug({
binaryName: cmd.name,
binsDir,
linkedPkgName: usedNames[cmd.name],
skippedPkgName: cmd.pkgName,
});
return Promise.resolve(undefined);

@@ -92,0 +99,0 @@ }

8

package.json
{
"name": "@pnpm/link-bins",
"version": "6.2.1",
"version": "6.2.2",
"description": "Link bins to node_modules/.bin",

@@ -42,2 +42,3 @@ "main": "lib/index.js",

"devDependencies": {
"@pnpm/logger": "^4.0.0",
"@types/is-windows": "^1.0.0",

@@ -54,4 +55,7 @@ "@types/ncp": "^2.0.4",

"funding": "https://opencollective.com/pnpm",
"peerDependencies": {
"@pnpm/logger": "^4.0.0"
},
"scripts": {
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts",
"lint": "eslint src/**/*.ts test/**/*.ts",
"pretest": "ncp test/fixtures test/fixtures_for_testing",

@@ -58,0 +62,0 @@ "posttest": "rimraf test/fixtures_for_testing",

Sorry, the diff of this file is not supported yet

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