Socket
Socket
Sign inDemoInstall

@pnpm/link-bins

Package Overview
Dependencies
Maintainers
3
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 5.3.23 to 5.3.24

6

CHANGELOG.md
# @pnpm/link-bins
## 5.3.24
### Patch Changes
- 6350a3381: Don't add a non-directory to the NODE_PATH declared in the command shim.
## 5.3.23

@@ -4,0 +10,0 @@

5

lib/index.js

@@ -118,4 +118,5 @@ "use strict";

async function getBinNodePaths(target) {
const targetRealPath = await fs.realpath(target);
return R.union(Module['_nodeModulePaths'](targetRealPath), Module['_nodeModulePaths'](target));
const targetDir = path.dirname(target);
const targetRealPath = await fs.realpath(targetDir);
return R.union(Module['_nodeModulePaths'](targetRealPath), Module['_nodeModulePaths'](targetDir));
}

@@ -122,0 +123,0 @@ async function safeReadPkgJson(pkgDir) {

2

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

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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