@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,3 +1,5 @@
|
|
|
1
|
+
import { MAX_ARRAY_INDEX, MAX_ARRAY_LEN } from './constants.js';
|
|
2
|
+
|
|
1
3
|
/** @type {Record<string, string>} */
|
|
2
4
|
export const escaped = {
|
|
3
5
|
'<': '\\u003C',
|
|
@@ -29,12 +31,10 @@ export class DevalueError extends Error {
|
|
|
29
31
|
|
|
30
32
|
/** @param {any} thing */
|
|
31
33
|
export function is_primitive(thing) {
|
|
32
|
-
return
|
|
34
|
+
return thing === null || (typeof thing !== 'object' && typeof thing !== 'function');
|
|
33
35
|
}
|
|
34
36
|
|
|
35
|
-
const object_proto_names = /* @__PURE__ */ Object.getOwnPropertyNames(
|
|
36
|
-
Object.prototype
|
|
37
|
-
)
|
|
37
|
+
const object_proto_names = /* @__PURE__ */ Object.getOwnPropertyNames(Object.prototype)
|
|
38
38
|
.sort()
|
|
39
39
|
.join('\0');
|
|
40
40
|
|
|
@@ -55,6 +55,11 @@ export function get_type(thing) {
|
|
|
55
55
|
return Object.prototype.toString.call(thing).slice(8, -1);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
/** @param {any} thing */
|
|
59
|
+
export function is_buffer(thing) {
|
|
60
|
+
return typeof Buffer !== 'undefined' && Buffer.isBuffer(thing);
|
|
61
|
+
}
|
|
62
|
+
|
|
58
63
|
/** @param {string} char */
|
|
59
64
|
function get_escaped_char(char) {
|
|
60
65
|
switch (char) {
|
|
@@ -79,9 +84,7 @@ function get_escaped_char(char) {
|
|
|
79
84
|
case '\u2029':
|
|
80
85
|
return '\\u2029';
|
|
81
86
|
default:
|
|
82
|
-
return char < ' '
|
|
83
|
-
? `\\u${char.charCodeAt(0).toString(16).padStart(4, '0')}`
|
|
84
|
-
: '';
|
|
87
|
+
return char < ' ' ? `\\u${char.charCodeAt(0).toString(16).padStart(4, '0')}` : '';
|
|
85
88
|
}
|
|
86
89
|
}
|
|
87
90
|
|
|
@@ -117,32 +120,71 @@ export function stringify_key(key) {
|
|
|
117
120
|
return is_identifier.test(key) ? '.' + key : '[' + JSON.stringify(key) + ']';
|
|
118
121
|
}
|
|
119
122
|
|
|
123
|
+
/** @param {number} n */
|
|
124
|
+
export function is_valid_array_index(n) {
|
|
125
|
+
if (!Number.isInteger(n)) return false;
|
|
126
|
+
if (n < 0) return false;
|
|
127
|
+
if (n > MAX_ARRAY_INDEX) return false;
|
|
128
|
+
return true;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/** @param {number} n */
|
|
132
|
+
export function is_valid_array_len(n) {
|
|
133
|
+
if (!Number.isInteger(n)) return false;
|
|
134
|
+
if (n < 0) return false;
|
|
135
|
+
if (n > MAX_ARRAY_LEN) return false;
|
|
136
|
+
return true;
|
|
137
|
+
}
|
|
138
|
+
|
|
120
139
|
/** @param {string} s */
|
|
121
|
-
function
|
|
140
|
+
function is_valid_array_index_string(s) {
|
|
122
141
|
if (s.length === 0) return false;
|
|
123
142
|
if (s.length > 1 && s.charCodeAt(0) === 48) return false; // leading zero
|
|
124
143
|
for (let i = 0; i < s.length; i++) {
|
|
125
144
|
const c = s.charCodeAt(i);
|
|
126
145
|
if (c < 48 || c > 57) return false;
|
|
127
146
|
}
|
|
128
|
-
// by this point we know it's a string of digits, but it has to be within
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
if (n < 0) return false;
|
|
132
|
-
return true;
|
|
147
|
+
// by this point we know it's a string of digits, but it has to be within
|
|
148
|
+
// the range of valid array indices
|
|
149
|
+
return is_valid_array_index(+s);
|
|
133
150
|
}
|
|
134
151
|
|
|
135
152
|
/**
|
|
136
|
-
*
|
|
137
|
-
* @param {
|
|
153
|
+
* Returns the length of the leading run of valid array indices in `keys`.
|
|
154
|
+
* @param {readonly string[]} keys
|
|
138
155
|
*/
|
|
139
|
-
|
|
140
|
-
const keys = Object.keys(array);
|
|
156
|
+
function array_index_cut(keys) {
|
|
141
157
|
for (var i = keys.length - 1; i >= 0; i--) {
|
|
142
|
-
if (
|
|
158
|
+
if (is_valid_array_index_string(keys[i])) {
|
|
143
159
|
break;
|
|
144
160
|
}
|
|
145
161
|
}
|
|
146
|
-
|
|
162
|
+
return i + 1;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Finds the populated indices of an array.
|
|
167
|
+
* @param {unknown[]} array
|
|
168
|
+
*/
|
|
169
|
+
export function valid_array_indices(array) {
|
|
170
|
+
const keys = Object.keys(array);
|
|
171
|
+
keys.length = array_index_cut(keys);
|
|
147
172
|
return keys;
|
|
148
173
|
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Given the own enumerable string keys of an array-like value, in property
|
|
177
|
+
* order, returns the leading run of them that are valid array indices.
|
|
178
|
+
*
|
|
179
|
+
* This is the filtering half of the `indicesOf` stringify operation,
|
|
180
|
+
* exposed so that custom operations — which typically already have the keys
|
|
181
|
+
* in hand, e.g. from a foreign runtime — don't have to reimplement it.
|
|
182
|
+
*
|
|
183
|
+
* Does not modify `keys`.
|
|
184
|
+
*
|
|
185
|
+
* @param {readonly string[]} keys
|
|
186
|
+
* @returns {string[]}
|
|
187
|
+
*/
|
|
188
|
+
export function filter_array_indices(keys) {
|
|
189
|
+
return keys.slice(0, array_index_cut(keys));
|
|
190
|
+
}
|
|
@@ -572,10 +572,12 @@ function pushLogFlags(flags, options, keys, isTTY2, logLevelDefault) {
|
|
|
572
572
|
let color = getFlag(options, keys, "color", mustBeBoolean);
|
|
573
573
|
let logLevel = getFlag(options, keys, "logLevel", mustBeString);
|
|
574
574
|
let logLimit = getFlag(options, keys, "logLimit", mustBeInteger);
|
|
575
|
+
let logStyle = getFlag(options, keys, "logStyle", mustBeString);
|
|
575
576
|
if (color !== void 0) flags.push(`--color=${color}`);
|
|
576
577
|
else if (isTTY2) flags.push(`--color=true`);
|
|
577
578
|
flags.push(`--log-level=${logLevel || logLevelDefault}`);
|
|
578
579
|
flags.push(`--log-limit=${logLimit || 0}`);
|
|
580
|
+
if (logStyle) flags.push(`--log-style=${logStyle}`);
|
|
579
581
|
}
|
|
580
582
|
function validateStringValue(value, what, key) {
|
|
581
583
|
if (typeof value !== "string") {
|
|
@@ -924,8 +926,8 @@ function createChannel(streamIn) {
|
|
|
924
926
|
if (isFirstPacket) {
|
|
925
927
|
isFirstPacket = false;
|
|
926
928
|
let binaryVersion = String.fromCharCode(...bytes);
|
|
927
|
-
if (binaryVersion !== "0.28.
|
|
928
|
-
throw new Error(`Cannot start service: Host version "${"0.28.
|
|
929
|
+
if (binaryVersion !== "0.28.2") {
|
|
930
|
+
throw new Error(`Cannot start service: Host version "${"0.28.2"}" does not match binary version ${quote(binaryVersion)}`);
|
|
929
931
|
}
|
|
930
932
|
return;
|
|
931
933
|
}
|
|
@@ -1064,6 +1066,7 @@ function createChannel(streamIn) {
|
|
|
1064
1066
|
let kind = getFlag(options, keys, "kind", mustBeString);
|
|
1065
1067
|
let color = getFlag(options, keys, "color", mustBeBoolean);
|
|
1066
1068
|
let terminalWidth = getFlag(options, keys, "terminalWidth", mustBeInteger);
|
|
1069
|
+
let logStyle = getFlag(options, keys, "logStyle", mustBeString);
|
|
1067
1070
|
checkForInvalidFlags(options, keys, `in ${callName}() call`);
|
|
1068
1071
|
if (kind === void 0) throw new Error(`Missing "kind" in ${callName}() call`);
|
|
1069
1072
|
if (kind !== "error" && kind !== "warning") throw new Error(`Expected "kind" to be "error" or "warning" in ${callName}() call`);
|
|
@@ -1074,6 +1077,7 @@ function createChannel(streamIn) {
|
|
|
1074
1077
|
};
|
|
1075
1078
|
if (color !== void 0) request.color = color;
|
|
1076
1079
|
if (terminalWidth !== void 0) request.terminalWidth = terminalWidth;
|
|
1080
|
+
if (logStyle !== void 0) request.logStyle = logStyle;
|
|
1077
1081
|
sendRequest(refs, request, (error, response) => {
|
|
1078
1082
|
if (error) return callback(new Error(error), null);
|
|
1079
1083
|
callback(null, response.messages);
|
|
@@ -2060,7 +2064,7 @@ for your current platform.`);
|
|
|
2060
2064
|
"node_modules",
|
|
2061
2065
|
".cache",
|
|
2062
2066
|
"esbuild",
|
|
2063
|
-
`pnpapi-${pkg.replace("/", "-")}-${"0.28.
|
|
2067
|
+
`pnpapi-${pkg.replace("/", "-")}-${"0.28.2"}-${path.basename(subpath)}`
|
|
2064
2068
|
);
|
|
2065
2069
|
if (!fs.existsSync(binTargetPath)) {
|
|
2066
2070
|
fs.mkdirSync(path.dirname(binTargetPath), { recursive: true });
|
|
@@ -2095,7 +2099,7 @@ if (process.env.ESBUILD_WORKER_THREADS !== "0") {
|
|
|
2095
2099
|
}
|
|
2096
2100
|
}
|
|
2097
2101
|
var _a;
|
|
2098
|
-
var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.28.
|
|
2102
|
+
var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.28.2";
|
|
2099
2103
|
var esbuildCommandAndArgs = () => {
|
|
2100
2104
|
if ((!ESBUILD_BINARY_PATH || false) && (path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib")) {
|
|
2101
2105
|
throw new Error(
|
|
@@ -2162,7 +2166,7 @@ var fsAsync = {
|
|
|
2162
2166
|
}
|
|
2163
2167
|
}
|
|
2164
2168
|
};
|
|
2165
|
-
var version = "0.28.
|
|
2169
|
+
var version = "0.28.2";
|
|
2166
2170
|
var build = (options) => ensureServiceIsRunning().build(options);
|
|
2167
2171
|
var context = (buildOptions) => ensureServiceIsRunning().context(buildOptions);
|
|
2168
2172
|
var transform = (input, options) => ensureServiceIsRunning().transform(input, options);
|
|
@@ -2265,7 +2269,7 @@ var stopService;
|
|
|
2265
2269
|
var ensureServiceIsRunning = () => {
|
|
2266
2270
|
if (longLivedService) return longLivedService;
|
|
2267
2271
|
let [command, args] = esbuildCommandAndArgs();
|
|
2268
|
-
let child = child_process.spawn(command, args.concat(`--service=${"0.28.
|
|
2272
|
+
let child = child_process.spawn(command, args.concat(`--service=${"0.28.2"}`, "--ping"), {
|
|
2269
2273
|
windowsHide: true,
|
|
2270
2274
|
stdio: ["pipe", "pipe", "inherit"],
|
|
2271
2275
|
cwd: defaultWD
|
|
@@ -2369,7 +2373,7 @@ var runServiceSync = (callback) => {
|
|
|
2369
2373
|
esbuild: node_exports
|
|
2370
2374
|
});
|
|
2371
2375
|
callback(service);
|
|
2372
|
-
let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.28.
|
|
2376
|
+
let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.28.2"}`), {
|
|
2373
2377
|
cwd: defaultWD,
|
|
2374
2378
|
windowsHide: true,
|
|
2375
2379
|
input: stdin,
|
|
@@ -2389,7 +2393,7 @@ var workerThreadService = null;
|
|
|
2389
2393
|
var startWorkerThreadService = (worker_threads2) => {
|
|
2390
2394
|
let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel();
|
|
2391
2395
|
let worker = new worker_threads2.Worker(__filename, {
|
|
2392
|
-
workerData: { workerPort, defaultWD, esbuildVersion: "0.28.
|
|
2396
|
+
workerData: { workerPort, defaultWD, esbuildVersion: "0.28.2" },
|
|
2393
2397
|
transferList: [workerPort],
|
|
2394
2398
|
// From node's documentation: https://nodejs.org/api/worker_threads.html
|
|
2395
2399
|
//
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "esbuild",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.2",
|
|
4
4
|
"description": "An extremely fast JavaScript and CSS bundler and minifier.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,57 +18,57 @@
|
|
|
18
18
|
"esbuild": "bin/esbuild"
|
|
19
19
|
},
|
|
20
20
|
"optionalDependencies": {
|
|
21
|
-
"@esbuild/aix-ppc64": "0.28.
|
|
22
|
-
"@esbuild/android-arm": "0.28.
|
|
23
|
-
"@esbuild/android-arm64": "0.28.
|
|
24
|
-
"@esbuild/android-x64": "0.28.
|
|
25
|
-
"@esbuild/darwin-arm64": "0.28.
|
|
26
|
-
"@esbuild/darwin-x64": "0.28.
|
|
27
|
-
"@esbuild/freebsd-arm64": "0.28.
|
|
28
|
-
"@esbuild/freebsd-x64": "0.28.
|
|
29
|
-
"@esbuild/linux-arm": "0.28.
|
|
30
|
-
"@esbuild/linux-arm64": "0.28.
|
|
31
|
-
"@esbuild/linux-ia32": "0.28.
|
|
32
|
-
"@esbuild/linux-loong64": "0.28.
|
|
33
|
-
"@esbuild/linux-mips64el": "0.28.
|
|
34
|
-
"@esbuild/linux-ppc64": "0.28.
|
|
35
|
-
"@esbuild/linux-riscv64": "0.28.
|
|
36
|
-
"@esbuild/linux-s390x": "0.28.
|
|
37
|
-
"@esbuild/linux-x64": "0.28.
|
|
38
|
-
"@esbuild/netbsd-arm64": "0.28.
|
|
39
|
-
"@esbuild/netbsd-x64": "0.28.
|
|
40
|
-
"@esbuild/openbsd-arm64": "0.28.
|
|
41
|
-
"@esbuild/openbsd-x64": "0.28.
|
|
42
|
-
"@esbuild/openharmony-arm64": "0.28.
|
|
43
|
-
"@esbuild/sunos-x64": "0.28.
|
|
44
|
-
"@esbuild/win32-arm64": "0.28.
|
|
45
|
-
"@esbuild/win32-ia32": "0.28.
|
|
46
|
-
"@esbuild/win32-x64": "0.28.
|
|
21
|
+
"@esbuild/aix-ppc64": "0.28.2",
|
|
22
|
+
"@esbuild/android-arm": "0.28.2",
|
|
23
|
+
"@esbuild/android-arm64": "0.28.2",
|
|
24
|
+
"@esbuild/android-x64": "0.28.2",
|
|
25
|
+
"@esbuild/darwin-arm64": "0.28.2",
|
|
26
|
+
"@esbuild/darwin-x64": "0.28.2",
|
|
27
|
+
"@esbuild/freebsd-arm64": "0.28.2",
|
|
28
|
+
"@esbuild/freebsd-x64": "0.28.2",
|
|
29
|
+
"@esbuild/linux-arm": "0.28.2",
|
|
30
|
+
"@esbuild/linux-arm64": "0.28.2",
|
|
31
|
+
"@esbuild/linux-ia32": "0.28.2",
|
|
32
|
+
"@esbuild/linux-loong64": "0.28.2",
|
|
33
|
+
"@esbuild/linux-mips64el": "0.28.2",
|
|
34
|
+
"@esbuild/linux-ppc64": "0.28.2",
|
|
35
|
+
"@esbuild/linux-riscv64": "0.28.2",
|
|
36
|
+
"@esbuild/linux-s390x": "0.28.2",
|
|
37
|
+
"@esbuild/linux-x64": "0.28.2",
|
|
38
|
+
"@esbuild/netbsd-arm64": "0.28.2",
|
|
39
|
+
"@esbuild/netbsd-x64": "0.28.2",
|
|
40
|
+
"@esbuild/openbsd-arm64": "0.28.2",
|
|
41
|
+
"@esbuild/openbsd-x64": "0.28.2",
|
|
42
|
+
"@esbuild/openharmony-arm64": "0.28.2",
|
|
43
|
+
"@esbuild/sunos-x64": "0.28.2",
|
|
44
|
+
"@esbuild/win32-arm64": "0.28.2",
|
|
45
|
+
"@esbuild/win32-ia32": "0.28.2",
|
|
46
|
+
"@esbuild/win32-x64": "0.28.2"
|
|
47
47
|
},
|
|
48
48
|
"license": "MIT",
|
|
49
49
|
"esbuild.binaryHashes": {
|
|
50
|
-
"@esbuild/aix-ppc64/bin/esbuild": "
|
|
51
|
-
"@esbuild/android-arm64/bin/esbuild": "
|
|
52
|
-
"@esbuild/darwin-arm64/bin/esbuild": "
|
|
53
|
-
"@esbuild/darwin-x64/bin/esbuild": "
|
|
54
|
-
"@esbuild/freebsd-arm64/bin/esbuild": "
|
|
55
|
-
"@esbuild/freebsd-x64/bin/esbuild": "
|
|
56
|
-
"@esbuild/linux-arm/bin/esbuild": "
|
|
57
|
-
"@esbuild/linux-arm64/bin/esbuild": "
|
|
58
|
-
"@esbuild/linux-ia32/bin/esbuild": "
|
|
59
|
-
"@esbuild/linux-loong64/bin/esbuild": "
|
|
60
|
-
"@esbuild/linux-mips64el/bin/esbuild": "
|
|
61
|
-
"@esbuild/linux-ppc64/bin/esbuild": "
|
|
62
|
-
"@esbuild/linux-riscv64/bin/esbuild": "
|
|
63
|
-
"@esbuild/linux-s390x/bin/esbuild": "
|
|
64
|
-
"@esbuild/linux-x64/bin/esbuild": "
|
|
65
|
-
"@esbuild/netbsd-arm64/bin/esbuild": "
|
|
66
|
-
"@esbuild/netbsd-x64/bin/esbuild": "
|
|
67
|
-
"@esbuild/openbsd-arm64/bin/esbuild": "
|
|
68
|
-
"@esbuild/openbsd-x64/bin/esbuild": "
|
|
69
|
-
"@esbuild/sunos-x64/bin/esbuild": "
|
|
70
|
-
"@esbuild/win32-arm64/esbuild.exe": "
|
|
71
|
-
"@esbuild/win32-ia32/esbuild.exe": "
|
|
72
|
-
"@esbuild/win32-x64/esbuild.exe": "
|
|
50
|
+
"@esbuild/aix-ppc64/bin/esbuild": "6de148b932fc5d3b28a97f9f0bc4de8e2b47db478b8ad679e0eaa6b96e00420d",
|
|
51
|
+
"@esbuild/android-arm64/bin/esbuild": "84efbbd2cbf21bbfec2aaf304bee79cb2a4a05fe2ea7b861a87f7b8f213ac27d",
|
|
52
|
+
"@esbuild/darwin-arm64/bin/esbuild": "10b6243df618d374bb2d5c9cfbe7052e1405f6aa4e53a6164f11a91b9f2e1384",
|
|
53
|
+
"@esbuild/darwin-x64/bin/esbuild": "7fe5c9c905fff0a05d92db98929434ab4d3b6dd92d7a7688922db74380c75df3",
|
|
54
|
+
"@esbuild/freebsd-arm64/bin/esbuild": "6aba108a68b93064e491bfb1ecfa28843b4d4e504dff0627f53f68f6bb015c01",
|
|
55
|
+
"@esbuild/freebsd-x64/bin/esbuild": "8a237e222bee0e50556e7b00d83ec2ff43721bf72f19811a5f0ee56f1d40177c",
|
|
56
|
+
"@esbuild/linux-arm/bin/esbuild": "d88f751b22095b2f3b42c8c2e8a3f36fabc1705438c5d6e78366b681f8b4e7a5",
|
|
57
|
+
"@esbuild/linux-arm64/bin/esbuild": "90bd269553d258e80b19e3ccab4f98f0831f87442a2f056510ce24fd1b425fc2",
|
|
58
|
+
"@esbuild/linux-ia32/bin/esbuild": "b1e2d87d79f9a2baa0d3043cdf0dc6716f9f2eea66c58f47588641fd6019f36f",
|
|
59
|
+
"@esbuild/linux-loong64/bin/esbuild": "55a66f9854d6798f36b2b5471db74f2e552481887ea14d8bda1634a512383a43",
|
|
60
|
+
"@esbuild/linux-mips64el/bin/esbuild": "6bf7921a3af4a801051e056d85c360fe24bb446f488ef3da25f0b8e5cf973db1",
|
|
61
|
+
"@esbuild/linux-ppc64/bin/esbuild": "c30df60d09bb0ba4853d7b06e244ce966890d61ce60cadd9b22335f6379c316a",
|
|
62
|
+
"@esbuild/linux-riscv64/bin/esbuild": "36bdcdc8230eef385838cdfeb0d9a1565cbe4b9ace30097a511d77e894de36a1",
|
|
63
|
+
"@esbuild/linux-s390x/bin/esbuild": "bbbc1f92a76a5ca6e2976065222e42b02797363a1f119490dda315f74047741f",
|
|
64
|
+
"@esbuild/linux-x64/bin/esbuild": "e1698a3d5c6c0798fee4fd3b5cc816651f460c63d390a7a26ea4beb0b1884100",
|
|
65
|
+
"@esbuild/netbsd-arm64/bin/esbuild": "62548519d7ae875d060aa8c94bfb8ed38ef191671a5173d9f626bdb6b7516970",
|
|
66
|
+
"@esbuild/netbsd-x64/bin/esbuild": "f9d0e59d2b404559e3a0c958164d96960ebf0e04583b878b1d64d8f1c3698fcc",
|
|
67
|
+
"@esbuild/openbsd-arm64/bin/esbuild": "e10c45a0b62456632da41df058d7626b2e7cfe710780a2dc7f9f84681753f3aa",
|
|
68
|
+
"@esbuild/openbsd-x64/bin/esbuild": "720bbe607736716f2ecd37962436c5589d801966e868a2ae4e0e7e62d1e4e887",
|
|
69
|
+
"@esbuild/sunos-x64/bin/esbuild": "01a3bd9183631ca749f34d15601ea21ba6834614184c5c859f99d54bd683203d",
|
|
70
|
+
"@esbuild/win32-arm64/esbuild.exe": "530fb3933af14eefe85dfd06502f826e6ef60fdf4e75228ea67c696db312ecb1",
|
|
71
|
+
"@esbuild/win32-ia32/esbuild.exe": "b2e62af5c17e00939583be0a0762fdc469f352869a617edc91371b00454c76f0",
|
|
72
|
+
"@esbuild/win32-x64/esbuild.exe": "c7bee37877d0aa6a046e52783fa0a2cf1a9ce5579d68bb3083bda99d4bff18ef"
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/utils.ts
|
|
2
1
|
function flatHooks(configHooks, hooks = {}, parentName) {
|
|
3
2
|
for (const key in configHooks) {
|
|
4
3
|
const subHook = configHooks[key];
|
|
@@ -32,7 +31,7 @@ const createTask = /* @__PURE__ */ (() => {
|
|
|
32
31
|
function callHooks(hooks, args, startIndex, task) {
|
|
33
32
|
for (let i = startIndex; i < hooks.length; i += 1) try {
|
|
34
33
|
const result = task ? task.run(() => hooks[i](...args)) : hooks[i](...args);
|
|
35
|
-
if (result
|
|
34
|
+
if (result && typeof result.then === "function") return Promise.resolve(result).then(() => callHooks(hooks, args, i + 1, task));
|
|
36
35
|
} catch (error) {
|
|
37
36
|
return Promise.reject(error);
|
|
38
37
|
}
|
|
@@ -46,19 +45,15 @@ function parallelTaskCaller(hooks, args, name) {
|
|
|
46
45
|
return Promise.all(hooks.map((hook) => task.run(() => hook(...args))));
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
|
-
/** @deprecated */
|
|
50
48
|
function serialCaller(hooks, arguments_) {
|
|
51
49
|
return hooks.reduce((promise, hookFunction) => promise.then(() => hookFunction(...arguments_ || [])), Promise.resolve());
|
|
52
50
|
}
|
|
53
|
-
/** @deprecated */
|
|
54
51
|
function parallelCaller(hooks, args) {
|
|
55
52
|
return Promise.all(hooks.map((hook) => hook(...args || [])));
|
|
56
53
|
}
|
|
57
54
|
function callEachWith(callbacks, arg0) {
|
|
58
55
|
for (const callback of [...callbacks]) callback(arg0);
|
|
59
56
|
}
|
|
60
|
-
//#endregion
|
|
61
|
-
//#region src/hookable.ts
|
|
62
57
|
var Hookable = class {
|
|
63
58
|
_hooks;
|
|
64
59
|
_before;
|
|
@@ -224,13 +219,10 @@ var HookableCore = class {
|
|
|
224
219
|
callHook(name, ...args) {
|
|
225
220
|
const hooks = this._hooks[name];
|
|
226
221
|
if (!hooks || hooks.length === 0) return;
|
|
227
|
-
return callHooks(hooks, args, 0);
|
|
222
|
+
return callHooks(hooks.slice(), args, 0);
|
|
228
223
|
}
|
|
229
224
|
};
|
|
230
|
-
//#endregion
|
|
231
|
-
//#region src/debugger.ts
|
|
232
225
|
const isBrowser = typeof window !== "undefined";
|
|
233
|
-
/** Start debugging hook names and timing in console */
|
|
234
226
|
function createDebugger(hooks, _options = {}) {
|
|
235
227
|
const options = {
|
|
236
228
|
inspect: isBrowser,
|
|
@@ -262,5 +254,4 @@ function createDebugger(hooks, _options = {}) {
|
|
|
262
254
|
unsubscribeAfter();
|
|
263
255
|
} };
|
|
264
256
|
}
|
|
265
|
-
//#endregion
|
|
266
257
|
export { Hookable, HookableCore, createDebugger, createHooks, flatHooks, mergeHooks, parallelCaller, serial, serialCaller };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hookable",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.2",
|
|
4
4
|
"description": "Awaitable hook system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hook",
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
"tappable"
|
|
11
11
|
],
|
|
12
12
|
"license": "MIT",
|
|
13
|
-
"repository":
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "unjs/hookable"
|
|
16
|
+
},
|
|
14
17
|
"files": [
|
|
15
18
|
"dist"
|
|
16
19
|
],
|
|
@@ -21,6 +24,22 @@
|
|
|
21
24
|
"exports": {
|
|
22
25
|
".": "./dist/index.mjs"
|
|
23
26
|
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@types/node": "^25.9.6",
|
|
29
|
+
"@vitest/coverage-v8": "^5",
|
|
30
|
+
"changelogen": "^0.6.2",
|
|
31
|
+
"esbuild": "^0.28.2",
|
|
32
|
+
"eslint-config-unjs": "^0.6.2",
|
|
33
|
+
"expect-type": "^1.4.0",
|
|
34
|
+
"hookable-prev": "npm:hookable@^6.1.1",
|
|
35
|
+
"mitata": "^1.0.34",
|
|
36
|
+
"obuild": "^0.4.40",
|
|
37
|
+
"oxfmt": ">=0.67.0",
|
|
38
|
+
"oxlint": "^1.82.0",
|
|
39
|
+
"typescript": "^6",
|
|
40
|
+
"vite": "^8.3.0",
|
|
41
|
+
"vitest": "^5"
|
|
42
|
+
},
|
|
24
43
|
"scripts": {
|
|
25
44
|
"bench": "node --expose-gc --allow-natives-syntax test/bench.ts",
|
|
26
45
|
"build": "obuild src/index.ts",
|
|
@@ -30,24 +49,6 @@
|
|
|
30
49
|
"prepublish": "pnpm build",
|
|
31
50
|
"release": "pnpm test && pnpm build && changelogen --release --publish --push",
|
|
32
51
|
"test": "pnpm lint && vitest run --coverage",
|
|
33
|
-
"test:types": "
|
|
34
|
-
}
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@types/node": "^25.5.0",
|
|
37
|
-
"@typescript/native-preview": "7.0.0-dev.20260314.1",
|
|
38
|
-
"@vitest/coverage-v8": "^4.1.0",
|
|
39
|
-
"changelogen": "^0.6.2",
|
|
40
|
-
"esbuild": "^0.27.4",
|
|
41
|
-
"eslint-config-unjs": "^0.6.2",
|
|
42
|
-
"expect-type": "^1.3.0",
|
|
43
|
-
"hookable-prev": "npm:hookable@^6.0.1",
|
|
44
|
-
"mitata": "^1.0.34",
|
|
45
|
-
"obuild": "^0.4.32",
|
|
46
|
-
"oxfmt": "^0.40.0",
|
|
47
|
-
"oxlint": "^1.55.0",
|
|
48
|
-
"typescript": "^5.9.3",
|
|
49
|
-
"vite": "^8.0.0",
|
|
50
|
-
"vitest": "^4.1.0"
|
|
51
|
-
},
|
|
52
|
-
"packageManager": "pnpm@10.32.1"
|
|
52
|
+
"test:types": "tsc --noEmit"
|
|
53
|
+
}
|
|
53
54
|
}
|
|
@@ -235,6 +235,13 @@ class Address4 {
|
|
|
235
235
|
* address.correctForm(); // '192.0.2.42'
|
|
236
236
|
*/
|
|
237
237
|
static fromArpa(arpaFormAddress) {
|
|
238
|
+
// A 15-character address, a "/32" prefix length and ".in-addr.arpa.": the
|
|
239
|
+
// longest name is 32 characters. Longer input is rejected before its
|
|
240
|
+
// labels are split, as the constructor does at its own limit.
|
|
241
|
+
const longest = constants.GROUPS * 4 - 1 + '/32'.length + '.in-addr.arpa.'.length;
|
|
242
|
+
if (arpaFormAddress.length > longest) {
|
|
243
|
+
throw new address_error_1.AddressError(`in-addr.arpa names are at most ${longest} characters.`);
|
|
244
|
+
}
|
|
238
245
|
// remove an ending ".in-addr.arpa", in any case and with or without the
|
|
239
246
|
// root dot, as Address6.fromArpa does for ".ip6.arpa"
|
|
240
247
|
const leader = arpaFormAddress.replace(/(\.in-addr\.arpa)?\.?$/i, '');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zod",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colin McDonnell <zod@colinhacks.com>",
|
|
@@ -10,7 +10,11 @@
|
|
|
10
10
|
"llmsFull": "https://zod.dev/llms-full.txt",
|
|
11
11
|
"mcpServer": "https://mcp.inkeep.com/zod/mcp",
|
|
12
12
|
"funding": "https://github.com/sponsors/colinhacks",
|
|
13
|
-
"sideEffects":
|
|
13
|
+
"sideEffects": [
|
|
14
|
+
"./compile.js",
|
|
15
|
+
"./compile.cjs",
|
|
16
|
+
"./src/compile.ts"
|
|
17
|
+
],
|
|
14
18
|
"files": [
|
|
15
19
|
"src",
|
|
16
20
|
"**/*.js",
|
|
@@ -36,6 +40,7 @@
|
|
|
36
40
|
"./package.json": "./package.json",
|
|
37
41
|
".": "./src/index.ts",
|
|
38
42
|
"./mini": "./src/mini/index.ts",
|
|
43
|
+
"./compile": "./src/compile.ts",
|
|
39
44
|
"./locales": "./src/locales/index.ts",
|
|
40
45
|
"./v3": "./src/v3/index.ts",
|
|
41
46
|
"./v4": "./src/v4/index.ts",
|
|
@@ -47,7 +52,8 @@
|
|
|
47
52
|
},
|
|
48
53
|
"conditions": {
|
|
49
54
|
"@zod/source": "src"
|
|
50
|
-
}
|
|
55
|
+
},
|
|
56
|
+
"sealCjsExports": true
|
|
51
57
|
},
|
|
52
58
|
"exports": {
|
|
53
59
|
"./package.json": "./package.json",
|
|
@@ -63,6 +69,12 @@
|
|
|
63
69
|
"import": "./mini/index.js",
|
|
64
70
|
"require": "./mini/index.cjs"
|
|
65
71
|
},
|
|
72
|
+
"./compile": {
|
|
73
|
+
"@zod/source": "./src/compile.ts",
|
|
74
|
+
"types": "./compile.d.cts",
|
|
75
|
+
"import": "./compile.js",
|
|
76
|
+
"require": "./compile.cjs"
|
|
77
|
+
},
|
|
66
78
|
"./locales": {
|
|
67
79
|
"@zod/source": "./src/locales/index.ts",
|
|
68
80
|
"types": "./locales/index.d.cts",
|
|
@@ -126,10 +138,10 @@
|
|
|
126
138
|
},
|
|
127
139
|
"scripts": {
|
|
128
140
|
"clean": "git clean -xdf . -e node_modules",
|
|
129
|
-
"build": "zshy --project tsconfig.build.json",
|
|
130
|
-
"postbuild": "
|
|
131
|
-
"test:watch": "
|
|
132
|
-
"test": "
|
|
133
|
-
"prepublishOnly": "
|
|
141
|
+
"build": "nub exec --node zshy --project tsconfig.build.json",
|
|
142
|
+
"postbuild": "nub ../../scripts/write-stub-package-jsons.ts && nub exec --node biome check --write .",
|
|
143
|
+
"test:watch": "nub exec --node vitest",
|
|
144
|
+
"test": "nub exec --node vitest run",
|
|
145
|
+
"prepublishOnly": "nub ../../scripts/check-versions.ts"
|
|
134
146
|
}
|
|
135
147
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { _lt as lt, _lte as lte, _gt as gt, _gte as gte, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, _slugify as slugify, } from "../core/index.js";
|
|
1
|
+
export { _lt as lt, _lte as lte, _gt as gt, _gte as gte, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _properties as properties, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, _slugify as slugify, } from "../core/index.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { visit } from "../core/visit.js";
|
|
2
|
+
import * as schemas from "./schemas.js";
|
|
3
|
+
/** Returns a copy of the schema with every nested object's properties made optional. */
|
|
4
|
+
export function deepPartial(schema) {
|
|
5
|
+
return visit(schema, {
|
|
6
|
+
object: (s) => s.partial(),
|
|
7
|
+
// Every partialed option now admits `undefined`, which the constructor rejects as a duplicate.
|
|
8
|
+
union: (s) => {
|
|
9
|
+
const def = s._zod.def;
|
|
10
|
+
return def.discriminator === undefined ? s : schemas.union(def.options);
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
}
|