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

@pnpm/npm-resolver

Package Overview
Dependencies
Maintainers
2
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/npm-resolver - npm Package Compare versions

Comparing version 2.0.0 to 2.1.1

6

lib/index.js

@@ -87,4 +87,8 @@ "use strict";

: 'No valid version found.';
const err = new Error('No compatible version found: ' +
const err = new Error('No matching version found for ' +
toRaw_1.default(spec) + '\n' + message);
// tslint:disable:no-string-literal
err['code'] = 'ERR_PNPM_NO_MATCHING_VERSION';
err['packageMeta'] = meta;
// tslint:enable:no-string-literal
throw err;

@@ -91,0 +95,0 @@ }

4

lib/pickPackage.js

@@ -103,5 +103,5 @@ "use strict";

if (res.status > 400) {
const err = new Error(`${res.status} ${res.statusText}: ${pkgName}`);
const err = new Error(`${res.status} ${res.statusText}: ${pkgName} (via ${uri})`);
// tslint:disable
err['code'] = `E${res.status}`;
err['code'] = `ERR_PNPM_REGISTRY_META_RESPONSE_${res.status}`;
err['uri'] = uri;

@@ -108,0 +108,0 @@ err['response'] = res;

{
"name": "@pnpm/npm-resolver",
"version": "2.0.0",
"version": "2.1.1",
"description": "Resolver for npm-hosted packages",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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