renovate-log-parser 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/README.md +39 -27
  2. package/dist/commands/web.d.ts +2 -1
  3. package/dist/commands/web.js +23 -11
  4. package/dist/commands/web.js.map +1 -1
  5. package/dist/server/api.d.ts +16 -0
  6. package/dist/server/api.js +173 -0
  7. package/dist/server/api.js.map +1 -0
  8. package/dist/server/http-error.d.ts +18 -0
  9. package/dist/server/http-error.js +23 -0
  10. package/dist/server/http-error.js.map +1 -0
  11. package/dist/server/index.d.ts +34 -0
  12. package/dist/server/index.js +54 -0
  13. package/dist/server/index.js.map +1 -0
  14. package/dist/server/log-registry.d.ts +34 -0
  15. package/dist/server/log-registry.js +157 -0
  16. package/dist/server/log-registry.js.map +1 -0
  17. package/dist/server/server-main.d.ts +1 -0
  18. package/dist/server/server-main.js +31 -0
  19. package/dist/server/server-main.js.map +1 -0
  20. package/dist/server/translate-filters.d.ts +58 -0
  21. package/dist/server/translate-filters.js +119 -0
  22. package/dist/server/translate-filters.js.map +1 -0
  23. package/package.json +6 -3
  24. package/web/.output/public/200.html +1 -0
  25. package/web/.output/public/404.html +1 -0
  26. package/web/.output/public/_nuxt/{CGPWRqbc.js → B4JKWaDj.js} +1 -1
  27. package/web/.output/public/_nuxt/Bs-RnkRE.js +37 -0
  28. package/web/.output/public/_nuxt/{Sgtec1U0.js → DjtJytwR.js} +1 -1
  29. package/web/.output/public/_nuxt/{BgApMHS1.js → a71R3CFc.js} +1 -1
  30. package/web/.output/public/_nuxt/builds/latest.json +1 -1
  31. package/web/.output/public/_nuxt/builds/meta/bc129b23-5172-4e74-875d-2a24574a5dbe.json +1 -0
  32. package/web/.output/public/index.html +1 -0
  33. package/web/.output/nitro.json +0 -15
  34. package/web/.output/public/_nuxt/BWja8e3M.js +0 -37
  35. package/web/.output/public/_nuxt/builds/meta/c4723e49-0623-47af-ae79-9ab6428bdcc1.json +0 -1
  36. package/web/.output/server/chunks/_/error-500.mjs +0 -19
  37. package/web/.output/server/chunks/_/error-500.mjs.map +0 -1
  38. package/web/.output/server/chunks/_/icons.mjs +0 -6153
  39. package/web/.output/server/chunks/_/icons.mjs.map +0 -1
  40. package/web/.output/server/chunks/_/icons2.mjs +0 -11494
  41. package/web/.output/server/chunks/_/icons2.mjs.map +0 -1
  42. package/web/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs +0 -10
  43. package/web/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs.map +0 -1
  44. package/web/.output/server/chunks/build/client.precomputed.mjs +0 -4
  45. package/web/.output/server/chunks/build/client.precomputed.mjs.map +0 -1
  46. package/web/.output/server/chunks/build/error-404-DyaaQUIS.mjs +0 -106
  47. package/web/.output/server/chunks/build/error-404-DyaaQUIS.mjs.map +0 -1
  48. package/web/.output/server/chunks/build/error-404-styles.9cNA4arh.mjs +0 -8
  49. package/web/.output/server/chunks/build/error-404-styles.9cNA4arh.mjs.map +0 -1
  50. package/web/.output/server/chunks/build/error-500-CVSP-p02.mjs +0 -89
  51. package/web/.output/server/chunks/build/error-500-CVSP-p02.mjs.map +0 -1
  52. package/web/.output/server/chunks/build/error-500-styles.BX54ZlkH.mjs +0 -8
  53. package/web/.output/server/chunks/build/error-500-styles.BX54ZlkH.mjs.map +0 -1
  54. package/web/.output/server/chunks/build/index-88dXYOxO.mjs +0 -19675
  55. package/web/.output/server/chunks/build/index-88dXYOxO.mjs.map +0 -1
  56. package/web/.output/server/chunks/build/index-styles.V2iua2bE.mjs +0 -8
  57. package/web/.output/server/chunks/build/index-styles.V2iua2bE.mjs.map +0 -1
  58. package/web/.output/server/chunks/build/server.mjs +0 -7910
  59. package/web/.output/server/chunks/build/server.mjs.map +0 -1
  60. package/web/.output/server/chunks/build/styles.mjs +0 -10
  61. package/web/.output/server/chunks/build/styles.mjs.map +0 -1
  62. package/web/.output/server/chunks/nitro/nitro.mjs +0 -6944
  63. package/web/.output/server/chunks/nitro/nitro.mjs.map +0 -1
  64. package/web/.output/server/chunks/routes/api/fields.get.mjs +0 -27
  65. package/web/.output/server/chunks/routes/api/fields.get.mjs.map +0 -1
  66. package/web/.output/server/chunks/routes/api/findings.get.mjs +0 -30
  67. package/web/.output/server/chunks/routes/api/findings.get.mjs.map +0 -1
  68. package/web/.output/server/chunks/routes/api/log/contents.post.mjs +0 -29
  69. package/web/.output/server/chunks/routes/api/log/contents.post.mjs.map +0 -1
  70. package/web/.output/server/chunks/routes/api/log/path.post.mjs +0 -30
  71. package/web/.output/server/chunks/routes/api/log/path.post.mjs.map +0 -1
  72. package/web/.output/server/chunks/routes/api/repositories.get.mjs +0 -27
  73. package/web/.output/server/chunks/routes/api/repositories.get.mjs.map +0 -1
  74. package/web/.output/server/chunks/routes/api/rows.get.mjs +0 -48
  75. package/web/.output/server/chunks/routes/api/rows.get.mjs.map +0 -1
  76. package/web/.output/server/chunks/routes/renderer.mjs +0 -451
  77. package/web/.output/server/chunks/routes/renderer.mjs.map +0 -1
  78. package/web/.output/server/chunks/virtual/_virtual_spa-template.mjs +0 -4
  79. package/web/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +0 -1
  80. package/web/.output/server/index.mjs +0 -16
  81. package/web/.output/server/index.mjs.map +0 -1
  82. package/web/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.mjs +0 -290
  83. package/web/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +0 -49
  84. package/web/.output/server/node_modules/.nitro/hookable@6.1.1/dist/index.mjs +0 -257
  85. package/web/.output/server/node_modules/.nitro/hookable@6.1.1/package.json +0 -53
  86. package/web/.output/server/node_modules/@babel/parser/lib/index.js +0 -14599
  87. package/web/.output/server/node_modules/@babel/parser/package.json +0 -50
  88. package/web/.output/server/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +0 -1038
  89. package/web/.output/server/node_modules/@floating-ui/core/package.json +0 -63
  90. package/web/.output/server/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +0 -789
  91. package/web/.output/server/node_modules/@floating-ui/dom/package.json +0 -72
  92. package/web/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +0 -165
  93. package/web/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +0 -136
  94. package/web/.output/server/node_modules/@floating-ui/utils/package.json +0 -70
  95. package/web/.output/server/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs +0 -190
  96. package/web/.output/server/node_modules/@floating-ui/vue/package.json +0 -71
  97. package/web/.output/server/node_modules/@iconify/utils/lib/colors/index.js +0 -295
  98. package/web/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +0 -701
  99. package/web/.output/server/node_modules/@iconify/utils/lib/css/common.js +0 -75
  100. package/web/.output/server/node_modules/@iconify/utils/lib/css/format.js +0 -39
  101. package/web/.output/server/node_modules/@iconify/utils/lib/css/icon.js +0 -47
  102. package/web/.output/server/node_modules/@iconify/utils/lib/css/icons.js +0 -128
  103. package/web/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +0 -19
  104. package/web/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +0 -13
  105. package/web/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +0 -17
  106. package/web/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +0 -16
  107. package/web/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +0 -30
  108. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +0 -78
  109. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +0 -100
  110. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +0 -28
  111. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +0 -58
  112. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +0 -48
  113. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +0 -203
  114. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +0 -33
  115. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +0 -132
  116. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +0 -165
  117. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +0 -79
  118. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +0 -92
  119. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +0 -26
  120. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +0 -76
  121. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +0 -66
  122. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +0 -45
  123. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +0 -103
  124. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +0 -36
  125. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +0 -92
  126. package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +0 -62
  127. package/web/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +0 -25
  128. package/web/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +0 -16
  129. package/web/.output/server/node_modules/@iconify/utils/lib/icon/name.js +0 -57
  130. package/web/.output/server/node_modules/@iconify/utils/lib/icon/square.js +0 -33
  131. package/web/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +0 -12
  132. package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +0 -125
  133. package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +0 -19
  134. package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +0 -25
  135. package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +0 -36
  136. package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +0 -91
  137. package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +0 -46
  138. package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +0 -23
  139. package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +0 -42
  140. package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +0 -123
  141. package/web/.output/server/node_modules/@iconify/utils/lib/index.js +0 -52
  142. package/web/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +0 -30
  143. package/web/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +0 -26
  144. package/web/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +0 -27
  145. package/web/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +0 -105
  146. package/web/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +0 -26
  147. package/web/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +0 -26
  148. package/web/.output/server/node_modules/@iconify/utils/lib/misc/title.js +0 -9
  149. package/web/.output/server/node_modules/@iconify/utils/lib/svg/build.js +0 -113
  150. package/web/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +0 -31
  151. package/web/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +0 -13
  152. package/web/.output/server/node_modules/@iconify/utils/lib/svg/html.js +0 -9
  153. package/web/.output/server/node_modules/@iconify/utils/lib/svg/id.js +0 -41
  154. package/web/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +0 -22
  155. package/web/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +0 -67
  156. package/web/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +0 -54
  157. package/web/.output/server/node_modules/@iconify/utils/lib/svg/size.js +0 -27
  158. package/web/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +0 -7
  159. package/web/.output/server/node_modules/@iconify/utils/lib/svg/url.js +0 -22
  160. package/web/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +0 -8
  161. package/web/.output/server/node_modules/@iconify/utils/package.json +0 -119
  162. package/web/.output/server/node_modules/@iconify/vue/dist/iconify.mjs +0 -1896
  163. package/web/.output/server/node_modules/@iconify/vue/package.json +0 -62
  164. package/web/.output/server/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -1268
  165. package/web/.output/server/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +0 -34
  166. package/web/.output/server/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -74
  167. package/web/.output/server/node_modules/@tanstack/virtual-core/package.json +0 -56
  168. package/web/.output/server/node_modules/@tanstack/vue-virtual/dist/esm/index.js +0 -66
  169. package/web/.output/server/node_modules/@tanstack/vue-virtual/package.json +0 -68
  170. package/web/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +0 -6759
  171. package/web/.output/server/node_modules/@vue/compiler-core/package.json +0 -58
  172. package/web/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +0 -689
  173. package/web/.output/server/node_modules/@vue/compiler-dom/package.json +0 -57
  174. package/web/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +0 -1413
  175. package/web/.output/server/node_modules/@vue/compiler-ssr/package.json +0 -34
  176. package/web/.output/server/node_modules/@vue/devtools-api/dist/index.js +0 -2
  177. package/web/.output/server/node_modules/@vue/devtools-api/package.json +0 -34
  178. package/web/.output/server/node_modules/@vue/devtools-kit/dist/index.js +0 -5670
  179. package/web/.output/server/node_modules/@vue/devtools-kit/node_modules/hookable/dist/index.mjs +0 -290
  180. package/web/.output/server/node_modules/@vue/devtools-kit/node_modules/hookable/package.json +0 -49
  181. package/web/.output/server/node_modules/@vue/devtools-kit/package.json +0 -44
  182. package/web/.output/server/node_modules/@vue/devtools-shared/dist/index.js +0 -239
  183. package/web/.output/server/node_modules/@vue/devtools-shared/package.json +0 -33
  184. package/web/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +0 -1899
  185. package/web/.output/server/node_modules/@vue/reactivity/package.json +0 -55
  186. package/web/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +0 -6940
  187. package/web/.output/server/node_modules/@vue/runtime-core/package.json +0 -52
  188. package/web/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +0 -1822
  189. package/web/.output/server/node_modules/@vue/runtime-dom/package.json +0 -60
  190. package/web/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +0 -896
  191. package/web/.output/server/node_modules/@vue/server-renderer/package.json +0 -55
  192. package/web/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +0 -604
  193. package/web/.output/server/node_modules/@vue/shared/package.json +0 -47
  194. package/web/.output/server/node_modules/@vueuse/core/dist/index.js +0 -8464
  195. package/web/.output/server/node_modules/@vueuse/core/package.json +0 -49
  196. package/web/.output/server/node_modules/@vueuse/shared/dist/index.js +0 -2013
  197. package/web/.output/server/node_modules/@vueuse/shared/package.json +0 -42
  198. package/web/.output/server/node_modules/aria-hidden/dist/es5/index.js +0 -174
  199. package/web/.output/server/node_modules/aria-hidden/package.json +0 -71
  200. package/web/.output/server/node_modules/birpc/dist/index.mjs +0 -291
  201. package/web/.output/server/node_modules/birpc/package.json +0 -57
  202. package/web/.output/server/node_modules/consola/dist/chunks/prompt.mjs +0 -280
  203. package/web/.output/server/node_modules/consola/dist/core.mjs +0 -512
  204. package/web/.output/server/node_modules/consola/dist/index.mjs +0 -651
  205. package/web/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +0 -72
  206. package/web/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +0 -288
  207. package/web/.output/server/node_modules/consola/package.json +0 -136
  208. package/web/.output/server/node_modules/devalue/index.js +0 -4
  209. package/web/.output/server/node_modules/devalue/package.json +0 -40
  210. package/web/.output/server/node_modules/devalue/src/base64.js +0 -60
  211. package/web/.output/server/node_modules/devalue/src/constants.js +0 -12
  212. package/web/.output/server/node_modules/devalue/src/parse.js +0 -283
  213. package/web/.output/server/node_modules/devalue/src/stringify.js +0 -401
  214. package/web/.output/server/node_modules/devalue/src/uneval.js +0 -552
  215. package/web/.output/server/node_modules/devalue/src/utils.js +0 -160
  216. package/web/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
  217. package/web/.output/server/node_modules/entities/dist/commonjs/decode.js +0 -568
  218. package/web/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
  219. package/web/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
  220. package/web/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
  221. package/web/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
  222. package/web/.output/server/node_modules/entities/dist/commonjs/package.json +0 -3
  223. package/web/.output/server/node_modules/entities/package.json +0 -120
  224. package/web/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +0 -344
  225. package/web/.output/server/node_modules/estree-walker/package.json +0 -37
  226. package/web/.output/server/node_modules/hookable/dist/index.mjs +0 -257
  227. package/web/.output/server/node_modules/hookable/package.json +0 -53
  228. package/web/.output/server/node_modules/nostics/dist/index.mjs +0 -179
  229. package/web/.output/server/node_modules/nostics/package.json +0 -124
  230. package/web/.output/server/node_modules/perfect-debounce/dist/index.mjs +0 -89
  231. package/web/.output/server/node_modules/perfect-debounce/package.json +0 -41
  232. package/web/.output/server/node_modules/rou3/dist/index.mjs +0 -501
  233. package/web/.output/server/node_modules/rou3/package.json +0 -48
  234. package/web/.output/server/node_modules/source-map-js/lib/array-set.js +0 -121
  235. package/web/.output/server/node_modules/source-map-js/lib/base64-vlq.js +0 -140
  236. package/web/.output/server/node_modules/source-map-js/lib/base64.js +0 -67
  237. package/web/.output/server/node_modules/source-map-js/lib/binary-search.js +0 -111
  238. package/web/.output/server/node_modules/source-map-js/lib/mapping-list.js +0 -79
  239. package/web/.output/server/node_modules/source-map-js/lib/quick-sort.js +0 -132
  240. package/web/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
  241. package/web/.output/server/node_modules/source-map-js/lib/source-map-generator.js +0 -444
  242. package/web/.output/server/node_modules/source-map-js/lib/source-node.js +0 -413
  243. package/web/.output/server/node_modules/source-map-js/lib/util.js +0 -594
  244. package/web/.output/server/node_modules/source-map-js/package.json +0 -71
  245. package/web/.output/server/node_modules/source-map-js/source-map.js +0 -8
  246. package/web/.output/server/node_modules/srvx/dist/_chunks/_body-limit.mjs +0 -39
  247. package/web/.output/server/node_modules/srvx/dist/_chunks/_plugins.mjs +0 -56
  248. package/web/.output/server/node_modules/srvx/dist/_chunks/_trust-proxy.mjs +0 -58
  249. package/web/.output/server/node_modules/srvx/dist/_chunks/_url.mjs +0 -134
  250. package/web/.output/server/node_modules/srvx/dist/_chunks/_utils.mjs +0 -15
  251. package/web/.output/server/node_modules/srvx/dist/_chunks/_utils2.mjs +0 -75
  252. package/web/.output/server/node_modules/srvx/dist/adapters/node.mjs +0 -976
  253. package/web/.output/server/node_modules/srvx/package.json +0 -102
  254. package/web/.output/server/node_modules/tailwind-merge/dist/bundle-mjs.mjs +0 -3365
  255. package/web/.output/server/node_modules/tailwind-merge/package.json +0 -93
  256. package/web/.output/server/node_modules/tailwind-variants/dist/chunk-LQJYWU4O.js +0 -112
  257. package/web/.output/server/node_modules/tailwind-variants/dist/chunk-RZF76H2U.js +0 -269
  258. package/web/.output/server/node_modules/tailwind-variants/dist/index.js +0 -38
  259. package/web/.output/server/node_modules/tailwind-variants/package.json +0 -122
  260. package/web/.output/server/node_modules/tailwindcss/dist/chunk-X4GG3EDV.mjs +0 -1
  261. package/web/.output/server/node_modules/tailwindcss/dist/colors.mjs +0 -1
  262. package/web/.output/server/node_modules/tailwindcss/package.json +0 -89
  263. package/web/.output/server/node_modules/ufo/dist/index.mjs +0 -645
  264. package/web/.output/server/node_modules/ufo/package.json +0 -48
  265. package/web/.output/server/node_modules/unhead/dist/index.mjs +0 -9
  266. package/web/.output/server/node_modules/unhead/dist/parser.mjs +0 -508
  267. package/web/.output/server/node_modules/unhead/dist/plugins.mjs +0 -101
  268. package/web/.output/server/node_modules/unhead/dist/scripts.mjs +0 -30
  269. package/web/.output/server/node_modules/unhead/dist/server.mjs +0 -180
  270. package/web/.output/server/node_modules/unhead/dist/shared/unhead.B3VbJo7Y.mjs +0 -207
  271. package/web/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +0 -43
  272. package/web/.output/server/node_modules/unhead/dist/shared/unhead.BnoAbrHA.mjs +0 -269
  273. package/web/.output/server/node_modules/unhead/dist/shared/unhead.CaI5ZD4O.mjs +0 -182
  274. package/web/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +0 -71
  275. package/web/.output/server/node_modules/unhead/dist/shared/unhead.D4vSFytZ.mjs +0 -236
  276. package/web/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +0 -196
  277. package/web/.output/server/node_modules/unhead/dist/shared/unhead.Dh1cQCTe.mjs +0 -44
  278. package/web/.output/server/node_modules/unhead/dist/shared/unhead.TxTMM7cM.mjs +0 -166
  279. package/web/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +0 -38
  280. package/web/.output/server/node_modules/unhead/dist/utils.mjs +0 -5
  281. package/web/.output/server/node_modules/unhead/node_modules/hookable/dist/index.mjs +0 -257
  282. package/web/.output/server/node_modules/unhead/node_modules/hookable/package.json +0 -53
  283. package/web/.output/server/node_modules/unhead/package.json +0 -105
  284. package/web/.output/server/node_modules/vue/dist/vue.cjs.js +0 -80
  285. package/web/.output/server/node_modules/vue/dist/vue.cjs.prod.js +0 -66
  286. package/web/.output/server/node_modules/vue/index.js +0 -7
  287. package/web/.output/server/node_modules/vue/index.mjs +0 -1
  288. package/web/.output/server/node_modules/vue/package.json +0 -112
  289. package/web/.output/server/node_modules/vue/server-renderer/index.mjs +0 -1
  290. package/web/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +0 -249
  291. package/web/.output/server/node_modules/vue-bundle-renderer/package.json +0 -57
  292. package/web/.output/server/node_modules/vue-demi/lib/index.mjs +0 -34
  293. package/web/.output/server/node_modules/vue-demi/package.json +0 -47
  294. package/web/.output/server/node_modules/vue-router/dist/devtools-Bpr7ZAVB.js +0 -1056
  295. package/web/.output/server/node_modules/vue-router/dist/useApi-CROJJdhE.js +0 -436
  296. package/web/.output/server/node_modules/vue-router/dist/vue-router.js +0 -1543
  297. package/web/.output/server/node_modules/vue-router/package.json +0 -214
  298. package/web/.output/server/node_modules/vue-router/vue-router.node.mjs +0 -2
  299. package/web/.output/server/package.json +0 -51
@@ -1,645 +0,0 @@
1
- const n = /[^\0-\x7E]/;
2
- const t = /[\x2E\u3002\uFF0E\uFF61]/g;
3
- const o = {
4
- overflow: "Overflow Error",
5
- "not-basic": "Illegal Input",
6
- "invalid-input": "Invalid Input"
7
- };
8
- const e = Math.floor;
9
- const r = String.fromCharCode;
10
- function s(n2) {
11
- throw new RangeError(o[n2]);
12
- }
13
- const c = function(n2, t2) {
14
- return n2 + 22 + 75 * (n2 < 26) - ((t2 != 0) << 5);
15
- };
16
- const u = function(n2, t2, o2) {
17
- let r2 = 0;
18
- for (n2 = o2 ? e(n2 / 700) : n2 >> 1, n2 += e(n2 / t2); n2 > 455; r2 += 36) {
19
- n2 = e(n2 / 35);
20
- }
21
- return e(r2 + 36 * n2 / (n2 + 38));
22
- };
23
- function toASCII(o2) {
24
- return (function(n2, o3) {
25
- const e2 = n2.split("@");
26
- let r2 = "";
27
- e2.length > 1 && (r2 = e2[0] + "@", n2 = e2[1]);
28
- const s2 = (function(n3, t2) {
29
- const o4 = [];
30
- let e3 = n3.length;
31
- for (; e3--; ) {
32
- o4[e3] = t2(n3[e3]);
33
- }
34
- return o4;
35
- })((n2 = n2.replace(t, ".")).split("."), o3).join(".");
36
- return r2 + s2;
37
- })(o2, function(t2) {
38
- return n.test(t2) ? "xn--" + (function(n2) {
39
- const t3 = [];
40
- const o3 = (n2 = (function(n3) {
41
- const t4 = [];
42
- let o4 = 0;
43
- const e2 = n3.length;
44
- for (; o4 < e2; ) {
45
- const r2 = n3.charCodeAt(o4++);
46
- if (r2 >= 55296 && r2 <= 56319 && o4 < e2) {
47
- const e3 = n3.charCodeAt(o4++);
48
- (64512 & e3) == 56320 ? t4.push(((1023 & r2) << 10) + (1023 & e3) + 65536) : (t4.push(r2), o4--);
49
- } else {
50
- t4.push(r2);
51
- }
52
- }
53
- return t4;
54
- })(n2)).length;
55
- let f = 128;
56
- let i = 0;
57
- let l = 72;
58
- for (const o4 of n2) {
59
- o4 < 128 && t3.push(r(o4));
60
- }
61
- const h = t3.length;
62
- let p = h;
63
- for (h && t3.push("-"); p < o3; ) {
64
- let o4 = 2147483647;
65
- for (const t4 of n2) {
66
- t4 >= f && t4 < o4 && (o4 = t4);
67
- }
68
- const a = p + 1;
69
- o4 - f > e((2147483647 - i) / a) && s("overflow"), i += (o4 - f) * a, f = o4;
70
- for (const o5 of n2) {
71
- if (o5 < f && ++i > 2147483647 && s("overflow"), o5 == f) {
72
- let n3 = i;
73
- for (let o6 = 36; ; o6 += 36) {
74
- const s2 = o6 <= l ? 1 : o6 >= l + 26 ? 26 : o6 - l;
75
- if (n3 < s2) {
76
- break;
77
- }
78
- const u2 = n3 - s2;
79
- const f2 = 36 - s2;
80
- t3.push(r(c(s2 + u2 % f2, 0))), n3 = e(u2 / f2);
81
- }
82
- t3.push(r(c(n3, 0))), l = u(i, a, p == h), i = 0, ++p;
83
- }
84
- }
85
- ++i, ++f;
86
- }
87
- return t3.join("");
88
- })(t2) : t2;
89
- });
90
- }
91
-
92
- const HASH_RE = /#/g;
93
- const AMPERSAND_RE = /&/g;
94
- const SLASH_RE = /\//g;
95
- const EQUAL_RE = /=/g;
96
- const IM_RE = /\?/g;
97
- const PLUS_RE = /\+/g;
98
- const ENC_CARET_RE = /%5e/gi;
99
- const ENC_BACKTICK_RE = /%60/gi;
100
- const ENC_CURLY_OPEN_RE = /%7b/gi;
101
- const ENC_PIPE_RE = /%7c/gi;
102
- const ENC_CURLY_CLOSE_RE = /%7d/gi;
103
- const ENC_SPACE_RE = /%20/gi;
104
- const ENC_SLASH_RE = /%2f/gi;
105
- const ENC_ENC_SLASH_RE = /%252f/gi;
106
- function encode(text) {
107
- return encodeURI("" + text).replace(ENC_PIPE_RE, "|");
108
- }
109
- function encodeHash(text) {
110
- return encode(text).replace(ENC_CURLY_OPEN_RE, "{").replace(ENC_CURLY_CLOSE_RE, "}").replace(ENC_CARET_RE, "^");
111
- }
112
- function encodeQueryValue(input) {
113
- return encode(typeof input === "string" ? input : JSON.stringify(input)).replace(PLUS_RE, "%2B").replace(ENC_SPACE_RE, "+").replace(HASH_RE, "%23").replace(AMPERSAND_RE, "%26").replace(ENC_BACKTICK_RE, "`").replace(ENC_CARET_RE, "^").replace(SLASH_RE, "%2F");
114
- }
115
- function encodeQueryKey(text) {
116
- return encodeQueryValue(text).replace(EQUAL_RE, "%3D");
117
- }
118
- function encodePath(text) {
119
- return encode(text).replace(HASH_RE, "%23").replace(IM_RE, "%3F").replace(ENC_ENC_SLASH_RE, "%2F").replace(AMPERSAND_RE, "%26").replace(PLUS_RE, "%2B");
120
- }
121
- function encodeParam(text) {
122
- return encodePath(text).replace(SLASH_RE, "%2F");
123
- }
124
- function decode(text = "") {
125
- try {
126
- return decodeURIComponent("" + text);
127
- } catch {
128
- return "" + text;
129
- }
130
- }
131
- function decodePath(text) {
132
- return decode(text.replace(ENC_SLASH_RE, "%252F"));
133
- }
134
- function decodeQueryKey(text) {
135
- return decode(text.replace(PLUS_RE, " "));
136
- }
137
- function decodeQueryValue(text) {
138
- return decode(text.replace(PLUS_RE, " "));
139
- }
140
- function encodeHost(name = "") {
141
- return toASCII(name);
142
- }
143
-
144
- function parseQuery(parametersString = "") {
145
- const object = /* @__PURE__ */ Object.create(null);
146
- if (parametersString[0] === "?") {
147
- parametersString = parametersString.slice(1);
148
- }
149
- for (const parameter of parametersString.split("&")) {
150
- const s = parameter.match(/([^=]+)=?(.*)/) || [];
151
- if (s.length < 2) {
152
- continue;
153
- }
154
- const key = decodeQueryKey(s[1]);
155
- if (key === "__proto__" || key === "constructor") {
156
- continue;
157
- }
158
- const value = decodeQueryValue(s[2] || "");
159
- if (object[key] === void 0) {
160
- object[key] = value;
161
- } else if (Array.isArray(object[key])) {
162
- object[key].push(value);
163
- } else {
164
- object[key] = [object[key], value];
165
- }
166
- }
167
- return object;
168
- }
169
- function encodeQueryItem(key, value) {
170
- if (typeof value === "number" || typeof value === "boolean") {
171
- value = String(value);
172
- }
173
- if (!value) {
174
- return encodeQueryKey(key);
175
- }
176
- if (Array.isArray(value)) {
177
- return value.map(
178
- (_value) => `${encodeQueryKey(key)}=${encodeQueryValue(_value)}`
179
- ).join("&");
180
- }
181
- return `${encodeQueryKey(key)}=${encodeQueryValue(value)}`;
182
- }
183
- function stringifyQuery(query) {
184
- return Object.keys(query).filter((k) => query[k] !== void 0).map((k) => encodeQueryItem(k, query[k])).filter(Boolean).join("&");
185
- }
186
-
187
- const PROTOCOL_STRICT_REGEX = /^[\s\w\0+.-]{2,}:([/\\]{1,2})/;
188
- const PROTOCOL_REGEX = /^[\s\w\0+.-]{2,}:([/\\]{2})?/;
189
- const PROTOCOL_RELATIVE_REGEX = /^([/\\]\s*){2,}[^/\\]/;
190
- const PROTOCOL_SCRIPT_RE = /^[\s\0]*(blob|data|javascript|vbscript):$/i;
191
- const TRAILING_SLASH_RE = /\/$|\/\?|\/#/;
192
- const JOIN_LEADING_SLASH_RE = /^\.?\//;
193
- function isRelative(inputString) {
194
- return ["./", "../"].some((string_) => inputString.startsWith(string_));
195
- }
196
- function hasProtocol(inputString, opts = {}) {
197
- if (typeof opts === "boolean") {
198
- opts = { acceptRelative: opts };
199
- }
200
- if (opts.strict) {
201
- return PROTOCOL_STRICT_REGEX.test(inputString);
202
- }
203
- return PROTOCOL_REGEX.test(inputString) || (opts.acceptRelative ? PROTOCOL_RELATIVE_REGEX.test(inputString) : false);
204
- }
205
- function isScriptProtocol(protocol) {
206
- return !!protocol && PROTOCOL_SCRIPT_RE.test(protocol);
207
- }
208
- function hasTrailingSlash(input = "", respectQueryAndFragment) {
209
- if (!respectQueryAndFragment) {
210
- return input.endsWith("/");
211
- }
212
- return TRAILING_SLASH_RE.test(input);
213
- }
214
- function withoutTrailingSlash(input = "", respectQueryAndFragment) {
215
- if (!respectQueryAndFragment) {
216
- return (hasTrailingSlash(input) ? input.slice(0, -1) : input) || "/";
217
- }
218
- if (!hasTrailingSlash(input, true)) {
219
- return input || "/";
220
- }
221
- let path = input;
222
- let fragment = "";
223
- const fragmentIndex = input.indexOf("#");
224
- if (fragmentIndex !== -1) {
225
- path = input.slice(0, fragmentIndex);
226
- fragment = input.slice(fragmentIndex);
227
- }
228
- const [s0, ...s] = path.split("?");
229
- const cleanPath = s0.endsWith("/") ? s0.slice(0, -1) : s0;
230
- return (cleanPath || "/") + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
231
- }
232
- function withTrailingSlash(input = "", respectQueryAndFragment) {
233
- if (!respectQueryAndFragment) {
234
- return input.endsWith("/") ? input : input + "/";
235
- }
236
- if (hasTrailingSlash(input, true)) {
237
- return input || "/";
238
- }
239
- let path = input;
240
- let fragment = "";
241
- const fragmentIndex = input.indexOf("#");
242
- if (fragmentIndex !== -1) {
243
- path = input.slice(0, fragmentIndex);
244
- fragment = input.slice(fragmentIndex);
245
- if (!path) {
246
- return fragment;
247
- }
248
- }
249
- const [s0, ...s] = path.split("?");
250
- return s0 + "/" + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
251
- }
252
- function hasLeadingSlash(input = "") {
253
- return input.startsWith("/");
254
- }
255
- function withoutLeadingSlash(input = "") {
256
- return (hasLeadingSlash(input) ? input.slice(1) : input) || "/";
257
- }
258
- function withLeadingSlash(input = "") {
259
- return hasLeadingSlash(input) ? input : "/" + input;
260
- }
261
- function cleanDoubleSlashes(input = "") {
262
- return input.split("://").map((string_) => string_.replace(/\/{2,}/g, "/")).join("://");
263
- }
264
- function withBase(input, base) {
265
- if (isEmptyURL(base) || hasProtocol(input)) {
266
- return input;
267
- }
268
- const _base = withoutTrailingSlash(base);
269
- if (input.startsWith(_base)) {
270
- const nextChar = input[_base.length];
271
- if (!nextChar || nextChar === "/" || nextChar === "?") {
272
- return input;
273
- }
274
- }
275
- return joinURL(_base, input);
276
- }
277
- function withoutBase(input, base) {
278
- if (isEmptyURL(base)) {
279
- return input;
280
- }
281
- const _base = withoutTrailingSlash(base);
282
- if (!input.startsWith(_base)) {
283
- return input;
284
- }
285
- const nextChar = input[_base.length];
286
- if (nextChar && nextChar !== "/" && nextChar !== "?") {
287
- return input;
288
- }
289
- const trimmed = input.slice(_base.length).replace(/^\/+/, "");
290
- return "/" + trimmed;
291
- }
292
- function withQuery(input, query) {
293
- const parsed = parseURL(input);
294
- const mergedQuery = { ...parseQuery(parsed.search), ...query };
295
- parsed.search = stringifyQuery(mergedQuery);
296
- return stringifyParsedURL(parsed);
297
- }
298
- function filterQuery(input, predicate) {
299
- if (!input.includes("?")) {
300
- return input;
301
- }
302
- const parsed = parseURL(input);
303
- const query = parseQuery(parsed.search);
304
- const filteredQuery = Object.fromEntries(
305
- Object.entries(query).filter(([key, value]) => predicate(key, value))
306
- );
307
- parsed.search = stringifyQuery(filteredQuery);
308
- return stringifyParsedURL(parsed);
309
- }
310
- function getQuery(input) {
311
- return parseQuery(parseURL(input).search);
312
- }
313
- function isEmptyURL(url) {
314
- return !url || url === "/";
315
- }
316
- function isNonEmptyURL(url) {
317
- return url && url !== "/";
318
- }
319
- function joinURL(base, ...input) {
320
- let url = base || "";
321
- for (const segment of input.filter((url2) => isNonEmptyURL(url2))) {
322
- if (url) {
323
- const _segment = segment.replace(JOIN_LEADING_SLASH_RE, "");
324
- url = withTrailingSlash(url) + _segment;
325
- } else {
326
- url = segment;
327
- }
328
- }
329
- return url;
330
- }
331
- function joinRelativeURL(..._input) {
332
- const JOIN_SEGMENT_SPLIT_RE = /\/(?!\/)/;
333
- const input = _input.filter(Boolean);
334
- const segments = [];
335
- let segmentsDepth = 0;
336
- for (const i of input) {
337
- if (!i || i === "/") {
338
- continue;
339
- }
340
- for (const [sindex, s] of i.split(JOIN_SEGMENT_SPLIT_RE).entries()) {
341
- if (!s || s === ".") {
342
- continue;
343
- }
344
- if (s === "..") {
345
- if (segments.length === 1 && hasProtocol(segments[0])) {
346
- continue;
347
- }
348
- segments.pop();
349
- segmentsDepth--;
350
- continue;
351
- }
352
- if (sindex === 1 && segments[segments.length - 1]?.endsWith(":/")) {
353
- segments[segments.length - 1] += "/" + s;
354
- continue;
355
- }
356
- segments.push(s);
357
- segmentsDepth++;
358
- }
359
- }
360
- let url = segments.join("/");
361
- if (segmentsDepth >= 0) {
362
- if (input[0]?.startsWith("/") && !url.startsWith("/")) {
363
- url = "/" + url;
364
- } else if (input[0]?.startsWith("./") && !url.startsWith("./")) {
365
- url = "./" + url;
366
- }
367
- } else {
368
- url = "../".repeat(-1 * segmentsDepth) + url;
369
- }
370
- if (input[input.length - 1]?.endsWith("/") && !url.endsWith("/")) {
371
- url += "/";
372
- }
373
- return url;
374
- }
375
- function withHttp(input) {
376
- return withProtocol(input, "http://");
377
- }
378
- function withHttps(input) {
379
- return withProtocol(input, "https://");
380
- }
381
- function withoutProtocol(input) {
382
- return withProtocol(input, "");
383
- }
384
- function withProtocol(input, protocol) {
385
- let match = input.match(PROTOCOL_REGEX);
386
- if (!match) {
387
- match = input.match(/^\/{2,}/);
388
- }
389
- if (!match) {
390
- return protocol + input;
391
- }
392
- return protocol + input.slice(match[0].length);
393
- }
394
- function normalizeURL(input) {
395
- const parsed = parseURL(input);
396
- parsed.pathname = encodePath(decodePath(parsed.pathname));
397
- parsed.hash = encodeHash(decode(parsed.hash));
398
- parsed.host = encodeHost(decode(parsed.host));
399
- parsed.search = stringifyQuery(parseQuery(parsed.search));
400
- return stringifyParsedURL(parsed);
401
- }
402
- function resolveURL(base = "", ...inputs) {
403
- if (typeof base !== "string") {
404
- throw new TypeError(
405
- `URL input should be string received ${typeof base} (${base})`
406
- );
407
- }
408
- const filteredInputs = inputs.filter((input) => isNonEmptyURL(input));
409
- if (filteredInputs.length === 0) {
410
- return base;
411
- }
412
- const url = parseURL(base);
413
- for (const inputSegment of filteredInputs) {
414
- const urlSegment = parseURL(inputSegment);
415
- if (urlSegment.pathname) {
416
- url.pathname = withTrailingSlash(url.pathname) + withoutLeadingSlash(urlSegment.pathname);
417
- }
418
- if (urlSegment.hash && urlSegment.hash !== "#") {
419
- url.hash = urlSegment.hash;
420
- }
421
- if (urlSegment.search && urlSegment.search !== "?") {
422
- if (url.search && url.search !== "?") {
423
- const queryString = stringifyQuery({
424
- ...parseQuery(url.search),
425
- ...parseQuery(urlSegment.search)
426
- });
427
- url.search = queryString.length > 0 ? "?" + queryString : "";
428
- } else {
429
- url.search = urlSegment.search;
430
- }
431
- }
432
- }
433
- return stringifyParsedURL(url);
434
- }
435
- function isSamePath(p1, p2) {
436
- return decode(withoutTrailingSlash(p1)) === decode(withoutTrailingSlash(p2));
437
- }
438
- function isEqual(a, b, options = {}) {
439
- if (!options.trailingSlash) {
440
- a = withTrailingSlash(a);
441
- b = withTrailingSlash(b);
442
- }
443
- if (!options.leadingSlash) {
444
- a = withLeadingSlash(a);
445
- b = withLeadingSlash(b);
446
- }
447
- if (!options.encoding) {
448
- a = decode(a);
449
- b = decode(b);
450
- }
451
- return a === b;
452
- }
453
- function withFragment(input, hash) {
454
- if (!hash || hash === "#") {
455
- return input;
456
- }
457
- const parsed = parseURL(input);
458
- parsed.hash = hash === "" ? "" : "#" + encodeHash(hash);
459
- return stringifyParsedURL(parsed);
460
- }
461
- function withoutFragment(input) {
462
- return stringifyParsedURL({ ...parseURL(input), hash: "" });
463
- }
464
- function withoutHost(input) {
465
- const parsed = parseURL(input);
466
- return (parsed.pathname || "/") + parsed.search + parsed.hash;
467
- }
468
-
469
- const protocolRelative = Symbol.for("ufo:protocolRelative");
470
- function parseURL(input = "", defaultProto) {
471
- const _specialProtoMatch = input.match(
472
- /^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i
473
- );
474
- if (_specialProtoMatch) {
475
- const [, _proto, _pathname = ""] = _specialProtoMatch;
476
- return {
477
- protocol: _proto.toLowerCase(),
478
- pathname: _pathname,
479
- href: _proto + _pathname,
480
- auth: "",
481
- host: "",
482
- search: "",
483
- hash: ""
484
- };
485
- }
486
- if (!hasProtocol(input, { acceptRelative: true })) {
487
- return defaultProto ? parseURL(defaultProto + input) : parsePath(input);
488
- }
489
- const [, protocol = "", auth, hostAndPath = ""] = input.replace(/\\/g, "/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/) || [];
490
- let [, host = "", path = ""] = hostAndPath.match(/([^#/?]*)(.*)?/) || [];
491
- if (protocol === "file:") {
492
- path = path.replace(/\/(?=[A-Za-z]:)/, "");
493
- }
494
- const { pathname, search, hash } = parsePath(path);
495
- return {
496
- protocol: protocol.toLowerCase(),
497
- auth: auth ? auth.slice(0, Math.max(0, auth.length - 1)) : "",
498
- host,
499
- pathname,
500
- search,
501
- hash,
502
- [protocolRelative]: !protocol
503
- };
504
- }
505
- function parsePath(input = "") {
506
- const [pathname = "", search = "", hash = ""] = (input.match(/([^#?]*)(\?[^#]*)?(#.*)?/) || []).splice(1);
507
- return {
508
- pathname,
509
- search,
510
- hash
511
- };
512
- }
513
- function parseAuth(input = "") {
514
- const [username, password] = input.split(":");
515
- return {
516
- username: decode(username),
517
- password: decode(password)
518
- };
519
- }
520
- function parseHost(input = "") {
521
- const [hostname, port] = (input.match(/([^/:]*):?(\d+)?/) || []).splice(1);
522
- return {
523
- hostname: decode(hostname),
524
- port
525
- };
526
- }
527
- function stringifyParsedURL(parsed) {
528
- const pathname = parsed.pathname || "";
529
- const search = parsed.search ? (parsed.search.startsWith("?") ? "" : "?") + parsed.search : "";
530
- const hash = parsed.hash || "";
531
- const auth = parsed.auth ? parsed.auth + "@" : "";
532
- const host = parsed.host || "";
533
- const proto = parsed.protocol || parsed[protocolRelative] ? (parsed.protocol || "") + "//" : "";
534
- return proto + auth + host + pathname + search + hash;
535
- }
536
- const FILENAME_STRICT_REGEX = /\/([^/]+\.[^/]+)$/;
537
- const FILENAME_REGEX = /\/([^/]+)$/;
538
- function parseFilename(input = "", opts) {
539
- const { pathname } = parseURL(input);
540
- const matches = opts?.strict ? pathname.match(FILENAME_STRICT_REGEX) : pathname.match(FILENAME_REGEX);
541
- return matches ? matches[1] : void 0;
542
- }
543
-
544
- class $URL {
545
- protocol;
546
- host;
547
- auth;
548
- pathname;
549
- query = {};
550
- hash;
551
- constructor(input = "") {
552
- if (typeof input !== "string") {
553
- throw new TypeError(
554
- `URL input should be string received ${typeof input} (${input})`
555
- );
556
- }
557
- const parsed = parseURL(input);
558
- this.protocol = decode(parsed.protocol);
559
- this.host = decode(parsed.host);
560
- this.auth = decode(parsed.auth);
561
- this.pathname = decodePath(parsed.pathname);
562
- this.query = parseQuery(parsed.search);
563
- this.hash = decode(parsed.hash);
564
- }
565
- get hostname() {
566
- return parseHost(this.host).hostname;
567
- }
568
- get port() {
569
- return parseHost(this.host).port || "";
570
- }
571
- get username() {
572
- return parseAuth(this.auth).username;
573
- }
574
- get password() {
575
- return parseAuth(this.auth).password || "";
576
- }
577
- get hasProtocol() {
578
- return this.protocol.length;
579
- }
580
- get isAbsolute() {
581
- return this.hasProtocol || this.pathname[0] === "/";
582
- }
583
- get search() {
584
- const q = stringifyQuery(this.query);
585
- return q.length > 0 ? "?" + q : "";
586
- }
587
- get searchParams() {
588
- const p = new URLSearchParams();
589
- for (const name in this.query) {
590
- const value = this.query[name];
591
- if (Array.isArray(value)) {
592
- for (const v of value) {
593
- p.append(name, v);
594
- }
595
- } else {
596
- p.append(
597
- name,
598
- typeof value === "string" ? value : JSON.stringify(value)
599
- );
600
- }
601
- }
602
- return p;
603
- }
604
- get origin() {
605
- return (this.protocol ? this.protocol + "//" : "") + encodeHost(this.host);
606
- }
607
- get fullpath() {
608
- return encodePath(this.pathname) + this.search + encodeHash(this.hash);
609
- }
610
- get encodedAuth() {
611
- if (!this.auth) {
612
- return "";
613
- }
614
- const { username, password } = parseAuth(this.auth);
615
- return encodeURIComponent(username) + (password ? ":" + encodeURIComponent(password) : "");
616
- }
617
- get href() {
618
- const auth = this.encodedAuth;
619
- const originWithAuth = (this.protocol ? this.protocol + "//" : "") + (auth ? auth + "@" : "") + encodeHost(this.host);
620
- return this.hasProtocol && this.isAbsolute ? originWithAuth + this.fullpath : this.fullpath;
621
- }
622
- append(url) {
623
- if (url.hasProtocol) {
624
- throw new Error("Cannot append a URL with protocol");
625
- }
626
- Object.assign(this.query, url.query);
627
- if (url.pathname) {
628
- this.pathname = withTrailingSlash(this.pathname) + withoutLeadingSlash(url.pathname);
629
- }
630
- if (url.hash) {
631
- this.hash = url.hash;
632
- }
633
- }
634
- toJSON() {
635
- return this.href;
636
- }
637
- toString() {
638
- return this.href;
639
- }
640
- }
641
- function createURL(input) {
642
- return new $URL(input);
643
- }
644
-
645
- export { $URL, cleanDoubleSlashes, createURL, decode, decodePath, decodeQueryKey, decodeQueryValue, encode, encodeHash, encodeHost, encodeParam, encodePath, encodeQueryItem, encodeQueryKey, encodeQueryValue, filterQuery, getQuery, hasLeadingSlash, hasProtocol, hasTrailingSlash, isEmptyURL, isEqual, isNonEmptyURL, isRelative, isSamePath, isScriptProtocol, joinRelativeURL, joinURL, normalizeURL, parseAuth, parseFilename, parseHost, parsePath, parseQuery, parseURL, resolveURL, stringifyParsedURL, stringifyQuery, withBase, withFragment, withHttp, withHttps, withLeadingSlash, withProtocol, withQuery, withTrailingSlash, withoutBase, withoutFragment, withoutHost, withoutLeadingSlash, withoutProtocol, withoutTrailingSlash };
@@ -1,48 +0,0 @@
1
- {
2
- "name": "ufo",
3
- "version": "1.6.4",
4
- "description": "URL utils for humans",
5
- "repository": "unjs/ufo",
6
- "license": "MIT",
7
- "sideEffects": false,
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.mjs",
12
- "require": "./dist/index.cjs",
13
- "default": "./dist/index.mjs"
14
- },
15
- "./*": "./*"
16
- },
17
- "main": "./dist/index.cjs",
18
- "module": "./dist/index.mjs",
19
- "types": "./dist/index.d.ts",
20
- "files": [
21
- "dist"
22
- ],
23
- "scripts": {
24
- "build": "automd && unbuild",
25
- "automd": "automd",
26
- "dev": "vitest",
27
- "lint": "eslint . && prettier -c src test",
28
- "lint:fix": "eslint --fix . && prettier -w src test",
29
- "prepack": "pnpm build",
30
- "release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
31
- "test": "pnpm lint && vitest run --typecheck"
32
- },
33
- "devDependencies": {
34
- "@types/node": "^25.6.0",
35
- "@vitest/coverage-v8": "^4.1.5",
36
- "automd": "^0.4.3",
37
- "changelogen": "^0.6.2",
38
- "eslint": "^10.2.1",
39
- "eslint-config-unjs": "^0.6.2",
40
- "jiti": "^2.6.1",
41
- "prettier": "^3.8.3",
42
- "typescript": "^6.0.3",
43
- "unbuild": "^3.6.1",
44
- "untyped": "^2.0.0",
45
- "vitest": "^4.1.5"
46
- },
47
- "packageManager": "pnpm@10.33.2"
48
- }
@@ -1,9 +0,0 @@
1
- export { u as useHead, a as useHeadSafe, b as useSeoMeta, c as useServerHead, d as useServerHeadSafe, e as useServerSeoMeta } from './shared/unhead.Dh1cQCTe.mjs';
2
- export { c as createHeadCore, a as createUnhead } from './shared/unhead.CaI5ZD4O.mjs';
3
- export { u as useScript } from './shared/unhead.BnoAbrHA.mjs';
4
- import './shared/unhead.D4vSFytZ.mjs';
5
- import './shared/unhead.DQc16pHI.mjs';
6
- import './shared/unhead.yem5I2v_.mjs';
7
- import 'hookable';
8
- import './shared/unhead.B3VbJo7Y.mjs';
9
- import './shared/unhead.CbpEuj3y.mjs';