@pnpm/package-bins
Advanced tools
Comparing version 5.0.12 to 6.0.0
@@ -10,7 +10,6 @@ "use strict"; | ||
async function binify(manifest, pkgPath) { | ||
var _a; | ||
if (manifest.bin) { | ||
return commandsFromBin(manifest.bin, manifest.name, pkgPath); | ||
} | ||
if ((_a = manifest.directories) === null || _a === void 0 ? void 0 : _a.bin) { | ||
if (manifest.directories?.bin) { | ||
const binDir = path_1.default.join(pkgPath, manifest.directories.bin); | ||
@@ -17,0 +16,0 @@ const files = await findFiles(binDir); |
{ | ||
"name": "@pnpm/package-bins", | ||
"version": "5.0.12", | ||
"version": "6.0.0", | ||
"description": "Returns bins of a package", | ||
@@ -12,7 +12,7 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=12.17" | ||
"node": ">=14.19" | ||
}, | ||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/package-bins", | ||
"keywords": [ | ||
"pnpm6", | ||
"pnpm7", | ||
"pnpm", | ||
@@ -27,3 +27,3 @@ "bins" | ||
"dependencies": { | ||
"@pnpm/types": "7.10.0", | ||
"@pnpm/types": "8.0.0", | ||
"fast-glob": "^3.2.4", | ||
@@ -33,6 +33,9 @@ "is-subdir": "^1.1.1" | ||
"devDependencies": { | ||
"@pnpm/package-bins": "5.0.12", | ||
"@pnpm/package-bins": "6.0.0", | ||
"@types/node": "^14.17.32" | ||
}, | ||
"funding": "https://opencollective.com/pnpm", | ||
"exports": { | ||
".": "./lib/index.js" | ||
}, | ||
"scripts": { | ||
@@ -39,0 +42,0 @@ "lint": "eslint src/**/*.ts test/**/*.ts", |
Sorry, the diff of this file is not supported yet
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
6807
61
+ Added@pnpm/types@8.0.0(transitive)
- Removed@pnpm/types@7.10.0(transitive)
Updated@pnpm/types@8.0.0