@pnpm/package-is-installable
Advanced tools
Comparing version 7.0.4 to 8.0.0
@@ -33,2 +33,3 @@ "use strict"; | ||
function getSystemNodeVersionNonCached() { | ||
// @ts-expect-error | ||
if (process['pkg'] != null) { | ||
@@ -35,0 +36,0 @@ return execa.sync('node', ['--version']).stdout.toString(); |
@@ -1,6 +0,6 @@ | ||
import { UnsupportedEngineError, WantedEngine } from './checkEngine'; | ||
import { UnsupportedEngineError, type WantedEngine } from './checkEngine'; | ||
import { UnsupportedPlatformError } from './checkPlatform'; | ||
export { Engine } from './checkEngine'; | ||
export { Platform, WantedPlatform } from './checkPlatform'; | ||
export { UnsupportedEngineError, UnsupportedPlatformError, WantedEngine, }; | ||
export type { Engine } from './checkEngine'; | ||
export type { Platform, WantedPlatform } from './checkPlatform'; | ||
export { UnsupportedEngineError, UnsupportedPlatformError, type WantedEngine, }; | ||
export declare function packageIsInstallable(pkgId: string, pkg: { | ||
@@ -7,0 +7,0 @@ name: string; |
{ | ||
"name": "@pnpm/package-is-installable", | ||
"version": "7.0.4", | ||
"version": "8.0.0", | ||
"description": "Checks if a package is installable on the current system", | ||
@@ -12,7 +12,7 @@ "main": "lib/index.js", | ||
"keywords": [ | ||
"pnpm7" | ||
"pnpm8" | ||
], | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=14.6" | ||
"node": ">=16.14" | ||
}, | ||
@@ -29,9 +29,9 @@ "peerDependencies": { | ||
"semver": "^7.3.8", | ||
"@pnpm/core-loggers": "8.0.3", | ||
"@pnpm/error": "4.0.1", | ||
"@pnpm/types": "8.10.0" | ||
"@pnpm/core-loggers": "9.0.0", | ||
"@pnpm/error": "5.0.0", | ||
"@pnpm/types": "9.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/semver": "7.3.13", | ||
"@pnpm/package-is-installable": "7.0.4" | ||
"@pnpm/package-is-installable": "8.0.0" | ||
}, | ||
@@ -49,5 +49,5 @@ "bugs": { | ||
"test": "pnpm run compile && pnpm run _test", | ||
"lint": "eslint src/**/*.ts test/**/*.ts", | ||
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"", | ||
"compile": "tsc --build && pnpm run lint --fix" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
17139
236
+ Added@pnpm/constants@7.0.0(transitive)
+ Added@pnpm/core-loggers@9.0.0(transitive)
+ Added@pnpm/error@5.0.0(transitive)
+ Added@pnpm/types@9.0.0(transitive)
- Removed@pnpm/constants@6.2.0(transitive)
- Removed@pnpm/core-loggers@8.0.3(transitive)
- Removed@pnpm/error@4.0.1(transitive)
- Removed@pnpm/types@8.10.0(transitive)
Updated@pnpm/core-loggers@9.0.0
Updated@pnpm/error@5.0.0
Updated@pnpm/types@9.0.0