@highstate/designer 0.19.1 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +3 -3
- package/.output/public/_nuxt/57B6Rca8.js +1 -0
- package/.output/public/_nuxt/5X7smno1.js +1 -0
- package/.output/public/_nuxt/{Cp2bjttb.js → 83L43bj1.js} +1 -1
- package/.output/public/_nuxt/8MSfy8uY.js +1 -0
- package/.output/public/_nuxt/9I37tBe7.js +1 -0
- package/.output/public/_nuxt/Aopv2gwH.js +1 -0
- package/.output/public/_nuxt/B13uiJCv.js +1 -0
- package/.output/public/_nuxt/B7c-h3xW.js +1 -0
- package/.output/public/_nuxt/B8nw2aST.js +2 -0
- package/.output/public/_nuxt/{1DNp92w6.js → B93PlW-d.js} +1 -1
- package/.output/public/_nuxt/BA0jw7CM.js +1 -0
- package/.output/public/_nuxt/BBf5iR-q.js +1 -0
- package/.output/public/_nuxt/BCVaR2pQ.js +1 -0
- package/.output/public/_nuxt/BDAHnC4j.js +1 -0
- package/.output/public/_nuxt/BDa1f6PF.js +2 -0
- package/.output/public/_nuxt/{YB_1Ta41.js → BDs6uo3D.js} +1 -1
- package/.output/public/_nuxt/BEEt8Am7.js +1 -0
- package/.output/public/_nuxt/BE_Meo09.js +269 -0
- package/.output/public/_nuxt/BGHnOYBU.js +1 -0
- package/.output/public/_nuxt/BH7IYjvW.js +1 -0
- package/.output/public/_nuxt/BJDFO7_C.js +1 -0
- package/.output/public/_nuxt/BJK6uMxG.js +1 -0
- package/.output/public/_nuxt/BLF3u89x.js +1 -0
- package/.output/public/_nuxt/{Xi2tawMN.js → BLmx8bSh.js} +1 -1
- package/.output/public/_nuxt/{DlfHMoPT.js → BPQ3VLAy.js} +1 -1
- package/.output/public/_nuxt/BPcwi1q2.js +1 -0
- package/.output/public/_nuxt/{BBGuKPBd.js → BR5kRUq4.js} +1 -1
- package/.output/public/_nuxt/BTifaqeh.js +1 -0
- package/.output/public/_nuxt/BUNf2Yb8.js +1 -0
- package/.output/public/_nuxt/BUw7H-hv.js +1 -0
- package/.output/public/_nuxt/{DRprw4p4.js → BVQ-GDCI.js} +1 -1
- package/.output/public/_nuxt/{BbQj0Z2C.js → BYV0-3_D.js} +1 -1
- package/.output/public/_nuxt/BZvkOJ9d.js +1 -0
- package/.output/public/_nuxt/Ba13S78F.js +1 -0
- package/.output/public/_nuxt/BcVCzyr7.js +1 -0
- package/.output/public/_nuxt/BhRPY-oY.js +1 -0
- package/.output/public/_nuxt/{uMbE6_td.js → Bhrxn6JZ.js} +1 -1
- package/.output/public/_nuxt/BkNNRtnm.js +1 -0
- package/.output/public/_nuxt/BlfjmxyP.js +1 -0
- package/.output/public/_nuxt/Bmn6On1c.js +1 -0
- package/.output/public/_nuxt/Bo8jzlL1.js +18 -0
- package/.output/public/_nuxt/BpkvlDNi.js +1 -0
- package/.output/public/_nuxt/{BIAuTxu3.js → Br6cN0cg.js} +1 -1
- package/.output/public/_nuxt/{CUEJCptM.js → BrzmwbiE.js} +1 -1
- package/.output/public/_nuxt/{D32k8WzR.js → BtvRca6l.js} +1 -1
- package/.output/public/_nuxt/BuJgCY_C.js +1 -0
- package/.output/public/_nuxt/Bv_4Rxtq.js +1 -0
- package/.output/public/_nuxt/BvzEVeQv.js +1 -0
- package/.output/public/_nuxt/BxAss8Tj.js +1 -0
- package/.output/public/_nuxt/BxaP9l2T.js +1 -0
- package/.output/public/_nuxt/BxgE0vQu.js +1 -0
- package/.output/public/_nuxt/ByBNG4eo.js +1 -0
- package/.output/public/_nuxt/{COI20M4I.js → BzTr9Aqm.js} +1 -1
- package/.output/public/_nuxt/{CXu1NL6O.js → C-HG3fhB.js} +1 -1
- package/.output/public/_nuxt/C-sUppwS.js +1 -0
- package/.output/public/_nuxt/C1FLL1Qz.js +1 -0
- package/.output/public/_nuxt/C3Wv6jpd.js +1 -0
- package/.output/public/_nuxt/C47S-Tmv.js +1 -0
- package/.output/public/_nuxt/C4EeE6gA.js +1 -0
- package/.output/public/_nuxt/{C-Jbm3Hp.js → C4gqWexZ.js} +1 -1
- package/.output/public/_nuxt/{DTMYz4Jt.js → C5YyOfLZ.js} +1 -1
- package/.output/public/_nuxt/C7zT0LnQ.js +1 -0
- package/.output/public/_nuxt/C8lm7lgC.js +1 -0
- package/.output/public/_nuxt/C9dUb6Cb.js +1 -0
- package/.output/public/_nuxt/{DS1LvVMU.js → C9oPPf7i.js} +1 -1
- package/.output/public/_nuxt/{D1uDOp7C.js → CFHQjOhq.js} +1 -1
- package/.output/public/_nuxt/{Dtc2v4kS.js → CGscLIrv.js} +1 -1
- package/.output/public/_nuxt/{DKzvysjW.js → CH1njM8p.js} +1 -1
- package/.output/public/_nuxt/CJWmG4YP.js +12 -0
- package/.output/public/_nuxt/CLZrNe3w.js +1 -0
- package/.output/public/_nuxt/CMTm3GFP.js +1 -0
- package/.output/public/_nuxt/CMjwMIkn.js +1 -0
- package/.output/public/_nuxt/COcwbKMJ.js +1 -0
- package/.output/public/_nuxt/CPZSvMBB.js +1 -0
- package/.output/public/_nuxt/CPpO8vcZ.js +1 -0
- package/.output/public/_nuxt/CQ8jqdy-.js +1 -0
- package/.output/public/_nuxt/CV5MeYf9.js +1 -0
- package/.output/public/_nuxt/{CcyOm34o.js → CVdnzihN.js} +1 -1
- package/.output/public/_nuxt/CW8IKDeL.js +1 -0
- package/.output/public/_nuxt/{pkIJ47B4.js → CXZktZb0.js} +1 -1
- package/.output/public/_nuxt/CYsAdtH9.js +1 -0
- package/.output/public/_nuxt/{BUyGWigt.js → CZhp0h8q.js} +1 -1
- package/.output/public/_nuxt/CaJ-zn_Z.js +2 -0
- package/.output/public/_nuxt/CcOKGYBt.js +1 -0
- package/.output/public/_nuxt/{oTG82Wo1.js → CenWIFCC.js} +1 -1
- package/.output/public/_nuxt/ChaZkl1J.js +1 -0
- package/.output/public/_nuxt/CjoLj4QM.js +1 -0
- package/.output/public/_nuxt/{BtsDLbAf.js → Cl0AqbOI.js} +1 -1
- package/.output/public/_nuxt/Cm-2nZ05.js +1 -0
- package/.output/public/_nuxt/{DUSGQflk.js → Cm3UrAx6.js} +1 -1
- package/.output/public/_nuxt/{BGHREFWD.js → CmIQRyeF.js} +1 -1
- package/.output/public/_nuxt/{f7oK2omx.js → Cn7AkR1O.js} +1 -1
- package/.output/public/_nuxt/{JhPuU2gP.js → CnnebwVN.js} +1 -1
- package/.output/public/_nuxt/CnsnAmq5.js +1 -0
- package/.output/public/_nuxt/CoDkCxhg.js +1 -0
- package/.output/public/_nuxt/{B-hkwWGT.js → CpOuai2O.js} +1 -1
- package/.output/public/_nuxt/CudFwYib.js +1 -0
- package/.output/public/_nuxt/{BDzgwa52.js → CufHLc7y.js} +1 -1
- package/.output/public/_nuxt/CwoSXNpI.js +1 -0
- package/.output/public/_nuxt/CxEW7TG8.js +1 -0
- package/.output/public/_nuxt/CxLEBnE3.js +1 -0
- package/.output/public/_nuxt/{DNrj_gVY.js → CxbxFI8M.js} +1 -1
- package/.output/public/_nuxt/CzSiA7V6.js +1 -0
- package/.output/public/_nuxt/D-wGZMZP.js +1 -0
- package/.output/public/_nuxt/D27ZAKIj.js +1 -0
- package/.output/public/_nuxt/D2aToa54.js +1 -0
- package/.output/public/_nuxt/D2obegTF.js +1 -0
- package/.output/public/_nuxt/{NleAzG8P.js → D4_iv3hh.js} +1 -1
- package/.output/public/_nuxt/D53aC0YG.js +1 -0
- package/.output/public/_nuxt/D5z-4QVk.js +1 -0
- package/.output/public/_nuxt/D6fh7rEe.js +2 -0
- package/.output/public/_nuxt/D87Tk5Gz.js +1 -0
- package/.output/public/_nuxt/D8_7TLub.js +1 -0
- package/.output/public/_nuxt/D91rOou-.js +13 -0
- package/.output/public/_nuxt/DCBCRx0O.js +1 -0
- package/.output/public/_nuxt/DCR009rv.js +1 -0
- package/.output/public/_nuxt/DCinzvm1.js +1 -0
- package/.output/public/_nuxt/DEthMvLe.js +1 -0
- package/.output/public/_nuxt/DFWUc33u.js +1 -0
- package/.output/public/_nuxt/{5bLW0GMw.js → DGP4VlC8.js} +1 -1
- package/.output/public/_nuxt/{CnK8MTSM.js → DHQR4-dF.js} +1 -1
- package/.output/public/_nuxt/DJN0y8jO.js +1 -0
- package/.output/public/_nuxt/DJjDtW9f.js +1 -0
- package/.output/public/_nuxt/DKhcu7kD.js +1 -0
- package/.output/public/_nuxt/DMwsHuHA.js +1 -0
- package/.output/public/_nuxt/{GAB5JH5K.js → DNqd6Nek.js} +1 -1
- package/.output/public/_nuxt/DOMRsNpU.js +1 -0
- package/.output/public/_nuxt/DOPqH6_T.js +1 -0
- package/.output/public/_nuxt/DQHHT9y-.js +1 -0
- package/.output/public/_nuxt/{B5ZR69Tn.js → DQwYQDb2.js} +1 -1
- package/.output/public/_nuxt/DQyhUUbL.js +1 -0
- package/.output/public/_nuxt/DRfxs3PN.js +1 -0
- package/.output/public/_nuxt/{DPcUKYIF.js → DRw_LuNl.js} +1 -1
- package/.output/public/_nuxt/DV7GczEv.js +1 -0
- package/.output/public/_nuxt/DWQRqdcR.js +1 -0
- package/.output/public/_nuxt/DWa2aw6r.js +1 -0
- package/.output/public/_nuxt/DYoxhk2S.js +1 -0
- package/.output/public/_nuxt/DZf3V79B.js +1 -0
- package/.output/public/_nuxt/{BPzJO5Oe.js → DZu-aV2c.js} +1 -1
- package/.output/public/_nuxt/Dbwml2gB.js +1 -0
- package/.output/public/_nuxt/DfvKjH24.js +1 -0
- package/.output/public/_nuxt/{Cdx7mHEO.js → DhmSosst.js} +1 -1
- package/.output/public/_nuxt/DiTMzCP2.js +1 -0
- package/.output/public/_nuxt/{CA7CTBwS.js → Dph4kLrZ.js} +1 -1
- package/.output/public/_nuxt/DqQDbK_p.js +1 -0
- package/.output/public/_nuxt/DsS90Fp6.js +1 -0
- package/.output/public/_nuxt/Dspwwk_N.js +1 -0
- package/.output/public/_nuxt/DsumFeuD.js +1 -0
- package/.output/public/_nuxt/DxERyYWQ.js +1 -0
- package/.output/public/_nuxt/{D7ScPSBf.js → DxNHbxmM.js} +1 -1
- package/.output/public/_nuxt/{CLvts2aQ.js → DxSwrfjg.js} +1 -1
- package/.output/public/_nuxt/{DcmvOc98.js → DyMmfYiE.js} +1 -1
- package/.output/public/_nuxt/DzWdbJvx.js +1 -0
- package/.output/public/_nuxt/{COEtLSDF.js → Dzze3sRP.js} +1 -1
- package/.output/public/_nuxt/G13IRnB2.js +1 -0
- package/.output/public/_nuxt/GDxZ_Nvm.js +14 -0
- package/.output/public/_nuxt/GgtqCdye.js +1 -0
- package/.output/public/_nuxt/{DkhsQLT2.js → GsRaNv29.js} +1 -1
- package/.output/public/_nuxt/IF9eRakj.js +1 -0
- package/.output/public/_nuxt/RCBWmVHz.js +1 -0
- package/.output/public/_nuxt/{Cb0HU5_O.js → RNghxpo_.js} +1 -1
- package/.output/public/_nuxt/{SecretValueField.DcyO8gGc.css → SecretValueField.Dy80RlGP.css} +1 -1
- package/.output/public/_nuxt/{B8ROHVmM.js → TsXTqZ29.js} +1 -1
- package/.output/public/_nuxt/VCDPK7BO.js +1 -0
- package/.output/public/_nuxt/{CU27uY9n.js → W9tJ9s81.js} +1 -1
- package/.output/public/_nuxt/{CmALWFRB.js → XEA9GSJd.js} +16 -468
- package/.output/public/_nuxt/{DeWFVDHI.js → YqXBG_HV.js} +1 -1
- package/.output/public/_nuxt/ZbicA1ry.js +1 -0
- package/.output/public/_nuxt/_snapshotId_.ChuSNeNY.css +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/a1fec520-0c95-4ae0-af5e-964780fad341.json +1 -0
- package/.output/public/_nuxt/d-NZQb9b.js +1 -0
- package/.output/public/_nuxt/edge-router-BdPMCV6u.js +1 -0
- package/.output/public/_nuxt/{entry.dxugZJXl.css → entry.Bc0aTA0K.css} +1 -1
- package/.output/public/_nuxt/error-404.X7H_YhdC.css +1 -0
- package/.output/public/_nuxt/error-500.BOQe1fsk.css +1 -0
- package/.output/public/_nuxt/f3TOpYbw.js +1 -0
- package/.output/public/_nuxt/{DrZfEa88.js → fKv21gyL.js} +1 -1
- package/.output/public/_nuxt/graph-layout-B7wl80r3.js +1 -0
- package/.output/public/_nuxt/graph-resolver-DKNtntr2.js +180 -0
- package/.output/public/_nuxt/{CGqH5EJj.js → hJgmCMqR.js} +1 -1
- package/.output/public/_nuxt/{BoKiGodi.js → k_qm7-4y.js} +1 -1
- package/.output/public/_nuxt/{IvJ92aGK.js → m17aaUwq.js} +1 -1
- package/.output/public/_nuxt/mUFnM-_q.js +1 -0
- package/.output/public/_nuxt/mWjccvbQ.js +1 -0
- package/.output/public/_nuxt/{BXY8tDGw.js → mjskCLCv.js} +1 -1
- package/.output/public/_nuxt/n0RAZLbO.js +1 -0
- package/.output/public/_nuxt/n2N0HUVH.js +1 -0
- package/.output/public/_nuxt/o_m1mZtJ.js +6 -0
- package/.output/public/_nuxt/pxXmJ8QX.js +1 -0
- package/.output/public/_nuxt/{BHrmToEH.js → qdsjHGoJ.js} +1 -1
- package/.output/public/_nuxt/{BbcW6ACK.js → rGO070M0.js} +1 -1
- package/.output/public/_nuxt/rcFevLEP.js +2 -0
- package/.output/public/_nuxt/rgN_MdZl.js +1 -0
- package/.output/public/_nuxt/tsyQDnRt.js +5 -0
- package/.output/public/_nuxt/u5AG7uiY.js +1 -0
- package/.output/public/_nuxt/uYugtg8r.js +1 -0
- package/.output/public/_nuxt/vuetify.BzdWZaIq.css +1 -0
- package/.output/public/_nuxt/{BMMyXqK5.js → wDzz0qaB.js} +1 -1
- package/.output/public/_nuxt/xA6NntuA.js +1 -0
- package/.output/public/_nuxt/xdsXwj_J.js +1 -0
- package/.output/public/_nuxt/xp27HhqZ.js +1 -0
- package/.output/public/_nuxt/xrNU8mHG.js +3 -0
- package/.output/public/_nuxt/yaml.worker-C1Cl1y5J.js +399 -0
- package/.output/public/_nuxt/ziXKbM2N.js +1 -0
- package/.output/public/libavoid.wasm +0 -0
- package/.output/server/index.mjs +2213 -6830
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/node_modules/@babel/parser/lib/index.js +427 -440
- package/.output/server/node_modules/@babel/parser/package.json +6 -6
- package/.output/server/node_modules/@trpc/server/dist/adapters/fetch/index.mjs +4 -4
- package/.output/server/node_modules/@trpc/server/dist/adapters/ws.mjs +10 -10
- package/.output/server/node_modules/@trpc/server/dist/{utils-CLZnJdb_.mjs → codes-DagpWZLc.mjs} +66 -66
- package/.output/server/node_modules/@trpc/server/dist/{getErrorShape-BH60iMC2.mjs → getErrorShape-vC8mUXJD.mjs} +3 -3
- package/.output/server/node_modules/@trpc/server/dist/index.mjs +4 -4
- package/.output/server/node_modules/@trpc/server/dist/{initTRPC-CB9uBez5.mjs → initTRPC-RoZMIBeA.mjs} +4 -4
- package/.output/server/node_modules/@trpc/server/dist/{node-http-8dtdvMrE.mjs → node-http-DtA2iLK9.mjs} +7 -5
- package/.output/server/node_modules/@trpc/server/dist/{parseTRPCMessage-BlZeZ60t.mjs → parseTRPCMessage-CTow-umk.mjs} +2 -2
- package/.output/server/node_modules/@trpc/server/dist/{resolveResponse-DngSgha6.mjs → resolveResponse-BVDlNZwN.mjs} +45 -48
- package/.output/server/node_modules/@trpc/server/dist/{tracked-Blz8XOf1.mjs → tracked-Bjtgv3wJ.mjs} +11 -9
- package/.output/server/node_modules/@trpc/server/dist/{unstable-core-do-not-import-D89CaGtL.mjs → unstable-core-do-not-import-9NNw8uQM.mjs} +5 -3
- package/.output/server/node_modules/@trpc/server/dist/{ws-BR20IWki.mjs → ws-CJgZE7Hg.mjs} +60 -20
- package/.output/server/node_modules/@trpc/server/package.json +6 -6
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +128 -106
- package/.output/server/node_modules/@vue/compiler-core/package.json +5 -5
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +54 -54
- package/.output/server/node_modules/@vue/compiler-dom/package.json +3 -3
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +35 -33
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +105 -42
- package/.output/server/node_modules/@vue/reactivity/package.json +2 -2
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +2129 -2063
- package/.output/server/node_modules/@vue/runtime-core/package.json +3 -3
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +78 -31
- package/.output/server/node_modules/@vue/runtime-dom/package.json +5 -5
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +6 -6
- package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +1 -1
- package/.output/server/node_modules/@vue/shared/package.json +1 -1
- package/.output/server/node_modules/copy-anything/dist/index.js +47 -31
- package/.output/server/node_modules/copy-anything/package.json +19 -72
- package/.output/server/node_modules/devalue/index.js +1 -0
- package/.output/server/node_modules/devalue/package.json +2 -2
- package/.output/server/node_modules/devalue/src/constants.js +1 -0
- package/.output/server/node_modules/devalue/src/parse.js +55 -4
- package/.output/server/node_modules/devalue/src/stringify.js +101 -12
- package/.output/server/node_modules/devalue/src/uneval.js +100 -13
- package/.output/server/node_modules/devalue/src/utils.js +35 -1
- package/.output/server/node_modules/entities/{lib/decode_codepoint.js → dist/commonjs/decode-codepoint.js} +16 -15
- package/.output/server/node_modules/entities/{lib → dist/commonjs}/decode.js +200 -168
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/entities/package.json +99 -69
- package/.output/server/node_modules/hookable/dist/index.mjs +244 -268
- package/.output/server/node_modules/hookable/package.json +29 -26
- package/.output/server/node_modules/is-what/dist/getType.js +4 -0
- package/.output/server/node_modules/is-what/dist/index.js +43 -171
- package/.output/server/node_modules/is-what/dist/isAnyObject.js +8 -0
- package/.output/server/node_modules/is-what/dist/isArray.js +5 -0
- package/.output/server/node_modules/is-what/dist/isBigInt.js +5 -0
- package/.output/server/node_modules/is-what/dist/isBlob.js +5 -0
- package/.output/server/node_modules/is-what/dist/isBoolean.js +5 -0
- package/.output/server/node_modules/is-what/dist/isDate.js +5 -0
- package/.output/server/node_modules/is-what/dist/isEmptyArray.js +5 -0
- package/.output/server/node_modules/is-what/dist/isEmptyObject.js +8 -0
- package/.output/server/node_modules/is-what/dist/isEmptyString.js +4 -0
- package/.output/server/node_modules/is-what/dist/isError.js +5 -0
- package/.output/server/node_modules/is-what/dist/isFile.js +5 -0
- package/.output/server/node_modules/is-what/dist/isFullArray.js +5 -0
- package/.output/server/node_modules/is-what/dist/isFullObject.js +8 -0
- package/.output/server/node_modules/is-what/dist/isFullString.js +5 -0
- package/.output/server/node_modules/is-what/dist/isFunction.js +4 -0
- package/.output/server/node_modules/is-what/dist/isHexDecimal.js +12 -0
- package/.output/server/node_modules/is-what/dist/isInstanceOf.js +19 -0
- package/.output/server/node_modules/is-what/dist/isInteger.js +5 -0
- package/.output/server/node_modules/is-what/dist/isIterable.js +16 -0
- package/.output/server/node_modules/is-what/dist/isMap.js +5 -0
- package/.output/server/node_modules/is-what/dist/isNaNValue.js +5 -0
- package/.output/server/node_modules/is-what/dist/isNegativeInteger.js +5 -0
- package/.output/server/node_modules/is-what/dist/isNegativeNumber.js +5 -0
- package/.output/server/node_modules/is-what/dist/isNull.js +5 -0
- package/.output/server/node_modules/is-what/dist/isNullOrUndefined.js +5 -0
- package/.output/server/node_modules/is-what/dist/isNumber.js +9 -0
- package/.output/server/node_modules/is-what/dist/isObject.js +8 -0
- package/.output/server/node_modules/is-what/dist/isObjectLike.js +11 -0
- package/.output/server/node_modules/is-what/dist/isOneOf.js +15 -0
- package/.output/server/node_modules/is-what/dist/isPlainObject.js +11 -0
- package/.output/server/node_modules/is-what/dist/isPositiveInteger.js +5 -0
- package/.output/server/node_modules/is-what/dist/isPositiveNumber.js +5 -0
- package/.output/server/node_modules/is-what/dist/isPrimitive.js +21 -0
- package/.output/server/node_modules/is-what/dist/isPromise.js +5 -0
- package/.output/server/node_modules/is-what/dist/isRegExp.js +5 -0
- package/.output/server/node_modules/is-what/dist/isSet.js +5 -0
- package/.output/server/node_modules/is-what/dist/isString.js +5 -0
- package/.output/server/node_modules/is-what/dist/isSymbol.js +5 -0
- package/.output/server/node_modules/is-what/dist/isType.js +20 -0
- package/.output/server/node_modules/is-what/dist/isUndefined.js +5 -0
- package/.output/server/node_modules/is-what/dist/isWeakMap.js +5 -0
- package/.output/server/node_modules/is-what/dist/isWeakSet.js +5 -0
- package/.output/server/node_modules/is-what/package.json +23 -88
- package/.output/server/node_modules/superjson/dist/index.js +9 -6
- package/.output/server/node_modules/superjson/dist/pathstringifier.js +13 -2
- package/.output/server/node_modules/superjson/dist/plainer.js +23 -11
- package/.output/server/node_modules/superjson/dist/transformer.js +4 -1
- package/.output/server/node_modules/superjson/package.json +5 -21
- package/.output/server/node_modules/ufo/dist/index.mjs +16 -9
- package/.output/server/node_modules/ufo/package.json +15 -14
- package/.output/server/node_modules/unhead/dist/plugins.mjs +2 -2
- package/.output/server/node_modules/unhead/dist/server.mjs +4 -6
- package/.output/server/node_modules/unhead/dist/shared/{unhead.DH45uomy.mjs → unhead.BFfcxOoW.mjs} +3 -3
- package/.output/server/node_modules/unhead/dist/shared/{unhead.DZbvapt-.mjs → unhead.CbpEuj3y.mjs} +3 -2
- package/.output/server/node_modules/unhead/dist/shared/{unhead.Djo8ep_Y.mjs → unhead.ckV6dpEQ.mjs} +1 -1
- package/.output/server/node_modules/unhead/dist/shared/{unhead.BpRRHAhY.mjs → unhead.eK9_7LaY.mjs} +16 -12
- package/.output/server/node_modules/unhead/dist/utils.mjs +2 -2
- package/.output/server/node_modules/unhead/package.json +2 -2
- package/.output/server/node_modules/vue/dist/vue.cjs.js +1 -1
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +1 -1
- package/.output/server/node_modules/vue/package.json +6 -6
- package/.output/server/node_modules/ws/lib/constants.js +1 -0
- package/.output/server/node_modules/ws/lib/websocket-server.js +5 -1
- package/.output/server/node_modules/ws/lib/websocket.js +13 -8
- package/.output/server/node_modules/ws/package.json +1 -1
- package/.output/server/node_modules/zod/package.json +1 -1
- package/.output/server/node_modules/zod/v4/classic/checks.js +1 -1
- package/.output/server/node_modules/zod/v4/classic/external.js +3 -1
- package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +584 -0
- package/.output/server/node_modules/zod/v4/classic/schemas.js +121 -4
- package/.output/server/node_modules/zod/v4/core/api.js +157 -0
- package/.output/server/node_modules/zod/v4/core/checks.js +8 -2
- package/.output/server/node_modules/zod/v4/core/core.js +20 -11
- package/.output/server/node_modules/zod/v4/core/index.js +2 -0
- package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +605 -0
- package/.output/server/node_modules/zod/v4/core/regexes.js +8 -2
- package/.output/server/node_modules/zod/v4/core/registries.js +3 -4
- package/.output/server/node_modules/zod/v4/core/schemas.js +204 -66
- package/.output/server/node_modules/zod/v4/core/to-json-schema.js +391 -869
- package/.output/server/node_modules/zod/v4/core/util.js +58 -8
- package/.output/server/node_modules/zod/v4/core/versions.js +2 -2
- package/.output/server/node_modules/zod/v4/locales/ar.js +14 -24
- package/.output/server/node_modules/zod/v4/locales/az.js +14 -24
- package/.output/server/node_modules/zod/v4/locales/be.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/bg.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/ca.js +14 -25
- package/.output/server/node_modules/zod/v4/locales/cs.js +18 -42
- package/.output/server/node_modules/zod/v4/locales/da.js +23 -39
- package/.output/server/node_modules/zod/v4/locales/de.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/en.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/eo.js +17 -24
- package/.output/server/node_modules/zod/v4/locales/es.js +42 -59
- package/.output/server/node_modules/zod/v4/locales/fa.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/fi.js +14 -24
- package/.output/server/node_modules/zod/v4/locales/fr-CA.js +14 -24
- package/.output/server/node_modules/zod/v4/locales/fr.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/he.js +175 -78
- package/.output/server/node_modules/zod/v4/locales/hu.js +16 -25
- package/.output/server/node_modules/zod/v4/locales/hy.js +147 -0
- package/.output/server/node_modules/zod/v4/locales/id.js +14 -24
- package/.output/server/node_modules/zod/v4/locales/index.js +2 -0
- package/.output/server/node_modules/zod/v4/locales/is.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/it.js +16 -25
- package/.output/server/node_modules/zod/v4/locales/ja.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/ka.js +19 -32
- package/.output/server/node_modules/zod/v4/locales/km.js +17 -24
- package/.output/server/node_modules/zod/v4/locales/ko.js +14 -24
- package/.output/server/node_modules/zod/v4/locales/lt.js +27 -54
- package/.output/server/node_modules/zod/v4/locales/mk.js +16 -25
- package/.output/server/node_modules/zod/v4/locales/ms.js +15 -24
- package/.output/server/node_modules/zod/v4/locales/nl.js +25 -32
- package/.output/server/node_modules/zod/v4/locales/no.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/ota.js +17 -25
- package/.output/server/node_modules/zod/v4/locales/pl.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/ps.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/pt.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/ru.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/sl.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/sv.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/ta.js +17 -24
- package/.output/server/node_modules/zod/v4/locales/th.js +17 -24
- package/.output/server/node_modules/zod/v4/locales/tr.js +14 -24
- package/.output/server/node_modules/zod/v4/locales/uk.js +16 -25
- package/.output/server/node_modules/zod/v4/locales/ur.js +17 -24
- package/.output/server/node_modules/zod/v4/locales/uz.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/vi.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/yo.js +16 -24
- package/.output/server/node_modules/zod/v4/locales/zh-CN.js +17 -24
- package/.output/server/node_modules/zod/v4/locales/zh-TW.js +14 -24
- package/.output/server/package.json +22 -22
- package/package.json +6 -6
- package/.output/public/_nuxt/-oaD50UK.js +0 -1
- package/.output/public/_nuxt/0ekw3e2V.js +0 -1
- package/.output/public/_nuxt/1f5tAgHw.js +0 -1
- package/.output/public/_nuxt/5ggY4uig.js +0 -1
- package/.output/public/_nuxt/6nHXG8SA.js +0 -1
- package/.output/public/_nuxt/9hmcqHPO.js +0 -1
- package/.output/public/_nuxt/BBxmzUt6.js +0 -1
- package/.output/public/_nuxt/BE2KfCdU.js +0 -1
- package/.output/public/_nuxt/BFNM2w_f.js +0 -1
- package/.output/public/_nuxt/BGLu70Yq.js +0 -1
- package/.output/public/_nuxt/BIuj43Wh.js +0 -1
- package/.output/public/_nuxt/BLsOQd1H.js +0 -280
- package/.output/public/_nuxt/BNGfscqk.js +0 -1
- package/.output/public/_nuxt/BQvybpQq.js +0 -1
- package/.output/public/_nuxt/BU7Cl-8B.js +0 -1
- package/.output/public/_nuxt/BUXOnL59.js +0 -1
- package/.output/public/_nuxt/Bbwybh3N.js +0 -2
- package/.output/public/_nuxt/BczD6j-v.js +0 -1
- package/.output/public/_nuxt/BepWV7mh.js +0 -1
- package/.output/public/_nuxt/Bh0qehhp.js +0 -1
- package/.output/public/_nuxt/Bl2oy6fF.js +0 -1
- package/.output/public/_nuxt/BmDdxTjo.js +0 -1
- package/.output/public/_nuxt/BqeRdtD4.js +0 -2
- package/.output/public/_nuxt/BvAqAH-y.js +0 -1
- package/.output/public/_nuxt/BxZD33h1.js +0 -1
- package/.output/public/_nuxt/C4zpeTvm.js +0 -1
- package/.output/public/_nuxt/C7Pw0Ztw.js +0 -1
- package/.output/public/_nuxt/C8-UwF3o.js +0 -1
- package/.output/public/_nuxt/CCd08HS_.js +0 -1
- package/.output/public/_nuxt/CEYFgC8B.js +0 -1
- package/.output/public/_nuxt/CHadp7IV.js +0 -1
- package/.output/public/_nuxt/CHh-QcGE.js +0 -1
- package/.output/public/_nuxt/CIUZ1G5V.js +0 -1
- package/.output/public/_nuxt/CJ6lOLXp.js +0 -1
- package/.output/public/_nuxt/CN9dMhDM.js +0 -1
- package/.output/public/_nuxt/CQ4fj8p0.js +0 -1
- package/.output/public/_nuxt/CTWiQX6C.js +0 -1
- package/.output/public/_nuxt/CXxzV4dz.js +0 -1
- package/.output/public/_nuxt/CZlF05X6.js +0 -1
- package/.output/public/_nuxt/CatV_12G.js +0 -1
- package/.output/public/_nuxt/CeMkeBDb.js +0 -1
- package/.output/public/_nuxt/CelvVQyk.js +0 -1
- package/.output/public/_nuxt/CfV455SO.js +0 -1
- package/.output/public/_nuxt/CfeIJUat.js +0 -1
- package/.output/public/_nuxt/CfqrF6sE.js +0 -1
- package/.output/public/_nuxt/Cfs9EX91.js +0 -1
- package/.output/public/_nuxt/ChH_ziBE.js +0 -1
- package/.output/public/_nuxt/ChM1GEGa.js +0 -1
- package/.output/public/_nuxt/Cu8OsqJL.js +0 -1
- package/.output/public/_nuxt/CusJppg0.js +0 -1
- package/.output/public/_nuxt/Cv9koXgw.js +0 -1
- package/.output/public/_nuxt/CvELRi2k.js +0 -5
- package/.output/public/_nuxt/Cw6nGM9K.js +0 -1
- package/.output/public/_nuxt/CwUT5n6w.js +0 -1
- package/.output/public/_nuxt/D-AHKB2i.js +0 -6
- package/.output/public/_nuxt/D-kcn2fr.js +0 -1
- package/.output/public/_nuxt/D08WgyRC.js +0 -1
- package/.output/public/_nuxt/D1Jbgd7O.js +0 -13
- package/.output/public/_nuxt/D1ibY74j.js +0 -1
- package/.output/public/_nuxt/D22FLkUw.js +0 -1
- package/.output/public/_nuxt/D2CYqzqI.js +0 -1
- package/.output/public/_nuxt/D34EmFco.js +0 -1
- package/.output/public/_nuxt/D4OhWExI.js +0 -1
- package/.output/public/_nuxt/DDHikT5j.js +0 -1
- package/.output/public/_nuxt/DDTT3lYc.js +0 -1
- package/.output/public/_nuxt/DHLkt8Yr.js +0 -1
- package/.output/public/_nuxt/DHuTDtaT.js +0 -12
- package/.output/public/_nuxt/DKYwYmdq.js +0 -1
- package/.output/public/_nuxt/DMDPKkZ0.js +0 -1
- package/.output/public/_nuxt/DNEoBllO.js +0 -1
- package/.output/public/_nuxt/DRzH1pOL.js +0 -1
- package/.output/public/_nuxt/DSUF3NDE.js +0 -1
- package/.output/public/_nuxt/DTAwr92a.js +0 -1
- package/.output/public/_nuxt/DWmtspXK.js +0 -1
- package/.output/public/_nuxt/DXh9HyqW.js +0 -1
- package/.output/public/_nuxt/DXtl0MQI.js +0 -1
- package/.output/public/_nuxt/D_zCY0Xl.js +0 -1
- package/.output/public/_nuxt/DaZJpzOl.js +0 -1
- package/.output/public/_nuxt/Df68jz8_.js +0 -1
- package/.output/public/_nuxt/DhQfdAdO.js +0 -1
- package/.output/public/_nuxt/DiinP2Uv.js +0 -1
- package/.output/public/_nuxt/DljmTZ5-.js +0 -1
- package/.output/public/_nuxt/Dm4QKadl.js +0 -26
- package/.output/public/_nuxt/DmCK90gL.js +0 -1
- package/.output/public/_nuxt/Dn2_MT6a.js +0 -1
- package/.output/public/_nuxt/Don94nLk.js +0 -1
- package/.output/public/_nuxt/Dr8Zlu6v.js +0 -1
- package/.output/public/_nuxt/Drp5UXmf.js +0 -1
- package/.output/public/_nuxt/DtFoCuZo.js +0 -1
- package/.output/public/_nuxt/DxuitVdg.js +0 -2
- package/.output/public/_nuxt/DyJlTyXw.js +0 -1
- package/.output/public/_nuxt/Jep7L2Wt.js +0 -1
- package/.output/public/_nuxt/LUl67wzp.js +0 -1
- package/.output/public/_nuxt/M2rHlmBj.js +0 -1
- package/.output/public/_nuxt/N3RVRbLb.js +0 -1
- package/.output/public/_nuxt/NBseiqgx.js +0 -1
- package/.output/public/_nuxt/PoHY5YXO.js +0 -1
- package/.output/public/_nuxt/SdwduGaY.js +0 -1
- package/.output/public/_nuxt/SytC7lKg.js +0 -1
- package/.output/public/_nuxt/U3pqMjXV.js +0 -1
- package/.output/public/_nuxt/UInuXPgp.js +0 -1
- package/.output/public/_nuxt/YXI84j39.js +0 -2
- package/.output/public/_nuxt/ZZ6g6dXy.js +0 -2
- package/.output/public/_nuxt/builds/meta/033f259e-8ba9-4c82-8824-56febea80b7d.json +0 -1
- package/.output/public/_nuxt/dglhsJpM.js +0 -1
- package/.output/public/_nuxt/dwrHE3tM.js +0 -14
- package/.output/public/_nuxt/edge-router-yEORMNQw.js +0 -4
- package/.output/public/_nuxt/error-404.CttAF9VE.css +0 -1
- package/.output/public/_nuxt/error-500.DXXd6-x4.css +0 -1
- package/.output/public/_nuxt/ga9TZ2z5.js +0 -1
- package/.output/public/_nuxt/graph-layout-CFj469YF.js +0 -1
- package/.output/public/_nuxt/graph-resolver-eG1ZUsYn.js +0 -166
- package/.output/public/_nuxt/ov4D99rA.js +0 -1
- package/.output/public/_nuxt/qYU5Tabh.js +0 -1
- package/.output/public/_nuxt/qliWkHmV.js +0 -1
- package/.output/public/_nuxt/vuetify.BrkCt9t5.css +0 -5
- package/.output/public/_nuxt/yaml.worker-CQ6dFw39.js +0 -405
- package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +0 -9
- package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +0 -9
|
@@ -72,16 +72,6 @@ export const $ZodType = /*@__PURE__*/ core.$constructor("$ZodType", (inst, def)
|
|
|
72
72
|
}
|
|
73
73
|
return payload;
|
|
74
74
|
};
|
|
75
|
-
// const handleChecksResult = (
|
|
76
|
-
// checkResult: ParsePayload,
|
|
77
|
-
// originalResult: ParsePayload,
|
|
78
|
-
// ctx: ParseContextInternal
|
|
79
|
-
// ): util.MaybeAsync<ParsePayload> => {
|
|
80
|
-
// // if the checks mutated the value && there are no issues, re-parse the result
|
|
81
|
-
// if (checkResult.value !== originalResult.value && !checkResult.issues.length)
|
|
82
|
-
// return inst._zod.parse(checkResult, ctx);
|
|
83
|
-
// return originalResult;
|
|
84
|
-
// };
|
|
85
75
|
const handleCanaryResult = (canary, payload, ctx) => {
|
|
86
76
|
// abort if the canary is aborted
|
|
87
77
|
if (util.aborted(canary)) {
|
|
@@ -122,7 +112,8 @@ export const $ZodType = /*@__PURE__*/ core.$constructor("$ZodType", (inst, def)
|
|
|
122
112
|
return runChecks(result, checks, ctx);
|
|
123
113
|
};
|
|
124
114
|
}
|
|
125
|
-
|
|
115
|
+
// Lazy initialize ~standard to avoid creating objects for every schema
|
|
116
|
+
util.defineLazy(inst, "~standard", () => ({
|
|
126
117
|
validate: (value) => {
|
|
127
118
|
try {
|
|
128
119
|
const r = safeParse(inst, value);
|
|
@@ -134,7 +125,7 @@ export const $ZodType = /*@__PURE__*/ core.$constructor("$ZodType", (inst, def)
|
|
|
134
125
|
},
|
|
135
126
|
vendor: "zod",
|
|
136
127
|
version: 1,
|
|
137
|
-
};
|
|
128
|
+
}));
|
|
138
129
|
});
|
|
139
130
|
export { clone } from "./util.js";
|
|
140
131
|
export const $ZodString = /*@__PURE__*/ core.$constructor("$ZodString", (inst, def) => {
|
|
@@ -206,7 +197,7 @@ export const $ZodURL = /*@__PURE__*/ core.$constructor("$ZodURL", (inst, def) =>
|
|
|
206
197
|
code: "invalid_format",
|
|
207
198
|
format: "url",
|
|
208
199
|
note: "Invalid hostname",
|
|
209
|
-
pattern:
|
|
200
|
+
pattern: def.hostname.source,
|
|
210
201
|
input: payload.value,
|
|
211
202
|
inst,
|
|
212
203
|
continue: !def.abort,
|
|
@@ -296,18 +287,12 @@ export const $ZodISODuration = /*@__PURE__*/ core.$constructor("$ZodISODuration"
|
|
|
296
287
|
export const $ZodIPv4 = /*@__PURE__*/ core.$constructor("$ZodIPv4", (inst, def) => {
|
|
297
288
|
def.pattern ?? (def.pattern = regexes.ipv4);
|
|
298
289
|
$ZodStringFormat.init(inst, def);
|
|
299
|
-
inst._zod.
|
|
300
|
-
const bag = inst._zod.bag;
|
|
301
|
-
bag.format = `ipv4`;
|
|
302
|
-
});
|
|
290
|
+
inst._zod.bag.format = `ipv4`;
|
|
303
291
|
});
|
|
304
292
|
export const $ZodIPv6 = /*@__PURE__*/ core.$constructor("$ZodIPv6", (inst, def) => {
|
|
305
293
|
def.pattern ?? (def.pattern = regexes.ipv6);
|
|
306
294
|
$ZodStringFormat.init(inst, def);
|
|
307
|
-
inst._zod.
|
|
308
|
-
const bag = inst._zod.bag;
|
|
309
|
-
bag.format = `ipv6`;
|
|
310
|
-
});
|
|
295
|
+
inst._zod.bag.format = `ipv6`;
|
|
311
296
|
inst._zod.check = (payload) => {
|
|
312
297
|
try {
|
|
313
298
|
// @ts-ignore
|
|
@@ -325,6 +310,11 @@ export const $ZodIPv6 = /*@__PURE__*/ core.$constructor("$ZodIPv6", (inst, def)
|
|
|
325
310
|
}
|
|
326
311
|
};
|
|
327
312
|
});
|
|
313
|
+
export const $ZodMAC = /*@__PURE__*/ core.$constructor("$ZodMAC", (inst, def) => {
|
|
314
|
+
def.pattern ?? (def.pattern = regexes.mac(def.delimiter));
|
|
315
|
+
$ZodStringFormat.init(inst, def);
|
|
316
|
+
inst._zod.bag.format = `mac`;
|
|
317
|
+
});
|
|
328
318
|
export const $ZodCIDRv4 = /*@__PURE__*/ core.$constructor("$ZodCIDRv4", (inst, def) => {
|
|
329
319
|
def.pattern ?? (def.pattern = regexes.cidrv4);
|
|
330
320
|
$ZodStringFormat.init(inst, def);
|
|
@@ -377,9 +367,7 @@ export function isValidBase64(data) {
|
|
|
377
367
|
export const $ZodBase64 = /*@__PURE__*/ core.$constructor("$ZodBase64", (inst, def) => {
|
|
378
368
|
def.pattern ?? (def.pattern = regexes.base64);
|
|
379
369
|
$ZodStringFormat.init(inst, def);
|
|
380
|
-
inst._zod.
|
|
381
|
-
inst._zod.bag.contentEncoding = "base64";
|
|
382
|
-
});
|
|
370
|
+
inst._zod.bag.contentEncoding = "base64";
|
|
383
371
|
inst._zod.check = (payload) => {
|
|
384
372
|
if (isValidBase64(payload.value))
|
|
385
373
|
return;
|
|
@@ -403,9 +391,7 @@ export function isValidBase64URL(data) {
|
|
|
403
391
|
export const $ZodBase64URL = /*@__PURE__*/ core.$constructor("$ZodBase64URL", (inst, def) => {
|
|
404
392
|
def.pattern ?? (def.pattern = regexes.base64url);
|
|
405
393
|
$ZodStringFormat.init(inst, def);
|
|
406
|
-
inst._zod.
|
|
407
|
-
inst._zod.bag.contentEncoding = "base64url";
|
|
408
|
-
});
|
|
394
|
+
inst._zod.bag.contentEncoding = "base64url";
|
|
409
395
|
inst._zod.check = (payload) => {
|
|
410
396
|
if (isValidBase64URL(payload.value))
|
|
411
397
|
return;
|
|
@@ -503,9 +489,9 @@ export const $ZodNumber = /*@__PURE__*/ core.$constructor("$ZodNumber", (inst, d
|
|
|
503
489
|
return payload;
|
|
504
490
|
};
|
|
505
491
|
});
|
|
506
|
-
export const $ZodNumberFormat = /*@__PURE__*/ core.$constructor("$
|
|
492
|
+
export const $ZodNumberFormat = /*@__PURE__*/ core.$constructor("$ZodNumberFormat", (inst, def) => {
|
|
507
493
|
checks.$ZodCheckNumberFormat.init(inst, def);
|
|
508
|
-
$ZodNumber.init(inst, def); // no format
|
|
494
|
+
$ZodNumber.init(inst, def); // no format checks
|
|
509
495
|
});
|
|
510
496
|
export const $ZodBoolean = /*@__PURE__*/ core.$constructor("$ZodBoolean", (inst, def) => {
|
|
511
497
|
$ZodType.init(inst, def);
|
|
@@ -548,7 +534,7 @@ export const $ZodBigInt = /*@__PURE__*/ core.$constructor("$ZodBigInt", (inst, d
|
|
|
548
534
|
return payload;
|
|
549
535
|
};
|
|
550
536
|
});
|
|
551
|
-
export const $ZodBigIntFormat = /*@__PURE__*/ core.$constructor("$
|
|
537
|
+
export const $ZodBigIntFormat = /*@__PURE__*/ core.$constructor("$ZodBigIntFormat", (inst, def) => {
|
|
552
538
|
checks.$ZodCheckBigIntFormat.init(inst, def);
|
|
553
539
|
$ZodBigInt.init(inst, def); // no format checks
|
|
554
540
|
});
|
|
@@ -702,8 +688,12 @@ export const $ZodArray = /*@__PURE__*/ core.$constructor("$ZodArray", (inst, def
|
|
|
702
688
|
return payload; //handleArrayResultsAsync(parseResults, final);
|
|
703
689
|
};
|
|
704
690
|
});
|
|
705
|
-
function handlePropertyResult(result, final, key, input) {
|
|
691
|
+
function handlePropertyResult(result, final, key, input, isOptionalOut) {
|
|
706
692
|
if (result.issues.length) {
|
|
693
|
+
// For optional-out schemas, ignore errors on absent keys
|
|
694
|
+
if (isOptionalOut && !(key in input)) {
|
|
695
|
+
return;
|
|
696
|
+
}
|
|
707
697
|
final.issues.push(...util.prefixIssues(key, result.issues));
|
|
708
698
|
}
|
|
709
699
|
if (result.value === undefined) {
|
|
@@ -737,7 +727,8 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
737
727
|
const keySet = def.keySet;
|
|
738
728
|
const _catchall = def.catchall._zod;
|
|
739
729
|
const t = _catchall.def.type;
|
|
740
|
-
|
|
730
|
+
const isOptionalOut = _catchall.optout === "optional";
|
|
731
|
+
for (const key in input) {
|
|
741
732
|
if (keySet.has(key))
|
|
742
733
|
continue;
|
|
743
734
|
if (t === "never") {
|
|
@@ -746,10 +737,10 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
746
737
|
}
|
|
747
738
|
const r = _catchall.run({ value: input[key], issues: [] }, ctx);
|
|
748
739
|
if (r instanceof Promise) {
|
|
749
|
-
proms.push(r.then((r) => handlePropertyResult(r, payload, key, input)));
|
|
740
|
+
proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalOut)));
|
|
750
741
|
}
|
|
751
742
|
else {
|
|
752
|
-
handlePropertyResult(r, payload, key, input);
|
|
743
|
+
handlePropertyResult(r, payload, key, input, isOptionalOut);
|
|
753
744
|
}
|
|
754
745
|
}
|
|
755
746
|
if (unrecognized.length) {
|
|
@@ -817,12 +808,13 @@ export const $ZodObject = /*@__PURE__*/ core.$constructor("$ZodObject", (inst, d
|
|
|
817
808
|
const shape = value.shape;
|
|
818
809
|
for (const key of value.keys) {
|
|
819
810
|
const el = shape[key];
|
|
811
|
+
const isOptionalOut = el._zod.optout === "optional";
|
|
820
812
|
const r = el._zod.run({ value: input[key], issues: [] }, ctx);
|
|
821
813
|
if (r instanceof Promise) {
|
|
822
|
-
proms.push(r.then((r) => handlePropertyResult(r, payload, key, input)));
|
|
814
|
+
proms.push(r.then((r) => handlePropertyResult(r, payload, key, input, isOptionalOut)));
|
|
823
815
|
}
|
|
824
816
|
else {
|
|
825
|
-
handlePropertyResult(r, payload, key, input);
|
|
817
|
+
handlePropertyResult(r, payload, key, input, isOptionalOut);
|
|
826
818
|
}
|
|
827
819
|
}
|
|
828
820
|
if (!catchall) {
|
|
@@ -854,8 +846,33 @@ export const $ZodObjectJIT = /*@__PURE__*/ core.$constructor("$ZodObjectJIT", (i
|
|
|
854
846
|
for (const key of normalized.keys) {
|
|
855
847
|
const id = ids[key];
|
|
856
848
|
const k = util.esc(key);
|
|
849
|
+
const schema = shape[key];
|
|
850
|
+
const isOptionalOut = schema?._zod?.optout === "optional";
|
|
857
851
|
doc.write(`const ${id} = ${parseStr(key)};`);
|
|
858
|
-
|
|
852
|
+
if (isOptionalOut) {
|
|
853
|
+
// For optional-out schemas, ignore errors on absent keys
|
|
854
|
+
doc.write(`
|
|
855
|
+
if (${id}.issues.length) {
|
|
856
|
+
if (${k} in input) {
|
|
857
|
+
payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
|
|
858
|
+
...iss,
|
|
859
|
+
path: iss.path ? [${k}, ...iss.path] : [${k}]
|
|
860
|
+
})));
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
if (${id}.value === undefined) {
|
|
865
|
+
if (${k} in input) {
|
|
866
|
+
newResult[${k}] = undefined;
|
|
867
|
+
}
|
|
868
|
+
} else {
|
|
869
|
+
newResult[${k}] = ${id}.value;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
`);
|
|
873
|
+
}
|
|
874
|
+
else {
|
|
875
|
+
doc.write(`
|
|
859
876
|
if (${id}.issues.length) {
|
|
860
877
|
payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
|
|
861
878
|
...iss,
|
|
@@ -863,7 +880,6 @@ export const $ZodObjectJIT = /*@__PURE__*/ core.$constructor("$ZodObjectJIT", (i
|
|
|
863
880
|
})));
|
|
864
881
|
}
|
|
865
882
|
|
|
866
|
-
|
|
867
883
|
if (${id}.value === undefined) {
|
|
868
884
|
if (${k} in input) {
|
|
869
885
|
newResult[${k}] = undefined;
|
|
@@ -873,6 +889,7 @@ export const $ZodObjectJIT = /*@__PURE__*/ core.$constructor("$ZodObjectJIT", (i
|
|
|
873
889
|
}
|
|
874
890
|
|
|
875
891
|
`);
|
|
892
|
+
}
|
|
876
893
|
}
|
|
877
894
|
doc.write(`payload.value = newResult;`);
|
|
878
895
|
doc.write(`return payload;`);
|
|
@@ -977,9 +994,68 @@ export const $ZodUnion = /*@__PURE__*/ core.$constructor("$ZodUnion", (inst, def
|
|
|
977
994
|
});
|
|
978
995
|
};
|
|
979
996
|
});
|
|
997
|
+
function handleExclusiveUnionResults(results, final, inst, ctx) {
|
|
998
|
+
const successes = results.filter((r) => r.issues.length === 0);
|
|
999
|
+
if (successes.length === 1) {
|
|
1000
|
+
final.value = successes[0].value;
|
|
1001
|
+
return final;
|
|
1002
|
+
}
|
|
1003
|
+
if (successes.length === 0) {
|
|
1004
|
+
// No matches - same as regular union
|
|
1005
|
+
final.issues.push({
|
|
1006
|
+
code: "invalid_union",
|
|
1007
|
+
input: final.value,
|
|
1008
|
+
inst,
|
|
1009
|
+
errors: results.map((result) => result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config()))),
|
|
1010
|
+
});
|
|
1011
|
+
}
|
|
1012
|
+
else {
|
|
1013
|
+
// Multiple matches - exclusive union failure
|
|
1014
|
+
final.issues.push({
|
|
1015
|
+
code: "invalid_union",
|
|
1016
|
+
input: final.value,
|
|
1017
|
+
inst,
|
|
1018
|
+
errors: [],
|
|
1019
|
+
inclusive: false,
|
|
1020
|
+
});
|
|
1021
|
+
}
|
|
1022
|
+
return final;
|
|
1023
|
+
}
|
|
1024
|
+
export const $ZodXor = /*@__PURE__*/ core.$constructor("$ZodXor", (inst, def) => {
|
|
1025
|
+
$ZodUnion.init(inst, def);
|
|
1026
|
+
def.inclusive = false;
|
|
1027
|
+
const single = def.options.length === 1;
|
|
1028
|
+
const first = def.options[0]._zod.run;
|
|
1029
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1030
|
+
if (single) {
|
|
1031
|
+
return first(payload, ctx);
|
|
1032
|
+
}
|
|
1033
|
+
let async = false;
|
|
1034
|
+
const results = [];
|
|
1035
|
+
for (const option of def.options) {
|
|
1036
|
+
const result = option._zod.run({
|
|
1037
|
+
value: payload.value,
|
|
1038
|
+
issues: [],
|
|
1039
|
+
}, ctx);
|
|
1040
|
+
if (result instanceof Promise) {
|
|
1041
|
+
results.push(result);
|
|
1042
|
+
async = true;
|
|
1043
|
+
}
|
|
1044
|
+
else {
|
|
1045
|
+
results.push(result);
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
if (!async)
|
|
1049
|
+
return handleExclusiveUnionResults(results, payload, inst, ctx);
|
|
1050
|
+
return Promise.all(results).then((results) => {
|
|
1051
|
+
return handleExclusiveUnionResults(results, payload, inst, ctx);
|
|
1052
|
+
});
|
|
1053
|
+
};
|
|
1054
|
+
});
|
|
980
1055
|
export const $ZodDiscriminatedUnion =
|
|
981
1056
|
/*@__PURE__*/
|
|
982
1057
|
core.$constructor("$ZodDiscriminatedUnion", (inst, def) => {
|
|
1058
|
+
def.inclusive = false;
|
|
983
1059
|
$ZodUnion.init(inst, def);
|
|
984
1060
|
const _super = inst._zod.parse;
|
|
985
1061
|
util.defineLazy(inst._zod, "propValues", () => {
|
|
@@ -1107,11 +1183,38 @@ function mergeValues(a, b) {
|
|
|
1107
1183
|
return { valid: false, mergeErrorPath: [] };
|
|
1108
1184
|
}
|
|
1109
1185
|
function handleIntersectionResults(result, left, right) {
|
|
1110
|
-
|
|
1111
|
-
|
|
1186
|
+
// Track which side(s) report each key as unrecognized
|
|
1187
|
+
const unrecKeys = new Map();
|
|
1188
|
+
let unrecIssue;
|
|
1189
|
+
for (const iss of left.issues) {
|
|
1190
|
+
if (iss.code === "unrecognized_keys") {
|
|
1191
|
+
unrecIssue ?? (unrecIssue = iss);
|
|
1192
|
+
for (const k of iss.keys) {
|
|
1193
|
+
if (!unrecKeys.has(k))
|
|
1194
|
+
unrecKeys.set(k, {});
|
|
1195
|
+
unrecKeys.get(k).l = true;
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
else {
|
|
1199
|
+
result.issues.push(iss);
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
for (const iss of right.issues) {
|
|
1203
|
+
if (iss.code === "unrecognized_keys") {
|
|
1204
|
+
for (const k of iss.keys) {
|
|
1205
|
+
if (!unrecKeys.has(k))
|
|
1206
|
+
unrecKeys.set(k, {});
|
|
1207
|
+
unrecKeys.get(k).r = true;
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
else {
|
|
1211
|
+
result.issues.push(iss);
|
|
1212
|
+
}
|
|
1112
1213
|
}
|
|
1113
|
-
|
|
1114
|
-
|
|
1214
|
+
// Report only keys unrecognized by BOTH sides
|
|
1215
|
+
const bothKeys = [...unrecKeys].filter(([, f]) => f.l && f.r).map(([k]) => k);
|
|
1216
|
+
if (bothKeys.length && unrecIssue) {
|
|
1217
|
+
result.issues.push({ ...unrecIssue, keys: bothKeys });
|
|
1115
1218
|
}
|
|
1116
1219
|
if (util.aborted(result))
|
|
1117
1220
|
return result;
|
|
@@ -1125,7 +1228,6 @@ function handleIntersectionResults(result, left, right) {
|
|
|
1125
1228
|
export const $ZodTuple = /*@__PURE__*/ core.$constructor("$ZodTuple", (inst, def) => {
|
|
1126
1229
|
$ZodType.init(inst, def);
|
|
1127
1230
|
const items = def.items;
|
|
1128
|
-
const optStart = items.length - [...items].reverse().findIndex((item) => item._zod.optin !== "optional");
|
|
1129
1231
|
inst._zod.parse = (payload, ctx) => {
|
|
1130
1232
|
const input = payload.value;
|
|
1131
1233
|
if (!Array.isArray(input)) {
|
|
@@ -1139,12 +1241,16 @@ export const $ZodTuple = /*@__PURE__*/ core.$constructor("$ZodTuple", (inst, def
|
|
|
1139
1241
|
}
|
|
1140
1242
|
payload.value = [];
|
|
1141
1243
|
const proms = [];
|
|
1244
|
+
const reversedIndex = [...items].reverse().findIndex((item) => item._zod.optin !== "optional");
|
|
1245
|
+
const optStart = reversedIndex === -1 ? 0 : items.length - reversedIndex;
|
|
1142
1246
|
if (!def.rest) {
|
|
1143
1247
|
const tooBig = input.length > items.length;
|
|
1144
1248
|
const tooSmall = input.length < optStart - 1;
|
|
1145
1249
|
if (tooBig || tooSmall) {
|
|
1146
1250
|
payload.issues.push({
|
|
1147
|
-
...(tooBig
|
|
1251
|
+
...(tooBig
|
|
1252
|
+
? { code: "too_big", maximum: items.length, inclusive: true }
|
|
1253
|
+
: { code: "too_small", minimum: items.length }),
|
|
1148
1254
|
input,
|
|
1149
1255
|
inst,
|
|
1150
1256
|
origin: "array",
|
|
@@ -1210,11 +1316,13 @@ export const $ZodRecord = /*@__PURE__*/ core.$constructor("$ZodRecord", (inst, d
|
|
|
1210
1316
|
return payload;
|
|
1211
1317
|
}
|
|
1212
1318
|
const proms = [];
|
|
1213
|
-
|
|
1214
|
-
|
|
1319
|
+
const values = def.keyType._zod.values;
|
|
1320
|
+
if (values) {
|
|
1215
1321
|
payload.value = {};
|
|
1322
|
+
const recordKeys = new Set();
|
|
1216
1323
|
for (const key of values) {
|
|
1217
1324
|
if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
|
|
1325
|
+
recordKeys.add(typeof key === "number" ? key.toString() : key);
|
|
1218
1326
|
const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
|
|
1219
1327
|
if (result instanceof Promise) {
|
|
1220
1328
|
proms.push(result.then((result) => {
|
|
@@ -1234,7 +1342,7 @@ export const $ZodRecord = /*@__PURE__*/ core.$constructor("$ZodRecord", (inst, d
|
|
|
1234
1342
|
}
|
|
1235
1343
|
let unrecognized;
|
|
1236
1344
|
for (const key in input) {
|
|
1237
|
-
if (!
|
|
1345
|
+
if (!recordKeys.has(key)) {
|
|
1238
1346
|
unrecognized = unrecognized ?? [];
|
|
1239
1347
|
unrecognized.push(key);
|
|
1240
1348
|
}
|
|
@@ -1253,20 +1361,38 @@ export const $ZodRecord = /*@__PURE__*/ core.$constructor("$ZodRecord", (inst, d
|
|
|
1253
1361
|
for (const key of Reflect.ownKeys(input)) {
|
|
1254
1362
|
if (key === "__proto__")
|
|
1255
1363
|
continue;
|
|
1256
|
-
|
|
1364
|
+
let keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
|
|
1257
1365
|
if (keyResult instanceof Promise) {
|
|
1258
1366
|
throw new Error("Async schemas not supported in object keys currently");
|
|
1259
1367
|
}
|
|
1368
|
+
// Numeric string fallback: if key is a numeric string and failed, retry with Number(key)
|
|
1369
|
+
// This handles z.number(), z.literal([1, 2, 3]), and unions containing numeric literals
|
|
1370
|
+
const checkNumericKey = typeof key === "string" && regexes.number.test(key) && keyResult.issues.length;
|
|
1371
|
+
if (checkNumericKey) {
|
|
1372
|
+
const retryResult = def.keyType._zod.run({ value: Number(key), issues: [] }, ctx);
|
|
1373
|
+
if (retryResult instanceof Promise) {
|
|
1374
|
+
throw new Error("Async schemas not supported in object keys currently");
|
|
1375
|
+
}
|
|
1376
|
+
if (retryResult.issues.length === 0) {
|
|
1377
|
+
keyResult = retryResult;
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1260
1380
|
if (keyResult.issues.length) {
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1381
|
+
if (def.mode === "loose") {
|
|
1382
|
+
// Pass through unchanged
|
|
1383
|
+
payload.value[key] = input[key];
|
|
1384
|
+
}
|
|
1385
|
+
else {
|
|
1386
|
+
// Default "strict" behavior: error on invalid key
|
|
1387
|
+
payload.issues.push({
|
|
1388
|
+
code: "invalid_key",
|
|
1389
|
+
origin: "record",
|
|
1390
|
+
issues: keyResult.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config())),
|
|
1391
|
+
input: key,
|
|
1392
|
+
path: [key],
|
|
1393
|
+
inst,
|
|
1394
|
+
});
|
|
1395
|
+
}
|
|
1270
1396
|
continue;
|
|
1271
1397
|
}
|
|
1272
1398
|
const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
|
|
@@ -1418,13 +1544,14 @@ export const $ZodLiteral = /*@__PURE__*/ core.$constructor("$ZodLiteral", (inst,
|
|
|
1418
1544
|
if (def.values.length === 0) {
|
|
1419
1545
|
throw new Error("Cannot create literal schema with no valid values");
|
|
1420
1546
|
}
|
|
1421
|
-
|
|
1547
|
+
const values = new Set(def.values);
|
|
1548
|
+
inst._zod.values = values;
|
|
1422
1549
|
inst._zod.pattern = new RegExp(`^(${def.values
|
|
1423
1550
|
.map((o) => (typeof o === "string" ? util.escapeRegex(o) : o ? util.escapeRegex(o.toString()) : String(o)))
|
|
1424
1551
|
.join("|")})$`);
|
|
1425
1552
|
inst._zod.parse = (payload, _ctx) => {
|
|
1426
1553
|
const input = payload.value;
|
|
1427
|
-
if (
|
|
1554
|
+
if (values.has(input)) {
|
|
1428
1555
|
return payload;
|
|
1429
1556
|
}
|
|
1430
1557
|
payload.issues.push({
|
|
@@ -1503,6 +1630,17 @@ export const $ZodOptional = /*@__PURE__*/ core.$constructor("$ZodOptional", (ins
|
|
|
1503
1630
|
return def.innerType._zod.run(payload, ctx);
|
|
1504
1631
|
};
|
|
1505
1632
|
});
|
|
1633
|
+
export const $ZodExactOptional = /*@__PURE__*/ core.$constructor("$ZodExactOptional", (inst, def) => {
|
|
1634
|
+
// Call parent init - inherits optin/optout = "optional"
|
|
1635
|
+
$ZodOptional.init(inst, def);
|
|
1636
|
+
// Override values/pattern to NOT add undefined
|
|
1637
|
+
util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
1638
|
+
util.defineLazy(inst._zod, "pattern", () => def.innerType._zod.pattern);
|
|
1639
|
+
// Override parse to just delegate (no undefined handling)
|
|
1640
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1641
|
+
return def.innerType._zod.run(payload, ctx);
|
|
1642
|
+
};
|
|
1643
|
+
});
|
|
1506
1644
|
export const $ZodNullable = /*@__PURE__*/ core.$constructor("$ZodNullable", (inst, def) => {
|
|
1507
1645
|
$ZodType.init(inst, def);
|
|
1508
1646
|
util.defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
|
|
@@ -1752,8 +1890,8 @@ export const $ZodReadonly = /*@__PURE__*/ core.$constructor("$ZodReadonly", (ins
|
|
|
1752
1890
|
$ZodType.init(inst, def);
|
|
1753
1891
|
util.defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
1754
1892
|
util.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
1755
|
-
util.defineLazy(inst._zod, "optin", () => def.innerType
|
|
1756
|
-
util.defineLazy(inst._zod, "optout", () => def.innerType
|
|
1893
|
+
util.defineLazy(inst._zod, "optin", () => def.innerType?._zod?.optin);
|
|
1894
|
+
util.defineLazy(inst._zod, "optout", () => def.innerType?._zod?.optout);
|
|
1757
1895
|
inst._zod.parse = (payload, ctx) => {
|
|
1758
1896
|
if (ctx.direction === "backward") {
|
|
1759
1897
|
return def.innerType._zod.run(payload, ctx);
|
|
@@ -1799,7 +1937,7 @@ export const $ZodTemplateLiteral = /*@__PURE__*/ core.$constructor("$ZodTemplate
|
|
|
1799
1937
|
payload.issues.push({
|
|
1800
1938
|
input: payload.value,
|
|
1801
1939
|
inst,
|
|
1802
|
-
expected: "
|
|
1940
|
+
expected: "string",
|
|
1803
1941
|
code: "invalid_type",
|
|
1804
1942
|
});
|
|
1805
1943
|
return payload;
|
|
@@ -1913,10 +2051,10 @@ export const $ZodLazy = /*@__PURE__*/ core.$constructor("$ZodLazy", (inst, def)
|
|
|
1913
2051
|
// return () => _innerType;
|
|
1914
2052
|
// });
|
|
1915
2053
|
util.defineLazy(inst._zod, "innerType", () => def.getter());
|
|
1916
|
-
util.defineLazy(inst._zod, "pattern", () => inst._zod.innerType
|
|
1917
|
-
util.defineLazy(inst._zod, "propValues", () => inst._zod.innerType
|
|
1918
|
-
util.defineLazy(inst._zod, "optin", () => inst._zod.innerType
|
|
1919
|
-
util.defineLazy(inst._zod, "optout", () => inst._zod.innerType
|
|
2054
|
+
util.defineLazy(inst._zod, "pattern", () => inst._zod.innerType?._zod?.pattern);
|
|
2055
|
+
util.defineLazy(inst._zod, "propValues", () => inst._zod.innerType?._zod?.propValues);
|
|
2056
|
+
util.defineLazy(inst._zod, "optin", () => inst._zod.innerType?._zod?.optin ?? undefined);
|
|
2057
|
+
util.defineLazy(inst._zod, "optout", () => inst._zod.innerType?._zod?.optout ?? undefined);
|
|
1920
2058
|
inst._zod.parse = (payload, ctx) => {
|
|
1921
2059
|
const inner = inst._zod.innerType;
|
|
1922
2060
|
return inner._zod.run(payload, ctx);
|