Skip to content

Commit 810149d

Browse files
chore(deps): update dependency undici to v8.0.1 (#191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: jkroepke-automation[bot] <210774419+jkroepke-automation[bot]@users.noreply.github.com>
1 parent cded136 commit 810149d

File tree

4 files changed

+12
-22
lines changed

4 files changed

+12
-22
lines changed

dist/index.js

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20448,8 +20448,6 @@ function requireGlobal () {
2044820448
const Agent = requireAgent();
2044920449
const Dispatcher1Wrapper = requireDispatcher1Wrapper();
2045020450

20451-
const nodeMajor = Number(process.versions.node.split('.', 1)[0]);
20452-
2045320451
if (getGlobalDispatcher() === undefined) {
2045420452
setGlobalDispatcher(new Agent());
2045520453
}
@@ -20466,16 +20464,14 @@ function requireGlobal () {
2046620464
configurable: false
2046720465
});
2046820466

20469-
if (nodeMajor === 22) {
20470-
const legacyAgent = agent instanceof Dispatcher1Wrapper ? agent : new Dispatcher1Wrapper(agent);
20467+
const legacyAgent = agent instanceof Dispatcher1Wrapper ? agent : new Dispatcher1Wrapper(agent);
2047120468

20472-
Object.defineProperty(globalThis, legacyGlobalDispatcher, {
20473-
value: legacyAgent,
20474-
writable: true,
20475-
enumerable: false,
20476-
configurable: false
20477-
});
20478-
}
20469+
Object.defineProperty(globalThis, legacyGlobalDispatcher, {
20470+
value: legacyAgent,
20471+
writable: true,
20472+
enumerable: false,
20473+
configurable: false
20474+
});
2047920475
}
2048020476

2048120477
function getGlobalDispatcher () {
@@ -35810,12 +35806,6 @@ function requireWebsocketstream () {
3581035806
start: (controller) => {
3581135807
this.#readableStreamController = controller;
3581235808
},
35813-
pull (controller) {
35814-
let chunk;
35815-
while (controller.desiredSize > 0 && (chunk = response.socket.read()) !== null) {
35816-
controller.enqueue(chunk);
35817-
}
35818-
},
3581935809
cancel: (reason) => this.#cancel(reason)
3582035810
});
3582135811

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@
6363
"@rollup/rollup-linux-x64-gnu": "4.60.1"
6464
},
6565
"overrides": {
66-
"undici": "8.0.0"
66+
"undici": "8.0.1"
6767
}
6868
}

0 commit comments

Comments
 (0)