libnpmexec
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -7,3 +7,3 @@ const { resolve } = require('path') | ||
const fileExists = (file) => stat(file) | ||
.then((stat) => stat.isFile()) | ||
.then((res) => res.isFile()) | ||
.catch(() => false) | ||
@@ -10,0 +10,0 @@ |
@@ -122,7 +122,7 @@ const { delimiter, dirname, resolve } = require('path') | ||
}) | ||
const tree = await localArb.loadActual() | ||
const localTree = await localArb.loadActual() | ||
// do we have all the packages in manifest list? | ||
const needInstall = | ||
manis.some(manifest => manifestMissing({ tree, manifest })) | ||
manis.some(manifest => manifestMissing({ tree: localTree, manifest })) | ||
@@ -129,0 +129,0 @@ if (needInstall) { |
{ | ||
"name": "libnpmexec", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"files": [ | ||
"bin", | ||
"lib" | ||
"bin/", | ||
"lib/" | ||
], | ||
"main": "lib/index.js", | ||
"engines": { | ||
"node": "^12.13.0 || ^14.15.0 || >=16" | ||
"node": "^12.13.0 || ^14.15.0 || >=16.0.0" | ||
}, | ||
@@ -15,3 +15,3 @@ "description": "npm exec (npx) programmatic API", | ||
"type": "git", | ||
"url": "https://github.com/npm/cli", | ||
"url": "https://github.com/npm/cli.git", | ||
"directory": "workspaces/libnpmexec" | ||
@@ -37,3 +37,3 @@ }, | ||
"scripts": { | ||
"lint": "eslint '**/*.js'", | ||
"lint": "eslint \"**/*.js\"", | ||
"posttest": "npm run lint", | ||
@@ -45,5 +45,5 @@ "test": "tap", | ||
"prepublishOnly": "git push origin --follow-tags", | ||
"postlint": "npm-template-check", | ||
"postlint": "template-oss-check", | ||
"lintfix": "npm run lint -- --fix", | ||
"template-copy": "npm-template-copy --force" | ||
"template-oss-apply": "template-oss-apply --force" | ||
}, | ||
@@ -56,5 +56,6 @@ "tap": { | ||
"devDependencies": { | ||
"@npmcli/template-oss": "^2.4.2", | ||
"@npmcli/eslint-config": "^3.0.1", | ||
"@npmcli/template-oss": "3.3.2", | ||
"bin-links": "^3.0.0", | ||
"tap": "^15.0.6" | ||
"tap": "^16.0.1" | ||
}, | ||
@@ -76,4 +77,5 @@ "dependencies": { | ||
"templateOSS": { | ||
"version": "2.9.2" | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "3.3.2" | ||
} | ||
} |
@@ -5,4 +5,3 @@ # libnpmexec | ||
[![license](https://img.shields.io/npm/l/libnpmexec.svg)](https://npm.im/libnpmexec) | ||
[![GitHub Actions](https://github.com/npm/libnpmexec/workflows/node-ci/badge.svg)](https://github.com/npm/libnpmexec/actions?query=workflow%3Anode-ci) | ||
[![Coverage Status](https://coveralls.io/repos/github/npm/libnpmexec/badge.svg?branch=main)](https://coveralls.io/github/npm/libnpmexec?branch=main) | ||
[![CI - libnpmexec](https://github.com/npm/cli/actions/workflows/ci-libnpmexec.yml/badge.svg)](https://github.com/npm/cli/actions/workflows/ci-libnpmexec.yml) | ||
@@ -9,0 +8,0 @@ The `npm exec` (`npx`) Programmatic API |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
15136
0
4
49