Skip to content

Commit 6abd0d3

Browse files
post upgrade changes from renovate
1 parent dcd696e commit 6abd0d3

2 files changed

Lines changed: 8 additions & 18 deletions

File tree

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.

0 commit comments

Comments
 (0)