@pnpm/tarball-resolver
Advanced tools
Comparing version 9.0.7 to 9.0.8
@@ -25,2 +25,7 @@ "use strict"; | ||
function isRepository(pref) { | ||
const url = new URL(pref); | ||
if (url.hash && url.hash.includes('/')) { | ||
url.hash = encodeURIComponent(url.hash.substring(1)); | ||
pref = url.href; | ||
} | ||
if (pref.endsWith('/')) { | ||
@@ -27,0 +32,0 @@ pref = pref.slice(0, -1); |
{ | ||
"name": "@pnpm/tarball-resolver", | ||
"version": "9.0.7", | ||
"version": "9.0.8", | ||
"description": "Resolver for tarball dependencies", | ||
@@ -28,3 +28,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@pnpm/tarball-resolver": "9.0.7" | ||
"@pnpm/tarball-resolver": "9.0.8" | ||
}, | ||
@@ -34,2 +34,5 @@ "exports": { | ||
}, | ||
"jest": { | ||
"preset": "@pnpm/jest-config" | ||
}, | ||
"scripts": { | ||
@@ -36,0 +39,0 @@ "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"", |
Sorry, the diff of this file is not supported yet
5625
39