@powerlines/plugin-env 0.16.60 → 0.16.61
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 +14 -16
- package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +1 -3
- package/dist/_virtual/{rolldown_runtime.mjs → _rolldown/runtime.mjs} +2 -3
- package/dist/babel/index.cjs +1 -0
- package/dist/babel/plugin.cjs +20 -19
- package/dist/babel/plugin.d.cts +0 -1
- package/dist/babel/plugin.d.cts.map +1 -1
- package/dist/babel/plugin.d.mts +0 -1
- package/dist/babel/plugin.d.mts.map +1 -1
- package/dist/babel/plugin.mjs +3 -3
- package/dist/babel/plugin.mjs.map +1 -1
- package/dist/components/docs.cjs +26 -25
- package/dist/components/docs.d.cts.map +1 -1
- package/dist/components/docs.d.mts.map +1 -1
- package/dist/components/docs.mjs +1 -1
- package/dist/components/env-builtin.cjs +155 -153
- package/dist/components/env-builtin.d.cts +0 -1
- package/dist/components/env-builtin.d.cts.map +1 -1
- package/dist/components/env-builtin.d.mts +0 -1
- package/dist/components/env-builtin.d.mts.map +1 -1
- package/dist/components/env-builtin.mjs +1 -1
- package/dist/components/index.cjs +1 -0
- package/dist/helpers/automd-generator.cjs +4 -3
- package/dist/helpers/automd-generator.d.cts +2 -3
- package/dist/helpers/automd-generator.d.cts.map +1 -1
- package/dist/helpers/automd-generator.d.mts +2 -3
- package/dist/helpers/automd-generator.d.mts.map +1 -1
- package/dist/helpers/automd-generator.mjs +1 -1
- package/dist/helpers/automd-generator.mjs.map +1 -1
- package/dist/helpers/create-reflection-resource.cjs +1 -0
- package/dist/helpers/create-reflection-resource.d.cts +0 -1
- package/dist/helpers/create-reflection-resource.d.cts.map +1 -1
- package/dist/helpers/create-reflection-resource.d.mts +0 -1
- package/dist/helpers/create-reflection-resource.d.mts.map +1 -1
- package/dist/helpers/create-reflection-resource.mjs.map +1 -1
- package/dist/helpers/docs-helper.cjs +4 -2
- package/dist/helpers/docs-helper.d.cts +0 -1
- package/dist/helpers/docs-helper.d.cts.map +1 -1
- package/dist/helpers/docs-helper.d.mts +0 -1
- package/dist/helpers/docs-helper.d.mts.map +1 -1
- package/dist/helpers/docs-helper.mjs +1 -1
- package/dist/helpers/docs-helper.mjs.map +1 -1
- package/dist/helpers/index.cjs +1 -0
- package/dist/helpers/load.cjs +19 -17
- package/dist/helpers/load.d.cts +0 -1
- package/dist/helpers/load.d.cts.map +1 -1
- package/dist/helpers/load.d.mts +0 -1
- package/dist/helpers/load.d.mts.map +1 -1
- package/dist/helpers/load.mjs +2 -2
- package/dist/helpers/load.mjs.map +1 -1
- package/dist/helpers/persistence.cjs +59 -58
- package/dist/helpers/persistence.d.cts +0 -1
- package/dist/helpers/persistence.d.cts.map +1 -1
- package/dist/helpers/persistence.d.mts +0 -1
- package/dist/helpers/persistence.d.mts.map +1 -1
- package/dist/helpers/persistence.mjs +15 -15
- package/dist/helpers/persistence.mjs.map +1 -1
- package/dist/helpers/reflect.cjs +40 -39
- package/dist/helpers/reflect.d.cts.map +1 -1
- package/dist/helpers/reflect.d.mts.map +1 -1
- package/dist/helpers/reflect.mjs +2 -2
- package/dist/helpers/reflect.mjs.map +1 -1
- package/dist/helpers/source-file-env.cjs +8 -7
- package/dist/helpers/source-file-env.d.cts.map +1 -1
- package/dist/helpers/source-file-env.d.mts.map +1 -1
- package/dist/helpers/source-file-env.mjs.map +1 -1
- package/dist/helpers/template-helpers.cjs +6 -5
- package/dist/helpers/template-helpers.d.cts +0 -1
- package/dist/helpers/template-helpers.d.cts.map +1 -1
- package/dist/helpers/template-helpers.d.mts +0 -1
- package/dist/helpers/template-helpers.d.mts.map +1 -1
- package/dist/helpers/template-helpers.mjs.map +1 -1
- package/dist/index.cjs +49 -49
- package/dist/index.d.cts +0 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +5 -6
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.cjs +7 -7
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs +6 -6
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.cjs +6 -6
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs +6 -6
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.cjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.cjs +655 -655
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs +655 -655
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.cjs +179 -179
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs +179 -179
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.cjs +188 -188
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs +188 -188
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.cjs +297 -297
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs +297 -297
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.cjs +8 -8
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs +8 -8
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.cjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs +4 -4
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.cjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.cjs +2 -2
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs +2 -2
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs.map +1 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.cjs +5 -5
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs +4 -4
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs.map +1 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.cjs +2 -2
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs +1 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs.map +1 -1
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +18 -18
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +2 -2
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +1308 -1311
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +1294 -1297
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs.map +1 -1
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +2194 -2194
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +2193 -2193
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs.map +1 -1
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +3 -3
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +3 -3
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +34 -34
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +33 -33
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +221 -223
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +220 -222
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs.map +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +1 -1
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.cjs +3 -3
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs +5 -5
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +1 -1
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +6 -6
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +5 -5
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +10 -10
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +16 -16
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +412 -412
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +189 -189
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs.map +1 -1
- package/dist/types/index.cjs +1 -0
- package/dist/types/plugin.cjs +20 -19
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts.map +1 -1
- package/dist/types/plugin.mjs.map +1 -1
- package/dist/types/runtime.cjs +1 -0
- package/dist/types/runtime.d.cts.map +1 -1
- package/dist/types/runtime.d.mts.map +1 -1
- package/dist/types/runtime.mjs.map +1 -1
- package/package.json +45 -26
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.cjs +0 -37
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.mjs +0 -38
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.mjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +0 -3
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +0 -5
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +0 -6
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +0 -7
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +0 -3
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +0 -19
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +0 -20
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +0 -63
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +0 -64
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +0 -17
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.cjs +0 -32
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.mjs +0 -33
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.cjs +0 -28
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.mjs +0 -29
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.cjs +0 -122
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.mjs +0 -123
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.cjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.mjs +0 -9
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.mjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.mjs.map +0 -1
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +0 -43
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +0 -43
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_runtime = require('../../../../../../_virtual/_rolldown/runtime.cjs');
|
|
2
2
|
const require_jiti$1 = require('../dist/jiti.cjs');
|
|
3
3
|
let node_module = require("node:module");
|
|
4
4
|
|
|
5
5
|
//#region ../../node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs
|
|
6
|
-
var import_jiti = /* @__PURE__ */
|
|
6
|
+
var import_jiti = /* @__PURE__ */ require_runtime.__toESM(require_jiti$1.default, 1);
|
|
7
7
|
function onError(err) {
|
|
8
8
|
throw err;
|
|
9
9
|
}
|
|
@@ -26,4 +26,4 @@ function createJiti(id, opts = {}) {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
//#endregion
|
|
29
|
-
exports.
|
|
29
|
+
exports.default = createJiti;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __toESM } from "../../../../../../_virtual/
|
|
1
|
+
import { __toESM } from "../../../../../../_virtual/_rolldown/runtime.mjs";
|
|
2
2
|
import { require_jiti } from "../dist/jiti.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
|
|
@@ -26,5 +26,5 @@ function createJiti(id, opts = {}) {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
//#endregion
|
|
29
|
-
export { createJiti };
|
|
29
|
+
export { createJiti as default };
|
|
30
30
|
//# sourceMappingURL=jiti.mjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const require_runtime = require('../../../../../../../_virtual/_rolldown/runtime.cjs');
|
|
4
4
|
const require_node_fetch_native_DhEqb06g$1 = require('../shared/node-fetch-native.DhEqb06g.cjs');
|
|
5
5
|
const require_node$1 = require('../node.cjs');
|
|
6
6
|
|
|
7
7
|
//#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs
|
|
8
|
-
var require_multipart_parser = /* @__PURE__ */
|
|
8
|
+
var require_multipart_parser = /* @__PURE__ */ require_runtime.__commonJSMin(((exports) => {
|
|
9
9
|
var y = Object.defineProperty;
|
|
10
10
|
var c = (R, o) => y(R, "name", {
|
|
11
11
|
value: o,
|
|
@@ -30,7 +30,7 @@ var require_multipart_parser = /* @__PURE__ */ require_rolldown_runtime.__common
|
|
|
30
30
|
const F = {
|
|
31
31
|
PART_BOUNDARY: f,
|
|
32
32
|
LAST_BOUNDARY: f *= 2
|
|
33
|
-
}, LF = 10, CR = 13, SPACE = 32, HYPHEN = 45, COLON = 58, A = 97, Z = 122, lower = c((R) => R | 32, "lower"), noop = c(() => {}, "noop"), g = class g
|
|
33
|
+
}, LF = 10, CR = 13, SPACE = 32, HYPHEN = 45, COLON = 58, A = 97, Z = 122, lower = c((R) => R | 32, "lower"), noop = c(() => {}, "noop"), g = class g {
|
|
34
34
|
constructor(o) {
|
|
35
35
|
this.index = 0, this.flags = 0, this.onHeaderEnd = noop, this.onHeaderField = noop, this.onHeadersEnd = noop, this.onHeaderValue = noop, this.onPartBegin = noop, this.onPartData = noop, this.onPartEnd = noop, this.boundaryChars = {}, o = `\r
|
|
36
36
|
--` + o;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __commonJSMin, __require } from "../../../../../../../_virtual/
|
|
1
|
+
import { __commonJSMin, __require } from "../../../../../../../_virtual/_rolldown/runtime.mjs";
|
|
2
2
|
import { require_node_fetch_native_DhEqb06g } from "../shared/node-fetch-native.DhEqb06g.mjs";
|
|
3
3
|
import { require_node } from "../node.mjs";
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@ var require_multipart_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
28
28
|
const F = {
|
|
29
29
|
PART_BOUNDARY: f,
|
|
30
30
|
LAST_BOUNDARY: f *= 2
|
|
31
|
-
}, LF = 10, CR = 13, SPACE = 32, HYPHEN = 45, COLON = 58, A = 97, Z = 122, lower = c((R) => R | 32, "lower"), noop = c(() => {}, "noop"), g = class g
|
|
31
|
+
}, LF = 10, CR = 13, SPACE = 32, HYPHEN = 45, COLON = 58, A = 97, Z = 122, lower = c((R) => R | 32, "lower"), noop = c(() => {}, "noop"), g = class g {
|
|
32
32
|
constructor(o) {
|
|
33
33
|
this.index = 0, this.flags = 0, this.onHeaderEnd = noop, this.onHeaderField = noop, this.onHeadersEnd = noop, this.onHeaderValue = noop, this.onPartBegin = noop, this.onPartData = noop, this.onPartEnd = noop, this.boundaryChars = {}, o = `\r
|
|
34
34
|
--` + o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multipart-parser.mjs","names":["g"],"sources":["../../../../../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs"],"sourcesContent":["\"use strict\";var y=Object.defineProperty;var c=(R,o)=>y(R,\"name\",{value:o,configurable:!0});const node=require(\"../node.cjs\");require(\"node:http\"),require(\"node:https\"),require(\"node:zlib\"),require(\"node:stream\"),require(\"node:buffer\"),require(\"node:util\"),require(\"../shared/node-fetch-native.DhEqb06g.cjs\"),require(\"node:url\"),require(\"node:net\"),require(\"node:fs\"),require(\"node:path\");let s=0;const 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++};let f=1;const F={PART_BOUNDARY:f,LAST_BOUNDARY:f*=2},LF=10,CR=13,SPACE=32,HYPHEN=45,COLON=58,A=97,Z=122,lower=c(R=>R|32,\"lower\"),noop=c(()=>{},\"noop\"),g=class g{constructor(o){this.index=0,this.flags=0,this.onHeaderEnd=noop,this.onHeaderField=noop,this.onHeadersEnd=noop,this.onHeaderValue=noop,this.onPartBegin=noop,this.onPartData=noop,this.onPartEnd=noop,this.boundaryChars={},o=`\\r\n--`+o;const t=new Uint8Array(o.length);for(let n=0;n<o.length;n++)t[n]=o.charCodeAt(n),this.boundaryChars[t[n]]=!0;this.boundary=t,this.lookbehind=new Uint8Array(this.boundary.length+8),this.state=S.START_BOUNDARY}write(o){let t=0;const n=o.length;let E=this.index,{lookbehind:l,boundary:h,boundaryChars:H,index:e,state:a,flags:d}=this;const b=this.boundary.length,m=b-1,O=o.length;let r,P;const u=c(D=>{this[D+\"Mark\"]=t},\"mark\"),i=c(D=>{delete this[D+\"Mark\"]},\"clear\"),T=c((D,p,_,N)=>{(p===void 0||p!==_)&&this[D](N&&N.subarray(p,_))},\"callback\"),L=c((D,p)=>{const _=D+\"Mark\";_ in this&&(p?(T(D,this[_],t,o),delete this[_]):(T(D,this[_],o.length,o),this[_]=0))},\"dataCallback\");for(t=0;t<n;t++)switch(r=o[t],a){case S.START_BOUNDARY:if(e===h.length-2){if(r===HYPHEN)d|=F.LAST_BOUNDARY;else if(r!==CR)return;e++;break}else if(e-1===h.length-2){if(d&F.LAST_BOUNDARY&&r===HYPHEN)a=S.END,d=0;else if(!(d&F.LAST_BOUNDARY)&&r===LF)e=0,T(\"onPartBegin\"),a=S.HEADER_FIELD_START;else return;break}r!==h[e+2]&&(e=-2),r===h[e+2]&&e++;break;case S.HEADER_FIELD_START:a=S.HEADER_FIELD,u(\"onHeaderField\"),e=0;case S.HEADER_FIELD:if(r===CR){i(\"onHeaderField\"),a=S.HEADERS_ALMOST_DONE;break}if(e++,r===HYPHEN)break;if(r===COLON){if(e===1)return;L(\"onHeaderField\",!0),a=S.HEADER_VALUE_START;break}if(P=lower(r),P<A||P>Z)return;break;case S.HEADER_VALUE_START:if(r===SPACE)break;u(\"onHeaderValue\"),a=S.HEADER_VALUE;case S.HEADER_VALUE:r===CR&&(L(\"onHeaderValue\",!0),T(\"onHeaderEnd\"),a=S.HEADER_VALUE_ALMOST_DONE);break;case S.HEADER_VALUE_ALMOST_DONE:if(r!==LF)return;a=S.HEADER_FIELD_START;break;case S.HEADERS_ALMOST_DONE:if(r!==LF)return;T(\"onHeadersEnd\"),a=S.PART_DATA_START;break;case S.PART_DATA_START:a=S.PART_DATA,u(\"onPartData\");case S.PART_DATA:if(E=e,e===0){for(t+=m;t<O&&!(o[t]in H);)t+=b;t-=m,r=o[t]}if(e<h.length)h[e]===r?(e===0&&L(\"onPartData\",!0),e++):e=0;else if(e===h.length)e++,r===CR?d|=F.PART_BOUNDARY:r===HYPHEN?d|=F.LAST_BOUNDARY:e=0;else if(e-1===h.length)if(d&F.PART_BOUNDARY){if(e=0,r===LF){d&=~F.PART_BOUNDARY,T(\"onPartEnd\"),T(\"onPartBegin\"),a=S.HEADER_FIELD_START;break}}else d&F.LAST_BOUNDARY&&r===HYPHEN?(T(\"onPartEnd\"),a=S.END,d=0):e=0;if(e>0)l[e-1]=r;else if(E>0){const D=new Uint8Array(l.buffer,l.byteOffset,l.byteLength);T(\"onPartData\",0,E,D),E=0,u(\"onPartData\"),t--}break;case S.END:break;default:throw new Error(`Unexpected state entered: ${a}`)}L(\"onHeaderField\"),L(\"onHeaderValue\"),L(\"onPartData\"),this.index=e,this.state=a,this.flags=d}end(){if(this.state===S.HEADER_FIELD_START&&this.index===0||this.state===S.PART_DATA&&this.index===this.boundary.length)this.onPartEnd();else if(this.state!==S.END)throw new Error(\"MultipartParser.end(): stream ended unexpectedly\")}};c(g,\"MultipartParser\");let MultipartParser=g;function _fileName(R){const o=R.match(/\\bfilename=(\"(.*?)\"|([^()<>@,;:\\\\\"/[\\]?={}\\s\\t]+))($|;\\s)/i);if(!o)return;const t=o[2]||o[3]||\"\";let n=t.slice(t.lastIndexOf(\"\\\\\")+1);return n=n.replace(/%22/g,'\"'),n=n.replace(/&#(\\d{4});/g,(E,l)=>String.fromCharCode(l)),n}c(_fileName,\"_fileName\");async function toFormData(R,o){if(!/multipart/i.test(o))throw new TypeError(\"Failed to fetch\");const t=o.match(/boundary=(?:\"([^\"]+)\"|([^;]+))/i);if(!t)throw new TypeError(\"no or bad content-type header, no multipart boundary\");const n=new MultipartParser(t[1]||t[2]);let E,l,h,H,e,a;const d=[],b=new node.FormData,m=c(i=>{h+=u.decode(i,{stream:!0})},\"onPartData\"),O=c(i=>{d.push(i)},\"appendToFile\"),r=c(()=>{const i=new node.File(d,a,{type:e});b.append(H,i)},\"appendFileToFormData\"),P=c(()=>{b.append(H,h)},\"appendEntryToFormData\"),u=new TextDecoder(\"utf-8\");u.decode(),n.onPartBegin=function(){n.onPartData=m,n.onPartEnd=P,E=\"\",l=\"\",h=\"\",H=\"\",e=\"\",a=null,d.length=0},n.onHeaderField=function(i){E+=u.decode(i,{stream:!0})},n.onHeaderValue=function(i){l+=u.decode(i,{stream:!0})},n.onHeaderEnd=function(){if(l+=u.decode(),E=E.toLowerCase(),E===\"content-disposition\"){const i=l.match(/\\bname=(\"([^\"]*)\"|([^()<>@,;:\\\\\"/[\\]?={}\\s\\t]+))/i);i&&(H=i[2]||i[3]||\"\"),a=_fileName(l),a&&(n.onPartData=O,n.onPartEnd=r)}else E===\"content-type\"&&(e=l);l=\"\",E=\"\"};for await(const i of R)n.write(i);return n.end(),b}c(toFormData,\"toFormData\"),exports.toFormData=toFormData;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CAAa,IAAI,IAAE,OAAO;CAAe,IAAI,KAAG,GAAE,MAAI,EAAE,GAAE,QAAO;EAAC,OAAM;EAAE,cAAa,CAAC;EAAE,CAAC;CAAC,MAAM;AAA4B,WAAQ,YAAY,YAAS,aAAa,YAAS,YAAY,YAAS,cAAc,YAAS,cAAc,YAAS,YAAY,kDAA6D,WAAW,YAAS,WAAW,YAAS,UAAU,YAAS,YAAY;CAAC,IAAI,IAAE;CAAE,MAAM,IAAE;EAAC,gBAAe;EAAI,oBAAmB;EAAI,cAAa;EAAI,oBAAmB;EAAI,cAAa;EAAI,0BAAyB;EAAI,qBAAoB;EAAI,iBAAgB;EAAI,WAAU;EAAI,KAAI;EAAI;CAAC,IAAI,IAAE;CAAE,MAAM,IAAE;EAAC,eAAc;EAAE,eAAc,KAAG;EAAE,EAAC,KAAG,IAAG,KAAG,IAAG,QAAM,IAAG,SAAO,IAAG,QAAM,IAAG,IAAE,IAAG,IAAE,KAAI,QAAM,GAAE,MAAG,IAAE,IAAG,QAAQ,EAAC,OAAK,QAAM,IAAG,OAAO,EAAC,IAAE,MAAMA,IAAC;EAAC,YAAY,GAAE;AAAC,QAAK,QAAM,GAAE,KAAK,QAAM,GAAE,KAAK,cAAY,MAAK,KAAK,gBAAc,MAAK,KAAK,eAAa,MAAK,KAAK,gBAAc,MAAK,KAAK,cAAY,MAAK,KAAK,aAAW,MAAK,KAAK,YAAU,MAAK,KAAK,gBAAc,EAAE,EAAC,IAAE;MACn9B;GAAE,MAAM,IAAE,IAAI,WAAW,EAAE,OAAO;AAAC,QAAI,IAAI,IAAE,GAAE,IAAE,EAAE,QAAO,IAAI,GAAE,KAAG,EAAE,WAAW,EAAE,EAAC,KA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I,EAAE,MAAI,KAAI,IAAE,UAAU,EAAE,EAAC,MAAI,EAAE,aAAW,GAAE,EAAE,YAAU;SAAQ,OAAI,mBAAiB,IAAE;AAAG,OAAE,IAAG,IAAE;;AAAI,aAAU,MAAM,KAAK,EAAE,GAAE,MAAM,EAAE;AAAC,SAAO,EAAE,KAAK,EAAC;;AAAE,GAAE,YAAW,aAAa,EAAC,QAAQ,aAAW"}
|
|
1
|
+
{"version":3,"file":"multipart-parser.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs"],"sourcesContent":["\"use strict\";var y=Object.defineProperty;var c=(R,o)=>y(R,\"name\",{value:o,configurable:!0});const node=require(\"../node.cjs\");require(\"node:http\"),require(\"node:https\"),require(\"node:zlib\"),require(\"node:stream\"),require(\"node:buffer\"),require(\"node:util\"),require(\"../shared/node-fetch-native.DhEqb06g.cjs\"),require(\"node:url\"),require(\"node:net\"),require(\"node:fs\"),require(\"node:path\");let s=0;const 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++};let f=1;const F={PART_BOUNDARY:f,LAST_BOUNDARY:f*=2},LF=10,CR=13,SPACE=32,HYPHEN=45,COLON=58,A=97,Z=122,lower=c(R=>R|32,\"lower\"),noop=c(()=>{},\"noop\"),g=class g{constructor(o){this.index=0,this.flags=0,this.onHeaderEnd=noop,this.onHeaderField=noop,this.onHeadersEnd=noop,this.onHeaderValue=noop,this.onPartBegin=noop,this.onPartData=noop,this.onPartEnd=noop,this.boundaryChars={},o=`\\r\n--`+o;const t=new Uint8Array(o.length);for(let n=0;n<o.length;n++)t[n]=o.charCodeAt(n),this.boundaryChars[t[n]]=!0;this.boundary=t,this.lookbehind=new Uint8Array(this.boundary.length+8),this.state=S.START_BOUNDARY}write(o){let t=0;const n=o.length;let E=this.index,{lookbehind:l,boundary:h,boundaryChars:H,index:e,state:a,flags:d}=this;const b=this.boundary.length,m=b-1,O=o.length;let r,P;const u=c(D=>{this[D+\"Mark\"]=t},\"mark\"),i=c(D=>{delete this[D+\"Mark\"]},\"clear\"),T=c((D,p,_,N)=>{(p===void 0||p!==_)&&this[D](N&&N.subarray(p,_))},\"callback\"),L=c((D,p)=>{const _=D+\"Mark\";_ in this&&(p?(T(D,this[_],t,o),delete this[_]):(T(D,this[_],o.length,o),this[_]=0))},\"dataCallback\");for(t=0;t<n;t++)switch(r=o[t],a){case S.START_BOUNDARY:if(e===h.length-2){if(r===HYPHEN)d|=F.LAST_BOUNDARY;else if(r!==CR)return;e++;break}else if(e-1===h.length-2){if(d&F.LAST_BOUNDARY&&r===HYPHEN)a=S.END,d=0;else if(!(d&F.LAST_BOUNDARY)&&r===LF)e=0,T(\"onPartBegin\"),a=S.HEADER_FIELD_START;else return;break}r!==h[e+2]&&(e=-2),r===h[e+2]&&e++;break;case S.HEADER_FIELD_START:a=S.HEADER_FIELD,u(\"onHeaderField\"),e=0;case S.HEADER_FIELD:if(r===CR){i(\"onHeaderField\"),a=S.HEADERS_ALMOST_DONE;break}if(e++,r===HYPHEN)break;if(r===COLON){if(e===1)return;L(\"onHeaderField\",!0),a=S.HEADER_VALUE_START;break}if(P=lower(r),P<A||P>Z)return;break;case S.HEADER_VALUE_START:if(r===SPACE)break;u(\"onHeaderValue\"),a=S.HEADER_VALUE;case S.HEADER_VALUE:r===CR&&(L(\"onHeaderValue\",!0),T(\"onHeaderEnd\"),a=S.HEADER_VALUE_ALMOST_DONE);break;case S.HEADER_VALUE_ALMOST_DONE:if(r!==LF)return;a=S.HEADER_FIELD_START;break;case S.HEADERS_ALMOST_DONE:if(r!==LF)return;T(\"onHeadersEnd\"),a=S.PART_DATA_START;break;case S.PART_DATA_START:a=S.PART_DATA,u(\"onPartData\");case S.PART_DATA:if(E=e,e===0){for(t+=m;t<O&&!(o[t]in H);)t+=b;t-=m,r=o[t]}if(e<h.length)h[e]===r?(e===0&&L(\"onPartData\",!0),e++):e=0;else if(e===h.length)e++,r===CR?d|=F.PART_BOUNDARY:r===HYPHEN?d|=F.LAST_BOUNDARY:e=0;else if(e-1===h.length)if(d&F.PART_BOUNDARY){if(e=0,r===LF){d&=~F.PART_BOUNDARY,T(\"onPartEnd\"),T(\"onPartBegin\"),a=S.HEADER_FIELD_START;break}}else d&F.LAST_BOUNDARY&&r===HYPHEN?(T(\"onPartEnd\"),a=S.END,d=0):e=0;if(e>0)l[e-1]=r;else if(E>0){const D=new Uint8Array(l.buffer,l.byteOffset,l.byteLength);T(\"onPartData\",0,E,D),E=0,u(\"onPartData\"),t--}break;case S.END:break;default:throw new Error(`Unexpected state entered: ${a}`)}L(\"onHeaderField\"),L(\"onHeaderValue\"),L(\"onPartData\"),this.index=e,this.state=a,this.flags=d}end(){if(this.state===S.HEADER_FIELD_START&&this.index===0||this.state===S.PART_DATA&&this.index===this.boundary.length)this.onPartEnd();else if(this.state!==S.END)throw new Error(\"MultipartParser.end(): stream ended unexpectedly\")}};c(g,\"MultipartParser\");let MultipartParser=g;function _fileName(R){const o=R.match(/\\bfilename=(\"(.*?)\"|([^()<>@,;:\\\\\"/[\\]?={}\\s\\t]+))($|;\\s)/i);if(!o)return;const t=o[2]||o[3]||\"\";let n=t.slice(t.lastIndexOf(\"\\\\\")+1);return n=n.replace(/%22/g,'\"'),n=n.replace(/&#(\\d{4});/g,(E,l)=>String.fromCharCode(l)),n}c(_fileName,\"_fileName\");async function toFormData(R,o){if(!/multipart/i.test(o))throw new TypeError(\"Failed to fetch\");const t=o.match(/boundary=(?:\"([^\"]+)\"|([^;]+))/i);if(!t)throw new TypeError(\"no or bad content-type header, no multipart boundary\");const n=new MultipartParser(t[1]||t[2]);let E,l,h,H,e,a;const d=[],b=new node.FormData,m=c(i=>{h+=u.decode(i,{stream:!0})},\"onPartData\"),O=c(i=>{d.push(i)},\"appendToFile\"),r=c(()=>{const i=new node.File(d,a,{type:e});b.append(H,i)},\"appendFileToFormData\"),P=c(()=>{b.append(H,h)},\"appendEntryToFormData\"),u=new TextDecoder(\"utf-8\");u.decode(),n.onPartBegin=function(){n.onPartData=m,n.onPartEnd=P,E=\"\",l=\"\",h=\"\",H=\"\",e=\"\",a=null,d.length=0},n.onHeaderField=function(i){E+=u.decode(i,{stream:!0})},n.onHeaderValue=function(i){l+=u.decode(i,{stream:!0})},n.onHeaderEnd=function(){if(l+=u.decode(),E=E.toLowerCase(),E===\"content-disposition\"){const i=l.match(/\\bname=(\"([^\"]*)\"|([^()<>@,;:\\\\\"/[\\]?={}\\s\\t]+))/i);i&&(H=i[2]||i[3]||\"\"),a=_fileName(l),a&&(n.onPartData=O,n.onPartEnd=r)}else E===\"content-type\"&&(e=l);l=\"\",E=\"\"};for await(const i of R)n.write(i);return n.end(),b}c(toFormData,\"toFormData\"),exports.toFormData=toFormData;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CAAa,IAAI,IAAE,OAAO;CAAe,IAAI,KAAG,GAAE,MAAI,EAAE,GAAE,QAAO;EAAC,OAAM;EAAE,cAAa,CAAC;EAAE,CAAC;CAAC,MAAM;AAA4B,WAAQ,YAAY,YAAS,aAAa,YAAS,YAAY,YAAS,cAAc,YAAS,cAAc,YAAS,YAAY,kDAA6D,WAAW,YAAS,WAAW,YAAS,UAAU,YAAS,YAAY;CAAC,IAAI,IAAE;CAAE,MAAM,IAAE;EAAC,gBAAe;EAAI,oBAAmB;EAAI,cAAa;EAAI,oBAAmB;EAAI,cAAa;EAAI,0BAAyB;EAAI,qBAAoB;EAAI,iBAAgB;EAAI,WAAU;EAAI,KAAI;EAAI;CAAC,IAAI,IAAE;CAAE,MAAM,IAAE;EAAC,eAAc;EAAE,eAAc,KAAG;EAAE,EAAC,KAAG,IAAG,KAAG,IAAG,QAAM,IAAG,SAAO,IAAG,QAAM,IAAG,IAAE,IAAG,IAAE,KAAI,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E,EAAE,YAAU,GAAE,IAAE,IAAG,IAAE,IAAG,IAAE,IAAG,IAAE,IAAG,IAAE,IAAG,IAAE,MAAK,EAAE,SAAO;KAAG,EAAE,gBAAc,SAAS,GAAE;AAAC,QAAG,EAAE,OAAO,GAAE,EAAC,QAAO,CAAC,GAAE,CAAC;KAAE,EAAE,gBAAc,SAAS,GAAE;AAAC,QAAG,EAAE,OAAO,GAAE,EAAC,QAAO,CAAC,GAAE,CAAC;KAAE,EAAE,cAAY,WAAU;AAAC,OAAG,KAAG,EAAE,QAAQ,EAAC,IAAE,EAAE,aAAa,EAAC,MAAI,uBAAsB;IAAC,MAAM,IAAE,EAAE,MAAM,oDAAoD;AAAC,UAAI,IAAE,EAAE,MAAI,EAAE,MAAI,KAAI,IAAE,UAAU,EAAE,EAAC,MAAI,EAAE,aAAW,GAAE,EAAE,YAAU;SAAQ,OAAI,mBAAiB,IAAE;AAAG,OAAE,IAAG,IAAE;;AAAI,aAAU,MAAM,KAAK,EAAE,GAAE,MAAM,EAAE;AAAC,SAAO,EAAE,KAAK,EAAC;;AAAE,GAAE,YAAW,aAAa,EAAC,QAAQ,aAAW"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const require_runtime = require('../../../../../../_virtual/_rolldown/runtime.cjs');
|
|
4
4
|
const require_node_fetch_native_DhEqb06g$1 = require('./shared/node-fetch-native.DhEqb06g.cjs');
|
|
5
5
|
const require_node$1 = require('./node.cjs');
|
|
6
6
|
|
|
7
7
|
//#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs
|
|
8
|
-
var require_dist = /* @__PURE__ */
|
|
8
|
+
var require_dist = /* @__PURE__ */ require_runtime.__commonJSMin(((exports) => {
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
10
10
|
const node = require_node$1.default;
|
|
11
11
|
require("node:http"), require("node:https"), require("node:zlib"), require("node:stream"), require("node:buffer"), require("node:util"), require_node_fetch_native_DhEqb06g$1.default, require("node:url"), require("node:net"), require("node:fs"), require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __commonJSMin, __require } from "../../../../../../_virtual/
|
|
1
|
+
import { __commonJSMin, __require } from "../../../../../../_virtual/_rolldown/runtime.mjs";
|
|
2
2
|
import { require_node_fetch_native_DhEqb06g } from "./shared/node-fetch-native.DhEqb06g.mjs";
|
|
3
3
|
import { require_node } from "./node.mjs";
|
|
4
4
|
|
package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const require_runtime = require('../../../../../../_virtual/_rolldown/runtime.cjs');
|
|
4
4
|
const require_node_fetch_native_DhEqb06g$1 = require('./shared/node-fetch-native.DhEqb06g.cjs');
|
|
5
5
|
|
|
6
6
|
//#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs
|
|
7
|
-
var require_node = /* @__PURE__ */
|
|
7
|
+
var require_node = /* @__PURE__ */ require_runtime.__commonJSMin(((exports) => {
|
|
8
8
|
var ys = Object.defineProperty;
|
|
9
9
|
var Po = (c) => {
|
|
10
10
|
throw TypeError(c);
|
|
@@ -125,7 +125,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
u(H, "promiseCall");
|
|
128
|
-
const Y = 16384, Dr = class Dr
|
|
128
|
+
const Y = 16384, Dr = class Dr {
|
|
129
129
|
constructor() {
|
|
130
130
|
this._cursor = 0, this._size = 0, this._front = {
|
|
131
131
|
_elements: [],
|
|
@@ -286,7 +286,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
286
286
|
return !(o === void 0 || !ve(o));
|
|
287
287
|
}
|
|
288
288
|
u(mn, "ReadableStreamHasDefaultReader");
|
|
289
|
-
const Mr = class Mr
|
|
289
|
+
const Mr = class Mr {
|
|
290
290
|
constructor(o) {
|
|
291
291
|
if (Se(o, 1, "ReadableStreamDefaultReader"), lr(o, "First parameter"), ke(o)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
|
|
292
292
|
ln(this, o), this._readRequests = new Q();
|
|
@@ -357,7 +357,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
357
357
|
return /* @__PURE__ */ new TypeError(`ReadableStreamDefaultReader.prototype.${n} can only be used on a ReadableStreamDefaultReader`);
|
|
358
358
|
}
|
|
359
359
|
u(Ct, "defaultReaderBrandCheckException");
|
|
360
|
-
const zo = Object.getPrototypeOf(Object.getPrototypeOf(async function* () {}).prototype), xr = class xr
|
|
360
|
+
const zo = Object.getPrototypeOf(Object.getPrototypeOf(async function* () {}).prototype), xr = class xr {
|
|
361
361
|
constructor(o, a) {
|
|
362
362
|
this._ongoingPromise = void 0, this._isFinished = !1, this._reader = o, this._preventCancel = a;
|
|
363
363
|
}
|
|
@@ -555,7 +555,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
555
555
|
return vn(n) ? 1 : n.BYTES_PER_ELEMENT;
|
|
556
556
|
}
|
|
557
557
|
u(Uo, "arrayBufferViewElementSize");
|
|
558
|
-
const Ur = class Ur
|
|
558
|
+
const Ur = class Ur {
|
|
559
559
|
constructor() {
|
|
560
560
|
throw new TypeError("Illegal constructor");
|
|
561
561
|
}
|
|
@@ -587,7 +587,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
587
587
|
value: "ReadableStreamBYOBRequest",
|
|
588
588
|
configurable: !0
|
|
589
589
|
});
|
|
590
|
-
const Nr = class Nr
|
|
590
|
+
const Nr = class Nr {
|
|
591
591
|
constructor() {
|
|
592
592
|
throw new TypeError("Illegal constructor");
|
|
593
593
|
}
|
|
@@ -1005,7 +1005,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
1005
1005
|
return !(o === void 0 || !Ie(o));
|
|
1006
1006
|
}
|
|
1007
1007
|
u(Tr, "ReadableStreamHasBYOBReader");
|
|
1008
|
-
const Hr = class Hr
|
|
1008
|
+
const Hr = class Hr {
|
|
1009
1009
|
constructor(o) {
|
|
1010
1010
|
if (Se(o, 1, "ReadableStreamBYOBReader"), lr(o, "First parameter"), ke(o)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
|
|
1011
1011
|
if (!ze(o._readableStreamController)) throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");
|
|
@@ -1163,7 +1163,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
1163
1163
|
if (li) return new AbortController();
|
|
1164
1164
|
}
|
|
1165
1165
|
u(fi, "createAbortController");
|
|
1166
|
-
const Vr = class Vr
|
|
1166
|
+
const Vr = class Vr {
|
|
1167
1167
|
constructor(o = {}, a = {}) {
|
|
1168
1168
|
o === void 0 ? o = null : hn(o, "First parameter");
|
|
1169
1169
|
const p = zt(a, "Second parameter"), y = ni(o, "First parameter");
|
|
@@ -1339,7 +1339,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
1339
1339
|
a !== void 0 && o !== n._backpressure && (o ? Wi(a) : Or(a)), n._backpressure = o;
|
|
1340
1340
|
}
|
|
1341
1341
|
u(Er, "WritableStreamUpdateBackpressure");
|
|
1342
|
-
const Qr = class Qr
|
|
1342
|
+
const Qr = class Qr {
|
|
1343
1343
|
constructor(o) {
|
|
1344
1344
|
if (Se(o, 1, "WritableStreamDefaultWriter"), Un(o, "First parameter"), Qe(o)) throw new TypeError("This stream has already been locked for exclusive writing by another writer");
|
|
1345
1345
|
this._ownerWritableStream = o, o._writer = this;
|
|
@@ -1441,7 +1441,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
1441
1441
|
return Ei(p, o, y), S;
|
|
1442
1442
|
}
|
|
1443
1443
|
u(Zn, "WritableStreamDefaultWriterWrite");
|
|
1444
|
-
const Kn = {}, Yr = class Yr
|
|
1444
|
+
const Kn = {}, Yr = class Yr {
|
|
1445
1445
|
constructor() {
|
|
1446
1446
|
throw new TypeError("Illegal constructor");
|
|
1447
1447
|
}
|
|
@@ -1746,7 +1746,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
1746
1746
|
});
|
|
1747
1747
|
}
|
|
1748
1748
|
u(io, "ReadableStreamPipeTo");
|
|
1749
|
-
const Gr = class Gr
|
|
1749
|
+
const Gr = class Gr {
|
|
1750
1750
|
constructor() {
|
|
1751
1751
|
throw new TypeError("Illegal constructor");
|
|
1752
1752
|
}
|
|
@@ -2164,7 +2164,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
2164
2164
|
};
|
|
2165
2165
|
}
|
|
2166
2166
|
u(ts, "convertReadableWritablePair");
|
|
2167
|
-
const Zr = class Zr
|
|
2167
|
+
const Zr = class Zr {
|
|
2168
2168
|
constructor(o = {}, a = {}) {
|
|
2169
2169
|
o === void 0 ? o = null : hn(o, "First parameter");
|
|
2170
2170
|
const p = zt(a, "Second parameter"), y = Yi(o, "First parameter");
|
|
@@ -2309,7 +2309,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
2309
2309
|
u(co, "convertQueuingStrategyInit");
|
|
2310
2310
|
const ho = u((n) => n.byteLength, "byteLengthSizeFunction");
|
|
2311
2311
|
w(ho, "size");
|
|
2312
|
-
const Kr = class Kr
|
|
2312
|
+
const Kr = class Kr {
|
|
2313
2313
|
constructor(o) {
|
|
2314
2314
|
Se(o, 1, "ByteLengthQueuingStrategy"), o = co(o, "First parameter"), this._byteLengthQueuingStrategyHighWaterMark = o.highWaterMark;
|
|
2315
2315
|
}
|
|
@@ -2341,7 +2341,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
2341
2341
|
u(bo, "IsByteLengthQueuingStrategy");
|
|
2342
2342
|
const mo = u(() => 1, "countSizeFunction");
|
|
2343
2343
|
w(mo, "size");
|
|
2344
|
-
const Jr = class Jr
|
|
2344
|
+
const Jr = class Jr {
|
|
2345
2345
|
constructor(o) {
|
|
2346
2346
|
Se(o, 1, "CountQueuingStrategy"), o = co(o, "First parameter"), this._countQueuingStrategyHighWaterMark = o.highWaterMark;
|
|
2347
2347
|
}
|
|
@@ -2400,7 +2400,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
2400
2400
|
return ee(n, a), (p) => H(n, o, [p]);
|
|
2401
2401
|
}
|
|
2402
2402
|
u(ss, "convertTransformerCancelCallback");
|
|
2403
|
-
const Xr = class Xr
|
|
2403
|
+
const Xr = class Xr {
|
|
2404
2404
|
constructor(o = {}, a = {}, p = {}) {
|
|
2405
2405
|
o === void 0 && (o = null);
|
|
2406
2406
|
const y = zt(a, "Second parameter"), _ = zt(p, "Third parameter"), S = rs(o, "First parameter");
|
|
@@ -2480,7 +2480,7 @@ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((expo
|
|
|
2480
2480
|
}), n._backpressure = o;
|
|
2481
2481
|
}
|
|
2482
2482
|
u(Ht, "TransformStreamSetBackpressure");
|
|
2483
|
-
const en = class en
|
|
2483
|
+
const en = class en {
|
|
2484
2484
|
constructor() {
|
|
2485
2485
|
throw new TypeError("Illegal constructor");
|
|
2486
2486
|
}
|
|
@@ -2858,7 +2858,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
2858
2858
|
`)), g.push(`--${d}--`), new l(g, { type: "multipart/form-data; boundary=" + d });
|
|
2859
2859
|
}
|
|
2860
2860
|
u(formDataToBlob, "formDataToBlob");
|
|
2861
|
-
const rn = class rn
|
|
2861
|
+
const rn = class rn extends Error {
|
|
2862
2862
|
constructor(l, d) {
|
|
2863
2863
|
super(l), Error.captureStackTrace(this, this.constructor), this.type = d;
|
|
2864
2864
|
}
|
|
@@ -2871,7 +2871,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
2871
2871
|
};
|
|
2872
2872
|
u(rn, "FetchBaseError");
|
|
2873
2873
|
let FetchBaseError = rn;
|
|
2874
|
-
const nn = class nn
|
|
2874
|
+
const nn = class nn extends FetchBaseError {
|
|
2875
2875
|
constructor(l, d, g) {
|
|
2876
2876
|
super(l, d), g && (this.code = this.errno = g.code, this.erroredSysCall = g.syscall);
|
|
2877
2877
|
}
|
|
@@ -2883,7 +2883,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
2883
2883
|
return d === g || d.endsWith(`.${g}`);
|
|
2884
2884
|
}, "isDomainOrSubdomain"), isSameProtocol = u((c, l) => {
|
|
2885
2885
|
return new URL(l).protocol === new URL(c).protocol;
|
|
2886
|
-
}, "isSameProtocol"), pipeline = require$$0$1.promisify(Stream__default.pipeline), INTERNALS$2 = Symbol("Body internals"), on = class on
|
|
2886
|
+
}, "isSameProtocol"), pipeline = require$$0$1.promisify(Stream__default.pipeline), INTERNALS$2 = Symbol("Body internals"), on = class on {
|
|
2887
2887
|
constructor(l, { size: d = 0 } = {}) {
|
|
2888
2888
|
let g = null;
|
|
2889
2889
|
l === null ? l = null : isURLSearchParameters(l) ? l = require$$0.Buffer.from(l.toString()) : isBlob(l) || require$$0.Buffer.isBuffer(l) || (require$$0$1.types.isAnyArrayBuffer(l) ? l = require$$0.Buffer.from(l) : ArrayBuffer.isView(l) ? l = require$$0.Buffer.from(l.buffer, l.byteOffset, l.byteLength) : l instanceof Stream__default || (l instanceof FormData ? (l = formDataToBlob(l), g = l.type.split("=")[1]) : l = require$$0.Buffer.from(String(l))));
|
|
@@ -2916,7 +2916,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
2916
2916
|
for (const [R, w] of b) g.append(R, w);
|
|
2917
2917
|
return g;
|
|
2918
2918
|
}
|
|
2919
|
-
const { toFormData: d } = await Promise.resolve().then(() =>
|
|
2919
|
+
const { toFormData: d } = await Promise.resolve().then(() => /* @__PURE__ */ require_runtime.__toESM(require("./chunks/multipart-parser.cjs").default, 1));
|
|
2920
2920
|
return d(this.body, l);
|
|
2921
2921
|
}
|
|
2922
2922
|
async blob() {
|
|
@@ -2991,10 +2991,10 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
2991
2991
|
const d = /* @__PURE__ */ new TypeError(`Invalid character in header content ["${c}"]`);
|
|
2992
2992
|
throw Object.defineProperty(d, "code", { value: "ERR_INVALID_CHAR" }), d;
|
|
2993
2993
|
}
|
|
2994
|
-
}, Kt = class Kt
|
|
2994
|
+
}, Kt = class Kt extends URLSearchParams {
|
|
2995
2995
|
constructor(l) {
|
|
2996
2996
|
let d = [];
|
|
2997
|
-
if (l instanceof Kt
|
|
2997
|
+
if (l instanceof Kt) {
|
|
2998
2998
|
const g = l.raw();
|
|
2999
2999
|
for (const [b, R] of Object.entries(g)) d.push(...R.map((w) => [b, w]));
|
|
3000
3000
|
} else if (l != null) if (typeof l == "object" && !require$$0$1.types.isBoxedPrimitive(l)) {
|
|
@@ -3085,7 +3085,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
3085
3085
|
303,
|
|
3086
3086
|
307,
|
|
3087
3087
|
308
|
|
3088
|
-
]), isRedirect = u((c) => redirectStatus.has(c), "isRedirect"), INTERNALS$1 = Symbol("Response internals"), Me = class Me
|
|
3088
|
+
]), isRedirect = u((c) => redirectStatus.has(c), "isRedirect"), INTERNALS$1 = Symbol("Response internals"), Me = class Me extends Body {
|
|
3089
3089
|
constructor(l = null, d = {}) {
|
|
3090
3090
|
super(l, d);
|
|
3091
3091
|
const g = d.status != null ? d.status : 200, b = new Headers(d.headers);
|
|
@@ -3128,7 +3128,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
3128
3128
|
return this[INTERNALS$1].highWaterMark;
|
|
3129
3129
|
}
|
|
3130
3130
|
clone() {
|
|
3131
|
-
return new Me
|
|
3131
|
+
return new Me(clone(this, this.highWaterMark), {
|
|
3132
3132
|
type: this.type,
|
|
3133
3133
|
url: this.url,
|
|
3134
3134
|
status: this.status,
|
|
@@ -3142,13 +3142,13 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
3142
3142
|
}
|
|
3143
3143
|
static redirect(l, d = 302) {
|
|
3144
3144
|
if (!isRedirect(d)) throw new RangeError("Failed to execute \"redirect\" on \"response\": Invalid status code");
|
|
3145
|
-
return new Me
|
|
3145
|
+
return new Me(null, {
|
|
3146
3146
|
headers: { location: new URL(l).toString() },
|
|
3147
3147
|
status: d
|
|
3148
3148
|
});
|
|
3149
3149
|
}
|
|
3150
3150
|
static error() {
|
|
3151
|
-
const l = new Me
|
|
3151
|
+
const l = new Me(null, {
|
|
3152
3152
|
status: 0,
|
|
3153
3153
|
statusText: ""
|
|
3154
3154
|
});
|
|
@@ -3158,7 +3158,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
3158
3158
|
const g = JSON.stringify(l);
|
|
3159
3159
|
if (g === void 0) throw new TypeError("data is not JSON serializable");
|
|
3160
3160
|
const b = new Headers(d && d.headers);
|
|
3161
|
-
return b.has("content-type") || b.set("content-type", "application/json"), new Me
|
|
3161
|
+
return b.has("content-type") || b.set("content-type", "application/json"), new Me(g, {
|
|
3162
3162
|
...d,
|
|
3163
3163
|
headers: b
|
|
3164
3164
|
});
|
|
@@ -3242,7 +3242,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
3242
3242
|
return d;
|
|
3243
3243
|
}
|
|
3244
3244
|
u(parseReferrerPolicyFromHeader, "parseReferrerPolicyFromHeader");
|
|
3245
|
-
const INTERNALS = Symbol("Request internals"), isRequest = u((c) => typeof c == "object" && typeof c[INTERNALS] == "object", "isRequest"), doBadDataWarn = require$$0$1.deprecate(() => {}, ".data is not a valid RequestInit property, use .body instead", "https://github.com/node-fetch/node-fetch/issues/1000 (request)"), Jt = class Jt
|
|
3245
|
+
const INTERNALS = Symbol("Request internals"), isRequest = u((c) => typeof c == "object" && typeof c[INTERNALS] == "object", "isRequest"), doBadDataWarn = require$$0$1.deprecate(() => {}, ".data is not a valid RequestInit property, use .body instead", "https://github.com/node-fetch/node-fetch/issues/1000 (request)"), Jt = class Jt extends Body {
|
|
3246
3246
|
constructor(l, d = {}) {
|
|
3247
3247
|
let g;
|
|
3248
3248
|
if (isRequest(l) ? g = new URL(l.url) : (g = new URL(l), l = {}), g.username !== "" || g.password !== "") throw new TypeError(`${g} is an url with embedded credentials.`);
|
|
@@ -3299,7 +3299,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
3299
3299
|
this[INTERNALS].referrerPolicy = validateReferrerPolicy(l);
|
|
3300
3300
|
}
|
|
3301
3301
|
clone() {
|
|
3302
|
-
return new Jt
|
|
3302
|
+
return new Jt(this);
|
|
3303
3303
|
}
|
|
3304
3304
|
get [Symbol.toStringTag]() {
|
|
3305
3305
|
return "Request";
|
|
@@ -3339,7 +3339,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
3339
3339
|
agent: b
|
|
3340
3340
|
}
|
|
3341
3341
|
};
|
|
3342
|
-
}, "getNodeRequestOptions"), sn = class sn
|
|
3342
|
+
}, "getNodeRequestOptions"), sn = class sn extends FetchBaseError {
|
|
3343
3343
|
constructor(l, d = "aborted") {
|
|
3344
3344
|
super(l, d);
|
|
3345
3345
|
}
|
|
@@ -3372,14 +3372,14 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
3372
3372
|
})], node_path.basename(l), {
|
|
3373
3373
|
type: d,
|
|
3374
3374
|
lastModified: c.mtimeMs
|
|
3375
|
-
}), "fromFile"), Xt = class Xt
|
|
3375
|
+
}), "fromFile"), Xt = class Xt {
|
|
3376
3376
|
constructor(l) {
|
|
3377
3377
|
ye(this, xe);
|
|
3378
3378
|
ye(this, Ue);
|
|
3379
3379
|
ne(this, xe, l.path), ne(this, Ue, l.start), this.size = l.size, this.lastModified = l.lastModified;
|
|
3380
3380
|
}
|
|
3381
3381
|
slice(l, d) {
|
|
3382
|
-
return new Xt
|
|
3382
|
+
return new Xt({
|
|
3383
3383
|
path: D(this, xe),
|
|
3384
3384
|
lastModified: this.lastModified,
|
|
3385
3385
|
size: d - l,
|
|
@@ -3895,7 +3895,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
3895
3895
|
configurable: !0,
|
|
3896
3896
|
writable: !0
|
|
3897
3897
|
}), typeof window < "u" && typeof window.EventTarget < "u" && Object.setPrototypeOf(EventTarget.prototype, window.EventTarget.prototype);
|
|
3898
|
-
const an = class an
|
|
3898
|
+
const an = class an extends EventTarget {
|
|
3899
3899
|
constructor() {
|
|
3900
3900
|
throw super(), /* @__PURE__ */ new TypeError("AbortSignal cannot be constructed directly");
|
|
3901
3901
|
}
|