Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

urllib

Package Overview
Dependencies
Maintainers
0
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

urllib - npm Package Compare versions

Comparing version 3.25.1 to 4.0.0

56

dist/commonjs/diagnosticsChannel.js

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.initDiagnosticsChannel = void 0;
exports.initDiagnosticsChannel = initDiagnosticsChannel;
const node_diagnostics_channel_1 = __importDefault(require("node:diagnostics_channel"));

@@ -27,9 +27,3 @@ const node_perf_hooks_1 = require("node:perf_hooks");

function subscribe(name, listener) {
if (typeof node_diagnostics_channel_1.default.subscribe === 'function') {
node_diagnostics_channel_1.default.subscribe(name, listener);
}
else {
// TODO: support Node.js 14, will be removed on the next major version
node_diagnostics_channel_1.default.channel(name).subscribe(listener);
}
node_diagnostics_channel_1.default.subscribe(name, listener);
}

@@ -49,4 +43,3 @@ function formatSocket(socket) {

// make sure error contains socket info
const kDestroy = Symbol('kDestroy');
node_net_1.Socket.prototype[kDestroy] = node_net_1.Socket.prototype.destroy;
const destroySocket = node_net_1.Socket.prototype.destroy;
node_net_1.Socket.prototype.destroy = function (err) {

@@ -60,3 +53,3 @@ if (err) {

}
return this[kDestroy](err);
return destroySocket.call(this, err);
};

@@ -66,3 +59,3 @@ function getRequestOpaque(request, kHandler) {

return;
const handler = request[kHandler];
const handler = Reflect.get(request, kHandler);
// maxRedirects = 0 will get [Symbol(handler)]: RequestHandler {

@@ -80,3 +73,3 @@ // responseHeaders: null,

function initDiagnosticsChannel() {
// makre sure init global DiagnosticsChannel once
// make sure init global DiagnosticsChannel once
if (initedDiagnosticsChannel)

@@ -108,23 +101,22 @@ return;

});
// diagnosticsChannel.channel('undici:client:beforeConnect')
subscribe('undici:client:connectError', (message, name) => {
const { error, connectParams } = message;
let { socket } = message;
if (!socket && error[symbols_js_1.default.kErrorSocket]) {
socket = error[symbols_js_1.default.kErrorSocket];
const { error, connectParams, socket } = message;
let sock = socket;
if (!sock && error[symbols_js_1.default.kErrorSocket]) {
sock = error[symbols_js_1.default.kErrorSocket];
}
if (socket) {
socket[symbols_js_1.default.kSocketId] = (0, utils_js_1.globalId)('UndiciSocket');
socket[symbols_js_1.default.kSocketConnectErrorTime] = new Date();
socket[symbols_js_1.default.kHandledRequests] = 0;
socket[symbols_js_1.default.kHandledResponses] = 0;
if (sock) {
sock[symbols_js_1.default.kSocketId] = (0, utils_js_1.globalId)('UndiciSocket');
sock[symbols_js_1.default.kSocketConnectErrorTime] = new Date();
sock[symbols_js_1.default.kHandledRequests] = 0;
sock[symbols_js_1.default.kHandledResponses] = 0;
// copy local address to symbol, avoid them be reset after request error throw
if (socket.localAddress) {
socket[symbols_js_1.default.kSocketLocalAddress] = socket.localAddress;
socket[symbols_js_1.default.kSocketLocalPort] = socket.localPort;
if (sock.localAddress) {
sock[symbols_js_1.default.kSocketLocalAddress] = sock.localAddress;
sock[symbols_js_1.default.kSocketLocalPort] = sock.localPort;
}
socket[symbols_js_1.default.kSocketConnectProtocol] = connectParams.protocol;
socket[symbols_js_1.default.kSocketConnectHost] = connectParams.host;
socket[symbols_js_1.default.kSocketConnectPort] = connectParams.port;
debug('[%s] Socket#%d connectError, connectParams: %o, error: %s, (sock: %o)', name, socket[symbols_js_1.default.kSocketId], connectParams, error.message, formatSocket(socket));
sock[symbols_js_1.default.kSocketConnectProtocol] = connectParams.protocol;
sock[symbols_js_1.default.kSocketConnectHost] = connectParams.host;
sock[symbols_js_1.default.kSocketConnectPort] = connectParams.port;
debug('[%s] Socket#%d connectError, connectParams: %o, error: %s, (sock: %o)', name, sock[symbols_js_1.default.kSocketId], connectParams, error.message, formatSocket(sock));
}

@@ -164,3 +156,3 @@ else {

opaque[symbols_js_1.default.kRequestTiming].requestHeadersSent = (0, utils_js_1.performanceTime)(opaque[symbols_js_1.default.kRequestStartTime]);
// first socket need to caculate the connected time
// first socket need to calculate the connected time
if (socket[symbols_js_1.default.kHandledRequests] === 1) {

@@ -224,2 +216,2 @@ // kSocketStartTime - kRequestStartTime = connected time

}
exports.initDiagnosticsChannel = initDiagnosticsChannel;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhZ25vc3RpY3NDaGFubmVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2RpYWdub3N0aWNzQ2hhbm5lbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQXFFQSx3REF1SkM7QUE1TkQsd0ZBQTBEO0FBQzFELHFEQUE4QztBQUM5Qyx5Q0FBcUM7QUFDckMsdUNBQWtDO0FBRWxDLDhEQUFtQztBQUNuQyx5Q0FBdUQ7QUFFdkQsTUFBTSxLQUFLLEdBQUcsSUFBQSxvQkFBUSxFQUFDLDJCQUEyQixDQUFDLENBQUM7QUFDcEQsSUFBSSx3QkFBd0IsR0FBRyxLQUFLLENBQUM7QUFDckMsMERBQTBEO0FBQzFELG9CQUFvQjtBQUNwQix1Q0FBdUM7QUFDdkMsMkZBQTJGO0FBQzNGLHdEQUF3RDtBQUN4RCxnREFBZ0Q7QUFDaEQsRUFBRTtBQUNGLG9CQUFvQjtBQUNwQixrREFBa0Q7QUFDbEQsd0RBQXdEO0FBRXhELFNBQVMsU0FBUyxDQUFDLElBQVksRUFBRSxRQUFrRTtJQUNqRyxrQ0FBa0IsQ0FBQyxTQUFTLENBQUMsSUFBSSxFQUFFLFFBQVEsQ0FBQyxDQUFDO0FBQy9DLENBQUM7QUFNRCxTQUFTLFlBQVksQ0FBQyxNQUFvQjtJQUN4QyxJQUFJLENBQUMsTUFBTTtRQUFFLE9BQU8sTUFBTSxDQUFDO0lBQzNCLE9BQU87UUFDTCxZQUFZLEVBQUUsTUFBTSxDQUFDLG9CQUFPLENBQUMsbUJBQW1CLENBQUM7UUFDakQsU0FBUyxFQUFFL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node:net';

@@ -3,0 +2,0 @@ import { Agent, Dispatcher, buildConnector } from 'undici';

@@ -81,1 +81,2 @@ "use strict";

exports.HttpAgent = HttpAgent;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSHR0cEFnZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL0h0dHBBZ2VudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSx3REFBMkI7QUFDM0IsdUNBQWdEO0FBQ2hELG1DQUlnQjtBQVVoQixNQUFNLG1CQUFvQixTQUFRLEtBQUs7SUFDckMsUUFBUSxDQUFTO0lBQ2pCLEVBQUUsQ0FBUztJQUNYLE1BQU0sQ0FBUztJQUVmLFlBQVksUUFBZ0IsRUFBRSxFQUFVLEVBQUUsTUFBYztRQUN0RCxNQUFNLE9BQU8sR0FBRyxpQkFBaUIsQ0FBQztRQUNsQyxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUM7UUFDZixJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDO1FBQ2xDLElBQUksQ0FBQyxRQUFRLEdBQUcsUUFBUSxDQUFDO1FBQ3pCLElBQUksQ0FBQyxFQUFFLEdBQUcsRUFBRSxDQUFDO1FBQ2IsSUFBSSxDQUFDLE1BQU0sR0FBRyxNQUFNLENBQUM7UUFDckIsS0FBSyxDQUFDLGlCQUFpQixDQUFDLElBQUksRUFBRSxJQUFJLENBQUMsV0FBVyxDQUFDLENBQUM7SUFDbEQsQ0FBQztDQUNGO0FBRUQsTUFBYSxTQUFVLFNBQVEsY0FBSztJQUNsQyxhQUFhLENBQXdCO0lBRXJDLFlBQVksT0FBeUI7UUFDbkMseUNBQXlDO1FBQ3pDLE1BQU0sT0FBTyxHQUFHLE9BQU8sQ0FBQyxNQUFNLElBQUksa0JBQUcsQ0FBQyxNQUFNLENBQUM7UU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FBUSxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQztZQUN4RCxDQUFDO1lBQ0QsTUFBTSxNQUFNLEdBQUcsSUFBQSxlQUFJLEVBQUMsUUFBUSxDQUFDLENBQUM7WUFDOUIsSUFBSSxNQUFNLEtBQUssQ0FBQyxJQUFJLE1BQU0sS0FBSyxDQUFDLEVBQUUsQ0FBQztnQkFDakMseURBQXlEO2dCQUN6RCxJQUFJLENBQUMsSUFBSSxDQUFDLGFBQWEsQ0FBQyxRQUFRLEVBQUUsTUFBTSxDQUFDLEVBQUUsQ0FBQztvQkFDMUMsTUFBTSxJQUFJLG1CQUFtQixDQUFDLFFBQVEsRUFBRSxRQUFRLEVBQUUsTUFBTSxDQUFDLENBQUM7Z0JBQzVELENBQUM7WUFDSCxDQUFDO1FBQ0gsQ0FBQztRQUNELE9BQU8sS0FBSyxDQUFDLFFBQVEsQ0FBQyxPQUFPLEVBQUUsT0FBTyxDQUFDLENBQUM7SUFDMUMsQ0FBQztDQUNGO0FBdkRELDhCQXVEQyJ9

@@ -1,4 +0,1 @@

/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import { EventEmitter } from 'node:events';

@@ -44,2 +41,3 @@ import { LookupFunction } from 'node:net';

};
export declare const VERSION = "VERSION";
export declare const HEADER_USER_AGENT: string;

@@ -46,0 +44,0 @@ export type RequestContext = {

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpClient = exports.HEADER_USER_AGENT = void 0;
exports.HttpClient = exports.HEADER_USER_AGENT = exports.VERSION = void 0;
const node_diagnostics_channel_1 = __importDefault(require("node:diagnostics_channel"));

@@ -15,3 +15,3 @@ const node_events_1 = require("node:events");

const node_stream_1 = require("node:stream");
const node_stream_2 = __importDefault(require("node:stream"));
const promises_1 = require("node:stream/promises");
const node_path_1 = require("node:path");

@@ -22,10 +22,9 @@ const node_fs_1 = require("node:fs");

const node_querystring_1 = __importDefault(require("node:querystring"));
const promises_2 = require("node:timers/promises");
const undici_1 = require("undici");
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
const symbols_js_1 = __importDefault(require("undici/lib/core/symbols.js"));
const formdata_node_1 = require("formdata-node");
const form_data_encoder_1 = require("form-data-encoder");
const default_user_agent_1 = __importDefault(require("default-user-agent"));
const mime_types_1 = __importDefault(require("mime-types"));
const qs_1 = __importDefault(require("qs"));
const pump_1 = __importDefault(require("pump"));
// Compatible with old style formstream

@@ -39,13 +38,2 @@ const formstream_1 = __importDefault(require("formstream"));

const PROTO_RE = /^https?:\/\//i;
const FormData = undici_1.FormData ?? formdata_node_1.FormData;
// impl promise pipeline on Node.js 14
const pipelinePromise = node_stream_2.default.promises?.pipeline ?? function pipeline(...args) {
return new Promise((resolve, reject) => {
(0, pump_1.default)(...args, (err) => {
if (err)
return reject(err);
resolve();
});
});
};
function noop() {

@@ -55,4 +43,2 @@ // noop

const debug = (0, node_util_1.debuglog)('urllib:HttpClient');
// Node.js 14 or 16
const isNode14Or16 = /v1[46]\./.test(process.version);
// https://github.com/octet-stream/form-data

@@ -76,3 +62,5 @@ class BlobFromStream {

}
exports.HEADER_USER_AGENT = (0, default_user_agent_1.default)('node-urllib', '3.25.1');
exports.VERSION = 'VERSION';
// 'node-urllib/4.0.0 Node.js/18.19.0 (darwin; x64)'
exports.HEADER_USER_AGENT = `node-urllib/${exports.VERSION} Node.js/${process.version.substring(1)} (${process.platform}; ${process.arch})`;
function getFileName(stream) {

@@ -121,3 +109,3 @@ const filePath = stream.path;

// origin => Pool Instance
const clients = agent[symbols_js_1.default.kClients];
const clients = Reflect.get(agent, symbols_js_1.default.kClients);
const poolStatsMap = {};

@@ -128,3 +116,3 @@ if (!clients) {

for (const [key, ref] of clients) {
const pool = ref.deref();
const pool = typeof ref.deref === 'function' ? ref.deref() : ref;
const stats = pool?.stats;

@@ -351,3 +339,3 @@ if (!stats)

}
const formData = new FormData();
const formData = new undici_1.FormData();
const uploadFiles = [];

@@ -367,5 +355,7 @@ if (Array.isArray(args.files)) {

else if (typeof args.files === 'object') {
for (const field in args.files) {
const files = args.files;
for (const field in files) {
// set custom fileName
uploadFiles.push([field, args.files[field], field]);
const file = files[field];
uploadFiles.push([field, file, field]);
}

@@ -397,14 +387,3 @@ }

}
if (undici_1.FormData) {
requestOptions.body = formData;
}
else {
// Node.js 14 does not support spec-compliant FormData
// https://github.com/octet-stream/form-data#usage
const encoder = new form_data_encoder_1.FormDataEncoder(formData);
Object.assign(headers, encoder.headers);
// fix "Content-Length":"NaN"
delete headers['Content-Length'];
requestOptions.body = node_stream_1.Readable.from(encoder);
}
requestOptions.body = formData;
}

@@ -532,11 +511,8 @@ else if (args.content) {

else if (args.writeStream) {
if (isNode14Or16 && args.writeStream.destroyed) {
throw new Error('writeStream is destroyed');
}
if (args.compressed === true && isCompressedContent) {
const decoder = contentEncoding === 'gzip' ? (0, node_zlib_1.createGunzip)() : (0, node_zlib_1.createBrotliDecompress)();
await pipelinePromise(response.body, decoder, args.writeStream);
await (0, promises_1.pipeline)(response.body, decoder, args.writeStream);
}
else {
await pipelinePromise(response.body, args.writeStream);
await (0, promises_1.pipeline)(response.body, args.writeStream);
}

@@ -589,3 +565,3 @@ }

if (args.retryDelay) {
await (0, utils_js_1.sleep)(args.retryDelay);
await (0, promises_2.setTimeout)(args.retryDelay);
}

@@ -706,1 +682,2 @@ requestContext.retries++;

exports.HttpClient = HttpClient;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSHR0cENsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9IdHRwQ2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLHdGQUEwRDtBQUMxRCw2Q0FBMkM7QUFFM0MseUNBQXlDO0FBQ3pDLHlDQUFxQztBQUNyQyx5Q0FLbUI7QUFDbkIsNkNBQW1DO0FBQ25DLDZDQUF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DQUFDLG9CQUFPLENBQUMscUJBQXFCLENBQUMsR0FBRyxJQUFJLElBQUksRUFBRSxDQUFDO1FBQ3JELENBQUM7SUFDSCxDQUFDO0NBQ0Y7QUE3a0JELGdDQTZrQkMifQ==

@@ -30,1 +30,2 @@ "use strict";

exports.HttpClientConnectTimeoutError = HttpClientConnectTimeoutError;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSHR0cENsaWVudEVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL0h0dHBDbGllbnRFcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFRQSxNQUFhLHNCQUF1QixTQUFRLEtBQUs7SUFDL0MsTUFBTSxDQUFVO0lBQ2hCLE9BQU8sQ0FBdUI7SUFDOUIsTUFBTSxDQUFjO0lBQ3BCLEdBQUcsQ0FBdUI7Q0FDM0I7QUFMRCx3REFLQztBQUVELE1BQWEsNkJBQThCLFNBQVEsc0JBQXNCO0lBQ3ZFLFlBQVksT0FBZSxFQUFFLE9BQXFCO1FBQ2hELE1BQU0sT0FBTyxHQUFHLHVCQUF1QixPQUFPLEtBQUssQ0FBQztRQUNwRCxLQUFLLENBQUMsT0FBTyxFQUFFLE9BQU8sQ0FBQyxDQUFDO1FBQ3hCLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUM7UUFDbEMsS0FBSyxDQUFDLGlCQUFpQixDQUFDLElBQUksRUFBRSxJQUFJLENBQUMsV0FBVyxDQUFDLENBQUM7SUFDbEQsQ0FBQztDQUNGO0FBUEQsc0VBT0M7QUFFRCxNQUFhLDZCQUE4QixTQUFRLHNCQUFzQjtJQUN2RSxJQUFJLENBQVM7SUFFYixZQUFZLE9BQWUsRUFBRSxJQUFZLEVBQUUsT0FBcUI7UUFDOUQsS0FBSyxDQUFDLE9BQU8sRUFBRSxPQUFPLENBQUMsQ0FBQztRQUN4QixJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDO1FBQ2xDLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDO1FBQ2pCLEtBQUssQ0FBQyxpQkFBaUIsQ0FBQyxJQUFJLEVBQUUsSUFBSSxDQUFDLFdBQVcsQ0FBQyxDQUFDO0lBQ2xELENBQUM7Q0FDRjtBQVRELHNFQVNDIn0=

@@ -1,2 +0,1 @@

/// <reference types="node" />
import type { Except } from 'type-fest';

@@ -3,0 +2,0 @@ import type { IncomingHttpHeaders as HTTPIncomingHttpHeaders } from 'node:http';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSW5jb21pbmdIdHRwSGVhZGVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9JbmNvbWluZ0h0dHBIZWFkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==

@@ -16,11 +16,11 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.USER_AGENT = exports.HttpClient2 = exports.HttpClient = exports.getGlobalDispatcher = exports.setGlobalDispatcher = exports.Dispatcher = exports.Agent = exports.ProxyAgent = exports.MockAgent = exports.curl = exports.request = exports.getDefaultHttpClient = void 0;
const ylru_1 = __importDefault(require("ylru"));
exports.USER_AGENT = exports.HttpClient2 = exports.HttpClient = exports.getGlobalDispatcher = exports.setGlobalDispatcher = exports.Dispatcher = exports.Agent = exports.ProxyAgent = exports.MockAgent = void 0;
exports.getDefaultHttpClient = getDefaultHttpClient;
exports.request = request;
exports.curl = curl;
const ylru_1 = require("ylru");
const HttpClient_js_1 = require("./HttpClient.js");
let httpClient;
const domainSocketHttpClients = new ylru_1.default(50);
const domainSocketHttpClients = new ylru_1.LRU(50);
function getDefaultHttpClient() {

@@ -32,3 +32,2 @@ if (!httpClient) {

}
exports.getDefaultHttpClient = getDefaultHttpClient;
async function request(url, options) {

@@ -47,3 +46,2 @@ if (options?.socketPath) {

}
exports.request = request;
// export curl method is keep compatible with urllib.curl()

@@ -57,3 +55,2 @@ // ```ts

}
exports.curl = curl;
var undici_1 = require("undici");

@@ -77,1 +74,2 @@ Object.defineProperty(exports, "MockAgent", { enumerable: true, get: function () { return undici_1.MockAgent; } });

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFPQSxvREFLQztBQUVELDBCQWFDO0FBT0Qsb0JBRUM7QUFwQ0QsK0JBQTJCO0FBQzNCLG1EQUFnRTtBQUdoRSxJQUFJLFVBQXNCLENBQUM7QUFDM0IsTUFBTSx1QkFBdUIsR0FBRyxJQUFJLFVBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQztBQUU1QyxTQUFnQixvQkFBb0I7SUFDbEMsSUFBSSxDQUFDLFVBQVUsRUFBRSxDQUFDO1FBQ2hCLFVBQVUsR0FBRyxJQUFJLDBCQUFVLEVBQUUsQ0FBQztJQUNoQyxDQUFDO0lBQ0QsT0FBTyxVQUFVLENBQUM7QUFDcEIsQ0FBQztBQUVNLEtBQUssVUFBVSxPQUFPLENBQVUsR0FBZSxFQUFFLE9BQXdCO0lBQzlFLElBQUksT0FBTyxFQUFFLFVBQVUsRUFBRSxDQUFDO1FBQ3hCLElBQUksc0JBQXNCLEdBQUcsdUJBQXVCLENBQUMsR0FBRyxDQUFhLE9BQU8sQ0FBQyxVQUFVLENBQUMsQ0FBQztRQUN6RixJQU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9BQU87SUFDUCxJQUFJO0lBQ0osVUFBVSxFQUFFLGlDQUFpQjtDQUM5QixDQUFDIn0=

@@ -1,5 +0,1 @@

/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import type { Readable, Writable } from 'node:stream';

@@ -6,0 +2,0 @@ import type { EventEmitter } from 'node:events';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9SZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==

@@ -1,2 +0,1 @@

/// <reference types="node" />
import type { Readable } from 'node:stream';

@@ -3,0 +2,0 @@ import type { IncomingHttpHeaders } from './IncomingHttpHeaders.js';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVzcG9uc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvUmVzcG9uc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9

@@ -24,1 +24,2 @@ "use strict";

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ltYm9scy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zeW1ib2xzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsa0JBQWU7SUFDYixTQUFTLEVBQUUsTUFBTSxDQUFDLFdBQVcsQ0FBQztJQUM5QixnQkFBZ0IsRUFBRSxNQUFNLENBQUMsbUJBQW1CLENBQUM7SUFDN0Msb0JBQW9CLEVBQUUsTUFBTSxDQUFDLHVCQUF1QixDQUFDO0lBQ3JELHVCQUF1QixFQUFFLE1BQU0sQ0FBQywwQkFBMEIsQ0FBQztJQUMzRCxxQkFBcUIsRUFBRSxNQUFNLENBQUMseUJBQXlCLENBQUM7SUFDeEQsbUJBQW1CLEVBQUUsTUFBTSxDQUFDLHNCQUFzQixDQUFDO0lBQ25ELGdCQUFnQixFQUFFLE1BQU0sQ0FBQyxtQkFBbUIsQ0FBQztJQUM3QyxrQkFBa0IsRUFBRSxNQUFNLENBQUMsNkJBQTZCLENBQUM7SUFDekQsa0JBQWtCLEVBQUUsTUFBTSxDQUFDLDZCQUE2QixDQUFDO0lBQ3pELHNCQUFzQixFQUFFLE1BQU0sQ0FBQyxpQ0FBaUMsQ0FBQztJQUNqRSxnQkFBZ0IsRUFBRSxNQUFNLENBQUMsNkJBQTZCLENBQUM7SUFDdkQsaUJBQWlCLEVBQUUsTUFBTSxDQUFDLDhCQUE4QixDQUFDO0lBQ3pELGNBQWMsRUFBRSxNQUFNLENBQUMsdUJBQXVCLENBQUM7SUFDL0MsVUFBVSxFQUFFLE1BQU0sQ0FBQyxZQUFZLENBQUM7SUFDaEMsaUJBQWlCLEVBQUUsTUFBTSxDQUFDLG9CQUFvQixDQUFDO0lBQy9DLG9CQUFvQixFQUFFLE1BQU0sQ0FBQyw4QkFBOEIsQ0FBQztJQUM1RCxjQUFjLEVBQUUsTUFBTSxDQUFDLGdCQUFnQixDQUFDO0lBQ3hDLHNCQUFzQixFQUFFLE1BQU0sQ0FBQyx5QkFBeUIsQ0FBQztJQUN6RCxZQUFZLEVBQUUsTUFBTSxDQUFDLGlCQUFpQixDQUFDO0NBQ3hDLENBQUMifQ==
import type { FixJSONCtlChars } from './Request.js';
export declare function parseJSON(data: string, fixJSONCtlChars?: FixJSONCtlChars): string;
export declare function sleep(ms: number): Promise<void>;
export declare function digestAuthHeader(method: string, uri: string, wwwAuthenticate: string, userpass: string): string;

@@ -5,0 +4,0 @@ export declare function globalId(category: string): number;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isReadable = exports.performanceTime = exports.globalId = exports.digestAuthHeader = exports.sleep = exports.parseJSON = void 0;
exports.parseJSON = parseJSON;
exports.digestAuthHeader = digestAuthHeader;
exports.globalId = globalId;
exports.performanceTime = performanceTime;
exports.isReadable = isReadable;
const node_crypto_1 = require("node:crypto");

@@ -52,9 +56,2 @@ const node_stream_1 = require("node:stream");

}
exports.parseJSON = parseJSON;
function sleep(ms) {
return new Promise(resolve => {
setTimeout(resolve, ms);
});
}
exports.sleep = sleep;
function md5(s) {

@@ -127,3 +124,2 @@ const sum = (0, node_crypto_1.createHash)('md5');

}
exports.digestAuthHeader = digestAuthHeader;
const MAX_ID_VALUE = Math.pow(2, 31) - 10;

@@ -137,7 +133,5 @@ const globalIds = {};

}
exports.globalId = globalId;
function performanceTime(startTime, now) {
return Math.floor(((now ?? node_perf_hooks_1.performance.now()) - startTime) * 1000) / 1000;
}
exports.performanceTime = performanceTime;
function isReadable(stream) {

@@ -156,2 +150,2 @@ if (typeof node_stream_1.Readable.isReadable === 'function')

}
exports.isReadable = isReadable;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUF5QkEsOEJBd0JDO0FBWUQsNENBOERDO0FBS0QsNEJBS0M7QUFFRCwwQ0FFQztBQUVELGdDQVdDO0FBdEpELDZDQUFzRDtBQUN0RCw2Q0FBdUM7QUFDdkMscURBQThDO0FBRzlDLE1BQU0sZUFBZSxHQUEyQjtJQUM5QyxHQUFHLEVBQUUsS0FBSyxFQUFFLFNBQVM7SUFDckIsSUFBSSxFQUFFLE1BQU0sRUFBRSxTQUFTO0lBQ3ZCLElBQUksRUFBRSxLQUFLLEVBQUUsU0FBUztJQUN0QixJQUFJLEVBQUUsS0FBSyxFQUFFLFNBQVM7SUFDdEIsSUFBSSxFQ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Sw2QkFBVyxDQUFDLEdBQUcsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLEdBQUcsSUFBSSxDQUFDLEdBQUcsSUFBSSxDQUFDO0FBQzVFLENBQUM7QUFFRCxTQUFnQixVQUFVLENBQUMsTUFBVztJQUNwQyxJQUFJLE9BQU8sc0JBQVEsQ0FBQyxVQUFVLEtBQUssVUFBVTtRQUFFLE9BQU8sc0JBQVEsQ0FBQyxVQUFVLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDbEYsa0JBQWtCO0lBQ2xCLGtIQUFrSDtJQUNsSCwwRUFBMEU7SUFDMUUsT0FBTyxNQUFNLEtBQUssSUFBSTtXQUNqQixPQUFPLE1BQU0sS0FBSyxRQUFRO1dBQzFCLE9BQU8sTUFBTSxDQUFDLElBQUksS0FBSyxVQUFVO1dBQ2pDLE1BQU0sQ0FBQyxRQUFRLEtBQUssS0FBSztXQUN6QixPQUFPLE1BQU0sQ0FBQyxLQUFLLEtBQUssVUFBVTtXQUNsQyxPQUFPLE1BQU0sQ0FBQyxjQUFjLEtBQUssUUFBUSxDQUFDO0FBQ2pELENBQUMifQ==

@@ -20,9 +20,3 @@ import diagnosticsChannel from 'node:diagnostics_channel';

function subscribe(name, listener) {
if (typeof diagnosticsChannel.subscribe === 'function') {
diagnosticsChannel.subscribe(name, listener);
}
else {
// TODO: support Node.js 14, will be removed on the next major version
diagnosticsChannel.channel(name).subscribe(listener);
}
diagnosticsChannel.subscribe(name, listener);
}

@@ -42,4 +36,3 @@ function formatSocket(socket) {

// make sure error contains socket info
const kDestroy = Symbol('kDestroy');
Socket.prototype[kDestroy] = Socket.prototype.destroy;
const destroySocket = Socket.prototype.destroy;
Socket.prototype.destroy = function (err) {

@@ -53,3 +46,3 @@ if (err) {

}
return this[kDestroy](err);
return destroySocket.call(this, err);
};

@@ -59,3 +52,3 @@ function getRequestOpaque(request, kHandler) {

return;
const handler = request[kHandler];
const handler = Reflect.get(request, kHandler);
// maxRedirects = 0 will get [Symbol(handler)]: RequestHandler {

@@ -73,3 +66,3 @@ // responseHeaders: null,

export function initDiagnosticsChannel() {
// makre sure init global DiagnosticsChannel once
// make sure init global DiagnosticsChannel once
if (initedDiagnosticsChannel)

@@ -101,23 +94,22 @@ return;

});
// diagnosticsChannel.channel('undici:client:beforeConnect')
subscribe('undici:client:connectError', (message, name) => {
const { error, connectParams } = message;
let { socket } = message;
if (!socket && error[symbols.kErrorSocket]) {
socket = error[symbols.kErrorSocket];
const { error, connectParams, socket } = message;
let sock = socket;
if (!sock && error[symbols.kErrorSocket]) {
sock = error[symbols.kErrorSocket];
}
if (socket) {
socket[symbols.kSocketId] = globalId('UndiciSocket');
socket[symbols.kSocketConnectErrorTime] = new Date();
socket[symbols.kHandledRequests] = 0;
socket[symbols.kHandledResponses] = 0;
if (sock) {
sock[symbols.kSocketId] = globalId('UndiciSocket');
sock[symbols.kSocketConnectErrorTime] = new Date();
sock[symbols.kHandledRequests] = 0;
sock[symbols.kHandledResponses] = 0;
// copy local address to symbol, avoid them be reset after request error throw
if (socket.localAddress) {
socket[symbols.kSocketLocalAddress] = socket.localAddress;
socket[symbols.kSocketLocalPort] = socket.localPort;
if (sock.localAddress) {
sock[symbols.kSocketLocalAddress] = sock.localAddress;
sock[symbols.kSocketLocalPort] = sock.localPort;
}
socket[symbols.kSocketConnectProtocol] = connectParams.protocol;
socket[symbols.kSocketConnectHost] = connectParams.host;
socket[symbols.kSocketConnectPort] = connectParams.port;
debug('[%s] Socket#%d connectError, connectParams: %o, error: %s, (sock: %o)', name, socket[symbols.kSocketId], connectParams, error.message, formatSocket(socket));
sock[symbols.kSocketConnectProtocol] = connectParams.protocol;
sock[symbols.kSocketConnectHost] = connectParams.host;
sock[symbols.kSocketConnectPort] = connectParams.port;
debug('[%s] Socket#%d connectError, connectParams: %o, error: %s, (sock: %o)', name, sock[symbols.kSocketId], connectParams, error.message, formatSocket(sock));
}

@@ -157,3 +149,3 @@ else {

opaque[symbols.kRequestTiming].requestHeadersSent = performanceTime(opaque[symbols.kRequestStartTime]);
// first socket need to caculate the connected time
// first socket need to calculate the connected time
if (socket[symbols.kHandledRequests] === 1) {

@@ -217,1 +209,2 @@ // kSocketStartTime - kRequestStartTime = connected time

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhZ25vc3RpY3NDaGFubmVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2RpYWdub3N0aWNzQ2hhbm5lbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLGtCQUFrQixNQUFNLDBCQUEwQixDQUFDO0FBQzFELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUM5QyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQ3JDLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFFbEMsT0FBTyxPQUFPLE1BQU0sY0FBYyxDQUFDO0FBQ25DLE9BQU8sRUFBRSxRQUFRLEVBQUUsZUFBZSxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBRXZELE1BQU0sS0FBSyxHQUFHLFFBQVEsQ0FBQywyQkFBMkIsQ0FBQyxDQUFDO0FBQ3BELElBQUksd0JBQXdCLEdBQUcsS0FBSyxDQUFDO0FBQ3JDLDBEQUEwRDtBQUMxRCxvQkFBb0I7QUFDcEIsdUNBQXVDO0FBQ3ZDLDJGQUEyRjtBQUMzRix3REFBd0Q7QUFDeEQsZ0RBQWdEO0FBQ2hELEVBQUU7QUFDRixvQkFBb0I7QUFDcEIsa0RBQWtEO0FBQ2xELHdEQUF3RDtBQUV4RCxTQUFTLFNBQVMsQ0FBQyxJQUFZLEVBQUUsUUFBa0U7SUFDakcsa0JBQWtCLENBQUMsU0FBUyxDQUFDLElBQUksRUFBRSxRQUFRLENBQUMsQ0FBQztBQUMvQyxDQ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

/// <reference types="node" resolution-mode="require"/>
import { LookupFunction } from 'node:net';

@@ -3,0 +2,0 @@ import { Agent, Dispatcher, buildConnector } from 'undici';

@@ -74,1 +74,2 @@ import dns from 'node:dns';

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSHR0cEFnZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL0h0dHBBZ2VudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEdBQUcsTUFBTSxVQUFVLENBQUM7QUFDM0IsT0FBTyxFQUFrQixJQUFJLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFDaEQsT0FBTyxFQUNMLEtBQUssR0FHTixNQUFNLFFBQVEsQ0FBQztBQVVoQixNQUFNLG1CQUFvQixTQUFRLEtBQUs7SUFDckMsUUFBUSxDQUFTO0lBQ2pCLEVBQUUsQ0FBUztJQUNYLE1BQU0sQ0FBUztJQUVmLFlBQVksUUFBZ0IsRUFBRSxFQUFVLEVBQUUsTUFBYztRQUN0RCxNQUFNLE9BQU8sR0FBRyxpQkFBaUIsQ0FBQztRQUNsQyxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUM7UUFDZixJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDO1FBQ2xDLElBQUksQ0FBQyxRQUFRLEdBQUcsUUFBUSxDQUFDO1FBQ3pCLElBQUksQ0FBQyxFQUFFLEdBQUcsRUFBRSxDQUFDO1FBQ2IsSUFBSSxDQUFDLE1BQU0sR0FBRyxNQUFNLENBQUM7UUFDckIsS0FBSyxDQUFDLGlCQUFpQixDQUFDLElBQUksRUFBRSxJQUFJLENBQUMsV0FBVyxDQUFDLENBQUM7SUFDbEQsQ0FBQztDQUNGO0FBRUQsTUFBTSxPQUFPLFNBQVUsU0FBUSxLQUFLO0lBQ2xDLGFBQWEsQ0FBd0I7S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dBQUcsQ0FBQyxJQUFJLFFBQVEsQ0FBQyxRQUFRLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQztnQkFDdkQsUUFBUSxHQUFHLFFBQVEsQ0FBQyxTQUFTLENBQUMsQ0FBQyxFQUFFLFFBQVEsQ0FBQyxNQUFNLEdBQUcsQ0FBQyxDQUFDLENBQUM7WUFDeEQsQ0FBQztZQUNELE1BQU0sTUFBTSxHQUFHLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FBQztZQUM5QixJQUFJLE1BQU0sS0FBSyxDQUFDLElBQUksTUFBTSxLQUFLLENBQUMsRUFBRSxDQUFDO2dCQUNqQyx5REFBeUQ7Z0JBQ3pELElBQUksQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLFFBQVEsRUFBRSxNQUFNLENBQUMsRUFBRSxDQUFDO29CQUMxQyxNQUFNLElBQUksbUJBQW1CLENBQUMsUUFBUSxFQUFFLFFBQVEsRUFBRSxNQUFNLENBQUMsQ0FBQztnQkFDNUQsQ0FBQztZQUNILENBQUM7UUFDSCxDQUFDO1FBQ0QsT0FBTyxLQUFLLENBQUMsUUFBUSxDQUFDLE9BQU8sRUFBRSxPQUFPLENBQUMsQ0FBQztJQUMxQyxDQUFDO0NBQ0YifQ==

@@ -1,4 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import { EventEmitter } from 'node:events';

@@ -44,2 +41,3 @@ import { LookupFunction } from 'node:net';

};
export declare const VERSION = "VERSION";
export declare const HEADER_USER_AGENT: string;

@@ -46,0 +44,0 @@ export type RequestContext = {

@@ -8,3 +8,3 @@ import diagnosticsChannel from 'node:diagnostics_channel';

import { Readable, pipeline } from 'node:stream';
import stream from 'node:stream';
import { pipeline as pipelinePromise } from 'node:stream/promises';
import { basename } from 'node:path';

@@ -15,14 +15,13 @@ import { createReadStream } from 'node:fs';

import querystring from 'node:querystring';
import { FormData as FormDataNative, request as undiciRequest, Agent, getGlobalDispatcher, } from 'undici';
import { setTimeout as sleep } from 'node:timers/promises';
import { FormData, request as undiciRequest, Agent, getGlobalDispatcher, } from 'undici';
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import undiciSymbols from 'undici/lib/core/symbols.js';
import { FormData as FormDataNode } from 'formdata-node';
import { FormDataEncoder } from 'form-data-encoder';
import createUserAgent from 'default-user-agent';
import mime from 'mime-types';
import qs from 'qs';
import pump from 'pump';
// Compatible with old style formstream
import FormStream from 'formstream';
import { HttpAgent } from './HttpAgent.js';
import { parseJSON, sleep, digestAuthHeader, globalId, performanceTime, isReadable } from './utils.js';
import { parseJSON, digestAuthHeader, globalId, performanceTime, isReadable } from './utils.js';
import symbols from './symbols.js';

@@ -32,13 +31,2 @@ import { initDiagnosticsChannel } from './diagnosticsChannel.js';

const PROTO_RE = /^https?:\/\//i;
const FormData = FormDataNative ?? FormDataNode;
// impl promise pipeline on Node.js 14
const pipelinePromise = stream.promises?.pipeline ?? function pipeline(...args) {
return new Promise((resolve, reject) => {
pump(...args, (err) => {
if (err)
return reject(err);
resolve();
});
});
};
function noop() {

@@ -48,4 +36,2 @@ // noop

const debug = debuglog('urllib:HttpClient');
// Node.js 14 or 16
const isNode14Or16 = /v1[46]\./.test(process.version);
// https://github.com/octet-stream/form-data

@@ -69,3 +55,5 @@ class BlobFromStream {

}
export const HEADER_USER_AGENT = createUserAgent('node-urllib', '3.25.1');
export const VERSION = '4.0.0';
// 'node-urllib/4.0.0 Node.js/18.19.0 (darwin; x64)'
export const HEADER_USER_AGENT = `node-urllib/${VERSION} Node.js/${process.version.substring(1)} (${process.platform}; ${process.arch})`;
function getFileName(stream) {

@@ -114,3 +102,3 @@ const filePath = stream.path;

// origin => Pool Instance
const clients = agent[undiciSymbols.kClients];
const clients = Reflect.get(agent, undiciSymbols.kClients);
const poolStatsMap = {};

@@ -121,3 +109,3 @@ if (!clients) {

for (const [key, ref] of clients) {
const pool = ref.deref();
const pool = typeof ref.deref === 'function' ? ref.deref() : ref;
const stats = pool?.stats;

@@ -359,5 +347,7 @@ if (!stats)

else if (typeof args.files === 'object') {
for (const field in args.files) {
const files = args.files;
for (const field in files) {
// set custom fileName
uploadFiles.push([field, args.files[field], field]);
const file = files[field];
uploadFiles.push([field, file, field]);
}

@@ -389,14 +379,3 @@ }

}
if (FormDataNative) {
requestOptions.body = formData;
}
else {
// Node.js 14 does not support spec-compliant FormData
// https://github.com/octet-stream/form-data#usage
const encoder = new FormDataEncoder(formData);
Object.assign(headers, encoder.headers);
// fix "Content-Length":"NaN"
delete headers['Content-Length'];
requestOptions.body = Readable.from(encoder);
}
requestOptions.body = formData;
}

@@ -524,5 +503,2 @@ else if (args.content) {

else if (args.writeStream) {
if (isNode14Or16 && args.writeStream.destroyed) {
throw new Error('writeStream is destroyed');
}
if (args.compressed === true && isCompressedContent) {

@@ -696,1 +672,2 @@ const decoder = contentEncoding === 'gzip' ? createGunzip() : createBrotliDecompress();

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSHR0cENsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9IdHRwQ2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sa0JBQWtCLE1BQU0sMEJBQTBCLENBQUM7QUFDMUQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUUzQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDckMsT0FBTyxFQUNMLFlBQVksRUFDWixzQkFBc0IsRUFDdEIsVUFBVSxFQUNWLG9CQUFvQixHQUNyQixNQUFNLFdBQVcsQ0FBQztBQUNuQixPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sYUFBYS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UMzQjtBQUVELE1BQU0sT0FBTyw2QkFBOEIsU0FBUSxzQkFBc0I7SUFDdkUsWUFBWSxPQUFlLEVBQUUsT0FBcUI7UUFDaEQsTUFBTSxPQUFPLEdBQUcsdUJBQXVCLE9BQU8sS0FBSyxDQUFDO1FBQ3BELEtBQUssQ0FBQyxPQUFPLEVBQUUsT0FBTyxDQUFDLENBQUM7UUFDeEIsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQztRQUNsQyxLQUFLLENBQUMsaUJBQWlCLENBQUMsSUFBSSxFQUFFLElBQUksQ0FBQyxXQUFXLENBQUMsQ0FBQztJQUNsRCxDQUFDO0NBQ0Y7QUFFRCxNQUFNLE9BQU8sNkJBQThCLFNBQVEsc0JBQXNCO0lBQ3ZFLElBQUksQ0FBUztJQUViLFlBQVksT0FBZSxFQUFFLElBQVksRUFBRSxPQUFxQjtRQUM5RCxLQUFLLENBQUMsT0FBTyxFQUFFLE9BQU8sQ0FBQyxDQUFDO1FBQ3hCLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUM7UUFDbEMsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLENBQUM7UUFDakIsS0FBSyxDQUFDLGlCQUFpQixDQUFDLElBQUksRUFBRSxJQUFJLENBQUMsV0FBVyxDQUFDLENBQUM7SUFDbEQsQ0FBQztDQUNGIn0=

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
import type { Except } from 'type-fest';

@@ -3,0 +2,0 @@ import type { IncomingHttpHeaders as HTTPIncomingHttpHeaders } from 'node:http';

export {};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSW5jb21pbmdIdHRwSGVhZGVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9JbmNvbWluZ0h0dHBIZWFkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==

@@ -1,2 +0,2 @@

import LRU from 'ylru';
import { LRU } from 'ylru';
import { HttpClient, HEADER_USER_AGENT } from './HttpClient.js';

@@ -41,1 +41,2 @@ let httpClient;

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMzQixPQUFPLEVBQUUsVUFBVSxFQUFFLGlCQUFpQixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFHaEUsSUFBSSxVQUFzQixDQUFDO0FBQzNCLE1BQU0sdUJBQXVCLEdBQUcsSUFBSSxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUM7QUFFNUMsTUFBTSxVQUFVLG9CQUFvQjtJQUNsQyxJQUFJLENBQUMsVUFBVSxFQUFFLENBQUM7UUFDaEIsVUFBVSxHQUFHLElBQUksVUFBVSxFQUFFLENBQUM7SUFDaEMsQ0FBQztJQUNELE9BQU8sVUFBVSxDQUFDO0FBQ3BCLENBQUM7QUFFRCxNQUFNLENBQUMsS0FBSyxVQUFVLE9BQU8sQ0FBVSxHQUFlLEVBQUUsT0FBd0I7SUFDOUUsSUFBSSxPQUFPLEVBQUUsVUFBVSxFQUFFLENBQUM7UUFDeEIsSUFBSSxzQkFBc0IsR0FBRyx1QkFBdUIsQ0FBQyxHQUFHLENBQWEsT0FBTyxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBQ3pGLElBQUksQ0FBQyxzQkFBc0IsRUFBRSxDQUFDO1lBQzVCLHNCQUFzQixHQUFHLElBQUksVUFBVSxDQUFDO2dCQUN0QyxPQUFPLEVBQUUsRUFBRSxVQUFVLEVBQUUsT0FBTyxDQUFDLFVBQVUsRUFBRTthQUM1QyxDQUFDLENBQUM7WUFDSCx1QkFBdUIsQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLFVBQVUsRUFBRSxzQkFBc0IsQ0FBQyxDQUFDO1FBQzFFLENBQUM7UUFDRCxPQUFPLE1BQU0sc0JBQXNCLENBQUMsT0FBTyxDQUFJLEdBQUcsRUFBRSxPQUFPLENBQUMsQ0FBQztJQUMvRCxDQUFDO0lBRUQsT0FBTyxNQUFNLG9CQUFvQixFQUFFLENBQUMsT0FBTyxDQUFJLEdBQUcsRUFBRSxPQUFPLENBQUMsQ0FBQztBQUMvRCxDQUFDO0FBRUQsMkRBQTJEO0FBQzNELFFBQVE7QUFDUixvQ0FBb0M7QUFDcEMsb0JBQW9CO0FBQ3BCLE1BQU07QUFDTixNQUFNLENBQUMsS0FBSyxVQUFVLElBQUksQ0FBVSxHQUFlLEVBQUUsT0FBd0I7SUFDM0UsT0FBTyxNQUFNLE9BQU8sQ0FBSSxHQUFHLEVBQUUsT0FBTyxDQUFDLENBQUM7QUFDeEMsQ0FBQztBQUVELE9BQU8sRUFDTCxTQUFTLEVBQUUsVUFBVSxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQ3hDLG1CQUFtQixFQUFFLG1CQUFtQixHQUN6QyxNQUFNLFFBQVEsQ0FBQztBQUNoQiwyREFBMkQ7QUFDM0QsT0FBTyxFQUNMLFVBQVUsRUFBRSxVQUFVLElBQUksV0FBVyxFQUFFLGlCQUFpQixJQUFJLFVBQVUsR0FFdkUsTUFBTSxpQkFBaUIsQ0FBQztBQWF6QixjQUFjLHNCQUFzQixDQUFDO0FBRXJDLGVBQWU7SUFDYixPQUFPO0lBQ1AsSUFBSTtJQUNKLFVBQVUsRUFBRSxpQkFBaUI7Q0FDOUIsQ0FBQyJ9

@@ -1,5 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import type { Readable, Writable } from 'node:stream';

@@ -6,0 +2,0 @@ import type { EventEmitter } from 'node:events';

export {};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVxdWVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9SZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
import type { Readable } from 'node:stream';

@@ -3,0 +2,0 @@ import type { IncomingHttpHeaders } from './IncomingHttpHeaders.js';

export {};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVzcG9uc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvUmVzcG9uc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9

@@ -22,1 +22,2 @@ export default {

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ltYm9scy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zeW1ib2xzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGVBQWU7SUFDYixTQUFTLEVBQUUsTUFBTSxDQUFDLFdBQVcsQ0FBQztJQUM5QixnQkFBZ0IsRUFBRSxNQUFNLENBQUMsbUJBQW1CLENBQUM7SUFDN0Msb0JBQW9CLEVBQUUsTUFBTSxDQUFDLHVCQUF1QixDQUFDO0lBQ3JELHVCQUF1QixFQUFFLE1BQU0sQ0FBQywwQkFBMEIsQ0FBQztJQUMzRCxxQkFBcUIsRUFBRSxNQUFNLENBQUMseUJBQXlCLENBQUM7SUFDeEQsbUJBQW1CLEVBQUUsTUFBTSxDQUFDLHNCQUFzQixDQUFDO0lBQ25ELGdCQUFnQixFQUFFLE1BQU0sQ0FBQyxtQkFBbUIsQ0FBQztJQUM3QyxrQkFBa0IsRUFBRSxNQUFNLENBQUMsNkJBQTZCLENBQUM7SUFDekQsa0JBQWtCLEVBQUUsTUFBTSxDQUFDLDZCQUE2QixDQUFDO0lBQ3pELHNCQUFzQixFQUFFLE1BQU0sQ0FBQyxpQ0FBaUMsQ0FBQztJQUNqRSxnQkFBZ0IsRUFBRSxNQUFNLENBQUMsNkJBQTZCLENBQUM7SUFDdkQsaUJBQWlCLEVBQUUsTUFBTSxDQUFDLDhCQUE4QixDQUFDO0lBQ3pELGNBQWMsRUFBRSxNQUFNLENBQUMsdUJBQXVCLENBQUM7SUFDL0MsVUFBVSxFQUFFLE1BQU0sQ0FBQyxZQUFZLENBQUM7SUFDaEMsaUJBQWlCLEVBQUUsTUFBTSxDQUFDLG9CQUFvQixDQUFDO0lBQy9DLG9CQUFvQixFQUFFLE1BQU0sQ0FBQyw4QkFBOEIsQ0FBQztJQUM1RCxjQUFjLEVBQUUsTUFBTSxDQUFDLGdCQUFnQixDQUFDO0lBQ3hDLHNCQUFzQixFQUFFLE1BQU0sQ0FBQyx5QkFBeUIsQ0FBQztJQUN6RCxZQUFZLEVBQUUsTUFBTSxDQUFDLGlCQUFpQixDQUFDO0NBQ3hDLENBQUMifQ==
import type { FixJSONCtlChars } from './Request.js';
export declare function parseJSON(data: string, fixJSONCtlChars?: FixJSONCtlChars): string;
export declare function sleep(ms: number): Promise<void>;
export declare function digestAuthHeader(method: string, uri: string, wwwAuthenticate: string, userpass: string): string;

@@ -5,0 +4,0 @@ export declare function globalId(category: string): number;

@@ -49,7 +49,2 @@ import { randomBytes, createHash } from 'node:crypto';

}
export function sleep(ms) {
return new Promise(resolve => {
setTimeout(resolve, ms);
});
}
function md5(s) {

@@ -146,1 +141,2 @@ const sum = createHash('md5');

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291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"version": "4.0.0",
"publishConfig": {
"tag": "latest"
},
"description": "Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, cookies and more. Base undici fetch API.",
"description": "Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, timeout and more. Base undici API.",
"keywords": [

@@ -42,5 +42,3 @@ "urllib",

"cov": "vitest run --coverage",
"preci": "node scripts/pre_test.js",
"ci": "npm run lint && npm run cov && node scripts/build_test.js",
"contributor": "git-contributor",
"ci": "npm run lint && npm run cov && npm run prepublishOnly && attw --pack",
"clean": "rm -rf dist",

@@ -50,31 +48,26 @@ "prepublishOnly": "npm run build"

"dependencies": {
"default-user-agent": "^1.0.0",
"digest-header": "^1.0.0",
"form-data-encoder": "^1.7.2",
"formdata-node": "^4.3.3",
"formstream": "^1.1.1",
"formstream": "^1.5.1",
"mime-types": "^2.1.35",
"pump": "^3.0.0",
"qs": "^6.11.2",
"type-fest": "^4.3.1",
"undici": "^5.28.2",
"ylru": "^1.3.2"
"qs": "^6.12.1",
"type-fest": "^4.20.1",
"undici": "^6.19.2",
"ylru": "^2.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@eggjs/tsconfig": "^1.3.3",
"@tsconfig/node18": "^18.2.1",
"@tsconfig/strictest": "^2.0.2",
"@types/busboy": "^1.5.0",
"@types/default-user-agent": "^1.0.0",
"@types/mime-types": "^2.1.1",
"@types/node": "^20.2.1",
"@types/pump": "^1.1.1",
"@types/proxy": "^1.0.4",
"@types/qs": "^6.9.7",
"@types/selfsigned": "^2.0.1",
"@types/tar-stream": "^2.2.2",
"@vitest/coverage-v8": "^1.3.1",
"@vitest/coverage-v8": "^1.6.0",
"busboy": "^1.6.0",
"cross-env": "^7.0.3",
"eslint": "^8.25.0",
"eslint-config-egg": "^12.1.0",
"git-contributor": "^2.0.0",
"eslint": "8",
"eslint-config-egg": "13",
"iconv-lite": "^0.6.3",

@@ -87,6 +80,6 @@ "proxy": "^1.0.2",

"typescript": "^5.0.4",
"vitest": "^1.3.1"
"vitest": "^1.6.0"
},
"engines": {
"node": ">= 14.19.3"
"node": ">= 18.19.0"
},

@@ -104,2 +97,3 @@ "license": "MIT",

"import": {
"source": "./src/index.ts",
"types": "./dist/esm/index.d.ts",

@@ -109,2 +103,3 @@ "default": "./dist/esm/index.js"

"require": {
"source": "./src/index.ts",
"types": "./dist/commonjs/index.d.ts",

@@ -111,0 +106,0 @@ "default": "./dist/commonjs/index.js"

@@ -286,3 +286,6 @@ # urllib

## License
[MIT](LICENSE)
<!-- GITCONTRIBUTOR_START -->

@@ -292,18 +295,4 @@

|[<img src="https://avatars.githubusercontent.com/u/156269?v=4" width="100px;"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|[<img src="https://avatars.githubusercontent.com/u/985607?v=4" width="100px;"/><br/><sub><b>dead-horse</b></sub>](https://github.com/dead-horse)<br/>|[<img src="https://avatars.githubusercontent.com/u/32174276?v=4" width="100px;"/><br/><sub><b>semantic-release-bot</b></sub>](https://github.com/semantic-release-bot)<br/>|[<img src="https://avatars.githubusercontent.com/u/288288?v=4" width="100px;"/><br/><sub><b>xingrz</b></sub>](https://github.com/xingrz)<br/>|[<img src="https://avatars.githubusercontent.com/u/360661?v=4" width="100px;"/><br/><sub><b>popomore</b></sub>](https://github.com/popomore)<br/>|[<img src="https://avatars.githubusercontent.com/u/327019?v=4" width="100px;"/><br/><sub><b>JacksonTian</b></sub>](https://github.com/JacksonTian)<br/>|
| :---: | :---: | :---: | :---: | :---: | :---: |
|[<img src="https://avatars.githubusercontent.com/u/543405?v=4" width="100px;"/><br/><sub><b>ibigbug</b></sub>](https://github.com/ibigbug)<br/>|[<img src="https://avatars.githubusercontent.com/u/14790466?v=4" width="100px;"/><br/><sub><b>greenkeeperio-bot</b></sub>](https://github.com/greenkeeperio-bot)<br/>|[<img src="https://avatars.githubusercontent.com/u/227713?v=4" width="100px;"/><br/><sub><b>atian25</b></sub>](https://github.com/atian25)<br/>|[<img src="https://avatars.githubusercontent.com/u/6897780?v=4" width="100px;"/><br/><sub><b>killagu</b></sub>](https://github.com/killagu)<br/>|[<img src="https://avatars.githubusercontent.com/u/5381764?v=4" width="100px;"/><br/><sub><b>paambaati</b></sub>](https://github.com/paambaati)<br/>|[<img src="https://avatars.githubusercontent.com/u/199635?v=4" width="100px;"/><br/><sub><b>tremby</b></sub>](https://github.com/tremby)<br/>|
|[<img src="https://avatars.githubusercontent.com/u/1433247?v=4" width="100px;"/><br/><sub><b>denghongcai</b></sub>](https://github.com/denghongcai)<br/>|[<img src="https://avatars.githubusercontent.com/u/4635838?v=4" width="100px;"/><br/><sub><b>gemwuu</b></sub>](https://github.com/gemwuu)<br/>|[<img src="https://avatars.githubusercontent.com/u/2842176?v=4" width="100px;"/><br/><sub><b>XadillaX</b></sub>](https://github.com/XadillaX)<br/>|[<img src="https://avatars.githubusercontent.com/u/1147375?v=4" width="100px;"/><br/><sub><b>alsotang</b></sub>](https://github.com/alsotang)<br/>|[<img src="https://avatars.githubusercontent.com/u/546535?v=4" width="100px;"/><br/><sub><b>leoner</b></sub>](https://github.com/leoner)<br/>|[<img src="https://avatars.githubusercontent.com/u/19908330?v=4" width="100px;"/><br/><sub><b>hyj1991</b></sub>](https://github.com/hyj1991)<br/>|
|[<img src="https://avatars.githubusercontent.com/u/1747852?v=4" width="100px;"/><br/><sub><b>isayme</b></sub>](https://github.com/isayme)<br/>|[<img src="https://avatars.githubusercontent.com/u/252317?v=4" width="100px;"/><br/><sub><b>cyjake</b></sub>](https://github.com/cyjake)<br/>|[<img src="https://avatars.githubusercontent.com/u/5856440?v=4" width="100px;"/><br/><sub><b>whxaxes</b></sub>](https://github.com/whxaxes)<br/>|[<img src="https://avatars.githubusercontent.com/u/309219?v=4" width="100px;"/><br/><sub><b>chadxz</b></sub>](https://github.com/chadxz)<br/>|[<img src="https://avatars.githubusercontent.com/u/2055702?v=4" width="100px;"/><br/><sub><b>adapt0</b></sub>](https://github.com/adapt0)<br/>|[<img src="https://avatars.githubusercontent.com/u/5139554?v=4" width="100px;"/><br/><sub><b>danielwpz</b></sub>](https://github.com/danielwpz)<br/>|
|[<img src="https://avatars.githubusercontent.com/u/5127897?v=4" width="100px;"/><br/><sub><b>danielsss</b></sub>](https://github.com/danielsss)<br/>|[<img src="https://avatars.githubusercontent.com/u/3367820?v=4" width="100px;"/><br/><sub><b>Jeff-Tian</b></sub>](https://github.com/Jeff-Tian)<br/>|[<img src="https://avatars.githubusercontent.com/u/17075261?v=4" width="100px;"/><br/><sub><b>nick-ng</b></sub>](https://github.com/nick-ng)<br/>|[<img src="https://avatars.githubusercontent.com/u/1706595?v=4" width="100px;"/><br/><sub><b>rishavsharan</b></sub>](https://github.com/rishavsharan)<br/>|[<img src="https://avatars.githubusercontent.com/u/1886161?v=4" width="100px;"/><br/><sub><b>willizm</b></sub>](https://github.com/willizm)<br/>|[<img src="https://avatars.githubusercontent.com/u/7227589?v=4" width="100px;"/><br/><sub><b>davidkhala</b></sub>](https://github.com/davidkhala)<br/>|
|[<img src="https://avatars.githubusercontent.com/u/535479?v=4" width="100px;"/><br/><sub><b>aleafs</b></sub>](https://github.com/aleafs)<br/>|[<img src="https://avatars.githubusercontent.com/u/3689968?v=4" width="100px;"/><br/><sub><b>Amunu</b></sub>](https://github.com/Amunu)<br/>|[<img src="https://avatars.githubusercontent.com/in/9426?v=4" width="100px;"/><br/><sub><b>azure-pipelines[bot]</b></sub>](https://github.com/apps/azure-pipelines)<br/>|[<img src="https://avatars.githubusercontent.com/u/108602490?v=4" width="100px;"/><br/><sub><b>capsice</b></sub>](https://github.com/capsice)<br/>|[<img src="https://avatars.githubusercontent.com/u/1281323?v=4" width="100px;"/><br/><sub><b>changzhiwin</b></sub>](https://github.com/changzhiwin)<br/>|[<img src="https://avatars.githubusercontent.com/u/929503?v=4" width="100px;"/><br/><sub><b>yuzhigang33</b></sub>](https://github.com/yuzhigang33)<br/>|
|[<img src="https://avatars.githubusercontent.com/u/5574625?v=4" width="100px;"/><br/><sub><b>elrrrrrrr</b></sub>](https://github.com/elrrrrrrr)<br/>|[<img src="https://avatars.githubusercontent.com/u/981128?v=4" width="100px;"/><br/><sub><b>fishbar</b></sub>](https://github.com/fishbar)<br/>|[<img src="https://avatars.githubusercontent.com/u/1207064?v=4" width="100px;"/><br/><sub><b>gxcsoccer</b></sub>](https://github.com/gxcsoccer)<br/>|[<img src="https://avatars.githubusercontent.com/u/17476119?v=4" width="100px;"/><br/><sub><b>mars-coder</b></sub>](https://github.com/mars-coder)<br/>|[<img src="https://avatars.githubusercontent.com/u/929179?v=4" width="100px;"/><br/><sub><b>rockdai</b></sub>](https://github.com/rockdai)<br/>|[<img src="https://avatars.githubusercontent.com/u/2196373?v=4" width="100px;"/><br/><sub><b>dickeylth</b></sub>](https://github.com/dickeylth)<br/>|
[<img src="https://avatars.githubusercontent.com/u/13050025?v=4" width="100px;"/><br/><sub><b>aladdin-add</b></sub>](https://github.com/aladdin-add)<br/>
[![Contributors](https://contrib.rocks/image?repo=node-modules/urllib)](https://github.com/node-modules/urllib/graphs/contributors)
This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Mon Dec 04 2023 00:13:39 GMT+0800`.
<!-- GITCONTRIBUTOR_END -->
## License
[MIT](LICENSE)
Made with [contributors-img](https://contrib.rocks).

@@ -23,11 +23,10 @@ import diagnosticsChannel from 'node:diagnostics_channel';

function subscribe(name: string, listener: (message: unknown, channelName: string | symbol) => void) {
if (typeof diagnosticsChannel.subscribe === 'function') {
diagnosticsChannel.subscribe(name, listener);
} else {
// TODO: support Node.js 14, will be removed on the next major version
diagnosticsChannel.channel(name).subscribe(listener);
}
diagnosticsChannel.subscribe(name, listener);
}
function formatSocket(socket: Socket) {
type SocketExtend = Socket & {
[key: symbol]: string | number | Date | undefined;
};
function formatSocket(socket: SocketExtend) {
if (!socket) return socket;

@@ -45,4 +44,3 @@ return {

// make sure error contains socket info
const kDestroy = Symbol('kDestroy');
Socket.prototype[kDestroy] = Socket.prototype.destroy;
const destroySocket = Socket.prototype.destroy;
Socket.prototype.destroy = function(err?: any) {

@@ -56,3 +54,3 @@ if (err) {

}
return this[kDestroy](err);
return destroySocket.call(this, err);
};

@@ -62,3 +60,3 @@

if (!kHandler) return;
const handler = request[kHandler];
const handler = Reflect.get(request, kHandler);
// maxRedirects = 0 will get [Symbol(handler)]: RequestHandler {

@@ -77,3 +75,3 @@ // responseHeaders: null,

export function initDiagnosticsChannel() {
// makre sure init global DiagnosticsChannel once
// make sure init global DiagnosticsChannel once
if (initedDiagnosticsChannel) return;

@@ -105,25 +103,23 @@ initedDiagnosticsChannel = true;

// diagnosticsChannel.channel('undici:client:beforeConnect')
subscribe('undici:client:connectError', (message, name) => {
const { error, connectParams } = message as DiagnosticsChannel.ClientConnectErrorMessage & { error: any };
let { socket } = message as DiagnosticsChannel.ClientConnectErrorMessage;
if (!socket && error[symbols.kErrorSocket]) {
socket = error[symbols.kErrorSocket];
const { error, connectParams, socket } = message as DiagnosticsChannel.ClientConnectErrorMessage & { error: any, socket: SocketExtend };
let sock = socket;
if (!sock && error[symbols.kErrorSocket]) {
sock = error[symbols.kErrorSocket];
}
if (socket) {
socket[symbols.kSocketId] = globalId('UndiciSocket');
socket[symbols.kSocketConnectErrorTime] = new Date();
socket[symbols.kHandledRequests] = 0;
socket[symbols.kHandledResponses] = 0;
if (sock) {
sock[symbols.kSocketId] = globalId('UndiciSocket');
sock[symbols.kSocketConnectErrorTime] = new Date();
sock[symbols.kHandledRequests] = 0;
sock[symbols.kHandledResponses] = 0;
// copy local address to symbol, avoid them be reset after request error throw
if (socket.localAddress) {
socket[symbols.kSocketLocalAddress] = socket.localAddress;
socket[symbols.kSocketLocalPort] = socket.localPort;
if (sock.localAddress) {
sock[symbols.kSocketLocalAddress] = sock.localAddress;
sock[symbols.kSocketLocalPort] = sock.localPort;
}
socket[symbols.kSocketConnectProtocol] = connectParams.protocol;
socket[symbols.kSocketConnectHost] = connectParams.host;
socket[symbols.kSocketConnectPort] = connectParams.port;
sock[symbols.kSocketConnectProtocol] = connectParams.protocol;
sock[symbols.kSocketConnectHost] = connectParams.host;
sock[symbols.kSocketConnectPort] = connectParams.port;
debug('[%s] Socket#%d connectError, connectParams: %o, error: %s, (sock: %o)',
name, socket[symbols.kSocketId], connectParams, (error as Error).message, formatSocket(socket));
name, sock[symbols.kSocketId], connectParams, (error as Error).message, formatSocket(sock));
} else {

@@ -137,3 +133,3 @@ debug('[%s] connectError, connectParams: %o, error: %o',

subscribe('undici:client:connected', (message, name) => {
const { socket, connectParams } = message as DiagnosticsChannel.ClientConnectedMessage;
const { socket, connectParams } = message as DiagnosticsChannel.ClientConnectedMessage & { socket: SocketExtend };
socket[symbols.kSocketId] = globalId('UndiciSocket');

@@ -155,7 +151,7 @@ socket[symbols.kSocketStartTime] = performance.now();

subscribe('undici:client:sendHeaders', (message, name) => {
const { request, socket } = message as DiagnosticsChannel.ClientSendHeadersMessage;
const { request, socket } = message as DiagnosticsChannel.ClientSendHeadersMessage & { socket: SocketExtend };
const opaque = getRequestOpaque(request, kHandler);
if (!opaque || !opaque[symbols.kRequestId]) return;
socket[symbols.kHandledRequests]++;
(socket[symbols.kHandledRequests] as number)++;
// attach socket to opaque

@@ -169,7 +165,7 @@ opaque[symbols.kRequestSocket] = socket;

opaque[symbols.kRequestTiming].requestHeadersSent = performanceTime(opaque[symbols.kRequestStartTime]);
// first socket need to caculate the connected time
// first socket need to calculate the connected time
if (socket[symbols.kHandledRequests] === 1) {
// kSocketStartTime - kRequestStartTime = connected time
opaque[symbols.kRequestTiming].connected =
performanceTime(opaque[symbols.kRequestStartTime], socket[symbols.kSocketStartTime]);
performanceTime(opaque[symbols.kRequestStartTime], socket[symbols.kSocketStartTime] as number);
}

@@ -176,0 +172,0 @@ });

@@ -14,3 +14,3 @@ import diagnosticsChannel from 'node:diagnostics_channel';

import { Readable, pipeline } from 'node:stream';
import stream from 'node:stream';
import { pipeline as pipelinePromise } from 'node:stream/promises';
import { basename } from 'node:path';

@@ -21,4 +21,5 @@ import { createReadStream } from 'node:fs';

import querystring from 'node:querystring';
import { setTimeout as sleep } from 'node:timers/promises';
import {
FormData as FormDataNative,
FormData,
request as undiciRequest,

@@ -30,9 +31,7 @@ Dispatcher,

} from 'undici';
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import undiciSymbols from 'undici/lib/core/symbols.js';
import { FormData as FormDataNode } from 'formdata-node';
import { FormDataEncoder } from 'form-data-encoder';
import createUserAgent from 'default-user-agent';
import mime from 'mime-types';
import qs from 'qs';
import pump from 'pump';
// Compatible with old style formstream

@@ -44,3 +43,3 @@ import FormStream from 'formstream';

import { RawResponseWithMeta, HttpClientResponse, SocketInfo } from './Response.js';
import { parseJSON, sleep, digestAuthHeader, globalId, performanceTime, isReadable } from './utils.js';
import { parseJSON, digestAuthHeader, globalId, performanceTime, isReadable } from './utils.js';
import symbols from './symbols.js';

@@ -56,12 +55,2 @@ import { initDiagnosticsChannel } from './diagnosticsChannel.js';

const PROTO_RE = /^https?:\/\//i;
const FormData = FormDataNative ?? FormDataNode;
// impl promise pipeline on Node.js 14
const pipelinePromise = stream.promises?.pipeline ?? function pipeline(...args: any[]) {
return new Promise<void>((resolve, reject) => {
pump(...args, (err?: Error) => {
if (err) return reject(err);
resolve();
});
});
};

@@ -73,4 +62,2 @@ function noop() {

const debug = debuglog('urllib:HttpClient');
// Node.js 14 or 16
const isNode14Or16 = /v1[46]\./.test(process.version);

@@ -134,3 +121,6 @@ export type ClientOptions = {

export const HEADER_USER_AGENT = createUserAgent('node-urllib', 'VERSION');
export const VERSION = 'VERSION';
// 'node-urllib/4.0.0 Node.js/18.19.0 (darwin; x64)'
export const HEADER_USER_AGENT =
`node-urllib/${VERSION} Node.js/${process.version.substring(1)} (${process.platform}; ${process.arch})`;

@@ -217,3 +207,3 @@ function getFileName(stream: Readable) {

// origin => Pool Instance
const clients: Map<string, WeakRef<Pool>> | undefined = agent[undiciSymbols.kClients];
const clients: Map<string, WeakRef<Pool>> | undefined = Reflect.get(agent, undiciSymbols.kClients);
const poolStatsMap: Record<string, PoolStat> = {};

@@ -224,3 +214,3 @@ if (!clients) {

for (const [ key, ref ] of clients) {
const pool = ref.deref();
const pool = typeof ref.deref === 'function' ? ref.deref() : ref as unknown as Pool;
const stats = pool?.stats;

@@ -463,5 +453,7 @@ if (!stats) continue;

} else if (typeof args.files === 'object') {
for (const field in args.files) {
const files = args.files as Record<string, string | Readable | Buffer>;
for (const field in files) {
// set custom fileName
uploadFiles.push([ field, args.files[field], field ]);
const file = files[field];
uploadFiles.push([ field, file, field ]);
}

@@ -491,14 +483,3 @@ }

}
if (FormDataNative) {
requestOptions.body = formData;
} else {
// Node.js 14 does not support spec-compliant FormData
// https://github.com/octet-stream/form-data#usage
const encoder = new FormDataEncoder(formData as any);
Object.assign(headers, encoder.headers);
// fix "Content-Length":"NaN"
delete headers['Content-Length'];
requestOptions.body = Readable.from(encoder);
}
requestOptions.body = formData;
} else if (args.content) {

@@ -521,3 +502,3 @@ if (!isGETOrHEAD) {

if (!isStringOrBufferOrReadable) {
let query;
let query: string;
if (args.nestedQuerystring) {

@@ -623,5 +604,2 @@ query = qs.stringify(args.data);

} else if (args.writeStream) {
if (isNode14Or16 && args.writeStream.destroyed) {
throw new Error('writeStream is destroyed');
}
if (args.compressed === true && isCompressedContent) {

@@ -628,0 +606,0 @@ const decoder = contentEncoding === 'gzip' ? createGunzip() : createBrotliDecompress();

@@ -1,2 +0,2 @@

import LRU from 'ylru';
import { LRU } from 'ylru';
import { HttpClient, HEADER_USER_AGENT } from './HttpClient.js';

@@ -3,0 +3,0 @@ import { RequestOptions, RequestURL } from './Request.js';

@@ -6,3 +6,3 @@ import { randomBytes, createHash } from 'node:crypto';

const JSONCtlCharsMap = {
const JSONCtlCharsMap: Record<string, string> = {
'"': '\\"', // \u0022

@@ -53,8 +53,2 @@ '\\': '\\\\', // \u005c

export function sleep(ms: number) {
return new Promise<void>(resolve => {
setTimeout(resolve, ms);
});
}
function md5(s: string) {

@@ -61,0 +55,0 @@ const sum = createHash('md5');

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc