Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/package-is-installable

Package Overview
Dependencies
Maintainers
3
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/package-is-installable - npm Package Compare versions

Comparing version 4.0.5 to 4.0.6

2

lib/checkEngine.d.ts

@@ -11,4 +11,4 @@ import PnpmError from '@pnpm/error';

node: string;
pnpm: string;
pnpm?: string;
};
export declare type WantedEngine = Partial<Engine>;

@@ -21,3 +21,3 @@ "use strict";

}
if (wantedEngine.pnpm && !semver.satisfies(currentEngine.pnpm, wantedEngine.pnpm)) {
if (currentEngine.pnpm && wantedEngine.pnpm && !semver.satisfies(currentEngine.pnpm, wantedEngine.pnpm)) {
unsatisfiedWanted.pnpm = wantedEngine.pnpm;

@@ -31,1 +31,2 @@ }

exports.default = checkEngine;
//# sourceMappingURL=checkEngine.js.map

@@ -54,1 +54,2 @@ "use strict";

}
//# sourceMappingURL=checkPlatform.js.map

@@ -16,3 +16,3 @@ import { UnsupportedEngineError, WantedEngine } from './checkEngine';

optional: boolean;
pnpmVersion: string;
pnpmVersion?: string;
lockfileDir: string;

@@ -26,3 +26,3 @@ }): boolean | null;

nodeVersion?: string;
pnpmVersion: string;
pnpmVersion?: string;
}): null | UnsupportedEngineError | UnsupportedPlatformError;

@@ -45,1 +45,2 @@ "use strict";

exports.checkPackage = checkPackage;
//# sourceMappingURL=index.js.map
{
"name": "@pnpm/package-is-installable",
"version": "4.0.5",
"author": {
"name": "Zoltan Kochan",
"email": "z@kochan.io",
"url": "https://www.kochan.io/"
},
"version": "4.0.6",
"author": "Zoltan Kochan <z@kochan.io> (https://www.kochan.io/)",
"description": "Checks if a package is installable on the current system",

@@ -13,3 +9,4 @@ "main": "lib/index.js",

"files": [
"lib"
"lib",
"!*.map"
],

@@ -19,3 +16,3 @@ "keywords": [],

"engines": {
"node": ">=10"
"node": ">=10.13"
},

@@ -29,10 +26,11 @@ "peerDependencies": {

"start": "pnpm run tsc -- --watch",
"test": "pnpm run tsc && ts-node test",
"_test": "cd ../.. && c8 --reporter lcov --reports-dir packages/package-is-installable/coverage ts-node packages/package-is-installable/test --type-check",
"test": "pnpm run compile && pnpm run _test",
"lint": "tslint -c ../../tslint.json src/**/*.ts test/**/*.ts",
"tsc": "rimraf lib && tsc",
"prepublishOnly": "pnpm run tsc"
"prepublishOnly": "pnpm run compile",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build"
},
"dependencies": {
"@pnpm/core-loggers": "4.0.1",
"@pnpm/error": "1.1.0",
"@pnpm/error": "1.2.0",
"@pnpm/types": "5.0.0",

@@ -45,3 +43,6 @@ "semver": "7.1.3"

"@types/semver": "^7.1.0"
},
"bugs": {
"url": "https://github.com/pnpm/pnpm/issues"
}
}
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