libnpmpack 7.0.2 → 7.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -3,9 +3,9 @@
3
3
  const pacote = require('pacote')
4
4
  const npa = require('npm-package-arg')
5
5
  const runScript = require('@npmcli/run-script')
6
- const path = require('path')
6
+ const path = require('node:path')
7
7
  const Arborist = require('@npmcli/arborist')
8
- const { writeFile } = require('fs/promises')
8
+ const { writeFile } = require('node:fs/promises')
9
9
 
10
10
  module.exports = pack
11
11
  async function pack (spec = 'file:.', opts = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libnpmpack",
3
- "version": "7.0.2",
3
+ "version": "7.0.4",
4
4
  "description": "Programmatic API for the bits behind npm pack",
5
5
  "author": "GitHub Inc.",
6
6
  "main": "lib/index.js",
@@ -36,7 +36,7 @@
36
36
  "bugs": "https://github.com/npm/libnpmpack/issues",
37
37
  "homepage": "https://npmjs.com/package/libnpmpack",
38
38
  "dependencies": {
39
- "@npmcli/arborist": "^7.5.2",
39
+ "@npmcli/arborist": "^7.5.4",
40
40
  "@npmcli/run-script": "^8.1.0",
41
41
  "npm-package-arg": "^11.0.2",
42
42
  "pacote": "^18.0.6"