Socket
Socket
Sign inDemoInstall

@npmcli/arborist

Package Overview
Dependencies
Maintainers
6
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@npmcli/arborist - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

3

lib/add-rm-pkg-deps.js

@@ -58,3 +58,4 @@ // add and remove dependency specs to/from pkg manifest

// if we're in global mode, file specs are based on cwd, not arb path
pkg[type][name] = specType === 'file' ? `file:${relpath(path, fetchSpec)}`
pkg[type][name] = specType === 'file' || specType === 'directory'
? `file:${relpath(path, fetchSpec)}`
: (rawSpec || '*')

@@ -61,0 +62,0 @@ }

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

process.emit('time', `build:run:${event}:${node.location}`)
const timer = `build:run:${event}:${node.location}`
process.emit('time', timer)
const p = runScript({

@@ -213,4 +214,5 @@ event,

return this[_doHandleOptionalFailure]
? this[_handleOptionalFailure](node, p) : p
return (this[_doHandleOptionalFailure]
? this[_handleOptionalFailure](node, p) : p)
.then(() => process.emit('timeEnd', timer))
}))

@@ -217,0 +219,0 @@ process.emit('timeEnd', `build:run:${event}`)

{
"name": "@npmcli/arborist",
"version": "0.0.21",
"version": "0.0.22",
"description": "Manage node_modules trees",

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

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