@storm-software/linting-tools 1.117.0 → 1.119.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/{dist/chunk-WJCGSDGP.cjs → bin/chunk-3FBUAA7Z.cjs} +40 -40
- package/bin/{chunk-K2DD2XHF.cjs → chunk-4ZFXOAID.cjs} +11 -11
- package/bin/{chunk-VI2ZXKUG.js → chunk-5WDTXQYE.js} +2 -2
- package/bin/{chunk-K4R5KBFT.js → chunk-5ZMWUMUC.js} +2 -2
- package/bin/{chunk-PPTMEMI5.cjs → chunk-6PBDI6OA.cjs} +388 -388
- package/{dist/chunk-HVXA2NRM.js → bin/chunk-B3RHPIJP.js} +1 -1
- package/bin/{chunk-YIK4X6KP.js → chunk-DIIWBHCG.js} +2 -2
- package/bin/{chunk-SOHOWNFP.cjs → chunk-F3W33PFH.cjs} +138 -138
- package/bin/{chunk-V5UETVAA.cjs → chunk-FXD4YL75.cjs} +32 -32
- package/{dist/chunk-YI2KVYAN.cjs → bin/chunk-GPU42JLK.cjs} +2 -2
- package/{dist/chunk-TFNA66X6.js → bin/chunk-L2GU4VVI.js} +2 -2
- package/bin/{chunk-UJLKIZKJ.cjs → chunk-N6P3NGIL.cjs} +44 -44
- package/bin/{chunk-AYMHZ7UL.js → chunk-Q2UNFIZN.js} +2 -2
- package/{dist/chunk-EN4RNVG4.js → bin/chunk-SXVDNBBQ.js} +2 -2
- package/{dist/chunk-DWB5CLJE.js → bin/chunk-U4UFTI6B.js} +1 -1
- package/{dist/chunk-YI2CRC3X.cjs → bin/chunk-VLPTUXW4.cjs} +213 -206
- package/{dist/chunk-Z5JVEVVB.cjs → bin/chunk-XQETQP2H.cjs} +152 -152
- package/{dist/chunk-RZ5IBPKH.js → bin/chunk-Y4YNZAVE.js} +11 -4
- package/bin/{dist-BFHOATQX.js → dist-2OO6NCYC.js} +8 -8
- package/bin/{dist-5DOEXUUM.cjs → dist-SA37GSFD.cjs} +989 -989
- package/bin/{esm-7DAJSFKA.cjs → esm-667BEMXO.cjs} +46 -46
- package/bin/{esm-FSFQNKZE.js → esm-OOYUY4AM.js} +1 -1
- package/bin/json5-JQ2O4J4G.js +10 -0
- package/bin/json5-WPCE27KG.cjs +10 -0
- package/{dist/jsonc-E425DKY2.js → bin/jsonc-3GXFMZE7.js} +3 -3
- package/bin/jsonc-ZOZPUZJB.cjs +15 -0
- package/bin/lint.cjs +30540 -30684
- package/bin/lint.js +4151 -4295
- package/{dist/multipart-parser-HDZ6VHPJ.js → bin/multipart-parser-HBA2WX6Y.js} +2 -2
- package/bin/{multipart-parser-HIEXIG4K.cjs → multipart-parser-VQZG3CLL.cjs} +11 -11
- package/bin/{package-json-AJZZT4VL.js → package-json-2QZEJOJE.js} +32 -24
- package/bin/{package-json-KUYK6HRN.cjs → package-json-TMUUO3QU.cjs} +277 -269
- package/bin/toml-I5O5TNJR.js +10 -0
- package/bin/toml-XMCGOTPR.cjs +10 -0
- package/bin/yaml-52IG2XK6.js +10 -0
- package/bin/yaml-XNJPDOFN.cjs +10 -0
- package/{bin/chunk-WJCGSDGP.cjs → dist/chunk-3FBUAA7Z.cjs} +40 -40
- package/dist/{chunk-K2DD2XHF.cjs → chunk-4ZFXOAID.cjs} +11 -11
- package/dist/{chunk-VI2ZXKUG.js → chunk-5WDTXQYE.js} +2 -2
- package/dist/{chunk-K4R5KBFT.js → chunk-5ZMWUMUC.js} +2 -2
- package/dist/{chunk-PPTMEMI5.cjs → chunk-6PBDI6OA.cjs} +388 -388
- package/{bin/chunk-HVXA2NRM.js → dist/chunk-B3RHPIJP.js} +1 -1
- package/dist/{chunk-YIK4X6KP.js → chunk-DIIWBHCG.js} +2 -2
- package/dist/{chunk-SOHOWNFP.cjs → chunk-F3W33PFH.cjs} +138 -138
- package/dist/{chunk-V5UETVAA.cjs → chunk-FXD4YL75.cjs} +32 -32
- package/{bin/chunk-YI2KVYAN.cjs → dist/chunk-GPU42JLK.cjs} +2 -2
- package/{bin/chunk-TFNA66X6.js → dist/chunk-L2GU4VVI.js} +2 -2
- package/dist/{chunk-UJLKIZKJ.cjs → chunk-N6P3NGIL.cjs} +44 -44
- package/dist/{chunk-AYMHZ7UL.js → chunk-Q2UNFIZN.js} +2 -2
- package/{bin/chunk-EN4RNVG4.js → dist/chunk-SXVDNBBQ.js} +2 -2
- package/{bin/chunk-DWB5CLJE.js → dist/chunk-U4UFTI6B.js} +1 -1
- package/{bin/chunk-YI2CRC3X.cjs → dist/chunk-VLPTUXW4.cjs} +213 -206
- package/{bin/chunk-Z5JVEVVB.cjs → dist/chunk-XQETQP2H.cjs} +152 -152
- package/{bin/chunk-RZ5IBPKH.js → dist/chunk-Y4YNZAVE.js} +11 -4
- package/dist/{dist-BFHOATQX.js → dist-2OO6NCYC.js} +8 -8
- package/dist/{dist-5DOEXUUM.cjs → dist-SA37GSFD.cjs} +989 -989
- package/dist/{esm-7DAJSFKA.cjs → esm-667BEMXO.cjs} +46 -46
- package/dist/{esm-FSFQNKZE.js → esm-OOYUY4AM.js} +1 -1
- package/dist/index.cjs +30536 -30680
- package/dist/index.js +4151 -4295
- package/dist/json5-JQ2O4J4G.js +10 -0
- package/dist/json5-WPCE27KG.cjs +10 -0
- package/{bin/jsonc-E425DKY2.js → dist/jsonc-3GXFMZE7.js} +3 -3
- package/dist/jsonc-ZOZPUZJB.cjs +15 -0
- package/{bin/multipart-parser-HDZ6VHPJ.js → dist/multipart-parser-HBA2WX6Y.js} +2 -2
- package/dist/{multipart-parser-HIEXIG4K.cjs → multipart-parser-VQZG3CLL.cjs} +11 -11
- package/dist/{package-json-AJZZT4VL.js → package-json-2QZEJOJE.js} +32 -24
- package/dist/{package-json-KUYK6HRN.cjs → package-json-TMUUO3QU.cjs} +277 -269
- package/dist/toml-I5O5TNJR.js +10 -0
- package/dist/toml-XMCGOTPR.cjs +10 -0
- package/dist/yaml-52IG2XK6.js +10 -0
- package/dist/yaml-XNJPDOFN.cjs +10 -0
- package/package.json +3 -3
- package/bin/json5-LPXSNQGN.js +0 -10
- package/bin/json5-Z4IAX2RO.cjs +0 -10
- package/bin/jsonc-7G5CKNWF.cjs +0 -15
- package/bin/toml-QFO22XWD.js +0 -10
- package/bin/toml-WNHAGGH4.cjs +0 -10
- package/bin/yaml-D4ZXAQYN.cjs +0 -10
- package/bin/yaml-NQSXPN4A.js +0 -10
- package/dist/json5-LPXSNQGN.js +0 -10
- package/dist/json5-Z4IAX2RO.cjs +0 -10
- package/dist/jsonc-7G5CKNWF.cjs +0 -15
- package/dist/toml-QFO22XWD.js +0 -10
- package/dist/toml-WNHAGGH4.cjs +0 -10
- package/dist/yaml-D4ZXAQYN.cjs +0 -10
- package/dist/yaml-NQSXPN4A.js +0 -10
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_node,
|
|
3
3
|
require_node_fetch_native_DhEqb06g
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-L2GU4VVI.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__name,
|
|
8
8
|
__require,
|
|
9
9
|
init_esm_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q2UNFIZN.js";
|
|
11
11
|
|
|
12
12
|
// ../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs
|
|
13
13
|
var require_multipart_parser = __commonJS({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk6PBDI6OAcjs = require('./chunk-6PBDI6OA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkGPU42JLKcjs = require('./chunk-GPU42JLK.cjs');
|
|
11
11
|
|
|
12
12
|
// ../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs
|
|
13
|
-
var require_multipart_parser =
|
|
13
|
+
var require_multipart_parser = _chunkGPU42JLKcjs.__commonJS.call(void 0, {
|
|
14
14
|
"../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs"(exports) {
|
|
15
|
-
|
|
15
|
+
_chunkGPU42JLKcjs.init_cjs_shims.call(void 0, );
|
|
16
16
|
var N = Object.defineProperty;
|
|
17
|
-
var c = /* @__PURE__ */
|
|
18
|
-
|
|
19
|
-
var node =
|
|
20
|
-
|
|
17
|
+
var c = /* @__PURE__ */ _chunkGPU42JLKcjs.__name.call(void 0, (_, a) => N(_, "name", { value: a, configurable: true }), "c");
|
|
18
|
+
_chunkGPU42JLKcjs.__require.call(void 0, "fs"), _chunkGPU42JLKcjs.__require.call(void 0, "path");
|
|
19
|
+
var node = _chunk6PBDI6OAcjs.require_node.call(void 0, );
|
|
20
|
+
_chunkGPU42JLKcjs.__require.call(void 0, "http"), _chunkGPU42JLKcjs.__require.call(void 0, "https"), _chunkGPU42JLKcjs.__require.call(void 0, "zlib"), _chunkGPU42JLKcjs.__require.call(void 0, "stream"), _chunkGPU42JLKcjs.__require.call(void 0, "buffer"), _chunkGPU42JLKcjs.__require.call(void 0, "util"), _chunk6PBDI6OAcjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunkGPU42JLKcjs.__require.call(void 0, "url"), _chunkGPU42JLKcjs.__require.call(void 0, "net");
|
|
21
21
|
var s = 0;
|
|
22
22
|
var S = { START_BOUNDARY: s++, HEADER_FIELD_START: s++, HEADER_FIELD: s++, HEADER_VALUE_START: s++, HEADER_VALUE: s++, HEADER_VALUE_ALMOST_DONE: s++, HEADERS_ALMOST_DONE: s++, PART_DATA_START: s++, PART_DATA: s++, END: s++ };
|
|
23
23
|
var f = 1;
|
|
@@ -34,7 +34,7 @@ var require_multipart_parser = _chunkYI2KVYANcjs.__commonJS.call(void 0, {
|
|
|
34
34
|
}, "noop");
|
|
35
35
|
var MultipartParser = class {
|
|
36
36
|
static {
|
|
37
|
-
|
|
37
|
+
_chunkGPU42JLKcjs.__name.call(void 0, this, "MultipartParser");
|
|
38
38
|
}
|
|
39
39
|
static {
|
|
40
40
|
c(this, "MultipartParser");
|
|
@@ -146,7 +146,7 @@ var require_multipart_parser = _chunkYI2KVYANcjs.__commonJS.call(void 0, {
|
|
|
146
146
|
let n = t.slice(t.lastIndexOf("\\") + 1);
|
|
147
147
|
return n = n.replace(/%22/g, '"'), n = n.replace(/&#(\d{4});/g, (E, d) => String.fromCharCode(d)), n;
|
|
148
148
|
}
|
|
149
|
-
|
|
149
|
+
_chunkGPU42JLKcjs.__name.call(void 0, _fileName, "_fileName");
|
|
150
150
|
c(_fileName, "_fileName");
|
|
151
151
|
async function toFormData(_, a) {
|
|
152
152
|
if (!/multipart/i.test(a)) throw new TypeError("Failed to fetch");
|
|
@@ -180,7 +180,7 @@ var require_multipart_parser = _chunkYI2KVYANcjs.__commonJS.call(void 0, {
|
|
|
180
180
|
for await (const i of _) n.write(i);
|
|
181
181
|
return n.end(), b;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
_chunkGPU42JLKcjs.__name.call(void 0, toFormData, "toFormData");
|
|
184
184
|
c(toFormData, "toFormData"), exports.toFormData = toFormData;
|
|
185
185
|
}
|
|
186
186
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_semver
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B3RHPIJP.js";
|
|
4
4
|
import {
|
|
5
5
|
__commonJS,
|
|
6
6
|
__dirname,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
__require,
|
|
9
9
|
__toESM,
|
|
10
10
|
init_esm_shims
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Q2UNFIZN.js";
|
|
12
12
|
|
|
13
13
|
// ../../node_modules/.pnpm/ini@1.3.8/node_modules/ini/ini.js
|
|
14
14
|
var require_ini = __commonJS({
|
|
@@ -2771,11 +2771,10 @@ var require_npm_conf = __commonJS({
|
|
|
2771
2771
|
}
|
|
2772
2772
|
});
|
|
2773
2773
|
|
|
2774
|
-
// ../../node_modules/.pnpm/registry-auth-token@5.0
|
|
2774
|
+
// ../../node_modules/.pnpm/registry-auth-token@5.1.0/node_modules/registry-auth-token/index.js
|
|
2775
2775
|
var require_registry_auth_token = __commonJS({
|
|
2776
|
-
"../../node_modules/.pnpm/registry-auth-token@5.0
|
|
2776
|
+
"../../node_modules/.pnpm/registry-auth-token@5.1.0/node_modules/registry-auth-token/index.js"(exports, module) {
|
|
2777
2777
|
init_esm_shims();
|
|
2778
|
-
var url = __require("url");
|
|
2779
2778
|
var npmConf = require_npm_conf();
|
|
2780
2779
|
var tokenKey = ":_authToken";
|
|
2781
2780
|
var legacyTokenKey = ":_auth";
|
|
@@ -2802,8 +2801,17 @@ var require_registry_auth_token = __commonJS({
|
|
|
2802
2801
|
checkUrl = checkUrl || options.npmrc.get("registry") || npmConf.defaults.registry;
|
|
2803
2802
|
return getRegistryAuthInfo(checkUrl, options) || getLegacyAuthInfo(options.npmrc);
|
|
2804
2803
|
}, "getRegistryAuthToken");
|
|
2804
|
+
function urlResolve(from, to) {
|
|
2805
|
+
const resolvedUrl = new URL(to, new URL(from.startsWith("//") ? `./${from}` : from, "resolve://"));
|
|
2806
|
+
if (resolvedUrl.protocol === "resolve:") {
|
|
2807
|
+
const { pathname, search, hash } = resolvedUrl;
|
|
2808
|
+
return pathname + search + hash;
|
|
2809
|
+
}
|
|
2810
|
+
return resolvedUrl.toString();
|
|
2811
|
+
}
|
|
2812
|
+
__name(urlResolve, "urlResolve");
|
|
2805
2813
|
function getRegistryAuthInfo(checkUrl, options) {
|
|
2806
|
-
|
|
2814
|
+
let parsed = checkUrl instanceof URL ? checkUrl : new URL(checkUrl.startsWith("//") ? `http:${checkUrl}` : checkUrl);
|
|
2807
2815
|
let pathname;
|
|
2808
2816
|
while (pathname !== "/" && parsed.pathname !== pathname) {
|
|
2809
2817
|
pathname = parsed.pathname || "/";
|
|
@@ -2813,9 +2821,9 @@ var require_registry_auth_token = __commonJS({
|
|
|
2813
2821
|
return authInfo;
|
|
2814
2822
|
}
|
|
2815
2823
|
if (!options.recursive) {
|
|
2816
|
-
return /\/$/.test(checkUrl) ? void 0 : getRegistryAuthInfo(
|
|
2824
|
+
return /\/$/.test(checkUrl) ? void 0 : getRegistryAuthInfo(new URL("./", parsed), options);
|
|
2817
2825
|
}
|
|
2818
|
-
parsed.pathname =
|
|
2826
|
+
parsed.pathname = urlResolve(normalizePath(pathname), "..") || "/";
|
|
2819
2827
|
}
|
|
2820
2828
|
return void 0;
|
|
2821
2829
|
}
|
|
@@ -2901,13 +2909,13 @@ var require_registry_auth_token = __commonJS({
|
|
|
2901
2909
|
// ../../node_modules/.pnpm/package-json@10.0.1/node_modules/package-json/index.js
|
|
2902
2910
|
init_esm_shims();
|
|
2903
2911
|
|
|
2904
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
2912
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/index.js
|
|
2905
2913
|
init_esm_shims();
|
|
2906
2914
|
|
|
2907
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
2915
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/core/Ky.js
|
|
2908
2916
|
init_esm_shims();
|
|
2909
2917
|
|
|
2910
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
2918
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/errors/HTTPError.js
|
|
2911
2919
|
init_esm_shims();
|
|
2912
2920
|
var HTTPError = class extends Error {
|
|
2913
2921
|
static {
|
|
@@ -2929,7 +2937,7 @@ var HTTPError = class extends Error {
|
|
|
2929
2937
|
}
|
|
2930
2938
|
};
|
|
2931
2939
|
|
|
2932
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
2940
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/errors/TimeoutError.js
|
|
2933
2941
|
init_esm_shims();
|
|
2934
2942
|
var TimeoutError = class extends Error {
|
|
2935
2943
|
static {
|
|
@@ -2943,14 +2951,14 @@ var TimeoutError = class extends Error {
|
|
|
2943
2951
|
}
|
|
2944
2952
|
};
|
|
2945
2953
|
|
|
2946
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
2954
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/utils/merge.js
|
|
2947
2955
|
init_esm_shims();
|
|
2948
2956
|
|
|
2949
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
2957
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/utils/is.js
|
|
2950
2958
|
init_esm_shims();
|
|
2951
2959
|
var isObject = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object", "isObject");
|
|
2952
2960
|
|
|
2953
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
2961
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/utils/merge.js
|
|
2954
2962
|
var validateAndMerge = /* @__PURE__ */ __name((...sources) => {
|
|
2955
2963
|
for (const source of sources) {
|
|
2956
2964
|
if ((!isObject(source) || Array.isArray(source)) && source !== void 0) {
|
|
@@ -3018,10 +3026,10 @@ var deepMerge = /* @__PURE__ */ __name((...sources) => {
|
|
|
3018
3026
|
return returnValue;
|
|
3019
3027
|
}, "deepMerge");
|
|
3020
3028
|
|
|
3021
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
3029
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/utils/normalize.js
|
|
3022
3030
|
init_esm_shims();
|
|
3023
3031
|
|
|
3024
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
3032
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/core/constants.js
|
|
3025
3033
|
init_esm_shims();
|
|
3026
3034
|
var supportsRequestStreams = (() => {
|
|
3027
3035
|
let duplexAccessed = false;
|
|
@@ -3102,7 +3110,7 @@ var requestOptionsRegistry = {
|
|
|
3102
3110
|
priority: true
|
|
3103
3111
|
};
|
|
3104
3112
|
|
|
3105
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
3113
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/utils/normalize.js
|
|
3106
3114
|
var normalizeRequestMethod = /* @__PURE__ */ __name((input) => requestMethods.includes(input) ? input.toUpperCase() : input, "normalizeRequestMethod");
|
|
3107
3115
|
var retryMethods = [
|
|
3108
3116
|
"get",
|
|
@@ -3154,7 +3162,7 @@ var normalizeRetryOptions = /* @__PURE__ */ __name((retry = {}) => {
|
|
|
3154
3162
|
};
|
|
3155
3163
|
}, "normalizeRetryOptions");
|
|
3156
3164
|
|
|
3157
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
3165
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/utils/timeout.js
|
|
3158
3166
|
init_esm_shims();
|
|
3159
3167
|
async function timeout(request, init, abortController, options) {
|
|
3160
3168
|
return new Promise((resolve, reject) => {
|
|
@@ -3171,7 +3179,7 @@ async function timeout(request, init, abortController, options) {
|
|
|
3171
3179
|
}
|
|
3172
3180
|
__name(timeout, "timeout");
|
|
3173
3181
|
|
|
3174
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
3182
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/utils/delay.js
|
|
3175
3183
|
init_esm_shims();
|
|
3176
3184
|
async function delay(ms, { signal }) {
|
|
3177
3185
|
return new Promise((resolve, reject) => {
|
|
@@ -3194,7 +3202,7 @@ async function delay(ms, { signal }) {
|
|
|
3194
3202
|
}
|
|
3195
3203
|
__name(delay, "delay");
|
|
3196
3204
|
|
|
3197
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
3205
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/utils/options.js
|
|
3198
3206
|
init_esm_shims();
|
|
3199
3207
|
var findUnknownOptions = /* @__PURE__ */ __name((request, options) => {
|
|
3200
3208
|
const unknownOptions = {};
|
|
@@ -3206,7 +3214,7 @@ var findUnknownOptions = /* @__PURE__ */ __name((request, options) => {
|
|
|
3206
3214
|
return unknownOptions;
|
|
3207
3215
|
}, "findUnknownOptions");
|
|
3208
3216
|
|
|
3209
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
3217
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/core/Ky.js
|
|
3210
3218
|
var Ky = class _Ky {
|
|
3211
3219
|
static {
|
|
3212
3220
|
__name(this, "Ky");
|
|
@@ -3285,7 +3293,7 @@ var Ky = class _Ky {
|
|
|
3285
3293
|
beforeError: [],
|
|
3286
3294
|
afterResponse: []
|
|
3287
3295
|
}, options.hooks),
|
|
3288
|
-
method: normalizeRequestMethod(options.method ?? this._input.method),
|
|
3296
|
+
method: normalizeRequestMethod(options.method ?? this._input.method ?? "GET"),
|
|
3289
3297
|
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
|
3290
3298
|
prefixUrl: String(options.prefixUrl || ""),
|
|
3291
3299
|
retry: normalizeRetryOptions(options.retry),
|
|
@@ -3470,7 +3478,7 @@ var Ky = class _Ky {
|
|
|
3470
3478
|
}
|
|
3471
3479
|
};
|
|
3472
3480
|
|
|
3473
|
-
// ../../node_modules/.pnpm/ky@1.7.
|
|
3481
|
+
// ../../node_modules/.pnpm/ky@1.7.5/node_modules/ky/distribution/index.js
|
|
3474
3482
|
var createInstance = /* @__PURE__ */ __name((defaults) => {
|
|
3475
3483
|
const ky2 = /* @__PURE__ */ __name((input, options) => Ky.create(input, validateAndMerge(defaults, options)), "ky");
|
|
3476
3484
|
for (const method of requestMethods) {
|