@nullix/zod-mongoose-studio 3.3.1 → 3.3.3
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{BCIlnd0g.js → 5ZXm4f56.js} +1 -1
- package/.output/public/_nuxt/{DcJ7oPvZ.js → B2fcLSyW.js} +1 -1
- package/.output/public/_nuxt/{B0N6xv5E.js → BBN7l5Hn.js} +1 -1
- package/.output/public/_nuxt/BBTTtb8r.js +41 -0
- package/.output/public/_nuxt/{5Tu2WUJz.js → BDbISGvP.js} +1 -1
- package/.output/public/_nuxt/{D87QMS6j.js → BijI4RNx.js} +1 -1
- package/.output/public/_nuxt/{C2BHp-MG.js → Bp9qkJ9m.js} +1 -1
- package/.output/public/_nuxt/{I3Ucam2s.js → Bu3-sqCf.js} +1 -1
- package/.output/public/_nuxt/{BO4hqv6q.js → C-FtTvwz.js} +1 -1
- package/.output/public/_nuxt/C02JV0Aj.js +1 -0
- package/.output/public/_nuxt/{sKEJiAHO.js → C1UkIsDc.js} +1 -1
- package/.output/public/_nuxt/{CKULsFUz.js → CJT28r6J.js} +1 -1
- package/.output/public/_nuxt/{BNDnV2op.js → CL7qtgl2.js} +3 -3
- package/.output/public/_nuxt/{DA0pQuyP.js → CRMd2YH2.js} +3 -3
- package/.output/public/_nuxt/{DpKrXpkK.js → CRkdQgFz.js} +1 -1
- package/.output/public/_nuxt/{B0cUlOSM.js → Cw1XFOz5.js} +1 -1
- package/.output/public/_nuxt/{CzbCpNnc.js → D5yWk6Ly.js} +1 -1
- package/.output/public/_nuxt/{BOsJJ_ZU.js → DA9GjKpR.js} +1 -1
- package/.output/public/_nuxt/{Dce9SnGa.js → DaWAlZhp.js} +1 -1
- package/.output/public/_nuxt/{tqQNlhT9.js → DafLMUHo.js} +1 -1
- package/.output/public/_nuxt/{ypRHVLFO.js → Dyaldc-t.js} +1 -1
- package/.output/public/_nuxt/{o-NCh2rp.js → UU9fpRNQ.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/717459d8-0da1-42ed-af0b-9ec5395e8fdc.json +1 -0
- package/.output/public/_nuxt/entry.CDPplHzk.css +1 -0
- package/.output/public/_nuxt/error-404.hPtlUQpd.css +1 -0
- package/.output/public/_nuxt/error-500.E-PXUb6B.css +1 -0
- package/.output/public/_nuxt/{CMH9iX_E.js → kFZJW2-u.js} +2 -2
- package/.output/public/_nuxt/{DsnIpnT9.js → u3DlT5Mh.js} +1 -1
- package/.output/server/chunks/_/error-500.mjs.map +1 -1
- package/.output/server/chunks/_/parse-request.mjs +29 -0
- package/.output/server/chunks/_/parse-request.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/{error-404-KRkA0DPI.mjs → error-404-aQ5PiVuX.mjs} +6 -12
- package/.output/server/chunks/build/error-404-aQ5PiVuX.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-styles.DIZfBVBR.mjs +8 -0
- package/.output/server/chunks/build/error-404-styles.DIZfBVBR.mjs.map +1 -0
- package/.output/server/chunks/build/{error-500-DIIFf55p.mjs → error-500-BY6ZAZZ2.mjs} +6 -12
- package/.output/server/chunks/build/error-500-BY6ZAZZ2.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-styles.BZXgEzR5.mjs +8 -0
- package/.output/server/chunks/build/error-500-styles.BZXgEzR5.mjs.map +1 -0
- package/.output/server/chunks/build/index-57_mtIua.mjs +235 -0
- package/.output/server/chunks/build/index-57_mtIua.mjs.map +1 -0
- package/.output/server/chunks/build/{index-CB1N4gax.mjs → index-Qa-4KqCB.mjs} +7 -13
- package/.output/server/chunks/build/index-Qa-4KqCB.mjs.map +1 -0
- package/.output/server/chunks/build/server.mjs +3913 -3378
- package/.output/server/chunks/build/server.mjs.map +1 -1
- package/.output/server/chunks/build/styles.mjs +4 -4
- package/.output/server/chunks/nitro/nitro.mjs +652 -2278
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/editor-types.get.mjs +91 -28
- package/.output/server/chunks/routes/api/editor-types.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/parse.post.mjs +1599 -7
- package/.output/server/chunks/routes/api/parse.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/resolve.get.mjs +0 -6
- package/.output/server/chunks/routes/api/resolve.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/studio/run.post.mjs +50 -12
- package/.output/server/chunks/routes/api/studio/run.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +21 -44
- package/.output/server/chunks/routes/renderer.mjs.map +1 -1
- package/.output/server/index.mjs +1 -7
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.43/dist/compiler-core.cjs.prod.js +6801 -0
- package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.43/package.json +58 -0
- package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.43/dist/compiler-dom.cjs.prod.js +692 -0
- package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.43/package.json +57 -0
- package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.43/dist/reactivity.cjs.prod.js +1905 -0
- package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.43/package.json +55 -0
- package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.43/dist/runtime-core.cjs.prod.js +7006 -0
- package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.43/package.json +52 -0
- package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.43/dist/runtime-dom.cjs.prod.js +1867 -0
- package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.43/package.json +60 -0
- package/.output/server/node_modules/.nitro/@vue/shared@3.5.43/dist/shared.cjs.prod.js +655 -0
- package/.output/server/node_modules/.nitro/@vue/shared@3.5.43/package.json +47 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/array-set.js +121 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/base64.js +67 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/binary-search.js +111 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/quick-sort.js +141 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/source-map-consumer.js +1236 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/source-map-generator.js +446 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/source-node.js +420 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/util.js +594 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/package.json +71 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/source-map.js +8 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/index.js +7 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/index.mjs +1 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/package.json +112 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +55 -21
- package/.output/server/node_modules/@babel/parser/package.json +7 -7
- package/.output/server/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- package/.output/server/node_modules/@esbuild/linux-x64/package.json +1 -1
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +19 -16
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +3 -4
- package/.output/server/node_modules/@iconify/utils/lib/css/common.js +16 -16
- package/.output/server/node_modules/@iconify/utils/lib/css/format.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +11 -14
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +13 -16
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +2 -5
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +4 -5
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +9 -11
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +12 -18
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +3 -4
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +5 -7
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +1 -8
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +11 -12
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +5 -7
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +7 -7
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +2 -4
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +5 -9
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +3 -5
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +2 -4
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +7 -8
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +3 -4
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +10 -15
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +3 -5
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +21 -13
- package/.output/server/node_modules/@iconify/utils/lib/index.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +3 -3
- package/.output/server/node_modules/@iconify/utils/lib/loader/hmr-utils.js +33 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +22 -22
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +7 -22
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +60 -16
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +9 -11
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +3 -5
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +5 -4
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +2 -3
- package/.output/server/node_modules/@iconify/utils/package.json +15 -13
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +8 -1
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +34 -13
- package/.output/server/node_modules/@vue/server-renderer/package.json +4 -6
- package/.output/server/node_modules/devalue/index.js +15 -2
- package/.output/server/node_modules/devalue/package.json +5 -3
- package/.output/server/node_modules/devalue/src/base64.js +46 -96
- package/.output/server/node_modules/devalue/src/constants.js +5 -0
- package/.output/server/node_modules/devalue/src/operations.js +221 -0
- package/.output/server/node_modules/devalue/src/parse.js +76 -62
- package/.output/server/node_modules/devalue/src/stringify.js +164 -81
- package/.output/server/node_modules/devalue/src/uneval.js +312 -104
- package/.output/server/node_modules/devalue/src/utils.js +61 -19
- package/.output/server/node_modules/esbuild/lib/main.js +12 -8
- package/.output/server/node_modules/esbuild/package.json +50 -50
- package/.output/server/node_modules/hookable/dist/index.mjs +2 -11
- package/.output/server/node_modules/hookable/package.json +23 -22
- package/.output/server/node_modules/ip-address/dist/ipv4.js +7 -0
- package/.output/server/node_modules/ip-address/package.json +1 -1
- package/.output/server/node_modules/zod/package.json +20 -8
- package/.output/server/node_modules/zod/v4/classic/checks.js +1 -1
- package/.output/server/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/.output/server/node_modules/zod/v4/classic/errors.js +44 -35
- package/.output/server/node_modules/zod/v4/classic/external.js +5 -8
- package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +375 -78
- package/.output/server/node_modules/zod/v4/classic/in-out.js +36 -0
- package/.output/server/node_modules/zod/v4/classic/index.js +2 -2
- package/.output/server/node_modules/zod/v4/classic/iso.js +2 -17
- package/.output/server/node_modules/zod/v4/classic/package.json +2 -1
- package/.output/server/node_modules/zod/v4/classic/parse.js +1 -0
- package/.output/server/node_modules/zod/v4/classic/schemas.js +601 -223
- package/.output/server/node_modules/zod/v4/core/api.js +51 -26
- package/.output/server/node_modules/zod/v4/core/checks.js +68 -127
- package/.output/server/node_modules/zod/v4/core/compile.js +1858 -0
- package/.output/server/node_modules/zod/v4/core/core.js +87 -22
- package/.output/server/node_modules/zod/v4/core/doc.js +12 -9
- package/.output/server/node_modules/zod/v4/core/errors.js +127 -42
- package/.output/server/node_modules/zod/v4/core/index.js +3 -0
- package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +6 -2
- package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +413 -175
- package/.output/server/node_modules/zod/v4/core/memoizer.js +311 -0
- package/.output/server/node_modules/zod/v4/core/package.json +2 -1
- package/.output/server/node_modules/zod/v4/core/parse.js +130 -48
- package/.output/server/node_modules/zod/v4/core/regexes.js +39 -16
- package/.output/server/node_modules/zod/v4/core/registries.js +2 -2
- package/.output/server/node_modules/zod/v4/core/schemas.js +895 -382
- package/.output/server/node_modules/zod/v4/core/to-json-schema.js +253 -39
- package/.output/server/node_modules/zod/v4/core/util.js +383 -175
- package/.output/server/node_modules/zod/v4/core/versions.js +2 -2
- package/.output/server/node_modules/zod/v4/core/visit.js +169 -0
- package/.output/server/node_modules/zod/v4/index.js +3 -2
- package/.output/server/node_modules/zod/v4/locales/ar.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/az.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/be.js +12 -0
- package/.output/server/node_modules/zod/v4/locales/bg.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/bn.js +113 -0
- package/.output/server/node_modules/zod/v4/locales/ca.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ckb.js +133 -0
- package/.output/server/node_modules/zod/v4/locales/cs.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/da.js +7 -2
- package/.output/server/node_modules/zod/v4/locales/de.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/el.js +112 -0
- package/.output/server/node_modules/zod/v4/locales/en.js +20 -4
- package/.output/server/node_modules/zod/v4/locales/eo.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/es.js +4 -0
- package/.output/server/node_modules/zod/v4/locales/fa.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/fi.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/fr-CA.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/fr.js +38 -17
- package/.output/server/node_modules/zod/v4/locales/gu.js +113 -0
- package/.output/server/node_modules/zod/v4/locales/he.js +7 -0
- package/.output/server/node_modules/zod/v4/locales/hi.js +111 -0
- package/.output/server/node_modules/zod/v4/locales/hr.js +126 -0
- package/.output/server/node_modules/zod/v4/locales/hu.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/hy.js +11 -0
- package/.output/server/node_modules/zod/v4/locales/id.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/index.js +14 -0
- package/.output/server/node_modules/zod/v4/locales/is.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/it.js +6 -1
- package/.output/server/node_modules/zod/v4/locales/ja.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ka.js +13 -8
- package/.output/server/node_modules/zod/v4/locales/km.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/kn.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/ko.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/lt.js +4 -0
- package/.output/server/node_modules/zod/v4/locales/mk.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ms.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ne.js +111 -0
- package/.output/server/node_modules/zod/v4/locales/nl.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/nn.js +113 -0
- package/.output/server/node_modules/zod/v4/locales/no.js +7 -2
- package/.output/server/node_modules/zod/v4/locales/ota.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/package.json +2 -1
- package/.output/server/node_modules/zod/v4/locales/pl.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ps.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/.output/server/node_modules/zod/v4/locales/pt.js +89 -55
- package/.output/server/node_modules/zod/v4/locales/ro.js +122 -0
- package/.output/server/node_modules/zod/v4/locales/ru.js +12 -0
- package/.output/server/node_modules/zod/v4/locales/sk.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/sl.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/sv.js +7 -2
- package/.output/server/node_modules/zod/v4/locales/ta.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/tg.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/th.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/tk.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/tr.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/uk.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ur.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/uz.js +4 -0
- package/.output/server/node_modules/zod/v4/locales/vi.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/yo.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/zh-CN.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/zh-TW.js +5 -0
- package/.output/server/node_modules/zod/v4/package.json +2 -1
- package/.output/server/package.json +18 -18
- package/README.md +12 -1
- package/package.json +10 -9
- package/server/api/editor-types.get.ts +2 -23
- package/server/api/studio/run.post.ts +18 -6
- package/server/utils/editor-types.json +1 -0
- package/.output/public/_nuxt/B9paGgN0.js +0 -33
- package/.output/public/_nuxt/builds/meta/51f1351c-0667-4235-9ddc-16582a51ce03.json +0 -1
- package/.output/public/_nuxt/entry.B-vs1tRH.css +0 -1
- package/.output/public/_nuxt/error-404.CTSXlFYa.css +0 -1
- package/.output/public/_nuxt/error-500.DqEfQnVZ.css +0 -1
- package/.output/server/chunks/build/error-404-KRkA0DPI.mjs.map +0 -1
- package/.output/server/chunks/build/error-404-styles.I0NYw-Bn.mjs +0 -8
- package/.output/server/chunks/build/error-404-styles.I0NYw-Bn.mjs.map +0 -1
- package/.output/server/chunks/build/error-500-DIIFf55p.mjs.map +0 -1
- package/.output/server/chunks/build/error-500-styles.D1cs9hQy.mjs +0 -8
- package/.output/server/chunks/build/error-500-styles.D1cs9hQy.mjs.map +0 -1
- package/.output/server/chunks/build/index-CB1N4gax.mjs.map +0 -1
- /package/.output/server/node_modules/{@vue/compiler-core → .nitro/@vue/compiler-core@3.5.32}/dist/compiler-core.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/compiler-core → .nitro/@vue/compiler-core@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/compiler-dom → .nitro/@vue/compiler-dom@3.5.32}/dist/compiler-dom.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/compiler-dom → .nitro/@vue/compiler-dom@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/reactivity → .nitro/@vue/reactivity@3.5.32}/dist/reactivity.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/reactivity → .nitro/@vue/reactivity@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/runtime-core → .nitro/@vue/runtime-core@3.5.32}/dist/runtime-core.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/runtime-core → .nitro/@vue/runtime-core@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/runtime-dom → .nitro/@vue/runtime-dom@3.5.32}/dist/runtime-dom.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/runtime-dom → .nitro/@vue/runtime-dom@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/shared → .nitro/@vue/shared@3.5.32}/dist/shared.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/shared → .nitro/@vue/shared@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/array-set.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/base64-vlq.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/base64.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/binary-search.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/mapping-list.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/quick-sort.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/source-map-consumer.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/source-map-generator.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/source-node.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/util.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/package.json +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/source-map.js +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/dist/vue.cjs.js +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/dist/vue.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/index.js +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/index.mjs +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.43}/server-renderer/index.mjs +0 -0
|
@@ -1,23 +1,68 @@
|
|
|
1
1
|
import { calculateSize } from "../svg/size.js";
|
|
2
2
|
import { isUnsetKeyword } from "../svg/build.js";
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
3
|
+
const svgWidthRegex = /\swidth\s*=\s*["']([^"']+)["']/;
|
|
4
|
+
const svgHeightRegex = /\sheight\s*=\s*["']([^"']+)["']/;
|
|
5
|
+
const svgViewBoxRegex = /\sviewBox\s*=\s*["']([^"']+)["']/;
|
|
6
6
|
const svgTagRegex = /<svg\s+/;
|
|
7
|
+
const loaderDefaultWidthProp = "__iconify_loader_width";
|
|
8
|
+
const loaderDefaultHeightProp = "__iconify_loader_height";
|
|
9
|
+
function stringifySize(value) {
|
|
10
|
+
return value === void 0 ? void 0 : value.toString();
|
|
11
|
+
}
|
|
12
|
+
function getConfiguredSize(source, scale) {
|
|
13
|
+
if (typeof scale === "number") return scale > 0 ? stringifySize(calculateSize(source ?? "1em", scale)) : void 0;
|
|
14
|
+
return source;
|
|
15
|
+
}
|
|
16
|
+
function getSvgAspectRatio(svgNode, props) {
|
|
17
|
+
const viewBox = props.viewBox ?? svgViewBoxRegex.exec(svgNode)?.[1];
|
|
18
|
+
if (!viewBox) return;
|
|
19
|
+
const values = viewBox.trim().split(/[\s,]+/).map((value) => parseFloat(value));
|
|
20
|
+
if (values.length !== 4 || values.some((value) => !Number.isFinite(value))) return;
|
|
21
|
+
const width = values[2];
|
|
22
|
+
const height = values[3];
|
|
23
|
+
if (width <= 0 || height <= 0) return;
|
|
24
|
+
return width / height;
|
|
25
|
+
}
|
|
7
26
|
function configureSvgSize(svg, props, scale) {
|
|
8
27
|
const svgNode = svg.slice(0, svg.indexOf(">"));
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
28
|
+
const widthOnSvg = svgWidthRegex.test(svgNode);
|
|
29
|
+
const heightOnSvg = svgHeightRegex.test(svgNode);
|
|
30
|
+
const defaultWidth = props["__iconify_loader_width"] ?? svgWidthRegex.exec(svgNode)?.[1];
|
|
31
|
+
const defaultHeight = props["__iconify_loader_height"] ?? svgHeightRegex.exec(svgNode)?.[1];
|
|
32
|
+
const aspectRatio = getSvgAspectRatio(svgNode, props);
|
|
33
|
+
delete props[loaderDefaultWidthProp];
|
|
34
|
+
delete props[loaderDefaultHeightProp];
|
|
35
|
+
const customWidth = props.width;
|
|
36
|
+
const customHeight = props.height;
|
|
37
|
+
const hasCustomWidth = !!customWidth || isUnsetKeyword(customWidth);
|
|
38
|
+
const hasCustomHeight = !!customHeight || isUnsetKeyword(customHeight);
|
|
39
|
+
if (hasCustomWidth || hasCustomHeight) {
|
|
40
|
+
if (!hasCustomWidth) {
|
|
41
|
+
if (isUnsetKeyword(customHeight)) {
|
|
42
|
+
delete props.width;
|
|
43
|
+
delete props.height;
|
|
44
|
+
} else if (aspectRatio) {
|
|
45
|
+
props.width = stringifySize(calculateSize(customHeight, aspectRatio));
|
|
46
|
+
props.height = customHeight;
|
|
47
|
+
} else delete props.width;
|
|
48
|
+
} else if (isUnsetKeyword(customWidth)) {
|
|
49
|
+
delete props.width;
|
|
50
|
+
if (!hasCustomHeight || isUnsetKeyword(customHeight)) delete props.height;
|
|
17
51
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
52
|
+
if (!hasCustomHeight) {
|
|
53
|
+
if (isUnsetKeyword(customWidth)) delete props.height;
|
|
54
|
+
else if (aspectRatio) {
|
|
55
|
+
props.height = stringifySize(calculateSize(customWidth, 1 / aspectRatio));
|
|
56
|
+
props.width = customWidth;
|
|
57
|
+
} else delete props.height;
|
|
58
|
+
} else if (isUnsetKeyword(customHeight)) delete props.height;
|
|
59
|
+
} else {
|
|
60
|
+
const width = getConfiguredSize(defaultWidth, scale);
|
|
61
|
+
const height = getConfiguredSize(defaultHeight, scale);
|
|
62
|
+
if (width) props.width = width;
|
|
63
|
+
if (height) props.height = height;
|
|
64
|
+
}
|
|
65
|
+
return [widthOnSvg, heightOnSvg];
|
|
21
66
|
}
|
|
22
67
|
async function mergeIconProps(svg, collection, icon, options, propsProvider, afterCustomizations) {
|
|
23
68
|
const { scale, addXmlNs = false } = options ?? {};
|
|
@@ -59,5 +104,4 @@ function getPossibleIconNames(icon) {
|
|
|
59
104
|
icon.replace(/([a-z])(\d+)/g, "$1-$2")
|
|
60
105
|
];
|
|
61
106
|
}
|
|
62
|
-
|
|
63
|
-
export { getPossibleIconNames, mergeIconProps };
|
|
107
|
+
export { getPossibleIconNames, loaderDefaultHeightProp, loaderDefaultWidthProp, mergeIconProps };
|
|
@@ -23,5 +23,4 @@ function commonObjectProps(item, reference) {
|
|
|
23
23
|
for (const key in reference) if (key in item) result[key] = item[key];
|
|
24
24
|
return result;
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
export { commonObjectProps, compareObjects, unmergeObjects };
|
|
26
|
+
export { commonObjectProps, compareObjects, unmergeObjects };
|
|
@@ -2,7 +2,6 @@ import { defaultIconProps } from "../icon/defaults.js";
|
|
|
2
2
|
import { defaultIconCustomisations } from "../customisations/defaults.js";
|
|
3
3
|
import { calculateSize } from "./size.js";
|
|
4
4
|
import { wrapSVGContent } from "./defs.js";
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Check if value should be unset. Allows multiple keywords
|
|
8
7
|
*/
|
|
@@ -38,13 +37,14 @@ function iconToSVG(icon, customisations) {
|
|
|
38
37
|
const hFlip = props.hFlip;
|
|
39
38
|
const vFlip = props.vFlip;
|
|
40
39
|
let rotation = props.rotate;
|
|
41
|
-
if (hFlip)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
if (hFlip) {
|
|
41
|
+
if (vFlip) rotation += 2;
|
|
42
|
+
else {
|
|
43
|
+
transformations.push("translate(" + (box.width + box.left).toString() + " " + (0 - box.top).toString() + ")");
|
|
44
|
+
transformations.push("scale(-1 1)");
|
|
45
|
+
box.top = box.left = 0;
|
|
46
|
+
}
|
|
47
|
+
} else if (vFlip) {
|
|
48
48
|
transformations.push("translate(" + (0 - box.left).toString() + " " + (box.height + box.top).toString() + ")");
|
|
49
49
|
transformations.push("scale(1 -1)");
|
|
50
50
|
box.top = box.left = 0;
|
|
@@ -63,7 +63,6 @@ function iconToSVG(icon, customisations) {
|
|
|
63
63
|
case 3:
|
|
64
64
|
tempValue = box.width / 2 + box.left;
|
|
65
65
|
transformations.unshift("rotate(-90 " + tempValue.toString() + " " + tempValue.toString() + ")");
|
|
66
|
-
break;
|
|
67
66
|
}
|
|
68
67
|
if (rotation % 2 === 1) {
|
|
69
68
|
if (box.left !== box.top) {
|
|
@@ -111,5 +110,4 @@ function iconToSVG(icon, customisations) {
|
|
|
111
110
|
body
|
|
112
111
|
};
|
|
113
112
|
}
|
|
114
|
-
|
|
115
|
-
export { iconToSVG, isUnsetKeyword };
|
|
113
|
+
export { iconToSVG, isUnsetKeyword };
|
|
@@ -28,5 +28,4 @@ function wrapSVGContent(body, start, end) {
|
|
|
28
28
|
const split = splitSVGDefs(body);
|
|
29
29
|
return mergeDefsAndContent(split.defs, start + split.content + end);
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
export { mergeDefsAndContent, splitSVGDefs, wrapSVGContent };
|
|
31
|
+
export { mergeDefsAndContent, splitSVGDefs, wrapSVGContent };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { encodeSVGforURL } from "./url.js";
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* Encode the `SVG` to be used on `CSS`: https://bl.ocks.org/jennyknuth/222825e315d45a738ed9d6e04c7a88d0.
|
|
5
4
|
*
|
|
@@ -11,5 +10,4 @@ function encodeSvgForCss(svg) {
|
|
|
11
10
|
if (!useSvg.includes(" xmlns=")) useSvg = useSvg.replace("<svg ", "<svg xmlns=\"http://www.w3.org/2000/svg\" ");
|
|
12
11
|
return encodeSVGforURL(useSvg);
|
|
13
12
|
}
|
|
14
|
-
|
|
15
|
-
export { encodeSvgForCss };
|
|
13
|
+
export { encodeSvgForCss };
|
|
@@ -6,5 +6,4 @@ function iconToHTML(body, attributes) {
|
|
|
6
6
|
for (const attr in attributes) renderAttribsHTML += " " + attr + "=\"" + attributes[attr] + "\"";
|
|
7
7
|
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + renderAttribsHTML + ">" + body + "</svg>";
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
export { iconToHTML };
|
|
9
|
+
export { iconToHTML };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { wrapSVGContent } from "./defs.js";
|
|
2
2
|
import { getSVGViewBox } from "./viewbox.js";
|
|
3
|
-
|
|
4
3
|
/**
|
|
5
4
|
* Extract attributes and content from SVG
|
|
6
5
|
*/
|
|
@@ -11,8 +10,8 @@ function parseSVGContent(content) {
|
|
|
11
10
|
const attribsList = match[1].match(/[\w:-]+="[^"]*"/g);
|
|
12
11
|
const attribs = Object.create(null);
|
|
13
12
|
attribsList?.forEach((row) => {
|
|
14
|
-
const match
|
|
15
|
-
if (match
|
|
13
|
+
const match = row.match(/([\w:-]+)="([^"]*)"/);
|
|
14
|
+
if (match) attribs[match[1]] = match[2];
|
|
16
15
|
});
|
|
17
16
|
return {
|
|
18
17
|
attribs,
|
|
@@ -65,5 +64,4 @@ function convertParsedSVG(data) {
|
|
|
65
64
|
};
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
|
-
|
|
69
|
-
export { buildParsedSVG, convertParsedSVG, parseSVGContent };
|
|
67
|
+
export { buildParsedSVG, convertParsedSVG, parseSVGContent };
|
|
@@ -16,8 +16,10 @@ function prettifySVG(content, tab = " ", depth = 0) {
|
|
|
16
16
|
if (openIndex === -1 || closeIndex === -1 || closeIndex < openIndex) return null;
|
|
17
17
|
const text = content.slice(0, openIndex);
|
|
18
18
|
const trimmedText = text.trim();
|
|
19
|
-
if (trimmedText.length)
|
|
20
|
-
|
|
19
|
+
if (trimmedText.length) {
|
|
20
|
+
if (text.trimStart() !== text && text.trimEnd() !== text) result += trimmedText + "\n" + tab.repeat(level + depth);
|
|
21
|
+
else result = result.trim() + text;
|
|
22
|
+
}
|
|
21
23
|
content = content.slice(openIndex);
|
|
22
24
|
closeIndex -= openIndex;
|
|
23
25
|
const lastChar = content.slice(closeIndex - 1, closeIndex);
|
|
@@ -51,5 +53,4 @@ function prettifySVG(content, tab = " ", depth = 0) {
|
|
|
51
53
|
}
|
|
52
54
|
return level === 0 ? result : null;
|
|
53
55
|
}
|
|
54
|
-
|
|
55
|
-
export { prettifySVG };
|
|
56
|
+
export { prettifySVG };
|
|
@@ -4,5 +4,4 @@
|
|
|
4
4
|
function trimSVG(str) {
|
|
5
5
|
return str.replace(/(['"])\s*\n\s*([^>\\/\s])/g, "$1 $2").replace(/(["';{}><])\s*\n\s*/g, "$1").replace(/\s*\n\s*/g, " ").replace(/\s+"/g, "\"").replace(/="\s+/g, "=\"").replace(/(\s)+\/>/g, "/>").trim();
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
export { trimSVG };
|
|
7
|
+
export { trimSVG };
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
function getSVGViewBox(value) {
|
|
5
5
|
const result = value.trim().split(/\s+/).map(Number);
|
|
6
|
-
if (result.length === 4 && result.reduce((prev, value
|
|
6
|
+
if (result.length === 4 && result.reduce((prev, value) => prev && !isNaN(value), true)) return result;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
export { getSVGViewBox };
|
|
8
|
+
export { getSVGViewBox };
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iconify/utils",
|
|
3
|
-
"
|
|
3
|
+
"version": "3.1.7",
|
|
4
4
|
"description": "Common functions for working with Iconify icon sets used by various packages.",
|
|
5
|
-
"author": "Vjacheslav Trushkin",
|
|
6
|
-
"version": "3.1.0",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"bugs": "https://github.com/iconify/iconify/issues",
|
|
9
5
|
"homepage": "https://iconify.design/docs/libraries/utils/",
|
|
6
|
+
"bugs": "https://github.com/iconify/iconify/issues",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"author": "Vjacheslav Trushkin",
|
|
10
9
|
"repository": {
|
|
11
10
|
"type": "git",
|
|
12
11
|
"url": "https://github.com/iconify/iconify.git",
|
|
13
12
|
"directory": "packages/utils"
|
|
14
13
|
},
|
|
14
|
+
"files": [
|
|
15
|
+
"lib",
|
|
16
|
+
"*.d.ts"
|
|
17
|
+
],
|
|
18
|
+
"type": "module",
|
|
15
19
|
"sideEffects": false,
|
|
16
20
|
"main": "lib/index.js",
|
|
17
21
|
"module": "lib/index.js",
|
|
@@ -70,6 +74,7 @@
|
|
|
70
74
|
"./lib/loader/custom": "./lib/loader/custom.js",
|
|
71
75
|
"./lib/loader/external-pkg": "./lib/loader/external-pkg.js",
|
|
72
76
|
"./lib/loader/fs": "./lib/loader/fs.js",
|
|
77
|
+
"./lib/loader/hmr-utils": "./lib/loader/hmr-utils.js",
|
|
73
78
|
"./lib/loader/install-pkg": "./lib/loader/install-pkg.js",
|
|
74
79
|
"./lib/loader/loader": "./lib/loader/loader.js",
|
|
75
80
|
"./lib/loader/modern": "./lib/loader/modern.js",
|
|
@@ -96,21 +101,18 @@
|
|
|
96
101
|
"./lib/svg/viewbox": "./lib/svg/viewbox.js",
|
|
97
102
|
"./*": "./*"
|
|
98
103
|
},
|
|
99
|
-
"files": [
|
|
100
|
-
"lib",
|
|
101
|
-
"*.d.ts"
|
|
102
|
-
],
|
|
103
104
|
"dependencies": {
|
|
104
|
-
"@antfu/install-pkg": "^
|
|
105
|
-
"
|
|
106
|
-
"
|
|
105
|
+
"@antfu/install-pkg": "^2.0.1",
|
|
106
|
+
"@iconify/types": "^2.0.0",
|
|
107
|
+
"import-meta-resolve": "^4.2.0"
|
|
107
108
|
},
|
|
108
109
|
"devDependencies": {
|
|
109
110
|
"@iconify-json/fa6-regular": "^1.2.4",
|
|
110
111
|
"@iconify-json/flat-color-icons": "^1.2.3"
|
|
111
112
|
},
|
|
112
113
|
"scripts": {
|
|
113
|
-
"lint": "
|
|
114
|
+
"lint": "npx oxlint --fix src/",
|
|
115
|
+
"fmt": "npx oxfmt src/ --write",
|
|
114
116
|
"prebuild": "pnpm run lint",
|
|
115
117
|
"build": "tsdown",
|
|
116
118
|
"test": "node ./scripts/prepare-tests.mjs && vitest"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-ssr v3.5.
|
|
2
|
+
* @vue/compiler-ssr v3.5.43
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -476,6 +476,13 @@ const ssrTransformElement = (node, context) => {
|
|
|
476
476
|
false
|
|
477
477
|
)
|
|
478
478
|
);
|
|
479
|
+
} else if (attrName === "hidden") {
|
|
480
|
+
openTag.push(
|
|
481
|
+
compilerDom.createCallExpression(
|
|
482
|
+
context.helper(SSR_RENDER_DYNAMIC_ATTR),
|
|
483
|
+
[key, value]
|
|
484
|
+
)
|
|
485
|
+
);
|
|
479
486
|
} else if (shared.isSSRSafeAttrName(attrName)) {
|
|
480
487
|
openTag.push(
|
|
481
488
|
compilerDom.createCallExpression(context.helper(SSR_RENDER_ATTR), [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-ssr",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.43",
|
|
4
4
|
"description": "@vue/compiler-ssr",
|
|
5
5
|
"main": "dist/compiler-ssr.cjs.js",
|
|
6
6
|
"types": "dist/compiler-ssr.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-ssr#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@vue/shared": "3.5.
|
|
32
|
-
"@vue/compiler-dom": "3.5.
|
|
31
|
+
"@vue/shared": "3.5.43",
|
|
32
|
+
"@vue/compiler-dom": "3.5.43"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/server-renderer v3.5.
|
|
2
|
+
* @vue/server-renderer v3.5.43
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
var Vue = require('vue');
|
|
10
|
+
var Vue = require('@vue/runtime-dom');
|
|
11
11
|
var shared = require('@vue/shared');
|
|
12
12
|
var compilerSsr = require('@vue/compiler-ssr');
|
|
13
13
|
|
|
@@ -55,7 +55,7 @@ function ssrRenderDynamicAttr(key, value, tag) {
|
|
|
55
55
|
return ``;
|
|
56
56
|
}
|
|
57
57
|
const attrKey = tag && (tag.indexOf("-") > 0 || shared.isSVGTag(tag)) ? key : shared.propsToAttrMap[key] || key.toLowerCase();
|
|
58
|
-
if (shared.isBooleanAttr(attrKey)) {
|
|
58
|
+
if (shared.isBooleanAttr(attrKey) || attrKey === "hidden" && (typeof value === "boolean" || typeof value === "number")) {
|
|
59
59
|
return shared.includeBooleanAttr(value) ? ` ${attrKey}` : ``;
|
|
60
60
|
} else if (shared.isSSRSafeAttrName(attrKey)) {
|
|
61
61
|
return value === "" ? ` ${attrKey}` : ` ${attrKey}="${shared.escapeHtml(value)}"`;
|
|
@@ -130,7 +130,9 @@ function ssrRenderSlotInner(slots, slotName, slotProps, fallbackRenderFn, push,
|
|
|
130
130
|
slotBuffer.push(item);
|
|
131
131
|
};
|
|
132
132
|
const ret = slotFn(
|
|
133
|
-
|
|
133
|
+
// keep the slot function's contract in sync with `renderSlot`, which also
|
|
134
|
+
// normalizes nullish props before invoking the slot
|
|
135
|
+
slotProps || {},
|
|
134
136
|
bufferedPush,
|
|
135
137
|
parentComponent,
|
|
136
138
|
slotScopeId ? " " + slotScopeId : ""
|
|
@@ -213,6 +215,9 @@ function ssrRenderTeleport(parentPush, contentRenderFn, target, disabled, parent
|
|
|
213
215
|
teleportContent = getBuffer();
|
|
214
216
|
}
|
|
215
217
|
targetBuffer.splice(bufferIndex, 0, teleportContent);
|
|
218
|
+
if (shared.isPromise(teleportContent) || shared.isArray(teleportContent) && teleportContent.hasAsync) {
|
|
219
|
+
targetBuffer.hasAsync = true;
|
|
220
|
+
}
|
|
216
221
|
parentPush("<!--teleport end-->");
|
|
217
222
|
}
|
|
218
223
|
|
|
@@ -231,9 +236,9 @@ function ssrRenderList(source, renderItem) {
|
|
|
231
236
|
}
|
|
232
237
|
} else if (shared.isObject(source)) {
|
|
233
238
|
if (source[Symbol.iterator]) {
|
|
234
|
-
|
|
235
|
-
for (
|
|
236
|
-
renderItem(
|
|
239
|
+
let i = 0;
|
|
240
|
+
for (const item of source) {
|
|
241
|
+
renderItem(item, i++);
|
|
237
242
|
}
|
|
238
243
|
} else {
|
|
239
244
|
const keys = Object.keys(source);
|
|
@@ -245,7 +250,7 @@ function ssrRenderList(source, renderItem) {
|
|
|
245
250
|
}
|
|
246
251
|
}
|
|
247
252
|
|
|
248
|
-
|
|
253
|
+
function ssrRenderSuspense(push, { default: renderContent }) {
|
|
249
254
|
if (renderContent) {
|
|
250
255
|
renderContent();
|
|
251
256
|
} else {
|
|
@@ -417,7 +422,11 @@ function renderComponentVNode(vnode, parentComponent = null, slotScopeId) {
|
|
|
417
422
|
}).catch(shared.NOOP);
|
|
418
423
|
return p.then(() => renderComponentSubTree(instance, slotScopeId));
|
|
419
424
|
} else {
|
|
420
|
-
|
|
425
|
+
try {
|
|
426
|
+
return renderComponentSubTree(instance, slotScopeId);
|
|
427
|
+
} catch (err) {
|
|
428
|
+
return Promise.reject(err);
|
|
429
|
+
}
|
|
421
430
|
}
|
|
422
431
|
}
|
|
423
432
|
function renderComponentSubTree(instance, slotScopeId) {
|
|
@@ -478,6 +487,8 @@ function renderComponentSubTree(instance, slotScopeId) {
|
|
|
478
487
|
instance.data,
|
|
479
488
|
instance.ctx
|
|
480
489
|
);
|
|
490
|
+
} catch (err) {
|
|
491
|
+
Vue.handleError(err, instance, 1);
|
|
481
492
|
} finally {
|
|
482
493
|
setCurrentRenderingInstance(prev);
|
|
483
494
|
}
|
|
@@ -556,20 +567,30 @@ function renderElementVNode(push, vnode, parentComponent, slotScopeId) {
|
|
|
556
567
|
if (props) {
|
|
557
568
|
openTag += ssrRenderAttrs(props, tag);
|
|
558
569
|
}
|
|
570
|
+
const renderedScopeIds = [];
|
|
571
|
+
const appendScopeId = (id) => {
|
|
572
|
+
if (id && (!props || !shared.hasOwn(props, id)) && !renderedScopeIds.includes(id)) {
|
|
573
|
+
openTag += ` ${id}`;
|
|
574
|
+
renderedScopeIds.push(id);
|
|
575
|
+
}
|
|
576
|
+
};
|
|
559
577
|
if (scopeId) {
|
|
560
|
-
|
|
578
|
+
appendScopeId(scopeId);
|
|
561
579
|
}
|
|
562
580
|
let curParent = parentComponent;
|
|
563
581
|
let curVnode = vnode;
|
|
564
582
|
while (curParent && curVnode === curParent.subTree) {
|
|
565
583
|
curVnode = curParent.vnode;
|
|
566
584
|
if (curVnode.scopeId) {
|
|
567
|
-
|
|
585
|
+
appendScopeId(curVnode.scopeId);
|
|
568
586
|
}
|
|
569
587
|
curParent = curParent.parent;
|
|
570
588
|
}
|
|
571
589
|
if (slotScopeId) {
|
|
572
|
-
|
|
590
|
+
const slotScopeIdList = slotScopeId.trim().split(" ");
|
|
591
|
+
for (let i = 0; i < slotScopeIdList.length; i++) {
|
|
592
|
+
appendScopeId(slotScopeIdList[i]);
|
|
593
|
+
}
|
|
573
594
|
}
|
|
574
595
|
push(openTag + `>`);
|
|
575
596
|
if (!shared.isVoidTag(tag)) {
|
|
@@ -712,7 +733,7 @@ async function resolveTeleports(context) {
|
|
|
712
733
|
context.teleports = context.teleports || {};
|
|
713
734
|
for (const key in context.__teleportBuffers) {
|
|
714
735
|
context.teleports[key] = await unrollBuffer$1(
|
|
715
|
-
|
|
736
|
+
context.__teleportBuffers[key]
|
|
716
737
|
);
|
|
717
738
|
}
|
|
718
739
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/server-renderer",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.43",
|
|
4
4
|
"description": "@vue/server-renderer",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/server-renderer.esm-bundler.js",
|
|
@@ -45,11 +45,9 @@
|
|
|
45
45
|
"url": "https://github.com/vuejs/core/issues"
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme",
|
|
48
|
-
"peerDependencies": {
|
|
49
|
-
"vue": "3.5.32"
|
|
50
|
-
},
|
|
51
48
|
"dependencies": {
|
|
52
|
-
"@vue/
|
|
53
|
-
"@vue/
|
|
49
|
+
"@vue/shared": "3.5.43",
|
|
50
|
+
"@vue/compiler-ssr": "3.5.43",
|
|
51
|
+
"@vue/runtime-dom": "3.5.43"
|
|
54
52
|
}
|
|
55
53
|
}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
export { uneval } from './src/uneval.js';
|
|
2
2
|
export { parse, unflatten } from './src/parse.js';
|
|
3
|
-
export { stringify } from './src/stringify.js';
|
|
4
|
-
export {
|
|
3
|
+
export { stringify, stringifyAsync } from './src/stringify.js';
|
|
4
|
+
export {
|
|
5
|
+
default_stringify_operations as defaultStringifyOperations,
|
|
6
|
+
default_parse_operations as defaultParseOperations
|
|
7
|
+
} from './src/operations.js';
|
|
8
|
+
export { DevalueError, filter_array_indices as filterArrayIndices } from './src/utils.js';
|
|
9
|
+
|
|
10
|
+
/** @typedef {import('./src/types.js').StringValueTag} StringValueTag */
|
|
11
|
+
/** @typedef {import('./src/types.js').ViewTag} ViewTag */
|
|
12
|
+
/** @typedef {import('./src/types.js').StringifyOperations} StringifyOperations */
|
|
13
|
+
/** @typedef {import('./src/types.js').DefaultStringifyOperations} DefaultStringifyOperations */
|
|
14
|
+
/** @typedef {import('./src/types.js').StringifyOptions} StringifyOptions */
|
|
15
|
+
/** @typedef {import('./src/types.js').ParseOperations} ParseOperations */
|
|
16
|
+
/** @typedef {import('./src/types.js').DefaultParseOperations} DefaultParseOperations */
|
|
17
|
+
/** @typedef {import('./src/types.js').ParseOptions} ParseOptions */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devalue",
|
|
3
3
|
"description": "Gets the job done when JSON.stringify can't",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.9.4",
|
|
5
5
|
"repository": "sveltejs/devalue",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"exports": {
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@changesets/cli": "^2.29.6",
|
|
22
22
|
"@js-temporal/polyfill": "^0.5.1",
|
|
23
|
+
"@types/node": "^24.12.0",
|
|
23
24
|
"dts-buddy": "^0.6.2",
|
|
24
25
|
"publint": "^0.3.12",
|
|
25
26
|
"typescript": "^5.9.2",
|
|
@@ -27,11 +28,12 @@
|
|
|
27
28
|
},
|
|
28
29
|
"license": "MIT",
|
|
29
30
|
"type": "module",
|
|
30
|
-
"packageManager": "pnpm@8.15.9",
|
|
31
31
|
"scripts": {
|
|
32
32
|
"changeset:version": "changeset version",
|
|
33
33
|
"changeset:publish": "changeset publish",
|
|
34
34
|
"build": "dts-buddy",
|
|
35
|
-
"test": "uvu"
|
|
35
|
+
"test": "uvu",
|
|
36
|
+
"bench": "node --allow-natives-syntax ./benchmarking/run.js",
|
|
37
|
+
"bench:compare": "node --allow-natives-syntax ./benchmarking/compare/index.js"
|
|
36
38
|
}
|
|
37
39
|
}
|