@pnpm/package-is-installable
Advanced tools
Comparing version 9.0.6 to 9.0.7
@@ -6,3 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.checkEngine = exports.UnsupportedEngineError = void 0; | ||
exports.UnsupportedEngineError = void 0; | ||
exports.checkEngine = checkEngine; | ||
const error_1 = require("@pnpm/error"); | ||
@@ -34,3 +35,2 @@ const semver_1 = __importDefault(require("semver")); | ||
} | ||
exports.checkEngine = checkEngine; | ||
//# sourceMappingURL=checkEngine.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.checkPlatform = exports.UnsupportedPlatformError = void 0; | ||
exports.UnsupportedPlatformError = void 0; | ||
exports.checkPlatform = checkPlatform; | ||
const error_1 = require("@pnpm/error"); | ||
@@ -39,3 +40,2 @@ const detect_libc_1 = require("detect-libc"); | ||
} | ||
exports.checkPlatform = checkPlatform; | ||
function checkList(value, list) { | ||
@@ -48,2 +48,3 @@ let tmp; | ||
} | ||
list = list.filter((value) => typeof value === 'string'); | ||
if (list.length === 1 && list[0] === 'any') { | ||
@@ -50,0 +51,0 @@ return true; |
@@ -29,3 +29,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getSystemNodeVersion = exports.getSystemNodeVersionNonCached = void 0; | ||
exports.getSystemNodeVersion = void 0; | ||
exports.getSystemNodeVersionNonCached = getSystemNodeVersionNonCached; | ||
const cli_meta_1 = require("@pnpm/cli-meta"); | ||
@@ -40,4 +41,3 @@ const mem_1 = __importDefault(require("mem")); | ||
} | ||
exports.getSystemNodeVersionNonCached = getSystemNodeVersionNonCached; | ||
exports.getSystemNodeVersion = (0, mem_1.default)(getSystemNodeVersionNonCached); | ||
//# sourceMappingURL=getSystemNodeVersion.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.checkPackage = exports.packageIsInstallable = exports.UnsupportedPlatformError = exports.UnsupportedEngineError = void 0; | ||
exports.UnsupportedPlatformError = exports.UnsupportedEngineError = void 0; | ||
exports.packageIsInstallable = packageIsInstallable; | ||
exports.checkPackage = checkPackage; | ||
const core_loggers_1 = require("@pnpm/core-loggers"); | ||
@@ -35,3 +37,2 @@ const checkEngine_1 = require("./checkEngine"); | ||
} | ||
exports.packageIsInstallable = packageIsInstallable; | ||
function checkPackage(pkgId, manifest, options) { | ||
@@ -49,3 +50,2 @@ return (0, checkPlatform_1.checkPlatform)(pkgId, { | ||
} | ||
exports.checkPackage = checkPackage; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@pnpm/package-is-installable", | ||
"version": "9.0.6", | ||
"version": "9.0.7", | ||
"description": "Checks if a package is installable on the current system", | ||
@@ -19,3 +19,3 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"@pnpm/logger": "^5.0.0" | ||
"@pnpm/logger": "^5.1.0" | ||
}, | ||
@@ -29,10 +29,11 @@ "repository": "https://github.com/pnpm/pnpm/blob/main/config/package-is-installable", | ||
"semver": "^7.6.2", | ||
"@pnpm/core-loggers": "10.0.5", | ||
"@pnpm/error": "6.0.1", | ||
"@pnpm/types": "12.0.0", | ||
"@pnpm/core-loggers": "10.0.5", | ||
"@pnpm/cli-meta": "6.1.0" | ||
"@pnpm/cli-meta": "6.2.0", | ||
"@pnpm/types": "12.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/semver": "7.5.3", | ||
"@pnpm/package-is-installable": "9.0.6" | ||
"@pnpm/logger": "5.2.0", | ||
"@pnpm/package-is-installable": "9.0.7" | ||
}, | ||
@@ -39,0 +40,0 @@ "bugs": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
19119
252
3
+ Added@pnpm/cli-meta@6.2.0(transitive)
- Removed@pnpm/cli-meta@6.1.0(transitive)
Updated@pnpm/cli-meta@6.2.0