diff --git a/apps/astro-demo/package.json b/apps/astro-demo/package.json index 2c3ed1c0..7f4c2a08 100644 --- a/apps/astro-demo/package.json +++ b/apps/astro-demo/package.json @@ -17,7 +17,7 @@ "@qwikdev/astro": "workspace:*", "@types/react": "^18.2.64", "@types/react-dom": "^18.2.21", - "astro": "^4.4.15", + "astro": "^4.5", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/libs/qwikdev-astro/package.json b/libs/qwikdev-astro/package.json index dd8d306d..1a8b101b 100644 --- a/libs/qwikdev-astro/package.json +++ b/libs/qwikdev-astro/package.json @@ -1,7 +1,7 @@ { "name": "@qwikdev/astro", "description": "Use Qwik components and Resumability within Astro", - "version": "0.5.8", + "version": "0.5.9", "contributors": [ { "name": "Miško Hevery", @@ -57,9 +57,9 @@ "@builder.io/qwik": "^1.5.1", "@types/fs-extra": "^11.0.4", "@types/node": "^20.10.0", - "astro": "^4.4.15", + "astro": "^4.5", "typescript": "^5.4.2", - "vite": "^5.1.5" + "vite": "^5.1.6" }, "peerDependencies": { "@builder.io/qwik": "^1.5.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e23d3735..fd88a67f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,10 +16,10 @@ importers: dependencies: '@astrojs/node': specifier: ^8.2.3 - version: 8.2.3(astro@4.4.15) + version: 8.2.3(astro@4.5.2) '@astrojs/react': specifier: ^3.0.10 - version: 3.0.10(@types/react-dom@18.2.21)(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0)(vite@5.1.5) + version: 3.0.10(@types/react-dom@18.2.21)(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0)(vite@5.1.6) '@builder.io/qwik': specifier: ^1.5.1 version: 1.5.1(@types/node@20.10.0)(undici@5.28.0) @@ -33,8 +33,8 @@ importers: specifier: ^18.2.21 version: 18.2.21 astro: - specifier: ^4.4.15 - version: 4.4.15(@types/node@20.10.0)(typescript@5.4.2) + specifier: ^4.5 + version: 4.5.2(@types/node@20.10.0)(typescript@5.4.2) react: specifier: ^18.2.0 version: 18.2.0 @@ -46,7 +46,7 @@ importers: dependencies: astro-integration-kit: specifier: ^0.2.0 - version: 0.2.0(astro@4.4.15) + version: 0.2.0(astro@4.5.2) fs-extra: specifier: ^11.1.1 version: 11.1.1 @@ -55,7 +55,7 @@ importers: version: 6.0.0 vite-tsconfig-paths: specifier: ^4.2.1 - version: 4.2.1(typescript@5.4.2)(vite@5.1.5) + version: 4.2.1(typescript@5.4.2)(vite@5.1.6) devDependencies: '@builder.io/qwik': specifier: ^1.5.1 @@ -67,14 +67,14 @@ importers: specifier: ^20.10.0 version: 20.10.0 astro: - specifier: ^4.4.15 - version: 4.4.15(@types/node@20.10.0)(typescript@5.4.2) + specifier: ^4.5 + version: 4.5.2(@types/node@20.10.0)(typescript@5.4.2) typescript: specifier: ^5.4.2 version: 5.4.2 vite: - specifier: ^5.1.5 - version: 5.1.5(@types/node@20.10.0) + specifier: ^5.1.6 + version: 5.1.6(@types/node@20.10.0) packages: @@ -88,14 +88,16 @@ packages: /@astrojs/compiler@2.7.0: resolution: {integrity: sha512-XpC8MAaWjD1ff6/IfkRq/5k1EFj6zhCNqXRd5J43SVJEBj/Bsmizkm8N0xOYscGcDFQkRgEw6/eKnI5x/1l6aA==} - /@astrojs/internal-helpers@0.2.1: - resolution: {integrity: sha512-06DD2ZnItMwUnH81LBLco3tWjcZ1lGU9rLCCBaeUCGYe9cI0wKyY2W3kDyoW1I6GmcWgt1fu+D1CTvz+FIKf8A==} + /@astrojs/internal-helpers@0.3.0: + resolution: {integrity: sha512-tGmHvrhpzuz0JBHaJX8GywN9g4rldVNHtkoVDC3m/DdzBO70jGoVuc0uuNVglRYnsdwkbG0K02Iw3nOOR3/Y4g==} - /@astrojs/markdown-remark@4.2.1: - resolution: {integrity: sha512-2RQBIwrq+2qPYtp99bH+eL5hfbK0BoxXla85lHsRpIX/IsGqFrPX6pXI2cbWPihBwGbKCdxS6uZNX2QerZWwpQ==} + /@astrojs/markdown-remark@4.3.0: + resolution: {integrity: sha512-iZOgYj/yNDvBRfKqkGuAvjeONhjQPq8Uk3HjyIgcTK5valq03NiUgSc5Ovq00yUVBeYJ/5EDx23c8xqtkkBlPw==} dependencies: '@astrojs/prism': 3.0.0 github-slugger: 2.0.0 + hast-util-from-html: 2.0.1 + hast-util-to-text: 4.0.0 import-meta-resolve: 4.0.0 mdast-util-definitions: 6.0.0 rehype-raw: 7.0.0 @@ -104,19 +106,21 @@ packages: remark-parse: 11.0.0 remark-rehype: 11.0.0 remark-smartypants: 2.0.0 - shikiji: 0.9.19 + shiki: 1.1.7 unified: 11.0.4 + unist-util-remove-position: 5.0.0 unist-util-visit: 5.0.0 + unist-util-visit-parents: 6.0.1 vfile: 6.0.1 transitivePeerDependencies: - supports-color - /@astrojs/node@8.2.3(astro@4.4.15): + /@astrojs/node@8.2.3(astro@4.5.2): resolution: {integrity: sha512-VQQy7QIv4X+5dlKCEchYIxMFryS+BwDOFGNzeRmHe1/P819TlNup9/M8XqnWW4aZPxV7P6CoDeFxX6HuT/kOmQ==} peerDependencies: astro: ^4.2.0 dependencies: - astro: 4.4.15(@types/node@20.10.0)(typescript@5.4.2) + astro: 4.5.2(@types/node@20.10.0)(typescript@5.4.2) send: 0.18.0 server-destroy: 1.0.1 transitivePeerDependencies: @@ -129,7 +133,7 @@ packages: dependencies: prismjs: 1.29.0 - /@astrojs/react@3.0.10(@types/react-dom@18.2.21)(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0)(vite@5.1.5): + /@astrojs/react@3.0.10(@types/react-dom@18.2.21)(@types/react@18.2.64)(react-dom@18.2.0)(react@18.2.0)(vite@5.1.6): resolution: {integrity: sha512-uGRIwKMAn7tva2vxXMyoVIGxWFr0rjZ8ZWIlkTG/vIpnAjD2nM8Cz6B8j7yzj176jvl6gZ6xTbTVPm09aeK0Yw==} engines: {node: '>=18.14.1'} peerDependencies: @@ -140,7 +144,7 @@ packages: dependencies: '@types/react': 18.2.64 '@types/react-dom': 18.2.21 - '@vitejs/plugin-react': 4.2.1(vite@5.1.5) + '@vitejs/plugin-react': 4.2.1(vite@5.1.6) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) ultrahtml: 1.5.3 @@ -865,9 +869,6 @@ packages: read-yaml-file: 1.1.0 dev: false - /@medv/finder@3.2.0: - resolution: {integrity: sha512-JmU7JIBwyL8RAzefvzALT4sP2M0biGk8i2invAgpQmma/QgfsaqoHIvJ7S0YC8n9hUVG8X3Leul2nGa06PvhbQ==} - /@nodelib/fs.scandir@2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -977,6 +978,9 @@ packages: requiresBuild: true optional: true + /@shikijs/core@1.1.7: + resolution: {integrity: sha512-gTYLUIuD1UbZp/11qozD3fWpUTuMqPSf3svDMMrL0UmlGU7D9dPw/V1FonwAorCUJBltaaESxq90jrSjQyGixg==} + /@types/babel__core@7.20.5: resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} dependencies: @@ -1093,7 +1097,7 @@ packages: /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - /@vitejs/plugin-react@4.2.1(vite@5.1.5): + /@vitejs/plugin-react@4.2.1(vite@5.1.6): resolution: {integrity: sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -1104,7 +1108,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.23.3(@babel/core@7.23.5) '@types/babel__core': 7.20.5 react-refresh: 0.14.0 - vite: 5.1.5(@types/node@20.10.0) + vite: 5.1.6(@types/node@20.10.0) transitivePeerDependencies: - supports-color dev: false @@ -1214,23 +1218,23 @@ packages: engines: {node: '>=0.10.0'} dev: false - /astro-integration-kit@0.2.0(astro@4.4.15): + /astro-integration-kit@0.2.0(astro@4.5.2): resolution: {integrity: sha512-GsYNh0XFp/6NXvSEN4FAOz9O5cyCh/mFunB/6Wyc1Qwyq6/t/X1gFHjQp4jTieyTDsEadElt1bSowMznNw5d2A==} peerDependencies: astro: ^4.0.0 dependencies: - astro: 4.4.15(@types/node@20.10.0)(typescript@5.4.2) + astro: 4.5.2(@types/node@20.10.0)(typescript@5.4.2) pathe: 1.1.2 dev: false - /astro@4.4.15(@types/node@20.10.0)(typescript@5.4.2): - resolution: {integrity: sha512-RTiAnlO8hDp6GqMVvaeJxyuCJhHNEho09lHshMNQBqgRabYPOJGW0HZZrbLRGNOqN9I14ivhZIunYGgAaGQpWw==} + /astro@4.5.2(@types/node@20.10.0)(typescript@5.4.2): + resolution: {integrity: sha512-Nq3GojlwXJ3XD047khraCWu/6aqGFfcyq7Q0blpTBSZnCz2s4Zri04PHvUkbKF7TK2UljkFuTXKP0CE4ZuJi9Q==} engines: {node: '>=18.14.1', npm: '>=6.14.0'} hasBin: true dependencies: '@astrojs/compiler': 2.7.0 - '@astrojs/internal-helpers': 0.2.1 - '@astrojs/markdown-remark': 4.2.1 + '@astrojs/internal-helpers': 0.3.0 + '@astrojs/markdown-remark': 4.3.0 '@astrojs/telemetry': 3.0.4 '@babel/core': 7.23.5 '@babel/generator': 7.23.5 @@ -1238,7 +1242,7 @@ packages: '@babel/plugin-transform-react-jsx': 7.22.15(@babel/core@7.23.5) '@babel/traverse': 7.23.5 '@babel/types': 7.23.5 - '@medv/finder': 3.2.0 + '@shikijs/core': 1.1.7 '@types/babel__core': 7.20.5 acorn: 8.11.2 aria-query: 5.3.0 @@ -1280,18 +1284,18 @@ packages: rehype: 13.0.1 resolve: 1.22.5 semver: 7.5.4 - shikiji: 0.9.19 - shikiji-core: 0.9.19 + shiki: 1.1.7 string-width: 7.0.0 strip-ansi: 7.1.0 tsconfck: 3.0.0(typescript@5.4.2) unist-util-visit: 5.0.0 vfile: 6.0.1 - vite: 5.1.5(@types/node@20.10.0) - vitefu: 0.2.5(vite@5.1.5) + vite: 5.1.6(@types/node@20.10.0) + vitefu: 0.2.5(vite@5.1.6) which-pm: 2.1.1 yargs-parser: 21.1.1 zod: 3.22.4 + zod-to-json-schema: 3.22.4(zod@3.22.4) optionalDependencies: sharp: 0.32.6 transitivePeerDependencies: @@ -2383,6 +2387,11 @@ packages: vfile-location: 5.0.2 web-namespaces: 2.0.1 + /hast-util-is-element@3.0.0: + resolution: {integrity: sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==} + dependencies: + '@types/hast': 3.0.2 + /hast-util-parse-selector@4.0.0: resolution: {integrity: sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==} dependencies: @@ -2432,6 +2441,14 @@ packages: web-namespaces: 2.0.1 zwitch: 2.0.4 + /hast-util-to-text@4.0.0: + resolution: {integrity: sha512-EWiE1FSArNBPUo1cKWtzqgnuRQwEeQbQtnFJRYV1hb1BWDgrAlBU0ExptvZMM/KSA82cDpm2sFGf3Dmc5Mza3w==} + dependencies: + '@types/hast': 3.0.2 + '@types/unist': 3.0.0 + hast-util-is-element: 3.0.0 + unist-util-find-after: 5.0.0 + /hast-util-whitespace@3.0.0: resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==} dependencies: @@ -4108,13 +4125,10 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - /shikiji-core@0.9.19: - resolution: {integrity: sha512-AFJu/vcNT21t0e6YrfadZ+9q86gvPum6iywRyt1OtIPjPFe25RQnYJyxHQPMLKCCWA992TPxmEmbNcOZCAJclw==} - - /shikiji@0.9.19: - resolution: {integrity: sha512-Kw2NHWktdcdypCj1GkKpXH4o6Vxz8B8TykPlPuLHOGSV8VkhoCLcFOH4k19K4LXAQYRQmxg+0X/eM+m2sLhAkg==} + /shiki@1.1.7: + resolution: {integrity: sha512-9kUTMjZtcPH3i7vHunA6EraTPpPOITYTdA5uMrvsJRexktqP0s7P3s9HVK80b4pP42FRVe03D7fT3NmJv2yYhw==} dependencies: - shikiji-core: 0.9.19 + '@shikijs/core': 1.1.7 /side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} @@ -4600,6 +4614,12 @@ packages: trough: 2.1.0 vfile: 6.0.1 + /unist-util-find-after@5.0.0: + resolution: {integrity: sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==} + dependencies: + '@types/unist': 3.0.0 + unist-util-is: 6.0.0 + /unist-util-is@5.2.1: resolution: {integrity: sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==} dependencies: @@ -4621,6 +4641,12 @@ packages: dependencies: '@types/unist': 3.0.0 + /unist-util-remove-position@5.0.0: + resolution: {integrity: sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==} + dependencies: + '@types/unist': 3.0.0 + unist-util-visit: 5.0.0 + /unist-util-stringify-position@3.0.3: resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==} dependencies: @@ -4725,7 +4751,7 @@ packages: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - /vite-tsconfig-paths@4.2.1(typescript@5.4.2)(vite@5.1.5): + /vite-tsconfig-paths@4.2.1(typescript@5.4.2)(vite@5.1.6): resolution: {integrity: sha512-GNUI6ZgPqT3oervkvzU+qtys83+75N/OuDaQl7HmOqFTb0pjZsuARrRipsyJhJ3enqV8beI1xhGbToR4o78nSQ==} peerDependencies: vite: '*' @@ -4736,7 +4762,7 @@ packages: debug: 4.3.4 globrex: 0.1.2 tsconfck: 2.1.2(typescript@5.4.2) - vite: 5.1.5(@types/node@20.10.0) + vite: 5.1.6(@types/node@20.10.0) transitivePeerDependencies: - supports-color - typescript @@ -4777,7 +4803,42 @@ packages: optionalDependencies: fsevents: 2.3.3 - /vitefu@0.2.5(vite@5.1.5): + /vite@5.1.6(@types/node@20.10.0): + resolution: {integrity: sha512-yYIAZs9nVfRJ/AiOLCA91zzhjsHUgMjB+EigzFb6W2XTLO8JixBCKCjvhKZaye+NKYHCrkv3Oh50dH9EdLU2RA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + '@types/node': 20.10.0 + esbuild: 0.19.8 + postcss: 8.4.35 + rollup: 4.6.1 + optionalDependencies: + fsevents: 2.3.3 + + /vitefu@0.2.5(vite@5.1.6): resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} peerDependencies: vite: ^3.0.0 || ^4.0.0 || ^5.0.0 @@ -4785,7 +4846,7 @@ packages: vite: optional: true dependencies: - vite: 5.1.5(@types/node@20.10.0) + vite: 5.1.6(@types/node@20.10.0) /wcwidth@1.0.1: resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} @@ -4958,6 +5019,13 @@ packages: resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} engines: {node: '>=12.20'} + /zod-to-json-schema@3.22.4(zod@3.22.4): + resolution: {integrity: sha512-2Ed5dJ+n/O3cU383xSY28cuVi0BCQhF8nYqWU5paEpl7fVdqdAmiLdqLyfblbNdfOFwFfi/mqU4O1pwc60iBhQ==} + peerDependencies: + zod: ^3.22.4 + dependencies: + zod: 3.22.4 + /zod@3.22.4: resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==}