@pnpm/link-bins
Advanced tools
Comparing version 5.3.23 to 5.3.24
# @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 @@ |
@@ -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) { |
{ | ||
"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", |
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
146
13371
6