Socket
Socket
Sign inDemoInstall

@pnpm/package-bins

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/package-bins - npm Package Compare versions

Comparing version 5.0.12 to 6.0.0

3

lib/index.js

@@ -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

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