We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf1a801 commit a8aa113Copy full SHA for a8aa113
1 file changed
src/plugins.ts
@@ -165,6 +165,10 @@ export default class Plugins {
165
const normalizedUrl = npa(url)
166
const matches = Object.entries(dependencies ?? {}).find(([, npmVersion]) => {
167
const normalized = npa(npmVersion)
168
+ if (normalized.type !== normalizedUrl.type) {
169
+ return false
170
+ }
171
+
172
// for local file paths
173
if (normalized.type === 'file' && normalized.raw) {
174
return parse(url).base === parse(normalized.raw).base
0 commit comments