@pnpm/package-is-installable
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -1,3 +0,3 @@ | ||
export declare class UnsupportedEngineError extends Error { | ||
code: 'ERR_PNPM_UNSUPPORTED_ENGINE'; | ||
import PnpmError from '@pnpm/error'; | ||
export declare class UnsupportedEngineError extends PnpmError { | ||
wanted: WantedEngine; | ||
@@ -4,0 +4,0 @@ current: Engine; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const error_1 = require("@pnpm/error"); | ||
const semver = require("semver"); | ||
class UnsupportedEngineError extends Error { | ||
class UnsupportedEngineError extends error_1.default { | ||
constructor(packageId, wanted, current) { | ||
super(`Unsupported engine for ${packageId}: wanted: ${JSON.stringify(wanted)} (current: ${JSON.stringify(current)})`); | ||
this.code = 'ERR_PNPM_UNSUPPORTED_ENGINE'; | ||
super('UNSUPPORTED_ENGINE', `Unsupported engine for ${packageId}: wanted: ${JSON.stringify(wanted)} (current: ${JSON.stringify(current)})`); | ||
this.packageId = packageId; | ||
@@ -9,0 +9,0 @@ this.wanted = wanted; |
@@ -1,3 +0,3 @@ | ||
export declare class UnsupportedPlatformError extends Error { | ||
code: 'ERR_PNPM_UNSUPPORTED_PLATFORM'; | ||
import PnpmError from '@pnpm/error'; | ||
export declare class UnsupportedPlatformError extends PnpmError { | ||
wanted: Platform; | ||
@@ -4,0 +4,0 @@ current: Platform; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class UnsupportedPlatformError extends Error { | ||
const error_1 = require("@pnpm/error"); | ||
class UnsupportedPlatformError extends error_1.default { | ||
constructor(packageId, wanted, current) { | ||
super(`Unsupported platform for ${packageId}: wanted ${JSON.stringify(wanted)} (current: ${JSON.stringify(current)})`); | ||
this.code = 'ERR_PNPM_UNSUPPORTED_PLATFORM'; | ||
super('UNSUPPORTED_PLATFORM', `Unsupported platform for ${packageId}: wanted ${JSON.stringify(wanted)} (current: ${JSON.stringify(current)})`); | ||
this.wanted = wanted; | ||
@@ -8,0 +8,0 @@ this.current = current; |
{ | ||
"name": "@pnpm/package-is-installable", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"author": { | ||
@@ -34,2 +34,3 @@ "name": "Zoltan Kochan", | ||
"@pnpm/core-loggers": "3.0.3", | ||
"@pnpm/error": "1.0.0", | ||
"@pnpm/types": "3.2.0", | ||
@@ -36,0 +37,0 @@ "semver": "6.3.0" |
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
8789
5
+ Added@pnpm/error@1.0.0
+ Added@pnpm/error@1.0.0(transitive)