@npmcli/map-workspaces
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -90,3 +90,3 @@ const { promisify } = require('util') | ||
const results = new Map() | ||
const seen = new Set() | ||
const seen = new Map() | ||
@@ -130,3 +130,3 @@ if (isEmpty(patterns)) { | ||
} else { | ||
if (seen.has(name)) { | ||
if (seen.has(name) && seen.get(name) !== packagePathname) { | ||
throw getError({ | ||
@@ -139,3 +139,3 @@ Type: Error, | ||
seen.add(name) | ||
seen.set(name, packagePathname) | ||
results.set(packagePathname, name) | ||
@@ -142,0 +142,0 @@ } |
{ | ||
"name": "@npmcli/map-workspaces", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "index.js" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8726