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

libnpmexec

Package Overview
Dependencies
Maintainers
5
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libnpmexec - npm Package Compare versions

Comparing version 8.1.2 to 8.1.3

8

lib/index.js

@@ -35,3 +35,3 @@ 'use strict'

// Returns the found node if it is in the tree
const missingFromTree = async ({ spec, tree, flatOptions, isNpxTree }) => {
const missingFromTree = async ({ spec, tree, flatOptions, isNpxTree, shallow }) => {
// If asking for a spec by name only (spec.raw === spec.name):

@@ -45,2 +45,6 @@ // - In local or global mode go with anything in the tree that matches

for (const node of nodesBySpec) {
// continue if node is not a top level node
if (shallow && node.depth) {
continue
}
if (spec.rawSpec === '*') {

@@ -207,3 +211,3 @@ return { node }

const { manifest: globalManifest } =
await missingFromTree({ spec, tree: globalTree, flatOptions })
await missingFromTree({ spec, tree: globalTree, flatOptions, shallow: true })
if (!globalManifest && await fileExists(`${globalBin}/${args[0]}`)) {

@@ -210,0 +214,0 @@ binPaths.push(globalBin)

{
"name": "libnpmexec",
"version": "8.1.2",
"version": "8.1.3",
"files": [

@@ -62,3 +62,3 @@ "bin/",

"dependencies": {
"@npmcli/arborist": "^7.5.3",
"@npmcli/arborist": "^7.5.4",
"@npmcli/run-script": "^8.1.0",

@@ -65,0 +65,0 @@ "ci-info": "^4.0.0",

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