@powerlines/plugin-env 0.16.66 → 0.16.68

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.
Files changed (142) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +0 -2
  2. package/dist/_virtual/_rolldown/runtime.mjs +2 -31
  3. package/dist/babel/plugin.cjs +83 -11
  4. package/dist/babel/plugin.mjs +83 -11
  5. package/dist/babel/plugin.mjs.map +1 -1
  6. package/dist/components/env-builtin.cjs +1 -1
  7. package/dist/components/env-builtin.mjs +1 -1
  8. package/dist/helpers/automd-generator.cjs +14 -4
  9. package/dist/helpers/automd-generator.d.mts +1 -1
  10. package/dist/helpers/automd-generator.mjs +14 -4
  11. package/dist/helpers/automd-generator.mjs.map +1 -1
  12. package/dist/helpers/create-reflection-resource.cjs +8 -0
  13. package/dist/helpers/create-reflection-resource.mjs +9 -0
  14. package/dist/helpers/create-reflection-resource.mjs.map +1 -1
  15. package/dist/helpers/docs-helper.cjs +8 -0
  16. package/dist/helpers/docs-helper.mjs +8 -0
  17. package/dist/helpers/docs-helper.mjs.map +1 -1
  18. package/dist/helpers/index.cjs +1 -0
  19. package/dist/helpers/index.mjs +2 -2
  20. package/dist/helpers/load.cjs +61 -10
  21. package/dist/helpers/load.mjs +60 -9
  22. package/dist/helpers/load.mjs.map +1 -1
  23. package/dist/helpers/persistence.cjs +108 -1
  24. package/dist/helpers/persistence.mjs +108 -1
  25. package/dist/helpers/persistence.mjs.map +1 -1
  26. package/dist/helpers/reflect.cjs +156 -3
  27. package/dist/helpers/reflect.mjs +156 -4
  28. package/dist/helpers/reflect.mjs.map +1 -1
  29. package/dist/helpers/source-file-env.cjs +34 -4
  30. package/dist/helpers/source-file-env.mjs +34 -4
  31. package/dist/helpers/source-file-env.mjs.map +1 -1
  32. package/dist/helpers/template-helpers.cjs +33 -5
  33. package/dist/helpers/template-helpers.mjs +33 -5
  34. package/dist/helpers/template-helpers.mjs.map +1 -1
  35. package/dist/types/index.cjs +11 -0
  36. package/dist/types/index.mjs +4 -1
  37. package/dist/types/plugin.cjs +137 -0
  38. package/dist/types/plugin.d.mts +4 -4
  39. package/dist/types/plugin.mjs +132 -1
  40. package/dist/types/plugin.mjs.map +1 -0
  41. package/dist/types/runtime.cjs +244 -0
  42. package/dist/types/runtime.mjs +242 -1
  43. package/dist/types/runtime.mjs.map +1 -0
  44. package/package.json +11 -26
  45. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.cjs +0 -346
  46. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs +0 -347
  47. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs.map +0 -1
  48. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.cjs +0 -23
  49. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs +0 -23
  50. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs.map +0 -1
  51. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.cjs +0 -10
  52. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs +0 -11
  53. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs.map +0 -1
  54. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.cjs +0 -1060
  55. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs +0 -1060
  56. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs.map +0 -1
  57. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.cjs +0 -761
  58. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs +0 -761
  59. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs.map +0 -1
  60. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.cjs +0 -388
  61. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs +0 -388
  62. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs.map +0 -1
  63. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.cjs +0 -639
  64. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs +0 -639
  65. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs.map +0 -1
  66. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.cjs +0 -17
  67. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs +0 -15
  68. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs.map +0 -1
  69. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.cjs +0 -13
  70. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs +0 -14
  71. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs.map +0 -1
  72. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.cjs +0 -11
  73. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs +0 -12
  74. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs.map +0 -1
  75. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/toml.cjs +0 -11
  76. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/toml.mjs +0 -12
  77. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/toml.mjs.map +0 -1
  78. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.cjs +0 -11
  79. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs +0 -12
  80. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs.map +0 -1
  81. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +0 -46
  82. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs +0 -46
  83. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs.map +0 -1
  84. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.cjs +0 -285
  85. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs +0 -283
  86. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs.map +0 -1
  87. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.cjs +0 -71
  88. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs +0 -69
  89. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs.map +0 -1
  90. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +0 -1013
  91. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +0 -1008
  92. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +0 -1
  93. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +0 -23
  94. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +0 -10
  95. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs.map +0 -1
  96. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +0 -2695
  97. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +0 -2682
  98. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs.map +0 -1
  99. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +0 -4457
  100. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +0 -4455
  101. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs.map +0 -1
  102. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +0 -29
  103. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +0 -30
  104. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs.map +0 -1
  105. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +0 -181
  106. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +0 -177
  107. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +0 -1
  108. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +0 -22
  109. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +0 -18
  110. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs.map +0 -1
  111. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +0 -3967
  112. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +0 -3963
  113. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +0 -1
  114. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +0 -11766
  115. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +0 -11762
  116. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs.map +0 -1
  117. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +0 -25
  118. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +0 -21
  119. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs.map +0 -1
  120. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +0 -20
  121. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +0 -18
  122. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs.map +0 -1
  123. package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.cjs +0 -178
  124. package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs +0 -176
  125. package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs.map +0 -1
  126. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +0 -13
  127. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs +0 -13
  128. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs.map +0 -1
  129. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.cjs +0 -3
  130. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs +0 -3
  131. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs +0 -145
  132. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +0 -139
  133. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs.map +0 -1
  134. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +0 -128
  135. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +0 -127
  136. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +0 -1
  137. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +0 -138
  138. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +0 -137
  139. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs.map +0 -1
  140. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +0 -629
  141. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +0 -628
  142. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs.map +0 -1
@@ -1,29 +0,0 @@
1
- const require_runtime = require('../../../../../../_virtual/_rolldown/runtime.cjs');
2
- const require_jiti$1 = require('../dist/jiti.cjs');
3
- let node_module = require("node:module");
4
-
5
- //#region ../../node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs
6
- var import_jiti = /* @__PURE__ */ require_runtime.__toESM(require_jiti$1.default, 1);
7
- function onError(err) {
8
- throw err;
9
- }
10
- const nativeImport = (id) => import(id);
11
- let _transform;
12
- function lazyTransform(...args) {
13
- if (!_transform) _transform = (0, node_module.createRequire)(require("url").pathToFileURL(__filename).href)("../dist/babel.cjs");
14
- return _transform(...args);
15
- }
16
- function createJiti(id, opts = {}) {
17
- if (!opts.transform) opts = {
18
- ...opts,
19
- transform: lazyTransform
20
- };
21
- return (0, import_jiti.default)(id, opts, {
22
- onError,
23
- nativeImport,
24
- createRequire: node_module.createRequire
25
- });
26
- }
27
-
28
- //#endregion
29
- exports.default = createJiti;
@@ -1,30 +0,0 @@
1
- import { __toESM } from "../../../../../../_virtual/_rolldown/runtime.mjs";
2
- import { require_jiti } from "../dist/jiti.mjs";
3
- import { createRequire } from "node:module";
4
-
5
- //#region ../../node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs
6
- var import_jiti = /* @__PURE__ */ __toESM(require_jiti(), 1);
7
- function onError(err) {
8
- throw err;
9
- }
10
- const nativeImport = (id) => import(id);
11
- let _transform;
12
- function lazyTransform(...args) {
13
- if (!_transform) _transform = createRequire(import.meta.url)("../dist/babel.cjs");
14
- return _transform(...args);
15
- }
16
- function createJiti(id, opts = {}) {
17
- if (!opts.transform) opts = {
18
- ...opts,
19
- transform: lazyTransform
20
- };
21
- return (0, import_jiti.default)(id, opts, {
22
- onError,
23
- nativeImport,
24
- createRequire
25
- });
26
- }
27
-
28
- //#endregion
29
- export { createJiti as default };
30
- //# sourceMappingURL=jiti.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jiti.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs"],"sourcesContent":["import { createRequire } from \"node:module\";\nimport _createJiti from \"../dist/jiti.cjs\";\n\nfunction onError(err) {\n throw err; /* ↓ Check stack trace ↓ */\n}\n\nconst nativeImport = (id) => import(id);\n\nlet _transform;\nfunction lazyTransform(...args) {\n if (!_transform) {\n _transform = createRequire(import.meta.url)(\"../dist/babel.cjs\");\n }\n return _transform(...args);\n}\n\nexport function createJiti(id, opts = {}) {\n if (!opts.transform) {\n opts = { ...opts, transform: lazyTransform };\n }\n return _createJiti(id, opts, {\n onError,\n nativeImport,\n createRequire,\n });\n}\n\nexport default createJiti;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAGA,SAAS,QAAQ,KAAK;AACpB,OAAM;;AAGR,MAAM,gBAAgB,OAAO,OAAO;AAEpC,IAAI;AACJ,SAAS,cAAc,GAAG,MAAM;AAC9B,KAAI,CAAC,WACH,cAAa,cAAc,OAAO,KAAK,IAAI,CAAC,oBAAoB;AAElE,QAAO,WAAW,GAAG,KAAK;;AAG5B,SAAgB,WAAW,IAAI,OAAO,EAAE,EAAE;AACxC,KAAI,CAAC,KAAK,UACR,QAAO;EAAE,GAAG;EAAM,WAAW;EAAe;AAE9C,iCAAmB,IAAI,MAAM;EAC3B;EACA;EACA;EACD,CAAC"}
@@ -1,181 +0,0 @@
1
- "use strict";
2
-
3
- const require_runtime = require('../../../../../../../_virtual/_rolldown/runtime.cjs');
4
- const require_node_fetch_native_DhEqb06g$1 = require('../shared/node-fetch-native.DhEqb06g.cjs');
5
- const require_node$1 = require('../node.cjs');
6
-
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__ */ require_runtime.__commonJSMin(((exports) => {
9
- var y = Object.defineProperty;
10
- var c = (R, o) => y(R, "name", {
11
- value: o,
12
- configurable: !0
13
- });
14
- const node = require_node$1.default;
15
- 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");
16
- let s = 0;
17
- const S = {
18
- START_BOUNDARY: s++,
19
- HEADER_FIELD_START: s++,
20
- HEADER_FIELD: s++,
21
- HEADER_VALUE_START: s++,
22
- HEADER_VALUE: s++,
23
- HEADER_VALUE_ALMOST_DONE: s++,
24
- HEADERS_ALMOST_DONE: s++,
25
- PART_DATA_START: s++,
26
- PART_DATA: s++,
27
- END: s++
28
- };
29
- let f = 1;
30
- const F = {
31
- PART_BOUNDARY: f,
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 {
34
- constructor(o) {
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
- --` + o;
37
- const t = new Uint8Array(o.length);
38
- for (let n = 0; n < o.length; n++) t[n] = o.charCodeAt(n), this.boundaryChars[t[n]] = !0;
39
- this.boundary = t, this.lookbehind = new Uint8Array(this.boundary.length + 8), this.state = S.START_BOUNDARY;
40
- }
41
- write(o) {
42
- let t = 0;
43
- const n = o.length;
44
- let E = this.index, { lookbehind: l, boundary: h, boundaryChars: H, index: e, state: a, flags: d } = this;
45
- const b = this.boundary.length, m = b - 1, O = o.length;
46
- let r, P;
47
- const u = c((D) => {
48
- this[D + "Mark"] = t;
49
- }, "mark"), i = c((D) => {
50
- delete this[D + "Mark"];
51
- }, "clear"), T = c((D, p, _, N) => {
52
- (p === void 0 || p !== _) && this[D](N && N.subarray(p, _));
53
- }, "callback"), L = c((D, p) => {
54
- const _ = D + "Mark";
55
- _ in this && (p ? (T(D, this[_], t, o), delete this[_]) : (T(D, this[_], o.length, o), this[_] = 0));
56
- }, "dataCallback");
57
- for (t = 0; t < n; t++) switch (r = o[t], a) {
58
- case S.START_BOUNDARY:
59
- if (e === h.length - 2) {
60
- if (r === HYPHEN) d |= F.LAST_BOUNDARY;
61
- else if (r !== CR) return;
62
- e++;
63
- break;
64
- } else if (e - 1 === h.length - 2) {
65
- if (d & F.LAST_BOUNDARY && r === HYPHEN) a = S.END, d = 0;
66
- else if (!(d & F.LAST_BOUNDARY) && r === LF) e = 0, T("onPartBegin"), a = S.HEADER_FIELD_START;
67
- else return;
68
- break;
69
- }
70
- r !== h[e + 2] && (e = -2), r === h[e + 2] && e++;
71
- break;
72
- case S.HEADER_FIELD_START: a = S.HEADER_FIELD, u("onHeaderField"), e = 0;
73
- case S.HEADER_FIELD:
74
- if (r === CR) {
75
- i("onHeaderField"), a = S.HEADERS_ALMOST_DONE;
76
- break;
77
- }
78
- if (e++, r === HYPHEN) break;
79
- if (r === COLON) {
80
- if (e === 1) return;
81
- L("onHeaderField", !0), a = S.HEADER_VALUE_START;
82
- break;
83
- }
84
- if (P = lower(r), P < A || P > Z) return;
85
- break;
86
- case S.HEADER_VALUE_START:
87
- if (r === SPACE) break;
88
- u("onHeaderValue"), a = S.HEADER_VALUE;
89
- case S.HEADER_VALUE:
90
- r === CR && (L("onHeaderValue", !0), T("onHeaderEnd"), a = S.HEADER_VALUE_ALMOST_DONE);
91
- break;
92
- case S.HEADER_VALUE_ALMOST_DONE:
93
- if (r !== LF) return;
94
- a = S.HEADER_FIELD_START;
95
- break;
96
- case S.HEADERS_ALMOST_DONE:
97
- if (r !== LF) return;
98
- T("onHeadersEnd"), a = S.PART_DATA_START;
99
- break;
100
- case S.PART_DATA_START: a = S.PART_DATA, u("onPartData");
101
- case S.PART_DATA:
102
- if (E = e, e === 0) {
103
- for (t += m; t < O && !(o[t] in H);) t += b;
104
- t -= m, r = o[t];
105
- }
106
- if (e < h.length) h[e] === r ? (e === 0 && L("onPartData", !0), e++) : e = 0;
107
- else if (e === h.length) e++, r === CR ? d |= F.PART_BOUNDARY : r === HYPHEN ? d |= F.LAST_BOUNDARY : e = 0;
108
- else if (e - 1 === h.length) if (d & F.PART_BOUNDARY) {
109
- if (e = 0, r === LF) {
110
- d &= ~F.PART_BOUNDARY, T("onPartEnd"), T("onPartBegin"), a = S.HEADER_FIELD_START;
111
- break;
112
- }
113
- } else d & F.LAST_BOUNDARY && r === HYPHEN ? (T("onPartEnd"), a = S.END, d = 0) : e = 0;
114
- if (e > 0) l[e - 1] = r;
115
- else if (E > 0) {
116
- const D = new Uint8Array(l.buffer, l.byteOffset, l.byteLength);
117
- T("onPartData", 0, E, D), E = 0, u("onPartData"), t--;
118
- }
119
- break;
120
- case S.END: break;
121
- default: throw new Error(`Unexpected state entered: ${a}`);
122
- }
123
- L("onHeaderField"), L("onHeaderValue"), L("onPartData"), this.index = e, this.state = a, this.flags = d;
124
- }
125
- end() {
126
- if (this.state === S.HEADER_FIELD_START && this.index === 0 || this.state === S.PART_DATA && this.index === this.boundary.length) this.onPartEnd();
127
- else if (this.state !== S.END) throw new Error("MultipartParser.end(): stream ended unexpectedly");
128
- }
129
- };
130
- c(g, "MultipartParser");
131
- let MultipartParser = g;
132
- function _fileName(R) {
133
- const o = R.match(/\bfilename=("(.*?)"|([^()<>@,;:\\"/[\]?={}\s\t]+))($|;\s)/i);
134
- if (!o) return;
135
- const t = o[2] || o[3] || "";
136
- let n = t.slice(t.lastIndexOf("\\") + 1);
137
- return n = n.replace(/%22/g, "\""), n = n.replace(/&#(\d{4});/g, (E, l) => String.fromCharCode(l)), n;
138
- }
139
- c(_fileName, "_fileName");
140
- async function toFormData(R, o) {
141
- if (!/multipart/i.test(o)) throw new TypeError("Failed to fetch");
142
- const t = o.match(/boundary=(?:"([^"]+)"|([^;]+))/i);
143
- if (!t) throw new TypeError("no or bad content-type header, no multipart boundary");
144
- const n = new MultipartParser(t[1] || t[2]);
145
- let E, l, h, H, e, a;
146
- const d = [], b = new node.FormData(), m = c((i) => {
147
- h += u.decode(i, { stream: !0 });
148
- }, "onPartData"), O = c((i) => {
149
- d.push(i);
150
- }, "appendToFile"), r = c(() => {
151
- const i = new node.File(d, a, { type: e });
152
- b.append(H, i);
153
- }, "appendFileToFormData"), P = c(() => {
154
- b.append(H, h);
155
- }, "appendEntryToFormData"), u = new TextDecoder("utf-8");
156
- u.decode(), n.onPartBegin = function() {
157
- n.onPartData = m, n.onPartEnd = P, E = "", l = "", h = "", H = "", e = "", a = null, d.length = 0;
158
- }, n.onHeaderField = function(i) {
159
- E += u.decode(i, { stream: !0 });
160
- }, n.onHeaderValue = function(i) {
161
- l += u.decode(i, { stream: !0 });
162
- }, n.onHeaderEnd = function() {
163
- if (l += u.decode(), E = E.toLowerCase(), E === "content-disposition") {
164
- const i = l.match(/\bname=("([^"]*)"|([^()<>@,;:\\"/[\]?={}\s\t]+))/i);
165
- i && (H = i[2] || i[3] || ""), a = _fileName(l), a && (n.onPartData = O, n.onPartEnd = r);
166
- } else E === "content-type" && (e = l);
167
- l = "", E = "";
168
- };
169
- for await (const i of R) n.write(i);
170
- return n.end(), b;
171
- }
172
- c(toFormData, "toFormData"), exports.toFormData = toFormData;
173
- }));
174
-
175
- //#endregion
176
- Object.defineProperty(exports, 'default', {
177
- enumerable: true,
178
- get: function () {
179
- return require_multipart_parser();
180
- }
181
- });
@@ -1,177 +0,0 @@
1
- import { __commonJSMin, __require } from "../../../../../../../_virtual/_rolldown/runtime.mjs";
2
- import { require_node_fetch_native_DhEqb06g } from "../shared/node-fetch-native.DhEqb06g.mjs";
3
- import { require_node } from "../node.mjs";
4
-
5
- //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs
6
- var require_multipart_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
7
- var y = Object.defineProperty;
8
- var c = (R, o) => y(R, "name", {
9
- value: o,
10
- configurable: !0
11
- });
12
- const node = require_node();
13
- __require("node:http"), __require("node:https"), __require("node:zlib"), __require("node:stream"), __require("node:buffer"), __require("node:util"), require_node_fetch_native_DhEqb06g(), __require("node:url"), __require("node:net"), __require("node:fs"), __require("node:path");
14
- let s = 0;
15
- const S = {
16
- START_BOUNDARY: s++,
17
- HEADER_FIELD_START: s++,
18
- HEADER_FIELD: s++,
19
- HEADER_VALUE_START: s++,
20
- HEADER_VALUE: s++,
21
- HEADER_VALUE_ALMOST_DONE: s++,
22
- HEADERS_ALMOST_DONE: s++,
23
- PART_DATA_START: s++,
24
- PART_DATA: s++,
25
- END: s++
26
- };
27
- let f = 1;
28
- const F = {
29
- PART_BOUNDARY: f,
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 {
32
- constructor(o) {
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
- --` + o;
35
- const t = new Uint8Array(o.length);
36
- for (let n = 0; n < o.length; n++) t[n] = o.charCodeAt(n), this.boundaryChars[t[n]] = !0;
37
- this.boundary = t, this.lookbehind = new Uint8Array(this.boundary.length + 8), this.state = S.START_BOUNDARY;
38
- }
39
- write(o) {
40
- let t = 0;
41
- const n = o.length;
42
- let E = this.index, { lookbehind: l, boundary: h, boundaryChars: H, index: e, state: a, flags: d } = this;
43
- const b = this.boundary.length, m = b - 1, O = o.length;
44
- let r, P;
45
- const u = c((D) => {
46
- this[D + "Mark"] = t;
47
- }, "mark"), i = c((D) => {
48
- delete this[D + "Mark"];
49
- }, "clear"), T = c((D, p, _, N) => {
50
- (p === void 0 || p !== _) && this[D](N && N.subarray(p, _));
51
- }, "callback"), L = c((D, p) => {
52
- const _ = D + "Mark";
53
- _ in this && (p ? (T(D, this[_], t, o), delete this[_]) : (T(D, this[_], o.length, o), this[_] = 0));
54
- }, "dataCallback");
55
- for (t = 0; t < n; t++) switch (r = o[t], a) {
56
- case S.START_BOUNDARY:
57
- if (e === h.length - 2) {
58
- if (r === HYPHEN) d |= F.LAST_BOUNDARY;
59
- else if (r !== CR) return;
60
- e++;
61
- break;
62
- } else if (e - 1 === h.length - 2) {
63
- if (d & F.LAST_BOUNDARY && r === HYPHEN) a = S.END, d = 0;
64
- else if (!(d & F.LAST_BOUNDARY) && r === LF) e = 0, T("onPartBegin"), a = S.HEADER_FIELD_START;
65
- else return;
66
- break;
67
- }
68
- r !== h[e + 2] && (e = -2), r === h[e + 2] && e++;
69
- break;
70
- case S.HEADER_FIELD_START: a = S.HEADER_FIELD, u("onHeaderField"), e = 0;
71
- case S.HEADER_FIELD:
72
- if (r === CR) {
73
- i("onHeaderField"), a = S.HEADERS_ALMOST_DONE;
74
- break;
75
- }
76
- if (e++, r === HYPHEN) break;
77
- if (r === COLON) {
78
- if (e === 1) return;
79
- L("onHeaderField", !0), a = S.HEADER_VALUE_START;
80
- break;
81
- }
82
- if (P = lower(r), P < A || P > Z) return;
83
- break;
84
- case S.HEADER_VALUE_START:
85
- if (r === SPACE) break;
86
- u("onHeaderValue"), a = S.HEADER_VALUE;
87
- case S.HEADER_VALUE:
88
- r === CR && (L("onHeaderValue", !0), T("onHeaderEnd"), a = S.HEADER_VALUE_ALMOST_DONE);
89
- break;
90
- case S.HEADER_VALUE_ALMOST_DONE:
91
- if (r !== LF) return;
92
- a = S.HEADER_FIELD_START;
93
- break;
94
- case S.HEADERS_ALMOST_DONE:
95
- if (r !== LF) return;
96
- T("onHeadersEnd"), a = S.PART_DATA_START;
97
- break;
98
- case S.PART_DATA_START: a = S.PART_DATA, u("onPartData");
99
- case S.PART_DATA:
100
- if (E = e, e === 0) {
101
- for (t += m; t < O && !(o[t] in H);) t += b;
102
- t -= m, r = o[t];
103
- }
104
- if (e < h.length) h[e] === r ? (e === 0 && L("onPartData", !0), e++) : e = 0;
105
- else if (e === h.length) e++, r === CR ? d |= F.PART_BOUNDARY : r === HYPHEN ? d |= F.LAST_BOUNDARY : e = 0;
106
- else if (e - 1 === h.length) if (d & F.PART_BOUNDARY) {
107
- if (e = 0, r === LF) {
108
- d &= ~F.PART_BOUNDARY, T("onPartEnd"), T("onPartBegin"), a = S.HEADER_FIELD_START;
109
- break;
110
- }
111
- } else d & F.LAST_BOUNDARY && r === HYPHEN ? (T("onPartEnd"), a = S.END, d = 0) : e = 0;
112
- if (e > 0) l[e - 1] = r;
113
- else if (E > 0) {
114
- const D = new Uint8Array(l.buffer, l.byteOffset, l.byteLength);
115
- T("onPartData", 0, E, D), E = 0, u("onPartData"), t--;
116
- }
117
- break;
118
- case S.END: break;
119
- default: throw new Error(`Unexpected state entered: ${a}`);
120
- }
121
- L("onHeaderField"), L("onHeaderValue"), L("onPartData"), this.index = e, this.state = a, this.flags = d;
122
- }
123
- end() {
124
- if (this.state === S.HEADER_FIELD_START && this.index === 0 || this.state === S.PART_DATA && this.index === this.boundary.length) this.onPartEnd();
125
- else if (this.state !== S.END) throw new Error("MultipartParser.end(): stream ended unexpectedly");
126
- }
127
- };
128
- c(g, "MultipartParser");
129
- let MultipartParser = g;
130
- function _fileName(R) {
131
- const o = R.match(/\bfilename=("(.*?)"|([^()<>@,;:\\"/[\]?={}\s\t]+))($|;\s)/i);
132
- if (!o) return;
133
- const t = o[2] || o[3] || "";
134
- let n = t.slice(t.lastIndexOf("\\") + 1);
135
- return n = n.replace(/%22/g, "\""), n = n.replace(/&#(\d{4});/g, (E, l) => String.fromCharCode(l)), n;
136
- }
137
- c(_fileName, "_fileName");
138
- async function toFormData(R, o) {
139
- if (!/multipart/i.test(o)) throw new TypeError("Failed to fetch");
140
- const t = o.match(/boundary=(?:"([^"]+)"|([^;]+))/i);
141
- if (!t) throw new TypeError("no or bad content-type header, no multipart boundary");
142
- const n = new MultipartParser(t[1] || t[2]);
143
- let E, l, h, H, e, a;
144
- const d = [], b = new node.FormData(), m = c((i) => {
145
- h += u.decode(i, { stream: !0 });
146
- }, "onPartData"), O = c((i) => {
147
- d.push(i);
148
- }, "appendToFile"), r = c(() => {
149
- const i = new node.File(d, a, { type: e });
150
- b.append(H, i);
151
- }, "appendFileToFormData"), P = c(() => {
152
- b.append(H, h);
153
- }, "appendEntryToFormData"), u = new TextDecoder("utf-8");
154
- u.decode(), n.onPartBegin = function() {
155
- n.onPartData = m, n.onPartEnd = P, E = "", l = "", h = "", H = "", e = "", a = null, d.length = 0;
156
- }, n.onHeaderField = function(i) {
157
- E += u.decode(i, { stream: !0 });
158
- }, n.onHeaderValue = function(i) {
159
- l += u.decode(i, { stream: !0 });
160
- }, n.onHeaderEnd = function() {
161
- if (l += u.decode(), E = E.toLowerCase(), E === "content-disposition") {
162
- const i = l.match(/\bname=("([^"]*)"|([^()<>@,;:\\"/[\]?={}\s\t]+))/i);
163
- i && (H = i[2] || i[3] || ""), a = _fileName(l), a && (n.onPartData = O, n.onPartEnd = r);
164
- } else E === "content-type" && (e = l);
165
- l = "", E = "";
166
- };
167
- for await (const i of R) n.write(i);
168
- return n.end(), b;
169
- }
170
- c(toFormData, "toFormData"), exports.toFormData = toFormData;
171
- }));
172
-
173
- //#endregion
174
- export default require_multipart_parser();
175
-
176
- export { };
177
- //# sourceMappingURL=multipart-parser.mjs.map
@@ -1 +0,0 @@
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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$1 = require('./shared/node-fetch-native.DhEqb06g.cjs');
5
- const require_node$1 = require('./node.cjs');
6
-
7
- //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs
8
- var require_dist = /* @__PURE__ */ require_runtime.__commonJSMin(((exports) => {
9
- Object.defineProperty(exports, "__esModule", { value: !0 });
10
- const node = require_node$1.default;
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");
12
- const o = !!globalThis.process?.env?.FORCE_NODE_FETCH, fetch = !o && globalThis.fetch || node.fetch, Blob = !o && globalThis.Blob || node.Blob, File = !o && globalThis.File || node.File, FormData = !o && globalThis.FormData || node.FormData, Headers = !o && globalThis.Headers || node.Headers, Request = !o && globalThis.Request || node.Request, Response = !o && globalThis.Response || node.Response, AbortController = !o && globalThis.AbortController || node.AbortController;
13
- exports.AbortError = node.AbortError, exports.FetchError = node.FetchError, exports.blobFrom = node.blobFrom, exports.blobFromSync = node.blobFromSync, exports.fileFrom = node.fileFrom, exports.fileFromSync = node.fileFromSync, exports.isRedirect = node.isRedirect, exports.AbortController = AbortController, exports.Blob = Blob, exports.File = File, exports.FormData = FormData, exports.Headers = Headers, exports.Request = Request, exports.Response = Response, exports.default = fetch, exports.fetch = fetch;
14
- }));
15
-
16
- //#endregion
17
- Object.defineProperty(exports, 'default', {
18
- enumerable: true,
19
- get: function () {
20
- return require_dist();
21
- }
22
- });
@@ -1,18 +0,0 @@
1
- import { __commonJSMin, __require } from "../../../../../../_virtual/_rolldown/runtime.mjs";
2
- import { require_node_fetch_native_DhEqb06g } from "./shared/node-fetch-native.DhEqb06g.mjs";
3
- import { require_node } from "./node.mjs";
4
-
5
- //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs
6
- var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
7
- Object.defineProperty(exports, "__esModule", { value: !0 });
8
- const node = require_node();
9
- __require("node:http"), __require("node:https"), __require("node:zlib"), __require("node:stream"), __require("node:buffer"), __require("node:util"), require_node_fetch_native_DhEqb06g(), __require("node:url"), __require("node:net"), __require("node:fs"), __require("node:path");
10
- const o = !!globalThis.process?.env?.FORCE_NODE_FETCH, fetch = !o && globalThis.fetch || node.fetch, Blob = !o && globalThis.Blob || node.Blob, File = !o && globalThis.File || node.File, FormData = !o && globalThis.FormData || node.FormData, Headers = !o && globalThis.Headers || node.Headers, Request = !o && globalThis.Request || node.Request, Response = !o && globalThis.Response || node.Response, AbortController = !o && globalThis.AbortController || node.AbortController;
11
- exports.AbortError = node.AbortError, exports.FetchError = node.FetchError, exports.blobFrom = node.blobFrom, exports.blobFromSync = node.blobFromSync, exports.fileFrom = node.fileFrom, exports.fileFromSync = node.fileFromSync, exports.isRedirect = node.isRedirect, exports.AbortController = AbortController, exports.Blob = Blob, exports.File = File, exports.FormData = FormData, exports.Headers = Headers, exports.Request = Request, exports.Response = Response, exports.default = fetch, exports.fetch = fetch;
12
- }));
13
-
14
- //#endregion
15
- export default require_dist();
16
-
17
- export { require_dist };
18
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs"],"sourcesContent":["\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!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\");const o=!!globalThis.process?.env?.FORCE_NODE_FETCH,fetch=!o&&globalThis.fetch||node.fetch,Blob=!o&&globalThis.Blob||node.Blob,File=!o&&globalThis.File||node.File,FormData=!o&&globalThis.FormData||node.FormData,Headers=!o&&globalThis.Headers||node.Headers,Request=!o&&globalThis.Request||node.Request,Response=!o&&globalThis.Response||node.Response,AbortController=!o&&globalThis.AbortController||node.AbortController;exports.AbortError=node.AbortError,exports.FetchError=node.FetchError,exports.blobFrom=node.blobFrom,exports.blobFromSync=node.blobFromSync,exports.fileFrom=node.fileFrom,exports.fileFromSync=node.fileFromSync,exports.isRedirect=node.isRedirect,exports.AbortController=AbortController,exports.Blob=Blob,exports.File=File,exports.FormData=FormData,exports.Headers=Headers,exports.Request=Request,exports.Response=Response,exports.default=fetch,exports.fetch=fetch;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAAa,QAAO,eAAe,SAAQ,cAAa,EAAC,OAAM,CAAC,GAAE,CAAC;CAAC,MAAM;AAA2B,WAAQ,YAAY,YAAS,aAAa,YAAS,YAAY,YAAS,cAAc,YAAS,cAAc,YAAS,YAAY,kDAA4D,WAAW,YAAS,WAAW,YAAS,UAAU,YAAS,YAAY;CAAC,MAAM,IAAE,CAAC,CAAC,WAAW,SAAS,KAAK,kBAAiB,QAAM,CAAC,KAAG,WAAW,SAAO,KAAK,OAAM,OAAK,CAAC,KAAG,WAAW,QAAM,KAAK,MAAK,OAAK,CAAC,KAAG,WAAW,QAAM,KAAK,MAAK,WAAS,CAAC,KAAG,WAAW,YAAU,KAAK,UAAS,UAAQ,CAAC,KAAG,WAAW,WAAS,KAAK,SAAQ,UAAQ,CAAC,KAAG,WAAW,WAAS,KAAK,SAAQ,WAAS,CAAC,KAAG,WAAW,YAAU,KAAK,UAAS,kBAAgB,CAAC,KAAG,WAAW,mBAAiB,KAAK;AAAgB,SAAQ,aAAW,KAAK,YAAW,QAAQ,aAAW,KAAK,YAAW,QAAQ,WAAS,KAAK,UAAS,QAAQ,eAAa,KAAK,cAAa,QAAQ,WAAS,KAAK,UAAS,QAAQ,eAAa,KAAK,cAAa,QAAQ,aAAW,KAAK,YAAW,QAAQ,kBAAgB,iBAAgB,QAAQ,OAAK,MAAK,QAAQ,OAAK,MAAK,QAAQ,WAAS,UAAS,QAAQ,UAAQ,SAAQ,QAAQ,UAAQ,SAAQ,QAAQ,WAAS,UAAS,QAAQ,UAAQ,OAAM,QAAQ,QAAM"}