Socket
Socket
Sign inDemoInstall

@npmcli/arborist

Package Overview
Dependencies
166
Maintainers
5
Versions
191
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.2.2 to 6.2.3

16

lib/arborist/rebuild.js

@@ -92,3 +92,2 @@ // Arborist.rebuild({path = this.path}) will do all the binlinks and

linkNodes,
storeNodes,
} = this[_retrieveNodesByType](nodes)

@@ -104,6 +103,2 @@

}
if (storeNodes.size) {
this[_resetQueues]()
await this[_build](storeNodes, { type: 'storelinks' })
}

@@ -151,2 +146,8 @@ process.emit('timeEnd', 'build')

}
// Make sure that store linked nodes are processed last.
// We can't process store links separately or else lifecycle scripts on
// standard nodes might not have bin links yet.
for (const node of storeNodes) {
depNodes.add(node)
}

@@ -168,3 +169,2 @@ // deduplicates link nodes and their targets, avoids

linkNodes,
storeNodes,
}

@@ -337,6 +337,8 @@ }

location,
isStoreLink,
} = node.target
// skip any that we know we'll be deleting
if (this[_trashList].has(path)) {
// or storeLinks
if (this[_trashList].has(path) || isStoreLink) {
return

@@ -343,0 +345,0 @@ }

{
"name": "@npmcli/arborist",
"version": "6.2.2",
"version": "6.2.3",
"description": "Manage node_modules trees",

@@ -5,0 +5,0 @@ "dependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc