Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@npmcli/map-workspaces

Package Overview
Dependencies
Maintainers
6
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@npmcli/map-workspaces - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

index.js

@@ -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"

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