renovate-log-parser 0.1.1 → 0.2.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/README.md +119 -34
- package/dist/commands/install-analyze-skill.d.ts +0 -1
- package/dist/commands/install-analyze-skill.js +15 -12
- package/dist/commands/install-analyze-skill.js.map +1 -1
- package/dist/commands/web.d.ts +2 -1
- package/dist/commands/web.js +23 -11
- package/dist/commands/web.js.map +1 -1
- package/dist/core/skill-template.js +17 -3
- package/dist/core/skill-template.js.map +1 -1
- package/dist/server/api.d.ts +16 -0
- package/dist/server/api.js +173 -0
- package/dist/server/api.js.map +1 -0
- package/dist/server/http-error.d.ts +18 -0
- package/dist/server/http-error.js +23 -0
- package/dist/server/http-error.js.map +1 -0
- package/dist/server/index.d.ts +34 -0
- package/dist/server/index.js +54 -0
- package/dist/server/index.js.map +1 -0
- package/dist/server/log-registry.d.ts +34 -0
- package/dist/server/log-registry.js +157 -0
- package/dist/server/log-registry.js.map +1 -0
- package/dist/server/server-main.d.ts +1 -0
- package/dist/server/server-main.js +31 -0
- package/dist/server/server-main.js.map +1 -0
- package/dist/server/translate-filters.d.ts +58 -0
- package/dist/server/translate-filters.js +119 -0
- package/dist/server/translate-filters.js.map +1 -0
- package/package.json +13 -5
- package/web/.output/public/200.html +1 -0
- package/web/.output/public/404.html +1 -0
- package/web/.output/public/_nuxt/BDNMzG2s.js +1 -0
- package/web/.output/public/_nuxt/BjDV6v2h.js +1 -0
- package/web/.output/public/_nuxt/CVlqYHPc.js +6 -0
- package/web/.output/public/_nuxt/CuOsDQlp.js +1 -0
- package/web/.output/public/_nuxt/CztOM3Aq.js +28 -0
- package/web/.output/public/_nuxt/D3wuHpM_.js +3 -0
- package/web/.output/public/_nuxt/DK3Fl9T5.js +1 -0
- package/web/.output/public/_nuxt/DUXEQ2Eh.js +3 -0
- package/web/.output/public/_nuxt/DVWtRbHb.js +1 -0
- package/web/.output/public/_nuxt/DeS15jQo.js +1 -0
- package/web/.output/public/_nuxt/XP9RigIT.js +1 -0
- package/web/.output/public/_nuxt/builds/latest.json +1 -1
- package/web/.output/public/_nuxt/builds/meta/f68582c9-55a9-4352-b85a-d7f8de6f7202.json +1 -0
- package/web/.output/public/_nuxt/entry.BlZrUrUl.css +2 -0
- package/web/.output/public/_nuxt/error-404.zKZBzOko.css +1 -0
- package/web/.output/public/_nuxt/error-500.DwXcJPfY.css +1 -0
- package/web/.output/public/_nuxt/lGYp6_9X.js +1 -0
- package/web/.output/public/_nuxt/pages.BDcbBSnU.css +1 -0
- package/web/.output/public/_nuxt/public-sans-latin-400-italic.B1appi_f.woff2 +0 -0
- package/web/.output/public/_nuxt/public-sans-latin-400-italic.DsCWG5h0.woff +0 -0
- package/web/.output/public/_nuxt/public-sans-latin-400-normal.8Rpg0ruU.woff2 +0 -0
- package/web/.output/public/_nuxt/public-sans-latin-400-normal.SBbinRkI.woff +0 -0
- package/web/.output/public/_nuxt/public-sans-latin-500-normal.NlrCPXnF.woff2 +0 -0
- package/web/.output/public/_nuxt/public-sans-latin-500-normal.vCxiVFAq.woff +0 -0
- package/web/.output/public/_nuxt/public-sans-latin-600-normal.BR59oU-I.woff +0 -0
- package/web/.output/public/_nuxt/public-sans-latin-600-normal.Fru-LXNs.woff2 +0 -0
- package/web/.output/public/_nuxt/public-sans-latin-700-normal.BqJmxWdE.woff2 +0 -0
- package/web/.output/public/_nuxt/public-sans-latin-700-normal.Dm-oTPSL.woff +0 -0
- package/web/.output/public/favicon-dark.svg +32 -0
- package/web/.output/public/favicon-light.svg +32 -0
- package/web/.output/public/index.html +1 -0
- package/web/.output/nitro.json +0 -15
- 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 +0 -37
- package/web/.output/public/_nuxt/BgApMHS1.js +0 -1
- package/web/.output/public/_nuxt/CGPWRqbc.js +0 -1
- package/web/.output/public/_nuxt/DlAUqK2U.js +0 -1
- package/web/.output/public/_nuxt/Sgtec1U0.js +0 -1
- package/web/.output/public/_nuxt/builds/meta/785e7885-8d38-4aac-a7f6-735f68d27e63.json +0 -1
- package/web/.output/public/_nuxt/entry.9mB-pyEY.css +0 -1
- package/web/.output/public/_nuxt/error-404.B_PvSG-P.css +0 -1
- package/web/.output/public/_nuxt/error-500.CghkKCEr.css +0 -1
- package/web/.output/public/_nuxt/index.BlvAG7F6.css +0 -1
- package/web/.output/public/favicon.ico +0 -0
- package/web/.output/server/chunks/_/error-500.mjs +0 -19
- package/web/.output/server/chunks/_/error-500.mjs.map +0 -1
- package/web/.output/server/chunks/_/icons.mjs +0 -6153
- package/web/.output/server/chunks/_/icons.mjs.map +0 -1
- package/web/.output/server/chunks/_/icons2.mjs +0 -11494
- package/web/.output/server/chunks/_/icons2.mjs.map +0 -1
- package/web/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs +0 -10
- package/web/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs.map +0 -1
- package/web/.output/server/chunks/build/client.precomputed.mjs +0 -4
- package/web/.output/server/chunks/build/client.precomputed.mjs.map +0 -1
- package/web/.output/server/chunks/build/error-404-DOK13euR.mjs +0 -106
- package/web/.output/server/chunks/build/error-404-DOK13euR.mjs.map +0 -1
- package/web/.output/server/chunks/build/error-404-styles.9cNA4arh.mjs +0 -8
- package/web/.output/server/chunks/build/error-404-styles.9cNA4arh.mjs.map +0 -1
- package/web/.output/server/chunks/build/error-500-DKHEaocY.mjs +0 -89
- package/web/.output/server/chunks/build/error-500-DKHEaocY.mjs.map +0 -1
- package/web/.output/server/chunks/build/error-500-styles.BX54ZlkH.mjs +0 -8
- package/web/.output/server/chunks/build/error-500-styles.BX54ZlkH.mjs.map +0 -1
- package/web/.output/server/chunks/build/index-D_lNB6LA.mjs +0 -19675
- package/web/.output/server/chunks/build/index-D_lNB6LA.mjs.map +0 -1
- package/web/.output/server/chunks/build/index-styles.V2iua2bE.mjs +0 -8
- package/web/.output/server/chunks/build/index-styles.V2iua2bE.mjs.map +0 -1
- package/web/.output/server/chunks/build/server.mjs +0 -7910
- package/web/.output/server/chunks/build/server.mjs.map +0 -1
- package/web/.output/server/chunks/build/styles.mjs +0 -10
- package/web/.output/server/chunks/build/styles.mjs.map +0 -1
- package/web/.output/server/chunks/nitro/nitro.mjs +0 -6944
- package/web/.output/server/chunks/nitro/nitro.mjs.map +0 -1
- package/web/.output/server/chunks/routes/api/fields.get.mjs +0 -27
- package/web/.output/server/chunks/routes/api/fields.get.mjs.map +0 -1
- package/web/.output/server/chunks/routes/api/findings.get.mjs +0 -30
- package/web/.output/server/chunks/routes/api/findings.get.mjs.map +0 -1
- package/web/.output/server/chunks/routes/api/log/contents.post.mjs +0 -29
- package/web/.output/server/chunks/routes/api/log/contents.post.mjs.map +0 -1
- package/web/.output/server/chunks/routes/api/log/path.post.mjs +0 -30
- package/web/.output/server/chunks/routes/api/log/path.post.mjs.map +0 -1
- package/web/.output/server/chunks/routes/api/repositories.get.mjs +0 -27
- package/web/.output/server/chunks/routes/api/repositories.get.mjs.map +0 -1
- package/web/.output/server/chunks/routes/api/rows.get.mjs +0 -48
- package/web/.output/server/chunks/routes/api/rows.get.mjs.map +0 -1
- package/web/.output/server/chunks/routes/renderer.mjs +0 -451
- package/web/.output/server/chunks/routes/renderer.mjs.map +0 -1
- package/web/.output/server/chunks/virtual/_virtual_spa-template.mjs +0 -4
- package/web/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +0 -1
- package/web/.output/server/index.mjs +0 -16
- package/web/.output/server/index.mjs.map +0 -1
- package/web/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.mjs +0 -290
- package/web/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +0 -49
- package/web/.output/server/node_modules/.nitro/hookable@6.1.1/dist/index.mjs +0 -257
- package/web/.output/server/node_modules/.nitro/hookable@6.1.1/package.json +0 -53
- package/web/.output/server/node_modules/@babel/parser/lib/index.js +0 -14599
- package/web/.output/server/node_modules/@babel/parser/package.json +0 -50
- package/web/.output/server/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +0 -1038
- package/web/.output/server/node_modules/@floating-ui/core/package.json +0 -63
- package/web/.output/server/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +0 -789
- package/web/.output/server/node_modules/@floating-ui/dom/package.json +0 -72
- package/web/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +0 -165
- package/web/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +0 -136
- package/web/.output/server/node_modules/@floating-ui/utils/package.json +0 -70
- package/web/.output/server/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs +0 -190
- package/web/.output/server/node_modules/@floating-ui/vue/package.json +0 -71
- package/web/.output/server/node_modules/@iconify/utils/lib/colors/index.js +0 -295
- package/web/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +0 -701
- package/web/.output/server/node_modules/@iconify/utils/lib/css/common.js +0 -75
- package/web/.output/server/node_modules/@iconify/utils/lib/css/format.js +0 -39
- package/web/.output/server/node_modules/@iconify/utils/lib/css/icon.js +0 -47
- package/web/.output/server/node_modules/@iconify/utils/lib/css/icons.js +0 -128
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +0 -19
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +0 -13
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +0 -17
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +0 -16
- package/web/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +0 -30
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +0 -78
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +0 -100
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +0 -28
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +0 -58
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +0 -48
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +0 -203
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +0 -33
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +0 -132
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +0 -165
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +0 -79
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +0 -92
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +0 -26
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +0 -76
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +0 -66
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +0 -45
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +0 -103
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +0 -36
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +0 -92
- package/web/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +0 -62
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +0 -25
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +0 -16
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/name.js +0 -57
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/square.js +0 -33
- package/web/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +0 -12
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +0 -125
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +0 -19
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +0 -25
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +0 -36
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +0 -91
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +0 -46
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +0 -23
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +0 -42
- package/web/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +0 -123
- package/web/.output/server/node_modules/@iconify/utils/lib/index.js +0 -52
- package/web/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +0 -30
- package/web/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +0 -26
- package/web/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +0 -27
- package/web/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +0 -105
- package/web/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +0 -26
- package/web/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +0 -26
- package/web/.output/server/node_modules/@iconify/utils/lib/misc/title.js +0 -9
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/build.js +0 -113
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +0 -31
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +0 -13
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/html.js +0 -9
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/id.js +0 -41
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +0 -22
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +0 -67
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +0 -54
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/size.js +0 -27
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +0 -7
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/url.js +0 -22
- package/web/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +0 -8
- package/web/.output/server/node_modules/@iconify/utils/package.json +0 -119
- package/web/.output/server/node_modules/@iconify/vue/dist/iconify.mjs +0 -1896
- package/web/.output/server/node_modules/@iconify/vue/package.json +0 -62
- package/web/.output/server/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -1268
- package/web/.output/server/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +0 -34
- package/web/.output/server/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -74
- package/web/.output/server/node_modules/@tanstack/virtual-core/package.json +0 -56
- package/web/.output/server/node_modules/@tanstack/vue-virtual/dist/esm/index.js +0 -66
- package/web/.output/server/node_modules/@tanstack/vue-virtual/package.json +0 -68
- package/web/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +0 -6759
- package/web/.output/server/node_modules/@vue/compiler-core/package.json +0 -58
- package/web/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +0 -689
- package/web/.output/server/node_modules/@vue/compiler-dom/package.json +0 -57
- package/web/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +0 -1413
- package/web/.output/server/node_modules/@vue/compiler-ssr/package.json +0 -34
- package/web/.output/server/node_modules/@vue/devtools-api/dist/index.js +0 -2
- package/web/.output/server/node_modules/@vue/devtools-api/package.json +0 -34
- package/web/.output/server/node_modules/@vue/devtools-kit/dist/index.js +0 -5670
- package/web/.output/server/node_modules/@vue/devtools-kit/node_modules/hookable/dist/index.mjs +0 -290
- package/web/.output/server/node_modules/@vue/devtools-kit/node_modules/hookable/package.json +0 -49
- package/web/.output/server/node_modules/@vue/devtools-kit/package.json +0 -44
- package/web/.output/server/node_modules/@vue/devtools-shared/dist/index.js +0 -239
- package/web/.output/server/node_modules/@vue/devtools-shared/package.json +0 -33
- package/web/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +0 -1899
- package/web/.output/server/node_modules/@vue/reactivity/package.json +0 -55
- package/web/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +0 -6940
- package/web/.output/server/node_modules/@vue/runtime-core/package.json +0 -52
- package/web/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +0 -1822
- package/web/.output/server/node_modules/@vue/runtime-dom/package.json +0 -60
- package/web/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +0 -896
- package/web/.output/server/node_modules/@vue/server-renderer/package.json +0 -55
- package/web/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +0 -604
- package/web/.output/server/node_modules/@vue/shared/package.json +0 -47
- package/web/.output/server/node_modules/@vueuse/core/dist/index.js +0 -8464
- package/web/.output/server/node_modules/@vueuse/core/package.json +0 -49
- package/web/.output/server/node_modules/@vueuse/shared/dist/index.js +0 -2013
- package/web/.output/server/node_modules/@vueuse/shared/package.json +0 -42
- package/web/.output/server/node_modules/aria-hidden/dist/es5/index.js +0 -174
- package/web/.output/server/node_modules/aria-hidden/package.json +0 -71
- package/web/.output/server/node_modules/birpc/dist/index.mjs +0 -291
- package/web/.output/server/node_modules/birpc/package.json +0 -57
- package/web/.output/server/node_modules/consola/dist/chunks/prompt.mjs +0 -280
- package/web/.output/server/node_modules/consola/dist/core.mjs +0 -512
- package/web/.output/server/node_modules/consola/dist/index.mjs +0 -651
- package/web/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +0 -72
- package/web/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +0 -288
- package/web/.output/server/node_modules/consola/package.json +0 -136
- package/web/.output/server/node_modules/devalue/index.js +0 -4
- package/web/.output/server/node_modules/devalue/package.json +0 -40
- package/web/.output/server/node_modules/devalue/src/base64.js +0 -60
- package/web/.output/server/node_modules/devalue/src/constants.js +0 -12
- package/web/.output/server/node_modules/devalue/src/parse.js +0 -283
- package/web/.output/server/node_modules/devalue/src/stringify.js +0 -401
- package/web/.output/server/node_modules/devalue/src/uneval.js +0 -552
- package/web/.output/server/node_modules/devalue/src/utils.js +0 -160
- package/web/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
- package/web/.output/server/node_modules/entities/dist/commonjs/decode.js +0 -568
- package/web/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
- package/web/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
- package/web/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
- package/web/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
- package/web/.output/server/node_modules/entities/dist/commonjs/package.json +0 -3
- package/web/.output/server/node_modules/entities/package.json +0 -120
- package/web/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +0 -344
- package/web/.output/server/node_modules/estree-walker/package.json +0 -37
- package/web/.output/server/node_modules/hookable/dist/index.mjs +0 -257
- package/web/.output/server/node_modules/hookable/package.json +0 -53
- package/web/.output/server/node_modules/nostics/dist/index.mjs +0 -179
- package/web/.output/server/node_modules/nostics/package.json +0 -124
- package/web/.output/server/node_modules/perfect-debounce/dist/index.mjs +0 -89
- package/web/.output/server/node_modules/perfect-debounce/package.json +0 -41
- package/web/.output/server/node_modules/rou3/dist/index.mjs +0 -501
- package/web/.output/server/node_modules/rou3/package.json +0 -48
- package/web/.output/server/node_modules/source-map-js/lib/array-set.js +0 -121
- package/web/.output/server/node_modules/source-map-js/lib/base64-vlq.js +0 -140
- package/web/.output/server/node_modules/source-map-js/lib/base64.js +0 -67
- package/web/.output/server/node_modules/source-map-js/lib/binary-search.js +0 -111
- package/web/.output/server/node_modules/source-map-js/lib/mapping-list.js +0 -79
- package/web/.output/server/node_modules/source-map-js/lib/quick-sort.js +0 -132
- package/web/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
- package/web/.output/server/node_modules/source-map-js/lib/source-map-generator.js +0 -444
- package/web/.output/server/node_modules/source-map-js/lib/source-node.js +0 -413
- package/web/.output/server/node_modules/source-map-js/lib/util.js +0 -594
- package/web/.output/server/node_modules/source-map-js/package.json +0 -71
- package/web/.output/server/node_modules/source-map-js/source-map.js +0 -8
- package/web/.output/server/node_modules/srvx/dist/_chunks/_body-limit.mjs +0 -39
- package/web/.output/server/node_modules/srvx/dist/_chunks/_plugins.mjs +0 -56
- package/web/.output/server/node_modules/srvx/dist/_chunks/_trust-proxy.mjs +0 -58
- package/web/.output/server/node_modules/srvx/dist/_chunks/_url.mjs +0 -134
- package/web/.output/server/node_modules/srvx/dist/_chunks/_utils.mjs +0 -15
- package/web/.output/server/node_modules/srvx/dist/_chunks/_utils2.mjs +0 -75
- package/web/.output/server/node_modules/srvx/dist/adapters/node.mjs +0 -976
- package/web/.output/server/node_modules/srvx/package.json +0 -102
- package/web/.output/server/node_modules/tailwind-merge/dist/bundle-mjs.mjs +0 -3365
- package/web/.output/server/node_modules/tailwind-merge/package.json +0 -93
- package/web/.output/server/node_modules/tailwind-variants/dist/chunk-LQJYWU4O.js +0 -112
- package/web/.output/server/node_modules/tailwind-variants/dist/chunk-RZF76H2U.js +0 -269
- package/web/.output/server/node_modules/tailwind-variants/dist/index.js +0 -38
- package/web/.output/server/node_modules/tailwind-variants/package.json +0 -122
- package/web/.output/server/node_modules/tailwindcss/dist/chunk-X4GG3EDV.mjs +0 -1
- package/web/.output/server/node_modules/tailwindcss/dist/colors.mjs +0 -1
- package/web/.output/server/node_modules/tailwindcss/package.json +0 -89
- package/web/.output/server/node_modules/ufo/dist/index.mjs +0 -645
- package/web/.output/server/node_modules/ufo/package.json +0 -48
- package/web/.output/server/node_modules/unhead/dist/index.mjs +0 -9
- package/web/.output/server/node_modules/unhead/dist/parser.mjs +0 -508
- package/web/.output/server/node_modules/unhead/dist/plugins.mjs +0 -101
- package/web/.output/server/node_modules/unhead/dist/scripts.mjs +0 -30
- package/web/.output/server/node_modules/unhead/dist/server.mjs +0 -180
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.B3VbJo7Y.mjs +0 -207
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +0 -43
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.BnoAbrHA.mjs +0 -269
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.CaI5ZD4O.mjs +0 -182
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +0 -71
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.D4vSFytZ.mjs +0 -236
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +0 -196
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.Dh1cQCTe.mjs +0 -44
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.TxTMM7cM.mjs +0 -166
- package/web/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +0 -38
- package/web/.output/server/node_modules/unhead/dist/utils.mjs +0 -5
- package/web/.output/server/node_modules/unhead/node_modules/hookable/dist/index.mjs +0 -257
- package/web/.output/server/node_modules/unhead/node_modules/hookable/package.json +0 -53
- package/web/.output/server/node_modules/unhead/package.json +0 -105
- package/web/.output/server/node_modules/vue/dist/vue.cjs.js +0 -80
- package/web/.output/server/node_modules/vue/dist/vue.cjs.prod.js +0 -66
- package/web/.output/server/node_modules/vue/index.js +0 -7
- package/web/.output/server/node_modules/vue/index.mjs +0 -1
- package/web/.output/server/node_modules/vue/package.json +0 -112
- package/web/.output/server/node_modules/vue/server-renderer/index.mjs +0 -1
- package/web/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +0 -249
- package/web/.output/server/node_modules/vue-bundle-renderer/package.json +0 -57
- package/web/.output/server/node_modules/vue-demi/lib/index.mjs +0 -34
- package/web/.output/server/node_modules/vue-demi/package.json +0 -47
- package/web/.output/server/node_modules/vue-router/dist/devtools-Bpr7ZAVB.js +0 -1056
- package/web/.output/server/node_modules/vue-router/dist/useApi-CROJJdhE.js +0 -436
- package/web/.output/server/node_modules/vue-router/dist/vue-router.js +0 -1543
- package/web/.output/server/node_modules/vue-router/package.json +0 -214
- package/web/.output/server/node_modules/vue-router/vue-router.node.mjs +0 -2
- package/web/.output/server/package.json +0 -51
|
@@ -1,508 +0,0 @@
|
|
|
1
|
-
const TAG_HTML = 0;
|
|
2
|
-
const TAG_HEAD = 1;
|
|
3
|
-
const TAG_TITLE = 4;
|
|
4
|
-
const TAG_META = 5;
|
|
5
|
-
const TAG_BODY = 44;
|
|
6
|
-
const TAG_SCRIPT = 52;
|
|
7
|
-
const TAG_STYLE = 53;
|
|
8
|
-
const TAG_LINK = 54;
|
|
9
|
-
const TAG_BASE = 56;
|
|
10
|
-
const LT_CHAR = 60;
|
|
11
|
-
const GT_CHAR = 62;
|
|
12
|
-
const SLASH_CHAR = 47;
|
|
13
|
-
const EQUALS_CHAR = 61;
|
|
14
|
-
const QUOTE_CHAR = 34;
|
|
15
|
-
const APOS_CHAR = 39;
|
|
16
|
-
const EXCLAMATION_CHAR = 33;
|
|
17
|
-
const BACKSLASH_CHAR = 92;
|
|
18
|
-
const DASH_CHAR = 45;
|
|
19
|
-
const TagIdMap = {
|
|
20
|
-
html: TAG_HTML,
|
|
21
|
-
head: TAG_HEAD,
|
|
22
|
-
title: TAG_TITLE,
|
|
23
|
-
meta: TAG_META,
|
|
24
|
-
body: TAG_BODY,
|
|
25
|
-
script: TAG_SCRIPT,
|
|
26
|
-
style: TAG_STYLE,
|
|
27
|
-
link: TAG_LINK,
|
|
28
|
-
base: TAG_BASE
|
|
29
|
-
};
|
|
30
|
-
function isWhitespace(charCode) {
|
|
31
|
-
return charCode === 32 || charCode === 9 || charCode === 10 || charCode === 13;
|
|
32
|
-
}
|
|
33
|
-
function processCommentOrDoctype(htmlChunk, position) {
|
|
34
|
-
let i = position;
|
|
35
|
-
const chunkLength = htmlChunk.length;
|
|
36
|
-
if (i + 3 < chunkLength && htmlChunk.charCodeAt(i + 2) === DASH_CHAR && htmlChunk.charCodeAt(i + 3) === DASH_CHAR) {
|
|
37
|
-
i += 4;
|
|
38
|
-
while (i < chunkLength - 2) {
|
|
39
|
-
if (htmlChunk.charCodeAt(i) === DASH_CHAR && htmlChunk.charCodeAt(i + 1) === DASH_CHAR && htmlChunk.charCodeAt(i + 2) === GT_CHAR) {
|
|
40
|
-
i += 3;
|
|
41
|
-
return {
|
|
42
|
-
complete: true,
|
|
43
|
-
newPosition: i,
|
|
44
|
-
remainingText: ""
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
i++;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
complete: false,
|
|
51
|
-
newPosition: position,
|
|
52
|
-
remainingText: htmlChunk.substring(position)
|
|
53
|
-
};
|
|
54
|
-
} else {
|
|
55
|
-
i += 2;
|
|
56
|
-
while (i < chunkLength) {
|
|
57
|
-
if (htmlChunk.charCodeAt(i) === GT_CHAR) {
|
|
58
|
-
i++;
|
|
59
|
-
return {
|
|
60
|
-
complete: true,
|
|
61
|
-
newPosition: i,
|
|
62
|
-
remainingText: ""
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
i++;
|
|
66
|
-
}
|
|
67
|
-
return {
|
|
68
|
-
complete: false,
|
|
69
|
-
newPosition: i,
|
|
70
|
-
remainingText: htmlChunk.substring(position, i)
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
function parseAttributes(attrStr) {
|
|
75
|
-
if (!attrStr)
|
|
76
|
-
return {};
|
|
77
|
-
const result = {};
|
|
78
|
-
const len = attrStr.length;
|
|
79
|
-
let i = 0;
|
|
80
|
-
const WHITESPACE = 0;
|
|
81
|
-
const NAME = 1;
|
|
82
|
-
const AFTER_NAME = 2;
|
|
83
|
-
const BEFORE_VALUE = 3;
|
|
84
|
-
const QUOTED_VALUE = 4;
|
|
85
|
-
const UNQUOTED_VALUE = 5;
|
|
86
|
-
let state = WHITESPACE;
|
|
87
|
-
let nameStart = 0;
|
|
88
|
-
let nameEnd = 0;
|
|
89
|
-
let valueStart = 0;
|
|
90
|
-
let quoteChar = 0;
|
|
91
|
-
let name = "";
|
|
92
|
-
while (i < len) {
|
|
93
|
-
const charCode = attrStr.charCodeAt(i);
|
|
94
|
-
const isSpace = isWhitespace(charCode);
|
|
95
|
-
switch (state) {
|
|
96
|
-
case WHITESPACE:
|
|
97
|
-
if (!isSpace) {
|
|
98
|
-
state = NAME;
|
|
99
|
-
nameStart = i;
|
|
100
|
-
nameEnd = 0;
|
|
101
|
-
}
|
|
102
|
-
break;
|
|
103
|
-
case NAME:
|
|
104
|
-
if (charCode === EQUALS_CHAR || isSpace) {
|
|
105
|
-
nameEnd = i;
|
|
106
|
-
name = attrStr.substring(nameStart, nameEnd).toLowerCase();
|
|
107
|
-
state = charCode === EQUALS_CHAR ? BEFORE_VALUE : AFTER_NAME;
|
|
108
|
-
}
|
|
109
|
-
break;
|
|
110
|
-
case AFTER_NAME:
|
|
111
|
-
if (charCode === EQUALS_CHAR) {
|
|
112
|
-
state = BEFORE_VALUE;
|
|
113
|
-
} else if (!isSpace) {
|
|
114
|
-
result[name] = "";
|
|
115
|
-
state = NAME;
|
|
116
|
-
nameStart = i;
|
|
117
|
-
nameEnd = 0;
|
|
118
|
-
}
|
|
119
|
-
break;
|
|
120
|
-
case BEFORE_VALUE:
|
|
121
|
-
if (charCode === QUOTE_CHAR || charCode === APOS_CHAR) {
|
|
122
|
-
quoteChar = charCode;
|
|
123
|
-
state = QUOTED_VALUE;
|
|
124
|
-
valueStart = i + 1;
|
|
125
|
-
} else if (!isSpace) {
|
|
126
|
-
state = UNQUOTED_VALUE;
|
|
127
|
-
valueStart = i;
|
|
128
|
-
}
|
|
129
|
-
break;
|
|
130
|
-
case QUOTED_VALUE:
|
|
131
|
-
if (charCode === BACKSLASH_CHAR && i + 1 < len) {
|
|
132
|
-
i++;
|
|
133
|
-
} else if (charCode === quoteChar) {
|
|
134
|
-
result[name] = attrStr.substring(valueStart, i);
|
|
135
|
-
state = WHITESPACE;
|
|
136
|
-
}
|
|
137
|
-
break;
|
|
138
|
-
case UNQUOTED_VALUE:
|
|
139
|
-
if (isSpace || charCode === GT_CHAR) {
|
|
140
|
-
result[name] = attrStr.substring(valueStart, i);
|
|
141
|
-
state = WHITESPACE;
|
|
142
|
-
}
|
|
143
|
-
break;
|
|
144
|
-
}
|
|
145
|
-
i++;
|
|
146
|
-
}
|
|
147
|
-
if (state === QUOTED_VALUE || state === UNQUOTED_VALUE) {
|
|
148
|
-
if (name) {
|
|
149
|
-
result[name] = attrStr.substring(valueStart, i);
|
|
150
|
-
}
|
|
151
|
-
} else if (state === NAME || state === AFTER_NAME || state === BEFORE_VALUE) {
|
|
152
|
-
nameEnd = nameEnd || i;
|
|
153
|
-
const currentName = attrStr.substring(nameStart, nameEnd).toLowerCase();
|
|
154
|
-
if (currentName) {
|
|
155
|
-
result[currentName] = "";
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
return result;
|
|
159
|
-
}
|
|
160
|
-
function parseHtmlForIndexes(html) {
|
|
161
|
-
const indexes = {
|
|
162
|
-
htmlTagStart: html.indexOf("<html"),
|
|
163
|
-
htmlTagEnd: -1,
|
|
164
|
-
headTagEnd: html.indexOf("</head>"),
|
|
165
|
-
bodyTagStart: html.indexOf("<body"),
|
|
166
|
-
bodyTagEnd: -1,
|
|
167
|
-
bodyCloseTagStart: html.indexOf("</body>")
|
|
168
|
-
};
|
|
169
|
-
if (indexes.htmlTagStart >= 0) {
|
|
170
|
-
const htmlTagEndPos = html.indexOf(">", indexes.htmlTagStart);
|
|
171
|
-
if (htmlTagEndPos >= 0) {
|
|
172
|
-
indexes.htmlTagEnd = htmlTagEndPos + 1;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
if (indexes.bodyTagStart >= 0) {
|
|
176
|
-
const bodyTagEndPos = html.indexOf(">", indexes.bodyTagStart);
|
|
177
|
-
if (bodyTagEndPos >= 0) {
|
|
178
|
-
indexes.bodyTagEnd = bodyTagEndPos + 1;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
return { html, input: {}, indexes };
|
|
182
|
-
}
|
|
183
|
-
function parseHtmlForUnheadExtraction(html) {
|
|
184
|
-
const input = {};
|
|
185
|
-
const htmlParts = [];
|
|
186
|
-
let position = 0;
|
|
187
|
-
let inHead = false;
|
|
188
|
-
let foundBodyStart = false;
|
|
189
|
-
let lastCopyPosition = 0;
|
|
190
|
-
let currentOutputLength = 0;
|
|
191
|
-
const indexes = {
|
|
192
|
-
htmlTagStart: -1,
|
|
193
|
-
htmlTagEnd: -1,
|
|
194
|
-
headTagEnd: -1,
|
|
195
|
-
bodyTagStart: -1,
|
|
196
|
-
bodyTagEnd: -1,
|
|
197
|
-
bodyCloseTagStart: -1
|
|
198
|
-
};
|
|
199
|
-
const headElementsToExtract = /* @__PURE__ */ new Set([TAG_TITLE, TAG_META, TAG_LINK, TAG_SCRIPT, TAG_STYLE, TAG_BASE]);
|
|
200
|
-
function copyAccumulatedText() {
|
|
201
|
-
if (lastCopyPosition < position) {
|
|
202
|
-
const textToAdd = html.substring(lastCopyPosition, position);
|
|
203
|
-
htmlParts.push(textToAdd);
|
|
204
|
-
currentOutputLength += textToAdd.length;
|
|
205
|
-
lastCopyPosition = position;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
function addText(text) {
|
|
209
|
-
htmlParts.push(text);
|
|
210
|
-
currentOutputLength += text.length;
|
|
211
|
-
}
|
|
212
|
-
while (position < html.length && !foundBodyStart) {
|
|
213
|
-
const currentCharCode = html.charCodeAt(position);
|
|
214
|
-
if (currentCharCode !== LT_CHAR) {
|
|
215
|
-
position++;
|
|
216
|
-
continue;
|
|
217
|
-
}
|
|
218
|
-
if (position + 1 >= html.length) {
|
|
219
|
-
copyAccumulatedText();
|
|
220
|
-
addText(html[position]);
|
|
221
|
-
break;
|
|
222
|
-
}
|
|
223
|
-
const nextCharCode = html.charCodeAt(position + 1);
|
|
224
|
-
if (nextCharCode === EXCLAMATION_CHAR) {
|
|
225
|
-
const result = processCommentOrDoctype(html, position);
|
|
226
|
-
if (result.complete) {
|
|
227
|
-
copyAccumulatedText();
|
|
228
|
-
addText(html.substring(position, result.newPosition));
|
|
229
|
-
position = result.newPosition;
|
|
230
|
-
lastCopyPosition = position;
|
|
231
|
-
} else {
|
|
232
|
-
copyAccumulatedText();
|
|
233
|
-
addText(html.substring(position));
|
|
234
|
-
break;
|
|
235
|
-
}
|
|
236
|
-
continue;
|
|
237
|
-
}
|
|
238
|
-
if (nextCharCode === SLASH_CHAR) {
|
|
239
|
-
let tagEnd2 = position + 2;
|
|
240
|
-
while (tagEnd2 < html.length && html.charCodeAt(tagEnd2) !== GT_CHAR) {
|
|
241
|
-
tagEnd2++;
|
|
242
|
-
}
|
|
243
|
-
if (tagEnd2 >= html.length) {
|
|
244
|
-
copyAccumulatedText();
|
|
245
|
-
addText(html.substring(position));
|
|
246
|
-
break;
|
|
247
|
-
}
|
|
248
|
-
const tagName2 = html.substring(position + 2, tagEnd2).toLowerCase().trim();
|
|
249
|
-
const tagId2 = TagIdMap[tagName2] ?? -1;
|
|
250
|
-
if (tagId2 === TAG_HEAD) {
|
|
251
|
-
inHead = false;
|
|
252
|
-
copyAccumulatedText();
|
|
253
|
-
const headCloseStart = currentOutputLength;
|
|
254
|
-
addText(html.substring(position, tagEnd2 + 1));
|
|
255
|
-
indexes.headTagEnd = headCloseStart;
|
|
256
|
-
} else {
|
|
257
|
-
copyAccumulatedText();
|
|
258
|
-
addText(html.substring(position, tagEnd2 + 1));
|
|
259
|
-
}
|
|
260
|
-
position = tagEnd2 + 1;
|
|
261
|
-
lastCopyPosition = position;
|
|
262
|
-
continue;
|
|
263
|
-
}
|
|
264
|
-
const tagStart = position + 1;
|
|
265
|
-
let tagNameEnd = tagStart;
|
|
266
|
-
while (tagNameEnd < html.length) {
|
|
267
|
-
const c = html.charCodeAt(tagNameEnd);
|
|
268
|
-
if (isWhitespace(c) || c === SLASH_CHAR || c === GT_CHAR) {
|
|
269
|
-
break;
|
|
270
|
-
}
|
|
271
|
-
tagNameEnd++;
|
|
272
|
-
}
|
|
273
|
-
if (tagNameEnd >= html.length) {
|
|
274
|
-
copyAccumulatedText();
|
|
275
|
-
addText(html.substring(position));
|
|
276
|
-
break;
|
|
277
|
-
}
|
|
278
|
-
const tagName = html.substring(tagStart, tagNameEnd).toLowerCase();
|
|
279
|
-
const tagId = TagIdMap[tagName] ?? -1;
|
|
280
|
-
let tagEnd = tagNameEnd;
|
|
281
|
-
let inQuote = false;
|
|
282
|
-
let quoteChar = 0;
|
|
283
|
-
let foundEnd = false;
|
|
284
|
-
let isSelfClosing = false;
|
|
285
|
-
while (tagEnd < html.length && !foundEnd) {
|
|
286
|
-
const c = html.charCodeAt(tagEnd);
|
|
287
|
-
if (inQuote) {
|
|
288
|
-
if (c === quoteChar) {
|
|
289
|
-
inQuote = false;
|
|
290
|
-
}
|
|
291
|
-
} else if (c === QUOTE_CHAR || c === APOS_CHAR) {
|
|
292
|
-
inQuote = true;
|
|
293
|
-
quoteChar = c;
|
|
294
|
-
} else if (c === SLASH_CHAR && tagEnd + 1 < html.length && html.charCodeAt(tagEnd + 1) === GT_CHAR) {
|
|
295
|
-
isSelfClosing = true;
|
|
296
|
-
tagEnd += 2;
|
|
297
|
-
foundEnd = true;
|
|
298
|
-
continue;
|
|
299
|
-
} else if (c === GT_CHAR) {
|
|
300
|
-
tagEnd++;
|
|
301
|
-
foundEnd = true;
|
|
302
|
-
continue;
|
|
303
|
-
}
|
|
304
|
-
tagEnd++;
|
|
305
|
-
}
|
|
306
|
-
if (!foundEnd) {
|
|
307
|
-
copyAccumulatedText();
|
|
308
|
-
addText(html.substring(position));
|
|
309
|
-
break;
|
|
310
|
-
}
|
|
311
|
-
const attributesStr = html.substring(tagNameEnd, tagEnd - (isSelfClosing ? 2 : 1)).trim();
|
|
312
|
-
const attributes = parseAttributes(attributesStr);
|
|
313
|
-
if (tagId === TAG_HTML) {
|
|
314
|
-
copyAccumulatedText();
|
|
315
|
-
indexes.htmlTagStart = currentOutputLength;
|
|
316
|
-
if (Object.keys(attributes).length > 0) {
|
|
317
|
-
input.htmlAttrs = attributes;
|
|
318
|
-
addText(`<${tagName}>`);
|
|
319
|
-
} else {
|
|
320
|
-
addText(html.substring(position, tagEnd));
|
|
321
|
-
}
|
|
322
|
-
indexes.htmlTagEnd = currentOutputLength;
|
|
323
|
-
} else if (tagId === TAG_BODY) {
|
|
324
|
-
copyAccumulatedText();
|
|
325
|
-
indexes.bodyTagStart = currentOutputLength;
|
|
326
|
-
if (Object.keys(attributes).length > 0) {
|
|
327
|
-
input.bodyAttrs = attributes;
|
|
328
|
-
addText(`<${tagName}>`);
|
|
329
|
-
} else {
|
|
330
|
-
addText(html.substring(position, tagEnd));
|
|
331
|
-
}
|
|
332
|
-
indexes.bodyTagEnd = currentOutputLength;
|
|
333
|
-
foundBodyStart = true;
|
|
334
|
-
position = tagEnd;
|
|
335
|
-
lastCopyPosition = position;
|
|
336
|
-
break;
|
|
337
|
-
} else if (tagId === TAG_HEAD) {
|
|
338
|
-
inHead = true;
|
|
339
|
-
copyAccumulatedText();
|
|
340
|
-
addText(html.substring(position, tagEnd));
|
|
341
|
-
} else if (inHead && headElementsToExtract.has(tagId)) {
|
|
342
|
-
if (tagId === TAG_TITLE) {
|
|
343
|
-
if (!isSelfClosing) {
|
|
344
|
-
const titleEnd = findClosingTag(html, tagEnd, tagName);
|
|
345
|
-
if (titleEnd !== -1) {
|
|
346
|
-
const titleContent = html.substring(tagEnd, titleEnd).trim();
|
|
347
|
-
if (titleContent && !input.title) {
|
|
348
|
-
input.title = titleContent;
|
|
349
|
-
}
|
|
350
|
-
position = findTagEnd(html, titleEnd, tagName);
|
|
351
|
-
lastCopyPosition = position;
|
|
352
|
-
continue;
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
} else if (tagId === TAG_SCRIPT) {
|
|
356
|
-
const scriptAttrs = { ...attributes };
|
|
357
|
-
if (!isSelfClosing) {
|
|
358
|
-
const scriptEnd = findClosingTag(html, tagEnd, tagName);
|
|
359
|
-
if (scriptEnd !== -1) {
|
|
360
|
-
const scriptContent = html.substring(tagEnd, scriptEnd);
|
|
361
|
-
scriptAttrs.innerHTML = scriptContent || "";
|
|
362
|
-
position = findTagEnd(html, scriptEnd, tagName);
|
|
363
|
-
} else {
|
|
364
|
-
scriptAttrs.innerHTML = "";
|
|
365
|
-
position = tagEnd;
|
|
366
|
-
}
|
|
367
|
-
} else {
|
|
368
|
-
scriptAttrs.innerHTML = "";
|
|
369
|
-
position = tagEnd;
|
|
370
|
-
}
|
|
371
|
-
lastCopyPosition = position;
|
|
372
|
-
(input.script ||= []).push(scriptAttrs);
|
|
373
|
-
continue;
|
|
374
|
-
} else if (tagId === TAG_STYLE) {
|
|
375
|
-
const styleAttrs = { ...attributes };
|
|
376
|
-
if (!isSelfClosing) {
|
|
377
|
-
const styleEnd = findClosingTag(html, tagEnd, tagName);
|
|
378
|
-
if (styleEnd !== -1) {
|
|
379
|
-
const styleContent = html.substring(tagEnd, styleEnd);
|
|
380
|
-
styleAttrs.textContent = styleContent || "";
|
|
381
|
-
position = findTagEnd(html, styleEnd, tagName);
|
|
382
|
-
} else {
|
|
383
|
-
styleAttrs.textContent = "";
|
|
384
|
-
position = tagEnd;
|
|
385
|
-
}
|
|
386
|
-
} else {
|
|
387
|
-
styleAttrs.textContent = "";
|
|
388
|
-
position = tagEnd;
|
|
389
|
-
}
|
|
390
|
-
lastCopyPosition = position;
|
|
391
|
-
(input.style ||= []).push(styleAttrs);
|
|
392
|
-
continue;
|
|
393
|
-
} else if (tagId === TAG_META) {
|
|
394
|
-
(input.meta ||= []).push(attributes);
|
|
395
|
-
position = tagEnd;
|
|
396
|
-
lastCopyPosition = position;
|
|
397
|
-
continue;
|
|
398
|
-
} else if (tagId === TAG_LINK) {
|
|
399
|
-
(input.link ||= []).push(attributes);
|
|
400
|
-
position = tagEnd;
|
|
401
|
-
lastCopyPosition = position;
|
|
402
|
-
continue;
|
|
403
|
-
} else if (tagId === TAG_BASE && !input.base) {
|
|
404
|
-
input.base = attributes;
|
|
405
|
-
position = tagEnd;
|
|
406
|
-
lastCopyPosition = position;
|
|
407
|
-
continue;
|
|
408
|
-
}
|
|
409
|
-
} else {
|
|
410
|
-
copyAccumulatedText();
|
|
411
|
-
addText(html.substring(position, tagEnd));
|
|
412
|
-
}
|
|
413
|
-
position = tagEnd;
|
|
414
|
-
lastCopyPosition = position;
|
|
415
|
-
}
|
|
416
|
-
const remainingHtml = html.substring(position);
|
|
417
|
-
const bodyCloseIndex = remainingHtml.indexOf("</body>");
|
|
418
|
-
if (bodyCloseIndex !== -1) {
|
|
419
|
-
indexes.bodyCloseTagStart = currentOutputLength + bodyCloseIndex;
|
|
420
|
-
}
|
|
421
|
-
copyAccumulatedText();
|
|
422
|
-
addText(remainingHtml);
|
|
423
|
-
return { html: htmlParts.join(""), input, indexes };
|
|
424
|
-
}
|
|
425
|
-
function findClosingTag(html, startPos, tagName) {
|
|
426
|
-
const tagId = TagIdMap[tagName];
|
|
427
|
-
const isScriptOrStyle = tagId === TAG_SCRIPT || tagId === TAG_STYLE;
|
|
428
|
-
if (!isScriptOrStyle) {
|
|
429
|
-
const closingTag2 = `</${tagName}`;
|
|
430
|
-
const index = html.indexOf(closingTag2, startPos);
|
|
431
|
-
return index === -1 ? -1 : index;
|
|
432
|
-
}
|
|
433
|
-
const closingTag = `</${tagName}`;
|
|
434
|
-
let pos = startPos;
|
|
435
|
-
let inSingleQuote = false;
|
|
436
|
-
let inDoubleQuote = false;
|
|
437
|
-
let inBacktick = false;
|
|
438
|
-
let lastCharWasBackslash = false;
|
|
439
|
-
while (pos < html.length) {
|
|
440
|
-
const currentCharCode = html.charCodeAt(pos);
|
|
441
|
-
if (!lastCharWasBackslash) {
|
|
442
|
-
if (currentCharCode === APOS_CHAR && !inDoubleQuote && !inBacktick) {
|
|
443
|
-
inSingleQuote = !inSingleQuote;
|
|
444
|
-
} else if (currentCharCode === QUOTE_CHAR && !inSingleQuote && !inBacktick) {
|
|
445
|
-
inDoubleQuote = !inDoubleQuote;
|
|
446
|
-
} else if (currentCharCode === 96 && !inSingleQuote && !inDoubleQuote) {
|
|
447
|
-
inBacktick = !inBacktick;
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
lastCharWasBackslash = currentCharCode === BACKSLASH_CHAR && !lastCharWasBackslash;
|
|
451
|
-
const inQuotes = inSingleQuote || inDoubleQuote || inBacktick;
|
|
452
|
-
if (!inQuotes && html.startsWith(closingTag, pos)) {
|
|
453
|
-
const afterTagPos = pos + closingTag.length;
|
|
454
|
-
if (afterTagPos >= html.length) {
|
|
455
|
-
return pos;
|
|
456
|
-
}
|
|
457
|
-
const nextChar = html.charCodeAt(afterTagPos);
|
|
458
|
-
if (nextChar === GT_CHAR || isWhitespace(nextChar)) {
|
|
459
|
-
return pos;
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
pos++;
|
|
463
|
-
}
|
|
464
|
-
return -1;
|
|
465
|
-
}
|
|
466
|
-
function findTagEnd(html, closingTagStart, tagName) {
|
|
467
|
-
let pos = closingTagStart + tagName.length + 2;
|
|
468
|
-
while (pos < html.length && html.charCodeAt(pos) !== GT_CHAR) {
|
|
469
|
-
pos++;
|
|
470
|
-
}
|
|
471
|
-
return pos < html.length ? pos + 1 : pos;
|
|
472
|
-
}
|
|
473
|
-
function applyHeadToHtml(template, headHtml) {
|
|
474
|
-
const { html, indexes } = template;
|
|
475
|
-
const parts = [];
|
|
476
|
-
let lastIndex = 0;
|
|
477
|
-
if (indexes.htmlTagStart >= 0) {
|
|
478
|
-
parts.push(html.substring(lastIndex, indexes.htmlTagStart));
|
|
479
|
-
parts.push(`<html${headHtml.htmlAttrs}>`);
|
|
480
|
-
lastIndex = indexes.htmlTagEnd;
|
|
481
|
-
}
|
|
482
|
-
if (indexes.headTagEnd >= 0) {
|
|
483
|
-
parts.push(html.substring(lastIndex, indexes.headTagEnd));
|
|
484
|
-
parts.push(headHtml.headTags);
|
|
485
|
-
parts.push("</head>");
|
|
486
|
-
lastIndex = indexes.headTagEnd + 7;
|
|
487
|
-
}
|
|
488
|
-
if (indexes.bodyTagStart >= 0) {
|
|
489
|
-
parts.push(html.substring(lastIndex, indexes.bodyTagStart));
|
|
490
|
-
if (headHtml.bodyTagsOpen) {
|
|
491
|
-
parts.push(`<body${headHtml.bodyAttrs}>
|
|
492
|
-
${headHtml.bodyTagsOpen}`);
|
|
493
|
-
} else {
|
|
494
|
-
parts.push(`<body${headHtml.bodyAttrs}>`);
|
|
495
|
-
}
|
|
496
|
-
lastIndex = indexes.bodyTagEnd;
|
|
497
|
-
}
|
|
498
|
-
if (indexes.bodyCloseTagStart >= 0) {
|
|
499
|
-
parts.push(html.substring(lastIndex, indexes.bodyCloseTagStart));
|
|
500
|
-
parts.push(headHtml.bodyTags);
|
|
501
|
-
parts.push(html.substring(indexes.bodyCloseTagStart));
|
|
502
|
-
} else {
|
|
503
|
-
parts.push(html.substring(lastIndex));
|
|
504
|
-
}
|
|
505
|
-
return parts.join("");
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
export { TagIdMap, applyHeadToHtml, parseAttributes, parseHtmlForIndexes, parseHtmlForUnheadExtraction };
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
export { A as AliasSortingPlugin, D as DeprecationsPlugin, P as PromisesPlugin, T as TemplateParamsPlugin } from './shared/unhead.TxTMM7cM.mjs';
|
|
2
|
-
import { d as defineHeadPlugin } from './shared/unhead.D4vSFytZ.mjs';
|
|
3
|
-
export { F as FlatMetaPlugin, S as SafeInputPlugin } from './shared/unhead.D4vSFytZ.mjs';
|
|
4
|
-
import './shared/unhead.CbpEuj3y.mjs';
|
|
5
|
-
import './shared/unhead.BYvz9V1x.mjs';
|
|
6
|
-
import './shared/unhead.DQc16pHI.mjs';
|
|
7
|
-
import './shared/unhead.yem5I2v_.mjs';
|
|
8
|
-
|
|
9
|
-
const META_TRANSFORMABLE_URL = [
|
|
10
|
-
"og:url",
|
|
11
|
-
"og:image",
|
|
12
|
-
"og:image:secure_url",
|
|
13
|
-
"twitter:image",
|
|
14
|
-
"twitter:image:src",
|
|
15
|
-
"og:video",
|
|
16
|
-
"og:video:secure_url",
|
|
17
|
-
"og:see_also"
|
|
18
|
-
];
|
|
19
|
-
function CanonicalPlugin(options) {
|
|
20
|
-
return (head) => {
|
|
21
|
-
let host = options.canonicalHost || (!head.ssr ? window.location.origin : "");
|
|
22
|
-
if (!host.startsWith("http") && !host.startsWith("//")) {
|
|
23
|
-
host = `https://${host}`;
|
|
24
|
-
}
|
|
25
|
-
host = new URL(host).origin;
|
|
26
|
-
function resolvePath(path) {
|
|
27
|
-
if (options?.customResolver) {
|
|
28
|
-
return options.customResolver(path);
|
|
29
|
-
}
|
|
30
|
-
if (path.startsWith("http") || path.startsWith("//"))
|
|
31
|
-
return path;
|
|
32
|
-
try {
|
|
33
|
-
return new URL(path, host).toString();
|
|
34
|
-
} catch {
|
|
35
|
-
return path;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
key: "canonical",
|
|
40
|
-
hooks: {
|
|
41
|
-
"tags:resolve": (ctx) => {
|
|
42
|
-
for (const tag of ctx.tags) {
|
|
43
|
-
if (tag.tag === "meta" && (META_TRANSFORMABLE_URL.includes(tag.props?.property) || META_TRANSFORMABLE_URL.includes(tag.props?.name))) {
|
|
44
|
-
tag.props.content = resolvePath(tag.props.content);
|
|
45
|
-
} else if (tag.tag === "link" && tag.props.rel === "canonical") {
|
|
46
|
-
tag.props.href = resolvePath(tag.props.href);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
function InferSeoMetaPlugin(options = {}) {
|
|
56
|
-
return defineHeadPlugin((head) => {
|
|
57
|
-
head.push({
|
|
58
|
-
meta: [
|
|
59
|
-
{
|
|
60
|
-
name: "twitter:card",
|
|
61
|
-
content: options.twitterCard || "summary_large_image",
|
|
62
|
-
tagPriority: "low"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"property": "og:title",
|
|
66
|
-
"tagPriority": "low",
|
|
67
|
-
"data-infer": ""
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"property": "og:description",
|
|
71
|
-
"tagPriority": "low",
|
|
72
|
-
"data-infer": ""
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
});
|
|
76
|
-
return {
|
|
77
|
-
key: "infer-seo-meta",
|
|
78
|
-
hooks: {
|
|
79
|
-
"tags:beforeResolve": ({ tagMap }) => {
|
|
80
|
-
let title = head._titleTemplate || head._title;
|
|
81
|
-
const ogTitle = tagMap.get("meta:og:title");
|
|
82
|
-
if (typeof ogTitle?.props["data-infer"] !== "undefined") {
|
|
83
|
-
if (typeof title === "function") {
|
|
84
|
-
title = title(head._title);
|
|
85
|
-
}
|
|
86
|
-
ogTitle.props.content = options.ogTitle ? options.ogTitle(title) : title || "";
|
|
87
|
-
ogTitle.processTemplateParams = true;
|
|
88
|
-
}
|
|
89
|
-
const description = tagMap.get("meta:description")?.props?.content;
|
|
90
|
-
const ogDescription = tagMap.get("meta:og:description");
|
|
91
|
-
if (typeof ogDescription?.props["data-infer"] !== "undefined") {
|
|
92
|
-
ogDescription.props.content = options.ogDescription ? options.ogDescription(description) : description || "";
|
|
93
|
-
ogDescription.processTemplateParams = true;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export { CanonicalPlugin, InferSeoMetaPlugin, defineHeadPlugin };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export { r as resolveScriptKey, u as useScript } from './shared/unhead.BnoAbrHA.mjs';
|
|
2
|
-
import './shared/unhead.yem5I2v_.mjs';
|
|
3
|
-
|
|
4
|
-
function createSpyProxy(target, onApply) {
|
|
5
|
-
const stack = [];
|
|
6
|
-
let stackIdx = -1;
|
|
7
|
-
const handler = (reuseStack = false) => ({
|
|
8
|
-
get(_, prop, receiver) {
|
|
9
|
-
if (!reuseStack) {
|
|
10
|
-
stackIdx++;
|
|
11
|
-
stack[stackIdx] = [];
|
|
12
|
-
}
|
|
13
|
-
const v = Reflect.get(_, prop, receiver);
|
|
14
|
-
if (typeof v === "object" || typeof v === "function") {
|
|
15
|
-
stack[stackIdx].push({ type: "get", key: prop });
|
|
16
|
-
return new Proxy(v, handler(true));
|
|
17
|
-
}
|
|
18
|
-
stack[stackIdx].push({ type: "get", key: prop, value: v });
|
|
19
|
-
return v;
|
|
20
|
-
},
|
|
21
|
-
apply(_, __, args) {
|
|
22
|
-
stack[stackIdx].push({ type: "apply", key: "", args });
|
|
23
|
-
onApply(stack);
|
|
24
|
-
return Reflect.apply(_, __, args);
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
return new Proxy(target, handler());
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { createSpyProxy };
|