@pnpm/package-bins
Advanced tools
Comparing version 4.0.7 to 4.0.8
# @pnpm/package-bins | ||
## 4.0.8 | ||
### Patch Changes | ||
- Updated dependencies [d54043ee4] | ||
- @pnpm/types@6.3.0 | ||
## 4.0.7 | ||
@@ -4,0 +11,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const util_1 = require("util"); | ||
const graceful_fs_1 = require("graceful-fs"); | ||
const path = require("path"); | ||
const isSubdir = require("is-subdir"); | ||
const pFilter = require("p-filter"); | ||
const path = require("path"); | ||
const util_1 = require("util"); | ||
const readdirP = util_1.promisify(graceful_fs_1.readdir); | ||
const statP = util_1.promisify(graceful_fs_1.stat); | ||
async function binify(manifest, pkgPath) { | ||
var _a; | ||
if (manifest.bin) { | ||
return commandsFromBin(manifest.bin, manifest.name, pkgPath); | ||
} | ||
if (manifest.directories && manifest.directories.bin) { | ||
if ((_a = manifest.directories) === null || _a === void 0 ? void 0 : _a.bin) { | ||
const binDir = path.join(pkgPath, manifest.directories.bin); | ||
@@ -16,0 +17,0 @@ const files = await findFiles(binDir); |
{ | ||
"name": "@pnpm/package-bins", | ||
"version": "4.0.7", | ||
"version": "4.0.8", | ||
"description": "Returns bins of a package", | ||
@@ -12,6 +12,6 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=10.13" | ||
"node": ">=10.16" | ||
}, | ||
"scripts": { | ||
"lint": "tslint -c ../../tslint.json --project .", | ||
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts", | ||
"_test": "cd ../.. && c8 --reporter lcov --reports-dir packages/package-bins/coverage ts-node packages/package-bins/test --type-check", | ||
@@ -35,3 +35,3 @@ "test": "pnpm run compile && pnpm run _test", | ||
"dependencies": { | ||
"@pnpm/types": "6.2.0", | ||
"@pnpm/types": "6.3.0", | ||
"graceful-fs": "^4.2.4", | ||
@@ -44,3 +44,3 @@ "is-subdir": "^1.1.1", | ||
"@types/graceful-fs": "^4.1.3", | ||
"@types/node": "^12.12.47", | ||
"@types/node": "^12.12.68", | ||
"@types/tape": "^4.13.0" | ||
@@ -47,0 +47,0 @@ }, |
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
5764
59
+ Added@pnpm/types@6.3.0(transitive)
- Removed@pnpm/types@6.2.0(transitive)
Updated@pnpm/types@6.3.0