libnpmpack
Advanced tools
Comparing version 6.0.9 to 7.0.0
@@ -7,5 +7,4 @@ 'use strict' | ||
const path = require('path') | ||
const util = require('util') | ||
const Arborist = require('@npmcli/arborist') | ||
const writeFile = util.promisify(require('fs').writeFile) | ||
const { writeFile } = require('fs/promises') | ||
@@ -19,6 +18,2 @@ module.exports = pack | ||
// Default to true if no log options passed, set to false if we're in silent | ||
// mode | ||
const banner = !opts.silent | ||
const stdio = opts.foregroundScripts ? 'inherit' : 'pipe' | ||
@@ -34,3 +29,2 @@ | ||
pkg: manifest, | ||
banner, | ||
}) | ||
@@ -62,3 +56,2 @@ } | ||
pkg: manifest, | ||
banner, | ||
env: { | ||
@@ -65,0 +58,0 @@ npm_package_from: tarball.from, |
{ | ||
"name": "libnpmpack", | ||
"version": "6.0.9", | ||
"version": "7.0.0", | ||
"description": "Programmatic API for the bits behind npm pack", | ||
@@ -40,5 +40,5 @@ "author": "GitHub Inc.", | ||
"@npmcli/arborist": "^7.2.1", | ||
"@npmcli/run-script": "^7.0.2", | ||
"npm-package-arg": "^11.0.1", | ||
"pacote": "^17.0.4" | ||
"@npmcli/run-script": "^8.0.0", | ||
"npm-package-arg": "^11.0.2", | ||
"pacote": "^18.0.1" | ||
}, | ||
@@ -45,0 +45,0 @@ "engines": { |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
5548
53
- Removed@npmcli/redact@1.1.0(transitive)
- Removed@npmcli/run-script@7.0.4(transitive)
- Removedminipass-json-stream@1.0.2(transitive)
- Removednpm-registry-fetch@16.2.1(transitive)
- Removedpacote@17.0.7(transitive)
- Removedread-package-json@7.0.1(transitive)
Updated@npmcli/run-script@^8.0.0
Updatednpm-package-arg@^11.0.2
Updatedpacote@^18.0.1