@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.
Files changed (215) hide show
  1. package/README.md +14 -16
  2. package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +1 -3
  3. package/dist/_virtual/{rolldown_runtime.mjs → _rolldown/runtime.mjs} +2 -3
  4. package/dist/babel/index.cjs +1 -0
  5. package/dist/babel/plugin.cjs +20 -19
  6. package/dist/babel/plugin.d.cts +0 -1
  7. package/dist/babel/plugin.d.cts.map +1 -1
  8. package/dist/babel/plugin.d.mts +0 -1
  9. package/dist/babel/plugin.d.mts.map +1 -1
  10. package/dist/babel/plugin.mjs +3 -3
  11. package/dist/babel/plugin.mjs.map +1 -1
  12. package/dist/components/docs.cjs +26 -25
  13. package/dist/components/docs.d.cts.map +1 -1
  14. package/dist/components/docs.d.mts.map +1 -1
  15. package/dist/components/docs.mjs +1 -1
  16. package/dist/components/env-builtin.cjs +155 -153
  17. package/dist/components/env-builtin.d.cts +0 -1
  18. package/dist/components/env-builtin.d.cts.map +1 -1
  19. package/dist/components/env-builtin.d.mts +0 -1
  20. package/dist/components/env-builtin.d.mts.map +1 -1
  21. package/dist/components/env-builtin.mjs +1 -1
  22. package/dist/components/index.cjs +1 -0
  23. package/dist/helpers/automd-generator.cjs +4 -3
  24. package/dist/helpers/automd-generator.d.cts +2 -3
  25. package/dist/helpers/automd-generator.d.cts.map +1 -1
  26. package/dist/helpers/automd-generator.d.mts +2 -3
  27. package/dist/helpers/automd-generator.d.mts.map +1 -1
  28. package/dist/helpers/automd-generator.mjs +1 -1
  29. package/dist/helpers/automd-generator.mjs.map +1 -1
  30. package/dist/helpers/create-reflection-resource.cjs +1 -0
  31. package/dist/helpers/create-reflection-resource.d.cts +0 -1
  32. package/dist/helpers/create-reflection-resource.d.cts.map +1 -1
  33. package/dist/helpers/create-reflection-resource.d.mts +0 -1
  34. package/dist/helpers/create-reflection-resource.d.mts.map +1 -1
  35. package/dist/helpers/create-reflection-resource.mjs.map +1 -1
  36. package/dist/helpers/docs-helper.cjs +4 -2
  37. package/dist/helpers/docs-helper.d.cts +0 -1
  38. package/dist/helpers/docs-helper.d.cts.map +1 -1
  39. package/dist/helpers/docs-helper.d.mts +0 -1
  40. package/dist/helpers/docs-helper.d.mts.map +1 -1
  41. package/dist/helpers/docs-helper.mjs +1 -1
  42. package/dist/helpers/docs-helper.mjs.map +1 -1
  43. package/dist/helpers/index.cjs +1 -0
  44. package/dist/helpers/load.cjs +19 -17
  45. package/dist/helpers/load.d.cts +0 -1
  46. package/dist/helpers/load.d.cts.map +1 -1
  47. package/dist/helpers/load.d.mts +0 -1
  48. package/dist/helpers/load.d.mts.map +1 -1
  49. package/dist/helpers/load.mjs +2 -2
  50. package/dist/helpers/load.mjs.map +1 -1
  51. package/dist/helpers/persistence.cjs +59 -58
  52. package/dist/helpers/persistence.d.cts +0 -1
  53. package/dist/helpers/persistence.d.cts.map +1 -1
  54. package/dist/helpers/persistence.d.mts +0 -1
  55. package/dist/helpers/persistence.d.mts.map +1 -1
  56. package/dist/helpers/persistence.mjs +15 -15
  57. package/dist/helpers/persistence.mjs.map +1 -1
  58. package/dist/helpers/reflect.cjs +40 -39
  59. package/dist/helpers/reflect.d.cts.map +1 -1
  60. package/dist/helpers/reflect.d.mts.map +1 -1
  61. package/dist/helpers/reflect.mjs +2 -2
  62. package/dist/helpers/reflect.mjs.map +1 -1
  63. package/dist/helpers/source-file-env.cjs +8 -7
  64. package/dist/helpers/source-file-env.d.cts.map +1 -1
  65. package/dist/helpers/source-file-env.d.mts.map +1 -1
  66. package/dist/helpers/source-file-env.mjs.map +1 -1
  67. package/dist/helpers/template-helpers.cjs +6 -5
  68. package/dist/helpers/template-helpers.d.cts +0 -1
  69. package/dist/helpers/template-helpers.d.cts.map +1 -1
  70. package/dist/helpers/template-helpers.d.mts +0 -1
  71. package/dist/helpers/template-helpers.d.mts.map +1 -1
  72. package/dist/helpers/template-helpers.mjs.map +1 -1
  73. package/dist/index.cjs +49 -49
  74. package/dist/index.d.cts +0 -1
  75. package/dist/index.d.cts.map +1 -1
  76. package/dist/index.d.mts +0 -1
  77. package/dist/index.d.mts.map +1 -1
  78. package/dist/index.mjs +5 -6
  79. package/dist/index.mjs.map +1 -1
  80. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.cjs +7 -7
  81. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs +6 -6
  82. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs.map +1 -1
  83. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.cjs +6 -6
  84. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs +6 -6
  85. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs.map +1 -1
  86. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.cjs +3 -3
  87. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs +3 -3
  88. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs.map +1 -1
  89. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.cjs +655 -655
  90. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs +655 -655
  91. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs.map +1 -1
  92. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.cjs +179 -179
  93. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs +179 -179
  94. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs.map +1 -1
  95. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.cjs +188 -188
  96. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs +188 -188
  97. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs.map +1 -1
  98. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.cjs +297 -297
  99. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs +297 -297
  100. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs.map +1 -1
  101. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.cjs +8 -8
  102. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs +8 -8
  103. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs.map +1 -1
  104. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.cjs +3 -3
  105. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs +4 -4
  106. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs.map +1 -1
  107. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.cjs +3 -3
  108. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs +3 -3
  109. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs.map +1 -1
  110. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.cjs +2 -2
  111. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs +2 -2
  112. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs.map +1 -1
  113. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.cjs +5 -5
  114. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs +4 -4
  115. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs.map +1 -1
  116. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.cjs +2 -2
  117. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs +1 -1
  118. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs.map +1 -1
  119. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +18 -18
  120. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +2 -2
  121. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +1 -1
  122. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +1 -1
  123. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +1 -1
  124. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +1308 -1311
  125. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +1294 -1297
  126. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs.map +1 -1
  127. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +2194 -2194
  128. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +2193 -2193
  129. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs.map +1 -1
  130. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +3 -3
  131. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +2 -2
  132. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +3 -3
  133. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +2 -2
  134. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +1 -1
  135. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +2 -2
  136. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +1 -1
  137. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +34 -34
  138. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +33 -33
  139. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +1 -1
  140. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +221 -223
  141. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +220 -222
  142. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs.map +1 -1
  143. 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
  144. 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
  145. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +2 -2
  146. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +1 -1
  147. package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.cjs +3 -3
  148. package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs +5 -5
  149. package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs.map +1 -1
  150. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +1 -1
  151. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +6 -6
  152. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +5 -5
  153. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +1 -1
  154. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +10 -10
  155. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +16 -16
  156. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs.map +1 -1
  157. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +412 -412
  158. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +189 -189
  159. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs.map +1 -1
  160. package/dist/types/index.cjs +1 -0
  161. package/dist/types/plugin.cjs +20 -19
  162. package/dist/types/plugin.d.cts.map +1 -1
  163. package/dist/types/plugin.d.mts.map +1 -1
  164. package/dist/types/plugin.mjs.map +1 -1
  165. package/dist/types/runtime.cjs +1 -0
  166. package/dist/types/runtime.d.cts.map +1 -1
  167. package/dist/types/runtime.d.mts.map +1 -1
  168. package/dist/types/runtime.mjs.map +1 -1
  169. package/package.json +45 -26
  170. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.cjs +0 -37
  171. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.mjs +0 -38
  172. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.mjs.map +0 -1
  173. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.cjs +0 -15
  174. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.mjs +0 -15
  175. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.mjs.map +0 -1
  176. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +0 -15
  177. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +0 -15
  178. 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
  179. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +0 -3
  180. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +0 -5
  181. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +0 -6
  182. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +0 -7
  183. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs.map +0 -1
  184. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +0 -1
  185. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +0 -3
  186. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +0 -19
  187. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +0 -20
  188. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs.map +0 -1
  189. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +0 -63
  190. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +0 -64
  191. 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
  192. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +0 -12
  193. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +0 -12
  194. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs.map +0 -1
  195. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +0 -15
  196. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +0 -17
  197. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs.map +0 -1
  198. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.cjs +0 -32
  199. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.mjs +0 -33
  200. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.mjs.map +0 -1
  201. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.cjs +0 -28
  202. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.mjs +0 -29
  203. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.mjs.map +0 -1
  204. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.cjs +0 -122
  205. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.mjs +0 -123
  206. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.mjs.map +0 -1
  207. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.cjs +0 -12
  208. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.mjs +0 -9
  209. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.mjs.map +0 -1
  210. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.cjs +0 -15
  211. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.mjs +0 -15
  212. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.mjs.map +0 -1
  213. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +0 -43
  214. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +0 -43
  215. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { __commonJSMin, __require, __toDynamicImportESM } from "../../../../../../_virtual/rolldown_runtime.mjs";
1
+ import { __commonJSMin, __require, __toESM } from "../../../../../../_virtual/_rolldown/runtime.mjs";
2
2
  import { require_node_fetch_native_DhEqb06g } from "./shared/node-fetch-native.DhEqb06g.mjs";
3
3
 
4
4
  //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs
@@ -123,7 +123,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
123
123
  }
124
124
  }
125
125
  u(H, "promiseCall");
126
- const Y = 16384, Dr = class Dr$1 {
126
+ const Y = 16384, Dr = class Dr {
127
127
  constructor() {
128
128
  this._cursor = 0, this._size = 0, this._front = {
129
129
  _elements: [],
@@ -284,7 +284,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
284
284
  return !(o === void 0 || !ve(o));
285
285
  }
286
286
  u(mn, "ReadableStreamHasDefaultReader");
287
- const Mr = class Mr$1 {
287
+ const Mr = class Mr {
288
288
  constructor(o) {
289
289
  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");
290
290
  ln(this, o), this._readRequests = new Q();
@@ -355,7 +355,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
355
355
  return /* @__PURE__ */ new TypeError(`ReadableStreamDefaultReader.prototype.${n} can only be used on a ReadableStreamDefaultReader`);
356
356
  }
357
357
  u(Ct, "defaultReaderBrandCheckException");
358
- const zo = Object.getPrototypeOf(Object.getPrototypeOf(async function* () {}).prototype), xr = class xr$1 {
358
+ const zo = Object.getPrototypeOf(Object.getPrototypeOf(async function* () {}).prototype), xr = class xr {
359
359
  constructor(o, a) {
360
360
  this._ongoingPromise = void 0, this._isFinished = !1, this._reader = o, this._preventCancel = a;
361
361
  }
@@ -553,7 +553,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
553
553
  return vn(n) ? 1 : n.BYTES_PER_ELEMENT;
554
554
  }
555
555
  u(Uo, "arrayBufferViewElementSize");
556
- const Ur = class Ur$1 {
556
+ const Ur = class Ur {
557
557
  constructor() {
558
558
  throw new TypeError("Illegal constructor");
559
559
  }
@@ -585,7 +585,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
585
585
  value: "ReadableStreamBYOBRequest",
586
586
  configurable: !0
587
587
  });
588
- const Nr = class Nr$1 {
588
+ const Nr = class Nr {
589
589
  constructor() {
590
590
  throw new TypeError("Illegal constructor");
591
591
  }
@@ -1003,7 +1003,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1003
1003
  return !(o === void 0 || !Ie(o));
1004
1004
  }
1005
1005
  u(Tr, "ReadableStreamHasBYOBReader");
1006
- const Hr = class Hr$1 {
1006
+ const Hr = class Hr {
1007
1007
  constructor(o) {
1008
1008
  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");
1009
1009
  if (!ze(o._readableStreamController)) throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");
@@ -1161,7 +1161,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1161
1161
  if (li) return new AbortController();
1162
1162
  }
1163
1163
  u(fi, "createAbortController");
1164
- const Vr = class Vr$1 {
1164
+ const Vr = class Vr {
1165
1165
  constructor(o = {}, a = {}) {
1166
1166
  o === void 0 ? o = null : hn(o, "First parameter");
1167
1167
  const p = zt(a, "Second parameter"), y = ni(o, "First parameter");
@@ -1337,7 +1337,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1337
1337
  a !== void 0 && o !== n._backpressure && (o ? Wi(a) : Or(a)), n._backpressure = o;
1338
1338
  }
1339
1339
  u(Er, "WritableStreamUpdateBackpressure");
1340
- const Qr = class Qr$1 {
1340
+ const Qr = class Qr {
1341
1341
  constructor(o) {
1342
1342
  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");
1343
1343
  this._ownerWritableStream = o, o._writer = this;
@@ -1439,7 +1439,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1439
1439
  return Ei(p, o, y), S;
1440
1440
  }
1441
1441
  u(Zn, "WritableStreamDefaultWriterWrite");
1442
- const Kn = {}, Yr = class Yr$1 {
1442
+ const Kn = {}, Yr = class Yr {
1443
1443
  constructor() {
1444
1444
  throw new TypeError("Illegal constructor");
1445
1445
  }
@@ -1744,7 +1744,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1744
1744
  });
1745
1745
  }
1746
1746
  u(io, "ReadableStreamPipeTo");
1747
- const Gr = class Gr$1 {
1747
+ const Gr = class Gr {
1748
1748
  constructor() {
1749
1749
  throw new TypeError("Illegal constructor");
1750
1750
  }
@@ -2162,7 +2162,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2162
2162
  };
2163
2163
  }
2164
2164
  u(ts, "convertReadableWritablePair");
2165
- const Zr = class Zr$1 {
2165
+ const Zr = class Zr {
2166
2166
  constructor(o = {}, a = {}) {
2167
2167
  o === void 0 ? o = null : hn(o, "First parameter");
2168
2168
  const p = zt(a, "Second parameter"), y = Yi(o, "First parameter");
@@ -2307,7 +2307,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2307
2307
  u(co, "convertQueuingStrategyInit");
2308
2308
  const ho = u((n) => n.byteLength, "byteLengthSizeFunction");
2309
2309
  w(ho, "size");
2310
- const Kr = class Kr$1 {
2310
+ const Kr = class Kr {
2311
2311
  constructor(o) {
2312
2312
  Se(o, 1, "ByteLengthQueuingStrategy"), o = co(o, "First parameter"), this._byteLengthQueuingStrategyHighWaterMark = o.highWaterMark;
2313
2313
  }
@@ -2339,7 +2339,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2339
2339
  u(bo, "IsByteLengthQueuingStrategy");
2340
2340
  const mo = u(() => 1, "countSizeFunction");
2341
2341
  w(mo, "size");
2342
- const Jr = class Jr$1 {
2342
+ const Jr = class Jr {
2343
2343
  constructor(o) {
2344
2344
  Se(o, 1, "CountQueuingStrategy"), o = co(o, "First parameter"), this._countQueuingStrategyHighWaterMark = o.highWaterMark;
2345
2345
  }
@@ -2398,7 +2398,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2398
2398
  return ee(n, a), (p) => H(n, o, [p]);
2399
2399
  }
2400
2400
  u(ss, "convertTransformerCancelCallback");
2401
- const Xr = class Xr$1 {
2401
+ const Xr = class Xr {
2402
2402
  constructor(o = {}, a = {}, p = {}) {
2403
2403
  o === void 0 && (o = null);
2404
2404
  const y = zt(a, "Second parameter"), _ = zt(p, "Third parameter"), S = rs(o, "First parameter");
@@ -2478,7 +2478,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2478
2478
  }), n._backpressure = o;
2479
2479
  }
2480
2480
  u(Ht, "TransformStreamSetBackpressure");
2481
- const en = class en$1 {
2481
+ const en = class en {
2482
2482
  constructor() {
2483
2483
  throw new TypeError("Illegal constructor");
2484
2484
  }
@@ -2856,7 +2856,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
2856
2856
  `)), g.push(`--${d}--`), new l(g, { type: "multipart/form-data; boundary=" + d });
2857
2857
  }
2858
2858
  u(formDataToBlob, "formDataToBlob");
2859
- const rn = class rn$1 extends Error {
2859
+ const rn = class rn extends Error {
2860
2860
  constructor(l, d) {
2861
2861
  super(l), Error.captureStackTrace(this, this.constructor), this.type = d;
2862
2862
  }
@@ -2869,7 +2869,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
2869
2869
  };
2870
2870
  u(rn, "FetchBaseError");
2871
2871
  let FetchBaseError = rn;
2872
- const nn = class nn$1 extends FetchBaseError {
2872
+ const nn = class nn extends FetchBaseError {
2873
2873
  constructor(l, d, g) {
2874
2874
  super(l, d), g && (this.code = this.errno = g.code, this.erroredSysCall = g.syscall);
2875
2875
  }
@@ -2881,7 +2881,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
2881
2881
  return d === g || d.endsWith(`.${g}`);
2882
2882
  }, "isDomainOrSubdomain"), isSameProtocol = u((c, l) => {
2883
2883
  return new URL(l).protocol === new URL(c).protocol;
2884
- }, "isSameProtocol"), pipeline = require$$0$1.promisify(Stream__default.pipeline), INTERNALS$2 = Symbol("Body internals"), on = class on$1 {
2884
+ }, "isSameProtocol"), pipeline = require$$0$1.promisify(Stream__default.pipeline), INTERNALS$2 = Symbol("Body internals"), on = class on {
2885
2885
  constructor(l, { size: d = 0 } = {}) {
2886
2886
  let g = null;
2887
2887
  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))));
@@ -2914,7 +2914,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
2914
2914
  for (const [R, w] of b) g.append(R, w);
2915
2915
  return g;
2916
2916
  }
2917
- const { toFormData: d } = await import("./chunks/multipart-parser.mjs").then(__toDynamicImportESM(1));
2917
+ const { toFormData: d } = await import("./chunks/multipart-parser.mjs").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
2918
2918
  return d(this.body, l);
2919
2919
  }
2920
2920
  async blob() {
@@ -2989,10 +2989,10 @@ Content-Type: ${R.type || "application/octet-stream"}\r
2989
2989
  const d = /* @__PURE__ */ new TypeError(`Invalid character in header content ["${c}"]`);
2990
2990
  throw Object.defineProperty(d, "code", { value: "ERR_INVALID_CHAR" }), d;
2991
2991
  }
2992
- }, Kt = class Kt$1 extends URLSearchParams {
2992
+ }, Kt = class Kt extends URLSearchParams {
2993
2993
  constructor(l) {
2994
2994
  let d = [];
2995
- if (l instanceof Kt$1) {
2995
+ if (l instanceof Kt) {
2996
2996
  const g = l.raw();
2997
2997
  for (const [b, R] of Object.entries(g)) d.push(...R.map((w) => [b, w]));
2998
2998
  } else if (l != null) if (typeof l == "object" && !require$$0$1.types.isBoxedPrimitive(l)) {
@@ -3083,7 +3083,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3083
3083
  303,
3084
3084
  307,
3085
3085
  308
3086
- ]), isRedirect = u((c) => redirectStatus.has(c), "isRedirect"), INTERNALS$1 = Symbol("Response internals"), Me = class Me$1 extends Body {
3086
+ ]), isRedirect = u((c) => redirectStatus.has(c), "isRedirect"), INTERNALS$1 = Symbol("Response internals"), Me = class Me extends Body {
3087
3087
  constructor(l = null, d = {}) {
3088
3088
  super(l, d);
3089
3089
  const g = d.status != null ? d.status : 200, b = new Headers(d.headers);
@@ -3126,7 +3126,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3126
3126
  return this[INTERNALS$1].highWaterMark;
3127
3127
  }
3128
3128
  clone() {
3129
- return new Me$1(clone(this, this.highWaterMark), {
3129
+ return new Me(clone(this, this.highWaterMark), {
3130
3130
  type: this.type,
3131
3131
  url: this.url,
3132
3132
  status: this.status,
@@ -3140,13 +3140,13 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3140
3140
  }
3141
3141
  static redirect(l, d = 302) {
3142
3142
  if (!isRedirect(d)) throw new RangeError("Failed to execute \"redirect\" on \"response\": Invalid status code");
3143
- return new Me$1(null, {
3143
+ return new Me(null, {
3144
3144
  headers: { location: new URL(l).toString() },
3145
3145
  status: d
3146
3146
  });
3147
3147
  }
3148
3148
  static error() {
3149
- const l = new Me$1(null, {
3149
+ const l = new Me(null, {
3150
3150
  status: 0,
3151
3151
  statusText: ""
3152
3152
  });
@@ -3156,7 +3156,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3156
3156
  const g = JSON.stringify(l);
3157
3157
  if (g === void 0) throw new TypeError("data is not JSON serializable");
3158
3158
  const b = new Headers(d && d.headers);
3159
- return b.has("content-type") || b.set("content-type", "application/json"), new Me$1(g, {
3159
+ return b.has("content-type") || b.set("content-type", "application/json"), new Me(g, {
3160
3160
  ...d,
3161
3161
  headers: b
3162
3162
  });
@@ -3240,7 +3240,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3240
3240
  return d;
3241
3241
  }
3242
3242
  u(parseReferrerPolicyFromHeader, "parseReferrerPolicyFromHeader");
3243
- 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$1 extends Body {
3243
+ 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 {
3244
3244
  constructor(l, d = {}) {
3245
3245
  let g;
3246
3246
  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.`);
@@ -3297,7 +3297,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3297
3297
  this[INTERNALS].referrerPolicy = validateReferrerPolicy(l);
3298
3298
  }
3299
3299
  clone() {
3300
- return new Jt$1(this);
3300
+ return new Jt(this);
3301
3301
  }
3302
3302
  get [Symbol.toStringTag]() {
3303
3303
  return "Request";
@@ -3337,7 +3337,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3337
3337
  agent: b
3338
3338
  }
3339
3339
  };
3340
- }, "getNodeRequestOptions"), sn = class sn$1 extends FetchBaseError {
3340
+ }, "getNodeRequestOptions"), sn = class sn extends FetchBaseError {
3341
3341
  constructor(l, d = "aborted") {
3342
3342
  super(l, d);
3343
3343
  }
@@ -3370,14 +3370,14 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3370
3370
  })], node_path.basename(l), {
3371
3371
  type: d,
3372
3372
  lastModified: c.mtimeMs
3373
- }), "fromFile"), Xt = class Xt$1 {
3373
+ }), "fromFile"), Xt = class Xt {
3374
3374
  constructor(l) {
3375
3375
  ye(this, xe);
3376
3376
  ye(this, Ue);
3377
3377
  ne(this, xe, l.path), ne(this, Ue, l.start), this.size = l.size, this.lastModified = l.lastModified;
3378
3378
  }
3379
3379
  slice(l, d) {
3380
- return new Xt$1({
3380
+ return new Xt({
3381
3381
  path: D(this, xe),
3382
3382
  lastModified: this.lastModified,
3383
3383
  size: d - l,
@@ -3893,7 +3893,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3893
3893
  configurable: !0,
3894
3894
  writable: !0
3895
3895
  }), typeof window < "u" && typeof window.EventTarget < "u" && Object.setPrototypeOf(EventTarget.prototype, window.EventTarget.prototype);
3896
- const an = class an$1 extends EventTarget {
3896
+ const an = class an extends EventTarget {
3897
3897
  constructor() {
3898
3898
  throw super(), /* @__PURE__ */ new TypeError("AbortSignal cannot be constructed directly");
3899
3899
  }