Skip to content

Commit c2b28f9

Browse files
lukekarryswraithgar
authored andcommitted
1 parent 9064ffc commit c2b28f9

File tree

6 files changed

+20
-21
lines changed

6 files changed

+20
-21
lines changed

node_modules/minipass/dist/commonjs/index.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ const proc = typeof process === 'object' && process
1010
stdout: null,
1111
stderr: null,
1212
};
13-
const events_1 = require("events");
14-
const stream_1 = __importDefault(require("stream"));
15-
const string_decoder_1 = require("string_decoder");
13+
const node_events_1 = require("node:events");
14+
const node_stream_1 = __importDefault(require("node:stream"));
15+
const node_string_decoder_1 = require("node:string_decoder");
1616
/**
1717
* Return true if the argument is a Minipass stream, Node stream, or something
1818
* else that Minipass can interact with.
1919
*/
2020
const isStream = (s) => !!s &&
2121
typeof s === 'object' &&
2222
(s instanceof Minipass ||
23-
s instanceof stream_1.default ||
23+
s instanceof node_stream_1.default ||
2424
(0, exports.isReadable)(s) ||
2525
(0, exports.isWritable)(s));
2626
exports.isStream = isStream;
@@ -29,17 +29,17 @@ exports.isStream = isStream;
2929
*/
3030
const isReadable = (s) => !!s &&
3131
typeof s === 'object' &&
32-
s instanceof events_1.EventEmitter &&
32+
s instanceof node_events_1.EventEmitter &&
3333
typeof s.pipe === 'function' &&
3434
// node core Writable streams have a pipe() method, but it throws
35-
s.pipe !== stream_1.default.Writable.prototype.pipe;
35+
s.pipe !== node_stream_1.default.Writable.prototype.pipe;
3636
exports.isReadable = isReadable;
3737
/**
3838
* Return true if the argument is a valid {@link Minipass.Writable}
3939
*/
4040
const isWritable = (s) => !!s &&
4141
typeof s === 'object' &&
42-
s instanceof events_1.EventEmitter &&
42+
s instanceof node_events_1.EventEmitter &&
4343
typeof s.write === 'function' &&
4444
typeof s.end === 'function';
4545
exports.isWritable = isWritable;
@@ -146,7 +146,7 @@ const isEncodingOptions = (o) => !o.objectMode && !!o.encoding && o.encoding !==
146146
* `Events` is the set of event handler signatures that this object
147147
* will emit, see {@link Minipass.Events}
148148
*/
149-
class Minipass extends events_1.EventEmitter {
149+
class Minipass extends node_events_1.EventEmitter {
150150
[FLOWING] = false;
151151
[PAUSED] = false;
152152
[PIPES] = [];
@@ -201,7 +201,7 @@ class Minipass extends events_1.EventEmitter {
201201
}
202202
this[ASYNC] = !!options.async;
203203
this[DECODER] = this[ENCODING]
204-
? new string_decoder_1.StringDecoder(this[ENCODING])
204+
? new node_string_decoder_1.StringDecoder(this[ENCODING])
205205
: null;
206206
//@ts-ignore - private option for debugging and testing
207207
if (options && options.debugExposeBuffer === true) {

node_modules/minipass/dist/esm/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ const proc = typeof process === 'object' && process
44
stdout: null,
55
stderr: null,
66
};
7-
import { EventEmitter } from 'events';
8-
import Stream from 'stream';
9-
import { StringDecoder } from 'string_decoder';
7+
import { EventEmitter } from 'node:events';
8+
import Stream from 'node:stream';
9+
import { StringDecoder } from 'node:string_decoder';
1010
/**
1111
* Return true if the argument is a Minipass stream, Node stream, or something
1212
* else that Minipass can interact with.

node_modules/minipass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "minipass",
3-
"version": "7.1.0",
3+
"version": "7.1.1",
44
"description": "minimal implementation of a PassThrough stream",
55
"main": "./dist/commonjs/index.js",
66
"types": "./dist/commonjs/index.d.ts",

package-lock.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
"libnpmversion": "^6.0.0",
125125
"make-fetch-happen": "^13.0.1",
126126
"minimatch": "^9.0.4",
127-
"minipass": "^7.1.0",
127+
"minipass": "^7.1.1",
128128
"minipass-pipeline": "^1.2.4",
129129
"ms": "^2.1.2",
130130
"node-gyp": "^10.1.0",
@@ -8391,11 +8391,10 @@
83918391
}
83928392
},
83938393
"node_modules/minipass": {
8394-
"version": "7.1.0",
8395-
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.0.tgz",
8396-
"integrity": "sha512-oGZRv2OT1lO2UF1zUcwdTb3wqUwI0kBGTgt/T7OdSj6M6N5m3o5uPf0AIW6lVxGGoiWUR7e2AwTE+xiwK8WQig==",
8394+
"version": "7.1.1",
8395+
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.1.tgz",
8396+
"integrity": "sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA==",
83978397
"inBundle": true,
8398-
"license": "ISC",
83998398
"engines": {
84008399
"node": ">=16 || 14 >=14.17"
84018400
}
@@ -14969,7 +14968,7 @@
1496914968
"devDependencies": {
1497014969
"@npmcli/eslint-config": "^4.0.0",
1497114970
"@npmcli/template-oss": "4.22.0",
14972-
"minipass": "^7.1.0",
14971+
"minipass": "^7.1.1",
1497314972
"nock": "^13.3.3",
1497414973
"tap": "^16.3.8"
1497514974
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"libnpmversion": "^6.0.0",
9090
"make-fetch-happen": "^13.0.1",
9191
"minimatch": "^9.0.4",
92-
"minipass": "^7.1.0",
92+
"minipass": "^7.1.1",
9393
"minipass-pipeline": "^1.2.4",
9494
"ms": "^2.1.2",
9595
"node-gyp": "^10.1.0",

workspaces/libnpmorg/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"devDependencies": {
3030
"@npmcli/eslint-config": "^4.0.0",
3131
"@npmcli/template-oss": "4.22.0",
32-
"minipass": "^7.1.0",
32+
"minipass": "^7.1.1",
3333
"nock": "^13.3.3",
3434
"tap": "^16.3.8"
3535
},

0 commit comments

Comments
 (0)