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.22 to 0.0.23

18

lib/arborist/rebuild.js

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

package: pkg,
location,
} = node

@@ -194,4 +195,5 @@

const timer = `build:run:${event}:${node.location}`
const timer = `build:run:${event}:${location}`
process.emit('time', timer)
this.log.info('run', pkg._id, event, location, pkg.scripts[event])
const p = runScript({

@@ -213,7 +215,15 @@ event,

scriptShell: this[_scriptShell],
}).catch(er => {
const { code, signal } = er
this.log.info('run', pkg._id, event, {code, signal})
throw er
}).then(({code, signal}) => {
this.log.info('run', pkg._id, event, {code, signal})
})
return (this[_doHandleOptionalFailure]
? this[_handleOptionalFailure](node, p) : p)
.then(() => process.emit('timeEnd', timer))
await (this[_doHandleOptionalFailure]
? this[_handleOptionalFailure](node, p)
: p)
process.emit('timeEnd', timer)
}))

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

{
"name": "@npmcli/arborist",
"version": "0.0.22",
"version": "0.0.23",
"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