renovate-log-parser 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +402 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +30 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/analyze.d.ts +24 -0
- package/dist/commands/analyze.js +114 -0
- package/dist/commands/analyze.js.map +1 -0
- package/dist/commands/detect-errors.d.ts +17 -0
- package/dist/commands/detect-errors.js +119 -0
- package/dist/commands/detect-errors.js.map +1 -0
- package/dist/commands/install-analyze-skill.d.ts +27 -0
- package/dist/commands/install-analyze-skill.js +181 -0
- package/dist/commands/install-analyze-skill.js.map +1 -0
- package/dist/commands/web.d.ts +12 -0
- package/dist/commands/web.js +103 -0
- package/dist/commands/web.js.map +1 -0
- package/dist/core/analyzer.d.ts +89 -0
- package/dist/core/analyzer.js +179 -0
- package/dist/core/analyzer.js.map +1 -0
- package/dist/core/error-detector.d.ts +56 -0
- package/dist/core/error-detector.js +236 -0
- package/dist/core/error-detector.js.map +1 -0
- package/dist/core/filters.d.ts +136 -0
- package/dist/core/filters.js +95 -0
- package/dist/core/filters.js.map +1 -0
- package/dist/core/ignore-file.d.ts +52 -0
- package/dist/core/ignore-file.js +104 -0
- package/dist/core/ignore-file.js.map +1 -0
- package/dist/core/levels.d.ts +33 -0
- package/dist/core/levels.js +35 -0
- package/dist/core/levels.js.map +1 -0
- package/dist/core/parser.d.ts +57 -0
- package/dist/core/parser.js +201 -0
- package/dist/core/parser.js.map +1 -0
- package/dist/core/query-builder.d.ts +47 -0
- package/dist/core/query-builder.js +155 -0
- package/dist/core/query-builder.js.map +1 -0
- package/dist/core/skill-template.d.ts +34 -0
- package/dist/core/skill-template.js +259 -0
- package/dist/core/skill-template.js.map +1 -0
- package/package.json +68 -0
- package/web/.output/nitro.json +15 -0
- package/web/.output/public/_fonts/57NSSoFy1VLVs2gqly8Ls9awBnZMFyXGrefpmqvdqmc-zJfbBtpgM4cDmcXBsqZNW79_kFnlpPd62b48glgdydA.woff2 +0 -0
- package/web/.output/public/_fonts/8VR2wSMN-3U4NbWAVYXlkRV6hA0jFBXP-0RtL3X7fko-x2gYI4qfmkRdxyQQUPaBZdZdgl1TeVrquF_TxHeM4lM.woff2 +0 -0
- package/web/.output/public/_fonts/GsKUclqeNLJ96g5AU593ug6yanivOiwjW_7zESNPChw-jHA4tBeM1bjF7LATGUpfBuSTyomIFrWBTzjF7txVYfg.woff2 +0 -0
- package/web/.output/public/_fonts/Ld1FnTo3yTIwDyGfTQ5-Fws9AWsCbKfMvgxduXr7JcY-W25bL8NF1fjpLRSOgJb7RoZPHqGQNwMTM7S9tHVoxx8.woff2 +0 -0
- package/web/.output/public/_fonts/NdzqRASp2bovDUhQT1IRE_EMqKJ2KYQdTCfFcBvL8yw-KhwZiS86o3fErOe5GGMExHUemmI_dBfaEFxjISZrBd0.woff2 +0 -0
- package/web/.output/public/_fonts/iTkrULNFJJkTvihIg1Vqi5IODRH_9btXCioVF5l98I8-AndUyau2HR2felA_ra8V2mutQgschhasE5FD1dXGJX8.woff2 +0 -0
- package/web/.output/public/_nuxt/BWja8e3M.js +37 -0
- package/web/.output/public/_nuxt/BgApMHS1.js +1 -0
- package/web/.output/public/_nuxt/CGPWRqbc.js +1 -0
- package/web/.output/public/_nuxt/DlAUqK2U.js +1 -0
- package/web/.output/public/_nuxt/Sgtec1U0.js +1 -0
- package/web/.output/public/_nuxt/builds/latest.json +1 -0
- package/web/.output/public/_nuxt/builds/meta/c4723e49-0623-47af-ae79-9ab6428bdcc1.json +1 -0
- package/web/.output/public/_nuxt/entry.9mB-pyEY.css +1 -0
- package/web/.output/public/_nuxt/error-404.B_PvSG-P.css +1 -0
- package/web/.output/public/_nuxt/error-500.CghkKCEr.css +1 -0
- package/web/.output/public/_nuxt/index.BlvAG7F6.css +1 -0
- package/web/.output/public/favicon.ico +0 -0
- package/web/.output/server/chunks/_/error-500.mjs +19 -0
- package/web/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/web/.output/server/chunks/_/icons.mjs +6153 -0
- package/web/.output/server/chunks/_/icons.mjs.map +1 -0
- package/web/.output/server/chunks/_/icons2.mjs +11494 -0
- package/web/.output/server/chunks/_/icons2.mjs.map +1 -0
- package/web/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs +10 -0
- package/web/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs.map +1 -0
- package/web/.output/server/chunks/build/client.precomputed.mjs +4 -0
- package/web/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
- package/web/.output/server/chunks/build/error-404-DyaaQUIS.mjs +106 -0
- package/web/.output/server/chunks/build/error-404-DyaaQUIS.mjs.map +1 -0
- package/web/.output/server/chunks/build/error-404-styles.9cNA4arh.mjs +8 -0
- package/web/.output/server/chunks/build/error-404-styles.9cNA4arh.mjs.map +1 -0
- package/web/.output/server/chunks/build/error-500-CVSP-p02.mjs +89 -0
- package/web/.output/server/chunks/build/error-500-CVSP-p02.mjs.map +1 -0
- package/web/.output/server/chunks/build/error-500-styles.BX54ZlkH.mjs +8 -0
- package/web/.output/server/chunks/build/error-500-styles.BX54ZlkH.mjs.map +1 -0
- package/web/.output/server/chunks/build/index-88dXYOxO.mjs +19675 -0
- package/web/.output/server/chunks/build/index-88dXYOxO.mjs.map +1 -0
- package/web/.output/server/chunks/build/index-styles.V2iua2bE.mjs +8 -0
- package/web/.output/server/chunks/build/index-styles.V2iua2bE.mjs.map +1 -0
- package/web/.output/server/chunks/build/server.mjs +7910 -0
- package/web/.output/server/chunks/build/server.mjs.map +1 -0
- package/web/.output/server/chunks/build/styles.mjs +10 -0
- package/web/.output/server/chunks/build/styles.mjs.map +1 -0
- package/web/.output/server/chunks/nitro/nitro.mjs +6944 -0
- package/web/.output/server/chunks/nitro/nitro.mjs.map +1 -0
- package/web/.output/server/chunks/routes/api/fields.get.mjs +27 -0
- package/web/.output/server/chunks/routes/api/fields.get.mjs.map +1 -0
- package/web/.output/server/chunks/routes/api/findings.get.mjs +30 -0
- package/web/.output/server/chunks/routes/api/findings.get.mjs.map +1 -0
- package/web/.output/server/chunks/routes/api/log/contents.post.mjs +29 -0
- package/web/.output/server/chunks/routes/api/log/contents.post.mjs.map +1 -0
- package/web/.output/server/chunks/routes/api/log/path.post.mjs +30 -0
- package/web/.output/server/chunks/routes/api/log/path.post.mjs.map +1 -0
- package/web/.output/server/chunks/routes/api/repositories.get.mjs +27 -0
- package/web/.output/server/chunks/routes/api/repositories.get.mjs.map +1 -0
- package/web/.output/server/chunks/routes/api/rows.get.mjs +48 -0
- package/web/.output/server/chunks/routes/api/rows.get.mjs.map +1 -0
- package/web/.output/server/chunks/routes/renderer.mjs +451 -0
- package/web/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/web/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/web/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/web/.output/server/index.mjs +16 -0
- package/web/.output/server/index.mjs.map +1 -0
- package/web/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.mjs +290 -0
- package/web/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +49 -0
- package/web/.output/server/node_modules/.nitro/hookable@6.1.1/dist/index.mjs +257 -0
- package/web/.output/server/node_modules/.nitro/hookable@6.1.1/package.json +53 -0
- package/web/.output/server/node_modules/@babel/parser/lib/index.js +14599 -0
- package/web/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/web/.output/server/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1038 -0
- package/web/.output/server/node_modules/@floating-ui/core/package.json +63 -0
- package/web/.output/server/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +789 -0
- package/web/.output/server/node_modules/@floating-ui/dom/package.json +72 -0
- package/web/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +165 -0
- package/web/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +136 -0
- package/web/.output/server/node_modules/@floating-ui/utils/package.json +70 -0
- package/web/.output/server/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs +190 -0
- package/web/.output/server/node_modules/@floating-ui/vue/package.json +71 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/colors/index.js +295 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +701 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/css/common.js +75 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/css/format.js +39 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/css/icon.js +47 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/css/icons.js +128 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +19 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +13 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +17 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +16 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +30 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +78 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +100 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +28 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +58 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +48 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +203 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +33 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +132 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +165 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +79 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +92 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +26 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +76 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +66 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +45 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +103 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +36 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +92 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +62 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +25 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +16 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/name.js +57 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/square.js +33 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +12 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +125 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +19 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +25 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +36 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +91 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +46 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +23 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +42 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +123 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/index.js +52 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +30 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +26 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +27 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +105 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +26 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +26 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/misc/title.js +9 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/build.js +113 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +31 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +13 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/html.js +9 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/id.js +41 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +22 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +67 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +54 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/size.js +27 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +7 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/url.js +22 -0
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +8 -0
- package/web/.output/server/node_modules/@iconify/utils/package.json +119 -0
- package/web/.output/server/node_modules/@iconify/vue/dist/iconify.mjs +1896 -0
- package/web/.output/server/node_modules/@iconify/vue/package.json +62 -0
- package/web/.output/server/node_modules/@tanstack/virtual-core/dist/esm/index.js +1268 -0
- package/web/.output/server/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +34 -0
- package/web/.output/server/node_modules/@tanstack/virtual-core/dist/esm/utils.js +74 -0
- package/web/.output/server/node_modules/@tanstack/virtual-core/package.json +56 -0
- package/web/.output/server/node_modules/@tanstack/vue-virtual/dist/esm/index.js +66 -0
- package/web/.output/server/node_modules/@tanstack/vue-virtual/package.json +68 -0
- package/web/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6759 -0
- package/web/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/web/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
- package/web/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/web/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
- package/web/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/web/.output/server/node_modules/@vue/devtools-api/dist/index.js +2 -0
- package/web/.output/server/node_modules/@vue/devtools-api/package.json +34 -0
- package/web/.output/server/node_modules/@vue/devtools-kit/dist/index.js +5670 -0
- package/web/.output/server/node_modules/@vue/devtools-kit/node_modules/hookable/dist/index.mjs +290 -0
- package/web/.output/server/node_modules/@vue/devtools-kit/node_modules/hookable/package.json +49 -0
- package/web/.output/server/node_modules/@vue/devtools-kit/package.json +44 -0
- package/web/.output/server/node_modules/@vue/devtools-shared/dist/index.js +239 -0
- package/web/.output/server/node_modules/@vue/devtools-shared/package.json +33 -0
- package/web/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1899 -0
- package/web/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/web/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6940 -0
- package/web/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/web/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1822 -0
- package/web/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/web/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +896 -0
- package/web/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
- package/web/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
- package/web/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/web/.output/server/node_modules/@vueuse/core/dist/index.js +8464 -0
- package/web/.output/server/node_modules/@vueuse/core/package.json +49 -0
- package/web/.output/server/node_modules/@vueuse/shared/dist/index.js +2013 -0
- package/web/.output/server/node_modules/@vueuse/shared/package.json +42 -0
- package/web/.output/server/node_modules/aria-hidden/dist/es5/index.js +174 -0
- package/web/.output/server/node_modules/aria-hidden/package.json +71 -0
- package/web/.output/server/node_modules/birpc/dist/index.mjs +291 -0
- package/web/.output/server/node_modules/birpc/package.json +57 -0
- package/web/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
- package/web/.output/server/node_modules/consola/dist/core.mjs +512 -0
- package/web/.output/server/node_modules/consola/dist/index.mjs +651 -0
- package/web/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
- package/web/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
- package/web/.output/server/node_modules/consola/package.json +136 -0
- package/web/.output/server/node_modules/devalue/index.js +4 -0
- package/web/.output/server/node_modules/devalue/package.json +40 -0
- package/web/.output/server/node_modules/devalue/src/base64.js +60 -0
- package/web/.output/server/node_modules/devalue/src/constants.js +12 -0
- package/web/.output/server/node_modules/devalue/src/parse.js +283 -0
- package/web/.output/server/node_modules/devalue/src/stringify.js +401 -0
- package/web/.output/server/node_modules/devalue/src/uneval.js +552 -0
- package/web/.output/server/node_modules/devalue/src/utils.js +160 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/web/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/web/.output/server/node_modules/entities/package.json +120 -0
- package/web/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/web/.output/server/node_modules/estree-walker/package.json +37 -0
- package/web/.output/server/node_modules/hookable/dist/index.mjs +257 -0
- package/web/.output/server/node_modules/hookable/package.json +53 -0
- package/web/.output/server/node_modules/nostics/dist/index.mjs +179 -0
- package/web/.output/server/node_modules/nostics/package.json +124 -0
- package/web/.output/server/node_modules/perfect-debounce/dist/index.mjs +89 -0
- package/web/.output/server/node_modules/perfect-debounce/package.json +41 -0
- package/web/.output/server/node_modules/rou3/dist/index.mjs +501 -0
- package/web/.output/server/node_modules/rou3/package.json +48 -0
- package/web/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/web/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/web/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/web/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/web/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/web/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/web/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/web/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/web/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/web/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/web/.output/server/node_modules/source-map-js/package.json +71 -0
- package/web/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/web/.output/server/node_modules/srvx/dist/_chunks/_body-limit.mjs +39 -0
- package/web/.output/server/node_modules/srvx/dist/_chunks/_plugins.mjs +56 -0
- package/web/.output/server/node_modules/srvx/dist/_chunks/_trust-proxy.mjs +58 -0
- package/web/.output/server/node_modules/srvx/dist/_chunks/_url.mjs +134 -0
- package/web/.output/server/node_modules/srvx/dist/_chunks/_utils.mjs +15 -0
- package/web/.output/server/node_modules/srvx/dist/_chunks/_utils2.mjs +75 -0
- package/web/.output/server/node_modules/srvx/dist/adapters/node.mjs +976 -0
- package/web/.output/server/node_modules/srvx/package.json +102 -0
- package/web/.output/server/node_modules/tailwind-merge/dist/bundle-mjs.mjs +3365 -0
- package/web/.output/server/node_modules/tailwind-merge/package.json +93 -0
- package/web/.output/server/node_modules/tailwind-variants/dist/chunk-LQJYWU4O.js +112 -0
- package/web/.output/server/node_modules/tailwind-variants/dist/chunk-RZF76H2U.js +269 -0
- package/web/.output/server/node_modules/tailwind-variants/dist/index.js +38 -0
- package/web/.output/server/node_modules/tailwind-variants/package.json +122 -0
- package/web/.output/server/node_modules/tailwindcss/dist/chunk-X4GG3EDV.mjs +1 -0
- package/web/.output/server/node_modules/tailwindcss/dist/colors.mjs +1 -0
- package/web/.output/server/node_modules/tailwindcss/package.json +89 -0
- package/web/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/web/.output/server/node_modules/ufo/package.json +48 -0
- package/web/.output/server/node_modules/unhead/dist/index.mjs +9 -0
- package/web/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
- package/web/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
- package/web/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
- package/web/.output/server/node_modules/unhead/dist/server.mjs +180 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.B3VbJo7Y.mjs +207 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.BnoAbrHA.mjs +269 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.CaI5ZD4O.mjs +182 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.D4vSFytZ.mjs +236 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.Dh1cQCTe.mjs +44 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.TxTMM7cM.mjs +166 -0
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
- package/web/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
- package/web/.output/server/node_modules/unhead/node_modules/hookable/dist/index.mjs +257 -0
- package/web/.output/server/node_modules/unhead/node_modules/hookable/package.json +53 -0
- package/web/.output/server/node_modules/unhead/package.json +105 -0
- package/web/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/web/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/web/.output/server/node_modules/vue/index.js +7 -0
- package/web/.output/server/node_modules/vue/index.mjs +1 -0
- package/web/.output/server/node_modules/vue/package.json +112 -0
- package/web/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/web/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +249 -0
- package/web/.output/server/node_modules/vue-bundle-renderer/package.json +57 -0
- package/web/.output/server/node_modules/vue-demi/lib/index.mjs +34 -0
- package/web/.output/server/node_modules/vue-demi/package.json +47 -0
- package/web/.output/server/node_modules/vue-router/dist/devtools-Bpr7ZAVB.js +1056 -0
- package/web/.output/server/node_modules/vue-router/dist/useApi-CROJJdhE.js +436 -0
- package/web/.output/server/node_modules/vue-router/dist/vue-router.js +1543 -0
- package/web/.output/server/node_modules/vue-router/package.json +214 -0
- package/web/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
- package/web/.output/server/package.json +51 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { bold, gray, green, red } from "./_utils.mjs";
|
|
2
|
+
function wrapFetch(server) {
|
|
3
|
+
const fetchHandler = server.options.fetch;
|
|
4
|
+
const middleware = server.options.middleware || [];
|
|
5
|
+
return middleware.length === 0 ? fetchHandler : (request) => callMiddleware(request, fetchHandler, middleware, 0);
|
|
6
|
+
}
|
|
7
|
+
function callMiddleware(request, fetchHandler, middleware, index) {
|
|
8
|
+
if (index === middleware.length) return fetchHandler(request);
|
|
9
|
+
return middleware[index](request, () => callMiddleware(request, fetchHandler, middleware, index + 1));
|
|
10
|
+
}
|
|
11
|
+
const errorPlugin = (server) => {
|
|
12
|
+
const errorHandler = server.options.error;
|
|
13
|
+
if (!errorHandler) return;
|
|
14
|
+
server.options.middleware.unshift((_req, next) => {
|
|
15
|
+
try {
|
|
16
|
+
const res = next();
|
|
17
|
+
return res instanceof Promise ? res.catch((error) => errorHandler(error)) : res;
|
|
18
|
+
} catch (error) {
|
|
19
|
+
return errorHandler(error);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
const gracefulShutdownPlugin = (server) => {
|
|
24
|
+
const config = server.options?.gracefulShutdown;
|
|
25
|
+
if (!globalThis.process?.on || config === false || config === void 0 && (process.env.CI || process.env.TEST)) return;
|
|
26
|
+
const gracefulTimeout = config === true || !config?.gracefulTimeout ? Number.parseInt(process.env.SERVER_SHUTDOWN_TIMEOUT || "") || 5 : config.gracefulTimeout;
|
|
27
|
+
let isClosing = false;
|
|
28
|
+
let isClosed = false;
|
|
29
|
+
const w = server.options.silent ? () => {} : process.stderr.write.bind(process.stderr);
|
|
30
|
+
const forceClose = async () => {
|
|
31
|
+
if (isClosed) return;
|
|
32
|
+
w(red("\x1B[2K\rForcibly closing connections...\n"));
|
|
33
|
+
isClosed = true;
|
|
34
|
+
await server.close(true);
|
|
35
|
+
};
|
|
36
|
+
const shutdown = async () => {
|
|
37
|
+
if (isClosing || isClosed) return;
|
|
38
|
+
setTimeout(() => {
|
|
39
|
+
globalThis.process.once("SIGINT", forceClose);
|
|
40
|
+
}, 100);
|
|
41
|
+
isClosing = true;
|
|
42
|
+
const closePromise = server.close();
|
|
43
|
+
for (let remaining = gracefulTimeout; remaining > 0; remaining--) {
|
|
44
|
+
w(gray(`\rStopping server gracefully (${remaining}s)... Press ${bold("Ctrl+C")} again to force close.`));
|
|
45
|
+
if (await Promise.race([closePromise.then(() => true), new Promise((r) => setTimeout(() => r(false), 1e3))])) {
|
|
46
|
+
w("\x1B[2K\r" + green("Server closed successfully.\n"));
|
|
47
|
+
isClosed = true;
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
w("\x1B[2K\rGraceful shutdown timed out.\n");
|
|
52
|
+
await forceClose();
|
|
53
|
+
};
|
|
54
|
+
for (const sig of ["SIGINT", "SIGTERM"]) globalThis.process.on(sig, shutdown);
|
|
55
|
+
};
|
|
56
|
+
export { errorPlugin, gracefulShutdownPlugin, wrapFetch };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
function isTrustedProxy(trustProxy, remoteAddress) {
|
|
2
|
+
if (trustProxy === void 0 || trustProxy === false) return false;
|
|
3
|
+
if (trustProxy === true) return true;
|
|
4
|
+
if (trustProxy === "loopback") return isLoopbackAddress(remoteAddress);
|
|
5
|
+
if (remoteAddress === void 0) return false;
|
|
6
|
+
if (trustProxy.includes(remoteAddress)) return true;
|
|
7
|
+
const mapped = ipv4FromMapped(remoteAddress);
|
|
8
|
+
return mapped !== void 0 && trustProxy.includes(mapped);
|
|
9
|
+
}
|
|
10
|
+
function ipv4FromMapped(address) {
|
|
11
|
+
return address.startsWith("::ffff:") && address.includes(".") ? address.slice(7) : void 0;
|
|
12
|
+
}
|
|
13
|
+
function isLoopbackAddress(address) {
|
|
14
|
+
return !!address && (address === "::1" || address.startsWith("127.") || address.startsWith("::ffff:127."));
|
|
15
|
+
}
|
|
16
|
+
const HOST_RE = /^(\[(?:[A-Fa-f0-9:.]+)\]|(?:[A-Za-z0-9_-]+\.)*[A-Za-z0-9_-]+|(?:\d{1,3}\.){3}\d{1,3})(:\d{1,5})?$/;
|
|
17
|
+
function forwardedHostHasPort(host) {
|
|
18
|
+
const bracket = host.lastIndexOf("]");
|
|
19
|
+
return bracket === -1 ? host.includes(":") : host.indexOf(":", bracket) !== -1;
|
|
20
|
+
}
|
|
21
|
+
function firstForwardedValue(value) {
|
|
22
|
+
if (!value) return;
|
|
23
|
+
return (Array.isArray(value) ? value[0] : value).split(",")[0].trim() || void 0;
|
|
24
|
+
}
|
|
25
|
+
const trustProxyPlugin = (server) => {
|
|
26
|
+
const trustProxy = server.options.trustProxy;
|
|
27
|
+
if (trustProxy === void 0 || trustProxy === false) return;
|
|
28
|
+
server.options.middleware.unshift((request, next) => {
|
|
29
|
+
applyTrustedProxy(request, trustProxy);
|
|
30
|
+
return next();
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
function applyTrustedProxy(request, trustProxy) {
|
|
34
|
+
if (!isTrustedProxy(trustProxy, request.ip)) return;
|
|
35
|
+
const headers = request.headers;
|
|
36
|
+
const forwardedProto = firstForwardedValue(headers.get("x-forwarded-proto"));
|
|
37
|
+
const forwardedHost = firstForwardedValue(headers.get("x-forwarded-host"));
|
|
38
|
+
if (forwardedProto || forwardedHost) {
|
|
39
|
+
const url = new URL(request.url);
|
|
40
|
+
if (forwardedProto === "https" || forwardedProto === "http") url.protocol = `${forwardedProto}:`;
|
|
41
|
+
if (forwardedHost && HOST_RE.test(forwardedHost)) {
|
|
42
|
+
url.host = forwardedHost;
|
|
43
|
+
if (url.port && !forwardedHostHasPort(forwardedHost)) url.port = "";
|
|
44
|
+
}
|
|
45
|
+
Object.defineProperty(request, "url", {
|
|
46
|
+
value: url.href,
|
|
47
|
+
enumerable: true,
|
|
48
|
+
configurable: true
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
const forwardedFor = firstForwardedValue(headers.get("x-forwarded-for"));
|
|
52
|
+
if (forwardedFor) Object.defineProperty(request, "ip", {
|
|
53
|
+
value: forwardedFor,
|
|
54
|
+
enumerable: true,
|
|
55
|
+
configurable: true
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
export { HOST_RE, firstForwardedValue, isTrustedProxy, trustProxyPlugin };
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
function lazyInherit(target, source, sourceKey) {
|
|
2
|
+
for (const key of [...Object.getOwnPropertyNames(source), ...Object.getOwnPropertySymbols(source)]) {
|
|
3
|
+
if (key === "constructor") continue;
|
|
4
|
+
const targetDesc = Object.getOwnPropertyDescriptor(target, key);
|
|
5
|
+
const desc = Object.getOwnPropertyDescriptor(source, key);
|
|
6
|
+
let modified = false;
|
|
7
|
+
if (desc.get) {
|
|
8
|
+
modified = true;
|
|
9
|
+
desc.get = targetDesc?.get || function() {
|
|
10
|
+
return this[sourceKey][key];
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
if (desc.set) {
|
|
14
|
+
modified = true;
|
|
15
|
+
desc.set = targetDesc?.set || function(value) {
|
|
16
|
+
this[sourceKey][key] = value;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
if (!targetDesc?.value && typeof desc.value === "function") {
|
|
20
|
+
modified = true;
|
|
21
|
+
desc.value = function(...args) {
|
|
22
|
+
return this[sourceKey][key](...args);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
if (modified) Object.defineProperty(target, key, desc);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
const _needsNormRE = /(?:(?:^|\/)(?:\.|\.\.|%2e|%2e\.|\.%2e|%2e%2e)(?:\/|$))|[\\^#"<>{}`\x80-\uffff]/i;
|
|
29
|
+
const _searchNeedsNormRE = /[#"'<>]/;
|
|
30
|
+
const FastURL = /* @__PURE__ */ (() => {
|
|
31
|
+
const NativeURL = globalThis.URL;
|
|
32
|
+
const FastURL = class URL {
|
|
33
|
+
#url;
|
|
34
|
+
#href;
|
|
35
|
+
#protocol;
|
|
36
|
+
#host;
|
|
37
|
+
#pathname;
|
|
38
|
+
#search;
|
|
39
|
+
#searchParams;
|
|
40
|
+
#pos;
|
|
41
|
+
constructor(url) {
|
|
42
|
+
if (typeof url === "string") {
|
|
43
|
+
const isOriginForm = url[0] === "/";
|
|
44
|
+
if (isOriginForm && !_searchNeedsNormRE.test(url)) this.#href = url;
|
|
45
|
+
else this.#url = new NativeURL(isOriginForm ? `http://localhost${url}` : url);
|
|
46
|
+
} else if (_needsNormRE.test(url.pathname) || url.search && _searchNeedsNormRE.test(url.search)) this.#url = new NativeURL(`${url.protocol || "http:"}//${url.host || "localhost"}${url.pathname}${url.search || ""}`);
|
|
47
|
+
else {
|
|
48
|
+
this.#protocol = url.protocol;
|
|
49
|
+
this.#host = url.host;
|
|
50
|
+
this.#pathname = url.pathname;
|
|
51
|
+
this.#search = url.search;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
static [Symbol.hasInstance](val) {
|
|
55
|
+
return val instanceof NativeURL;
|
|
56
|
+
}
|
|
57
|
+
get _url() {
|
|
58
|
+
if (this.#url) return this.#url;
|
|
59
|
+
this.#url = new NativeURL(this.href);
|
|
60
|
+
this.#href = void 0;
|
|
61
|
+
this.#protocol = void 0;
|
|
62
|
+
this.#host = void 0;
|
|
63
|
+
this.#pathname = void 0;
|
|
64
|
+
this.#search = void 0;
|
|
65
|
+
this.#searchParams = void 0;
|
|
66
|
+
this.#pos = void 0;
|
|
67
|
+
return this.#url;
|
|
68
|
+
}
|
|
69
|
+
get href() {
|
|
70
|
+
if (this.#url) return this.#url.href;
|
|
71
|
+
if (!this.#href) this.#href = `${this.#protocol || "http:"}//${this.#host || "localhost"}${this.#pathname || "/"}${this.#search || ""}`;
|
|
72
|
+
return this.#href;
|
|
73
|
+
}
|
|
74
|
+
#getPos() {
|
|
75
|
+
if (!this.#pos) {
|
|
76
|
+
const url = this.href;
|
|
77
|
+
const protoIndex = url.indexOf("://");
|
|
78
|
+
const pathnameIndex = protoIndex === -1 ? -1 : url.indexOf("/", protoIndex + 4);
|
|
79
|
+
const qIndex = pathnameIndex === -1 ? -1 : url.indexOf("?", pathnameIndex);
|
|
80
|
+
this.#pos = [
|
|
81
|
+
protoIndex,
|
|
82
|
+
pathnameIndex,
|
|
83
|
+
qIndex
|
|
84
|
+
];
|
|
85
|
+
}
|
|
86
|
+
return this.#pos;
|
|
87
|
+
}
|
|
88
|
+
get pathname() {
|
|
89
|
+
if (this.#url) return this.#url.pathname;
|
|
90
|
+
if (this.#pathname === void 0) {
|
|
91
|
+
const [, pathnameIndex, queryIndex] = this.#getPos();
|
|
92
|
+
if (pathnameIndex === -1) return this._url.pathname;
|
|
93
|
+
this.#pathname = this.href.slice(pathnameIndex, queryIndex === -1 ? void 0 : queryIndex);
|
|
94
|
+
}
|
|
95
|
+
return this.#pathname;
|
|
96
|
+
}
|
|
97
|
+
get search() {
|
|
98
|
+
if (this.#url) return this.#url.search;
|
|
99
|
+
if (this.#search === void 0) {
|
|
100
|
+
const [, pathnameIndex, queryIndex] = this.#getPos();
|
|
101
|
+
if (pathnameIndex === -1) return this._url.search;
|
|
102
|
+
const url = this.href;
|
|
103
|
+
this.#search = queryIndex === -1 || queryIndex === url.length - 1 ? "" : url.slice(queryIndex);
|
|
104
|
+
}
|
|
105
|
+
return this.#search;
|
|
106
|
+
}
|
|
107
|
+
get searchParams() {
|
|
108
|
+
if (this.#url) return this.#url.searchParams;
|
|
109
|
+
if (!this.#searchParams) this.#searchParams = new URLSearchParams(this.search);
|
|
110
|
+
return this.#searchParams;
|
|
111
|
+
}
|
|
112
|
+
get protocol() {
|
|
113
|
+
if (this.#url) return this.#url.protocol;
|
|
114
|
+
if (this.#protocol === void 0) {
|
|
115
|
+
const [protocolIndex] = this.#getPos();
|
|
116
|
+
if (protocolIndex === -1) return this._url.protocol;
|
|
117
|
+
const url = this.href;
|
|
118
|
+
this.#protocol = url.slice(0, protocolIndex + 1);
|
|
119
|
+
}
|
|
120
|
+
return this.#protocol;
|
|
121
|
+
}
|
|
122
|
+
toString() {
|
|
123
|
+
return this.href;
|
|
124
|
+
}
|
|
125
|
+
toJSON() {
|
|
126
|
+
return this.href;
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
lazyInherit(FastURL.prototype, NativeURL.prototype, "_url");
|
|
130
|
+
Object.setPrototypeOf(FastURL.prototype, NativeURL.prototype);
|
|
131
|
+
Object.setPrototypeOf(FastURL, NativeURL);
|
|
132
|
+
return FastURL;
|
|
133
|
+
})();
|
|
134
|
+
export { FastURL, lazyInherit };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const noColor = /* @__PURE__ */ (() => {
|
|
2
|
+
const env = globalThis.process?.env ?? {};
|
|
3
|
+
return env.NO_COLOR === "1" || env.TERM === "dumb";
|
|
4
|
+
})();
|
|
5
|
+
const _c = (c, r = 39) => (t) => noColor ? t : `\u001B[${c}m${t}\u001B[${r}m`;
|
|
6
|
+
const bold = /* @__PURE__ */ _c(1, 22);
|
|
7
|
+
const red = /* @__PURE__ */ _c(31);
|
|
8
|
+
const green = /* @__PURE__ */ _c(32);
|
|
9
|
+
const yellow = /* @__PURE__ */ _c(33);
|
|
10
|
+
const blue = /* @__PURE__ */ _c(34);
|
|
11
|
+
const magenta = /* @__PURE__ */ _c(35);
|
|
12
|
+
const cyan = /* @__PURE__ */ _c(36);
|
|
13
|
+
const gray = /* @__PURE__ */ _c(90);
|
|
14
|
+
const url = (title, url) => noColor ? `[${title}](${url})` : `\u001B]8;;${url}\u001B\\${title}\u001B]8;;\u001B\\`;
|
|
15
|
+
export { blue, bold, cyan, gray, green, magenta, red, url, yellow };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
function resolvePortAndHost(opts) {
|
|
2
|
+
const _port = opts.port ?? globalThis.process?.env.PORT ?? 3e3;
|
|
3
|
+
const port = typeof _port === "number" ? _port : Number.parseInt(_port, 10);
|
|
4
|
+
if (port < 0 || port > 65535) throw new RangeError(`Port must be between 0 and 65535 (got "${port}").`);
|
|
5
|
+
return {
|
|
6
|
+
port,
|
|
7
|
+
hostname: opts.hostname ?? globalThis.process?.env.HOST
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
function fmtURL(host, port, secure) {
|
|
11
|
+
if (!host || !port) return;
|
|
12
|
+
if (host.includes(":")) host = `[${host}]`;
|
|
13
|
+
return `http${secure ? "s" : ""}://${host}:${port}/`;
|
|
14
|
+
}
|
|
15
|
+
function printListening(opts, url) {
|
|
16
|
+
if (!url || (opts.silent ?? globalThis.process?.env?.TEST)) return;
|
|
17
|
+
let additionalInfo = "";
|
|
18
|
+
try {
|
|
19
|
+
const _url = new URL(url);
|
|
20
|
+
if (_url.hostname === "[::]" || _url.hostname === "0.0.0.0") {
|
|
21
|
+
_url.hostname = "localhost";
|
|
22
|
+
url = _url.href;
|
|
23
|
+
additionalInfo = " (all interfaces)";
|
|
24
|
+
}
|
|
25
|
+
} catch {}
|
|
26
|
+
let listeningOn = `➜ Listening on:`;
|
|
27
|
+
if (globalThis.process.stdout?.isTTY) {
|
|
28
|
+
listeningOn = `\u001B[32m${listeningOn}\u001B[0m`;
|
|
29
|
+
url = `\u001B[36m${url}\u001B[0m`;
|
|
30
|
+
additionalInfo = `\u001B[2m${additionalInfo}\u001B[0m`;
|
|
31
|
+
}
|
|
32
|
+
console.log(`${listeningOn} ${url}${additionalInfo}`);
|
|
33
|
+
}
|
|
34
|
+
function resolveTLSOptions(opts) {
|
|
35
|
+
if (!opts.tls || opts.protocol === "http") return;
|
|
36
|
+
const cert = resolveCertOrKey(opts.tls.cert);
|
|
37
|
+
const key = resolveCertOrKey(opts.tls.key);
|
|
38
|
+
if (!cert && !key) {
|
|
39
|
+
if (opts.protocol === "https") throw new TypeError("TLS `cert` and `key` must be provided for `https` protocol.");
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
if (!cert || !key) throw new TypeError("TLS `cert` and `key` must be provided together.");
|
|
43
|
+
return {
|
|
44
|
+
cert,
|
|
45
|
+
key,
|
|
46
|
+
passphrase: opts.tls.passphrase
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function resolveCertOrKey(value) {
|
|
50
|
+
if (!value) return;
|
|
51
|
+
if (typeof value !== "string") throw new TypeError("TLS certificate and key must be strings in PEM format or file paths.");
|
|
52
|
+
if (value.startsWith("-----BEGIN ")) return value;
|
|
53
|
+
const { readFileSync } = process.getBuiltinModule("node:fs");
|
|
54
|
+
return readFileSync(value, "utf8");
|
|
55
|
+
}
|
|
56
|
+
function toNativeResponse(res) {
|
|
57
|
+
if (res?._toNodeResponse) return res._response;
|
|
58
|
+
if (typeof res?.then === "function") return res.then(toNativeResponse);
|
|
59
|
+
return res;
|
|
60
|
+
}
|
|
61
|
+
function createWaitUntil() {
|
|
62
|
+
const promises = /* @__PURE__ */ new Set();
|
|
63
|
+
return {
|
|
64
|
+
waitUntil: (promise) => {
|
|
65
|
+
if (typeof promise?.then !== "function") return;
|
|
66
|
+
promises.add(Promise.resolve(promise).catch(console.error).finally(() => {
|
|
67
|
+
promises.delete(promise);
|
|
68
|
+
}));
|
|
69
|
+
},
|
|
70
|
+
wait: () => {
|
|
71
|
+
return Promise.all(promises);
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
export { createWaitUntil, fmtURL, printListening, resolveCertOrKey, resolvePortAndHost, resolveTLSOptions, toNativeResponse };
|