nuxt-ignis 0.5.0-rc.1 → 0.5.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/.data/content/contents.sqlite +0 -0
- package/.env +1 -1
- package/.nuxt/components.d.ts +414 -232
- package/.nuxt/content/components.ts +206 -108
- package/.nuxt/dev/index.mjs +1092 -726
- package/.nuxt/dev/index.mjs.map +1 -1
- package/.nuxt/dist/server/client.manifest.mjs +1 -18
- package/.nuxt/dist/server/client.precomputed.mjs +1 -0
- package/.nuxt/eslint-typegen.d.ts +115 -7
- package/.nuxt/eslint.config.d.mts +3 -3
- package/.nuxt/eslint.config.mjs +11 -11
- package/.nuxt/imports.d.ts +63 -59
- package/.nuxt/manifest/latest.json +1 -1
- package/.nuxt/manifest/meta/dev.json +1 -1
- package/.nuxt/mdc-highlighter.mjs +4 -0
- package/.nuxt/mdc-image-component.mjs +1 -1
- package/.nuxt/module/nuxt-robots.d.ts +12 -12
- package/.nuxt/module/nuxt-seo-utils.d.ts +10 -10
- package/.nuxt/module/nuxt-site-config.d.ts +11 -8
- package/.nuxt/module/nuxt-sitemap.d.ts +17 -17
- package/.nuxt/nitro.json +5 -5
- package/.nuxt/nuxt.d.ts +13 -9
- package/.nuxt/nuxt.json +2 -2
- package/.nuxt/nuxt.node.d.ts +13 -8
- package/.nuxt/tsconfig.app.json +197 -173
- package/.nuxt/tsconfig.json +199 -172
- package/.nuxt/tsconfig.node.json +108 -91
- package/.nuxt/tsconfig.server.json +131 -127
- package/.nuxt/tsconfig.shared.json +61 -56
- package/.nuxt/types/build.d.ts +2 -1
- package/.nuxt/types/components.d.ts +482 -300
- package/.nuxt/types/i18n-plugin.d.ts +2 -2
- package/.nuxt/types/imports.d.ts +689 -679
- package/.nuxt/types/modules.d.ts +36 -16
- package/.nuxt/types/nitro-imports.d.ts +250 -250
- package/.nuxt/types/nitro-nuxt.d.ts +4 -1
- package/.nuxt/types/nitro-routes.d.ts +20 -20
- package/.nuxt/types/plugins.d.ts +37 -37
- package/.nuxt/types/ui.d.ts +3 -3
- package/.nuxt/ui/drawer.ts +23 -0
- package/.nuxt/ui/progress.ts +3 -3
- package/.nuxt/ui-image-component.ts +1 -1
- package/.output/nitro.json +3 -3
- package/.output/public/_fonts/31PZhXd_YTCmsoiPQZc-xVtAWAkLogRFRj5mWplmKFE-6WsTw05QKugcwLySGc_b9CIheG8j8LRyo47qPL430Mk.woff2 +0 -0
- package/.output/public/_fonts/9FWLUGCSCYLRIRMtCzLrt4Go7DMFXOeN_pyCOJD_44Y-Yh2wNaqrq_e759vVlc3tX81lMwRu9ktkQJX_Svgs-VI.woff2 +0 -0
- package/.output/public/_fonts/BQnDL9FFy0Q_jvURlmv87luvmXLSMbSuXsfZv_R2Rkk-y5MVrLtP4J_1al8rz8R-MDaUOMAHckAWCwDrKhw25fY.woff2 +0 -0
- package/.output/public/_fonts/JSrPAbQHsQEdUrIE5Ts6fIQ2ymsa4i7HhiCpui6ulCc-_AoyGWssOn06OMh3ZY_GddBBPRny4Igxin4fT_1K6F4.woff2 +0 -0
- package/.output/public/_fonts/Jtqhy44WKYEjGWTSusP5YJfJv7Wf74QqgkBOI9u_77s-Rl_Bht5SvmaotE20bkavBEAJEEGEa0hcz3d_8yOeXmw.woff +0 -0
- package/.output/public/_fonts/M-60tFLmAJxdPjHsK-2ILWom5zPbu37lb3Qex2waL14-A9y4QcXALPi_RvQsmRsSFUxrT3_J213W4zPFIXetlbw.woff2 +0 -0
- package/.output/public/_fonts/T-ozk-QJ_Ck37B2RHPl2i-s_gAGGo7suFgagWoJ8bO4-maDXQ_nEXKAaLHm4Joud3DJR9EVzS7QXWMWK8YOTIcs.woff2 +0 -0
- package/.output/public/_fonts/TTYbISAfwy-y4uVGS9AH32sK7b2xJsoCESo64ryf8LU-y87nRMqBGo42rUOW9tWZa06o4oTa0USJrAMMoKDamgs.woff2 +0 -0
- package/.output/public/_fonts/Y_5DOsLit49q2i2tbcNxnyUen9__GPCX8mwAi03q1aA-pBCjVKDT5tBT3BJckh9uzNkfUWeUIBPz9Y8T55vcj8E.woff2 +0 -0
- package/.output/public/_fonts/ZHaz3DhCHNWhsElqYfuM71rfBBDgjuU2sd34vaYJwQg-71NZaZSGjxzAGjCMnCc2zS5rS_EGA0xHKPGCggWuXik.woff +0 -0
- package/.output/public/_fonts/h9PwCjip_BNPVO50hT4v29USWFv6H3ZlYx_IestfqgY-sYfLVuZXl9E1aYbn1S0pAr4zfdQ_WT7iBZhrgQY6N-4.woff2 +0 -0
- package/.output/public/_fonts/l00UCz_-QvI_NO8AGcu7ooAcrFDlxYUdxCSCh6gBwd4-vPjTZ3ztgw27A2TnHeCycxPvUtXWEVpG33_97ra6su8.woff2 +0 -0
- package/.output/public/_fonts/nuenOq7ZFSZ65QudJO7uQ0sOjDqow2WjfXrQh4S9gEc-uF81rxcswER5srfhzyLfPoGlKNAIt2C_BvkXFOc19rw.woff2 +0 -0
- package/.output/public/_fonts/pWMvGwciZ-EfQsfR2ueelhC7Jnt5K-8Px8PjPK0mDII-eT9iD0iZ9WWhTJs6V5GxXr0iaUwx_WxgGGriOiGb81o.woff2 +0 -0
- package/.output/public/_fonts/y3mP_zJcojQwJn30TpF_XxDzgeM6Nbk7MaRg1Ne0YcI-lFx13nqMCMgk_S70gRmwEHXlE5BLp1B4W82RpFihpMs.woff2 +0 -0
- package/.output/public/_fonts/zr3WxpLd5PmlBr7e4PWGkhZv6XTg70Pi4sCbC-CEV0Q-v2yL98XOiD3FkbiYlYYeAeTSVSkgAckeOp55Q5kHJmU.woff2 +0 -0
- package/.output/public/_ignis-config.json +1789 -1
- package/.output/public/_nuxt/0gZNo08M.js +1 -0
- package/.output/public/_nuxt/4etphg87.js +1 -0
- package/.output/public/_nuxt/7oEH3i-J.js +1 -0
- package/.output/public/_nuxt/B0GskE-x.js +1 -0
- package/.output/public/_nuxt/B2rRIZLd.js +1 -0
- package/.output/public/_nuxt/B3Twp4np.js +1 -0
- package/.output/public/_nuxt/B4dafB1u.js +1 -0
- package/.output/public/_nuxt/B5v-AhRa.js +1 -0
- package/.output/public/_nuxt/BGIWR6zS.js +1 -0
- package/.output/public/_nuxt/BPF61Z69.js +1 -0
- package/.output/public/_nuxt/BX7sSsxl.js +1 -0
- package/.output/public/_nuxt/BcGXkrpD.js +1 -0
- package/.output/public/_nuxt/Bdmjn2k2.js +1 -0
- package/.output/public/_nuxt/BkwIJBVH.js +1 -0
- package/.output/public/_nuxt/{DXBpKbsa.js → Bs7HqoDE.js} +47 -42
- package/.output/public/_nuxt/BxBcowlq.js +1 -0
- package/.output/public/_nuxt/BxjWLNqQ.js +1 -0
- package/.output/public/_nuxt/CJT046op.js +1 -0
- package/.output/public/_nuxt/CNoaFijS.js +1 -0
- package/.output/public/_nuxt/COOHDsMA.js +1 -0
- package/.output/public/_nuxt/CT_jQ1c7.js +1 -0
- package/.output/public/_nuxt/CzjEkwvT.js +1 -0
- package/.output/public/_nuxt/D0gc1iwv.js +35 -0
- package/.output/public/_nuxt/DHbdVh9f.js +94 -0
- package/.output/public/_nuxt/DPk_8xPF.js +1 -0
- package/.output/public/_nuxt/DS02jnv_.js +1 -0
- package/.output/public/_nuxt/DcZxay5W.js +1 -0
- package/.output/public/_nuxt/Dj4M1E-R.js +1 -0
- package/.output/public/_nuxt/DrlW3O6H.js +1 -0
- package/.output/public/_nuxt/DzHDVFEa.js +1 -0
- package/.output/public/_nuxt/Kgt6q5rz.js +1 -0
- package/.output/public/_nuxt/_RaG-8ca.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/458d3dfb-5eef-4d52-b92b-109ceaa7a1ab.json +1 -0
- package/.output/public/_nuxt/entry.CtpkPzPO.css +1 -0
- package/.output/public/_nuxt/error-404.DzDu4Ean.css +1 -0
- package/.output/public/_nuxt/error-500.BdNqqJx7.css +1 -0
- package/.output/public/_nuxt/nE6m0q_v.js +1 -0
- package/.output/public/_nuxt/vueform.CkWb7x1C.css +1 -0
- package/.output/public/_nuxt/wTHp3vgs.js +1 -0
- package/.output/public/_nuxt/zBYuFSAQ.js +1 -0
- package/.output/public/nuxt-spec.png +0 -0
- package/.output/server/chunks/_/error-500.mjs +1 -1
- package/.output/server/chunks/_/error-500.mjs.map +1 -1
- package/.output/server/chunks/_/nitro.mjs +624 -580
- package/.output/server/chunks/_/nitro.mjs.map +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs +4 -0
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +10 -33
- package/.output/server/chunks/routes/renderer.mjs.map +1 -1
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/node_modules/@babel/parser/lib/index.js +212 -145
- package/.output/server/node_modules/@babel/parser/package.json +3 -3
- package/.output/server/node_modules/@poppinss/utils/package.json +1 -1
- package/.output/server/node_modules/@shikijs/core/package.json +2 -2
- package/.output/server/node_modules/@shikijs/engine-javascript/package.json +2 -2
- package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +2 -2
- package/.output/server/node_modules/@shikijs/langs/dist/javascript.mjs +1 -1
- package/.output/server/node_modules/@shikijs/langs/dist/typescript.mjs +1 -1
- package/.output/server/node_modules/@shikijs/langs/package.json +11 -3
- package/.output/server/node_modules/@shikijs/themes/package.json +3 -3
- package/.output/server/node_modules/@shikijs/transformers/package.json +3 -3
- package/.output/server/node_modules/@shikijs/types/package.json +1 -1
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +131 -96
- package/.output/server/node_modules/@vue/compiler-core/package.json +4 -4
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +4 -1
- 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 +10 -1
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +4 -3
- 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 +25 -27
- 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 +40 -14
- package/.output/server/node_modules/@vue/runtime-dom/package.json +4 -4
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +1 -1
- 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/debug/package.json +1 -1
- package/.output/server/node_modules/detect-libc/lib/detect-libc.js +59 -13
- package/.output/server/node_modules/detect-libc/lib/elf.js +39 -0
- package/.output/server/node_modules/detect-libc/lib/filesystem.js +18 -8
- package/.output/server/node_modules/detect-libc/package.json +5 -2
- package/.output/server/node_modules/devalue/package.json +1 -1
- package/.output/server/node_modules/devalue/src/parse.js +7 -1
- package/.output/server/node_modules/devalue/src/uneval.js +9 -8
- package/.output/server/node_modules/fast-xml-parser/package.json +1 -1
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +297 -287
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +3 -2
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +4 -4
- package/.output/server/node_modules/image-meta/dist/index.mjs +85 -4
- package/.output/server/node_modules/image-meta/package.json +12 -12
- package/.output/server/node_modules/is-arrayish/package.json +1 -1
- package/.output/server/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +2 -2
- package/.output/server/node_modules/node-fetch-native/dist/node.mjs +10 -10
- package/.output/server/node_modules/node-fetch-native/package.json +13 -13
- package/.output/server/node_modules/node-mock-http/dist/index.mjs +1 -1
- package/.output/server/node_modules/node-mock-http/package.json +6 -6
- package/.output/server/node_modules/oauth4webapi/build/index.js +10 -8
- package/.output/server/node_modules/oauth4webapi/package.json +12 -12
- package/.output/server/node_modules/openid-client/build/index.js +1 -1
- package/.output/server/node_modules/openid-client/package.json +7 -7
- package/.output/server/node_modules/secure-json-parse/index.js +35 -0
- package/.output/server/node_modules/secure-json-parse/package.json +2 -3
- package/.output/server/node_modules/semver/classes/semver.js +19 -5
- package/.output/server/node_modules/semver/internal/identifiers.js +4 -0
- package/.output/server/node_modules/semver/package.json +3 -3
- package/.output/server/node_modules/shiki/package.json +9 -9
- package/.output/server/node_modules/simple-swizzle/package.json +1 -1
- package/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +6 -513
- package/.output/server/node_modules/unhead/package.json +5 -1
- package/.output/server/node_modules/unist-util-is/lib/index.js +10 -5
- package/.output/server/node_modules/unist-util-is/package.json +12 -9
- package/.output/server/node_modules/unist-util-visit-parents/lib/index.js +8 -7
- package/.output/server/node_modules/unist-util-visit-parents/package.json +18 -13
- 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/vue-bundle-renderer/dist/runtime.mjs +158 -53
- package/.output/server/node_modules/vue-bundle-renderer/package.json +16 -11
- package/.output/server/node_modules/vue-router/dist/devtools-BLCumUwL.mjs +1218 -0
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1459 -3688
- package/.output/server/node_modules/vue-router/package.json +43 -38
- package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyString.js +1 -1
- package/.output/server/node_modules/yaml/package.json +2 -1
- package/.output/server/package.json +39 -39
- package/README.md +4 -0
- package/app/app.vue +2 -2
- package/app/assets/css/ignis-open-props.css +4 -5
- package/app/components/CurrentTime.vue +8 -1
- package/app/components/ignis/{IgnisInfo.vue → IgnisContent.vue} +3 -3
- package/app/components/ignis/{IgnisConfig.vue → IgnisContentConfig.vue} +5 -1
- package/app/components/ignis/IgnisContentFeatures.vue +102 -0
- package/app/components/ignis/{IgnisWelcome.vue → IgnisContentWelcome.vue} +2 -2
- package/app/components/ignis/IgnisFooter.vue +11 -3
- package/app/pages/_ignis-config.vue +1 -1
- package/app/pages/_ignis-info.vue +1 -1
- package/app/pages/_ignis-welcome.vue +1 -1
- package/app/pages/index.vue +2 -2
- package/bin/cli.js +66 -0
- package/bin/set-app-vue.js +20 -0
- package/bin/set-css.js +5 -8
- package/bin/set-eslint.js +5 -8
- package/bin/setup.js +211 -45
- package/features.ts +17 -8
- package/nuxt.config.ts +10 -5
- package/package.json +19 -21
- package/public/_ignis-config.json +1789 -1
- package/test/config/css-multiple.txt +30 -24
- package/test/config/css-nuxt-ui.txt +34 -28
- package/test/config/css-open-props.txt +1812 -1805
- package/test/config/css-single.txt +28 -22
- package/test/config/css-tailwind.txt +55 -48
- package/test/config/custom-lang.txt +27 -21
- package/test/config/db-neon.txt +28 -22
- package/test/config/db-supabase.txt +31 -25
- package/test/config/default.txt +27 -21
- package/test/config/equipment-1-composable.txt +33 -27
- package/test/config/equipment-2-plugins.txt +34 -28
- package/test/config/equipment-all.txt +38 -32
- package/test/config/forms-formkit.txt +32 -26
- package/test/config/forms-vueform.txt +28 -22
- package/test/config/i18n.txt +36 -30
- package/test/config/no-default-css.txt +24 -18
- package/test/config/open-props.txt +1811 -1804
- package/test/config/seo-ssr-false.txt +35 -29
- package/test/config/ui-nuxt-ui.txt +33 -27
- package/test/config/ui-tailwind.txt +54 -47
- package/test/features.test.ts +33 -33
- package/.nuxt/dist/server/client.manifest.json +0 -18
- package/.nuxt/i18n.options.mjs +0 -165
- package/.nuxt/nuxt-i18n-logger.mjs +0 -1
- package/.output/public/_nuxt/1soVlS0z.js +0 -1
- package/.output/public/_nuxt/B7rsWaa2.js +0 -1
- package/.output/public/_nuxt/BA2WKEAc.js +0 -1
- package/.output/public/_nuxt/BE_a_Zhd.js +0 -1
- package/.output/public/_nuxt/BFreiu22.js +0 -1
- package/.output/public/_nuxt/BLcTglbc.js +0 -1
- package/.output/public/_nuxt/Bhd4_yFT.js +0 -1
- package/.output/public/_nuxt/Bi2eMDmd.js +0 -1
- package/.output/public/_nuxt/BiUZ9mZX.js +0 -1
- package/.output/public/_nuxt/Bm30MqE0.js +0 -1
- package/.output/public/_nuxt/Bnm5Nral.js +0 -1
- package/.output/public/_nuxt/BrY1radz.js +0 -35
- package/.output/public/_nuxt/Bs3IGOdt.js +0 -1
- package/.output/public/_nuxt/ByaiRTkI.js +0 -1
- package/.output/public/_nuxt/CA578xwz.js +0 -1
- package/.output/public/_nuxt/CDttUXKg.js +0 -1
- package/.output/public/_nuxt/CSN71QT8.js +0 -1
- package/.output/public/_nuxt/CmzFGS1a.js +0 -90
- package/.output/public/_nuxt/CqCaqSd2.js +0 -1
- package/.output/public/_nuxt/D8v-efI7.js +0 -1
- package/.output/public/_nuxt/DR4hWRk7.js +0 -1
- package/.output/public/_nuxt/DRroQ-Xq.js +0 -1
- package/.output/public/_nuxt/DStnBfJS.js +0 -1
- package/.output/public/_nuxt/DXTYyv-V.js +0 -1
- package/.output/public/_nuxt/DXbccJ2T.js +0 -1
- package/.output/public/_nuxt/DeS1g0YT.js +0 -1
- package/.output/public/_nuxt/Deb6R53f.js +0 -1
- package/.output/public/_nuxt/DiDHllLr.js +0 -1
- package/.output/public/_nuxt/DyCICqRh.js +0 -1
- package/.output/public/_nuxt/DzT4wm3Y.js +0 -1
- package/.output/public/_nuxt/E8nje24C.js +0 -1
- package/.output/public/_nuxt/builds/meta/9a624d26-216d-4e69-b3a7-54b68357876f.json +0 -1
- package/.output/public/_nuxt/dJ-vStNn.js +0 -1
- package/.output/public/_nuxt/entry.jMyW6Sg0.css +0 -1
- package/.output/public/_nuxt/error-404.BGUbR0Uk.css +0 -1
- package/.output/public/_nuxt/error-500.CQfkKpQ2.css +0 -1
- package/.output/public/_nuxt/sHsV3x2B.js +0 -1
- package/.output/public/_nuxt/sQEqbbg2.js +0 -1
- package/.output/public/_nuxt/vueform.ChEauysg.css +0 -1
- package/.output/server/chunks/build/client.manifest.mjs +0 -511
- package/.output/server/chunks/build/client.manifest.mjs.map +0 -1
- package/.output/server/node_modules/vue-router/dist/vue-router.node.mjs +0 -2
- package/app/components/ignis/IgnisFeatureList.vue +0 -111
- /package/app/components/ignis/{IgnisFeature.vue → IgnisContentFeaturesDetail.vue} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shikijs/langs",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.14.0",
|
|
5
5
|
"description": "TextMate grammars for Shiki in ESM",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -147,6 +147,7 @@
|
|
|
147
147
|
"./html-derivative": "./dist/html-derivative.mjs",
|
|
148
148
|
"./html": "./dist/html.mjs",
|
|
149
149
|
"./http": "./dist/http.mjs",
|
|
150
|
+
"./hurl": "./dist/hurl.mjs",
|
|
150
151
|
"./hxml": "./dist/hxml.mjs",
|
|
151
152
|
"./hy": "./dist/hy.mjs",
|
|
152
153
|
"./imba": "./dist/imba.mjs",
|
|
@@ -154,6 +155,8 @@
|
|
|
154
155
|
"./ini": "./dist/ini.mjs",
|
|
155
156
|
"./java": "./dist/java.mjs",
|
|
156
157
|
"./js": "./dist/js.mjs",
|
|
158
|
+
"./cjs": "./dist/cjs.mjs",
|
|
159
|
+
"./mjs": "./dist/mjs.mjs",
|
|
157
160
|
"./javascript": "./dist/javascript.mjs",
|
|
158
161
|
"./jinja-html": "./dist/jinja-html.mjs",
|
|
159
162
|
"./jinja": "./dist/jinja.mjs",
|
|
@@ -168,6 +171,7 @@
|
|
|
168
171
|
"./jsx": "./dist/jsx.mjs",
|
|
169
172
|
"./jl": "./dist/jl.mjs",
|
|
170
173
|
"./julia": "./dist/julia.mjs",
|
|
174
|
+
"./kdl": "./dist/kdl.mjs",
|
|
171
175
|
"./kt": "./dist/kt.mjs",
|
|
172
176
|
"./kts": "./dist/kts.mjs",
|
|
173
177
|
"./kotlin": "./dist/kotlin.mjs",
|
|
@@ -214,6 +218,7 @@
|
|
|
214
218
|
"./pascal": "./dist/pascal.mjs",
|
|
215
219
|
"./perl": "./dist/perl.mjs",
|
|
216
220
|
"./php": "./dist/php.mjs",
|
|
221
|
+
"./pkl": "./dist/pkl.mjs",
|
|
217
222
|
"./plsql": "./dist/plsql.mjs",
|
|
218
223
|
"./pot": "./dist/pot.mjs",
|
|
219
224
|
"./potx": "./dist/potx.mjs",
|
|
@@ -247,6 +252,7 @@
|
|
|
247
252
|
"./regexp": "./dist/regexp.mjs",
|
|
248
253
|
"./rel": "./dist/rel.mjs",
|
|
249
254
|
"./riscv": "./dist/riscv.mjs",
|
|
255
|
+
"./rosmsg": "./dist/rosmsg.mjs",
|
|
250
256
|
"./rst": "./dist/rst.mjs",
|
|
251
257
|
"./rb": "./dist/rb.mjs",
|
|
252
258
|
"./ruby": "./dist/ruby.mjs",
|
|
@@ -301,6 +307,8 @@
|
|
|
301
307
|
"./turtle": "./dist/turtle.mjs",
|
|
302
308
|
"./twig": "./dist/twig.mjs",
|
|
303
309
|
"./ts": "./dist/ts.mjs",
|
|
310
|
+
"./cts": "./dist/cts.mjs",
|
|
311
|
+
"./mts": "./dist/mts.mjs",
|
|
304
312
|
"./typescript": "./dist/typescript.mjs",
|
|
305
313
|
"./tsp": "./dist/tsp.mjs",
|
|
306
314
|
"./typespec": "./dist/typespec.mjs",
|
|
@@ -346,10 +354,10 @@
|
|
|
346
354
|
"dist"
|
|
347
355
|
],
|
|
348
356
|
"dependencies": {
|
|
349
|
-
"@shikijs/types": "3.
|
|
357
|
+
"@shikijs/types": "3.14.0"
|
|
350
358
|
},
|
|
351
359
|
"devDependencies": {
|
|
352
|
-
"tm-grammars": "^1.
|
|
360
|
+
"tm-grammars": "^1.25.1"
|
|
353
361
|
},
|
|
354
362
|
"scripts": {
|
|
355
363
|
"build": "pnpm prepare"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shikijs/themes",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.14.0",
|
|
5
5
|
"description": "TextMate themes for Shiki in ESM",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -87,10 +87,10 @@
|
|
|
87
87
|
"dist"
|
|
88
88
|
],
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@shikijs/types": "3.
|
|
90
|
+
"@shikijs/types": "3.14.0"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"tm-themes": "^1.10.
|
|
93
|
+
"tm-themes": "^1.10.12"
|
|
94
94
|
},
|
|
95
95
|
"scripts": {
|
|
96
96
|
"build": "pnpm prepare"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shikijs/transformers",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.14.0",
|
|
5
5
|
"description": "Collective of common transformers transformers for Shiki",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@shikijs/core": "3.
|
|
31
|
-
"@shikijs/types": "3.
|
|
30
|
+
"@shikijs/core": "3.14.0",
|
|
31
|
+
"@shikijs/types": "3.14.0"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "unbuild",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-core v3.5.
|
|
2
|
+
* @vue/compiler-core v3.5.22
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1570,16 +1570,34 @@ function walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [
|
|
|
1570
1570
|
(id) => markScopeIdentifier(node, id, knownIds)
|
|
1571
1571
|
);
|
|
1572
1572
|
}
|
|
1573
|
+
} else if (node.type === "SwitchStatement") {
|
|
1574
|
+
if (node.scopeIds) {
|
|
1575
|
+
node.scopeIds.forEach((id) => markKnownIds(id, knownIds));
|
|
1576
|
+
} else {
|
|
1577
|
+
walkSwitchStatement(
|
|
1578
|
+
node,
|
|
1579
|
+
false,
|
|
1580
|
+
(id) => markScopeIdentifier(node, id, knownIds)
|
|
1581
|
+
);
|
|
1582
|
+
}
|
|
1573
1583
|
} else if (node.type === "CatchClause" && node.param) {
|
|
1574
|
-
|
|
1575
|
-
|
|
1584
|
+
if (node.scopeIds) {
|
|
1585
|
+
node.scopeIds.forEach((id) => markKnownIds(id, knownIds));
|
|
1586
|
+
} else {
|
|
1587
|
+
for (const id of extractIdentifiers(node.param)) {
|
|
1588
|
+
markScopeIdentifier(node, id, knownIds);
|
|
1589
|
+
}
|
|
1576
1590
|
}
|
|
1577
1591
|
} else if (isForStatement(node)) {
|
|
1578
|
-
|
|
1579
|
-
node,
|
|
1580
|
-
|
|
1581
|
-
(
|
|
1582
|
-
|
|
1592
|
+
if (node.scopeIds) {
|
|
1593
|
+
node.scopeIds.forEach((id) => markKnownIds(id, knownIds));
|
|
1594
|
+
} else {
|
|
1595
|
+
walkForStatement(
|
|
1596
|
+
node,
|
|
1597
|
+
false,
|
|
1598
|
+
(id) => markScopeIdentifier(node, id, knownIds)
|
|
1599
|
+
);
|
|
1600
|
+
}
|
|
1583
1601
|
}
|
|
1584
1602
|
},
|
|
1585
1603
|
leave(node, parent) {
|
|
@@ -1650,7 +1668,8 @@ function walkFunctionParams(node, onIdent) {
|
|
|
1650
1668
|
}
|
|
1651
1669
|
}
|
|
1652
1670
|
function walkBlockDeclarations(block, onIdent) {
|
|
1653
|
-
|
|
1671
|
+
const body = block.type === "SwitchCase" ? block.consequent : block.body;
|
|
1672
|
+
for (const stmt of body) {
|
|
1654
1673
|
if (stmt.type === "VariableDeclaration") {
|
|
1655
1674
|
if (stmt.declare) continue;
|
|
1656
1675
|
for (const decl of stmt.declarations) {
|
|
@@ -1663,6 +1682,8 @@ function walkBlockDeclarations(block, onIdent) {
|
|
|
1663
1682
|
onIdent(stmt.id);
|
|
1664
1683
|
} else if (isForStatement(stmt)) {
|
|
1665
1684
|
walkForStatement(stmt, true, onIdent);
|
|
1685
|
+
} else if (stmt.type === "SwitchStatement") {
|
|
1686
|
+
walkSwitchStatement(stmt, true, onIdent);
|
|
1666
1687
|
}
|
|
1667
1688
|
}
|
|
1668
1689
|
}
|
|
@@ -1679,6 +1700,20 @@ function walkForStatement(stmt, isVar, onIdent) {
|
|
|
1679
1700
|
}
|
|
1680
1701
|
}
|
|
1681
1702
|
}
|
|
1703
|
+
function walkSwitchStatement(stmt, isVar, onIdent) {
|
|
1704
|
+
for (const cs of stmt.cases) {
|
|
1705
|
+
for (const stmt2 of cs.consequent) {
|
|
1706
|
+
if (stmt2.type === "VariableDeclaration" && (stmt2.kind === "var" ? isVar : !isVar)) {
|
|
1707
|
+
for (const decl of stmt2.declarations) {
|
|
1708
|
+
for (const id of extractIdentifiers(decl.id)) {
|
|
1709
|
+
onIdent(id);
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
walkBlockDeclarations(cs, onIdent);
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1682
1717
|
function extractIdentifiers(param, nodes = []) {
|
|
1683
1718
|
switch (param.type) {
|
|
1684
1719
|
case "Identifier":
|
|
@@ -4753,90 +4788,6 @@ function getParentCondition(node) {
|
|
|
4753
4788
|
}
|
|
4754
4789
|
}
|
|
4755
4790
|
|
|
4756
|
-
const transformBind = (dir, _node, context) => {
|
|
4757
|
-
const { modifiers, loc } = dir;
|
|
4758
|
-
const arg = dir.arg;
|
|
4759
|
-
let { exp } = dir;
|
|
4760
|
-
if (exp && exp.type === 4 && !exp.content.trim()) {
|
|
4761
|
-
{
|
|
4762
|
-
context.onError(
|
|
4763
|
-
createCompilerError(34, loc)
|
|
4764
|
-
);
|
|
4765
|
-
return {
|
|
4766
|
-
props: [
|
|
4767
|
-
createObjectProperty(arg, createSimpleExpression("", true, loc))
|
|
4768
|
-
]
|
|
4769
|
-
};
|
|
4770
|
-
}
|
|
4771
|
-
}
|
|
4772
|
-
if (!exp) {
|
|
4773
|
-
if (arg.type !== 4 || !arg.isStatic) {
|
|
4774
|
-
context.onError(
|
|
4775
|
-
createCompilerError(
|
|
4776
|
-
52,
|
|
4777
|
-
arg.loc
|
|
4778
|
-
)
|
|
4779
|
-
);
|
|
4780
|
-
return {
|
|
4781
|
-
props: [
|
|
4782
|
-
createObjectProperty(arg, createSimpleExpression("", true, loc))
|
|
4783
|
-
]
|
|
4784
|
-
};
|
|
4785
|
-
}
|
|
4786
|
-
transformBindShorthand(dir, context);
|
|
4787
|
-
exp = dir.exp;
|
|
4788
|
-
}
|
|
4789
|
-
if (arg.type !== 4) {
|
|
4790
|
-
arg.children.unshift(`(`);
|
|
4791
|
-
arg.children.push(`) || ""`);
|
|
4792
|
-
} else if (!arg.isStatic) {
|
|
4793
|
-
arg.content = arg.content ? `${arg.content} || ""` : `""`;
|
|
4794
|
-
}
|
|
4795
|
-
if (modifiers.some((mod) => mod.content === "camel")) {
|
|
4796
|
-
if (arg.type === 4) {
|
|
4797
|
-
if (arg.isStatic) {
|
|
4798
|
-
arg.content = shared.camelize(arg.content);
|
|
4799
|
-
} else {
|
|
4800
|
-
arg.content = `${context.helperString(CAMELIZE)}(${arg.content})`;
|
|
4801
|
-
}
|
|
4802
|
-
} else {
|
|
4803
|
-
arg.children.unshift(`${context.helperString(CAMELIZE)}(`);
|
|
4804
|
-
arg.children.push(`)`);
|
|
4805
|
-
}
|
|
4806
|
-
}
|
|
4807
|
-
if (!context.inSSR) {
|
|
4808
|
-
if (modifiers.some((mod) => mod.content === "prop")) {
|
|
4809
|
-
injectPrefix(arg, ".");
|
|
4810
|
-
}
|
|
4811
|
-
if (modifiers.some((mod) => mod.content === "attr")) {
|
|
4812
|
-
injectPrefix(arg, "^");
|
|
4813
|
-
}
|
|
4814
|
-
}
|
|
4815
|
-
return {
|
|
4816
|
-
props: [createObjectProperty(arg, exp)]
|
|
4817
|
-
};
|
|
4818
|
-
};
|
|
4819
|
-
const transformBindShorthand = (dir, context) => {
|
|
4820
|
-
const arg = dir.arg;
|
|
4821
|
-
const propName = shared.camelize(arg.content);
|
|
4822
|
-
dir.exp = createSimpleExpression(propName, false, arg.loc);
|
|
4823
|
-
{
|
|
4824
|
-
dir.exp = processExpression(dir.exp, context);
|
|
4825
|
-
}
|
|
4826
|
-
};
|
|
4827
|
-
const injectPrefix = (arg, prefix) => {
|
|
4828
|
-
if (arg.type === 4) {
|
|
4829
|
-
if (arg.isStatic) {
|
|
4830
|
-
arg.content = prefix + arg.content;
|
|
4831
|
-
} else {
|
|
4832
|
-
arg.content = `\`${prefix}\${${arg.content}}\``;
|
|
4833
|
-
}
|
|
4834
|
-
} else {
|
|
4835
|
-
arg.children.unshift(`'${prefix}' + (`);
|
|
4836
|
-
arg.children.push(`)`);
|
|
4837
|
-
}
|
|
4838
|
-
};
|
|
4839
|
-
|
|
4840
4791
|
const transformFor = createStructuralDirectiveTransform(
|
|
4841
4792
|
"for",
|
|
4842
4793
|
(node, dir, context) => {
|
|
@@ -4849,9 +4800,6 @@ const transformFor = createStructuralDirectiveTransform(
|
|
|
4849
4800
|
const memo = findDir(node, "memo");
|
|
4850
4801
|
const keyProp = findProp(node, `key`, false, true);
|
|
4851
4802
|
const isDirKey = keyProp && keyProp.type === 7;
|
|
4852
|
-
if (isDirKey && !keyProp.exp) {
|
|
4853
|
-
transformBindShorthand(keyProp, context);
|
|
4854
|
-
}
|
|
4855
4803
|
let keyExp = keyProp && (keyProp.type === 6 ? keyProp.value ? createSimpleExpression(keyProp.value.content, true) : void 0 : keyProp.exp);
|
|
4856
4804
|
if (memo && keyExp && isDirKey) {
|
|
4857
4805
|
{
|
|
@@ -6134,6 +6082,65 @@ const transformOn = (dir, node, context, augmentor) => {
|
|
|
6134
6082
|
return ret;
|
|
6135
6083
|
};
|
|
6136
6084
|
|
|
6085
|
+
const transformBind = (dir, _node, context) => {
|
|
6086
|
+
const { modifiers, loc } = dir;
|
|
6087
|
+
const arg = dir.arg;
|
|
6088
|
+
let { exp } = dir;
|
|
6089
|
+
if (exp && exp.type === 4 && !exp.content.trim()) {
|
|
6090
|
+
{
|
|
6091
|
+
context.onError(
|
|
6092
|
+
createCompilerError(34, loc)
|
|
6093
|
+
);
|
|
6094
|
+
return {
|
|
6095
|
+
props: [
|
|
6096
|
+
createObjectProperty(arg, createSimpleExpression("", true, loc))
|
|
6097
|
+
]
|
|
6098
|
+
};
|
|
6099
|
+
}
|
|
6100
|
+
}
|
|
6101
|
+
if (arg.type !== 4) {
|
|
6102
|
+
arg.children.unshift(`(`);
|
|
6103
|
+
arg.children.push(`) || ""`);
|
|
6104
|
+
} else if (!arg.isStatic) {
|
|
6105
|
+
arg.content = arg.content ? `${arg.content} || ""` : `""`;
|
|
6106
|
+
}
|
|
6107
|
+
if (modifiers.some((mod) => mod.content === "camel")) {
|
|
6108
|
+
if (arg.type === 4) {
|
|
6109
|
+
if (arg.isStatic) {
|
|
6110
|
+
arg.content = shared.camelize(arg.content);
|
|
6111
|
+
} else {
|
|
6112
|
+
arg.content = `${context.helperString(CAMELIZE)}(${arg.content})`;
|
|
6113
|
+
}
|
|
6114
|
+
} else {
|
|
6115
|
+
arg.children.unshift(`${context.helperString(CAMELIZE)}(`);
|
|
6116
|
+
arg.children.push(`)`);
|
|
6117
|
+
}
|
|
6118
|
+
}
|
|
6119
|
+
if (!context.inSSR) {
|
|
6120
|
+
if (modifiers.some((mod) => mod.content === "prop")) {
|
|
6121
|
+
injectPrefix(arg, ".");
|
|
6122
|
+
}
|
|
6123
|
+
if (modifiers.some((mod) => mod.content === "attr")) {
|
|
6124
|
+
injectPrefix(arg, "^");
|
|
6125
|
+
}
|
|
6126
|
+
}
|
|
6127
|
+
return {
|
|
6128
|
+
props: [createObjectProperty(arg, exp)]
|
|
6129
|
+
};
|
|
6130
|
+
};
|
|
6131
|
+
const injectPrefix = (arg, prefix) => {
|
|
6132
|
+
if (arg.type === 4) {
|
|
6133
|
+
if (arg.isStatic) {
|
|
6134
|
+
arg.content = prefix + arg.content;
|
|
6135
|
+
} else {
|
|
6136
|
+
arg.content = `\`${prefix}\${${arg.content}}\``;
|
|
6137
|
+
}
|
|
6138
|
+
} else {
|
|
6139
|
+
arg.children.unshift(`'${prefix}' + (`);
|
|
6140
|
+
arg.children.push(`)`);
|
|
6141
|
+
}
|
|
6142
|
+
};
|
|
6143
|
+
|
|
6137
6144
|
const transformText = (node, context) => {
|
|
6138
6145
|
if (node.type === 0 || node.type === 1 || node.type === 11 || node.type === 10) {
|
|
6139
6146
|
return () => {
|
|
@@ -6484,9 +6491,35 @@ const transformMemo = (node, context) => {
|
|
|
6484
6491
|
}
|
|
6485
6492
|
};
|
|
6486
6493
|
|
|
6494
|
+
const transformVBindShorthand = (node, context) => {
|
|
6495
|
+
if (node.type === 1) {
|
|
6496
|
+
for (const prop of node.props) {
|
|
6497
|
+
if (prop.type === 7 && prop.name === "bind" && !prop.exp) {
|
|
6498
|
+
const arg = prop.arg;
|
|
6499
|
+
if (arg.type !== 4 || !arg.isStatic) {
|
|
6500
|
+
context.onError(
|
|
6501
|
+
createCompilerError(
|
|
6502
|
+
52,
|
|
6503
|
+
arg.loc
|
|
6504
|
+
)
|
|
6505
|
+
);
|
|
6506
|
+
prop.exp = createSimpleExpression("", true, arg.loc);
|
|
6507
|
+
} else {
|
|
6508
|
+
const propName = shared.camelize(arg.content);
|
|
6509
|
+
if (validFirstIdentCharRE.test(propName[0]) || // allow hyphen first char for https://github.com/vuejs/language-tools/pull/3424
|
|
6510
|
+
propName[0] === "-") {
|
|
6511
|
+
prop.exp = createSimpleExpression(propName, false, arg.loc);
|
|
6512
|
+
}
|
|
6513
|
+
}
|
|
6514
|
+
}
|
|
6515
|
+
}
|
|
6516
|
+
}
|
|
6517
|
+
};
|
|
6518
|
+
|
|
6487
6519
|
function getBaseTransformPreset(prefixIdentifiers) {
|
|
6488
6520
|
return [
|
|
6489
6521
|
[
|
|
6522
|
+
transformVBindShorthand,
|
|
6490
6523
|
transformOnce,
|
|
6491
6524
|
transformIf,
|
|
6492
6525
|
transformMemo,
|
|
@@ -6698,8 +6731,10 @@ exports.transformElement = transformElement;
|
|
|
6698
6731
|
exports.transformExpression = transformExpression;
|
|
6699
6732
|
exports.transformModel = transformModel;
|
|
6700
6733
|
exports.transformOn = transformOn;
|
|
6734
|
+
exports.transformVBindShorthand = transformVBindShorthand;
|
|
6701
6735
|
exports.traverseNode = traverseNode;
|
|
6702
6736
|
exports.unwrapTSNode = unwrapTSNode;
|
|
6737
|
+
exports.validFirstIdentCharRE = validFirstIdentCharRE;
|
|
6703
6738
|
exports.walkBlockDeclarations = walkBlockDeclarations;
|
|
6704
6739
|
exports.walkFunctionParams = walkFunctionParams;
|
|
6705
6740
|
exports.walkIdentifiers = walkIdentifiers;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.22",
|
|
4
4
|
"description": "@vue/compiler-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-core.esm-bundler.js",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@babel/parser": "^7.28.
|
|
49
|
+
"@babel/parser": "^7.28.4",
|
|
50
50
|
"entities": "^4.5.0",
|
|
51
51
|
"estree-walker": "^2.0.2",
|
|
52
52
|
"source-map-js": "^1.2.1",
|
|
53
|
-
"@vue/shared": "3.5.
|
|
53
|
+
"@vue/shared": "3.5.22"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@babel/types": "^7.28.
|
|
56
|
+
"@babel/types": "^7.28.4"
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-dom v3.5.
|
|
2
|
+
* @vue/compiler-dom v3.5.22
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -469,6 +469,9 @@ function analyzeNode(node) {
|
|
|
469
469
|
if (node.type === 1 && isNonStringifiable(node.tag)) {
|
|
470
470
|
return false;
|
|
471
471
|
}
|
|
472
|
+
if (node.type === 1 && compilerCore.findDir(node, "once", true)) {
|
|
473
|
+
return false;
|
|
474
|
+
}
|
|
472
475
|
if (node.type === 12) {
|
|
473
476
|
return [1, 0];
|
|
474
477
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-dom",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.22",
|
|
4
4
|
"description": "@vue/compiler-dom",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-dom.esm-bundler.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@vue/shared": "3.5.
|
|
55
|
-
"@vue/compiler-core": "3.5.
|
|
54
|
+
"@vue/shared": "3.5.22",
|
|
55
|
+
"@vue/compiler-core": "3.5.22"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-ssr v3.5.
|
|
2
|
+
* @vue/compiler-ssr v3.5.22
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -298,6 +298,14 @@ const ssrTransformElement = (node, context) => {
|
|
|
298
298
|
const hasCustomDir = node.props.some(
|
|
299
299
|
(p) => p.type === 7 && !shared.isBuiltInDirective(p.name)
|
|
300
300
|
);
|
|
301
|
+
const vShowPropIndex = node.props.findIndex(
|
|
302
|
+
(i) => i.type === 7 && i.name === "show"
|
|
303
|
+
);
|
|
304
|
+
if (vShowPropIndex !== -1) {
|
|
305
|
+
const vShowProp = node.props[vShowPropIndex];
|
|
306
|
+
node.props.splice(vShowPropIndex, 1);
|
|
307
|
+
node.props.push(vShowProp);
|
|
308
|
+
}
|
|
301
309
|
const needMergeProps = hasDynamicVBind || hasCustomDir;
|
|
302
310
|
if (needMergeProps) {
|
|
303
311
|
const { props, directives } = compilerDom.buildProps(
|
|
@@ -1365,6 +1373,7 @@ function compile(source, options = {}) {
|
|
|
1365
1373
|
...options,
|
|
1366
1374
|
hoistStatic: false,
|
|
1367
1375
|
nodeTransforms: [
|
|
1376
|
+
compilerDom.transformVBindShorthand,
|
|
1368
1377
|
ssrTransformIf,
|
|
1369
1378
|
ssrTransformFor,
|
|
1370
1379
|
compilerDom.trackVForSlotScopes,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-ssr",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.22",
|
|
4
4
|
"description": "@vue/compiler-ssr",
|
|
5
5
|
"main": "dist/compiler-ssr.cjs.js",
|
|
6
6
|
"types": "dist/compiler-ssr.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-ssr#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@vue/shared": "3.5.
|
|
32
|
-
"@vue/compiler-dom": "3.5.
|
|
31
|
+
"@vue/shared": "3.5.22",
|
|
32
|
+
"@vue/compiler-dom": "3.5.22"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/reactivity v3.5.
|
|
2
|
+
* @vue/reactivity v3.5.22
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -792,7 +792,7 @@ function iterator(self, method, wrapValue) {
|
|
|
792
792
|
iter._next = iter.next;
|
|
793
793
|
iter.next = () => {
|
|
794
794
|
const result = iter._next();
|
|
795
|
-
if (result.
|
|
795
|
+
if (!result.done) {
|
|
796
796
|
result.value = wrapValue(result.value);
|
|
797
797
|
}
|
|
798
798
|
return result;
|
|
@@ -919,7 +919,8 @@ class BaseReactiveHandler {
|
|
|
919
919
|
return res;
|
|
920
920
|
}
|
|
921
921
|
if (isRef(res)) {
|
|
922
|
-
|
|
922
|
+
const value = targetIsArray && shared.isIntegerKey(key) ? res : res.value;
|
|
923
|
+
return isReadonly2 && shared.isObject(value) ? readonly(value) : value;
|
|
923
924
|
}
|
|
924
925
|
if (shared.isObject(res)) {
|
|
925
926
|
return isReadonly2 ? readonly(res) : reactive(res);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/reactivity",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.22",
|
|
4
4
|
"description": "@vue/reactivity",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/reactivity.esm-bundler.js",
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme",
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@vue/shared": "3.5.
|
|
53
|
+
"@vue/shared": "3.5.22"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.5.
|
|
2
|
+
* @vue/runtime-core v3.5.22
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -414,9 +414,6 @@ const TeleportImpl = {
|
|
|
414
414
|
insert(mainAnchor, container, anchor);
|
|
415
415
|
const mount = (container2, anchor2) => {
|
|
416
416
|
if (shapeFlag & 16) {
|
|
417
|
-
if (parentComponent && parentComponent.isCE) {
|
|
418
|
-
parentComponent.ce._teleportTarget = container2;
|
|
419
|
-
}
|
|
420
417
|
mountChildren(
|
|
421
418
|
children,
|
|
422
419
|
container2,
|
|
@@ -438,6 +435,9 @@ const TeleportImpl = {
|
|
|
438
435
|
} else if (namespace !== "mathml" && isTargetMathML(target)) {
|
|
439
436
|
namespace = "mathml";
|
|
440
437
|
}
|
|
438
|
+
if (parentComponent && parentComponent.isCE) {
|
|
439
|
+
(parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target);
|
|
440
|
+
}
|
|
441
441
|
if (!disabled) {
|
|
442
442
|
mount(target, targetAnchor);
|
|
443
443
|
updateCssVars(n2, false);
|
|
@@ -2327,12 +2327,13 @@ function createSlots(slots, dynamicSlots) {
|
|
|
2327
2327
|
|
|
2328
2328
|
function renderSlot(slots, name, props = {}, fallback, noSlotted) {
|
|
2329
2329
|
if (currentRenderingInstance.ce || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.ce) {
|
|
2330
|
+
const hasProps = Object.keys(props).length > 0;
|
|
2330
2331
|
if (name !== "default") props.name = name;
|
|
2331
2332
|
return openBlock(), createBlock(
|
|
2332
2333
|
Fragment,
|
|
2333
2334
|
null,
|
|
2334
2335
|
[createVNode("slot", props, fallback && fallback())],
|
|
2335
|
-
64
|
|
2336
|
+
hasProps ? -2 : 64
|
|
2336
2337
|
);
|
|
2337
2338
|
}
|
|
2338
2339
|
let slot = slots[name];
|
|
@@ -6504,31 +6505,28 @@ const computed = (getterOrOptions, debugOptions) => {
|
|
|
6504
6505
|
};
|
|
6505
6506
|
|
|
6506
6507
|
function h(type, propsOrChildren, children) {
|
|
6507
|
-
|
|
6508
|
+
try {
|
|
6508
6509
|
setBlockTracking(-1);
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
if (isVNode(propsOrChildren)) {
|
|
6519
|
-
return doCreateVNode(type, null, [propsOrChildren]);
|
|
6510
|
+
const l = arguments.length;
|
|
6511
|
+
if (l === 2) {
|
|
6512
|
+
if (shared.isObject(propsOrChildren) && !shared.isArray(propsOrChildren)) {
|
|
6513
|
+
if (isVNode(propsOrChildren)) {
|
|
6514
|
+
return createVNode(type, null, [propsOrChildren]);
|
|
6515
|
+
}
|
|
6516
|
+
return createVNode(type, propsOrChildren);
|
|
6517
|
+
} else {
|
|
6518
|
+
return createVNode(type, null, propsOrChildren);
|
|
6520
6519
|
}
|
|
6521
|
-
return doCreateVNode(type, propsOrChildren);
|
|
6522
6520
|
} else {
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
children = [children];
|
|
6521
|
+
if (l > 3) {
|
|
6522
|
+
children = Array.prototype.slice.call(arguments, 2);
|
|
6523
|
+
} else if (l === 3 && isVNode(children)) {
|
|
6524
|
+
children = [children];
|
|
6525
|
+
}
|
|
6526
|
+
return createVNode(type, propsOrChildren, children);
|
|
6530
6527
|
}
|
|
6531
|
-
|
|
6528
|
+
} finally {
|
|
6529
|
+
setBlockTracking(1);
|
|
6532
6530
|
}
|
|
6533
6531
|
}
|
|
6534
6532
|
|
|
@@ -6564,7 +6562,7 @@ function isMemoSame(cached, memo) {
|
|
|
6564
6562
|
return true;
|
|
6565
6563
|
}
|
|
6566
6564
|
|
|
6567
|
-
const version = "3.5.
|
|
6565
|
+
const version = "3.5.22";
|
|
6568
6566
|
const warn$1 = shared.NOOP;
|
|
6569
6567
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
6570
6568
|
const devtools = void 0;
|