@pnpm/package-is-installable
Advanced tools
Comparing version 4.0.5 to 4.0.6
@@ -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" | ||
} | ||
} |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
9167
0
+ Added@pnpm/error@1.2.0(transitive)
- Removed@pnpm/error@1.1.0(transitive)
Updated@pnpm/error@1.2.0