Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81544,7 +81544,7 @@ class PCancelable {

Object.setPrototypeOf(PCancelable.prototype, Promise.prototype);

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/errors.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/errors.js

// A hacky check to prevent circular references.
function isRequest(x) {
Expand Down Expand Up @@ -83331,13 +83331,13 @@ getContentLength_fn = function() {
};


;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/utils/is-form-data.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/utils/is-form-data.js

function is_form_data_isFormData(body) {
return distribution.nodeStream(body) && distribution.function(body.getBoundary);
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/utils/get-body-size.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/utils/get-body-size.js



Expand All @@ -83361,7 +83361,7 @@ async function getBodySize(body, headers) {
return undefined;
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/utils/proxy-events.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/utils/proxy-events.js
function proxyEvents(from, to, events) {
const eventFunctions = {};
for (const event of events) {
Expand All @@ -83380,7 +83380,7 @@ function proxyEvents(from, to, events) {

;// CONCATENATED MODULE: external "node:net"
const external_node_net_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:net");
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/utils/unhandle.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/utils/unhandle.js
// When attaching listeners, it's very easy to forget about them.
// Especially if you do error handling and set timeouts.
// So instead of checking if it's proper to throw an error on every timeout ever,
Expand All @@ -83402,7 +83402,7 @@ function unhandle() {
};
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/timed-out.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/timed-out.js


const reentry = Symbol('reentry');
Expand Down Expand Up @@ -83541,7 +83541,7 @@ function timedOut(request, delays, options) {
return cancelTimeouts;
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/utils/url-to-options.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/utils/url-to-options.js

function urlToOptions(url) {
// Cast to URL
Expand All @@ -83565,7 +83565,7 @@ function urlToOptions(url) {
return options;
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/utils/weakable-map.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/utils/weakable-map.js
class WeakableMap {
weakMap;
map;
Expand Down Expand Up @@ -83595,7 +83595,7 @@ class WeakableMap {
}
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/calculate-retry-delay.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/calculate-retry-delay.js
const calculateRetryDelay = ({ attemptCount, retryOptions, error, retryAfter, computedValue, }) => {
if (error.name === 'RetryError') {
return 1;
Expand Down Expand Up @@ -84082,7 +84082,7 @@ class CacheableLookup {

// EXTERNAL MODULE: ./node_modules/.pnpm/[email protected]/node_modules/http2-wrapper/source/index.js
var http2_wrapper_source = __nccwpck_require__(5409);
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/parse-link-header.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/parse-link-header.js
function parseLinkHeader(link) {
const parsed = [];
const items = link.split(',');
Expand Down Expand Up @@ -84117,7 +84117,7 @@ function parseLinkHeader(link) {
return parsed;
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/options.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/options.js



Expand Down Expand Up @@ -85754,7 +85754,7 @@ class Options {
}
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/response.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/response.js

const isResponseOk = (response) => {
const { statusCode } = response;
Expand Down Expand Up @@ -85797,19 +85797,19 @@ const parseBody = (response, responseType, parseJson, encoding) => {
}, response);
};

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/utils/is-client-request.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/utils/is-client-request.js
function isClientRequest(clientRequest) {
return clientRequest.writable && !clientRequest.writableEnded;
}
/* harmony default export */ const is_client_request = (isClientRequest);

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/utils/is-unix-socket-url.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/utils/is-unix-socket-url.js
// eslint-disable-next-line @typescript-eslint/naming-convention
function isUnixSocketURL(url) {
return url.protocol === 'unix:' || url.hostname === 'unix';
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/core/index.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/core/index.js



Expand Down Expand Up @@ -86140,7 +86140,7 @@ class Request extends external_node_stream_.Duplex {
if (!error) {
this._bodySize = this._uploadedSize;
this.emit('uploadProgress', this.uploadProgress);
this._request.emit('upload-complete');
this._request?.emit('upload-complete');
}
callback(error);
});
Expand Down Expand Up @@ -86816,7 +86816,7 @@ class Request extends external_node_stream_.Duplex {
}
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/as-promise/types.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/as-promise/types.js

/**
An error to be thrown when the request is aborted with `.cancel()`.
Expand All @@ -86835,7 +86835,7 @@ class types_CancelError extends RequestError {
}
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/as-promise/index.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/as-promise/index.js



Expand Down Expand Up @@ -87001,7 +87001,7 @@ function asPromise(firstRequest) {
return promise;
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/create.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/create.js



Expand Down Expand Up @@ -87183,7 +87183,7 @@ const create = (defaults) => {
};
/* harmony default export */ const source_create = (create);

;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].6/node_modules/got/dist/source/index.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/[email protected].7/node_modules/got/dist/source/index.js


const defaults = {
Expand Down Expand Up @@ -87214,7 +87214,7 @@ var cache = __nccwpck_require__(7389);
const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:child_process");
;// CONCATENATED MODULE: external "node:path"
const external_node_path_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:path");
;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+3ef4baee587df_2c4203a88aeb01b4263ac74471915acf/node_modules/detsys-ts/dist/index.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+79634332de50a_5d7d6fb0d078cc85e29b5e57a5389121/node_modules/detsys-ts/dist/index.js
var __defProp = Object.defineProperty;
var __export = (target, all) => {
for (var name in all)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"prettier": "^3.5.3",
"tsup": "^8.4.0",
"typescript": "^5.8.2",
"vitest": "^3.0.9"
"vitest": "^3.1.1"
}
}
Loading
Loading