Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/package-is-installable

Package Overview
Dependencies
Maintainers
3
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/package-is-installable - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

4

lib/checkEngine.d.ts

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc