From 3dc17ce3fa570f9ef2c55e2a565af6fe89b3e73d Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Mon, 6 Feb 2023 11:22:33 -0700 Subject: [PATCH] deps: fs-minipass@3.0.1 --- node_modules/.gitignore | 16 +-- .../node_modules/fs-minipass/package.json | 53 ------- .../fs-minipass/lib/index.js | 0 node_modules/fs-minipass/package.json | 40 ++++-- .../node_modules/fs-minipass/LICENSE | 0 .../node_modules}/fs-minipass/index.js | 0 .../node_modules/fs-minipass/package.json | 39 +++++ .../node_modules/fs-minipass/package.json | 53 ------- .../node_modules/fs-minipass/LICENSE | 0 .../node_modules/fs-minipass}/index.js | 133 ++++++++---------- .../fs-minipass/node_modules/minipass/LICENSE | 0 .../node_modules/minipass/index.d.ts | 0 .../node_modules/minipass/index.js | 0 .../node_modules/minipass/package.json | 0 .../tar/node_modules/fs-minipass/package.json | 39 +++++ package-lock.json | 83 +++++------ package.json | 2 +- 17 files changed, 211 insertions(+), 247 deletions(-) delete mode 100644 node_modules/cacache/node_modules/fs-minipass/package.json rename node_modules/{cacache/node_modules => }/fs-minipass/lib/index.js (100%) rename node_modules/{cacache => node-gyp}/node_modules/fs-minipass/LICENSE (100%) rename node_modules/{ => node-gyp/node_modules}/fs-minipass/index.js (100%) create mode 100644 node_modules/node-gyp/node_modules/fs-minipass/package.json delete mode 100644 node_modules/pacote/node_modules/fs-minipass/package.json rename node_modules/{pacote => tar}/node_modules/fs-minipass/LICENSE (100%) rename node_modules/{pacote/node_modules/fs-minipass/lib => tar/node_modules/fs-minipass}/index.js (84%) rename node_modules/{ => tar/node_modules}/fs-minipass/node_modules/minipass/LICENSE (100%) rename node_modules/{ => tar/node_modules}/fs-minipass/node_modules/minipass/index.d.ts (100%) rename node_modules/{ => tar/node_modules}/fs-minipass/node_modules/minipass/index.js (100%) rename node_modules/{ => tar/node_modules}/fs-minipass/node_modules/minipass/package.json (100%) create mode 100644 node_modules/tar/node_modules/fs-minipass/package.json diff --git a/node_modules/.gitignore b/node_modules/.gitignore index 6f37aae133b54..4a9d72e2e5282 100644 --- a/node_modules/.gitignore +++ b/node_modules/.gitignore @@ -52,9 +52,6 @@ !/buffer !/builtins !/cacache -!/cacache/node_modules/ -/cacache/node_modules/* -!/cacache/node_modules/fs-minipass !/chalk !/chownr !/ci-info @@ -88,9 +85,6 @@ !/events !/fastest-levenshtein !/fs-minipass -!/fs-minipass/node_modules/ -/fs-minipass/node_modules/* -!/fs-minipass/node_modules/minipass !/fs.realpath !/function-bind !/gauge @@ -190,6 +184,7 @@ !/node-gyp/node_modules/cacache/node_modules/brace-expansion !/node-gyp/node_modules/cacache/node_modules/glob !/node-gyp/node_modules/cacache/node_modules/minimatch +!/node-gyp/node_modules/fs-minipass !/node-gyp/node_modules/gauge !/node-gyp/node_modules/glob !/node-gyp/node_modules/make-fetch-happen @@ -218,9 +213,6 @@ !/once !/p-map !/pacote -!/pacote/node_modules/ -/pacote/node_modules/* -!/pacote/node_modules/fs-minipass !/parse-conflict-json !/path-is-absolute !/postcss-selector-parser @@ -269,6 +261,12 @@ !/strip-ansi !/supports-color !/tar +!/tar/node_modules/ +/tar/node_modules/* +!/tar/node_modules/fs-minipass +!/tar/node_modules/fs-minipass/node_modules/ +/tar/node_modules/fs-minipass/node_modules/* +!/tar/node_modules/fs-minipass/node_modules/minipass !/text-table !/tiny-relative-date !/treeverse diff --git a/node_modules/cacache/node_modules/fs-minipass/package.json b/node_modules/cacache/node_modules/fs-minipass/package.json deleted file mode 100644 index cba0d0cbc2dd8..0000000000000 --- a/node_modules/cacache/node_modules/fs-minipass/package.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "fs-minipass", - "version": "3.0.1", - "main": "lib/index.js", - "scripts": { - "test": "tap", - "lint": "eslint \"**/*.js\"", - "postlint": "template-oss-check", - "template-oss-apply": "template-oss-apply --force", - "lintfix": "npm run lint -- --fix", - "snap": "tap", - "posttest": "npm run lint" - }, - "keywords": [], - "author": "GitHub Inc.", - "license": "ISC", - "repository": { - "type": "git", - "url": "https://github.com/npm/fs-minipass.git" - }, - "bugs": { - "url": "https://github.com/npm/fs-minipass/issues" - }, - "homepage": "https://github.com/npm/fs-minipass#readme", - "description": "fs read and write streams based on minipass", - "dependencies": { - "minipass": "^4.0.0" - }, - "devDependencies": { - "@npmcli/eslint-config": "^4.0.1", - "@npmcli/template-oss": "4.11.3", - "mutate-fs": "^2.1.1", - "tap": "^16.3.2" - }, - "files": [ - "bin/", - "lib/" - ], - "tap": { - "check-coverage": true, - "nyc-arg": [ - "--exclude", - "tap-snapshots/**" - ] - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - }, - "templateOSS": { - "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.11.3" - } -} diff --git a/node_modules/cacache/node_modules/fs-minipass/lib/index.js b/node_modules/fs-minipass/lib/index.js similarity index 100% rename from node_modules/cacache/node_modules/fs-minipass/lib/index.js rename to node_modules/fs-minipass/lib/index.js diff --git a/node_modules/fs-minipass/package.json b/node_modules/fs-minipass/package.json index 2f2436cb5c3b1..cba0d0cbc2dd8 100644 --- a/node_modules/fs-minipass/package.json +++ b/node_modules/fs-minipass/package.json @@ -1,19 +1,22 @@ { "name": "fs-minipass", - "version": "2.1.0", - "main": "index.js", + "version": "3.0.1", + "main": "lib/index.js", "scripts": { "test": "tap", - "preversion": "npm test", - "postversion": "npm publish", - "postpublish": "git push origin --follow-tags" + "lint": "eslint \"**/*.js\"", + "postlint": "template-oss-check", + "template-oss-apply": "template-oss-apply --force", + "lintfix": "npm run lint -- --fix", + "snap": "tap", + "posttest": "npm run lint" }, "keywords": [], - "author": "Isaac Z. Schlueter (http://blog.izs.me/)", + "author": "GitHub Inc.", "license": "ISC", "repository": { "type": "git", - "url": "git+https://github.com/npm/fs-minipass.git" + "url": "https://github.com/npm/fs-minipass.git" }, "bugs": { "url": "https://github.com/npm/fs-minipass/issues" @@ -21,19 +24,30 @@ "homepage": "https://github.com/npm/fs-minipass#readme", "description": "fs read and write streams based on minipass", "dependencies": { - "minipass": "^3.0.0" + "minipass": "^4.0.0" }, "devDependencies": { - "mutate-fs": "^2.0.1", - "tap": "^14.6.4" + "@npmcli/eslint-config": "^4.0.1", + "@npmcli/template-oss": "4.11.3", + "mutate-fs": "^2.1.1", + "tap": "^16.3.2" }, "files": [ - "index.js" + "bin/", + "lib/" ], "tap": { - "check-coverage": true + "check-coverage": true, + "nyc-arg": [ + "--exclude", + "tap-snapshots/**" + ] }, "engines": { - "node": ">= 8" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "templateOSS": { + "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", + "version": "4.11.3" } } diff --git a/node_modules/cacache/node_modules/fs-minipass/LICENSE b/node_modules/node-gyp/node_modules/fs-minipass/LICENSE similarity index 100% rename from node_modules/cacache/node_modules/fs-minipass/LICENSE rename to node_modules/node-gyp/node_modules/fs-minipass/LICENSE diff --git a/node_modules/fs-minipass/index.js b/node_modules/node-gyp/node_modules/fs-minipass/index.js similarity index 100% rename from node_modules/fs-minipass/index.js rename to node_modules/node-gyp/node_modules/fs-minipass/index.js diff --git a/node_modules/node-gyp/node_modules/fs-minipass/package.json b/node_modules/node-gyp/node_modules/fs-minipass/package.json new file mode 100644 index 0000000000000..2f2436cb5c3b1 --- /dev/null +++ b/node_modules/node-gyp/node_modules/fs-minipass/package.json @@ -0,0 +1,39 @@ +{ + "name": "fs-minipass", + "version": "2.1.0", + "main": "index.js", + "scripts": { + "test": "tap", + "preversion": "npm test", + "postversion": "npm publish", + "postpublish": "git push origin --follow-tags" + }, + "keywords": [], + "author": "Isaac Z. Schlueter (http://blog.izs.me/)", + "license": "ISC", + "repository": { + "type": "git", + "url": "git+https://github.com/npm/fs-minipass.git" + }, + "bugs": { + "url": "https://github.com/npm/fs-minipass/issues" + }, + "homepage": "https://github.com/npm/fs-minipass#readme", + "description": "fs read and write streams based on minipass", + "dependencies": { + "minipass": "^3.0.0" + }, + "devDependencies": { + "mutate-fs": "^2.0.1", + "tap": "^14.6.4" + }, + "files": [ + "index.js" + ], + "tap": { + "check-coverage": true + }, + "engines": { + "node": ">= 8" + } +} diff --git a/node_modules/pacote/node_modules/fs-minipass/package.json b/node_modules/pacote/node_modules/fs-minipass/package.json deleted file mode 100644 index cba0d0cbc2dd8..0000000000000 --- a/node_modules/pacote/node_modules/fs-minipass/package.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "fs-minipass", - "version": "3.0.1", - "main": "lib/index.js", - "scripts": { - "test": "tap", - "lint": "eslint \"**/*.js\"", - "postlint": "template-oss-check", - "template-oss-apply": "template-oss-apply --force", - "lintfix": "npm run lint -- --fix", - "snap": "tap", - "posttest": "npm run lint" - }, - "keywords": [], - "author": "GitHub Inc.", - "license": "ISC", - "repository": { - "type": "git", - "url": "https://github.com/npm/fs-minipass.git" - }, - "bugs": { - "url": "https://github.com/npm/fs-minipass/issues" - }, - "homepage": "https://github.com/npm/fs-minipass#readme", - "description": "fs read and write streams based on minipass", - "dependencies": { - "minipass": "^4.0.0" - }, - "devDependencies": { - "@npmcli/eslint-config": "^4.0.1", - "@npmcli/template-oss": "4.11.3", - "mutate-fs": "^2.1.1", - "tap": "^16.3.2" - }, - "files": [ - "bin/", - "lib/" - ], - "tap": { - "check-coverage": true, - "nyc-arg": [ - "--exclude", - "tap-snapshots/**" - ] - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - }, - "templateOSS": { - "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.11.3" - } -} diff --git a/node_modules/pacote/node_modules/fs-minipass/LICENSE b/node_modules/tar/node_modules/fs-minipass/LICENSE similarity index 100% rename from node_modules/pacote/node_modules/fs-minipass/LICENSE rename to node_modules/tar/node_modules/fs-minipass/LICENSE diff --git a/node_modules/pacote/node_modules/fs-minipass/lib/index.js b/node_modules/tar/node_modules/fs-minipass/index.js similarity index 84% rename from node_modules/pacote/node_modules/fs-minipass/lib/index.js rename to node_modules/tar/node_modules/fs-minipass/index.js index f9d5082a4d642..9b0779c80c55e 100644 --- a/node_modules/pacote/node_modules/fs-minipass/lib/index.js +++ b/node_modules/tar/node_modules/fs-minipass/index.js @@ -3,7 +3,21 @@ const MiniPass = require('minipass') const EE = require('events').EventEmitter const fs = require('fs') -const writev = fs.writev +let writev = fs.writev +/* istanbul ignore next */ +if (!writev) { + // This entire block can be removed if support for earlier than Node.js + // 12.9.0 is not needed. + const binding = process.binding('fs') + const FSReqWrap = binding.FSReqWrap || binding.FSReqCallback + + writev = (fd, iovec, pos, cb) => { + const done = (er, bw) => cb(er, bw, iovec) + const req = new FSReqWrap() + req.oncomplete = done + binding.writeBuffers(fd, iovec, pos, req) + } +} const _autoClose = Symbol('_autoClose') const _close = Symbol('_close') @@ -42,34 +56,27 @@ class ReadStream extends MiniPass { this.readable = true this.writable = false - if (typeof path !== 'string') { + if (typeof path !== 'string') throw new TypeError('path must be a string') - } this[_errored] = false this[_fd] = typeof opt.fd === 'number' ? opt.fd : null this[_path] = path - this[_readSize] = opt.readSize || 16 * 1024 * 1024 + this[_readSize] = opt.readSize || 16*1024*1024 this[_reading] = false this[_size] = typeof opt.size === 'number' ? opt.size : Infinity this[_remain] = this[_size] this[_autoClose] = typeof opt.autoClose === 'boolean' ? opt.autoClose : true - if (typeof this[_fd] === 'number') { + if (typeof this[_fd] === 'number') this[_read]() - } else { + else this[_open]() - } } - get fd () { - return this[_fd] - } - - get path () { - return this[_path] - } + get fd () { return this[_fd] } + get path () { return this[_path] } write () { throw new TypeError('this is a readable stream') @@ -84,9 +91,9 @@ class ReadStream extends MiniPass { } [_onopen] (er, fd) { - if (er) { + if (er) this[_onerror](er) - } else { + else { this[_fd] = fd this.emit('open', fd) this[_read]() @@ -102,21 +109,19 @@ class ReadStream extends MiniPass { this[_reading] = true const buf = this[_makeBuf]() /* istanbul ignore if */ - if (buf.length === 0) { + if (buf.length === 0) return process.nextTick(() => this[_onread](null, 0, buf)) - } - fs.read(this[_fd], buf, 0, buf.length, null, (er, br, b) => - this[_onread](er, br, b)) + fs.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) => + this[_onread](er, br, buf)) } } [_onread] (er, br, buf) { this[_reading] = false - if (er) { + if (er) this[_onerror](er) - } else if (this[_handleChunk](br, buf)) { + else if (this[_handleChunk](br, buf)) this[_read]() - } } [_close] () { @@ -137,9 +142,8 @@ class ReadStream extends MiniPass { let ret = false // no effect if infinite this[_remain] -= br - if (br > 0) { + if (br > 0) ret = super.write(br < buf.length ? buf.slice(0, br) : buf) - } if (br === 0 || this[_remain] <= 0) { ret = false @@ -157,15 +161,13 @@ class ReadStream extends MiniPass { break case 'drain': - if (typeof this[_fd] === 'number') { + if (typeof this[_fd] === 'number') this[_read]() - } break case 'error': - if (this[_errored]) { + if (this[_errored]) return - } this[_errored] = true return super.emit(ev, data) @@ -182,9 +184,8 @@ class ReadStreamSync extends ReadStream { this[_onopen](null, fs.openSync(this[_path], 'r')) threw = false } finally { - if (threw) { + if (threw) this[_close]() - } } } @@ -198,17 +199,15 @@ class ReadStreamSync extends ReadStream { /* istanbul ignore next */ const br = buf.length === 0 ? 0 : fs.readSync(this[_fd], buf, 0, buf.length, null) - if (!this[_handleChunk](br, buf)) { + if (!this[_handleChunk](br, buf)) break - } } while (true) this[_reading] = false } threw = false } finally { - if (threw) { + if (threw) this[_close]() - } } } @@ -245,28 +244,22 @@ class WriteStream extends EE { this[_defaultFlag] = opt.flags === undefined this[_flags] = this[_defaultFlag] ? defaultFlag : opt.flags - if (this[_fd] === null) { + if (this[_fd] === null) this[_open]() - } } emit (ev, data) { if (ev === 'error') { - if (this[_errored]) { + if (this[_errored]) return - } this[_errored] = true } return super.emit(ev, data) } - get fd () { - return this[_fd] - } - get path () { - return this[_path] - } + get fd () { return this[_fd] } + get path () { return this[_path] } [_onerror] (er) { this[_close]() @@ -285,36 +278,31 @@ class WriteStream extends EE { er && er.code === 'ENOENT') { this[_flags] = 'w' this[_open]() - } else if (er) { + } else if (er) this[_onerror](er) - } else { + else { this[_fd] = fd this.emit('open', fd) - if (!this[_writing]) { - this[_flush]() - } + this[_flush]() } } end (buf, enc) { - if (buf) { + if (buf) this.write(buf, enc) - } this[_ended] = true // synthetic after-write logic, where drain/finish live if (!this[_writing] && !this[_queue].length && - typeof this[_fd] === 'number') { + typeof this[_fd] === 'number') this[_onwrite](null, 0) - } return this } write (buf, enc) { - if (typeof buf === 'string') { + if (typeof buf === 'string') buf = Buffer.from(buf, enc) - } if (this[_ended]) { this.emit('error', new Error('write() after end()')) @@ -338,15 +326,14 @@ class WriteStream extends EE { } [_onwrite] (er, bw) { - if (er) { + if (er) this[_onerror](er) - } else { - if (this[_pos] !== null) { + else { + if (this[_pos] !== null) this[_pos] += bw - } - if (this[_queue].length) { + if (this[_queue].length) this[_flush]() - } else { + else { this[_writing] = false if (this[_ended] && !this[_finished]) { @@ -363,12 +350,11 @@ class WriteStream extends EE { [_flush] () { if (this[_queue].length === 0) { - if (this[_ended]) { + if (this[_ended]) this[_onwrite](null, 0) - } - } else if (this[_queue].length === 1) { + } else if (this[_queue].length === 1) this[_write](this[_queue].pop()) - } else { + else { const iovec = this[_queue] this[_queue] = [] writev(this[_fd], iovec, this[_pos], @@ -397,13 +383,11 @@ class WriteStreamSync extends WriteStream { if (er.code === 'ENOENT') { this[_flags] = 'w' return this[_open]() - } else { + } else throw er - } } - } else { + } else fd = fs.openSync(this[_path], this[_flags], this[_mode]) - } this[_onopen](null, fd) } @@ -425,13 +409,8 @@ class WriteStreamSync extends WriteStream { fs.writeSync(this[_fd], buf, 0, buf.length, this[_pos])) threw = false } finally { - if (threw) { - try { - this[_close]() - } catch { - // ok error - } - } + if (threw) + try { this[_close]() } catch (_) {} } } } diff --git a/node_modules/fs-minipass/node_modules/minipass/LICENSE b/node_modules/tar/node_modules/fs-minipass/node_modules/minipass/LICENSE similarity index 100% rename from node_modules/fs-minipass/node_modules/minipass/LICENSE rename to node_modules/tar/node_modules/fs-minipass/node_modules/minipass/LICENSE diff --git a/node_modules/fs-minipass/node_modules/minipass/index.d.ts b/node_modules/tar/node_modules/fs-minipass/node_modules/minipass/index.d.ts similarity index 100% rename from node_modules/fs-minipass/node_modules/minipass/index.d.ts rename to node_modules/tar/node_modules/fs-minipass/node_modules/minipass/index.d.ts diff --git a/node_modules/fs-minipass/node_modules/minipass/index.js b/node_modules/tar/node_modules/fs-minipass/node_modules/minipass/index.js similarity index 100% rename from node_modules/fs-minipass/node_modules/minipass/index.js rename to node_modules/tar/node_modules/fs-minipass/node_modules/minipass/index.js diff --git a/node_modules/fs-minipass/node_modules/minipass/package.json b/node_modules/tar/node_modules/fs-minipass/node_modules/minipass/package.json similarity index 100% rename from node_modules/fs-minipass/node_modules/minipass/package.json rename to node_modules/tar/node_modules/fs-minipass/node_modules/minipass/package.json diff --git a/node_modules/tar/node_modules/fs-minipass/package.json b/node_modules/tar/node_modules/fs-minipass/package.json new file mode 100644 index 0000000000000..2f2436cb5c3b1 --- /dev/null +++ b/node_modules/tar/node_modules/fs-minipass/package.json @@ -0,0 +1,39 @@ +{ + "name": "fs-minipass", + "version": "2.1.0", + "main": "index.js", + "scripts": { + "test": "tap", + "preversion": "npm test", + "postversion": "npm publish", + "postpublish": "git push origin --follow-tags" + }, + "keywords": [], + "author": "Isaac Z. Schlueter (http://blog.izs.me/)", + "license": "ISC", + "repository": { + "type": "git", + "url": "git+https://github.com/npm/fs-minipass.git" + }, + "bugs": { + "url": "https://github.com/npm/fs-minipass/issues" + }, + "homepage": "https://github.com/npm/fs-minipass#readme", + "description": "fs read and write streams based on minipass", + "dependencies": { + "minipass": "^3.0.0" + }, + "devDependencies": { + "mutate-fs": "^2.0.1", + "tap": "^14.6.4" + }, + "files": [ + "index.js" + ], + "tap": { + "check-coverage": true + }, + "engines": { + "node": ">= 8" + } +} diff --git a/package-lock.json b/package-lock.json index 42ca00886a01a..04f5535810ee9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -99,7 +99,7 @@ "cli-table3": "^0.6.3", "columnify": "^1.6.0", "fastest-levenshtein": "^1.0.16", - "fs-minipass": "^2.1.0", + "fs-minipass": "^3.0.1", "glob": "^8.0.1", "graceful-fs": "^4.2.10", "hosted-git-info": "^6.1.1", @@ -3131,18 +3131,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/cacache/node_modules/fs-minipass": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.1.tgz", - "integrity": "sha512-MhaJDcFRTuLidHrIttu0RDGyyXs/IYHVmlcxfLAEFIWjc1vdLAkdwT7Ace2u7DbitWC0toKMl5eJZRYNVreIMw==", - "inBundle": true, - "dependencies": { - "minipass": "^4.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "node_modules/caching-transform": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz", @@ -5299,26 +5287,15 @@ } }, "node_modules/fs-minipass": { - "version": "2.1.0", - "inBundle": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/fs-minipass/node_modules/minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.1.tgz", + "integrity": "sha512-MhaJDcFRTuLidHrIttu0RDGyyXs/IYHVmlcxfLAEFIWjc1vdLAkdwT7Ace2u7DbitWC0toKMl5eJZRYNVreIMw==", "inBundle": true, "dependencies": { - "yallist": "^4.0.0" + "minipass": "^4.0.0" }, "engines": { - "node": ">=8" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/fs.realpath": { @@ -8638,6 +8615,18 @@ "node": ">=10" } }, + "node_modules/node-gyp/node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "inBundle": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/node-gyp/node_modules/gauge": { "version": "4.0.4", "inBundle": true, @@ -9536,18 +9525,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/pacote/node_modules/fs-minipass": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.1.tgz", - "integrity": "sha512-MhaJDcFRTuLidHrIttu0RDGyyXs/IYHVmlcxfLAEFIWjc1vdLAkdwT7Ace2u7DbitWC0toKMl5eJZRYNVreIMw==", - "inBundle": true, - "dependencies": { - "minipass": "^4.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -13338,6 +13315,30 @@ "streamx": "^2.12.5" } }, + "node_modules/tar/node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "inBundle": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/tar/node_modules/fs-minipass/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "inBundle": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/tcompare": { "version": "5.0.7", "resolved": "https://registry.npmjs.org/tcompare/-/tcompare-5.0.7.tgz", diff --git a/package.json b/package.json index 250abd00ee7ee..3df652002a644 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "cli-table3": "^0.6.3", "columnify": "^1.6.0", "fastest-levenshtein": "^1.0.16", - "fs-minipass": "^2.1.0", + "fs-minipass": "^3.0.1", "glob": "^8.0.1", "graceful-fs": "^4.2.10", "hosted-git-info": "^6.1.1",