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
3
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 3.0.10 to 3.0.11

8

lib/parsePref.js

@@ -30,7 +30,7 @@ "use strict";

if (pref.startsWith(registry)) {
const parsed = parse_npm_tarball_url_1.default(pref);
if (parsed) {
const pkg = parse_npm_tarball_url_1.default(pref);
if (pkg) {
return {
fetchSpec: parsed.pkg.version,
name: parsed.pkg.name,
fetchSpec: pkg.version,
name: pkg.name,
normalizedPref: pref,

@@ -37,0 +37,0 @@ type: 'version',

@@ -9,3 +9,3 @@ "use strict";

const url = require("url");
const write_json_file_1 = require("write-json-file");
const writeJsonFile = require("write-json-file");
const pickPackageFromMeta_1 = require("./pickPackageFromMeta");

@@ -118,3 +118,3 @@ const toRaw_1 = require("./toRaw");

function saveMeta(pkgMirror, meta, metaFileName) {
return write_json_file_1.default(path.join(pkgMirror, metaFileName), meta);
return writeJsonFile(path.join(pkgMirror, metaFileName), meta);
}

@@ -121,0 +121,0 @@ function toUri(pkgName, registry) {

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

@@ -44,10 +44,10 @@ "main": "lib/index.js",

"p-limit": "2.2.0",
"parse-npm-tarball-url": "2.0.0",
"semver": "6.0.0",
"parse-npm-tarball-url": "3.0.0",
"semver": "6.1.1",
"ssri": "6.0.1",
"version-selector-type": "2.0.1",
"write-json-file": "3.2.0"
"write-json-file": "4.0.0"
},
"devDependencies": {
"@pnpm/logger": "^2.0.1",
"@pnpm/logger": "2.1.1",
"@pnpm/npm-resolver": "link:",

@@ -54,0 +54,0 @@ "@types/nock": "^10.0.0",

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