🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

libnpmexec

Package Overview
Dependencies
Maintainers
4
Versions
109
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
10.2.8
to
10.2.9
+5
-1
lib/index.js

@@ -90,4 +90,6 @@ 'use strict'

// see if the package.json at `path` has an entry that matches `cmd`
// the path is a known-local directory, not a user-supplied dep, so
// allow-directory must not gate this introspection
const hasPkgBin = (path, cmd, flatOptions) =>
pacote.manifest(path, flatOptions)
pacote.manifest(path, { ...flatOptions, allowDirectory: 'all' })
.then(manifest => manifest?.bin?.[cmd]).catch(() => null)

@@ -151,2 +153,4 @@

flatOptions.installLinks = false
// self-execution of a local bin, not a directory dep install
flatOptions.allowDirectory = 'all'
// args[0] will exist when the package is installed

@@ -153,0 +157,0 @@ packages.push(p)

+2
-2
{
"name": "libnpmexec",
"version": "10.2.8",
"version": "10.2.9",
"files": [

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

"@gar/promise-retry": "^1.0.0",
"@npmcli/arborist": "^9.6.0",
"@npmcli/arborist": "^9.7.0",
"@npmcli/package-json": "^7.0.0",

@@ -67,0 +67,0 @@ "@npmcli/run-script": "^10.0.0",