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.
- package/README.md +39 -27
- 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/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 +6 -3
- package/web/.output/public/200.html +1 -0
- package/web/.output/public/404.html +1 -0
- package/web/.output/public/_nuxt/{CGPWRqbc.js → B4JKWaDj.js} +1 -1
- package/web/.output/public/_nuxt/Bs-RnkRE.js +37 -0
- package/web/.output/public/_nuxt/{Sgtec1U0.js → DjtJytwR.js} +1 -1
- package/web/.output/public/_nuxt/{BgApMHS1.js → a71R3CFc.js} +1 -1
- package/web/.output/public/_nuxt/builds/latest.json +1 -1
- package/web/.output/public/_nuxt/builds/meta/bc129b23-5172-4e74-875d-2a24574a5dbe.json +1 -0
- package/web/.output/public/index.html +1 -0
- package/web/.output/nitro.json +0 -15
- package/web/.output/public/_nuxt/BWja8e3M.js +0 -37
- package/web/.output/public/_nuxt/builds/meta/c4723e49-0623-47af-ae79-9ab6428bdcc1.json +0 -1
- 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-DyaaQUIS.mjs +0 -106
- package/web/.output/server/chunks/build/error-404-DyaaQUIS.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-CVSP-p02.mjs +0 -89
- package/web/.output/server/chunks/build/error-500-CVSP-p02.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-88dXYOxO.mjs +0 -19675
- package/web/.output/server/chunks/build/index-88dXYOxO.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
package/web/.output/server/node_modules/@vue/devtools-kit/node_modules/hookable/dist/index.mjs
DELETED
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
function flatHooks(configHooks, hooks = {}, parentName) {
|
|
2
|
-
for (const key in configHooks) {
|
|
3
|
-
const subHook = configHooks[key];
|
|
4
|
-
const name = parentName ? `${parentName}:${key}` : key;
|
|
5
|
-
if (typeof subHook === "object" && subHook !== null) {
|
|
6
|
-
flatHooks(subHook, hooks, name);
|
|
7
|
-
} else if (typeof subHook === "function") {
|
|
8
|
-
hooks[name] = subHook;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
return hooks;
|
|
12
|
-
}
|
|
13
|
-
function mergeHooks(...hooks) {
|
|
14
|
-
const finalHooks = {};
|
|
15
|
-
for (const hook of hooks) {
|
|
16
|
-
const flatenHook = flatHooks(hook);
|
|
17
|
-
for (const key in flatenHook) {
|
|
18
|
-
if (finalHooks[key]) {
|
|
19
|
-
finalHooks[key].push(flatenHook[key]);
|
|
20
|
-
} else {
|
|
21
|
-
finalHooks[key] = [flatenHook[key]];
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
for (const key in finalHooks) {
|
|
26
|
-
if (finalHooks[key].length > 1) {
|
|
27
|
-
const array = finalHooks[key];
|
|
28
|
-
finalHooks[key] = (...arguments_) => serial(array, (function_) => function_(...arguments_));
|
|
29
|
-
} else {
|
|
30
|
-
finalHooks[key] = finalHooks[key][0];
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return finalHooks;
|
|
34
|
-
}
|
|
35
|
-
function serial(tasks, function_) {
|
|
36
|
-
return tasks.reduce(
|
|
37
|
-
(promise, task) => promise.then(() => function_(task)),
|
|
38
|
-
Promise.resolve()
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
const defaultTask = { run: (function_) => function_() };
|
|
42
|
-
const _createTask = () => defaultTask;
|
|
43
|
-
const createTask = typeof console.createTask !== "undefined" ? console.createTask : _createTask;
|
|
44
|
-
function serialTaskCaller(hooks, args) {
|
|
45
|
-
const name = args.shift();
|
|
46
|
-
const task = createTask(name);
|
|
47
|
-
return hooks.reduce(
|
|
48
|
-
(promise, hookFunction) => promise.then(() => task.run(() => hookFunction(...args))),
|
|
49
|
-
Promise.resolve()
|
|
50
|
-
);
|
|
51
|
-
}
|
|
52
|
-
function parallelTaskCaller(hooks, args) {
|
|
53
|
-
const name = args.shift();
|
|
54
|
-
const task = createTask(name);
|
|
55
|
-
return Promise.all(hooks.map((hook) => task.run(() => hook(...args))));
|
|
56
|
-
}
|
|
57
|
-
function serialCaller(hooks, arguments_) {
|
|
58
|
-
return hooks.reduce(
|
|
59
|
-
(promise, hookFunction) => promise.then(() => hookFunction(...arguments_ || [])),
|
|
60
|
-
Promise.resolve()
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
function parallelCaller(hooks, args) {
|
|
64
|
-
return Promise.all(hooks.map((hook) => hook(...args || [])));
|
|
65
|
-
}
|
|
66
|
-
function callEachWith(callbacks, arg0) {
|
|
67
|
-
for (const callback of [...callbacks]) {
|
|
68
|
-
callback(arg0);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
class Hookable {
|
|
73
|
-
constructor() {
|
|
74
|
-
this._hooks = {};
|
|
75
|
-
this._before = void 0;
|
|
76
|
-
this._after = void 0;
|
|
77
|
-
this._deprecatedMessages = void 0;
|
|
78
|
-
this._deprecatedHooks = {};
|
|
79
|
-
this.hook = this.hook.bind(this);
|
|
80
|
-
this.callHook = this.callHook.bind(this);
|
|
81
|
-
this.callHookWith = this.callHookWith.bind(this);
|
|
82
|
-
}
|
|
83
|
-
hook(name, function_, options = {}) {
|
|
84
|
-
if (!name || typeof function_ !== "function") {
|
|
85
|
-
return () => {
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
const originalName = name;
|
|
89
|
-
let dep;
|
|
90
|
-
while (this._deprecatedHooks[name]) {
|
|
91
|
-
dep = this._deprecatedHooks[name];
|
|
92
|
-
name = dep.to;
|
|
93
|
-
}
|
|
94
|
-
if (dep && !options.allowDeprecated) {
|
|
95
|
-
let message = dep.message;
|
|
96
|
-
if (!message) {
|
|
97
|
-
message = `${originalName} hook has been deprecated` + (dep.to ? `, please use ${dep.to}` : "");
|
|
98
|
-
}
|
|
99
|
-
if (!this._deprecatedMessages) {
|
|
100
|
-
this._deprecatedMessages = /* @__PURE__ */ new Set();
|
|
101
|
-
}
|
|
102
|
-
if (!this._deprecatedMessages.has(message)) {
|
|
103
|
-
console.warn(message);
|
|
104
|
-
this._deprecatedMessages.add(message);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
if (!function_.name) {
|
|
108
|
-
try {
|
|
109
|
-
Object.defineProperty(function_, "name", {
|
|
110
|
-
get: () => "_" + name.replace(/\W+/g, "_") + "_hook_cb",
|
|
111
|
-
configurable: true
|
|
112
|
-
});
|
|
113
|
-
} catch {
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
this._hooks[name] = this._hooks[name] || [];
|
|
117
|
-
this._hooks[name].push(function_);
|
|
118
|
-
return () => {
|
|
119
|
-
if (function_) {
|
|
120
|
-
this.removeHook(name, function_);
|
|
121
|
-
function_ = void 0;
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
hookOnce(name, function_) {
|
|
126
|
-
let _unreg;
|
|
127
|
-
let _function = (...arguments_) => {
|
|
128
|
-
if (typeof _unreg === "function") {
|
|
129
|
-
_unreg();
|
|
130
|
-
}
|
|
131
|
-
_unreg = void 0;
|
|
132
|
-
_function = void 0;
|
|
133
|
-
return function_(...arguments_);
|
|
134
|
-
};
|
|
135
|
-
_unreg = this.hook(name, _function);
|
|
136
|
-
return _unreg;
|
|
137
|
-
}
|
|
138
|
-
removeHook(name, function_) {
|
|
139
|
-
if (this._hooks[name]) {
|
|
140
|
-
const index = this._hooks[name].indexOf(function_);
|
|
141
|
-
if (index !== -1) {
|
|
142
|
-
this._hooks[name].splice(index, 1);
|
|
143
|
-
}
|
|
144
|
-
if (this._hooks[name].length === 0) {
|
|
145
|
-
delete this._hooks[name];
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
deprecateHook(name, deprecated) {
|
|
150
|
-
this._deprecatedHooks[name] = typeof deprecated === "string" ? { to: deprecated } : deprecated;
|
|
151
|
-
const _hooks = this._hooks[name] || [];
|
|
152
|
-
delete this._hooks[name];
|
|
153
|
-
for (const hook of _hooks) {
|
|
154
|
-
this.hook(name, hook);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
deprecateHooks(deprecatedHooks) {
|
|
158
|
-
Object.assign(this._deprecatedHooks, deprecatedHooks);
|
|
159
|
-
for (const name in deprecatedHooks) {
|
|
160
|
-
this.deprecateHook(name, deprecatedHooks[name]);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
addHooks(configHooks) {
|
|
164
|
-
const hooks = flatHooks(configHooks);
|
|
165
|
-
const removeFns = Object.keys(hooks).map(
|
|
166
|
-
(key) => this.hook(key, hooks[key])
|
|
167
|
-
);
|
|
168
|
-
return () => {
|
|
169
|
-
for (const unreg of removeFns.splice(0, removeFns.length)) {
|
|
170
|
-
unreg();
|
|
171
|
-
}
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
removeHooks(configHooks) {
|
|
175
|
-
const hooks = flatHooks(configHooks);
|
|
176
|
-
for (const key in hooks) {
|
|
177
|
-
this.removeHook(key, hooks[key]);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
removeAllHooks() {
|
|
181
|
-
for (const key in this._hooks) {
|
|
182
|
-
delete this._hooks[key];
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
callHook(name, ...arguments_) {
|
|
186
|
-
arguments_.unshift(name);
|
|
187
|
-
return this.callHookWith(serialTaskCaller, name, ...arguments_);
|
|
188
|
-
}
|
|
189
|
-
callHookParallel(name, ...arguments_) {
|
|
190
|
-
arguments_.unshift(name);
|
|
191
|
-
return this.callHookWith(parallelTaskCaller, name, ...arguments_);
|
|
192
|
-
}
|
|
193
|
-
callHookWith(caller, name, ...arguments_) {
|
|
194
|
-
const event = this._before || this._after ? { name, args: arguments_, context: {} } : void 0;
|
|
195
|
-
if (this._before) {
|
|
196
|
-
callEachWith(this._before, event);
|
|
197
|
-
}
|
|
198
|
-
const result = caller(
|
|
199
|
-
name in this._hooks ? [...this._hooks[name]] : [],
|
|
200
|
-
arguments_
|
|
201
|
-
);
|
|
202
|
-
if (result instanceof Promise) {
|
|
203
|
-
return result.finally(() => {
|
|
204
|
-
if (this._after && event) {
|
|
205
|
-
callEachWith(this._after, event);
|
|
206
|
-
}
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
if (this._after && event) {
|
|
210
|
-
callEachWith(this._after, event);
|
|
211
|
-
}
|
|
212
|
-
return result;
|
|
213
|
-
}
|
|
214
|
-
beforeEach(function_) {
|
|
215
|
-
this._before = this._before || [];
|
|
216
|
-
this._before.push(function_);
|
|
217
|
-
return () => {
|
|
218
|
-
if (this._before !== void 0) {
|
|
219
|
-
const index = this._before.indexOf(function_);
|
|
220
|
-
if (index !== -1) {
|
|
221
|
-
this._before.splice(index, 1);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
};
|
|
225
|
-
}
|
|
226
|
-
afterEach(function_) {
|
|
227
|
-
this._after = this._after || [];
|
|
228
|
-
this._after.push(function_);
|
|
229
|
-
return () => {
|
|
230
|
-
if (this._after !== void 0) {
|
|
231
|
-
const index = this._after.indexOf(function_);
|
|
232
|
-
if (index !== -1) {
|
|
233
|
-
this._after.splice(index, 1);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
function createHooks() {
|
|
240
|
-
return new Hookable();
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
const isBrowser = typeof window !== "undefined";
|
|
244
|
-
function createDebugger(hooks, _options = {}) {
|
|
245
|
-
const options = {
|
|
246
|
-
inspect: isBrowser,
|
|
247
|
-
group: isBrowser,
|
|
248
|
-
filter: () => true,
|
|
249
|
-
..._options
|
|
250
|
-
};
|
|
251
|
-
const _filter = options.filter;
|
|
252
|
-
const filter = typeof _filter === "string" ? (name) => name.startsWith(_filter) : _filter;
|
|
253
|
-
const _tag = options.tag ? `[${options.tag}] ` : "";
|
|
254
|
-
const logPrefix = (event) => _tag + event.name + "".padEnd(event._id, "\0");
|
|
255
|
-
const _idCtr = {};
|
|
256
|
-
const unsubscribeBefore = hooks.beforeEach((event) => {
|
|
257
|
-
if (filter !== void 0 && !filter(event.name)) {
|
|
258
|
-
return;
|
|
259
|
-
}
|
|
260
|
-
_idCtr[event.name] = _idCtr[event.name] || 0;
|
|
261
|
-
event._id = _idCtr[event.name]++;
|
|
262
|
-
console.time(logPrefix(event));
|
|
263
|
-
});
|
|
264
|
-
const unsubscribeAfter = hooks.afterEach((event) => {
|
|
265
|
-
if (filter !== void 0 && !filter(event.name)) {
|
|
266
|
-
return;
|
|
267
|
-
}
|
|
268
|
-
if (options.group) {
|
|
269
|
-
console.groupCollapsed(event.name);
|
|
270
|
-
}
|
|
271
|
-
if (options.inspect) {
|
|
272
|
-
console.timeLog(logPrefix(event), event.args);
|
|
273
|
-
} else {
|
|
274
|
-
console.timeEnd(logPrefix(event));
|
|
275
|
-
}
|
|
276
|
-
if (options.group) {
|
|
277
|
-
console.groupEnd();
|
|
278
|
-
}
|
|
279
|
-
_idCtr[event.name]--;
|
|
280
|
-
});
|
|
281
|
-
return {
|
|
282
|
-
/** Stop debugging and remove listeners */
|
|
283
|
-
close: () => {
|
|
284
|
-
unsubscribeBefore();
|
|
285
|
-
unsubscribeAfter();
|
|
286
|
-
}
|
|
287
|
-
};
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
export { Hookable, createDebugger, createHooks, flatHooks, mergeHooks, parallelCaller, serial, serialCaller };
|
package/web/.output/server/node_modules/@vue/devtools-kit/node_modules/hookable/package.json
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "hookable",
|
|
3
|
-
"version": "5.5.3",
|
|
4
|
-
"description": "Awaitable hook system",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"hook",
|
|
7
|
-
"hookable",
|
|
8
|
-
"plugin",
|
|
9
|
-
"tapable",
|
|
10
|
-
"tappable"
|
|
11
|
-
],
|
|
12
|
-
"repository": "unjs/hookable",
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"exports": {
|
|
15
|
-
"import": "./dist/index.mjs",
|
|
16
|
-
"types": "./dist/index.d.ts",
|
|
17
|
-
"require": "./dist/index.cjs"
|
|
18
|
-
},
|
|
19
|
-
"main": "./dist/index.cjs",
|
|
20
|
-
"module": "./dist/index.mjs",
|
|
21
|
-
"types": "./dist/index.d.ts",
|
|
22
|
-
"files": [
|
|
23
|
-
"dist"
|
|
24
|
-
],
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@types/node": "^18.15.11",
|
|
27
|
-
"@vitest/coverage-c8": "^0.29.8",
|
|
28
|
-
"changelogen": "^0.5.2",
|
|
29
|
-
"eslint": "^8.37.0",
|
|
30
|
-
"eslint-config-unjs": "^0.1.0",
|
|
31
|
-
"expect-type": "^0.15.0",
|
|
32
|
-
"prettier": "^2.8.7",
|
|
33
|
-
"typescript": "^5.0.2",
|
|
34
|
-
"unbuild": "^1.1.2",
|
|
35
|
-
"vite": "^4.2.1",
|
|
36
|
-
"vitest": "^0.29.8"
|
|
37
|
-
},
|
|
38
|
-
"packageManager": "pnpm@8.0.0",
|
|
39
|
-
"scripts": {
|
|
40
|
-
"build": "unbuild",
|
|
41
|
-
"dev": "vitest",
|
|
42
|
-
"lint": "eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test",
|
|
43
|
-
"lint:fix": "eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w",
|
|
44
|
-
"prepublish": "pnpm build",
|
|
45
|
-
"release": "pnpm test && pnpm build && changelogen --release --push && pnpm publish",
|
|
46
|
-
"test": "pnpm lint && vitest run --coverage",
|
|
47
|
-
"test:types": "tsc --noEmit"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@vue/devtools-kit",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "8.1.5",
|
|
5
|
-
"author": "webfansplz",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"repository": {
|
|
8
|
-
"directory": "packages/devtools-kit",
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/vuejs/devtools.git"
|
|
11
|
-
},
|
|
12
|
-
"sideEffects": false,
|
|
13
|
-
"exports": {
|
|
14
|
-
".": {
|
|
15
|
-
"import": "./dist/index.js",
|
|
16
|
-
"require": "./dist/index.cjs"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"main": "./dist/index.cjs",
|
|
20
|
-
"module": "./dist/index.js",
|
|
21
|
-
"types": "./types.d.ts",
|
|
22
|
-
"files": [
|
|
23
|
-
"**.d.ts",
|
|
24
|
-
"dist"
|
|
25
|
-
],
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"birpc": "^2.6.1",
|
|
28
|
-
"hookable": "^5.5.3",
|
|
29
|
-
"perfect-debounce": "^2.0.0",
|
|
30
|
-
"@vue/devtools-shared": "^8.1.5"
|
|
31
|
-
},
|
|
32
|
-
"devDependencies": {
|
|
33
|
-
"@types/speakingurl": "^13.0.6",
|
|
34
|
-
"speakingurl": "^14.0.1",
|
|
35
|
-
"superjson": "^2.2.2",
|
|
36
|
-
"vue": "^3.5.22",
|
|
37
|
-
"vue-router": "^4.6.0"
|
|
38
|
-
},
|
|
39
|
-
"scripts": {
|
|
40
|
-
"build": "tsdown --clean",
|
|
41
|
-
"prepare:type": "tsdown --dts-only",
|
|
42
|
-
"stub": "tsdown --watch --onSuccess 'tsdown --dts-only'"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,239 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
-
key = keys[i];
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
|
-
get: ((k) => from[k]).bind(null, key),
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
20
|
-
value: mod,
|
|
21
|
-
enumerable: true
|
|
22
|
-
}) : target, mod));
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region src/constants.ts
|
|
25
|
-
const VIEW_MODE_STORAGE_KEY = "__vue-devtools-view-mode__";
|
|
26
|
-
const VITE_PLUGIN_DETECTED_STORAGE_KEY = "__vue-devtools-vite-plugin-detected__";
|
|
27
|
-
const VITE_PLUGIN_CLIENT_URL_STORAGE_KEY = "__vue-devtools-vite-plugin-client-url__";
|
|
28
|
-
const BROADCAST_CHANNEL_NAME = "__vue-devtools-broadcast-channel__";
|
|
29
|
-
//#endregion
|
|
30
|
-
//#region src/env.ts
|
|
31
|
-
const isBrowser = typeof navigator !== "undefined";
|
|
32
|
-
const target = typeof window !== "undefined" ? window : typeof globalThis !== "undefined" ? globalThis : typeof global !== "undefined" ? global : {};
|
|
33
|
-
const isInChromePanel = typeof target.chrome !== "undefined" && !!target.chrome.devtools;
|
|
34
|
-
const isInIframe = isBrowser && target.self !== target.top;
|
|
35
|
-
const isInElectron = typeof navigator !== "undefined" && navigator.userAgent?.toLowerCase().includes("electron");
|
|
36
|
-
const isNuxtApp = typeof window !== "undefined" && !!window.__NUXT__;
|
|
37
|
-
const isInSeparateWindow = !isInIframe && !isInChromePanel && !isInElectron;
|
|
38
|
-
//#endregion
|
|
39
|
-
//#region src/general.ts
|
|
40
|
-
var import_rfdc = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
41
|
-
module.exports = rfdc;
|
|
42
|
-
function copyBuffer(cur) {
|
|
43
|
-
if (cur instanceof Buffer) return Buffer.from(cur);
|
|
44
|
-
return new cur.constructor(cur.buffer.slice(), cur.byteOffset, cur.length);
|
|
45
|
-
}
|
|
46
|
-
function rfdc(opts) {
|
|
47
|
-
opts = opts || {};
|
|
48
|
-
if (opts.circles) return rfdcCircles(opts);
|
|
49
|
-
const constructorHandlers = /* @__PURE__ */ new Map();
|
|
50
|
-
constructorHandlers.set(Date, (o) => new Date(o));
|
|
51
|
-
constructorHandlers.set(Map, (o, fn) => new Map(cloneArray(Array.from(o), fn)));
|
|
52
|
-
constructorHandlers.set(Set, (o, fn) => new Set(cloneArray(Array.from(o), fn)));
|
|
53
|
-
if (opts.constructorHandlers) for (const handler of opts.constructorHandlers) constructorHandlers.set(handler[0], handler[1]);
|
|
54
|
-
let handler = null;
|
|
55
|
-
return opts.proto ? cloneProto : clone;
|
|
56
|
-
function cloneArray(a, fn) {
|
|
57
|
-
const keys = Object.keys(a);
|
|
58
|
-
const a2 = new Array(keys.length);
|
|
59
|
-
for (let i = 0; i < keys.length; i++) {
|
|
60
|
-
const k = keys[i];
|
|
61
|
-
const cur = a[k];
|
|
62
|
-
if (typeof cur !== "object" || cur === null) a2[k] = cur;
|
|
63
|
-
else if (cur.constructor !== Object && (handler = constructorHandlers.get(cur.constructor))) a2[k] = handler(cur, fn);
|
|
64
|
-
else if (ArrayBuffer.isView(cur)) a2[k] = copyBuffer(cur);
|
|
65
|
-
else a2[k] = fn(cur);
|
|
66
|
-
}
|
|
67
|
-
return a2;
|
|
68
|
-
}
|
|
69
|
-
function clone(o) {
|
|
70
|
-
if (typeof o !== "object" || o === null) return o;
|
|
71
|
-
if (Array.isArray(o)) return cloneArray(o, clone);
|
|
72
|
-
if (o.constructor !== Object && (handler = constructorHandlers.get(o.constructor))) return handler(o, clone);
|
|
73
|
-
const o2 = {};
|
|
74
|
-
for (const k in o) {
|
|
75
|
-
if (Object.hasOwnProperty.call(o, k) === false) continue;
|
|
76
|
-
const cur = o[k];
|
|
77
|
-
if (typeof cur !== "object" || cur === null) o2[k] = cur;
|
|
78
|
-
else if (cur.constructor !== Object && (handler = constructorHandlers.get(cur.constructor))) o2[k] = handler(cur, clone);
|
|
79
|
-
else if (ArrayBuffer.isView(cur)) o2[k] = copyBuffer(cur);
|
|
80
|
-
else o2[k] = clone(cur);
|
|
81
|
-
}
|
|
82
|
-
return o2;
|
|
83
|
-
}
|
|
84
|
-
function cloneProto(o) {
|
|
85
|
-
if (typeof o !== "object" || o === null) return o;
|
|
86
|
-
if (Array.isArray(o)) return cloneArray(o, cloneProto);
|
|
87
|
-
if (o.constructor !== Object && (handler = constructorHandlers.get(o.constructor))) return handler(o, cloneProto);
|
|
88
|
-
const o2 = {};
|
|
89
|
-
for (const k in o) {
|
|
90
|
-
const cur = o[k];
|
|
91
|
-
if (typeof cur !== "object" || cur === null) o2[k] = cur;
|
|
92
|
-
else if (cur.constructor !== Object && (handler = constructorHandlers.get(cur.constructor))) o2[k] = handler(cur, cloneProto);
|
|
93
|
-
else if (ArrayBuffer.isView(cur)) o2[k] = copyBuffer(cur);
|
|
94
|
-
else o2[k] = cloneProto(cur);
|
|
95
|
-
}
|
|
96
|
-
return o2;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
function rfdcCircles(opts) {
|
|
100
|
-
const refs = [];
|
|
101
|
-
const refsNew = [];
|
|
102
|
-
const constructorHandlers = /* @__PURE__ */ new Map();
|
|
103
|
-
constructorHandlers.set(Date, (o) => new Date(o));
|
|
104
|
-
constructorHandlers.set(Map, (o, fn) => new Map(cloneArray(Array.from(o), fn)));
|
|
105
|
-
constructorHandlers.set(Set, (o, fn) => new Set(cloneArray(Array.from(o), fn)));
|
|
106
|
-
if (opts.constructorHandlers) for (const handler of opts.constructorHandlers) constructorHandlers.set(handler[0], handler[1]);
|
|
107
|
-
let handler = null;
|
|
108
|
-
return opts.proto ? cloneProto : clone;
|
|
109
|
-
function cloneArray(a, fn) {
|
|
110
|
-
const keys = Object.keys(a);
|
|
111
|
-
const a2 = new Array(keys.length);
|
|
112
|
-
for (let i = 0; i < keys.length; i++) {
|
|
113
|
-
const k = keys[i];
|
|
114
|
-
const cur = a[k];
|
|
115
|
-
if (typeof cur !== "object" || cur === null) a2[k] = cur;
|
|
116
|
-
else if (cur.constructor !== Object && (handler = constructorHandlers.get(cur.constructor))) a2[k] = handler(cur, fn);
|
|
117
|
-
else if (ArrayBuffer.isView(cur)) a2[k] = copyBuffer(cur);
|
|
118
|
-
else {
|
|
119
|
-
const index = refs.indexOf(cur);
|
|
120
|
-
if (index !== -1) a2[k] = refsNew[index];
|
|
121
|
-
else a2[k] = fn(cur);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
return a2;
|
|
125
|
-
}
|
|
126
|
-
function clone(o) {
|
|
127
|
-
if (typeof o !== "object" || o === null) return o;
|
|
128
|
-
if (Array.isArray(o)) return cloneArray(o, clone);
|
|
129
|
-
if (o.constructor !== Object && (handler = constructorHandlers.get(o.constructor))) return handler(o, clone);
|
|
130
|
-
const o2 = {};
|
|
131
|
-
refs.push(o);
|
|
132
|
-
refsNew.push(o2);
|
|
133
|
-
for (const k in o) {
|
|
134
|
-
if (Object.hasOwnProperty.call(o, k) === false) continue;
|
|
135
|
-
const cur = o[k];
|
|
136
|
-
if (typeof cur !== "object" || cur === null) o2[k] = cur;
|
|
137
|
-
else if (cur.constructor !== Object && (handler = constructorHandlers.get(cur.constructor))) o2[k] = handler(cur, clone);
|
|
138
|
-
else if (ArrayBuffer.isView(cur)) o2[k] = copyBuffer(cur);
|
|
139
|
-
else {
|
|
140
|
-
const i = refs.indexOf(cur);
|
|
141
|
-
if (i !== -1) o2[k] = refsNew[i];
|
|
142
|
-
else o2[k] = clone(cur);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
refs.pop();
|
|
146
|
-
refsNew.pop();
|
|
147
|
-
return o2;
|
|
148
|
-
}
|
|
149
|
-
function cloneProto(o) {
|
|
150
|
-
if (typeof o !== "object" || o === null) return o;
|
|
151
|
-
if (Array.isArray(o)) return cloneArray(o, cloneProto);
|
|
152
|
-
if (o.constructor !== Object && (handler = constructorHandlers.get(o.constructor))) return handler(o, cloneProto);
|
|
153
|
-
const o2 = {};
|
|
154
|
-
refs.push(o);
|
|
155
|
-
refsNew.push(o2);
|
|
156
|
-
for (const k in o) {
|
|
157
|
-
const cur = o[k];
|
|
158
|
-
if (typeof cur !== "object" || cur === null) o2[k] = cur;
|
|
159
|
-
else if (cur.constructor !== Object && (handler = constructorHandlers.get(cur.constructor))) o2[k] = handler(cur, cloneProto);
|
|
160
|
-
else if (ArrayBuffer.isView(cur)) o2[k] = copyBuffer(cur);
|
|
161
|
-
else {
|
|
162
|
-
const i = refs.indexOf(cur);
|
|
163
|
-
if (i !== -1) o2[k] = refsNew[i];
|
|
164
|
-
else o2[k] = cloneProto(cur);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
refs.pop();
|
|
168
|
-
refsNew.pop();
|
|
169
|
-
return o2;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
})))(), 1);
|
|
173
|
-
function NOOP() {}
|
|
174
|
-
const isNumeric = (str) => `${+str}` === str;
|
|
175
|
-
const isMacOS = () => navigator?.platform ? navigator?.platform.toLowerCase().includes("mac") : /Macintosh/.test(navigator.userAgent);
|
|
176
|
-
const classifyRE = /(?:^|[-_/])(\w)/g;
|
|
177
|
-
const camelizeRE = /-(\w)/g;
|
|
178
|
-
const kebabizeRE = /([a-z0-9])([A-Z])/g;
|
|
179
|
-
function toUpper(_, c) {
|
|
180
|
-
return c ? c.toUpperCase() : "";
|
|
181
|
-
}
|
|
182
|
-
function classify(str) {
|
|
183
|
-
return str && `${str}`.replace(classifyRE, toUpper);
|
|
184
|
-
}
|
|
185
|
-
function camelize(str) {
|
|
186
|
-
return str && str.replace(camelizeRE, toUpper);
|
|
187
|
-
}
|
|
188
|
-
function kebabize(str) {
|
|
189
|
-
return str && str.replace(kebabizeRE, (_, lowerCaseCharacter, upperCaseLetter) => {
|
|
190
|
-
return `${lowerCaseCharacter}-${upperCaseLetter}`;
|
|
191
|
-
}).toLowerCase();
|
|
192
|
-
}
|
|
193
|
-
function basename(filename, ext) {
|
|
194
|
-
let normalizedFilename = filename.replace(/^[a-z]:/i, "").replace(/\\/g, "/");
|
|
195
|
-
if (normalizedFilename.endsWith(`index${ext}`)) normalizedFilename = normalizedFilename.replace(`/index${ext}`, ext);
|
|
196
|
-
const lastSlashIndex = normalizedFilename.lastIndexOf("/");
|
|
197
|
-
const baseNameWithExt = normalizedFilename.substring(lastSlashIndex + 1);
|
|
198
|
-
if (ext) {
|
|
199
|
-
const extIndex = baseNameWithExt.lastIndexOf(ext);
|
|
200
|
-
return baseNameWithExt.substring(0, extIndex);
|
|
201
|
-
}
|
|
202
|
-
return "";
|
|
203
|
-
}
|
|
204
|
-
function sortByKey(state) {
|
|
205
|
-
return state && state.slice().sort((a, b) => {
|
|
206
|
-
if (a.key < b.key) return -1;
|
|
207
|
-
if (a.key > b.key) return 1;
|
|
208
|
-
return 0;
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
const HTTP_URL_RE = /^https?:\/\//;
|
|
212
|
-
/**
|
|
213
|
-
* Check a string is start with `/` or a valid http url
|
|
214
|
-
*/
|
|
215
|
-
function isUrlString(str) {
|
|
216
|
-
return str.startsWith("/") || HTTP_URL_RE.test(str);
|
|
217
|
-
}
|
|
218
|
-
/**
|
|
219
|
-
* @copyright [rfdc](https://github.com/davidmarkclements/rfdc)
|
|
220
|
-
* @description A really fast deep clone alternative
|
|
221
|
-
*/
|
|
222
|
-
const deepClone = (0, import_rfdc.default)({ circles: true });
|
|
223
|
-
function randomStr() {
|
|
224
|
-
return Math.random().toString(36).slice(2);
|
|
225
|
-
}
|
|
226
|
-
function isObject(value) {
|
|
227
|
-
return typeof value === "object" && !Array.isArray(value) && value !== null;
|
|
228
|
-
}
|
|
229
|
-
function isArray(value) {
|
|
230
|
-
return Array.isArray(value);
|
|
231
|
-
}
|
|
232
|
-
function isSet(value) {
|
|
233
|
-
return value instanceof Set;
|
|
234
|
-
}
|
|
235
|
-
function isMap(value) {
|
|
236
|
-
return value instanceof Map;
|
|
237
|
-
}
|
|
238
|
-
//#endregion
|
|
239
|
-
export { BROADCAST_CHANNEL_NAME, NOOP, VIEW_MODE_STORAGE_KEY, VITE_PLUGIN_CLIENT_URL_STORAGE_KEY, VITE_PLUGIN_DETECTED_STORAGE_KEY, basename, camelize, classify, deepClone, isArray, isBrowser, isInChromePanel, isInElectron, isInIframe, isInSeparateWindow, isMacOS, isMap, isNumeric, isNuxtApp, isObject, isSet, isUrlString, kebabize, randomStr, sortByKey, target };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@vue/devtools-shared",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "8.1.5",
|
|
5
|
-
"author": "webfansplz",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"repository": {
|
|
8
|
-
"directory": "packages/shared",
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/vuejs/devtools.git"
|
|
11
|
-
},
|
|
12
|
-
"sideEffects": false,
|
|
13
|
-
"exports": {
|
|
14
|
-
".": {
|
|
15
|
-
"import": "./dist/index.js",
|
|
16
|
-
"require": "./dist/index.cjs"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"main": "./dist/index.cjs",
|
|
20
|
-
"module": "./dist/index.js",
|
|
21
|
-
"files": [
|
|
22
|
-
"dist"
|
|
23
|
-
],
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"@types/node": "^24.7.2",
|
|
26
|
-
"rfdc": "^1.4.1"
|
|
27
|
-
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"build": "tsdown",
|
|
30
|
-
"prepare:type": "tsdown --dts-only",
|
|
31
|
-
"stub": "tsdown --watch --onSuccess 'tsdown --dts-only'"
|
|
32
|
-
}
|
|
33
|
-
}
|