@pnpm/package-is-installable
Advanced tools
Comparing version 9.0.10 to 9.0.11
@@ -7,2 +7,3 @@ "use strict"; | ||
const core_loggers_1 = require("@pnpm/core-loggers"); | ||
const env_system_node_version_1 = require("@pnpm/env.system-node-version"); | ||
const checkEngine_1 = require("./checkEngine"); | ||
@@ -12,3 +13,2 @@ Object.defineProperty(exports, "UnsupportedEngineError", { enumerable: true, get: function () { return checkEngine_1.UnsupportedEngineError; } }); | ||
Object.defineProperty(exports, "UnsupportedPlatformError", { enumerable: true, get: function () { return checkPlatform_1.UnsupportedPlatformError; } }); | ||
const getSystemNodeVersion_1 = require("./getSystemNodeVersion"); | ||
function packageIsInstallable(pkgId, pkg, options) { | ||
@@ -47,3 +47,3 @@ const warn = checkPackage(pkgId, pkg, options); | ||
: (0, checkEngine_1.checkEngine)(pkgId, manifest.engines, { | ||
node: options.nodeVersion ?? (0, getSystemNodeVersion_1.getSystemNodeVersion)(), | ||
node: options.nodeVersion ?? (0, env_system_node_version_1.getSystemNodeVersion)(), | ||
pnpm: options.pnpmVersion, | ||
@@ -50,0 +50,0 @@ })); |
{ | ||
"name": "@pnpm/package-is-installable", | ||
"version": "9.0.10", | ||
"version": "9.0.11", | ||
"description": "Checks if a package is installable on the current system", | ||
@@ -29,10 +29,11 @@ "main": "lib/index.js", | ||
"@pnpm/cli-meta": "6.2.2", | ||
"@pnpm/error": "6.0.2", | ||
"@pnpm/core-loggers": "10.0.7", | ||
"@pnpm/types": "12.2.0" | ||
"@pnpm/env.system-node-version": "1.0.0", | ||
"@pnpm/types": "12.2.0", | ||
"@pnpm/error": "6.0.2" | ||
}, | ||
"devDependencies": { | ||
"@types/semver": "7.5.3", | ||
"@pnpm/logger": "5.2.0", | ||
"@pnpm/package-is-installable": "9.0.10" | ||
"@pnpm/package-is-installable": "9.0.11", | ||
"@pnpm/logger": "5.2.0" | ||
}, | ||
@@ -46,2 +47,5 @@ "bugs": { | ||
}, | ||
"jest": { | ||
"preset": "@pnpm/jest-config" | ||
}, | ||
"scripts": { | ||
@@ -48,0 +52,0 @@ "start": "tsc --watch", |
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
16793
10
12
210
+ Added@pnpm/env.system-node-version@1.0.0(transitive)