New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/package-is-installable

Package Overview
Dependencies
Maintainers
2
Versions
102
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 7.0.4 to 8.0.0

1

lib/getSystemNodeVersion.js

@@ -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();

8

lib/index.d.ts

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

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