@pnpm/npm-resolver
Advanced tools
Comparing version 0.3.11 to 0.3.12
@@ -9,4 +9,10 @@ "use strict"; | ||
const index = pref.lastIndexOf('@'); | ||
name = pref.substr(0, index); | ||
pref = pref.substr(index + 1); | ||
if (index < 1) { | ||
name = pref; | ||
pref = 'latest'; | ||
} | ||
else { | ||
name = pref.substr(0, index); | ||
pref = pref.substr(index + 1); | ||
} | ||
} | ||
@@ -13,0 +19,0 @@ if (!name) { |
{ | ||
"name": "@pnpm/npm-resolver", | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
32313
422
2