From 48b85c13ddd96c11c96c66bbdc55e9935ab28042 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:09:05 +0800 Subject: [PATCH 01/66] fix(deps): update all non-major dependencies (#11765) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- examples/framework-multiple/package.json | 6 +- examples/framework-preact/package.json | 2 +- examples/framework-solid/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/server-islands/package.json | 2 +- examples/with-mdx/package.json | 2 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 2 +- package.json | 8 +- .../e2e/fixtures/actions-blog/package.json | 2 +- .../fixtures/actions-react-19/package.json | 2 +- .../e2e/fixtures/astro-component/package.json | 2 +- .../e2e/fixtures/astro-envs/package.json | 2 +- .../e2e/fixtures/client-only/package.json | 6 +- .../e2e/fixtures/dev-toolbar/package.json | 2 +- .../e2e/fixtures/error-cyclic/package.json | 2 +- .../astro/e2e/fixtures/errors/package.json | 6 +- .../e2e/fixtures/hydration-race/package.json | 2 +- .../fixtures/multiple-frameworks/package.json | 6 +- .../namespaced-component/package.json | 2 +- .../fixtures/nested-in-preact/package.json | 6 +- .../e2e/fixtures/nested-in-react/package.json | 6 +- .../e2e/fixtures/nested-in-solid/package.json | 6 +- .../fixtures/nested-in-svelte/package.json | 6 +- .../e2e/fixtures/nested-in-vue/package.json | 6 +- .../fixtures/nested-recursive/package.json | 6 +- .../preact-compat-component/package.json | 2 +- .../fixtures/preact-component/package.json | 2 +- .../preact-lazy-component/package.json | 2 +- .../e2e/fixtures/solid-circular/package.json | 2 +- .../e2e/fixtures/solid-component/package.json | 2 +- .../e2e/fixtures/solid-recurse/package.json | 2 +- .../e2e/fixtures/tailwindcss/package.json | 2 +- .../fixtures/view-transitions/package.json | 2 +- .../e2e/fixtures/vue-component/package.json | 2 +- packages/astro/package.json | 14 +- .../astro/test/fixtures/0-css/package.json | 2 +- .../test/fixtures/astro-basic/package.json | 2 +- .../test/fixtures/astro-children/package.json | 4 +- .../test/fixtures/astro-envs/package.json | 2 +- .../test/fixtures/astro-expr/package.json | 2 +- .../test/fixtures/astro-fallback/package.json | 2 +- .../astro-slot-with-client/package.json | 2 +- .../fixtures/astro-slots-nested/package.json | 6 +- .../fixtures/before-hydration/package.json | 2 +- .../test/fixtures/build-assets/package.json | 2 +- .../component-library-shared/package.json | 2 +- .../fixtures/component-library/package.json | 2 +- .../container-custom-renderers/package.json | 2 +- .../content-layer-markdoc/package.json | 2 +- .../fixtures/entry-file-names/package.json | 2 +- .../astro/test/fixtures/fetch/package.json | 4 +- .../fixtures/fontsource-package/package.json | 4 +- .../test/fixtures/hydration-race/package.json | 2 +- packages/astro/test/fixtures/jsx/package.json | 6 +- .../test/fixtures/large-array/package.json | 2 +- .../astro/test/fixtures/postcss/package.json | 6 +- .../preact-compat-component/package.json | 2 +- .../fixtures/preact-component/package.json | 2 +- .../fixtures/react-and-solid/package.json | 2 +- .../package.json | 2 +- .../test/fixtures/slots-preact/package.json | 2 +- .../test/fixtures/slots-solid/package.json | 2 +- .../test/fixtures/slots-vue/package.json | 2 +- .../deps/solid-jsx-component/package.json | 2 +- .../fixtures/solid-component/package.json | 4 +- .../astro/test/fixtures/ssr-env/package.json | 2 +- .../test/fixtures/ssr-scripts/package.json | 2 +- .../static-build-frameworks/package.json | 2 +- .../test/fixtures/static-build/package.json | 2 +- .../test/fixtures/tailwindcss-ts/package.json | 2 +- .../test/fixtures/tailwindcss/package.json | 2 +- .../test/fixtures/vue-component/package.json | 2 +- .../astro/test/fixtures/vue-jsx/package.json | 2 +- .../vue-with-multi-renderer/package.json | 2 +- packages/db/package.json | 2 +- .../fixtures/ticketing-example/package.json | 2 +- packages/integrations/alpinejs/package.json | 4 +- packages/integrations/markdoc/package.json | 2 +- .../render-with-components/package.json | 2 +- packages/integrations/mdx/package.json | 4 +- .../fixtures/mdx-infinite-loop/package.json | 2 +- packages/integrations/preact/package.json | 4 +- packages/integrations/react/package.json | 2 +- .../fixtures/react-component/package.json | 2 +- packages/integrations/solid/package.json | 4 +- packages/integrations/svelte/package.json | 2 +- packages/integrations/tailwind/package.json | 4 +- packages/integrations/vue/package.json | 10 +- .../app-entrypoint-async/package.json | 2 +- .../package.json | 2 +- .../test/fixtures/app-entrypoint/package.json | 2 +- packages/markdown/remark/package.json | 4 +- packages/studio/package.json | 2 +- pnpm-lock.yaml | 2227 ++++++++--------- 95 files changed, 1249 insertions(+), 1264 deletions(-) diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 626962d02e..043cee15eb 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -19,11 +19,11 @@ "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "astro": "^4.14.2", - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index d7169d6cc2..cb70d3a9f0 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -14,6 +14,6 @@ "@astrojs/preact": "^3.5.1", "@preact/signals": "^1.3.0", "astro": "^4.14.2", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index cc583f052e..6d234f05c2 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -13,6 +13,6 @@ "dependencies": { "@astrojs/solid-js": "^4.4.1", "astro": "^4.14.2", - "solid-js": "^1.8.20" + "solid-js": "^1.8.21" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 1bff3df25d..2e9653a88a 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -13,6 +13,6 @@ "dependencies": { "@astrojs/vue": "^4.5.0", "astro": "^4.14.2", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index a3bf732943..adf39cd380 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -21,6 +21,6 @@ "postcss": "^8.4.41", "react": "^18.3.1", "react-dom": "^18.3.1", - "tailwindcss": "^3.4.9" + "tailwindcss": "^3.4.10" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 934959975c..e83c26abc6 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -14,6 +14,6 @@ "@astrojs/mdx": "^3.1.3", "@astrojs/preact": "^3.5.1", "astro": "^4.14.2", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index b8db777b42..709d6388cb 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -15,6 +15,6 @@ "@nanostores/preact": "^0.5.2", "astro": "^4.14.2", "nanostores": "^0.11.2", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 80ba691d86..cd5e7b994e 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -18,6 +18,6 @@ "autoprefixer": "^10.4.20", "canvas-confetti": "^1.9.3", "postcss": "^8.4.41", - "tailwindcss": "^3.4.9" + "tailwindcss": "^3.4.10" } } diff --git a/package.json b/package.json index c979990452..f32a2520dd 100644 --- a/package.json +++ b/package.json @@ -52,22 +52,22 @@ "astro-benchmark": "workspace:*" }, "devDependencies": { - "@astrojs/check": "^0.9.2", + "@astrojs/check": "^0.9.3", "@biomejs/biome": "1.8.3", "@changesets/changelog-github": "^0.5.0", "@changesets/cli": "^2.27.7", "@types/node": "^18.17.8", "esbuild": "^0.21.5", "eslint": "^9.9.0", - "eslint-plugin-no-only-tests": "^3.1.0", + "eslint-plugin-no-only-tests": "^3.3.0", "eslint-plugin-regexp": "^2.6.0", "globby": "^14.0.2", "only-allow": "^1.2.1", "prettier": "^3.3.3", "prettier-plugin-astro": "^0.14.1", - "turbo": "^2.0.12", + "turbo": "^2.0.14", "typescript": "~5.5.4", - "typescript-eslint": "^8.0.1" + "typescript-eslint": "^8.1.0" }, "pnpm": { "peerDependencyRules": { diff --git a/packages/astro/e2e/fixtures/actions-blog/package.json b/packages/astro/e2e/fixtures/actions-blog/package.json index 311b7a3788..04685b8105 100644 --- a/packages/astro/e2e/fixtures/actions-blog/package.json +++ b/packages/astro/e2e/fixtures/actions-blog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/check": "^0.9.2", + "@astrojs/check": "^0.9.3", "@astrojs/db": "workspace:*", "@astrojs/node": "workspace:*", "@astrojs/react": "workspace:*", diff --git a/packages/astro/e2e/fixtures/actions-react-19/package.json b/packages/astro/e2e/fixtures/actions-react-19/package.json index a0f446eb95..aa5fa90ddf 100644 --- a/packages/astro/e2e/fixtures/actions-react-19/package.json +++ b/packages/astro/e2e/fixtures/actions-react-19/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/check": "^0.9.2", + "@astrojs/check": "^0.9.3", "@astrojs/db": "workspace:*", "@astrojs/node": "workspace:*", "@astrojs/react": "workspace:*", diff --git a/packages/astro/e2e/fixtures/astro-component/package.json b/packages/astro/e2e/fixtures/astro-component/package.json index 45581e1de1..1f892478e4 100644 --- a/packages/astro/e2e/fixtures/astro-component/package.json +++ b/packages/astro/e2e/fixtures/astro-component/package.json @@ -6,6 +6,6 @@ "@astrojs/preact": "workspace:*", "@e2e/astro-linked-lib": "link:../_deps/astro-linked-lib", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/e2e/fixtures/astro-envs/package.json b/packages/astro/e2e/fixtures/astro-envs/package.json index bc11078b8c..7bb5ecfd0f 100644 --- a/packages/astro/e2e/fixtures/astro-envs/package.json +++ b/packages/astro/e2e/fixtures/astro-envs/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/vue": "workspace:*", "astro": "workspace:*", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/client-only/package.json b/packages/astro/e2e/fixtures/client-only/package.json index 2a1ce6d7f1..4c9903c7be 100644 --- a/packages/astro/e2e/fixtures/client-only/package.json +++ b/packages/astro/e2e/fixtures/client-only/package.json @@ -11,11 +11,11 @@ "astro": "workspace:*" }, "dependencies": { - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/dev-toolbar/package.json b/packages/astro/e2e/fixtures/dev-toolbar/package.json index 2a11f3d13b..363596ce06 100644 --- a/packages/astro/e2e/fixtures/dev-toolbar/package.json +++ b/packages/astro/e2e/fixtures/dev-toolbar/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/e2e/fixtures/error-cyclic/package.json b/packages/astro/e2e/fixtures/error-cyclic/package.json index e6c21c0aa9..41988b039c 100644 --- a/packages/astro/e2e/fixtures/error-cyclic/package.json +++ b/packages/astro/e2e/fixtures/error-cyclic/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/e2e/fixtures/errors/package.json b/packages/astro/e2e/fixtures/errors/package.json index 2bd6a5fd3b..1d01a376f2 100644 --- a/packages/astro/e2e/fixtures/errors/package.json +++ b/packages/astro/e2e/fixtures/errors/package.json @@ -9,12 +9,12 @@ "@astrojs/svelte": "workspace:*", "@astrojs/vue": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", "sass": "^1.77.8", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/hydration-race/package.json b/packages/astro/e2e/fixtures/hydration-race/package.json index 368203f334..eabf710df1 100644 --- a/packages/astro/e2e/fixtures/hydration-race/package.json +++ b/packages/astro/e2e/fixtures/hydration-race/package.json @@ -9,6 +9,6 @@ "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/e2e/fixtures/multiple-frameworks/package.json b/packages/astro/e2e/fixtures/multiple-frameworks/package.json index b05763561e..c7438fd980 100644 --- a/packages/astro/e2e/fixtures/multiple-frameworks/package.json +++ b/packages/astro/e2e/fixtures/multiple-frameworks/package.json @@ -14,11 +14,11 @@ "dependencies": { "@webcomponents/template-shadowroot": "^0.2.1", "lit": "^3.2.0", - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/namespaced-component/package.json b/packages/astro/e2e/fixtures/namespaced-component/package.json index 35cc59752b..fb7b9d6a7b 100644 --- a/packages/astro/e2e/fixtures/namespaced-component/package.json +++ b/packages/astro/e2e/fixtures/namespaced-component/package.json @@ -8,6 +8,6 @@ "astro": "workspace:*" }, "dependencies": { - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/e2e/fixtures/nested-in-preact/package.json b/packages/astro/e2e/fixtures/nested-in-preact/package.json index 855c013a99..339cdcbc17 100644 --- a/packages/astro/e2e/fixtures/nested-in-preact/package.json +++ b/packages/astro/e2e/fixtures/nested-in-preact/package.json @@ -11,11 +11,11 @@ "astro": "workspace:*" }, "dependencies": { - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/nested-in-react/package.json b/packages/astro/e2e/fixtures/nested-in-react/package.json index 81f74f3ad4..9573ef2669 100644 --- a/packages/astro/e2e/fixtures/nested-in-react/package.json +++ b/packages/astro/e2e/fixtures/nested-in-react/package.json @@ -11,11 +11,11 @@ "astro": "workspace:*" }, "dependencies": { - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/nested-in-solid/package.json b/packages/astro/e2e/fixtures/nested-in-solid/package.json index 0d9b59c9d8..6e71432f0d 100644 --- a/packages/astro/e2e/fixtures/nested-in-solid/package.json +++ b/packages/astro/e2e/fixtures/nested-in-solid/package.json @@ -11,11 +11,11 @@ "astro": "workspace:*" }, "dependencies": { - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/nested-in-svelte/package.json b/packages/astro/e2e/fixtures/nested-in-svelte/package.json index 9cc7bdb306..1f319d028f 100644 --- a/packages/astro/e2e/fixtures/nested-in-svelte/package.json +++ b/packages/astro/e2e/fixtures/nested-in-svelte/package.json @@ -11,11 +11,11 @@ "astro": "workspace:*" }, "dependencies": { - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/nested-in-vue/package.json b/packages/astro/e2e/fixtures/nested-in-vue/package.json index abbd45a703..bd44589f32 100644 --- a/packages/astro/e2e/fixtures/nested-in-vue/package.json +++ b/packages/astro/e2e/fixtures/nested-in-vue/package.json @@ -11,11 +11,11 @@ "astro": "workspace:*" }, "dependencies": { - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/nested-recursive/package.json b/packages/astro/e2e/fixtures/nested-recursive/package.json index 18a9d346ae..ab809a3a3d 100644 --- a/packages/astro/e2e/fixtures/nested-recursive/package.json +++ b/packages/astro/e2e/fixtures/nested-recursive/package.json @@ -11,12 +11,12 @@ "astro": "workspace:*" }, "dependencies": { - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" }, "scripts": { "dev": "astro dev" diff --git a/packages/astro/e2e/fixtures/preact-compat-component/package.json b/packages/astro/e2e/fixtures/preact-compat-component/package.json index 326a37efa8..fcdbdf63a8 100644 --- a/packages/astro/e2e/fixtures/preact-compat-component/package.json +++ b/packages/astro/e2e/fixtures/preact-compat-component/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/e2e/fixtures/preact-component/package.json b/packages/astro/e2e/fixtures/preact-component/package.json index 76ab152e2e..8aedffe037 100644 --- a/packages/astro/e2e/fixtures/preact-component/package.json +++ b/packages/astro/e2e/fixtures/preact-component/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/e2e/fixtures/preact-lazy-component/package.json b/packages/astro/e2e/fixtures/preact-lazy-component/package.json index a2f45057a7..8950fe0124 100644 --- a/packages/astro/e2e/fixtures/preact-lazy-component/package.json +++ b/packages/astro/e2e/fixtures/preact-lazy-component/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/e2e/fixtures/solid-circular/package.json b/packages/astro/e2e/fixtures/solid-circular/package.json index 4b52eaed79..21a0b66ba0 100644 --- a/packages/astro/e2e/fixtures/solid-circular/package.json +++ b/packages/astro/e2e/fixtures/solid-circular/package.json @@ -7,6 +7,6 @@ "astro": "workspace:*" }, "devDependencies": { - "solid-js": "^1.8.20" + "solid-js": "^1.8.21" } } diff --git a/packages/astro/e2e/fixtures/solid-component/package.json b/packages/astro/e2e/fixtures/solid-component/package.json index f7f4d2610e..850a41587a 100644 --- a/packages/astro/e2e/fixtures/solid-component/package.json +++ b/packages/astro/e2e/fixtures/solid-component/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/solid-js": "workspace:*", "astro": "workspace:*", - "solid-js": "^1.8.20" + "solid-js": "^1.8.21" } } diff --git a/packages/astro/e2e/fixtures/solid-recurse/package.json b/packages/astro/e2e/fixtures/solid-recurse/package.json index fe2f588ee8..aa51ebe5d8 100644 --- a/packages/astro/e2e/fixtures/solid-recurse/package.json +++ b/packages/astro/e2e/fixtures/solid-recurse/package.json @@ -7,6 +7,6 @@ "astro": "workspace:*" }, "devDependencies": { - "solid-js": "^1.8.20" + "solid-js": "^1.8.21" } } diff --git a/packages/astro/e2e/fixtures/tailwindcss/package.json b/packages/astro/e2e/fixtures/tailwindcss/package.json index 0852f72614..599bca6ac9 100644 --- a/packages/astro/e2e/fixtures/tailwindcss/package.json +++ b/packages/astro/e2e/fixtures/tailwindcss/package.json @@ -7,6 +7,6 @@ "astro": "workspace:*", "autoprefixer": "^10.4.20", "postcss": "^8.4.41", - "tailwindcss": "^3.4.9" + "tailwindcss": "^3.4.10" } } diff --git a/packages/astro/e2e/fixtures/view-transitions/package.json b/packages/astro/e2e/fixtures/view-transitions/package.json index e50f5de5b7..b5460ebcd1 100644 --- a/packages/astro/e2e/fixtures/view-transitions/package.json +++ b/packages/astro/e2e/fixtures/view-transitions/package.json @@ -11,6 +11,6 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/vue-component/package.json b/packages/astro/e2e/fixtures/vue-component/package.json index dffb08551c..98e9e12394 100644 --- a/packages/astro/e2e/fixtures/vue-component/package.json +++ b/packages/astro/e2e/fixtures/vue-component/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/vue": "workspace:*", "astro": "workspace:*", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/package.json b/packages/astro/package.json index 9fac8c9b70..263d9389e9 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -123,7 +123,7 @@ "test:node": "astro-scripts test \"test/**/*.test.js\"" }, "dependencies": { - "@astrojs/compiler": "^2.10.2", + "@astrojs/compiler": "^2.10.3", "@astrojs/internal-helpers": "workspace:*", "@astrojs/markdown-remark": "workspace:*", "@astrojs/telemetry": "workspace:*", @@ -167,7 +167,7 @@ "magic-string": "^0.30.11", "micromatch": "^4.0.7", "mrmime": "^2.0.0", - "neotraverse": "^0.6.9", + "neotraverse": "^0.6.18", "ora": "^8.0.1", "p-limit": "^6.1.0", "p-queue": "^8.0.1", @@ -176,13 +176,13 @@ "prompts": "^2.4.2", "rehype": "^13.0.1", "semver": "^7.6.3", - "shiki": "^1.12.1", + "shiki": "^1.14.1", "string-width": "^7.2.0", "strip-ansi": "^7.1.0", "tsconfck": "^3.1.1", "unist-util-visit": "^5.0.0", "vfile": "^6.0.2", - "vite": "^5.4.0", + "vite": "^5.4.1", "vitefu": "^0.2.5", "which-pm": "^3.0.0", "xxhash-wasm": "^1.0.2", @@ -195,8 +195,8 @@ "sharp": "^0.33.3" }, "devDependencies": { - "@astrojs/check": "^0.9.2", - "@playwright/test": "^1.46.0", + "@astrojs/check": "^0.9.3", + "@playwright/test": "^1.46.1", "@types/aria-query": "^5.0.4", "@types/babel__generator": "^7.6.8", "@types/babel__traverse": "^7.20.6", @@ -227,7 +227,7 @@ "rehype-slug": "^6.0.0", "rehype-toc": "^3.0.2", "remark-code-titles": "^0.1.2", - "rollup": "^4.20.0", + "rollup": "^4.21.0", "sass": "^1.77.8", "undici": "^6.19.7", "unified": "^11.0.5" diff --git a/packages/astro/test/fixtures/0-css/package.json b/packages/astro/test/fixtures/0-css/package.json index 8697a7abe5..3940457953 100644 --- a/packages/astro/test/fixtures/0-css/package.json +++ b/packages/astro/test/fixtures/0-css/package.json @@ -10,6 +10,6 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/astro-basic/package.json b/packages/astro/test/fixtures/astro-basic/package.json index 50b6cdba1e..71d73265be 100644 --- a/packages/astro/test/fixtures/astro-basic/package.json +++ b/packages/astro/test/fixtures/astro-basic/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/astro-children/package.json b/packages/astro/test/fixtures/astro-children/package.json index b247407d82..d2e7a6d5e7 100644 --- a/packages/astro/test/fixtures/astro-children/package.json +++ b/packages/astro/test/fixtures/astro-children/package.json @@ -7,8 +7,8 @@ "@astrojs/svelte": "workspace:*", "@astrojs/vue": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1", + "preact": "^10.23.2", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/astro-envs/package.json b/packages/astro/test/fixtures/astro-envs/package.json index dac39dfa59..ececd485cf 100644 --- a/packages/astro/test/fixtures/astro-envs/package.json +++ b/packages/astro/test/fixtures/astro-envs/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/vue": "workspace:*", "astro": "workspace:*", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/astro-expr/package.json b/packages/astro/test/fixtures/astro-expr/package.json index fa76615abd..cc6a91062a 100644 --- a/packages/astro/test/fixtures/astro-expr/package.json +++ b/packages/astro/test/fixtures/astro-expr/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/astro-fallback/package.json b/packages/astro/test/fixtures/astro-fallback/package.json index aa9a911688..7ef08ce526 100644 --- a/packages/astro/test/fixtures/astro-fallback/package.json +++ b/packages/astro/test/fixtures/astro-fallback/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/astro-slot-with-client/package.json b/packages/astro/test/fixtures/astro-slot-with-client/package.json index b3968a9221..8cd72ce595 100644 --- a/packages/astro/test/fixtures/astro-slot-with-client/package.json +++ b/packages/astro/test/fixtures/astro-slot-with-client/package.json @@ -4,6 +4,6 @@ "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/astro-slots-nested/package.json b/packages/astro/test/fixtures/astro-slots-nested/package.json index 7d8082d291..229bd25605 100644 --- a/packages/astro/test/fixtures/astro-slots-nested/package.json +++ b/packages/astro/test/fixtures/astro-slots-nested/package.json @@ -9,11 +9,11 @@ "@astrojs/svelte": "workspace:*", "@astrojs/vue": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/before-hydration/package.json b/packages/astro/test/fixtures/before-hydration/package.json index 53c2da2978..643e9e7881 100644 --- a/packages/astro/test/fixtures/before-hydration/package.json +++ b/packages/astro/test/fixtures/before-hydration/package.json @@ -4,6 +4,6 @@ "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/build-assets/package.json b/packages/astro/test/fixtures/build-assets/package.json index 78330bd2a5..dc06d0222b 100644 --- a/packages/astro/test/fixtures/build-assets/package.json +++ b/packages/astro/test/fixtures/build-assets/package.json @@ -4,6 +4,6 @@ "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/component-library-shared/package.json b/packages/astro/test/fixtures/component-library-shared/package.json index 09abd1ae75..7a68fc20e0 100644 --- a/packages/astro/test/fixtures/component-library-shared/package.json +++ b/packages/astro/test/fixtures/component-library-shared/package.json @@ -18,7 +18,7 @@ "astro": "workspace:*" }, "dependencies": { - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1" } } diff --git a/packages/astro/test/fixtures/component-library/package.json b/packages/astro/test/fixtures/component-library/package.json index fe33553197..a8b89e9eee 100644 --- a/packages/astro/test/fixtures/component-library/package.json +++ b/packages/astro/test/fixtures/component-library/package.json @@ -8,7 +8,7 @@ "@astrojs/svelte": "workspace:*", "@test/component-library-shared": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", "svelte": "^4.2.18" diff --git a/packages/astro/test/fixtures/container-custom-renderers/package.json b/packages/astro/test/fixtures/container-custom-renderers/package.json index 59cbee3c55..6ffebecb95 100644 --- a/packages/astro/test/fixtures/container-custom-renderers/package.json +++ b/packages/astro/test/fixtures/container-custom-renderers/package.json @@ -9,6 +9,6 @@ "astro": "workspace:*", "react": "^18.3.1", "react-dom": "^18.3.1", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/content-layer-markdoc/package.json b/packages/astro/test/fixtures/content-layer-markdoc/package.json index 91ca2f8c9c..6ff126ad69 100644 --- a/packages/astro/test/fixtures/content-layer-markdoc/package.json +++ b/packages/astro/test/fixtures/content-layer-markdoc/package.json @@ -6,6 +6,6 @@ "@astrojs/markdoc": "workspace:*", "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } \ No newline at end of file diff --git a/packages/astro/test/fixtures/entry-file-names/package.json b/packages/astro/test/fixtures/entry-file-names/package.json index ebf699b7cf..3e99d3817c 100644 --- a/packages/astro/test/fixtures/entry-file-names/package.json +++ b/packages/astro/test/fixtures/entry-file-names/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/preact": "workspace:", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/fetch/package.json b/packages/astro/test/fixtures/fetch/package.json index 0a653cbeba..52f60a20f9 100644 --- a/packages/astro/test/fixtures/fetch/package.json +++ b/packages/astro/test/fixtures/fetch/package.json @@ -7,8 +7,8 @@ "@astrojs/svelte": "workspace:*", "@astrojs/vue": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1", + "preact": "^10.23.2", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/fontsource-package/package.json b/packages/astro/test/fixtures/fontsource-package/package.json index 13d90899a4..558a54d16b 100644 --- a/packages/astro/test/fixtures/fontsource-package/package.json +++ b/packages/astro/test/fixtures/fontsource-package/package.json @@ -3,8 +3,8 @@ "version": "0.0.0", "private": true, "dependencies": { - "@fontsource/monofett": "5.0.20", - "@fontsource/montserrat": "5.0.18", + "@fontsource/monofett": "5.0.21", + "@fontsource/montserrat": "5.0.19", "astro": "workspace:*" } } diff --git a/packages/astro/test/fixtures/hydration-race/package.json b/packages/astro/test/fixtures/hydration-race/package.json index 13f285193a..5a0ad8a209 100644 --- a/packages/astro/test/fixtures/hydration-race/package.json +++ b/packages/astro/test/fixtures/hydration-race/package.json @@ -9,6 +9,6 @@ "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/jsx/package.json b/packages/astro/test/fixtures/jsx/package.json index 7a4e886dfd..2e45e65750 100644 --- a/packages/astro/test/fixtures/jsx/package.json +++ b/packages/astro/test/fixtures/jsx/package.json @@ -12,11 +12,11 @@ "astro": "workspace:*" }, "dependencies": { - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/large-array/package.json b/packages/astro/test/fixtures/large-array/package.json index 205a04f7a6..9f1f25828a 100644 --- a/packages/astro/test/fixtures/large-array/package.json +++ b/packages/astro/test/fixtures/large-array/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/solid-js": "workspace:*", "astro": "workspace:*", - "solid-js": "^1.8.20" + "solid-js": "^1.8.21" } } diff --git a/packages/astro/test/fixtures/postcss/package.json b/packages/astro/test/fixtures/postcss/package.json index c16d50ecce..7ea4f8378f 100644 --- a/packages/astro/test/fixtures/postcss/package.json +++ b/packages/astro/test/fixtures/postcss/package.json @@ -9,11 +9,11 @@ "astro": "workspace:*", "autoprefixer": "^10.4.20", "postcss": "^8.4.41", - "solid-js": "^1.8.20", + "solid-js": "^1.8.21", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" }, "devDependencies": { - "postcss-preset-env": "^10.0.0" + "postcss-preset-env": "^10.0.2" } } diff --git a/packages/astro/test/fixtures/preact-compat-component/package.json b/packages/astro/test/fixtures/preact-compat-component/package.json index c36fe6c64a..1b8a4e2dac 100644 --- a/packages/astro/test/fixtures/preact-compat-component/package.json +++ b/packages/astro/test/fixtures/preact-compat-component/package.json @@ -6,6 +6,6 @@ "@astrojs/preact": "workspace:*", "@test/react-lib": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/preact-component/package.json b/packages/astro/test/fixtures/preact-component/package.json index 79d71c56a0..23bb20d293 100644 --- a/packages/astro/test/fixtures/preact-component/package.json +++ b/packages/astro/test/fixtures/preact-component/package.json @@ -6,6 +6,6 @@ "@astrojs/preact": "workspace:*", "@preact/signals": "1.3.0", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/react-and-solid/package.json b/packages/astro/test/fixtures/react-and-solid/package.json index e06c83ea3b..dbb45a68fc 100644 --- a/packages/astro/test/fixtures/react-and-solid/package.json +++ b/packages/astro/test/fixtures/react-and-solid/package.json @@ -7,6 +7,6 @@ "astro": "workspace:*", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.20" + "solid-js": "^1.8.21" } } diff --git a/packages/astro/test/fixtures/reexport-astro-containing-client-component/package.json b/packages/astro/test/fixtures/reexport-astro-containing-client-component/package.json index fa490883d3..ea2cbc9f66 100644 --- a/packages/astro/test/fixtures/reexport-astro-containing-client-component/package.json +++ b/packages/astro/test/fixtures/reexport-astro-containing-client-component/package.json @@ -4,6 +4,6 @@ "dependencies": { "@astrojs/preact": "workspace:", "astro": "workspace:", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/slots-preact/package.json b/packages/astro/test/fixtures/slots-preact/package.json index ed139e8553..19281fe1e2 100644 --- a/packages/astro/test/fixtures/slots-preact/package.json +++ b/packages/astro/test/fixtures/slots-preact/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/slots-solid/package.json b/packages/astro/test/fixtures/slots-solid/package.json index bdc6f24dbb..55d2cfa32b 100644 --- a/packages/astro/test/fixtures/slots-solid/package.json +++ b/packages/astro/test/fixtures/slots-solid/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/solid-js": "workspace:*", "astro": "workspace:*", - "solid-js": "^1.8.20" + "solid-js": "^1.8.21" } } diff --git a/packages/astro/test/fixtures/slots-vue/package.json b/packages/astro/test/fixtures/slots-vue/package.json index 7c46eae4ec..da27c3cc4a 100644 --- a/packages/astro/test/fixtures/slots-vue/package.json +++ b/packages/astro/test/fixtures/slots-vue/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/vue": "workspace:*", "astro": "workspace:*", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/solid-component/deps/solid-jsx-component/package.json b/packages/astro/test/fixtures/solid-component/deps/solid-jsx-component/package.json index 2a11dfce57..32042224fe 100644 --- a/packages/astro/test/fixtures/solid-component/deps/solid-jsx-component/package.json +++ b/packages/astro/test/fixtures/solid-component/deps/solid-jsx-component/package.json @@ -10,6 +10,6 @@ } }, "dependencies": { - "solid-js": "^1.8.20" + "solid-js": "^1.8.21" } } diff --git a/packages/astro/test/fixtures/solid-component/package.json b/packages/astro/test/fixtures/solid-component/package.json index 2a18ae16f2..f1f87f2b29 100644 --- a/packages/astro/test/fixtures/solid-component/package.json +++ b/packages/astro/test/fixtures/solid-component/package.json @@ -4,9 +4,9 @@ "private": true, "dependencies": { "@astrojs/solid-js": "workspace:*", - "@solidjs/router": "^0.14.1", + "@solidjs/router": "^0.14.3", "@test/solid-jsx-component": "file:./deps/solid-jsx-component", "astro": "workspace:*", - "solid-js": "^1.8.20" + "solid-js": "^1.8.21" } } diff --git a/packages/astro/test/fixtures/ssr-env/package.json b/packages/astro/test/fixtures/ssr-env/package.json index c78c97cfd0..0410739114 100644 --- a/packages/astro/test/fixtures/ssr-env/package.json +++ b/packages/astro/test/fixtures/ssr-env/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/ssr-scripts/package.json b/packages/astro/test/fixtures/ssr-scripts/package.json index 6dc9153e51..d9866bcbbc 100644 --- a/packages/astro/test/fixtures/ssr-scripts/package.json +++ b/packages/astro/test/fixtures/ssr-scripts/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/preact": "workspace:", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/static-build-frameworks/package.json b/packages/astro/test/fixtures/static-build-frameworks/package.json index f2041235a9..9f9253b765 100644 --- a/packages/astro/test/fixtures/static-build-frameworks/package.json +++ b/packages/astro/test/fixtures/static-build-frameworks/package.json @@ -6,7 +6,7 @@ "@astrojs/preact": "workspace:*", "@astrojs/react": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1", + "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/packages/astro/test/fixtures/static-build/package.json b/packages/astro/test/fixtures/static-build/package.json index 85d9495045..687a4ca99f 100644 --- a/packages/astro/test/fixtures/static-build/package.json +++ b/packages/astro/test/fixtures/static-build/package.json @@ -6,6 +6,6 @@ "@astrojs/preact": "workspace:*", "@test/static-build-pkg": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/astro/test/fixtures/tailwindcss-ts/package.json b/packages/astro/test/fixtures/tailwindcss-ts/package.json index aa7aa14f5c..a609e7b90d 100644 --- a/packages/astro/test/fixtures/tailwindcss-ts/package.json +++ b/packages/astro/test/fixtures/tailwindcss-ts/package.json @@ -6,6 +6,6 @@ "@astrojs/tailwind": "workspace:*", "astro": "workspace:*", "postcss": "^8.4.41", - "tailwindcss": "^3.4.9" + "tailwindcss": "^3.4.10" } } diff --git a/packages/astro/test/fixtures/tailwindcss/package.json b/packages/astro/test/fixtures/tailwindcss/package.json index 3c6cb2b314..4997356860 100644 --- a/packages/astro/test/fixtures/tailwindcss/package.json +++ b/packages/astro/test/fixtures/tailwindcss/package.json @@ -8,6 +8,6 @@ "astro": "workspace:*", "autoprefixer": "^10.4.20", "postcss": "^8.4.41", - "tailwindcss": "^3.4.9" + "tailwindcss": "^3.4.10" } } diff --git a/packages/astro/test/fixtures/vue-component/package.json b/packages/astro/test/fixtures/vue-component/package.json index 43eb591982..ad3d4af482 100644 --- a/packages/astro/test/fixtures/vue-component/package.json +++ b/packages/astro/test/fixtures/vue-component/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/vue": "workspace:*", "astro": "workspace:*", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/vue-jsx/package.json b/packages/astro/test/fixtures/vue-jsx/package.json index 3d0718433c..c089466fa6 100644 --- a/packages/astro/test/fixtures/vue-jsx/package.json +++ b/packages/astro/test/fixtures/vue-jsx/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/vue": "workspace:*", "astro": "workspace:*", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/vue-with-multi-renderer/package.json b/packages/astro/test/fixtures/vue-with-multi-renderer/package.json index 2b9ca8af44..65be000bf8 100644 --- a/packages/astro/test/fixtures/vue-with-multi-renderer/package.json +++ b/packages/astro/test/fixtures/vue-with-multi-renderer/package.json @@ -7,6 +7,6 @@ "@astrojs/vue": "workspace:*", "astro": "workspace:*", "svelte": "^4.2.18", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/db/package.json b/packages/db/package.json index 5f82fa9104..5a73940b59 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -92,6 +92,6 @@ "astro-scripts": "workspace:*", "cheerio": "1.0.0", "typescript": "^5.5.4", - "vite": "^5.4.0" + "vite": "^5.4.1" } } diff --git a/packages/db/test/fixtures/ticketing-example/package.json b/packages/db/test/fixtures/ticketing-example/package.json index 0bacf2bec9..b4c67a3108 100644 --- a/packages/db/test/fixtures/ticketing-example/package.json +++ b/packages/db/test/fixtures/ticketing-example/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/check": "^0.9.2", + "@astrojs/check": "^0.9.3", "@astrojs/db": "workspace:*", "@astrojs/node": "workspace:*", "@astrojs/react": "^3.6.2", diff --git a/packages/integrations/alpinejs/package.json b/packages/integrations/alpinejs/package.json index 344946cf7d..7cd4e3ac0a 100644 --- a/packages/integrations/alpinejs/package.json +++ b/packages/integrations/alpinejs/package.json @@ -38,10 +38,10 @@ "alpinejs": "^3.0.0" }, "devDependencies": { - "@playwright/test": "1.46.0", + "@playwright/test": "1.46.1", "astro": "workspace:*", "astro-scripts": "workspace:*", - "vite": "^5.4.0" + "vite": "^5.4.1" }, "publishConfig": { "provenance": true diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 8908cb54b1..2314f81b94 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -80,7 +80,7 @@ "astro-scripts": "workspace:*", "devalue": "^5.0.0", "linkedom": "^0.18.4", - "vite": "^5.4.0" + "vite": "^5.4.1" }, "engines": { "node": "^18.17.1 || ^20.3.0 || >=21.0.0" diff --git a/packages/integrations/markdoc/test/fixtures/render-with-components/package.json b/packages/integrations/markdoc/test/fixtures/render-with-components/package.json index 9ca21ed160..03b95608be 100644 --- a/packages/integrations/markdoc/test/fixtures/render-with-components/package.json +++ b/packages/integrations/markdoc/test/fixtures/render-with-components/package.json @@ -6,6 +6,6 @@ "@astrojs/markdoc": "workspace:*", "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index e8f9c743a3..773b3bf621 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -68,9 +68,9 @@ "remark-rehype": "^11.1.0", "remark-shiki-twoslash": "^3.1.3", "remark-toc": "^9.0.0", - "shiki": "^1.12.1", + "shiki": "^1.14.1", "unified": "^11.0.5", - "vite": "^5.4.0" + "vite": "^5.4.1" }, "engines": { "node": "^18.17.1 || ^20.3.0 || >=21.0.0" diff --git a/packages/integrations/mdx/test/fixtures/mdx-infinite-loop/package.json b/packages/integrations/mdx/test/fixtures/mdx-infinite-loop/package.json index eab85cefcf..0fa46c0c29 100644 --- a/packages/integrations/mdx/test/fixtures/mdx-infinite-loop/package.json +++ b/packages/integrations/mdx/test/fixtures/mdx-infinite-loop/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/preact": "workspace:*", "astro": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" } } diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index 47a24a4cf0..9bd21fc73c 100644 --- a/packages/integrations/preact/package.json +++ b/packages/integrations/preact/package.json @@ -40,12 +40,12 @@ "@preact/preset-vite": "2.8.2", "@preact/signals": "^1.3.0", "babel-plugin-transform-hook-names": "^1.0.2", - "preact-render-to-string": "^6.5.8" + "preact-render-to-string": "^6.5.9" }, "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", - "preact": "^10.23.1" + "preact": "^10.23.2" }, "peerDependencies": { "preact": "^10.6.5" diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index 6f89518922..a927eeabee 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -66,7 +66,7 @@ "cheerio": "1.0.0", "react": "^18.3.1", "react-dom": "^18.3.1", - "vite": "^5.4.0" + "vite": "^5.4.1" }, "peerDependencies": { "@types/react": "^17.0.50 || ^18.0.21", diff --git a/packages/integrations/react/test/fixtures/react-component/package.json b/packages/integrations/react/test/fixtures/react-component/package.json index 783fb87c3d..5e2149b65c 100644 --- a/packages/integrations/react/test/fixtures/react-component/package.json +++ b/packages/integrations/react/test/fixtures/react-component/package.json @@ -8,6 +8,6 @@ "astro": "workspace:*", "react": "^18.3.1", "react-dom": "^18.3.1", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json index bc104a7d64..5fcab7ca4d 100644 --- a/packages/integrations/solid/package.json +++ b/packages/integrations/solid/package.json @@ -40,8 +40,8 @@ "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", - "solid-js": "^1.8.20", - "vite": "^5.4.0" + "solid-js": "^1.8.21", + "vite": "^5.4.1" }, "peerDependencies": { "solid-devtools": "^0.30.1", diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 67b630df9a..5354279cb1 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -57,7 +57,7 @@ "astro": "workspace:*", "astro-scripts": "workspace:*", "svelte": "^4.2.18", - "vite": "^5.4.0" + "vite": "^5.4.1" }, "peerDependencies": { "astro": "^4.0.0", diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index c33b4fd574..6001780a15 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -40,8 +40,8 @@ "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", - "tailwindcss": "^3.4.9", - "vite": "^5.4.0" + "tailwindcss": "^3.4.10", + "vite": "^5.4.1" }, "peerDependencies": { "astro": "^3.0.0 || ^4.0.0", diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 3275816b46..ae7467ac28 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -45,17 +45,17 @@ }, "dependencies": { "@vitejs/plugin-vue": "^5.1.2", - "@vitejs/plugin-vue-jsx": "^4.0.0", - "@vue/compiler-sfc": "^3.4.37", - "vite-plugin-vue-devtools": "^7.3.7" + "@vitejs/plugin-vue-jsx": "^4.0.1", + "@vue/compiler-sfc": "^3.4.38", + "vite-plugin-vue-devtools": "^7.3.8" }, "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", "cheerio": "1.0.0", "linkedom": "^0.18.4", - "vite": "^5.4.0", - "vue": "^3.4.37" + "vite": "^5.4.1", + "vue": "^3.4.38" }, "peerDependencies": { "astro": "^4.0.0", diff --git a/packages/integrations/vue/test/fixtures/app-entrypoint-async/package.json b/packages/integrations/vue/test/fixtures/app-entrypoint-async/package.json index 25a1ccb034..12f40f78c3 100644 --- a/packages/integrations/vue/test/fixtures/app-entrypoint-async/package.json +++ b/packages/integrations/vue/test/fixtures/app-entrypoint-async/package.json @@ -6,6 +6,6 @@ "@astrojs/vue": "workspace:*", "astro": "workspace:*", "vite-svg-loader": "5.1.0", - "vue": "^3.4.37" + "vue": "^3.4.38" } } \ No newline at end of file diff --git a/packages/integrations/vue/test/fixtures/app-entrypoint-no-export-default/package.json b/packages/integrations/vue/test/fixtures/app-entrypoint-no-export-default/package.json index 8397e9f8ca..2c096c0c78 100644 --- a/packages/integrations/vue/test/fixtures/app-entrypoint-no-export-default/package.json +++ b/packages/integrations/vue/test/fixtures/app-entrypoint-no-export-default/package.json @@ -9,6 +9,6 @@ "@astrojs/vue": "workspace:*", "astro": "workspace:*", "vite-svg-loader": "5.1.0", - "vue": "^3.4.37" + "vue": "^3.4.38" } } diff --git a/packages/integrations/vue/test/fixtures/app-entrypoint/package.json b/packages/integrations/vue/test/fixtures/app-entrypoint/package.json index ae93135823..137f724ace 100644 --- a/packages/integrations/vue/test/fixtures/app-entrypoint/package.json +++ b/packages/integrations/vue/test/fixtures/app-entrypoint/package.json @@ -6,6 +6,6 @@ "@astrojs/vue": "workspace:*", "astro": "workspace:*", "vite-svg-loader": "5.1.0", - "vue": "^3.4.37" + "vue": "^3.4.38" } } \ No newline at end of file diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 4671a67ff1..87cba7d1f1 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -46,7 +46,7 @@ "remark-parse": "^11.0.0", "remark-rehype": "^11.1.0", "remark-smartypants": "^3.0.2", - "shiki": "^1.12.1", + "shiki": "^1.14.1", "unified": "^11.0.5", "unist-util-remove-position": "^5.0.0", "unist-util-visit": "^5.0.0", @@ -57,7 +57,7 @@ "@types/estree": "^1.0.5", "@types/hast": "^3.0.4", "@types/mdast": "^4.0.4", - "@types/unist": "^3.0.2", + "@types/unist": "^3.0.3", "astro-scripts": "workspace:*", "esbuild": "^0.21.5", "mdast-util-mdx-expression": "^2.0.0" diff --git a/packages/studio/package.json b/packages/studio/package.json index 6a4271888d..830ec85af2 100644 --- a/packages/studio/package.json +++ b/packages/studio/package.json @@ -42,6 +42,6 @@ "astro": "workspace:*", "astro-scripts": "workspace:*", "typescript": "^5.5.4", - "vite": "^5.4.0" + "vite": "^5.4.1" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 64c206e7e8..1d6e1cb615 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,8 +13,8 @@ importers: version: link:benchmark devDependencies: '@astrojs/check': - specifier: ^0.9.2 - version: 0.9.2(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) + specifier: ^0.9.3 + version: 0.9.3(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) '@biomejs/biome': specifier: 1.8.3 version: 1.8.3 @@ -34,8 +34,8 @@ importers: specifier: ^9.9.0 version: 9.9.0(jiti@1.21.0) eslint-plugin-no-only-tests: - specifier: ^3.1.0 - version: 3.1.0 + specifier: ^3.3.0 + version: 3.3.0 eslint-plugin-regexp: specifier: ^2.6.0 version: 2.6.0(eslint@9.9.0(jiti@1.21.0)) @@ -52,14 +52,14 @@ importers: specifier: ^0.14.1 version: 0.14.1 turbo: - specifier: ^2.0.12 - version: 2.0.12 + specifier: ^2.0.14 + version: 2.0.14 typescript: specifier: ~5.5.4 version: 5.5.4 typescript-eslint: - specifier: ^8.0.1 - version: 8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) + specifier: ^8.1.0 + version: 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) benchmark: dependencies: @@ -222,8 +222,8 @@ importers: specifier: ^4.14.2 version: link:../../packages/astro preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -231,14 +231,14 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) examples/framework-preact: dependencies: @@ -247,13 +247,13 @@ importers: version: link:../../packages/integrations/preact '@preact/signals': specifier: ^1.3.0 - version: 1.3.0(preact@10.23.1) + version: 1.3.0(preact@10.23.2) astro: specifier: ^4.14.2 version: link:../../packages/astro preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 examples/framework-react: dependencies: @@ -285,8 +285,8 @@ importers: specifier: ^4.14.2 version: link:../../packages/astro solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 examples/framework-svelte: dependencies: @@ -309,8 +309,8 @@ importers: specifier: ^4.14.2 version: link:../../packages/astro vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) examples/hackernews: dependencies: @@ -377,7 +377,7 @@ importers: version: 6.6.0 '@tailwindcss/forms': specifier: ^0.5.7 - version: 0.5.7(tailwindcss@3.4.9) + version: 0.5.7(tailwindcss@3.4.10) '@types/react': specifier: ^18.3.3 version: 18.3.3 @@ -397,8 +397,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) tailwindcss: - specifier: ^3.4.9 - version: 3.4.9 + specifier: ^3.4.10 + version: 3.4.10 examples/ssr: dependencies: @@ -496,8 +496,8 @@ importers: specifier: ^4.14.2 version: link:../../packages/astro preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 examples/with-nanostores: dependencies: @@ -506,7 +506,7 @@ importers: version: link:../../packages/integrations/preact '@nanostores/preact': specifier: ^0.5.2 - version: 0.5.2(nanostores@0.11.2)(preact@10.23.1) + version: 0.5.2(nanostores@0.11.2)(preact@10.23.2) astro: specifier: ^4.14.2 version: link:../../packages/astro @@ -514,8 +514,8 @@ importers: specifier: ^0.11.2 version: 0.11.2 preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 examples/with-tailwindcss: dependencies: @@ -541,8 +541,8 @@ importers: specifier: ^8.4.41 version: 8.4.41 tailwindcss: - specifier: ^3.4.9 - version: 3.4.9 + specifier: ^3.4.10 + version: 3.4.10 examples/with-vitest: dependencies: @@ -556,8 +556,8 @@ importers: packages/astro: dependencies: '@astrojs/compiler': - specifier: ^2.10.2 - version: 2.10.2 + specifier: ^2.10.3 + version: 2.10.3 '@astrojs/internal-helpers': specifier: workspace:* version: link:../internal-helpers @@ -590,7 +590,7 @@ importers: version: 0.4.1 '@rollup/pluginutils': specifier: ^5.1.0 - version: 5.1.0(rollup@4.20.0) + version: 5.1.0(rollup@4.21.0) '@types/babel__core': specifier: ^7.20.5 version: 7.20.5 @@ -688,8 +688,8 @@ importers: specifier: ^2.0.0 version: 2.0.0 neotraverse: - specifier: ^0.6.9 - version: 0.6.9 + specifier: ^0.6.18 + version: 0.6.18 ora: specifier: ^8.0.1 version: 8.0.1 @@ -715,8 +715,8 @@ importers: specifier: ^7.6.3 version: 7.6.3 shiki: - specifier: ^1.12.1 - version: 1.12.1 + specifier: ^1.14.1 + version: 1.14.1 string-width: specifier: ^7.2.0 version: 7.2.0 @@ -733,11 +733,11 @@ importers: specifier: ^6.0.2 version: 6.0.2 vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.1 + version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) vitefu: specifier: ^0.2.5 - version: 0.2.5(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) + version: 0.2.5(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) which-pm: specifier: ^3.0.0 version: 3.0.0 @@ -762,11 +762,11 @@ importers: version: 0.33.3 devDependencies: '@astrojs/check': - specifier: ^0.9.2 - version: 0.9.2(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) + specifier: ^0.9.3 + version: 0.9.3(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) '@playwright/test': - specifier: ^1.46.0 - version: 1.46.0 + specifier: ^1.46.1 + version: 1.46.1 '@types/aria-query': specifier: ^5.0.4 version: 5.0.4 @@ -858,8 +858,8 @@ importers: specifier: ^0.1.2 version: 0.1.2 rollup: - specifier: ^4.20.0 - version: 4.20.0 + specifier: ^4.21.0 + version: 4.21.0 sass: specifier: ^1.77.8 version: 1.77.8 @@ -914,8 +914,8 @@ importers: packages/astro/e2e/fixtures/actions-blog: dependencies: '@astrojs/check': - specifier: ^0.9.2 - version: 0.9.2(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) + specifier: ^0.9.3 + version: 0.9.3(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) '@astrojs/db': specifier: workspace:* version: link:../../../../db @@ -947,8 +947,8 @@ importers: packages/astro/e2e/fixtures/actions-react-19: dependencies: '@astrojs/check': - specifier: ^0.9.2 - version: 0.9.2(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) + specifier: ^0.9.3 + version: 0.9.3(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) '@astrojs/db': specifier: workspace:* version: link:../../../../db @@ -989,8 +989,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/e2e/fixtures/astro-envs: dependencies: @@ -1001,14 +1001,14 @@ importers: specifier: workspace:* version: link:../../.. vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/e2e/fixtures/client-only: dependencies: preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -1016,14 +1016,14 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) devDependencies: '@astrojs/preact': specifier: workspace:* @@ -1083,8 +1083,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/e2e/fixtures/error-cyclic: dependencies: @@ -1095,8 +1095,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/e2e/fixtures/error-sass: dependencies: @@ -1128,8 +1128,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -1140,14 +1140,14 @@ importers: specifier: ^1.77.8 version: 1.77.8 solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/e2e/fixtures/hmr: devDependencies: @@ -1167,8 +1167,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/e2e/fixtures/i18n: dependencies: @@ -1200,8 +1200,8 @@ importers: specifier: ^3.2.0 version: 3.2.0 preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -1209,14 +1209,14 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) devDependencies: '@astrojs/lit': specifier: workspace:* @@ -1243,8 +1243,8 @@ importers: packages/astro/e2e/fixtures/namespaced-component: dependencies: preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 devDependencies: '@astrojs/mdx': specifier: workspace:* @@ -1259,8 +1259,8 @@ importers: packages/astro/e2e/fixtures/nested-in-preact: dependencies: preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -1268,14 +1268,14 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) devDependencies: '@astrojs/preact': specifier: workspace:* @@ -1299,8 +1299,8 @@ importers: packages/astro/e2e/fixtures/nested-in-react: dependencies: preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -1308,14 +1308,14 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) devDependencies: '@astrojs/preact': specifier: workspace:* @@ -1339,8 +1339,8 @@ importers: packages/astro/e2e/fixtures/nested-in-solid: dependencies: preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -1348,14 +1348,14 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) devDependencies: '@astrojs/preact': specifier: workspace:* @@ -1379,8 +1379,8 @@ importers: packages/astro/e2e/fixtures/nested-in-svelte: dependencies: preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -1388,14 +1388,14 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) devDependencies: '@astrojs/preact': specifier: workspace:* @@ -1419,8 +1419,8 @@ importers: packages/astro/e2e/fixtures/nested-in-vue: dependencies: preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -1428,14 +1428,14 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) devDependencies: '@astrojs/preact': specifier: workspace:* @@ -1459,8 +1459,8 @@ importers: packages/astro/e2e/fixtures/nested-recursive: dependencies: preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -1468,14 +1468,14 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) devDependencies: '@astrojs/preact': specifier: workspace:* @@ -1527,8 +1527,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/e2e/fixtures/preact-component: dependencies: @@ -1542,8 +1542,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/e2e/fixtures/preact-lazy-component: dependencies: @@ -1557,8 +1557,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/e2e/fixtures/prefetch: dependencies: @@ -1615,8 +1615,8 @@ importers: version: link:../../.. devDependencies: solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 packages/astro/e2e/fixtures/solid-component: dependencies: @@ -1630,8 +1630,8 @@ importers: specifier: workspace:* version: link:../../.. solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 packages/astro/e2e/fixtures/solid-recurse: dependencies: @@ -1643,8 +1643,8 @@ importers: version: link:../../.. devDependencies: solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 packages/astro/e2e/fixtures/svelte-component: dependencies: @@ -1676,8 +1676,8 @@ importers: specifier: ^8.4.41 version: 8.4.41 tailwindcss: - specifier: ^3.4.9 - version: 3.4.9 + specifier: ^3.4.10 + version: 3.4.10 packages/astro/e2e/fixtures/ts-resolution: dependencies: @@ -1721,8 +1721,8 @@ importers: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/e2e/fixtures/vue-component: dependencies: @@ -1736,8 +1736,8 @@ importers: specifier: workspace:* version: link:../../.. vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/performance: devDependencies: @@ -1859,8 +1859,8 @@ importers: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/test/fixtures/actions: dependencies: @@ -1990,8 +1990,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/astro-check-errors: dependencies: @@ -2026,14 +2026,14 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/test/fixtures/astro-class-list: dependencies: @@ -2190,8 +2190,8 @@ importers: specifier: workspace:* version: link:../../.. vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/test/fixtures/astro-expr: dependencies: @@ -2202,8 +2202,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/astro-external-files: dependencies: @@ -2220,8 +2220,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/astro-generator: dependencies: @@ -2436,8 +2436,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/astro-slots: dependencies: @@ -2466,8 +2466,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -2475,14 +2475,14 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/test/fixtures/before-hydration: dependencies: @@ -2493,8 +2493,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/build-assets: dependencies: @@ -2505,8 +2505,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/build-readonly-file: dependencies: @@ -2553,8 +2553,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -2568,8 +2568,8 @@ importers: packages/astro/test/fixtures/component-library-shared: dependencies: preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -2620,8 +2620,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/test/fixtures/content: dependencies: @@ -2743,8 +2743,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/content-layer-rendering: dependencies: @@ -3072,8 +3072,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/error-bad-js: dependencies: @@ -3114,23 +3114,23 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/test/fixtures/fontsource-package: dependencies: '@fontsource/monofett': - specifier: 5.0.20 - version: 5.0.20 + specifier: 5.0.21 + version: 5.0.21 '@fontsource/montserrat': - specifier: 5.0.18 - version: 5.0.18 + specifier: 5.0.19 + version: 5.0.19 astro: specifier: workspace:* version: link:../../.. @@ -3204,8 +3204,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/i18n-routing: dependencies: @@ -3303,8 +3303,8 @@ importers: packages/astro/test/fixtures/jsx: dependencies: preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -3312,14 +3312,14 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) devDependencies: '@astrojs/mdx': specifier: workspace:* @@ -3352,8 +3352,8 @@ importers: specifier: workspace:* version: link:../../.. solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 packages/astro/test/fixtures/lazy-layout: dependencies: @@ -3500,18 +3500,18 @@ importers: specifier: ^8.4.41 version: 8.4.41 solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 svelte: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) devDependencies: postcss-preset-env: - specifier: ^10.0.0 - version: 10.0.0(postcss@8.4.41) + specifier: ^10.0.2 + version: 10.0.2(postcss@8.4.41) packages/astro/test/fixtures/preact-compat-component: dependencies: @@ -3525,8 +3525,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/preact-compat-component/packages/react-lib: dependencies: @@ -3541,13 +3541,13 @@ importers: version: link:../../../../integrations/preact '@preact/signals': specifier: 1.3.0 - version: 1.3.0(preact@10.23.1) + version: 1.3.0(preact@10.23.2) astro: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/public-base-404: dependencies: @@ -3573,8 +3573,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 packages/astro/test/fixtures/react-jsx-export: dependencies: @@ -3607,8 +3607,8 @@ importers: specifier: 'workspace:' version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/remote-css: dependencies: @@ -3730,8 +3730,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/slots-react: dependencies: @@ -3763,8 +3763,8 @@ importers: specifier: workspace:* version: link:../../.. solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 packages/astro/test/fixtures/slots-svelte: dependencies: @@ -3793,8 +3793,8 @@ importers: specifier: workspace:* version: link:../../.. vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/test/fixtures/solid-component: dependencies: @@ -3802,8 +3802,8 @@ importers: specifier: workspace:* version: link:../../../../integrations/solid '@solidjs/router': - specifier: ^0.14.1 - version: 0.14.1(solid-js@1.8.20) + specifier: ^0.14.3 + version: 0.14.3(solid-js@1.8.21) '@test/solid-jsx-component': specifier: file:./deps/solid-jsx-component version: link:deps/solid-jsx-component @@ -3811,14 +3811,14 @@ importers: specifier: workspace:* version: link:../../.. solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 packages/astro/test/fixtures/solid-component/deps/solid-jsx-component: dependencies: solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 packages/astro/test/fixtures/sourcemap: dependencies: @@ -3889,8 +3889,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/ssr-error-pages: dependencies: @@ -4002,8 +4002,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/ssr-split-manifest: dependencies: @@ -4023,8 +4023,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/astro/test/fixtures/static-build-code-component: dependencies: @@ -4050,8 +4050,8 @@ importers: specifier: workspace:* version: link:../../.. preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -4124,8 +4124,8 @@ importers: specifier: ^8.4.41 version: 8.4.41 tailwindcss: - specifier: ^3.4.9 - version: 3.4.9 + specifier: ^3.4.10 + version: 3.4.10 packages/astro/test/fixtures/tailwindcss-ts: dependencies: @@ -4139,8 +4139,8 @@ importers: specifier: ^8.4.41 version: 8.4.41 tailwindcss: - specifier: ^3.4.9 - version: 3.4.9 + specifier: ^3.4.10 + version: 3.4.10 packages/astro/test/fixtures/third-party-astro: dependencies: @@ -4199,8 +4199,8 @@ importers: specifier: workspace:* version: link:../../.. vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/test/fixtures/vue-jsx: dependencies: @@ -4211,8 +4211,8 @@ importers: specifier: workspace:* version: link:../../.. vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/test/fixtures/vue-with-multi-renderer: dependencies: @@ -4229,8 +4229,8 @@ importers: specifier: ^4.2.18 version: 4.2.18 vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/astro/test/fixtures/with-endpoint-routes: dependencies: @@ -4341,8 +4341,8 @@ importers: specifier: ^5.5.4 version: 5.5.4 vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.1 + version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) packages/db/test/fixtures/basics: dependencies: @@ -4437,8 +4437,8 @@ importers: packages/db/test/fixtures/ticketing-example: dependencies: '@astrojs/check': - specifier: ^0.9.2 - version: 0.9.2(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) + specifier: ^0.9.3 + version: 0.9.3(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) '@astrojs/db': specifier: workspace:* version: link:../../.. @@ -4479,8 +4479,8 @@ importers: packages/integrations/alpinejs: devDependencies: '@playwright/test': - specifier: 1.46.0 - version: 1.46.0 + specifier: 1.46.1 + version: 1.46.1 astro: specifier: workspace:* version: link:../../astro @@ -4488,8 +4488,8 @@ importers: specifier: workspace:* version: link:../../../scripts vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.1 + version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) packages/integrations/alpinejs/test/fixtures/basics: dependencies: @@ -4612,8 +4612,8 @@ importers: specifier: ^0.18.4 version: 0.18.4 vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.1 + version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) packages/integrations/markdoc/test/fixtures/content-collections: dependencies: @@ -4726,8 +4726,8 @@ importers: specifier: workspace:* version: link:../../../../../astro preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/integrations/markdoc/test/fixtures/render-with-config: dependencies: @@ -4836,7 +4836,7 @@ importers: version: 6.0.0 rehype-pretty-code: specifier: ^0.13.2 - version: 0.13.2(shiki@1.12.1) + version: 0.13.2(shiki@1.14.1) remark-math: specifier: ^6.0.0 version: 6.0.0 @@ -4850,14 +4850,14 @@ importers: specifier: ^9.0.0 version: 9.0.0 shiki: - specifier: ^1.12.1 - version: 1.12.1 + specifier: ^1.14.1 + version: 1.14.1 unified: specifier: ^11.0.5 version: 11.0.5 vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.1 + version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) packages/integrations/mdx/test/fixtures/css-head-mdx: dependencies: @@ -4925,8 +4925,8 @@ importers: specifier: workspace:* version: link:../../../../../astro preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/integrations/mdx/test/fixtures/mdx-namespace: dependencies: @@ -5203,16 +5203,16 @@ importers: version: 7.24.7(@babel/core@7.25.2) '@preact/preset-vite': specifier: 2.8.2 - version: 2.8.2(@babel/core@7.25.2)(preact@10.23.1)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) + version: 2.8.2(@babel/core@7.25.2)(preact@10.23.2)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) '@preact/signals': specifier: ^1.3.0 - version: 1.3.0(preact@10.23.1) + version: 1.3.0(preact@10.23.2) babel-plugin-transform-hook-names: specifier: ^1.0.2 version: 1.0.2(@babel/core@7.25.2) preact-render-to-string: - specifier: ^6.5.8 - version: 6.5.8(preact@10.23.1) + specifier: ^6.5.9 + version: 6.5.9(preact@10.23.2) devDependencies: astro: specifier: workspace:* @@ -5221,14 +5221,14 @@ importers: specifier: workspace:* version: link:../../../scripts preact: - specifier: ^10.23.1 - version: 10.23.1 + specifier: ^10.23.2 + version: 10.23.2 packages/integrations/react: dependencies: '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.1(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) + version: 4.3.1(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) ultrahtml: specifier: ^1.5.3 version: 1.5.3 @@ -5255,8 +5255,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.1 + version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) packages/integrations/react/test/fixtures/react-component: dependencies: @@ -5276,8 +5276,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/integrations/sitemap: dependencies: @@ -5344,7 +5344,7 @@ importers: dependencies: vite-plugin-solid: specifier: ^2.10.2 - version: 2.10.2(solid-js@1.8.20)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) + version: 2.10.2(solid-js@1.8.21)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) devDependencies: astro: specifier: workspace:* @@ -5353,17 +5353,17 @@ importers: specifier: workspace:* version: link:../../../scripts solid-js: - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.8.21 + version: 1.8.21 vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.1 + version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) packages/integrations/svelte: dependencies: '@sveltejs/vite-plugin-svelte': specifier: ^3.1.1 - version: 3.1.1(svelte@4.2.18)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) + version: 3.1.1(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) svelte2tsx: specifier: ^0.7.15 version: 0.7.15(svelte@4.2.18)(typescript@5.5.4) @@ -5378,8 +5378,8 @@ importers: specifier: ^4.2.18 version: 4.2.18 vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.1 + version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) packages/integrations/tailwind: dependencies: @@ -5400,11 +5400,11 @@ importers: specifier: workspace:* version: link:../../../scripts tailwindcss: - specifier: ^3.4.9 - version: 3.4.9 + specifier: ^3.4.10 + version: 3.4.10 vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.1 + version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) packages/integrations/tailwind/test/fixtures/basic: dependencies: @@ -5642,16 +5642,16 @@ importers: dependencies: '@vitejs/plugin-vue': specifier: ^5.1.2 - version: 5.1.2(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4)) + version: 5.1.2(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)) '@vitejs/plugin-vue-jsx': - specifier: ^4.0.0 - version: 4.0.0(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4)) + specifier: ^4.0.1 + version: 4.0.1(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)) '@vue/compiler-sfc': - specifier: ^3.4.37 - version: 3.4.37 + specifier: ^3.4.38 + version: 3.4.38 vite-plugin-vue-devtools: - specifier: ^7.3.7 - version: 7.3.7(rollup@4.20.0)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4)) + specifier: ^7.3.8 + version: 7.3.8(rollup@4.21.0)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)) devDependencies: astro: specifier: workspace:* @@ -5666,11 +5666,11 @@ importers: specifier: ^0.18.4 version: 0.18.4 vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.1 + version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/integrations/vue/test/fixtures/app-entrypoint: dependencies: @@ -5682,10 +5682,10 @@ importers: version: link:../../../../../astro vite-svg-loader: specifier: 5.1.0 - version: 5.1.0(vue@3.4.37(typescript@5.5.4)) + version: 5.1.0(vue@3.4.38(typescript@5.5.4)) vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/integrations/vue/test/fixtures/app-entrypoint-async: dependencies: @@ -5697,10 +5697,10 @@ importers: version: link:../../../../../astro vite-svg-loader: specifier: 5.1.0 - version: 5.1.0(vue@3.4.37(typescript@5.5.4)) + version: 5.1.0(vue@3.4.38(typescript@5.5.4)) vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/integrations/vue/test/fixtures/app-entrypoint-css: dependencies: @@ -5721,10 +5721,10 @@ importers: version: link:../../../../../astro vite-svg-loader: specifier: 5.1.0 - version: 5.1.0(vue@3.4.37(typescript@5.5.4)) + version: 5.1.0(vue@3.4.38(typescript@5.5.4)) vue: - specifier: ^3.4.37 - version: 3.4.37(typescript@5.5.4) + specifier: ^3.4.38 + version: 3.4.38(typescript@5.5.4) packages/integrations/vue/test/fixtures/app-entrypoint-relative: dependencies: @@ -5832,8 +5832,8 @@ importers: specifier: ^3.0.2 version: 3.0.2 shiki: - specifier: ^1.12.1 - version: 1.12.1 + specifier: ^1.14.1 + version: 1.14.1 unified: specifier: ^11.0.5 version: 11.0.5 @@ -5860,8 +5860,8 @@ importers: specifier: ^4.0.4 version: 4.0.4 '@types/unist': - specifier: ^3.0.2 - version: 3.0.2 + specifier: ^3.0.3 + version: 3.0.3 astro-scripts: specifier: workspace:* version: link:../../../scripts @@ -5894,8 +5894,8 @@ importers: specifier: ^5.5.4 version: 5.5.4 vite: - specifier: ^5.4.0 - version: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.1 + version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) packages/telemetry: dependencies: @@ -6031,8 +6031,8 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} - '@antfu/utils@0.7.8': - resolution: {integrity: sha512-rWQkqXRESdjXtc+7NRfK9lASQjpXJu1ayp7qi1d23zZorY+wBHVLHHoVcMsEnkqEBWTFqbztO7/QdJFzyEcLTg==} + '@antfu/utils@0.7.10': + resolution: {integrity: sha512-+562v9k4aI80m1+VuMHehNJWLOFjBnXn3tdOitzD0il5b7smkSBal4+a3oKiQTbrwMmN/TBUMDvbdoWDehgOww==} '@asamuzakjp/dom-selector@2.0.2': resolution: {integrity: sha512-x1KXOatwofR6ZAYzXRBL5wrdV0vwNxlTCK9NCuLqAzQYARqGcvFwiJA6A1ERuh+dgeA4Dxm3JBYictIes+SqUQ==} @@ -6066,8 +6066,8 @@ packages: peerDependencies: astro: ^2.0.0 || ^3.0.0-beta || ^4.0.0-beta - '@astrojs/check@0.9.2': - resolution: {integrity: sha512-6rWxtJTbd/ctdAlmla0CAvloGaai5IUTG0K21kctJHHGKJKnGH6Xana7m0zNOtHpVPEJi1SgC/TcsN+ltYt0Cg==} + '@astrojs/check@0.9.3': + resolution: {integrity: sha512-I6Dz45bMI5YRbp4yK2LKWsHH3/kkHRGdPGruGkLap6pqxhdcNh7oCgN04Ac+haDfc9ow5BYPGPmEhkwef15GQQ==} hasBin: true peerDependencies: typescript: ^5.0.0 @@ -6076,11 +6076,11 @@ packages: resolution: {integrity: sha512-bVzyKzEpIwqjihBU/aUzt1LQckJuHK0agd3/ITdXhPUYculrc6K1/K7H+XG4rwjXtg+ikT3PM05V1MVYWiIvQw==} engines: {node: '>=18.14.1'} - '@astrojs/compiler@2.10.2': - resolution: {integrity: sha512-bvH+v8AirwpRWCkYJEyWYdc5Cs/BjG2ZTxIJzttHilXgfKJAdW2496KsUQKzf5j2tOHtaHXKKn9hb9WZiBGpEg==} + '@astrojs/compiler@2.10.3': + resolution: {integrity: sha512-bL/O7YBxsFt55YHU021oL+xz+B/9HvGNId3F9xURN16aeqDK9juHGktdkCSXz+U4nqFACq6ZFvWomOzhV+zfPw==} - '@astrojs/language-server@2.13.2': - resolution: {integrity: sha512-l435EZLKjaUO/6iewJ7xqd3eHf3zAosVWG4woILbxluQcianBoNPepnnqAg7uUriZUaC44ae5v0Q+AfB8UI64g==} + '@astrojs/language-server@2.14.1': + resolution: {integrity: sha512-mkKtCTPRD4dyKdAqIP0zmmPyO/ZABOqFESnaVca47Dg/sAagJnDSEsDUDzNbHFh1+9Dj1o5y4iwNsxJboGdaNg==} hasBin: true peerDependencies: prettier: ^3.0.0 @@ -6091,6 +6091,9 @@ packages: prettier-plugin-astro: optional: true + '@astrojs/yaml2ts@0.2.1': + resolution: {integrity: sha512-CBaNwDQJz20E5WxzQh4thLVfhB3JEEGz72wRA+oJp6fQR37QLAqXZJU0mHC+yqMOQ6oj0GfRPJrz6hjf+zm6zA==} + '@babel/code-frame@7.24.7': resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} engines: {node: '>=6.9.0'} @@ -6155,10 +6158,6 @@ packages: resolution: {integrity: sha512-jKiTsW2xmWwxT1ixIdfXUZp+P5yURx2suzLZr5Hi64rURpDYdMW0pv+Uf17EYk2Rd428Lx4tLsnjGJzYKDM/6A==} engines: {node: '>=6.9.0'} - '@babel/helper-plugin-utils@7.24.7': - resolution: {integrity: sha512-Rq76wjt7yz9AAc1KnlRKNAi/dMSVWgDRx43FHoJEbcYU6xOWaE2dVPwcdTukJrjxS65GITyfbvEYHvkirZ6uEg==} - engines: {node: '>=6.9.0'} - '@babel/helper-plugin-utils@7.24.8': resolution: {integrity: sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==} engines: {node: '>=6.9.0'} @@ -6275,10 +6274,6 @@ packages: resolution: {integrity: sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==} engines: {node: '>=6.9.0'} - '@babel/template@7.24.7': - resolution: {integrity: sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==} - engines: {node: '>=6.9.0'} - '@babel/template@7.25.0': resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==} engines: {node: '>=6.9.0'} @@ -6422,47 +6417,47 @@ packages: resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} - '@csstools/cascade-layer-name-parser@2.0.0': - resolution: {integrity: sha512-9GEQIvTMrjXfYaVnw1+FteDX5yF65CZq4ttYP75O3CANQevaCJ9jVVTiZt9YTpjYIk8C1mmf52y2S4Hr/CaE/g==} + '@csstools/cascade-layer-name-parser@2.0.1': + resolution: {integrity: sha512-G9ZYN5+yr/E6xYSiy1BwOEFP5p88ZtWo8sL4NztKBkRRAwRkzVGa70M+D+fYHugMID5jkLeNt5X9jYd5EaVuyg==} engines: {node: '>=18'} peerDependencies: - '@csstools/css-parser-algorithms': ^3.0.0 - '@csstools/css-tokenizer': ^3.0.0 + '@csstools/css-parser-algorithms': ^3.0.1 + '@csstools/css-tokenizer': ^3.0.1 - '@csstools/color-helpers@4.2.1': - resolution: {integrity: sha512-CEypeeykO9AN7JWkr1OEOQb0HRzZlPWGwV0Ya6DuVgFdDi6g3ma/cPZ5ZPZM4AWQikDpq/0llnGGlIL+j8afzw==} - engines: {node: ^14 || ^16 || >=18} + '@csstools/color-helpers@5.0.1': + resolution: {integrity: sha512-MKtmkA0BX87PKaO1NFRTFH+UnkgnmySQOvNxJubsadusqPEC2aJ9MOQiMceZJJ6oitUl/i0L6u0M1IrmAOmgBA==} + engines: {node: '>=18'} - '@csstools/css-calc@2.0.0': - resolution: {integrity: sha512-fxPxNrEVGeej4F35Xt69Q7gPMKa7oEGNxeP1DpA01sWpTF3Yhgux/0slVX3jLHd7dhlszeQlNAUhpAorVxoHdQ==} + '@csstools/css-calc@2.0.1': + resolution: {integrity: sha512-e59V+sNp6e5m+9WnTUydA1DQO70WuKUdseflRpWmXxocF/h5wWGIxUjxfvLtajcmwstH0vm6l0reKMzcyI757Q==} engines: {node: '>=18'} peerDependencies: - '@csstools/css-parser-algorithms': ^3.0.0 - '@csstools/css-tokenizer': ^3.0.0 + '@csstools/css-parser-algorithms': ^3.0.1 + '@csstools/css-tokenizer': ^3.0.1 - '@csstools/css-color-parser@3.0.0': - resolution: {integrity: sha512-F/A1Z3ZXH4fU6+29Up4QAZtewLmWLI4hVz6hyODMFvorx4AEC/03tu+gFq0nMZSDafC0lmapNOj9f4ctHMNaqQ==} + '@csstools/css-color-parser@3.0.2': + resolution: {integrity: sha512-mNg7A6HnNjlm0we/pDS9dUafOuBxcanN0TBhEGeIk6zZincuk0+mAbnBqfVs29NlvWHZ8diwTG6g5FeU8246sA==} engines: {node: '>=18'} peerDependencies: - '@csstools/css-parser-algorithms': ^3.0.0 - '@csstools/css-tokenizer': ^3.0.0 + '@csstools/css-parser-algorithms': ^3.0.1 + '@csstools/css-tokenizer': ^3.0.1 - '@csstools/css-parser-algorithms@3.0.0': - resolution: {integrity: sha512-20hEErXV9GEx15qRbsJVzB91ryayx1F2duHPBrfZXQAHz/dJG0u/611URpr28+sFjm3EI7U17Pj9SVA9NSAGJA==} + '@csstools/css-parser-algorithms@3.0.1': + resolution: {integrity: sha512-lSquqZCHxDfuTg/Sk2hiS0mcSFCEBuj49JfzPHJogDBT0mGCyY5A1AQzBWngitrp7i1/HAZpIgzF/VjhOEIJIg==} engines: {node: '>=18'} peerDependencies: - '@csstools/css-tokenizer': ^3.0.0 + '@csstools/css-tokenizer': ^3.0.1 - '@csstools/css-tokenizer@3.0.0': - resolution: {integrity: sha512-efZvfJyYrqH9hPCKtOBywlTsCXnEzAI9sLHFzUsDpBb+1bQ+bxJnwL9V2bRKv9w4cpIp75yxGeZRaVKoMQnsEg==} + '@csstools/css-tokenizer@3.0.1': + resolution: {integrity: sha512-UBqaiu7kU0lfvaP982/o3khfXccVlHPWp0/vwwiIgDF0GmqqqxoiXC/6FCjlS9u92f7CoEz6nXKQnrn1kIAkOw==} engines: {node: '>=18'} - '@csstools/media-query-list-parser@3.0.0': - resolution: {integrity: sha512-W0JlkUFwXjo703wt06AcaWuUcS+6x6IEDyxV6W65Sw+vLCYp+uPsrps+PXTiIfN0V1Pqj5snPzN7EYLmbz1zjg==} + '@csstools/media-query-list-parser@3.0.1': + resolution: {integrity: sha512-HNo8gGD02kHmcbX6PvCoUuOQvn4szyB9ca63vZHKX5A81QytgDG4oxG4IaEfHTlEZSZ6MjPEMWIVU+zF2PZcgw==} engines: {node: '>=18'} peerDependencies: - '@csstools/css-parser-algorithms': ^3.0.0 - '@csstools/css-tokenizer': ^3.0.0 + '@csstools/css-parser-algorithms': ^3.0.1 + '@csstools/css-tokenizer': ^3.0.1 '@csstools/postcss-cascade-layers@5.0.0': resolution: {integrity: sha512-h+VunB3KXaoWTWEPBcdVk8Kz1eZ/CtDD+HXgKw5JLdbsViLEQdKUtFYH73VIQigdodng8s5DCrrwNQY7pnuWBA==} @@ -6470,26 +6465,26 @@ packages: peerDependencies: postcss: ^8.4 - '@csstools/postcss-color-function@4.0.0': - resolution: {integrity: sha512-e0RohXUxMsSzIS5s4xh218NiOYXAfby17L8KYe/6ITI8i4BiSFLpywMvpA/d6xPUGUfT20O+7JLBDHF3heYZRA==} + '@csstools/postcss-color-function@4.0.2': + resolution: {integrity: sha512-q/W3RXh66SM7WqxW3/KU6koL8nOgqyB/wrcU3+ThXnNtXY2+k8UgdE301ISJpMt6PDyYgC7eMaIBo535RvFIgw==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 - '@csstools/postcss-color-mix-function@3.0.0': - resolution: {integrity: sha512-MWuSfaLKe1By/hSnjH/Hj7ZOIRZaLMNshCTkVuuqtZ0nfp+QRGUwf9nb2uPVKySYjKqNERANdA9Q0citA9hK1Q==} + '@csstools/postcss-color-mix-function@3.0.2': + resolution: {integrity: sha512-zG9PHNzZVCRk6eprm+T/ybrnuiwLdO+RR7+GCtNut+NZJGtPJj6bfPOEX23aOlMslLcRAlN6QOpxH3tovn+WpA==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 - '@csstools/postcss-content-alt-text@2.0.0': - resolution: {integrity: sha512-1pPjMaSUftwn/4N7RtJif91cB6BBEo0LQX2vryrDMF5uKDqt4RMpIi9ZFTsKtcXBFZexNGEWXZzPABnooJGkzQ==} + '@csstools/postcss-content-alt-text@2.0.1': + resolution: {integrity: sha512-TWjjewVZqdkjavsi8a2THuXgkhUum1k/m4QJpZpzOv72q6WnaoQZGSj5t5uCs7ymJr0H3qj6JcXMwMApSWUOGQ==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 - '@csstools/postcss-exponential-functions@2.0.0': - resolution: {integrity: sha512-sH7MBlsn6yft6xQ8uQ9MCWFHbZCUL3HIN3IntUabv75syl0dPldECTqLJix5q5ilSQxDQ1L+LajeZk84S6GG9w==} + '@csstools/postcss-exponential-functions@2.0.1': + resolution: {integrity: sha512-A/MG8es3ylFzZ30oYIQUyJcMOfTfCs0dqqBMzeuzaPRlx4q/72WG+BbKe/pL9BUNIWsM0Q8jn3e3la8enjHJJA==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 @@ -6500,20 +6495,20 @@ packages: peerDependencies: postcss: ^8.4 - '@csstools/postcss-gamut-mapping@2.0.0': - resolution: {integrity: sha512-JftxHVGt6PFfV/vWTDVKrrO0XyUA8OtuVykXhhMxue9qCzCCTSWqMHjZOvaOCCbxG1v2tGKV2FxBLQhzsZZPJg==} + '@csstools/postcss-gamut-mapping@2.0.2': + resolution: {integrity: sha512-/1ur3ca9RWg/KnbLlxaDswyjLSGoaHNDruAzrVhkn5axgd7LOH6JHCBRhrKDafdMw9bf4MQrYFoaLfHAPekLFg==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 - '@csstools/postcss-gradients-interpolation-method@5.0.0': - resolution: {integrity: sha512-jmgh7C6ANVRPdFNMNIp426UFNuy01XXYwxbbyYV2fZBbmZleVLp6imxjw2XoaeHMdSiYoq8vOeX+GVzCyC7oOQ==} + '@csstools/postcss-gradients-interpolation-method@5.0.2': + resolution: {integrity: sha512-qRpvA4sduAfiV9yZG4OM7q/h2Qhr3lg+GrHe9NZwuzWnfSDLGh+Dh4Ea6fQ+1++jdKXW/Cb4/vHRp0ssQYra4w==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 - '@csstools/postcss-hwb-function@4.0.0': - resolution: {integrity: sha512-Swb2CK/wKnsXEgT5GNlIO2C2h3lePn0Nmbsy48Z6yAht1XwQiDcxDAhqojg9LfonJVics+pzLM+IEQjPdgICNg==} + '@csstools/postcss-hwb-function@4.0.2': + resolution: {integrity: sha512-RUBVCyJE1hTsf9vGp3zrALeMollkAlHRFKm+T36y67nLfOOf+6GNQsdTGFAyLrY65skcm8ddC26Jp1n9ZIauEA==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 @@ -6536,8 +6531,8 @@ packages: peerDependencies: postcss: ^8.4 - '@csstools/postcss-light-dark-function@2.0.0': - resolution: {integrity: sha512-1CHfwwckSJ4xYZYOgJD5u1NNlP85/6VqsQPL1geagvfpwm47hcGRDW+O3CD7KdexWGL45E5qKmL1bC2siqjmkg==} + '@csstools/postcss-light-dark-function@2.0.2': + resolution: {integrity: sha512-QAWWDJtJ7ywzhaMe09QwhjhuwB0XN04fW1MFwoEJMcYyiQub4a57mVFV+ngQEekUhsqe/EtKVCzyOx4q3xshag==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 @@ -6566,20 +6561,20 @@ packages: peerDependencies: postcss: ^8.4 - '@csstools/postcss-logical-viewport-units@3.0.0': - resolution: {integrity: sha512-7a0d7TLfHP3k7n+XGj5NJopgyKgl/VKyAPapYIo97aujB7+8M4dBE1Og0OmWng+H/drQWXoSlCI3pov5XwVtxQ==} + '@csstools/postcss-logical-viewport-units@3.0.1': + resolution: {integrity: sha512-JsfaoTiBqIuRE+CYL4ZpYKOqJ965GyiMH4b8UrY0Z7i5GfMiHZrK7xtTB29piuyKQzrW+Z8w3PAExhwND9cuAQ==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 - '@csstools/postcss-media-minmax@2.0.0': - resolution: {integrity: sha512-21Cmy5QWbexbpKAAJntGomjn644BWWs7gXkx/Vid1SjqxIRmPUB/dcJ4xBWwjpFuhrPKzT8a3Pr+IJv9R9v9Yg==} + '@csstools/postcss-media-minmax@2.0.1': + resolution: {integrity: sha512-EMa3IgUip+F/MwH4r2KfIA9ym9hQkT2PpR9MOukdomfGGCFuw9V3n/iIOBKziN1qfeddsYoOvtYOKQcHU2yIjg==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 - '@csstools/postcss-media-queries-aspect-ratio-number-values@3.0.0': - resolution: {integrity: sha512-TV8Q7ec0zbCxlmTmUF8CvAWWbK3q9ops3+sGCc6rHAGrfkoA+HyMGwJBZudddZQOV9MZS949mhtYIV4AgIRizw==} + '@csstools/postcss-media-queries-aspect-ratio-number-values@3.0.1': + resolution: {integrity: sha512-JTzMQz//INahTALkvXnC5lC2fJKzwb5PY443T2zaM9hAzM7nzHMLIlEfFgdtBahVIBtBSalMefdxNr99LGW1lQ==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 @@ -6596,8 +6591,8 @@ packages: peerDependencies: postcss: ^8.4 - '@csstools/postcss-oklab-function@4.0.0': - resolution: {integrity: sha512-4dwot1KLiFRFbYZV2XeeNoXQETK/3MaNCi4BpDlJ5J4XHF+VRwcppfCcqCC+TRucWanPFFlbt+X53nIuK7JVNg==} + '@csstools/postcss-oklab-function@4.0.2': + resolution: {integrity: sha512-2iSK/T77PHMeorakBAk/WLxSodfIJ/lmi6nxEkuruXfhGH7fByZim4Fw6ZJf4B73SVieRSH2ep8zvYkA2ZfRtA==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 @@ -6608,8 +6603,8 @@ packages: peerDependencies: postcss: ^8.4 - '@csstools/postcss-relative-color-syntax@3.0.0': - resolution: {integrity: sha512-iE/mgtuUeFMpMJhhrze9pu5xSEaueCTijs7lTnJ6MoTL50H9fquQp3bFVd2haAb/fDhO/nXTu67tzsm+zXsFzA==} + '@csstools/postcss-relative-color-syntax@3.0.2': + resolution: {integrity: sha512-aBpuUdpJBswNGfw6lOkhown2cZ0YXrMjASye56nkoRpgRe9yDF4BM1fvEuakrCDiaeoUzVaI4SF6+344BflXfQ==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 @@ -6620,20 +6615,20 @@ packages: peerDependencies: postcss: ^8.4 - '@csstools/postcss-stepped-value-functions@4.0.0': - resolution: {integrity: sha512-sJUW1axQuxRyD59zr9hMJ6MoM/99UkxNc7fxJ1kFdTl1B5dS3TxvVzY1fRq1C/JsgBw6uNzfy/i52SrVNtbbXw==} + '@csstools/postcss-stepped-value-functions@4.0.1': + resolution: {integrity: sha512-dk3KqVcIEYzy9Mvx8amoBbk123BWgd5DfjXDiPrEqxGma37PG7m/MoMmHQhuVHIjvPDHoJwyIZi2yy7j0RA5fw==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 - '@csstools/postcss-text-decoration-shorthand@4.0.0': - resolution: {integrity: sha512-vyJpbr2emWy8AOmBT+41LcAaaS8Q3jOMiMZRzrdV8uZgKI1I0NiB+UM7vJuwkFPhC3oXl7XPIPtajsyEAvI3kw==} + '@csstools/postcss-text-decoration-shorthand@4.0.1': + resolution: {integrity: sha512-xPZIikbx6jyzWvhms27uugIc0I4ykH4keRvoa3rxX5K7lEhkbd54rjj/dv60qOCTisoS+3bmwJTeyV1VNBrXaw==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 - '@csstools/postcss-trigonometric-functions@4.0.0': - resolution: {integrity: sha512-M7CivX++ZOQvnF+eZ8FHg2X8GYOfSUFH6GRtr7mGeIgd38WmT1WCBogqBvz/Y5x9VUeor9EuJX2K06bP7p4BuA==} + '@csstools/postcss-trigonometric-functions@4.0.1': + resolution: {integrity: sha512-QHOYuN3bzS/rcpAygFhJxJUtD8GuJEWF6f9Zm518Tq/cSMlcTgU+v0geyi5EqbmYxKMig2oKCKUSGqOj9gehkg==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 @@ -6830,10 +6825,6 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - '@eslint-community/regexpp@4.10.0': - resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint-community/regexpp@4.11.0': resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} @@ -6854,11 +6845,11 @@ packages: resolution: {integrity: sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@fontsource/monofett@5.0.20': - resolution: {integrity: sha512-jXQ8gj9N2mfIlb8eEg2oiEOAGpFJlpnFRxEUeSJoETgmK19OCdZNwk9uQpo92JqoAn7gySeLcLKjqaJynFDVcQ==} + '@fontsource/monofett@5.0.21': + resolution: {integrity: sha512-76KRexcr7hwI/GmegtV82MxD51cK7ZDxof8oZdiDqLGuXlgYdp5UYDp0097+gHWfZRD44TWG2khEH1F681f9aQ==} - '@fontsource/montserrat@5.0.18': - resolution: {integrity: sha512-85JBs2rCdFK/VBdSb401e2lXk5gynVo2zi3Rh2Guem4WNtT2q52+V90o3KzjmajY3TPJvCZA/kI7R05ev7148g==} + '@fontsource/montserrat@5.0.19': + resolution: {integrity: sha512-d2JyNIE0i2FOqLFkaSrfsyDzFzkzdER7d3xeHqFOTK5OFE+yiFyvlIBMXg5q+nNpMmVoW+2Q182Csn28o+kijQ==} '@fortawesome/fontawesome-free@6.6.0': resolution: {integrity: sha512-60G28ke/sXdtS9KZCpZSHHkCbdsOGEhIUGlwq6yhY74UpTiToIh8np7A8yphhM4BWsvNFtIvLpi4co+h9Mr9Ow==} @@ -7005,9 +6996,6 @@ packages: resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} engines: {node: '>=6.0.0'} - '@jridgewell/sourcemap-codec@1.4.15': - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - '@jridgewell/sourcemap-codec@1.5.0': resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} @@ -7241,8 +7229,8 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} - '@playwright/test@1.46.0': - resolution: {integrity: sha512-/QYft5VArOrGRP5pgkrfKksqsKA6CEFyGQ/gjNe6q0y4tZ1aaPfq4gIjudr1s3D+pXyrPRdsy4opKDrjBabE5w==} + '@playwright/test@1.46.1': + resolution: {integrity: sha512-Fq6SwLujA/DOIvNC2EL/SojJnkKf/rAwJ//APpJJHRyMi1PdKrY3Az+4XNQ51N4RTbItbIByQ0jgd1tayq1aeA==} engines: {node: '>=18'} hasBin: true @@ -7293,95 +7281,95 @@ packages: rollup: optional: true - '@rollup/rollup-android-arm-eabi@4.20.0': - resolution: {integrity: sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==} + '@rollup/rollup-android-arm-eabi@4.21.0': + resolution: {integrity: sha512-WTWD8PfoSAJ+qL87lE7votj3syLavxunWhzCnx3XFxFiI/BA/r3X7MUM8dVrH8rb2r4AiO8jJsr3ZjdaftmnfA==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.20.0': - resolution: {integrity: sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==} + '@rollup/rollup-android-arm64@4.21.0': + resolution: {integrity: sha512-a1sR2zSK1B4eYkiZu17ZUZhmUQcKjk2/j9Me2IDjk1GHW7LB5Z35LEzj9iJch6gtUfsnvZs1ZNyDW2oZSThrkA==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.20.0': - resolution: {integrity: sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==} + '@rollup/rollup-darwin-arm64@4.21.0': + resolution: {integrity: sha512-zOnKWLgDld/svhKO5PD9ozmL6roy5OQ5T4ThvdYZLpiOhEGY+dp2NwUmxK0Ld91LrbjrvtNAE0ERBwjqhZTRAA==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.20.0': - resolution: {integrity: sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==} + '@rollup/rollup-darwin-x64@4.21.0': + resolution: {integrity: sha512-7doS8br0xAkg48SKE2QNtMSFPFUlRdw9+votl27MvT46vo44ATBmdZdGysOevNELmZlfd+NEa0UYOA8f01WSrg==} cpu: [x64] os: [darwin] - '@rollup/rollup-linux-arm-gnueabihf@4.20.0': - resolution: {integrity: sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==} + '@rollup/rollup-linux-arm-gnueabihf@4.21.0': + resolution: {integrity: sha512-pWJsfQjNWNGsoCq53KjMtwdJDmh/6NubwQcz52aEwLEuvx08bzcy6tOUuawAOncPnxz/3siRtd8hiQ32G1y8VA==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.20.0': - resolution: {integrity: sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==} + '@rollup/rollup-linux-arm-musleabihf@4.21.0': + resolution: {integrity: sha512-efRIANsz3UHZrnZXuEvxS9LoCOWMGD1rweciD6uJQIx2myN3a8Im1FafZBzh7zk1RJ6oKcR16dU3UPldaKd83w==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.20.0': - resolution: {integrity: sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==} + '@rollup/rollup-linux-arm64-gnu@4.21.0': + resolution: {integrity: sha512-ZrPhydkTVhyeGTW94WJ8pnl1uroqVHM3j3hjdquwAcWnmivjAwOYjTEAuEDeJvGX7xv3Z9GAvrBkEzCgHq9U1w==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.20.0': - resolution: {integrity: sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==} + '@rollup/rollup-linux-arm64-musl@4.21.0': + resolution: {integrity: sha512-cfaupqd+UEFeURmqNP2eEvXqgbSox/LHOyN9/d2pSdV8xTrjdg3NgOFJCtc1vQ/jEke1qD0IejbBfxleBPHnPw==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': - resolution: {integrity: sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==} + '@rollup/rollup-linux-powerpc64le-gnu@4.21.0': + resolution: {integrity: sha512-ZKPan1/RvAhrUylwBXC9t7B2hXdpb/ufeu22pG2psV7RN8roOfGurEghw1ySmX/CmDDHNTDDjY3lo9hRlgtaHg==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.20.0': - resolution: {integrity: sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==} + '@rollup/rollup-linux-riscv64-gnu@4.21.0': + resolution: {integrity: sha512-H1eRaCwd5E8eS8leiS+o/NqMdljkcb1d6r2h4fKSsCXQilLKArq6WS7XBLDu80Yz+nMqHVFDquwcVrQmGr28rg==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.20.0': - resolution: {integrity: sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==} + '@rollup/rollup-linux-s390x-gnu@4.21.0': + resolution: {integrity: sha512-zJ4hA+3b5tu8u7L58CCSI0A9N1vkfwPhWd/puGXwtZlsB5bTkwDNW/+JCU84+3QYmKpLi+XvHdmrlwUwDA6kqw==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.20.0': - resolution: {integrity: sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==} + '@rollup/rollup-linux-x64-gnu@4.21.0': + resolution: {integrity: sha512-e2hrvElFIh6kW/UNBQK/kzqMNY5mO+67YtEh9OA65RM5IJXYTWiXjX6fjIiPaqOkBthYF1EqgiZ6OXKcQsM0hg==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.20.0': - resolution: {integrity: sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==} + '@rollup/rollup-linux-x64-musl@4.21.0': + resolution: {integrity: sha512-1vvmgDdUSebVGXWX2lIcgRebqfQSff0hMEkLJyakQ9JQUbLDkEaMsPTLOmyccyC6IJ/l3FZuJbmrBw/u0A0uCQ==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.20.0': - resolution: {integrity: sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==} + '@rollup/rollup-win32-arm64-msvc@4.21.0': + resolution: {integrity: sha512-s5oFkZ/hFcrlAyBTONFY1TWndfyre1wOMwU+6KCpm/iatybvrRgmZVM+vCFwxmC5ZhdlgfE0N4XorsDpi7/4XQ==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.20.0': - resolution: {integrity: sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==} + '@rollup/rollup-win32-ia32-msvc@4.21.0': + resolution: {integrity: sha512-G9+TEqRnAA6nbpqyUqgTiopmnfgnMkR3kMukFBDsiyy23LZvUCpiUwjTRx6ezYCjJODXrh52rBR9oXvm+Fp5wg==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.20.0': - resolution: {integrity: sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==} + '@rollup/rollup-win32-x64-msvc@4.21.0': + resolution: {integrity: sha512-2jsCDZwtQvRhejHLfZ1JY6w6kEuEtfF9nzYsZxzSlNVKDX+DpsDJ+Rbjkm74nvg2rdx0gwBS+IMdvwJuq3S9pQ==} cpu: [x64] os: [win32] - '@shikijs/core@1.12.1': - resolution: {integrity: sha512-biCz/mnkMktImI6hMfMX3H9kOeqsInxWEyCHbSlL8C/2TR1FqfmGxTLRNwYCKsyCyxWLbB8rEqXRVZuyxuLFmA==} + '@shikijs/core@1.14.1': + resolution: {integrity: sha512-KyHIIpKNaT20FtFPFjCQB5WVSTpLR/n+jQXhWHWVUMm9MaOaG9BGOG0MSyt7yA4+Lm+4c9rTc03tt3nYzeYSfw==} '@sindresorhus/merge-streams@2.3.0': resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} - '@solidjs/router@0.14.1': - resolution: {integrity: sha512-GumQ4jbt5xDngLypAndC4EjapY/3DP0G8Az4YWEVQHdCtjHwB8IOm32eEBxE9lKpOffbtXV0r/0X0mofHJ1m5w==} + '@solidjs/router@0.14.3': + resolution: {integrity: sha512-9p4k4zL2baK/1XRQALbFcaQ4IikjkWmxqYQtFqLzjONUejhL1uqJHtzxB4tZjmNqtRANVRnTDbJfzjvaD9k+pQ==} peerDependencies: solid-js: ^1.8.6 @@ -7598,8 +7586,8 @@ packages: '@types/unist@2.0.10': resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==} - '@types/unist@3.0.2': - resolution: {integrity: sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==} + '@types/unist@3.0.3': + resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} '@types/which-pm-runs@1.0.2': resolution: {integrity: sha512-M0ZefeDApctHbjqtATOiixiwafG7pXD3exxnjku4XmX9+2DmONGghv5Z8Pnm0lNLBZKvDQyuG+4pLkH2UkP5gg==} @@ -7613,8 +7601,8 @@ packages: '@types/yargs-parser@21.0.3': resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} - '@typescript-eslint/eslint-plugin@8.0.1': - resolution: {integrity: sha512-5g3Y7GDFsJAnY4Yhvk8sZtFfV6YNF2caLzjrRPUBzewjPCaj0yokePB4LJSobyCzGMzjZZYFbwuzbfDHlimXbQ==} + '@typescript-eslint/eslint-plugin@8.1.0': + resolution: {integrity: sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -7624,8 +7612,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.0.1': - resolution: {integrity: sha512-5IgYJ9EO/12pOUwiBKFkpU7rS3IU21mtXzB81TNwq2xEybcmAZrE9qwDtsb5uQd9aVO9o0fdabFyAmKveXyujg==} + '@typescript-eslint/parser@8.1.0': + resolution: {integrity: sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -7634,12 +7622,12 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.0.1': - resolution: {integrity: sha512-NpixInP5dm7uukMiRyiHjRKkom5RIFA4dfiHvalanD2cF0CLUuQqxfg8PtEUo9yqJI2bBhF+pcSafqnG3UBnRQ==} + '@typescript-eslint/scope-manager@8.1.0': + resolution: {integrity: sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.0.1': - resolution: {integrity: sha512-+/UT25MWvXeDX9YaHv1IS6KI1fiuTto43WprE7pgSMswHbn1Jm9GEM4Txp+X74ifOWV8emu2AWcbLhpJAvD5Ng==} + '@typescript-eslint/type-utils@8.1.0': + resolution: {integrity: sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -7647,12 +7635,12 @@ packages: typescript: optional: true - '@typescript-eslint/types@8.0.1': - resolution: {integrity: sha512-PpqTVT3yCA/bIgJ12czBuE3iBlM3g4inRSC5J0QOdQFAn07TYrYEQBBKgXH1lQpglup+Zy6c1fxuwTk4MTNKIw==} + '@typescript-eslint/types@8.1.0': + resolution: {integrity: sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.0.1': - resolution: {integrity: sha512-8V9hriRvZQXPWU3bbiUV4Epo7EvgM6RTs+sUmxp5G//dBGy402S7Fx0W0QkB2fb4obCF8SInoUzvTYtc3bkb5w==} + '@typescript-eslint/typescript-estree@8.1.0': + resolution: {integrity: sha512-NTHhmufocEkMiAord/g++gWKb0Fr34e9AExBRdqgWdVBaKoei2dIyYKD9Q0jBnvfbEA5zaf8plUFMUH6kQ0vGg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -7660,14 +7648,14 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.0.1': - resolution: {integrity: sha512-CBFR0G0sCt0+fzfnKaciu9IBsKvEKYwN9UZ+eeogK1fYHg4Qxk1yf/wLQkLXlq8wbU2dFlgAesxt8Gi76E8RTA==} + '@typescript-eslint/utils@8.1.0': + resolution: {integrity: sha512-ypRueFNKTIFwqPeJBfeIpxZ895PQhNyH4YID6js0UoBImWYoSjBsahUn9KMiJXh94uOjVBgHD9AmkyPsPnFwJA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@8.0.1': - resolution: {integrity: sha512-W5E+o0UfUcK5EgchLZsyVWqARmsM7v54/qEq6PY3YI5arkgmCzHiuk0zKSJJbm71V0xdRna4BGomkCTXz2/LkQ==} + '@typescript-eslint/visitor-keys@8.1.0': + resolution: {integrity: sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript/twoslash@3.1.0': @@ -7707,8 +7695,8 @@ packages: peerDependencies: vite: ^4.2.0 || ^5.0.0 - '@vitejs/plugin-vue-jsx@4.0.0': - resolution: {integrity: sha512-A+6wL2AdQhDsLsDnY+2v4rRDI1HLJGIMc97a8FURO9tqKsH5QvjWrzsa5DH3NlZsM742W2wODl2fF+bfcTWtXw==} + '@vitejs/plugin-vue-jsx@4.0.1': + resolution: {integrity: sha512-7mg9HFGnFHMEwCdB6AY83cVK4A6sCqnrjFYF4WIlebYAQVVJ/sC/CiTruVdrRlhrFoeZ8rlMxY9wYpPTIRhhAg==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: vite: ^5.0.0 @@ -7739,28 +7727,25 @@ packages: '@vitest/utils@2.0.5': resolution: {integrity: sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==} - '@volar/kit@2.4.0-alpha.16': - resolution: {integrity: sha512-jRPfMrxl8N53UkFINMoY777FBqG49RUqWkJt4yOlNEW8CmUS8fmUw4cz/jMv08KnQUyD3IeZWFtt3XZcQqe4Zw==} + '@volar/kit@2.4.0': + resolution: {integrity: sha512-uqwtPKhrbnP+3f8hs+ltDYXLZ6Wdbs54IzkaPocasI4aBhqWLht5qXctE1MqpZU52wbH359E0u9nhxEFmyon+w==} peerDependencies: typescript: '*' - '@volar/language-core@2.4.0-alpha.16': - resolution: {integrity: sha512-oOTnIZlx0P/idFwVw+W0NbzKDtZAQMzXSdIFfTePCKcXlb4Ys12GaGkx8NF9dsvPYV3nbv3ZsSxnkZWBmNKd7A==} + '@volar/language-core@2.4.0': + resolution: {integrity: sha512-FTla+khE+sYK0qJP+6hwPAAUwiNHVMph4RUXpxf/FIPKUP61NFrVZorml4mjFShnueR2y9/j8/vnh09YwVdH7A==} - '@volar/language-server@2.4.0-alpha.16': - resolution: {integrity: sha512-DswMBlmmXPo9fb1Dmb2qrCtxRDgQPej5jUjAoUm+1wO5k02Tk+jIvbbd/R3EzyHFTARmiRH5/bSOfRefHyuMsg==} + '@volar/language-server@2.4.0': + resolution: {integrity: sha512-rmGIjAxWekWQiGH97Mosb4juiD/hfFYNQKV5Py9r7vDOLSkbIwRhITbwHm88NJKs8P6TNc6w/PfBXN6yjKadJg==} - '@volar/language-service@2.4.0-alpha.16': - resolution: {integrity: sha512-iIRUY0EL9jp8Od7Py/GlYpCu469GFDYl7ai716pQgwipjpjEjRQiuGAD2+cSFjOVXDsMPFpJ+Dpei7aSvE/8pQ==} + '@volar/language-service@2.4.0': + resolution: {integrity: sha512-4P3yeQXIL68mLfS3n6P3m02IRg3GnLHUU9k/1PCHEfm5FG9bySkDOc72dbBn2vAa2BxOqm18bmmZXrsWuQ5AOw==} - '@volar/snapshot-document@2.4.0-alpha.16': - resolution: {integrity: sha512-X9xZeLvkmhjkrz27J6nq9JhYWV8AUT1KS9fi4s+Mo1FOh5HHUIx/QzhrwsUN/pY1z3kO+vtrl2DE6NVJRYwwbw==} + '@volar/source-map@2.4.0': + resolution: {integrity: sha512-2ceY8/NEZvN6F44TXw2qRP6AQsvCYhV2bxaBPWxV9HqIfkbRydSksTFObCF1DBDNBfKiZTS8G/4vqV6cvjdOIQ==} - '@volar/source-map@2.4.0-alpha.16': - resolution: {integrity: sha512-sL9vNG7iR2hiKZor7UkD5Sufu3QCia4cbp2gX/nGRNSdaPbhOpdAoavwlBm0PrVkpiA19NZuavZoobD8krviFg==} - - '@volar/typescript@2.4.0-alpha.16': - resolution: {integrity: sha512-WCx7z5O81McCQp2cC0c8081y+MgTiAR2WAiJjVL4tr4Qh4GgqK0lgn3CqAjcKizaK1R5y3wfrUqgIYr+QeFYcw==} + '@volar/typescript@2.4.0': + resolution: {integrity: sha512-9zx3lQWgHmVd+JRRAHUSRiEhe4TlzL7U7e6ulWXOxHH/WNYxzKwCvZD7WYWEZFdw4dHfTD9vUR0yPQO6GilCaQ==} '@vscode/emmet-helper@2.9.3': resolution: {integrity: sha512-rB39LHWWPQYYlYfpv9qCoZOVioPCftKXXqrsyqN1mTWZM6dTnONT63Db+03vgrBbHzJN45IrgS/AGxw9iiqfEw==} @@ -7784,51 +7769,51 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@vue/compiler-core@3.4.37': - resolution: {integrity: sha512-ZDDT/KiLKuCRXyzWecNzC5vTcubGz4LECAtfGPENpo0nrmqJHwuWtRLxk/Sb9RAKtR9iFflFycbkjkY+W/PZUQ==} + '@vue/compiler-core@3.4.38': + resolution: {integrity: sha512-8IQOTCWnLFqfHzOGm9+P8OPSEDukgg3Huc92qSG49if/xI2SAwLHQO2qaPQbjCWPBcQoO1WYfXfTACUrWV3c5A==} - '@vue/compiler-dom@3.4.37': - resolution: {integrity: sha512-rIiSmL3YrntvgYV84rekAtU/xfogMUJIclUMeIKEtVBFngOL3IeZHhsH3UaFEgB5iFGpj6IW+8YuM/2Up+vVag==} + '@vue/compiler-dom@3.4.38': + resolution: {integrity: sha512-Osc/c7ABsHXTsETLgykcOwIxFktHfGSUDkb05V61rocEfsFDcjDLH/IHJSNJP+/Sv9KeN2Lx1V6McZzlSb9EhQ==} - '@vue/compiler-sfc@3.4.37': - resolution: {integrity: sha512-vCfetdas40Wk9aK/WWf8XcVESffsbNkBQwS5t13Y/PcfqKfIwJX2gF+82th6dOpnpbptNMlMjAny80li7TaCIg==} + '@vue/compiler-sfc@3.4.38': + resolution: {integrity: sha512-s5QfZ+9PzPh3T5H4hsQDJtI8x7zdJaew/dCGgqZ2630XdzaZ3AD8xGZfBqpT8oaD/p2eedd+pL8tD5vvt5ZYJQ==} - '@vue/compiler-ssr@3.4.37': - resolution: {integrity: sha512-TyAgYBWrHlFrt4qpdACh8e9Ms6C/AZQ6A6xLJaWrCL8GCX5DxMzxyeFAEMfU/VFr4tylHm+a2NpfJpcd7+20XA==} + '@vue/compiler-ssr@3.4.38': + resolution: {integrity: sha512-YXznKFQ8dxYpAz9zLuVvfcXhc31FSPFDcqr0kyujbOwNhlmaNvL2QfIy+RZeJgSn5Fk54CWoEUeW+NVBAogGaw==} - '@vue/devtools-core@7.3.7': - resolution: {integrity: sha512-IapWbHUqvO6n+p5JFTCE5JyNjpsZ5IS1GYIRX0P7/SqYPgFCOdH0dG+u8PbBHYdnp+VPxHLO+GGZ/WBZFCZnsA==} + '@vue/devtools-core@7.3.8': + resolution: {integrity: sha512-mEwsR7GMklWuPOBH/++DiJe0GWqQ0syDtWP0HhU8m9tebs5zQtujMXrgu+cgBAKquJAWnBz0PwNzBgBD2P+M9A==} peerDependencies: vue: ^3.0.0 - '@vue/devtools-kit@7.3.7': - resolution: {integrity: sha512-ktHhhjI4CoUrwdSUF5b/MFfjrtAtK8r4vhOkFyRN5Yp9kdXTwsRBYcwarHuP+wFPKf4/KM7DVBj2ELO8SBwdsw==} + '@vue/devtools-kit@7.3.8': + resolution: {integrity: sha512-HYy3MQP1nZ6GbE4vrgJ/UB+MvZnhYmEwCa/UafrEpdpwa+jNCkz1ZdUrC5I7LpkH1ShREEV2/pZlAQdBj+ncLQ==} - '@vue/devtools-shared@7.3.7': - resolution: {integrity: sha512-M9EU1/bWi5GNS/+IZrAhwGOVZmUTN4MH22Hvh35nUZZg9AZP2R2OhfCb+MG4EtAsrUEYlu3R43/SIj3G7EZYtQ==} + '@vue/devtools-shared@7.3.8': + resolution: {integrity: sha512-1NiJbn7Yp47nPDWhFZyEKpB2+5/+7JYv8IQnU0ccMrgslPR2dL7u1DIyI7mLqy4HN1ll36gQy0k8GqBYSFgZJw==} '@vue/reactivity@3.1.5': resolution: {integrity: sha512-1tdfLmNjWG6t/CsPldh+foumYFo3cpyCHgBYQ34ylaMsJ+SNHQ1kApMIa8jN+i593zQuaw3AdWH0nJTARzCFhg==} - '@vue/reactivity@3.4.37': - resolution: {integrity: sha512-UmdKXGx0BZ5kkxPqQr3PK3tElz6adTey4307NzZ3whZu19i5VavYal7u2FfOmAzlcDVgE8+X0HZ2LxLb/jgbYw==} + '@vue/reactivity@3.4.38': + resolution: {integrity: sha512-4vl4wMMVniLsSYYeldAKzbk72+D3hUnkw9z8lDeJacTxAkXeDAP1uE9xr2+aKIN0ipOL8EG2GPouVTH6yF7Gnw==} - '@vue/runtime-core@3.4.37': - resolution: {integrity: sha512-MNjrVoLV/sirHZoD7QAilU1Ifs7m/KJv4/84QVbE6nyAZGQNVOa1HGxaOzp9YqCG+GpLt1hNDC4RbH+KtanV7w==} + '@vue/runtime-core@3.4.38': + resolution: {integrity: sha512-21z3wA99EABtuf+O3IhdxP0iHgkBs1vuoCAsCKLVJPEjpVqvblwBnTj42vzHRlWDCyxu9ptDm7sI2ZMcWrQqlA==} - '@vue/runtime-dom@3.4.37': - resolution: {integrity: sha512-Mg2EwgGZqtwKrqdL/FKMF2NEaOHuH+Ks9TQn3DHKyX//hQTYOun+7Tqp1eo0P4Ds+SjltZshOSRq6VsU0baaNg==} + '@vue/runtime-dom@3.4.38': + resolution: {integrity: sha512-afZzmUreU7vKwKsV17H1NDThEEmdYI+GCAK/KY1U957Ig2NATPVjCROv61R19fjZNzMmiU03n79OMnXyJVN0UA==} - '@vue/server-renderer@3.4.37': - resolution: {integrity: sha512-jZ5FAHDR2KBq2FsRUJW6GKDOAG9lUTX8aBEGq4Vf6B/35I9fPce66BornuwmqmKgfiSlecwuOb6oeoamYMohkg==} + '@vue/server-renderer@3.4.38': + resolution: {integrity: sha512-NggOTr82FbPEkkUvBm4fTGcwUY8UuTsnWC/L2YZBmvaQ4C4Jl/Ao4HHTB+l7WnFCt5M/dN3l0XLuyjzswGYVCA==} peerDependencies: - vue: 3.4.37 + vue: 3.4.38 '@vue/shared@3.1.5': resolution: {integrity: sha512-oJ4F3TnvpXaQwZJNF3ZK+kLPHKarDmJjJ6jyzVNDKH9md1dptjC7lWR//jrGuLdek/U6iltWxqAnYOu8gCiOvA==} - '@vue/shared@3.4.37': - resolution: {integrity: sha512-nIh8P2fc3DflG8+5Uw8PT/1i17ccFn0xxN/5oE9RfV5SVnd7G0XEFRwakrnNFE/jlS95fpGXDVG5zDETS26nmg==} + '@vue/shared@3.4.38': + resolution: {integrity: sha512-q0xCiLkuWWQLzVrecPb0RMsNWyxICOjPrcrwxTUEHb1fsnvni4dcuyG7RT/Ie7VPTvnjzIaWzRMUBsrqNj/hhw==} '@webcomponents/template-shadowroot@0.2.1': resolution: {integrity: sha512-fXL/vIUakyZL62hyvUh+EMwbVoTc0hksublmRz6ai6et8znHkJa6gtqMUZo1oc7dIz46exHSIImml9QTdknMHg==} @@ -7850,11 +7835,6 @@ packages: peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - acorn@8.12.0: - resolution: {integrity: sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==} - engines: {node: '>=0.4.0'} - hasBin: true - acorn@8.12.1: resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} engines: {node: '>=0.4.0'} @@ -7875,6 +7855,9 @@ packages: ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + ajv@8.17.1: + resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==} + alpinejs@3.14.1: resolution: {integrity: sha512-ICar8UsnRZAYvv/fCNfNeKMXNoXGUfwHrjx7LqXd08zIP95G2d9bAOuaL97re+1mgt/HojqHsfdOLo/A5LuWgQ==} @@ -7990,9 +7973,6 @@ packages: peerDependencies: postcss: ^8.1.0 - axobject-query@4.0.0: - resolution: {integrity: sha512-+60uv1hiVFhHZeO+Lz0RYzsVHy5Wr1ayX0mwda9KPDVLNJgZ1T9Ny7VmFbLDzxsH0D87I86vgj3gFrjTJUYznw==} - axobject-query@4.1.0: resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==} engines: {node: '>= 0.4'} @@ -8064,19 +8044,10 @@ packages: brace-expansion@2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} - braces@3.0.2: - resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} - engines: {node: '>=8'} - braces@3.0.3: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} - browserslist@4.23.1: - resolution: {integrity: sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - browserslist@4.23.3: resolution: {integrity: sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} @@ -8120,9 +8091,6 @@ packages: resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==} engines: {node: '>=14.16'} - caniuse-lite@1.0.30001639: - resolution: {integrity: sha512-eFHflNTBIlFwP2AIKaYuBQN/apnUoKNhBdza8ZnW/h2di4LCZ4xFqYlxUxo+LQ76KFI1PGcC1QDxMbxTZpSCAg==} - caniuse-lite@1.0.30001649: resolution: {integrity: sha512-fJegqZZ0ZX8HOWr6rcafGr72+xcgJKI9oWfDW5DrD7ExUtgZC7a7R7ZYmZqplh7XDocFdGeIFn7roAxhOeYrPQ==} @@ -8651,9 +8619,6 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - electron-to-chromium@1.4.816: - resolution: {integrity: sha512-EKH5X5oqC6hLmiS7/vYtZHZFTNdhsYG5NVPRN6Yn0kQHNBlT59+xSM8HBy66P5fxWpKgZbPqb+diC64ng295Jw==} - electron-to-chromium@1.5.4: resolution: {integrity: sha512-orzA81VqLyIGUEA77YkVA1D+N+nNfl2isJVjjmOyrlxuooZ19ynb+dOlaDTqd/idKRS9lDCSBmtzM+kyCsMnkA==} @@ -8688,15 +8653,11 @@ packages: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} - entities@5.0.0: - resolution: {integrity: sha512-BeJFvFRJddxobhvEdm5GqHzRV/X+ACeuw0/BuuxsCh1EUZcAIz8+kYmBp/LrQuloy6K1f3a0M7+IhmZ7QnkISA==} - engines: {node: '>=0.12'} - eol@0.9.1: resolution: {integrity: sha512-Ds/TEoZjwggRoz/Q2O7SE3i4Jm66mqTDfmdHdq/7DKVk3bro9Q8h6WdXKdPqFLMoqxrDK5SVRzHVPOS6uuGtrg==} - error-stack-parser-es@0.1.1: - resolution: {integrity: sha512-g/9rfnvnagiNf+DRMHEVGuGuIBlCIMDFoTA616HaP2l9PlCjGjVhD98PNbVSJvmK4TttqT5mV5tInMhoFgi+aA==} + error-stack-parser-es@0.1.5: + resolution: {integrity: sha512-xHku1X40RO+fO8yJ8Wh2f2rZWVjqyhb1zgq1yZ8aZRQkv6OOKhKWRUaht3eSCUbAOBaKIgM+ykwFLE+QUxgGeg==} es-define-property@1.0.0: resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} @@ -8738,8 +8699,8 @@ packages: resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} engines: {node: '>=12'} - eslint-plugin-no-only-tests@3.1.0: - resolution: {integrity: sha512-Lf4YW/bL6Un1R6A76pRZyE1dl1vr31G/ev8UzIc/geCgFWyrKil8hVjYqWVKGB/UIGmb6Slzs9T0wNezdSVegw==} + eslint-plugin-no-only-tests@3.3.0: + resolution: {integrity: sha512-brcKcxGnISN2CcVhXJ/kEQlNa0MEfGRtwKtWA16SkqXHKitaKIMrfemJKLKX1YqDU5C/5JY3PvZXd5jEW04e0Q==} engines: {node: '>=5.0.0'} eslint-plugin-regexp@2.6.0: @@ -8866,6 +8827,9 @@ packages: fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + fast-uri@3.0.1: + resolution: {integrity: sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==} + fast-xml-parser@4.4.1: resolution: {integrity: sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==} hasBin: true @@ -8888,10 +8852,6 @@ packages: file-uri-to-path@1.0.0: resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} - fill-range@7.0.1: - resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} - engines: {node: '>=8'} - fill-range@7.1.1: resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} engines: {node: '>=8'} @@ -9443,6 +9403,9 @@ packages: json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + json-schema-traverse@1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + json-stable-stringify-without-jsonify@1.0.1: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} @@ -9494,10 +9457,12 @@ packages: libsql@0.3.19: resolution: {integrity: sha512-Aj5cQ5uk/6fHdmeW0TiXK42FqUlwx7ytmMLPSaUQPin5HKKKuUPD62MAbN4OEweGBBI7q1BekoEN4gPUEL6MZA==} + cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] libsql@0.4.1: resolution: {integrity: sha512-qZlR9Yu1zMBeLChzkE/cKfoKV3Esp9cn9Vx5Zirn4AVhDWPcjYhKwbtJcMuHehgk3mH+fJr9qW+3vesBWbQpBg==} + cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] lilconfig@2.1.0: @@ -9559,6 +9524,9 @@ packages: lodash.startcase@4.4.0: resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} + lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + log-symbols@6.0.0: resolution: {integrity: sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==} engines: {node: '>=18'} @@ -9597,9 +9565,6 @@ packages: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} hasBin: true - magic-string@0.30.10: - resolution: {integrity: sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==} - magic-string@0.30.11: resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} @@ -9961,9 +9926,9 @@ packages: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} - neotraverse@0.6.9: - resolution: {integrity: sha512-IJ00Agk9rMj4ChQwT/nWhLG/vC7PgNAk+BEKOE0DU5ToOHrmv3wefk8+2TcPDb4TRTQNpq0TIaDlaqvmrTAbrw==} - engines: {node: '>= 18'} + neotraverse@0.6.18: + resolution: {integrity: sha512-Z4SmBUweYa09+o6pG+eASabEpP6QkQ70yHj351pQoEXIs8uHbaU2DWVmzBANKgflPa47A50PtB2+NgRpQvr7vA==} + engines: {node: '>= 10'} nlcst-to-string@4.0.0: resolution: {integrity: sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA==} @@ -10005,9 +9970,6 @@ packages: resolution: {integrity: sha512-X/GpUpNNiPDYUeUD183W8V4OW6OHYWI29w/QDyb+c/GzOfVEAlo6HjbW9++eXT2aV2lGg+uS+XqTD2q0pNREQA==} engines: {node: '>=14'} - node-releases@2.0.14: - resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==} - node-releases@2.0.18: resolution: {integrity: sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==} @@ -10237,9 +10199,6 @@ packages: periscopic@3.1.0: resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} - picocolors@1.0.0: - resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} - picocolors@1.0.1: resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} @@ -10263,13 +10222,13 @@ packages: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} - playwright-core@1.46.0: - resolution: {integrity: sha512-9Y/d5UIwuJk8t3+lhmMSAJyNP1BUC/DqP3cQJDQQL/oWqAiuPTLgy7Q5dzglmTLwcBRdetzgNM/gni7ckfTr6A==} + playwright-core@1.46.1: + resolution: {integrity: sha512-h9LqIQaAv+CYvWzsZ+h3RsrqCStkBHlgo6/TJlFst3cOTlLghBQlJwPOZKQJTKNaD3QIB7aAVQ+gfWbN3NXB7A==} engines: {node: '>=18'} hasBin: true - playwright@1.46.0: - resolution: {integrity: sha512-XYJ5WvfefWONh1uPAUAi0H2xXV5S3vrtcnXe6uAOgdGi3aSpqOSXX08IAjXW34xitfuOJsvXU5anXZxPSEQiJw==} + playwright@1.46.1: + resolution: {integrity: sha512-oPcr1yqoXLCkgKtD5eNUPLiN40rYEM39odNpIb6VE6S7/15gJmA1NzVv6zJYusV0e7tzvkU/utBFNa/Kpxmwng==} engines: {node: '>=18'} hasBin: true @@ -10288,8 +10247,8 @@ packages: peerDependencies: postcss: ^8.4.6 - postcss-color-functional-notation@7.0.0: - resolution: {integrity: sha512-WjOCE1FJb2xIeFvF40CISn9yUMtzwkgjdbjXmWjbrC1wAgQiB763h7bsip9piGtAkbeM5Pi9hVIDSmtbWrlqLw==} + postcss-color-functional-notation@7.0.2: + resolution: {integrity: sha512-c2WkR0MS73s+P5SgY1KBaSEE61Rj+miW095rkWDnMQxbTCQkp6y/jft8U0QMxEsI4k1Pd4PdV+TP9/1zIDR6XQ==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 @@ -10306,20 +10265,20 @@ packages: peerDependencies: postcss: ^8.4 - postcss-custom-media@11.0.0: - resolution: {integrity: sha512-tZ4qTYSOqH7YFi8psEQB2v2zBRbbJex9FgPef2Qss8DlWxnYpBNHquvMmVBR8uIt6hW0+prDsg7UJDp6XLIf8w==} + postcss-custom-media@11.0.1: + resolution: {integrity: sha512-vfBliYVgEEJUFXCRPQ7jYt1wlD322u+/5GT0tZqMVYFInkpDHfjhU3nk2quTRW4uFc/umOOqLlxvrEOZRvloMw==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 - postcss-custom-properties@14.0.0: - resolution: {integrity: sha512-GD/suWYQAplXJujsyOswYP+oX9xs29eBNwGloPj4Ub+3/Rq1Set+ZeGmHJfN2Y2+x9vUxAX4eeNJFmtk6VBv4A==} + postcss-custom-properties@14.0.1: + resolution: {integrity: sha512-SB4GjuZjIq5GQFNbxFrirQPbkdbJooyNy8bh+fcJ8ZG0oasJTflTTtR4geb56h+FBVDIb9Hx4v/NiG2caOj8nQ==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 - postcss-custom-selectors@8.0.0: - resolution: {integrity: sha512-nW6RWjH+jaWvXEgm/AzMhtVjMXcKmrTWsM/eJn/ujnJI5uEOPTxvl3eCFFCFKC2DiZcOP5HLH5EeX0DIemFzBQ==} + postcss-custom-selectors@8.0.1: + resolution: {integrity: sha512-2McIpyhAeKhUzVqrP4ZyMBpK5FuD+Y9tpQwhcof49652s7gez8057cSaOg/epYcKlztSYxb0GHfi7W5h3JoGUg==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 @@ -10377,8 +10336,8 @@ packages: peerDependencies: postcss: ^8.4.21 - postcss-lab-function@7.0.0: - resolution: {integrity: sha512-Qyrlog4fAJcbwiWHiwkpDLlSRnvk2dFYqygQ29sMbhCoq6B/Jtj89u89VFNaAatW8KkDDAeNzVvabK9NBD9hJA==} + postcss-lab-function@7.0.2: + resolution: {integrity: sha512-h4ARGLIBtC1PmCHsLgTWWj8j1i1CXoaht4A5RlITDX2z9AeFBak0YlY6sdF4oJGljrep+Dg2SSccIj4QnFbRDg==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 @@ -10436,8 +10395,8 @@ packages: peerDependencies: postcss: ^8.4 - postcss-preset-env@10.0.0: - resolution: {integrity: sha512-zoLkIGK30hkLhHVD6jNqcO6gDVDzyo10s42XG++Gsy9z6gk1X/UpI2Zn28ylGD9VnQSSdQMzuk535rRq2JmWkg==} + postcss-preset-env@10.0.2: + resolution: {integrity: sha512-PMxqnz0RQYMUmUi6p4P7BhC9EVGyEUCIdwn4vJ7Fy1jvc2QP4mMH75BSBB1mBFqjl3x4xYwyCNMhGZ8y0+/qOA==} engines: {node: '>=18'} peerDependencies: postcss: ^8.4 @@ -10470,13 +10429,13 @@ packages: resolution: {integrity: sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==} engines: {node: ^10 || ^12 || >=14} - preact-render-to-string@6.5.8: - resolution: {integrity: sha512-VwldmyF+5G6eqTH26uyXY2+a9fh7ry8roYnIEwarB6OnT1bVN7lnlFvh0ldeKJ7/JtvMoWO5jz9tyykRlAIDyA==} + preact-render-to-string@6.5.9: + resolution: {integrity: sha512-Fn9R89h6qrQeSRmsH2O2fWzqpVwsJgEL9UTly5nGEV2ldhVuG+9JhXdNJ6zreIkOZcBT20+AOMwlG1x72znJ+g==} peerDependencies: preact: '>=10' - preact@10.23.1: - resolution: {integrity: sha512-O5UdRsNh4vdZaTieWe3XOgSpdMAmkIYBCT3VhQDlKrzyCm8lUYsk0fmVEvoQQifoOjFRTaHZO69ylrzTW2BH+A==} + preact@10.23.2: + resolution: {integrity: sha512-kKYfePf9rzKnxOAKDpsWhg/ysrHPqT+yQ7UW4JjdnqjFIeNUnNcEJvhuA8fDenxAGWzUqtd51DfVg7xp/8T9NA==} preferred-pm@3.1.3: resolution: {integrity: sha512-MkXsENfftWSRpzCzImcp4FRsCc3y1opwB73CfCNWyzMqArju2CrlMHlqB7VexKiPEOjGMbttv1r9fSCn5S610w==} @@ -10494,6 +10453,11 @@ packages: resolution: {integrity: sha512-RiBETaaP9veVstE4vUwSIcdATj6dKmXljouXc/DDNwBSPTp8FRkLGDSGFClKsAFeeg+13SB0Z1JZvbD76bigJw==} engines: {node: ^14.15.0 || >=16.0.0} + prettier@2.8.7: + resolution: {integrity: sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==} + engines: {node: '>=10.13.0'} + hasBin: true + prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} @@ -10687,6 +10651,9 @@ packages: remark-toc@9.0.0: resolution: {integrity: sha512-KJ9txbo33GjDAV1baHFze7ij4G8c7SGYoY8Kzsm2gzFpbhL/bSoVpMMzGa3vrNDSWASNd/3ppAqL7cP2zD6JIA==} + request-light@0.5.8: + resolution: {integrity: sha512-3Zjgh+8b5fhRJBQZoy+zbVKpAQGLyka0MPgW3zruTF4dFFJ8Fqcfu9YsAvi/rvdcaTeWG3MkbZv4WKxAn/84Lg==} + request-light@0.7.0: resolution: {integrity: sha512-lMbBMrDoxgsyO+yB3sDcrDuX85yYt7sS8BfQd11jtbW/z5ZWgLZRcEGLsLoYw7I0WSUGQBs8CC8ScIxkTX1+6Q==} @@ -10749,8 +10716,8 @@ packages: engines: {node: '>=14'} hasBin: true - rollup@4.20.0: - resolution: {integrity: sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==} + rollup@4.21.0: + resolution: {integrity: sha512-vo+S/lfA2lMS7rZ2Qoubi6I5hwZwzXeUIctILZLbHI+laNtvhhOIon2S1JksA5UEDQ7l3vberd0fxK44lTYjbQ==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -10806,11 +10773,6 @@ packages: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true - semver@7.6.2: - resolution: {integrity: sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==} - engines: {node: '>=10'} - hasBin: true - semver@7.6.3: resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} engines: {node: '>=10'} @@ -10878,8 +10840,8 @@ packages: shiki@0.10.1: resolution: {integrity: sha512-VsY7QJVzU51j5o1+DguUd+6vmCmZ5v/6gYu4vyYAhzjuNQU6P/vmSy4uQaOhvje031qQMiW0d2BwgMH52vqMng==} - shiki@1.12.1: - resolution: {integrity: sha512-nwmjbHKnOYYAe1aaQyEBHvQymJgfm86ZSS7fT8OaPRr4sbAcBNz7PbfAikMEFSDQ6se2j2zobkXvVKcBOm0ysg==} + shiki@1.14.1: + resolution: {integrity: sha512-FujAN40NEejeXdzPt+3sZ3F2dx1U24BY2XTY01+MG8mbxCiA2XukXdcbyMyLAHJ/1AUUnQd1tZlvIjefWWEJeA==} side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} @@ -10937,8 +10899,8 @@ packages: resolution: {integrity: sha512-TzobUYoEft/xBtb2voRPryAUIvYguG0V7Tt3de79I1WfXgCwelqVsGuZSnu3GFGRZhXR90AeEYIM+icuB/S06Q==} hasBin: true - solid-js@1.8.20: - resolution: {integrity: sha512-SsgaExCJ97mPm9WpAusjZ484Z8zTp8ggiueQOsrm81iAP7UaxaN+wiOgnPcJ9u6B2SQpoQ4FiDPAZBqVWi1V4g==} + solid-js@1.8.21: + resolution: {integrity: sha512-FHUGdoo7GVa1BTpGh/4UtwIISde0vSXoqNB6KFpHiTgkIY959tmCJ7NYQAWDfScBfnpoMGZR8lFz0DiwW/gFlw==} solid-refresh@0.6.3: resolution: {integrity: sha512-F3aPsX6hVw9ttm5LYlth8Q15x6MlI/J3Dn+o3EQyRTtTxidepSTwAYdozt01/YA+7ObcciagGEyXIopGZzQtbA==} @@ -11108,8 +11070,8 @@ packages: symbol-tree@3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - tailwindcss@3.4.9: - resolution: {integrity: sha512-1SEOvRr6sSdV5IDf9iC+NU4dhwdqzF4zKKq3sAbasUWHEM6lsMhX+eNN5gkPx1BvLFEnZQEUFbXnGj8Qlp83Pg==} + tailwindcss@3.4.10: + resolution: {integrity: sha512-KWZkVPm7yJRhdu4SRSl9d4AK2wM3a50UsvgHZO7xY77NQr2V+fIrEuoDGQcbvswWvFGbS2f6e+jC/6WJm1Dl0w==} engines: {node: '>=14.0.0'} hasBin: true @@ -11239,38 +11201,38 @@ packages: tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - turbo-darwin-64@2.0.12: - resolution: {integrity: sha512-NAgfgbXxX/JScWQmmQnGbPuFZq7LIswHfcMk5JwyBXQM/xmklNOxxac7MnGGIOf19Z2f6S3qHy17VIj0SeGfnA==} + turbo-darwin-64@2.0.14: + resolution: {integrity: sha512-kwfDmjNwlNfvtrvT29+ZBg5n1Wvxl891bFHchMJyzMoR0HOE9N1NSNdSZb9wG3e7sYNIu4uDkNk+VBEqJW0HzQ==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@2.0.12: - resolution: {integrity: sha512-cP02uer5KSJ+fXL+OfRRk5hnVjV0c60hxDgNcJxrZpfhun7HHoKDDR7w2xhQntiA45aC6ZZEXRqMKpj6GAmKbg==} + turbo-darwin-arm64@2.0.14: + resolution: {integrity: sha512-m3LXYEshCx3wc4ZClM6gb01KYpFmtjQ9IBF3A7ofjb6ahux3xlYZJZ3uFCLAGHuvGLuJ3htfiPbwlDPTdknqqw==} cpu: [arm64] os: [darwin] - turbo-linux-64@2.0.12: - resolution: {integrity: sha512-+mQgGfg1eq5qF+wenK/FKJaNMNAo5DQLC4htQy+8osW+fx6U+8+6UlPQPaycAWDEqwOI7NwuqkeHfkEQLQUTyQ==} + turbo-linux-64@2.0.14: + resolution: {integrity: sha512-7vBzCPdoTtR92SNn2JMgj1FlMmyonGmpMaQdgAB1OVYtuQ6NVGoh7/lODfaILqXjpvmFSVbpBIDrKOT6EvcprQ==} cpu: [x64] os: [linux] - turbo-linux-arm64@2.0.12: - resolution: {integrity: sha512-KFyEZDXfPU1DK4zimxdCcqAcK7IIttX4mfsgB7NsSEOmH0dhHOih/YFYiyEDC1lTRx0C2RlzQ0Kjjdz48AN5Eg==} + turbo-linux-arm64@2.0.14: + resolution: {integrity: sha512-jwH+c0bfjpBf26K/tdEFatmnYyXwGROjbr6bZmNcL8R+IkGAc/cglL+OToqJnQZTgZvH7uDGbeSyUo7IsHyjuA==} cpu: [arm64] os: [linux] - turbo-windows-64@2.0.12: - resolution: {integrity: sha512-kJj4KCkZTkDTDCqsSw1m1dbO4WeoQq1mYUm/thXOH0OkeqYbSMt0EyoTcJOgKUDsrMnzZD2gPfYrlYHtV69lVA==} + turbo-windows-64@2.0.14: + resolution: {integrity: sha512-w9/XwkHSzvLjmioo6cl3S1yRfI6swxsV1j1eJwtl66JM4/pn0H2rBa855R0n7hZnmI6H5ywLt/nLt6Ae8RTDmw==} cpu: [x64] os: [win32] - turbo-windows-arm64@2.0.12: - resolution: {integrity: sha512-TY3ROxguDilN2olCwcZMaePdW01Xhma0pZU7bNhsQEqca9RGAmsZBuzfGnTMcWPmv4tpnb/PlX1hrt1Hod/44Q==} + turbo-windows-arm64@2.0.14: + resolution: {integrity: sha512-XaQlyYk+Rf4xS5XWCo8XCMIpssgGGy8blzLfolN6YBp4baElIWMlkLZHDbGyiFmCbNf9I9gJI64XGRG+LVyyjA==} cpu: [arm64] os: [win32] - turbo@2.0.12: - resolution: {integrity: sha512-8s2KwqjwQj7z8Z53SUZSKVkQOZ2/Sl4D2F440oaBY/k2lGju60dW6srEpnn8/RIDeICZmQn3pQHF79Jfnc5Skw==} + turbo@2.0.14: + resolution: {integrity: sha512-00JjdCMD/cpsjP0Izkjcm8Oaor5yUCfDwODtaLb+WyblyadkaDEisGhy3Dbd5az9n+5iLSPiUgf+WjPbns6MRg==} hasBin: true type-check@0.4.0: @@ -11301,8 +11263,8 @@ packages: typescript-auto-import-cache@0.3.3: resolution: {integrity: sha512-ojEC7+Ci1ij9eE6hp8Jl9VUNnsEKzztktP5gtYNRMrTmfXVwA1PITYYAkpxCvvupdSYa/Re51B6KMcv1CTZEUA==} - typescript-eslint@8.0.1: - resolution: {integrity: sha512-V3Y+MdfhawxEjE16dWpb7/IOgeXnLwAEEkS7v8oDqNcR1oYlqWhGH/iHqHdKVdpWme1VPZ0SoywXAkCqawj2eQ==} + typescript-eslint@8.1.0: + resolution: {integrity: sha512-prB2U3jXPJLpo1iVLN338Lvolh6OrcCZO+9Yv6AR+tvegPPptYCDBIHiEEUdqRi8gAv2bXNKfMUrgAd2ejn/ow==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -11340,9 +11302,6 @@ packages: resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} engines: {node: '>=18'} - unified@11.0.4: - resolution: {integrity: sha512-apMPnyLjAX+ty4OrNap7yumyVAMlKx5IWU2wlzzUdYJO9A8f1p9m/gywF/GM2ZDFcjQPrx59Mc90KwmxsoklxQ==} - unified@11.0.5: resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==} @@ -11416,12 +11375,6 @@ packages: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} - update-browserslist-db@1.0.16: - resolution: {integrity: sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' - update-browserslist-db@1.1.0: resolution: {integrity: sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==} hasBin: true @@ -11477,8 +11430,8 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true - vite-plugin-inspect@0.8.4: - resolution: {integrity: sha512-G0N3rjfw+AiiwnGw50KlObIHYWfulVwaCBUBLh2xTW9G1eM9ocE5olXkEYUbwyTmX+azM8duubi+9w5awdCz+g==} + vite-plugin-inspect@0.8.5: + resolution: {integrity: sha512-JvTUqsP1JNDw0lMZ5Z/r5cSj81VK2B7884LO1DC3GMBhdcjcsAnJjdWq7bzQL01Xbh+v60d3lju3g+z7eAtNew==} engines: {node: '>=14'} peerDependencies: '@nuxt/kit': '*' @@ -11497,8 +11450,8 @@ packages: '@testing-library/jest-dom': optional: true - vite-plugin-vue-devtools@7.3.7: - resolution: {integrity: sha512-pPv6YJYrCIlWP+wwRk9gzDp2rK5M5jQ5oz//Nci3C3FDvORL1btKQqGvgthx3hs6xbx5acToJtkMGgDnZg8smw==} + vite-plugin-vue-devtools@7.3.8: + resolution: {integrity: sha512-b5t4wxCb5g5cjh+odNpgnB7iX7gA6FJnKugFqX2/YZX9I4fvMjlj1bUnCKnvPlmwnFxClYgdmgZcCh2RyhZgvw==} engines: {node: '>=v14.21.3'} peerDependencies: vite: ^3.1.0 || ^4.0.0-0 || ^5.0.0-0 @@ -11513,8 +11466,8 @@ packages: peerDependencies: vue: '>=3.2.13' - vite@5.4.0: - resolution: {integrity: sha512-5xokfMX0PIiwCMCMb9ZJcMyh5wbBun0zUzKib+L65vAZ8GY9ePZMXxFrHbr/Kyll2+LSCY7xtERPpxkBDKngwg==} + vite@5.4.1: + resolution: {integrity: sha512-1oE6yuNXssjrZdblI9AfBbHCC41nnyoVoEZxQnID6yvQZAFBzxxkqoFLtHUMkYunL8hwOLEjgTuxpkRxvba3kA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -11577,34 +11530,34 @@ packages: jsdom: optional: true - volar-service-css@0.0.59: - resolution: {integrity: sha512-gLNjJnECbalPvQB7qeJjhkDN8sR5M3ItbVYjnyio61aHaWptIiXm/HfDahcQ2ApwmvWidkMWWegjGq5L0BENDA==} + volar-service-css@0.0.61: + resolution: {integrity: sha512-Ct9L/w+IB1JU8F4jofcNCGoHy6TF83aiapfZq9A0qYYpq+Kk5dH+ONS+rVZSsuhsunq8UvAuF8Gk6B8IFLfniw==} peerDependencies: - '@volar/language-service': ~2.4.0-alpha.12 + '@volar/language-service': ~2.4.0 peerDependenciesMeta: '@volar/language-service': optional: true - volar-service-emmet@0.0.59: - resolution: {integrity: sha512-6EynHcuMwMBETpK29TbZvIMmvzdVG+Tkokk9VWfZeI+SwDptk2tgdhEqiXXvIkqYNgbuu73Itp66lpH76cAU+Q==} + volar-service-emmet@0.0.61: + resolution: {integrity: sha512-iiYqBxjjcekqrRruw4COQHZME6EZYWVbkHjHDbULpml3g8HGJHzpAMkj9tXNCPxf36A+f1oUYjsvZt36qPg4cg==} peerDependencies: - '@volar/language-service': ~2.4.0-alpha.12 + '@volar/language-service': ~2.4.0 peerDependenciesMeta: '@volar/language-service': optional: true - volar-service-html@0.0.59: - resolution: {integrity: sha512-hEXOsYpILDlITZxnqRLV9OepVWD63GZBsyjMxszwdzlxvGZjzbGcBBinJGGJRwFIV8djdJwnt91bkdg1V5tj6Q==} + volar-service-html@0.0.61: + resolution: {integrity: sha512-yFE+YmmgqIL5HI4ORqP++IYb1QaGcv+xBboI0WkCxJJ/M35HZj7f5rbT3eQ24ECLXFbFCFanckwyWJVz5KmN3Q==} peerDependencies: - '@volar/language-service': ~2.4.0-alpha.12 + '@volar/language-service': ~2.4.0 peerDependenciesMeta: '@volar/language-service': optional: true - volar-service-prettier@0.0.59: - resolution: {integrity: sha512-FmBR4lsgFRGR3V0LnxZZal0WqdOJjuLL6mQSj4p57M15APtQwuocG/FiF+ONGFnwRXMOIBDBTCARdth+TKgL3A==} + volar-service-prettier@0.0.61: + resolution: {integrity: sha512-F612nql5I0IS8HxXemCGvOR2Uxd4XooIwqYVUvk7WSBxP/+xu1jYvE3QJ7EVpl8Ty3S4SxPXYiYTsG3bi+gzIQ==} peerDependencies: - '@volar/language-service': ~2.4.0-alpha.12 + '@volar/language-service': ~2.4.0 prettier: ^2.2 || ^3.0 peerDependenciesMeta: '@volar/language-service': @@ -11612,18 +11565,26 @@ packages: prettier: optional: true - volar-service-typescript-twoslash-queries@0.0.59: - resolution: {integrity: sha512-skm8e6yhCIkqLwJB6S9MqT5lO9LNFuMD3dYxKpmOZs1CKbXmCZZTmLfEaD5VkJae1xdleEDZFFTHl2O5HLjOGQ==} + volar-service-typescript-twoslash-queries@0.0.61: + resolution: {integrity: sha512-99FICGrEF0r1E2tV+SvprHPw9Knyg7BdW2fUch0tf59kG+KG+Tj4tL6tUg+cy8f23O/VXlmsWFMIE+bx1dXPnQ==} peerDependencies: - '@volar/language-service': ~2.4.0-alpha.12 + '@volar/language-service': ~2.4.0 peerDependenciesMeta: '@volar/language-service': optional: true - volar-service-typescript@0.0.59: - resolution: {integrity: sha512-VCOpfiu+lUo5lapWLB5L5vmQGtwzmNWn5MueV915eku7blpphmE+Z7hCNcL1NApn7AetXWhiblv8ZhmUx/dGIA==} + volar-service-typescript@0.0.61: + resolution: {integrity: sha512-4kRHxVbW7wFBHZWRU6yWxTgiKETBDIJNwmJUAWeP0mHaKpnDGj/astdRFKqGFRYVeEYl45lcUPhdJyrzanjsdQ==} peerDependencies: - '@volar/language-service': ~2.4.0-alpha.12 + '@volar/language-service': ~2.4.0 + peerDependenciesMeta: + '@volar/language-service': + optional: true + + volar-service-yaml@0.0.61: + resolution: {integrity: sha512-L+gbDiLDQQ1rZUbJ3mf3doDsoQUa8OZM/xdpk/unMg1Vz24Zmi2Ign8GrZyBD7bRoIQDwOH9gdktGDKzRPpUNw==} + peerDependencies: + '@volar/language-service': ~2.4.0 peerDependenciesMeta: '@volar/language-service': optional: true @@ -11634,19 +11595,37 @@ packages: vscode-html-languageservice@5.3.0: resolution: {integrity: sha512-C4Z3KsP5Ih+fjHpiBc5jxmvCl+4iEwvXegIrzu2F5pktbWvQaBT3YkVPk8N+QlSSMk8oCG6PKtZ/Sq2YHb5e8g==} + vscode-json-languageservice@4.1.8: + resolution: {integrity: sha512-0vSpg6Xd9hfV+eZAaYN63xVVMOTmJ4GgHxXnkLCh+9RsQBkWKIghzLhW2B9ebfG+LQQg8uLtsQ2aUKjTgE+QOg==} + engines: {npm: '>=7.0.0'} + + vscode-jsonrpc@6.0.0: + resolution: {integrity: sha512-wnJA4BnEjOSyFMvjZdpiOwhSq9uDoK8e/kpRJDTaMYzwlkrhG1fwDIZI94CLsLzlCK5cIbMMtFlJlfR57Lavmg==} + engines: {node: '>=8.0.0 || >=10.0.0'} + vscode-jsonrpc@8.2.0: resolution: {integrity: sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==} engines: {node: '>=14.0.0'} + vscode-languageserver-protocol@3.16.0: + resolution: {integrity: sha512-sdeUoAawceQdgIfTI+sdcwkiK2KU+2cbEYA0agzM2uqaUy2UpnnGHtWTHVEtS0ES4zHU0eMFRGN+oQgDxlD66A==} + vscode-languageserver-protocol@3.17.5: resolution: {integrity: sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==} vscode-languageserver-textdocument@1.0.11: resolution: {integrity: sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA==} + vscode-languageserver-types@3.16.0: + resolution: {integrity: sha512-k8luDIWJWyenLc5ToFQQMaSrqCHiLwyKPHKPQZ5zz21vM+vIVUSvsRpcbiECH4WR88K2XZqc4ScRcZ7nk/jbeA==} + vscode-languageserver-types@3.17.5: resolution: {integrity: sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==} + vscode-languageserver@7.0.0: + resolution: {integrity: sha512-60HTx5ID+fLRcgdHfmz0LDZAXYEV68fzwG0JWwEPBode9NuMYTIxuYXPg4ngO8i8+Ou0lM7y6GzaYWbiDL0drw==} + hasBin: true + vscode-languageserver@9.0.1: resolution: {integrity: sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==} hasBin: true @@ -11666,8 +11645,8 @@ packages: vscode-uri@3.0.8: resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==} - vue@3.4.37: - resolution: {integrity: sha512-3vXvNfkKTBsSJ7JP+LyR7GBuwQuckbWvuwAid3xbqK9ppsKt/DUvfqgZ48fgOLEfpy1IacL5f8QhUVl77RaI7A==} + vue@3.4.38: + resolution: {integrity: sha512-f0ZgN+mZ5KFgVv9wz0f4OgVKukoXtS3nwET4c2vLBGQR50aI8G0cqbFtLlX9Yiyg3LFGBitruPHt2PxwTduJEw==} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -11811,8 +11790,16 @@ packages: resolution: {integrity: sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==} engines: {node: '>=18'} - yaml@2.4.1: - resolution: {integrity: sha512-pIXzoImaqmfOrL7teGUBt/T7ZDnyeGBWyXQBvOVhLkWLN37GXv8NMLK406UY6dS51JfcQHsmcW5cJ441bHg6Lg==} + yaml-language-server@1.15.0: + resolution: {integrity: sha512-N47AqBDCMQmh6mBLmI6oqxryHRzi33aPFPsJhYy3VTUGCdLHYjGh4FZzpUjRlphaADBBkDmnkM/++KNIOHi5Rw==} + hasBin: true + + yaml@2.2.2: + resolution: {integrity: sha512-CBKFWExMn46Foo4cldiChEzn7S7SRV+wqiluAb6xmueD/fGyRHIhX8m14vVGgeFWjN540nKCNVj6P21eQjgTuA==} + engines: {node: '>= 14'} + + yaml@2.5.0: + resolution: {integrity: sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==} engines: {node: '>= 14'} hasBin: true @@ -11860,7 +11847,7 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@antfu/utils@0.7.8': {} + '@antfu/utils@0.7.10': {} '@asamuzakjp/dom-selector@2.0.2': dependencies: @@ -11904,9 +11891,9 @@ snapshots: astro: link:packages/astro lite-youtube-embed: 0.3.2 - '@astrojs/check@0.9.2(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4)': + '@astrojs/check@0.9.3(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4)': dependencies: - '@astrojs/language-server': 2.13.2(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) + '@astrojs/language-server': 2.14.1(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) chokidar: 3.6.0 fast-glob: 3.3.2 kleur: 4.1.5 @@ -11922,25 +11909,27 @@ snapshots: log-update: 5.0.1 sisteransi: 1.0.5 - '@astrojs/compiler@2.10.2': {} + '@astrojs/compiler@2.10.3': {} - '@astrojs/language-server@2.13.2(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4)': + '@astrojs/language-server@2.14.1(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4)': dependencies: - '@astrojs/compiler': 2.10.2 + '@astrojs/compiler': 2.10.3 + '@astrojs/yaml2ts': 0.2.1 '@jridgewell/sourcemap-codec': 1.5.0 - '@volar/kit': 2.4.0-alpha.16(typescript@5.5.4) - '@volar/language-core': 2.4.0-alpha.16 - '@volar/language-server': 2.4.0-alpha.16 - '@volar/language-service': 2.4.0-alpha.16 - '@volar/typescript': 2.4.0-alpha.16 + '@volar/kit': 2.4.0(typescript@5.5.4) + '@volar/language-core': 2.4.0 + '@volar/language-server': 2.4.0 + '@volar/language-service': 2.4.0 + '@volar/typescript': 2.4.0 fast-glob: 3.3.2 muggle-string: 0.4.1 - volar-service-css: 0.0.59(@volar/language-service@2.4.0-alpha.16) - volar-service-emmet: 0.0.59(@volar/language-service@2.4.0-alpha.16) - volar-service-html: 0.0.59(@volar/language-service@2.4.0-alpha.16) - volar-service-prettier: 0.0.59(@volar/language-service@2.4.0-alpha.16)(prettier@3.3.3) - volar-service-typescript: 0.0.59(@volar/language-service@2.4.0-alpha.16) - volar-service-typescript-twoslash-queries: 0.0.59(@volar/language-service@2.4.0-alpha.16) + volar-service-css: 0.0.61(@volar/language-service@2.4.0) + volar-service-emmet: 0.0.61(@volar/language-service@2.4.0) + volar-service-html: 0.0.61(@volar/language-service@2.4.0) + volar-service-prettier: 0.0.61(@volar/language-service@2.4.0)(prettier@3.3.3) + volar-service-typescript: 0.0.61(@volar/language-service@2.4.0) + volar-service-typescript-twoslash-queries: 0.0.61(@volar/language-service@2.4.0) + volar-service-yaml: 0.0.61(@volar/language-service@2.4.0) vscode-html-languageservice: 5.3.0 vscode-uri: 3.0.8 optionalDependencies: @@ -11949,6 +11938,10 @@ snapshots: transitivePeerDependencies: - typescript + '@astrojs/yaml2ts@0.2.1': + dependencies: + yaml: 2.5.0 + '@babel/code-frame@7.24.7': dependencies: '@babel/highlight': 7.24.7 @@ -11991,7 +11984,7 @@ snapshots: dependencies: '@babel/compat-data': 7.25.2 '@babel/helper-validator-option': 7.24.8 - browserslist: 4.23.1 + browserslist: 4.23.3 lru-cache: 5.1.1 semver: 6.3.1 @@ -12016,7 +12009,7 @@ snapshots: '@babel/helper-function-name@7.24.7': dependencies: - '@babel/template': 7.24.7 + '@babel/template': 7.25.0 '@babel/types': 7.25.2 '@babel/helper-member-expression-to-functions@7.24.7': @@ -12055,8 +12048,6 @@ snapshots: dependencies: '@babel/types': 7.25.2 - '@babel/helper-plugin-utils@7.24.7': {} - '@babel/helper-plugin-utils@7.24.8': {} '@babel/helper-replace-supers@7.24.7(@babel/core@7.25.2)': @@ -12112,7 +12103,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-create-class-features-plugin': 7.24.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-decorators': 7.24.1(@babel/core@7.25.2) transitivePeerDependencies: - supports-color @@ -12120,17 +12111,17 @@ snapshots: '@babel/plugin-syntax-decorators@7.24.1(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-import-attributes@7.24.1(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-jsx@7.24.7(@babel/core@7.25.2)': dependencies: @@ -12140,7 +12131,7 @@ snapshots: '@babel/plugin-syntax-typescript@7.24.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-transform-react-jsx-development@7.24.7(@babel/core@7.25.2)': dependencies: @@ -12152,12 +12143,12 @@ snapshots: '@babel/plugin-transform-react-jsx-self@7.24.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-transform-react-jsx-source@7.24.1(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-transform-react-jsx@7.25.2(@babel/core@7.25.2)': dependencies: @@ -12175,7 +12166,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.24.7 '@babel/helper-create-class-features-plugin': 7.24.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-typescript': 7.24.7(@babel/core@7.25.2) transitivePeerDependencies: - supports-color @@ -12184,12 +12175,6 @@ snapshots: dependencies: regenerator-runtime: 0.14.1 - '@babel/template@7.24.7': - dependencies: - '@babel/code-frame': 7.24.7 - '@babel/parser': 7.25.3 - '@babel/types': 7.25.2 - '@babel/template@7.25.0': dependencies: '@babel/code-frame': 7.24.7 @@ -12424,47 +12409,47 @@ snapshots: '@clack/core@0.3.4': dependencies: - picocolors: 1.0.0 + picocolors: 1.0.1 sisteransi: 1.0.5 '@clack/prompts@0.7.0': dependencies: '@clack/core': 0.3.4 - picocolors: 1.0.0 + picocolors: 1.0.1 sisteransi: 1.0.5 '@colors/colors@1.5.0': optional: true - '@csstools/cascade-layer-name-parser@2.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0)': + '@csstools/cascade-layer-name-parser@2.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1)': dependencies: - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 - '@csstools/color-helpers@4.2.1': {} + '@csstools/color-helpers@5.0.1': {} - '@csstools/css-calc@2.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0)': + '@csstools/css-calc@2.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1)': dependencies: - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 - '@csstools/css-color-parser@3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0)': + '@csstools/css-color-parser@3.0.2(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1)': dependencies: - '@csstools/color-helpers': 4.2.1 - '@csstools/css-calc': 2.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/color-helpers': 5.0.1 + '@csstools/css-calc': 2.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 - '@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0)': + '@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1)': dependencies: - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-tokenizer': 3.0.1 - '@csstools/css-tokenizer@3.0.0': {} + '@csstools/css-tokenizer@3.0.1': {} - '@csstools/media-query-list-parser@3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0)': + '@csstools/media-query-list-parser@3.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1)': dependencies: - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 '@csstools/postcss-cascade-layers@5.0.0(postcss@8.4.41)': dependencies: @@ -12472,37 +12457,37 @@ snapshots: postcss: 8.4.41 postcss-selector-parser: 6.1.0 - '@csstools/postcss-color-function@4.0.0(postcss@8.4.41)': + '@csstools/postcss-color-function@4.0.2(postcss@8.4.41)': dependencies: - '@csstools/css-color-parser': 3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-color-parser': 3.0.2(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 '@csstools/postcss-progressive-custom-properties': 4.0.0(postcss@8.4.41) '@csstools/utilities': 2.0.0(postcss@8.4.41) postcss: 8.4.41 - '@csstools/postcss-color-mix-function@3.0.0(postcss@8.4.41)': + '@csstools/postcss-color-mix-function@3.0.2(postcss@8.4.41)': dependencies: - '@csstools/css-color-parser': 3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-color-parser': 3.0.2(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 '@csstools/postcss-progressive-custom-properties': 4.0.0(postcss@8.4.41) '@csstools/utilities': 2.0.0(postcss@8.4.41) postcss: 8.4.41 - '@csstools/postcss-content-alt-text@2.0.0(postcss@8.4.41)': + '@csstools/postcss-content-alt-text@2.0.1(postcss@8.4.41)': dependencies: - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 '@csstools/postcss-progressive-custom-properties': 4.0.0(postcss@8.4.41) '@csstools/utilities': 2.0.0(postcss@8.4.41) postcss: 8.4.41 - '@csstools/postcss-exponential-functions@2.0.0(postcss@8.4.41)': + '@csstools/postcss-exponential-functions@2.0.1(postcss@8.4.41)': dependencies: - '@csstools/css-calc': 2.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-calc': 2.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 postcss: 8.4.41 '@csstools/postcss-font-format-keywords@4.0.0(postcss@8.4.41)': @@ -12511,27 +12496,27 @@ snapshots: postcss: 8.4.41 postcss-value-parser: 4.2.0 - '@csstools/postcss-gamut-mapping@2.0.0(postcss@8.4.41)': + '@csstools/postcss-gamut-mapping@2.0.2(postcss@8.4.41)': dependencies: - '@csstools/css-color-parser': 3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-color-parser': 3.0.2(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 postcss: 8.4.41 - '@csstools/postcss-gradients-interpolation-method@5.0.0(postcss@8.4.41)': + '@csstools/postcss-gradients-interpolation-method@5.0.2(postcss@8.4.41)': dependencies: - '@csstools/css-color-parser': 3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-color-parser': 3.0.2(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 '@csstools/postcss-progressive-custom-properties': 4.0.0(postcss@8.4.41) '@csstools/utilities': 2.0.0(postcss@8.4.41) postcss: 8.4.41 - '@csstools/postcss-hwb-function@4.0.0(postcss@8.4.41)': + '@csstools/postcss-hwb-function@4.0.2(postcss@8.4.41)': dependencies: - '@csstools/css-color-parser': 3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-color-parser': 3.0.2(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 '@csstools/postcss-progressive-custom-properties': 4.0.0(postcss@8.4.41) '@csstools/utilities': 2.0.0(postcss@8.4.41) postcss: 8.4.41 @@ -12553,10 +12538,10 @@ snapshots: postcss: 8.4.41 postcss-selector-parser: 6.1.0 - '@csstools/postcss-light-dark-function@2.0.0(postcss@8.4.41)': + '@csstools/postcss-light-dark-function@2.0.2(postcss@8.4.41)': dependencies: - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 '@csstools/postcss-progressive-custom-properties': 4.0.0(postcss@8.4.41) '@csstools/utilities': 2.0.0(postcss@8.4.41) postcss: 8.4.41 @@ -12578,25 +12563,25 @@ snapshots: postcss: 8.4.41 postcss-value-parser: 4.2.0 - '@csstools/postcss-logical-viewport-units@3.0.0(postcss@8.4.41)': + '@csstools/postcss-logical-viewport-units@3.0.1(postcss@8.4.41)': dependencies: - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-tokenizer': 3.0.1 '@csstools/utilities': 2.0.0(postcss@8.4.41) postcss: 8.4.41 - '@csstools/postcss-media-minmax@2.0.0(postcss@8.4.41)': + '@csstools/postcss-media-minmax@2.0.1(postcss@8.4.41)': dependencies: - '@csstools/css-calc': 2.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 - '@csstools/media-query-list-parser': 3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) + '@csstools/css-calc': 2.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 + '@csstools/media-query-list-parser': 3.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) postcss: 8.4.41 - '@csstools/postcss-media-queries-aspect-ratio-number-values@3.0.0(postcss@8.4.41)': + '@csstools/postcss-media-queries-aspect-ratio-number-values@3.0.1(postcss@8.4.41)': dependencies: - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 - '@csstools/media-query-list-parser': 3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 + '@csstools/media-query-list-parser': 3.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) postcss: 8.4.41 '@csstools/postcss-nested-calc@4.0.0(postcss@8.4.41)': @@ -12610,11 +12595,11 @@ snapshots: postcss: 8.4.41 postcss-value-parser: 4.2.0 - '@csstools/postcss-oklab-function@4.0.0(postcss@8.4.41)': + '@csstools/postcss-oklab-function@4.0.2(postcss@8.4.41)': dependencies: - '@csstools/css-color-parser': 3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-color-parser': 3.0.2(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 '@csstools/postcss-progressive-custom-properties': 4.0.0(postcss@8.4.41) '@csstools/utilities': 2.0.0(postcss@8.4.41) postcss: 8.4.41 @@ -12624,11 +12609,11 @@ snapshots: postcss: 8.4.41 postcss-value-parser: 4.2.0 - '@csstools/postcss-relative-color-syntax@3.0.0(postcss@8.4.41)': + '@csstools/postcss-relative-color-syntax@3.0.2(postcss@8.4.41)': dependencies: - '@csstools/css-color-parser': 3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-color-parser': 3.0.2(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 '@csstools/postcss-progressive-custom-properties': 4.0.0(postcss@8.4.41) '@csstools/utilities': 2.0.0(postcss@8.4.41) postcss: 8.4.41 @@ -12638,24 +12623,24 @@ snapshots: postcss: 8.4.41 postcss-selector-parser: 6.1.0 - '@csstools/postcss-stepped-value-functions@4.0.0(postcss@8.4.41)': + '@csstools/postcss-stepped-value-functions@4.0.1(postcss@8.4.41)': dependencies: - '@csstools/css-calc': 2.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-calc': 2.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 postcss: 8.4.41 - '@csstools/postcss-text-decoration-shorthand@4.0.0(postcss@8.4.41)': + '@csstools/postcss-text-decoration-shorthand@4.0.1(postcss@8.4.41)': dependencies: - '@csstools/color-helpers': 4.2.1 + '@csstools/color-helpers': 5.0.1 postcss: 8.4.41 postcss-value-parser: 4.2.0 - '@csstools/postcss-trigonometric-functions@4.0.0(postcss@8.4.41)': + '@csstools/postcss-trigonometric-functions@4.0.1(postcss@8.4.41)': dependencies: - '@csstools/css-calc': 2.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-calc': 2.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 postcss: 8.4.41 '@csstools/postcss-unset-value@4.0.0(postcss@8.4.41)': @@ -12776,8 +12761,6 @@ snapshots: eslint: 9.9.0(jiti@1.21.0) eslint-visitor-keys: 3.4.3 - '@eslint-community/regexpp@4.10.0': {} - '@eslint-community/regexpp@4.11.0': {} '@eslint/config-array@0.17.1': @@ -12806,9 +12789,9 @@ snapshots: '@eslint/object-schema@2.1.4': {} - '@fontsource/monofett@5.0.20': {} + '@fontsource/monofett@5.0.21': {} - '@fontsource/montserrat@5.0.18': {} + '@fontsource/montserrat@5.0.19': {} '@fortawesome/fontawesome-free@6.6.0': {} @@ -12907,21 +12890,19 @@ snapshots: '@jridgewell/gen-mapping@0.3.5': dependencies: '@jridgewell/set-array': 1.2.1 - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/trace-mapping': 0.3.25 '@jridgewell/resolve-uri@3.1.2': {} '@jridgewell/set-array@1.2.1': {} - '@jridgewell/sourcemap-codec@1.4.15': {} - '@jridgewell/sourcemap-codec@1.5.0': {} '@jridgewell/trace-mapping@0.3.25': dependencies: '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 '@jsdevtools/rehype-toc@3.0.2': {} @@ -13109,10 +13090,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@nanostores/preact@0.5.2(nanostores@0.11.2)(preact@10.23.1)': + '@nanostores/preact@0.5.2(nanostores@0.11.2)(preact@10.23.2)': dependencies: nanostores: 0.11.2 - preact: 10.23.1 + preact: 10.23.2 '@neon-rs/load@0.0.4': {} @@ -13201,18 +13182,18 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@playwright/test@1.46.0': + '@playwright/test@1.46.1': dependencies: - playwright: 1.46.0 + playwright: 1.46.1 '@polka/url@1.0.0-next.25': {} - '@preact/preset-vite@2.8.2(@babel/core@7.25.2)(preact@10.23.1)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))': + '@preact/preset-vite@2.8.2(@babel/core@7.25.2)(preact@10.23.2)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx': 7.25.2(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-development': 7.24.7(@babel/core@7.25.2) - '@prefresh/vite': 2.4.5(preact@10.23.1)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) + '@prefresh/vite': 2.4.5(preact@10.23.2)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) '@rollup/pluginutils': 4.2.1 babel-plugin-transform-hook-names: 1.0.2(@babel/core@7.25.2) debug: 4.3.6 @@ -13222,35 +13203,35 @@ snapshots: resolve: 1.22.8 source-map: 0.7.4 stack-trace: 1.0.0-pre2 - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - preact - supports-color '@preact/signals-core@1.7.0': {} - '@preact/signals@1.3.0(preact@10.23.1)': + '@preact/signals@1.3.0(preact@10.23.2)': dependencies: '@preact/signals-core': 1.7.0 - preact: 10.23.1 + preact: 10.23.2 '@prefresh/babel-plugin@0.5.1': {} - '@prefresh/core@1.5.2(preact@10.23.1)': + '@prefresh/core@1.5.2(preact@10.23.2)': dependencies: - preact: 10.23.1 + preact: 10.23.2 '@prefresh/utils@1.2.0': {} - '@prefresh/vite@2.4.5(preact@10.23.1)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))': + '@prefresh/vite@2.4.5(preact@10.23.2)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))': dependencies: '@babel/core': 7.25.2 '@prefresh/babel-plugin': 0.5.1 - '@prefresh/core': 1.5.2(preact@10.23.1) + '@prefresh/core': 1.5.2(preact@10.23.2) '@prefresh/utils': 1.2.0 '@rollup/pluginutils': 4.2.1 - preact: 10.23.1 - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + preact: 10.23.2 + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - supports-color @@ -13259,99 +13240,99 @@ snapshots: estree-walker: 2.0.2 picomatch: 2.3.1 - '@rollup/pluginutils@5.1.0(rollup@4.20.0)': + '@rollup/pluginutils@5.1.0(rollup@4.21.0)': dependencies: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: - rollup: 4.20.0 + rollup: 4.21.0 - '@rollup/rollup-android-arm-eabi@4.20.0': + '@rollup/rollup-android-arm-eabi@4.21.0': optional: true - '@rollup/rollup-android-arm64@4.20.0': + '@rollup/rollup-android-arm64@4.21.0': optional: true - '@rollup/rollup-darwin-arm64@4.20.0': + '@rollup/rollup-darwin-arm64@4.21.0': optional: true - '@rollup/rollup-darwin-x64@4.20.0': + '@rollup/rollup-darwin-x64@4.21.0': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.20.0': + '@rollup/rollup-linux-arm-gnueabihf@4.21.0': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.20.0': + '@rollup/rollup-linux-arm-musleabihf@4.21.0': optional: true - '@rollup/rollup-linux-arm64-gnu@4.20.0': + '@rollup/rollup-linux-arm64-gnu@4.21.0': optional: true - '@rollup/rollup-linux-arm64-musl@4.20.0': + '@rollup/rollup-linux-arm64-musl@4.21.0': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': + '@rollup/rollup-linux-powerpc64le-gnu@4.21.0': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.20.0': + '@rollup/rollup-linux-riscv64-gnu@4.21.0': optional: true - '@rollup/rollup-linux-s390x-gnu@4.20.0': + '@rollup/rollup-linux-s390x-gnu@4.21.0': optional: true - '@rollup/rollup-linux-x64-gnu@4.20.0': + '@rollup/rollup-linux-x64-gnu@4.21.0': optional: true - '@rollup/rollup-linux-x64-musl@4.20.0': + '@rollup/rollup-linux-x64-musl@4.21.0': optional: true - '@rollup/rollup-win32-arm64-msvc@4.20.0': + '@rollup/rollup-win32-arm64-msvc@4.21.0': optional: true - '@rollup/rollup-win32-ia32-msvc@4.20.0': + '@rollup/rollup-win32-ia32-msvc@4.21.0': optional: true - '@rollup/rollup-win32-x64-msvc@4.20.0': + '@rollup/rollup-win32-x64-msvc@4.21.0': optional: true - '@shikijs/core@1.12.1': + '@shikijs/core@1.14.1': dependencies: '@types/hast': 3.0.4 '@sindresorhus/merge-streams@2.3.0': {} - '@solidjs/router@0.14.1(solid-js@1.8.20)': + '@solidjs/router@0.14.3(solid-js@1.8.21)': dependencies: - solid-js: 1.8.20 + solid-js: 1.8.21 - '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)))(svelte@4.2.18)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))': + '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)))(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@4.2.18)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) + '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) debug: 4.3.6 svelte: 4.2.18 - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))': + '@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)))(svelte@4.2.18)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) + '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)))(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) debug: 4.3.6 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.11 svelte: 4.2.18 svelte-hmr: 0.16.0(svelte@4.2.18) - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) - vitefu: 0.2.5(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vitefu: 0.2.5(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) transitivePeerDependencies: - supports-color - '@tailwindcss/forms@0.5.7(tailwindcss@3.4.9)': + '@tailwindcss/forms@0.5.7(tailwindcss@3.4.10)': dependencies: mini-svg-data-uri: 1.4.4 - tailwindcss: 3.4.9 + tailwindcss: 3.4.10 '@trysound/sax@0.2.0': {} @@ -13442,7 +13423,7 @@ snapshots: '@types/hast@3.0.4': dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 '@types/html-escaper@3.0.2': {} @@ -13477,7 +13458,7 @@ snapshots: '@types/mdast@4.0.4': dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 '@types/mdurl@2.0.0': {} @@ -13493,7 +13474,7 @@ snapshots: '@types/nlcst@2.0.3': dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 '@types/node@12.20.55': {} @@ -13560,7 +13541,7 @@ snapshots: '@types/unist@2.0.10': {} - '@types/unist@3.0.2': {} + '@types/unist@3.0.3': {} '@types/which-pm-runs@1.0.2': {} @@ -13574,14 +13555,14 @@ snapshots: '@types/yargs-parser@21.0.3': {} - '@typescript-eslint/eslint-plugin@8.0.1(@typescript-eslint/parser@8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@8.1.0(@typescript-eslint/parser@8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) - '@typescript-eslint/scope-manager': 8.0.1 - '@typescript-eslint/type-utils': 8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) - '@typescript-eslint/utils': 8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.0.1 + '@typescript-eslint/parser': 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.1.0 + '@typescript-eslint/type-utils': 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/utils': 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.1.0 eslint: 9.9.0(jiti@1.21.0) graphemer: 1.4.0 ignore: 5.3.1 @@ -13592,12 +13573,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4)': + '@typescript-eslint/parser@8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4)': dependencies: - '@typescript-eslint/scope-manager': 8.0.1 - '@typescript-eslint/types': 8.0.1 - '@typescript-eslint/typescript-estree': 8.0.1(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.0.1 + '@typescript-eslint/scope-manager': 8.1.0 + '@typescript-eslint/types': 8.1.0 + '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.1.0 debug: 4.3.6 eslint: 9.9.0(jiti@1.21.0) optionalDependencies: @@ -13605,15 +13586,15 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.0.1': + '@typescript-eslint/scope-manager@8.1.0': dependencies: - '@typescript-eslint/types': 8.0.1 - '@typescript-eslint/visitor-keys': 8.0.1 + '@typescript-eslint/types': 8.1.0 + '@typescript-eslint/visitor-keys': 8.1.0 - '@typescript-eslint/type-utils@8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4)': + '@typescript-eslint/type-utils@8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4)': dependencies: - '@typescript-eslint/typescript-estree': 8.0.1(typescript@5.5.4) - '@typescript-eslint/utils': 8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.5.4) + '@typescript-eslint/utils': 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) debug: 4.3.6 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: @@ -13622,12 +13603,12 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@8.0.1': {} + '@typescript-eslint/types@8.1.0': {} - '@typescript-eslint/typescript-estree@8.0.1(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@8.1.0(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 8.0.1 - '@typescript-eslint/visitor-keys': 8.0.1 + '@typescript-eslint/types': 8.1.0 + '@typescript-eslint/visitor-keys': 8.1.0 debug: 4.3.6 globby: 11.1.0 is-glob: 4.0.3 @@ -13639,20 +13620,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4)': + '@typescript-eslint/utils@8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.0(jiti@1.21.0)) - '@typescript-eslint/scope-manager': 8.0.1 - '@typescript-eslint/types': 8.0.1 - '@typescript-eslint/typescript-estree': 8.0.1(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.1.0 + '@typescript-eslint/types': 8.1.0 + '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.5.4) eslint: 9.9.0(jiti@1.21.0) transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@8.0.1': + '@typescript-eslint/visitor-keys@8.1.0': dependencies: - '@typescript-eslint/types': 8.0.1 + '@typescript-eslint/types': 8.1.0 eslint-visitor-keys: 3.4.3 '@typescript/twoslash@3.1.0': @@ -13703,31 +13684,31 @@ snapshots: - encoding - supports-color - '@vitejs/plugin-react@4.3.1(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))': + '@vitejs/plugin-react@4.3.1(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-source': 7.24.1(@babel/core@7.25.2) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue-jsx@4.0.0(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4))': + '@vitejs/plugin-vue-jsx@4.0.1(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-typescript': 7.24.7(@babel/core@7.25.2) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.25.2) - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) - vue: 3.4.37(typescript@5.5.4) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vue: 3.4.38(typescript@5.5.4) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.1.2(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4))': + '@vitejs/plugin-vue@5.1.2(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4))': dependencies: - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) - vue: 3.4.37(typescript@5.5.4) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vue: 3.4.38(typescript@5.5.4) '@vitest/expect@2.0.5': dependencies: @@ -13762,25 +13743,24 @@ snapshots: loupe: 3.1.1 tinyrainbow: 1.2.0 - '@volar/kit@2.4.0-alpha.16(typescript@5.5.4)': + '@volar/kit@2.4.0(typescript@5.5.4)': dependencies: - '@volar/language-service': 2.4.0-alpha.16 - '@volar/typescript': 2.4.0-alpha.16 + '@volar/language-service': 2.4.0 + '@volar/typescript': 2.4.0 typesafe-path: 0.2.2 typescript: 5.5.4 vscode-languageserver-textdocument: 1.0.11 vscode-uri: 3.0.8 - '@volar/language-core@2.4.0-alpha.16': + '@volar/language-core@2.4.0': dependencies: - '@volar/source-map': 2.4.0-alpha.16 + '@volar/source-map': 2.4.0 - '@volar/language-server@2.4.0-alpha.16': + '@volar/language-server@2.4.0': dependencies: - '@volar/language-core': 2.4.0-alpha.16 - '@volar/language-service': 2.4.0-alpha.16 - '@volar/snapshot-document': 2.4.0-alpha.16 - '@volar/typescript': 2.4.0-alpha.16 + '@volar/language-core': 2.4.0 + '@volar/language-service': 2.4.0 + '@volar/typescript': 2.4.0 path-browserify: 1.0.1 request-light: 0.7.0 vscode-languageserver: 9.0.1 @@ -13788,23 +13768,18 @@ snapshots: vscode-languageserver-textdocument: 1.0.11 vscode-uri: 3.0.8 - '@volar/language-service@2.4.0-alpha.16': + '@volar/language-service@2.4.0': dependencies: - '@volar/language-core': 2.4.0-alpha.16 + '@volar/language-core': 2.4.0 vscode-languageserver-protocol: 3.17.5 vscode-languageserver-textdocument: 1.0.11 vscode-uri: 3.0.8 - '@volar/snapshot-document@2.4.0-alpha.16': - dependencies: - vscode-languageserver-protocol: 3.17.5 - vscode-languageserver-textdocument: 1.0.11 + '@volar/source-map@2.4.0': {} - '@volar/source-map@2.4.0-alpha.16': {} - - '@volar/typescript@2.4.0-alpha.16': + '@volar/typescript@2.4.0': dependencies: - '@volar/language-core': 2.4.0-alpha.16 + '@volar/language-core': 2.4.0 path-browserify: 1.0.1 vscode-uri: 3.0.8 @@ -13823,9 +13798,9 @@ snapshots: '@vue/babel-plugin-jsx@1.2.2(@babel/core@7.25.2)': dependencies: '@babel/helper-module-imports': 7.22.15 - '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) - '@babel/template': 7.24.7 + '@babel/template': 7.25.0 '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 '@vue/babel-helper-vue-transform-on': 1.2.2 @@ -13843,55 +13818,55 @@ snapshots: '@babel/code-frame': 7.24.7 '@babel/core': 7.25.2 '@babel/helper-module-imports': 7.22.15 - '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 '@babel/parser': 7.25.3 - '@vue/compiler-sfc': 3.4.37 + '@vue/compiler-sfc': 3.4.38 - '@vue/compiler-core@3.4.37': + '@vue/compiler-core@3.4.38': dependencies: '@babel/parser': 7.25.3 - '@vue/shared': 3.4.37 - entities: 5.0.0 + '@vue/shared': 3.4.38 + entities: 4.5.0 estree-walker: 2.0.2 source-map-js: 1.2.0 - '@vue/compiler-dom@3.4.37': + '@vue/compiler-dom@3.4.38': dependencies: - '@vue/compiler-core': 3.4.37 - '@vue/shared': 3.4.37 + '@vue/compiler-core': 3.4.38 + '@vue/shared': 3.4.38 - '@vue/compiler-sfc@3.4.37': + '@vue/compiler-sfc@3.4.38': dependencies: '@babel/parser': 7.25.3 - '@vue/compiler-core': 3.4.37 - '@vue/compiler-dom': 3.4.37 - '@vue/compiler-ssr': 3.4.37 - '@vue/shared': 3.4.37 + '@vue/compiler-core': 3.4.38 + '@vue/compiler-dom': 3.4.38 + '@vue/compiler-ssr': 3.4.38 + '@vue/shared': 3.4.38 estree-walker: 2.0.2 magic-string: 0.30.11 postcss: 8.4.41 source-map-js: 1.2.0 - '@vue/compiler-ssr@3.4.37': + '@vue/compiler-ssr@3.4.38': dependencies: - '@vue/compiler-dom': 3.4.37 - '@vue/shared': 3.4.37 + '@vue/compiler-dom': 3.4.38 + '@vue/shared': 3.4.38 - '@vue/devtools-core@7.3.7(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4))': + '@vue/devtools-core@7.3.8(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4))': dependencies: - '@vue/devtools-kit': 7.3.7 - '@vue/devtools-shared': 7.3.7 + '@vue/devtools-kit': 7.3.8 + '@vue/devtools-shared': 7.3.8 mitt: 3.0.1 nanoid: 3.3.7 pathe: 1.1.2 - vite-hot-client: 0.2.3(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) - vue: 3.4.37(typescript@5.5.4) + vite-hot-client: 0.2.3(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + vue: 3.4.38(typescript@5.5.4) transitivePeerDependencies: - vite - '@vue/devtools-kit@7.3.7': + '@vue/devtools-kit@7.3.8': dependencies: - '@vue/devtools-shared': 7.3.7 + '@vue/devtools-shared': 7.3.8 birpc: 0.2.17 hookable: 5.5.3 mitt: 3.0.1 @@ -13899,7 +13874,7 @@ snapshots: speakingurl: 14.0.1 superjson: 2.2.1 - '@vue/devtools-shared@7.3.7': + '@vue/devtools-shared@7.3.8': dependencies: rfdc: 1.4.1 @@ -13907,31 +13882,31 @@ snapshots: dependencies: '@vue/shared': 3.1.5 - '@vue/reactivity@3.4.37': + '@vue/reactivity@3.4.38': dependencies: - '@vue/shared': 3.4.37 + '@vue/shared': 3.4.38 - '@vue/runtime-core@3.4.37': + '@vue/runtime-core@3.4.38': dependencies: - '@vue/reactivity': 3.4.37 - '@vue/shared': 3.4.37 + '@vue/reactivity': 3.4.38 + '@vue/shared': 3.4.38 - '@vue/runtime-dom@3.4.37': + '@vue/runtime-dom@3.4.38': dependencies: - '@vue/reactivity': 3.4.37 - '@vue/runtime-core': 3.4.37 - '@vue/shared': 3.4.37 + '@vue/reactivity': 3.4.38 + '@vue/runtime-core': 3.4.38 + '@vue/shared': 3.4.38 csstype: 3.1.3 - '@vue/server-renderer@3.4.37(vue@3.4.37(typescript@5.5.4))': + '@vue/server-renderer@3.4.38(vue@3.4.38(typescript@5.5.4))': dependencies: - '@vue/compiler-ssr': 3.4.37 - '@vue/shared': 3.4.37 - vue: 3.4.37(typescript@5.5.4) + '@vue/compiler-ssr': 3.4.38 + '@vue/shared': 3.4.38 + vue: 3.4.38(typescript@5.5.4) '@vue/shared@3.1.5': {} - '@vue/shared@3.4.37': {} + '@vue/shared@3.4.38': {} '@webcomponents/template-shadowroot@0.2.1': {} @@ -13950,8 +13925,6 @@ snapshots: dependencies: acorn: 8.12.1 - acorn@8.12.0: {} - acorn@8.12.1: {} agent-base@6.0.2: @@ -13978,6 +13951,13 @@ snapshots: json-schema-traverse: 0.4.1 uri-js: 4.4.1 + ajv@8.17.1: + dependencies: + fast-deep-equal: 3.1.3 + fast-uri: 3.0.1 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + alpinejs@3.14.1: dependencies: '@vue/reactivity': 3.1.5 @@ -14093,7 +14073,7 @@ snapshots: progress: 2.0.3 reinterval: 1.1.0 retimer: 3.0.0 - semver: 7.6.2 + semver: 7.6.3 subarg: 1.0.0 timestring: 6.0.0 @@ -14107,10 +14087,6 @@ snapshots: postcss: 8.4.41 postcss-value-parser: 4.2.0 - axobject-query@4.0.0: - dependencies: - dequal: 2.0.3 - axobject-query@4.1.0: {} babel-plugin-jsx-dom-expressions@0.37.19(@babel/core@7.25.2): @@ -14198,21 +14174,10 @@ snapshots: dependencies: balanced-match: 1.0.2 - braces@3.0.2: - dependencies: - fill-range: 7.0.1 - braces@3.0.3: dependencies: fill-range: 7.1.1 - browserslist@4.23.1: - dependencies: - caniuse-lite: 1.0.30001639 - electron-to-chromium: 1.4.816 - node-releases: 2.0.14 - update-browserslist-db: 1.0.16(browserslist@4.23.1) - browserslist@4.23.3: dependencies: caniuse-lite: 1.0.30001649 @@ -14254,8 +14219,6 @@ snapshots: camelcase@7.0.1: {} - caniuse-lite@1.0.30001639: {} - caniuse-lite@1.0.30001649: {} canvas-confetti@1.9.3: {} @@ -14323,7 +14286,7 @@ snapshots: chokidar@3.6.0: dependencies: anymatch: 3.1.3 - braces: 3.0.2 + braces: 3.0.3 glob-parent: 5.1.2 is-binary-path: 2.1.0 is-glob: 4.0.3 @@ -14376,7 +14339,7 @@ snapshots: code-red@1.0.4: dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 '@types/estree': 1.0.5 acorn: 8.12.1 estree-walker: 3.0.3 @@ -14653,8 +14616,6 @@ snapshots: ee-first@1.1.1: {} - electron-to-chromium@1.4.816: {} - electron-to-chromium@1.5.4: {} emmet@2.4.7: @@ -14687,11 +14648,9 @@ snapshots: entities@4.5.0: {} - entities@5.0.0: {} - eol@0.9.1: {} - error-stack-parser-es@0.1.1: {} + error-stack-parser-es@0.1.5: {} es-define-property@1.0.0: dependencies: @@ -14745,7 +14704,7 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-plugin-no-only-tests@3.1.0: {} + eslint-plugin-no-only-tests@3.3.0: {} eslint-plugin-regexp@2.6.0(eslint@9.9.0(jiti@1.21.0)): dependencies: @@ -14850,7 +14809,7 @@ snapshots: estree-util-visit@2.0.0: dependencies: '@types/estree-jsx': 1.0.5 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 estree-walker@2.0.2: {} @@ -14942,6 +14901,8 @@ snapshots: fast-levenshtein@2.0.6: {} + fast-uri@3.0.1: {} + fast-xml-parser@4.4.1: dependencies: strnum: 1.0.5 @@ -14963,10 +14924,6 @@ snapshots: file-uri-to-path@1.0.0: {} - fill-range@7.0.1: - dependencies: - to-regex-range: 5.0.1 - fill-range@7.1.1: dependencies: to-regex-range: 5.0.1 @@ -15223,7 +15180,7 @@ snapshots: hast-util-from-parse5@8.0.1: dependencies: '@types/hast': 3.0.4 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 devlop: 1.1.0 hastscript: 8.0.0 property-information: 6.5.0 @@ -15250,7 +15207,7 @@ snapshots: hast-util-raw@9.0.2: dependencies: '@types/hast': 3.0.4 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 '@ungap/structured-clone': 1.2.0 hast-util-from-parse5: 8.0.1 hast-util-to-parse5: 8.0.0 @@ -15266,7 +15223,7 @@ snapshots: hast-util-select@6.0.2: dependencies: '@types/hast': 3.0.4 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 bcp-47-match: 2.0.3 comma-separated-tokens: 2.0.3 css-selector-parser: 3.0.5 @@ -15306,7 +15263,7 @@ snapshots: hast-util-to-html@9.0.1: dependencies: '@types/hast': 3.0.4 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 ccount: 2.0.1 comma-separated-tokens: 2.0.3 hast-util-raw: 9.0.2 @@ -15322,7 +15279,7 @@ snapshots: dependencies: '@types/estree': 1.0.5 '@types/hast': 3.0.4 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 comma-separated-tokens: 2.0.3 devlop: 1.1.0 estree-util-is-identifier-name: 3.0.0 @@ -15355,7 +15312,7 @@ snapshots: hast-util-to-text@4.0.2: dependencies: '@types/hast': 3.0.4 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 hast-util-is-element: 3.0.0 unist-util-find-after: 5.0.0 @@ -15636,6 +15593,8 @@ snapshots: json-schema-traverse@0.4.1: {} + json-schema-traverse@1.0.0: {} + json-stable-stringify-without-jsonify@1.0.1: {} json5@2.2.3: {} @@ -15771,6 +15730,8 @@ snapshots: lodash.startcase@4.4.0: {} + lodash@4.17.21: {} + log-symbols@6.0.0: dependencies: chalk: 5.3.0 @@ -15813,17 +15774,13 @@ snapshots: lz-string@1.5.0: {} - magic-string@0.30.10: - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - magic-string@0.30.11: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 magic-string@0.30.5: dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 make-dir@3.1.0: dependencies: @@ -15856,7 +15813,7 @@ snapshots: mdast-util-definitions@6.0.0: dependencies: '@types/mdast': 4.0.4 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 unist-util-visit: 5.0.0 mdast-util-find-and-replace@3.0.1: @@ -15869,7 +15826,7 @@ snapshots: mdast-util-from-markdown@2.0.0: dependencies: '@types/mdast': 4.0.4 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 decode-named-character-reference: 1.0.2 devlop: 1.1.0 mdast-util-to-string: 4.0.0 @@ -15968,7 +15925,7 @@ snapshots: '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.4 '@types/mdast': 4.0.4 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 ccount: 2.0.1 devlop: 1.1.0 mdast-util-from-markdown: 2.0.0 @@ -16022,7 +15979,7 @@ snapshots: mdast-util-to-markdown@2.1.0: dependencies: '@types/mdast': 4.0.4 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 longest-streak: 3.1.0 mdast-util-phrasing: 4.1.0 mdast-util-to-string: 4.0.0 @@ -16291,7 +16248,7 @@ snapshots: dependencies: '@types/acorn': 4.0.6 '@types/estree': 1.0.5 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 devlop: 1.1.0 estree-util-visit: 2.0.0 micromark-util-symbol: 2.0.0 @@ -16430,7 +16387,7 @@ snapshots: negotiator@0.6.3: {} - neotraverse@0.6.9: {} + neotraverse@0.6.18: {} nlcst-to-string@4.0.0: dependencies: @@ -16481,8 +16438,6 @@ snapshots: range-parser: 1.2.1 type-is: 1.6.18 - node-releases@2.0.14: {} - node-releases@2.0.18: {} nopt@5.0.0: @@ -16645,7 +16600,7 @@ snapshots: parse-latin@7.0.0: dependencies: '@types/nlcst': 2.0.3 - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 nlcst-to-string: 4.0.0 unist-util-modify-children: 4.0.0 unist-util-visit-children: 3.0.0 @@ -16712,8 +16667,6 @@ snapshots: estree-walker: 3.0.3 is-reference: 3.0.2 - picocolors@1.0.0: {} - picocolors@1.0.1: {} picomatch@2.3.1: {} @@ -16728,11 +16681,11 @@ snapshots: dependencies: find-up: 4.1.0 - playwright-core@1.46.0: {} + playwright-core@1.46.1: {} - playwright@1.46.0: + playwright@1.46.1: dependencies: - playwright-core: 1.46.0 + playwright-core: 1.46.1 optionalDependencies: fsevents: 2.3.2 @@ -16748,11 +16701,11 @@ snapshots: postcss: 8.4.41 postcss-value-parser: 4.2.0 - postcss-color-functional-notation@7.0.0(postcss@8.4.41): + postcss-color-functional-notation@7.0.2(postcss@8.4.41): dependencies: - '@csstools/css-color-parser': 3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-color-parser': 3.0.2(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 '@csstools/postcss-progressive-custom-properties': 4.0.0(postcss@8.4.41) '@csstools/utilities': 2.0.0(postcss@8.4.41) postcss: 8.4.41 @@ -16769,28 +16722,28 @@ snapshots: postcss: 8.4.41 postcss-value-parser: 4.2.0 - postcss-custom-media@11.0.0(postcss@8.4.41): + postcss-custom-media@11.0.1(postcss@8.4.41): dependencies: - '@csstools/cascade-layer-name-parser': 2.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 - '@csstools/media-query-list-parser': 3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) + '@csstools/cascade-layer-name-parser': 2.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 + '@csstools/media-query-list-parser': 3.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) postcss: 8.4.41 - postcss-custom-properties@14.0.0(postcss@8.4.41): + postcss-custom-properties@14.0.1(postcss@8.4.41): dependencies: - '@csstools/cascade-layer-name-parser': 2.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/cascade-layer-name-parser': 2.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 '@csstools/utilities': 2.0.0(postcss@8.4.41) postcss: 8.4.41 postcss-value-parser: 4.2.0 - postcss-custom-selectors@8.0.0(postcss@8.4.41): + postcss-custom-selectors@8.0.1(postcss@8.4.41): dependencies: - '@csstools/cascade-layer-name-parser': 2.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/cascade-layer-name-parser': 2.0.1(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 postcss: 8.4.41 postcss-selector-parser: 6.1.0 @@ -16842,11 +16795,11 @@ snapshots: camelcase-css: 2.0.1 postcss: 8.4.41 - postcss-lab-function@7.0.0(postcss@8.4.41): + postcss-lab-function@7.0.2(postcss@8.4.41): dependencies: - '@csstools/css-color-parser': 3.0.0(@csstools/css-parser-algorithms@3.0.0(@csstools/css-tokenizer@3.0.0))(@csstools/css-tokenizer@3.0.0) - '@csstools/css-parser-algorithms': 3.0.0(@csstools/css-tokenizer@3.0.0) - '@csstools/css-tokenizer': 3.0.0 + '@csstools/css-color-parser': 3.0.2(@csstools/css-parser-algorithms@3.0.1(@csstools/css-tokenizer@3.0.1))(@csstools/css-tokenizer@3.0.1) + '@csstools/css-parser-algorithms': 3.0.1(@csstools/css-tokenizer@3.0.1) + '@csstools/css-tokenizer': 3.0.1 '@csstools/postcss-progressive-custom-properties': 4.0.0(postcss@8.4.41) '@csstools/utilities': 2.0.0(postcss@8.4.41) postcss: 8.4.41 @@ -16854,7 +16807,7 @@ snapshots: postcss-load-config@4.0.2(postcss@8.4.41): dependencies: lilconfig: 3.1.1 - yaml: 2.4.1 + yaml: 2.5.0 optionalDependencies: postcss: 8.4.41 @@ -16893,37 +16846,37 @@ snapshots: postcss: 8.4.41 postcss-value-parser: 4.2.0 - postcss-preset-env@10.0.0(postcss@8.4.41): + postcss-preset-env@10.0.2(postcss@8.4.41): dependencies: '@csstools/postcss-cascade-layers': 5.0.0(postcss@8.4.41) - '@csstools/postcss-color-function': 4.0.0(postcss@8.4.41) - '@csstools/postcss-color-mix-function': 3.0.0(postcss@8.4.41) - '@csstools/postcss-content-alt-text': 2.0.0(postcss@8.4.41) - '@csstools/postcss-exponential-functions': 2.0.0(postcss@8.4.41) + '@csstools/postcss-color-function': 4.0.2(postcss@8.4.41) + '@csstools/postcss-color-mix-function': 3.0.2(postcss@8.4.41) + '@csstools/postcss-content-alt-text': 2.0.1(postcss@8.4.41) + '@csstools/postcss-exponential-functions': 2.0.1(postcss@8.4.41) '@csstools/postcss-font-format-keywords': 4.0.0(postcss@8.4.41) - '@csstools/postcss-gamut-mapping': 2.0.0(postcss@8.4.41) - '@csstools/postcss-gradients-interpolation-method': 5.0.0(postcss@8.4.41) - '@csstools/postcss-hwb-function': 4.0.0(postcss@8.4.41) + '@csstools/postcss-gamut-mapping': 2.0.2(postcss@8.4.41) + '@csstools/postcss-gradients-interpolation-method': 5.0.2(postcss@8.4.41) + '@csstools/postcss-hwb-function': 4.0.2(postcss@8.4.41) '@csstools/postcss-ic-unit': 4.0.0(postcss@8.4.41) '@csstools/postcss-initial': 2.0.0(postcss@8.4.41) '@csstools/postcss-is-pseudo-class': 5.0.0(postcss@8.4.41) - '@csstools/postcss-light-dark-function': 2.0.0(postcss@8.4.41) + '@csstools/postcss-light-dark-function': 2.0.2(postcss@8.4.41) '@csstools/postcss-logical-float-and-clear': 3.0.0(postcss@8.4.41) '@csstools/postcss-logical-overflow': 2.0.0(postcss@8.4.41) '@csstools/postcss-logical-overscroll-behavior': 2.0.0(postcss@8.4.41) '@csstools/postcss-logical-resize': 3.0.0(postcss@8.4.41) - '@csstools/postcss-logical-viewport-units': 3.0.0(postcss@8.4.41) - '@csstools/postcss-media-minmax': 2.0.0(postcss@8.4.41) - '@csstools/postcss-media-queries-aspect-ratio-number-values': 3.0.0(postcss@8.4.41) + '@csstools/postcss-logical-viewport-units': 3.0.1(postcss@8.4.41) + '@csstools/postcss-media-minmax': 2.0.1(postcss@8.4.41) + '@csstools/postcss-media-queries-aspect-ratio-number-values': 3.0.1(postcss@8.4.41) '@csstools/postcss-nested-calc': 4.0.0(postcss@8.4.41) '@csstools/postcss-normalize-display-values': 4.0.0(postcss@8.4.41) - '@csstools/postcss-oklab-function': 4.0.0(postcss@8.4.41) + '@csstools/postcss-oklab-function': 4.0.2(postcss@8.4.41) '@csstools/postcss-progressive-custom-properties': 4.0.0(postcss@8.4.41) - '@csstools/postcss-relative-color-syntax': 3.0.0(postcss@8.4.41) + '@csstools/postcss-relative-color-syntax': 3.0.2(postcss@8.4.41) '@csstools/postcss-scope-pseudo-class': 4.0.0(postcss@8.4.41) - '@csstools/postcss-stepped-value-functions': 4.0.0(postcss@8.4.41) - '@csstools/postcss-text-decoration-shorthand': 4.0.0(postcss@8.4.41) - '@csstools/postcss-trigonometric-functions': 4.0.0(postcss@8.4.41) + '@csstools/postcss-stepped-value-functions': 4.0.1(postcss@8.4.41) + '@csstools/postcss-text-decoration-shorthand': 4.0.1(postcss@8.4.41) + '@csstools/postcss-trigonometric-functions': 4.0.1(postcss@8.4.41) '@csstools/postcss-unset-value': 4.0.0(postcss@8.4.41) autoprefixer: 10.4.20(postcss@8.4.41) browserslist: 4.23.3 @@ -16934,12 +16887,12 @@ snapshots: postcss: 8.4.41 postcss-attribute-case-insensitive: 7.0.0(postcss@8.4.41) postcss-clamp: 4.1.0(postcss@8.4.41) - postcss-color-functional-notation: 7.0.0(postcss@8.4.41) + postcss-color-functional-notation: 7.0.2(postcss@8.4.41) postcss-color-hex-alpha: 10.0.0(postcss@8.4.41) postcss-color-rebeccapurple: 10.0.0(postcss@8.4.41) - postcss-custom-media: 11.0.0(postcss@8.4.41) - postcss-custom-properties: 14.0.0(postcss@8.4.41) - postcss-custom-selectors: 8.0.0(postcss@8.4.41) + postcss-custom-media: 11.0.1(postcss@8.4.41) + postcss-custom-properties: 14.0.1(postcss@8.4.41) + postcss-custom-selectors: 8.0.1(postcss@8.4.41) postcss-dir-pseudo-class: 9.0.0(postcss@8.4.41) postcss-double-position-gradients: 6.0.0(postcss@8.4.41) postcss-focus-visible: 10.0.0(postcss@8.4.41) @@ -16947,7 +16900,7 @@ snapshots: postcss-font-variant: 5.0.0(postcss@8.4.41) postcss-gap-properties: 6.0.0(postcss@8.4.41) postcss-image-set-function: 7.0.0(postcss@8.4.41) - postcss-lab-function: 7.0.0(postcss@8.4.41) + postcss-lab-function: 7.0.2(postcss@8.4.41) postcss-logical: 8.0.0(postcss@8.4.41) postcss-nesting: 13.0.0(postcss@8.4.41) postcss-opacity-percentage: 2.0.0(postcss@8.4.41) @@ -16985,11 +16938,11 @@ snapshots: picocolors: 1.0.1 source-map-js: 1.2.0 - preact-render-to-string@6.5.8(preact@10.23.1): + preact-render-to-string@6.5.9(preact@10.23.2): dependencies: - preact: 10.23.1 + preact: 10.23.2 - preact@10.23.1: {} + preact@10.23.2: {} preferred-pm@3.1.3: dependencies: @@ -17008,10 +16961,13 @@ snapshots: prettier-plugin-astro@0.14.1: dependencies: - '@astrojs/compiler': 2.10.2 + '@astrojs/compiler': 2.10.3 prettier: 3.3.3 sass-formatter: 0.7.9 + prettier@2.8.7: + optional: true + prettier@2.8.8: {} prettier@3.3.3: {} @@ -17105,7 +17061,7 @@ snapshots: refa@0.12.1: dependencies: - '@eslint-community/regexpp': 4.10.0 + '@eslint-community/regexpp': 4.11.0 regenerator-runtime@0.13.11: {} @@ -17113,7 +17069,7 @@ snapshots: regexp-ast-analysis@0.7.1: dependencies: - '@eslint-community/regexpp': 4.10.0 + '@eslint-community/regexpp': 4.11.0 refa: 0.12.1 rehype-autolink-headings@7.1.0: @@ -17122,7 +17078,7 @@ snapshots: '@ungap/structured-clone': 1.2.0 hast-util-heading-rank: 3.0.0 hast-util-is-element: 3.0.0 - unified: 11.0.4 + unified: 11.0.5 unist-util-visit: 5.0.0 rehype-mathjax@6.0.0: @@ -17147,13 +17103,13 @@ snapshots: hast-util-from-html: 2.0.1 unified: 11.0.5 - rehype-pretty-code@0.13.2(shiki@1.12.1): + rehype-pretty-code@0.13.2(shiki@1.14.1): dependencies: '@types/hast': 3.0.4 hast-util-to-string: 3.0.0 parse-numeric-range: 1.3.0 rehype-parse: 9.0.0 - shiki: 1.12.1 + shiki: 1.14.1 unified: 11.0.5 unist-util-visit: 5.0.0 @@ -17273,6 +17229,8 @@ snapshots: '@types/mdast': 4.0.4 mdast-util-toc: 7.0.0 + request-light@0.5.8: {} + request-light@0.7.0: {} require-directory@2.1.1: {} @@ -17335,26 +17293,26 @@ snapshots: dependencies: glob: 10.3.12 - rollup@4.20.0: + rollup@4.21.0: dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.20.0 - '@rollup/rollup-android-arm64': 4.20.0 - '@rollup/rollup-darwin-arm64': 4.20.0 - '@rollup/rollup-darwin-x64': 4.20.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.20.0 - '@rollup/rollup-linux-arm-musleabihf': 4.20.0 - '@rollup/rollup-linux-arm64-gnu': 4.20.0 - '@rollup/rollup-linux-arm64-musl': 4.20.0 - '@rollup/rollup-linux-powerpc64le-gnu': 4.20.0 - '@rollup/rollup-linux-riscv64-gnu': 4.20.0 - '@rollup/rollup-linux-s390x-gnu': 4.20.0 - '@rollup/rollup-linux-x64-gnu': 4.20.0 - '@rollup/rollup-linux-x64-musl': 4.20.0 - '@rollup/rollup-win32-arm64-msvc': 4.20.0 - '@rollup/rollup-win32-ia32-msvc': 4.20.0 - '@rollup/rollup-win32-x64-msvc': 4.20.0 + '@rollup/rollup-android-arm-eabi': 4.21.0 + '@rollup/rollup-android-arm64': 4.21.0 + '@rollup/rollup-darwin-arm64': 4.21.0 + '@rollup/rollup-darwin-x64': 4.21.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.21.0 + '@rollup/rollup-linux-arm-musleabihf': 4.21.0 + '@rollup/rollup-linux-arm64-gnu': 4.21.0 + '@rollup/rollup-linux-arm64-musl': 4.21.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.21.0 + '@rollup/rollup-linux-riscv64-gnu': 4.21.0 + '@rollup/rollup-linux-s390x-gnu': 4.21.0 + '@rollup/rollup-linux-x64-gnu': 4.21.0 + '@rollup/rollup-linux-x64-musl': 4.21.0 + '@rollup/rollup-win32-arm64-msvc': 4.21.0 + '@rollup/rollup-win32-ia32-msvc': 4.21.0 + '@rollup/rollup-win32-x64-msvc': 4.21.0 fsevents: 2.3.3 rrweb-cssom@0.6.0: {} @@ -17395,7 +17353,7 @@ snapshots: scslre@0.3.0: dependencies: - '@eslint-community/regexpp': 4.10.0 + '@eslint-community/regexpp': 4.11.0 refa: 0.12.1 regexp-ast-analysis: 0.7.1 @@ -17406,8 +17364,6 @@ snapshots: semver@6.3.1: {} - semver@7.6.2: {} - semver@7.6.3: {} send@0.18.0: @@ -17464,7 +17420,7 @@ snapshots: dependencies: color: 4.2.3 detect-libc: 2.0.3 - semver: 7.6.2 + semver: 7.6.3 optionalDependencies: '@img/sharp-darwin-arm64': 0.33.3 '@img/sharp-darwin-x64': 0.33.3 @@ -17514,9 +17470,9 @@ snapshots: vscode-oniguruma: 1.7.0 vscode-textmate: 5.2.0 - shiki@1.12.1: + shiki@1.14.1: dependencies: - '@shikijs/core': 1.12.1 + '@shikijs/core': 1.14.1 '@types/hast': 3.0.4 side-channel@1.0.6: @@ -17573,18 +17529,18 @@ snapshots: smartypants@0.2.2: {} - solid-js@1.8.20: + solid-js@1.8.21: dependencies: csstype: 3.1.3 seroval: 1.1.1 seroval-plugins: 1.1.1(seroval@1.1.1) - solid-refresh@0.6.3(solid-js@1.8.20): + solid-refresh@0.6.3(solid-js@1.8.21): dependencies: '@babel/generator': 7.25.0 '@babel/helper-module-imports': 7.24.7 '@babel/types': 7.25.2 - solid-js: 1.8.20 + solid-js: 1.8.21 transitivePeerDependencies: - supports-color @@ -17729,18 +17685,18 @@ snapshots: svelte@4.2.18: dependencies: '@ampproject/remapping': 2.3.0 - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/trace-mapping': 0.3.25 '@types/estree': 1.0.5 - acorn: 8.12.0 + acorn: 8.12.1 aria-query: 5.3.0 - axobject-query: 4.0.0 + axobject-query: 4.1.0 code-red: 1.0.4 css-tree: 2.3.1 estree-walker: 3.0.3 is-reference: 3.0.2 locate-character: 3.0.0 - magic-string: 0.30.10 + magic-string: 0.30.11 periscopic: 3.1.0 svg-tags@1.0.0: {} @@ -17753,11 +17709,11 @@ snapshots: css-tree: 2.3.1 css-what: 6.1.0 csso: 5.0.5 - picocolors: 1.0.0 + picocolors: 1.0.1 symbol-tree@3.2.4: {} - tailwindcss@3.4.9: + tailwindcss@3.4.10: dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -17889,32 +17845,32 @@ snapshots: tslib@2.6.2: {} - turbo-darwin-64@2.0.12: + turbo-darwin-64@2.0.14: optional: true - turbo-darwin-arm64@2.0.12: + turbo-darwin-arm64@2.0.14: optional: true - turbo-linux-64@2.0.12: + turbo-linux-64@2.0.14: optional: true - turbo-linux-arm64@2.0.12: + turbo-linux-arm64@2.0.14: optional: true - turbo-windows-64@2.0.12: + turbo-windows-64@2.0.14: optional: true - turbo-windows-arm64@2.0.12: + turbo-windows-arm64@2.0.14: optional: true - turbo@2.0.12: + turbo@2.0.14: optionalDependencies: - turbo-darwin-64: 2.0.12 - turbo-darwin-arm64: 2.0.12 - turbo-linux-64: 2.0.12 - turbo-linux-arm64: 2.0.12 - turbo-windows-64: 2.0.12 - turbo-windows-arm64: 2.0.12 + turbo-darwin-64: 2.0.14 + turbo-darwin-arm64: 2.0.14 + turbo-linux-64: 2.0.14 + turbo-linux-arm64: 2.0.14 + turbo-windows-64: 2.0.14 + turbo-windows-arm64: 2.0.14 type-check@0.4.0: dependencies: @@ -17943,11 +17899,11 @@ snapshots: dependencies: semver: 7.6.3 - typescript-eslint@8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4): + typescript-eslint@8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4): dependencies: - '@typescript-eslint/eslint-plugin': 8.0.1(@typescript-eslint/parser@8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) - '@typescript-eslint/parser': 8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) - '@typescript-eslint/utils': 8.0.1(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 8.1.0(@typescript-eslint/parser@8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/parser': 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/utils': 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -17970,19 +17926,9 @@ snapshots: unicorn-magic@0.1.0: {} - unified@11.0.4: - dependencies: - '@types/unist': 3.0.2 - bail: 2.0.2 - devlop: 1.1.0 - extend: 3.0.2 - is-plain-obj: 4.1.0 - trough: 2.2.0 - vfile: 6.0.2 - unified@11.0.5: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 bail: 2.0.2 devlop: 1.1.0 extend: 3.0.2 @@ -17992,7 +17938,7 @@ snapshots: unist-util-find-after@5.0.0: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 unist-util-is: 6.0.0 unist-util-is@3.0.0: {} @@ -18001,24 +17947,24 @@ snapshots: unist-util-is@6.0.0: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 unist-util-modify-children@4.0.0: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 array-iterate: 2.0.1 unist-util-position-from-estree@2.0.0: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 unist-util-position@5.0.0: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 unist-util-remove-position@5.0.0: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 unist-util-visit: 5.0.0 unist-util-select@4.0.3: @@ -18030,11 +17976,11 @@ snapshots: unist-util-stringify-position@4.0.0: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 unist-util-visit-children@3.0.0: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 unist-util-visit-parents@2.1.2: dependencies: @@ -18047,7 +17993,7 @@ snapshots: unist-util-visit-parents@6.0.1: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 unist-util-is: 6.0.0 unist-util-visit@1.4.1: @@ -18062,7 +18008,7 @@ snapshots: unist-util-visit@5.0.0: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 unist-util-is: 6.0.0 unist-util-visit-parents: 6.0.1 @@ -18076,12 +18022,6 @@ snapshots: unpipe@1.0.0: {} - update-browserslist-db@1.0.16(browserslist@4.23.1): - dependencies: - browserslist: 4.23.1 - escalade: 3.1.2 - picocolors: 1.0.1 - update-browserslist-db@1.1.0(browserslist@4.23.3): dependencies: browserslist: 4.23.3 @@ -18113,23 +18053,23 @@ snapshots: vfile-location@5.0.2: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 vfile: 6.0.2 vfile-message@4.0.2: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 unist-util-stringify-position: 4.0.0 vfile@6.0.2: dependencies: - '@types/unist': 3.0.2 + '@types/unist': 3.0.3 unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - vite-hot-client@0.2.3(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)): + vite-hot-client@0.2.3(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)): dependencies: - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) vite-node@2.0.5(@types/node@18.19.31)(sass@1.77.8): dependencies: @@ -18137,7 +18077,7 @@ snapshots: debug: 4.3.6 pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - '@types/node' - less @@ -18149,52 +18089,52 @@ snapshots: - supports-color - terser - vite-plugin-inspect@0.8.4(rollup@4.20.0)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)): + vite-plugin-inspect@0.8.5(rollup@4.21.0)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)): dependencies: - '@antfu/utils': 0.7.8 - '@rollup/pluginutils': 5.1.0(rollup@4.20.0) + '@antfu/utils': 0.7.10 + '@rollup/pluginutils': 5.1.0(rollup@4.21.0) debug: 4.3.6 - error-stack-parser-es: 0.1.1 + error-stack-parser-es: 0.1.5 fs-extra: 11.2.0 open: 10.1.0 perfect-debounce: 1.0.0 picocolors: 1.0.1 sirv: 2.0.4 - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - rollup - supports-color - vite-plugin-solid@2.10.2(solid-js@1.8.20)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)): + vite-plugin-solid@2.10.2(solid-js@1.8.21)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)): dependencies: '@babel/core': 7.25.2 '@types/babel__core': 7.20.5 babel-preset-solid: 1.8.16(@babel/core@7.25.2) merge-anything: 5.1.7 - solid-js: 1.8.20 - solid-refresh: 0.6.3(solid-js@1.8.20) - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) - vitefu: 0.2.5(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) + solid-js: 1.8.21 + solid-refresh: 0.6.3(solid-js@1.8.21) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vitefu: 0.2.5(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) transitivePeerDependencies: - supports-color - vite-plugin-vue-devtools@7.3.7(rollup@4.20.0)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4)): + vite-plugin-vue-devtools@7.3.8(rollup@4.21.0)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)): dependencies: - '@vue/devtools-core': 7.3.7(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4)) - '@vue/devtools-kit': 7.3.7 - '@vue/devtools-shared': 7.3.7 + '@vue/devtools-core': 7.3.8(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)) + '@vue/devtools-kit': 7.3.8 + '@vue/devtools-shared': 7.3.8 execa: 8.0.1 sirv: 2.0.4 - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) - vite-plugin-inspect: 0.8.4(rollup@4.20.0)(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) - vite-plugin-vue-inspector: 5.1.3(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vite-plugin-inspect: 0.8.5(rollup@4.21.0)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + vite-plugin-vue-inspector: 5.1.3(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) transitivePeerDependencies: - '@nuxt/kit' - rollup - supports-color - vue - vite-plugin-vue-inspector@5.1.3(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)): + vite-plugin-vue-inspector@5.1.3(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)): dependencies: '@babel/core': 7.25.2 '@babel/plugin-proposal-decorators': 7.24.1(@babel/core@7.25.2) @@ -18202,31 +18142,31 @@ snapshots: '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.25.2) '@babel/plugin-transform-typescript': 7.24.7(@babel/core@7.25.2) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.25.2) - '@vue/compiler-dom': 3.4.37 + '@vue/compiler-dom': 3.4.38 kolorist: 1.8.0 magic-string: 0.30.11 - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - supports-color - vite-svg-loader@5.1.0(vue@3.4.37(typescript@5.5.4)): + vite-svg-loader@5.1.0(vue@3.4.38(typescript@5.5.4)): dependencies: svgo: 3.2.0 - vue: 3.4.37(typescript@5.5.4) + vue: 3.4.38(typescript@5.5.4) - vite@5.4.0(@types/node@18.19.31)(sass@1.77.8): + vite@5.4.1(@types/node@18.19.31)(sass@1.77.8): dependencies: esbuild: 0.21.5 postcss: 8.4.41 - rollup: 4.20.0 + rollup: 4.21.0 optionalDependencies: '@types/node': 18.19.31 fsevents: 2.3.3 sass: 1.77.8 - vitefu@0.2.5(vite@5.4.0(@types/node@18.19.31)(sass@1.77.8)): + vitefu@0.2.5(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)): optionalDependencies: - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) vitest@2.0.5(@types/node@18.19.31)(jsdom@23.2.0)(sass@1.77.8): dependencies: @@ -18246,7 +18186,7 @@ snapshots: tinybench: 2.8.0 tinypool: 1.0.0 tinyrainbow: 1.2.0 - vite: 5.4.0(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) vite-node: 2.0.5(@types/node@18.19.31)(sass@1.77.8) why-is-node-running: 2.3.0 optionalDependencies: @@ -18262,45 +18202,45 @@ snapshots: - supports-color - terser - volar-service-css@0.0.59(@volar/language-service@2.4.0-alpha.16): + volar-service-css@0.0.61(@volar/language-service@2.4.0): dependencies: vscode-css-languageservice: 6.3.0 vscode-languageserver-textdocument: 1.0.11 vscode-uri: 3.0.8 optionalDependencies: - '@volar/language-service': 2.4.0-alpha.16 + '@volar/language-service': 2.4.0 - volar-service-emmet@0.0.59(@volar/language-service@2.4.0-alpha.16): + volar-service-emmet@0.0.61(@volar/language-service@2.4.0): dependencies: '@emmetio/css-parser': 0.4.0 '@emmetio/html-matcher': 1.3.0 '@vscode/emmet-helper': 2.9.3 vscode-uri: 3.0.8 optionalDependencies: - '@volar/language-service': 2.4.0-alpha.16 + '@volar/language-service': 2.4.0 - volar-service-html@0.0.59(@volar/language-service@2.4.0-alpha.16): + volar-service-html@0.0.61(@volar/language-service@2.4.0): dependencies: vscode-html-languageservice: 5.3.0 vscode-languageserver-textdocument: 1.0.11 vscode-uri: 3.0.8 optionalDependencies: - '@volar/language-service': 2.4.0-alpha.16 + '@volar/language-service': 2.4.0 - volar-service-prettier@0.0.59(@volar/language-service@2.4.0-alpha.16)(prettier@3.3.3): + volar-service-prettier@0.0.61(@volar/language-service@2.4.0)(prettier@3.3.3): dependencies: vscode-uri: 3.0.8 optionalDependencies: - '@volar/language-service': 2.4.0-alpha.16 + '@volar/language-service': 2.4.0 prettier: 3.3.3 - volar-service-typescript-twoslash-queries@0.0.59(@volar/language-service@2.4.0-alpha.16): + volar-service-typescript-twoslash-queries@0.0.61(@volar/language-service@2.4.0): dependencies: vscode-uri: 3.0.8 optionalDependencies: - '@volar/language-service': 2.4.0-alpha.16 + '@volar/language-service': 2.4.0 - volar-service-typescript@0.0.59(@volar/language-service@2.4.0-alpha.16): + volar-service-typescript@0.0.61(@volar/language-service@2.4.0): dependencies: path-browserify: 1.0.1 semver: 7.6.3 @@ -18309,7 +18249,14 @@ snapshots: vscode-nls: 5.2.0 vscode-uri: 3.0.8 optionalDependencies: - '@volar/language-service': 2.4.0-alpha.16 + '@volar/language-service': 2.4.0 + + volar-service-yaml@0.0.61(@volar/language-service@2.4.0): + dependencies: + vscode-uri: 3.0.8 + yaml-language-server: 1.15.0 + optionalDependencies: + '@volar/language-service': 2.4.0 vscode-css-languageservice@6.3.0: dependencies: @@ -18325,8 +18272,23 @@ snapshots: vscode-languageserver-types: 3.17.5 vscode-uri: 3.0.8 + vscode-json-languageservice@4.1.8: + dependencies: + jsonc-parser: 3.2.1 + vscode-languageserver-textdocument: 1.0.11 + vscode-languageserver-types: 3.17.5 + vscode-nls: 5.2.0 + vscode-uri: 3.0.8 + + vscode-jsonrpc@6.0.0: {} + vscode-jsonrpc@8.2.0: {} + vscode-languageserver-protocol@3.16.0: + dependencies: + vscode-jsonrpc: 6.0.0 + vscode-languageserver-types: 3.16.0 + vscode-languageserver-protocol@3.17.5: dependencies: vscode-jsonrpc: 8.2.0 @@ -18334,8 +18296,14 @@ snapshots: vscode-languageserver-textdocument@1.0.11: {} + vscode-languageserver-types@3.16.0: {} + vscode-languageserver-types@3.17.5: {} + vscode-languageserver@7.0.0: + dependencies: + vscode-languageserver-protocol: 3.16.0 + vscode-languageserver@9.0.1: dependencies: vscode-languageserver-protocol: 3.17.5 @@ -18350,13 +18318,13 @@ snapshots: vscode-uri@3.0.8: {} - vue@3.4.37(typescript@5.5.4): + vue@3.4.38(typescript@5.5.4): dependencies: - '@vue/compiler-dom': 3.4.37 - '@vue/compiler-sfc': 3.4.37 - '@vue/runtime-dom': 3.4.37 - '@vue/server-renderer': 3.4.37(vue@3.4.37(typescript@5.5.4)) - '@vue/shared': 3.4.37 + '@vue/compiler-dom': 3.4.38 + '@vue/compiler-sfc': 3.4.38 + '@vue/runtime-dom': 3.4.38 + '@vue/server-renderer': 3.4.38(vue@3.4.38(typescript@5.5.4)) + '@vue/shared': 3.4.38 optionalDependencies: typescript: 5.5.4 @@ -18467,7 +18435,24 @@ snapshots: yallist@5.0.0: {} - yaml@2.4.1: {} + yaml-language-server@1.15.0: + dependencies: + ajv: 8.17.1 + lodash: 4.17.21 + request-light: 0.5.8 + vscode-json-languageservice: 4.1.8 + vscode-languageserver: 7.0.0 + vscode-languageserver-textdocument: 1.0.11 + vscode-languageserver-types: 3.17.5 + vscode-nls: 5.2.0 + vscode-uri: 3.0.8 + yaml: 2.2.2 + optionalDependencies: + prettier: 2.8.7 + + yaml@2.2.2: {} + + yaml@2.5.0: {} yargs-parser@21.1.1: {} From d12dcbff606dd8330075ba77d73ed3cbc79d7421 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Mon, 19 Aug 2024 16:30:45 +0800 Subject: [PATCH 02/66] Fix create-astro initial git commit (#11766) --- .changeset/smart-comics-doubt.md | 5 +++++ packages/create-astro/src/actions/git.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/smart-comics-doubt.md diff --git a/.changeset/smart-comics-doubt.md b/.changeset/smart-comics-doubt.md new file mode 100644 index 0000000000..0582ebd915 --- /dev/null +++ b/.changeset/smart-comics-doubt.md @@ -0,0 +1,5 @@ +--- +'create-astro': patch +--- + +Fixes initial git commit when initializing git diff --git a/packages/create-astro/src/actions/git.ts b/packages/create-astro/src/actions/git.ts index 1ecf8c5427..ebedb8701d 100644 --- a/packages/create-astro/src/actions/git.ts +++ b/packages/create-astro/src/actions/git.ts @@ -55,7 +55,7 @@ async function init({ cwd }: { cwd: string }) { [ 'commit', '-m', - 'Initial commit from Astro', + '"Initial commit from Astro"', '--author="houston[bot] "', ], { cwd, stdio: 'ignore' }, From 49650a45550af46c70c6cf3f848b7b529103a649 Mon Sep 17 00:00:00 2001 From: Florian Lefebvre Date: Mon, 19 Aug 2024 16:01:31 +0200 Subject: [PATCH 03/66] fix: astro:env sync error in content config (#11771) --- .changeset/tiny-lamps-lick.md | 5 +++++ packages/astro/src/env/vite-plugin-env.ts | 7 +++++-- packages/astro/test/astro-sync.test.js | 10 ++++++++++ .../astro-env-content-collections/astro.config.mjs | 12 ++++++++++++ .../astro-env-content-collections/package.json | 8 ++++++++ .../src/content/config.ts | 13 +++++++++++++ .../astro-env-content-collections/tsconfig.json | 3 +++ pnpm-lock.yaml | 8 ++++++-- 8 files changed, 62 insertions(+), 4 deletions(-) create mode 100644 .changeset/tiny-lamps-lick.md create mode 100644 packages/astro/test/fixtures/astro-env-content-collections/astro.config.mjs create mode 100644 packages/astro/test/fixtures/astro-env-content-collections/package.json create mode 100644 packages/astro/test/fixtures/astro-env-content-collections/src/content/config.ts create mode 100644 packages/astro/test/fixtures/astro-env-content-collections/tsconfig.json diff --git a/.changeset/tiny-lamps-lick.md b/.changeset/tiny-lamps-lick.md new file mode 100644 index 0000000000..865994afa1 --- /dev/null +++ b/.changeset/tiny-lamps-lick.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes an error thrown by `astro sync` when an `astro:env` virtual module is imported inside the Content Collections config diff --git a/packages/astro/src/env/vite-plugin-env.ts b/packages/astro/src/env/vite-plugin-env.ts index fdcd6ce401..9ae24a90ba 100644 --- a/packages/astro/src/env/vite-plugin-env.ts +++ b/packages/astro/src/env/vite-plugin-env.ts @@ -31,7 +31,7 @@ export function astroEnv({ fs, sync, }: AstroEnvVirtualModPluginParams): Plugin | undefined { - if (!settings.config.experimental.env || sync) { + if (!settings.config.experimental.env) { return; } const schema = settings.config.experimental.env.schema ?? {}; @@ -57,6 +57,7 @@ export function astroEnv({ schema, loadedEnv, validateSecrets: settings.config.experimental.env?.validateSecrets ?? false, + sync, }); templates = { @@ -100,10 +101,12 @@ function validatePublicVariables({ schema, loadedEnv, validateSecrets, + sync, }: { schema: EnvSchema; loadedEnv: Record; validateSecrets: boolean; + sync: boolean; }) { const valid: Array<{ key: string; value: any; type: string; context: 'server' | 'client' }> = []; const invalid: Array = []; @@ -125,7 +128,7 @@ function validatePublicVariables({ } } - if (invalid.length > 0) { + if (invalid.length > 0 && !sync) { throw new AstroError({ ...AstroErrorData.EnvInvalidVariables, message: AstroErrorData.EnvInvalidVariables.message(invalidVariablesToError(invalid)), diff --git a/packages/astro/test/astro-sync.test.js b/packages/astro/test/astro-sync.test.js index bb044574fe..ce13453222 100644 --- a/packages/astro/test/astro-sync.test.js +++ b/packages/astro/test/astro-sync.test.js @@ -219,6 +219,16 @@ describe('astro sync', () => { assert.fail(); } }); + it('Does not throw if a virtual module is imported in content/config.ts', async () => { + try { + await fixture.load('./fixtures/astro-env-content-collections/'); + fixture.clean(); + await fixture.whenSyncing(); + assert.ok(true); + } catch { + assert.fail(); + } + }); }); describe('astro:actions', () => { diff --git a/packages/astro/test/fixtures/astro-env-content-collections/astro.config.mjs b/packages/astro/test/fixtures/astro-env-content-collections/astro.config.mjs new file mode 100644 index 0000000000..310a5ebab8 --- /dev/null +++ b/packages/astro/test/fixtures/astro-env-content-collections/astro.config.mjs @@ -0,0 +1,12 @@ +import { defineConfig, envField } from 'astro/config'; + +// https://astro.build/config +export default defineConfig({ + experimental: { + env: { + schema: { + FOO: envField.string({ context: "client", access: "public", optional: true, default: "ABC" }), + } + } + } +}); diff --git a/packages/astro/test/fixtures/astro-env-content-collections/package.json b/packages/astro/test/fixtures/astro-env-content-collections/package.json new file mode 100644 index 0000000000..94ca86e389 --- /dev/null +++ b/packages/astro/test/fixtures/astro-env-content-collections/package.json @@ -0,0 +1,8 @@ +{ + "name": "@test/astro-env-content-collections", + "version": "0.0.0", + "private": true, + "dependencies": { + "astro": "workspace:*" + } +} diff --git a/packages/astro/test/fixtures/astro-env-content-collections/src/content/config.ts b/packages/astro/test/fixtures/astro-env-content-collections/src/content/config.ts new file mode 100644 index 0000000000..0fc4439357 --- /dev/null +++ b/packages/astro/test/fixtures/astro-env-content-collections/src/content/config.ts @@ -0,0 +1,13 @@ +import { defineCollection, z } from "astro:content"; +import { FOO } from "astro:env/client" + +console.log({ FOO }) + +export const collections = { + foo: defineCollection({ + type: "data", + schema: z.object({ + title: z.string() + }) + }) +} \ No newline at end of file diff --git a/packages/astro/test/fixtures/astro-env-content-collections/tsconfig.json b/packages/astro/test/fixtures/astro-env-content-collections/tsconfig.json new file mode 100644 index 0000000000..d78f81ec4e --- /dev/null +++ b/packages/astro/test/fixtures/astro-env-content-collections/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "astro/tsconfigs/base" +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1d6e1cb615..b1ab64c937 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2163,6 +2163,12 @@ importers: specifier: workspace:* version: link:../../.. + packages/astro/test/fixtures/astro-env-content-collections: + dependencies: + astro: + specifier: workspace:* + version: link:../../.. + packages/astro/test/fixtures/astro-env-required-public: dependencies: astro: @@ -9457,12 +9463,10 @@ packages: libsql@0.3.19: resolution: {integrity: sha512-Aj5cQ5uk/6fHdmeW0TiXK42FqUlwx7ytmMLPSaUQPin5HKKKuUPD62MAbN4OEweGBBI7q1BekoEN4gPUEL6MZA==} - cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] libsql@0.4.1: resolution: {integrity: sha512-qZlR9Yu1zMBeLChzkE/cKfoKV3Esp9cn9Vx5Zirn4AVhDWPcjYhKwbtJcMuHehgk3mH+fJr9qW+3vesBWbQpBg==} - cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] lilconfig@2.1.0: From eb1466a37612c6656f664250a9716aa054d7605e Mon Sep 17 00:00:00 2001 From: "@hephaistos_DE" Date: Mon, 19 Aug 2024 16:43:34 +0200 Subject: [PATCH 04/66] Fix middleware example (#11742) * Fix middelware example * Update examples/middleware/src/pages/api/login.ts Co-authored-by: Emanuele Stoppa * Update examples/middleware/src/pages/api/logout.ts Co-authored-by: Emanuele Stoppa * Fix build check for unused by defined variables --------- Co-authored-by: Raphael B Co-authored-by: Emanuele Stoppa --- examples/middleware/src/middleware.ts | 31 ++++++++++++++------- examples/middleware/src/pages/admin.astro | 5 ++++ examples/middleware/src/pages/api/login.ts | 21 ++++++++++++++ examples/middleware/src/pages/api/logout.ts | 5 ++++ examples/middleware/src/pages/index.astro | 2 +- examples/middleware/src/pages/login.astro | 1 + 6 files changed, 54 insertions(+), 11 deletions(-) create mode 100644 examples/middleware/src/pages/api/login.ts create mode 100644 examples/middleware/src/pages/api/logout.ts diff --git a/examples/middleware/src/middleware.ts b/examples/middleware/src/middleware.ts index f92b64d440..4854105cae 100644 --- a/examples/middleware/src/middleware.ts +++ b/examples/middleware/src/middleware.ts @@ -56,16 +56,27 @@ const validation = defineMiddleware(async (context, next) => { } else if (context.request.url.endsWith('/api/login')) { const response = await next(); // the login endpoint will return to us a JSON with username and password - const data = await response.json(); - // we naively check if username and password are equals to some string - if (data.username === 'astro' && data.password === 'astro') { - // we store the token somewhere outside of locals because the `locals` object is attached to the request - // and when doing a redirect, we lose that information - loginInfo.token = 'loggedIn'; - loginInfo.currentTime = new Date().getTime(); - return context.redirect('/admin'); - } - } + if (response.headers.get('content-type') === 'application/json') { + const data = await response.json(); + // we naively check if username and password are equals to some string + if (data.username === 'astro' && data.password === 'astro') { + // we store the token somewhere outside of locals because the `locals` object is attached to the request + // and when doing a redirect, we lose that information + loginInfo.token = 'loggedIn'; + loginInfo.currentTime = new Date().getTime(); + return context.redirect('/admin'); + } + } + return response; + } else if (context.request.url.endsWith('/api/logout')) { + const response = await next(); + if (response.ok) { + loginInfo.token = undefined; + loginInfo.currentTime = undefined; + return context.redirect('/login'); + } + return response; + } return next(); }); diff --git a/examples/middleware/src/pages/admin.astro b/examples/middleware/src/pages/admin.astro index 028fd6b080..921758228d 100644 --- a/examples/middleware/src/pages/admin.astro +++ b/examples/middleware/src/pages/admin.astro @@ -1,11 +1,16 @@ --- import Layout from '../layouts/Layout.astro'; +import Card from '../components/Card.astro'; const user = Astro.locals.user; ---

Welcome back {user.name} {user.surname}

+ {} +
diff --git a/examples/middleware/src/pages/api/login.ts b/examples/middleware/src/pages/api/login.ts new file mode 100644 index 0000000000..24012444cf --- /dev/null +++ b/examples/middleware/src/pages/api/login.ts @@ -0,0 +1,21 @@ +import type { APIRoute, APIContext } from "astro"; + +export const POST: APIRoute = async (context: APIContext) => { + try { + const data = await context.request.formData(); + return new Response( + JSON.stringify({ + username: data.get("username"), + password: data.get("password"), + }), + { + headers: { "Content-Type": "application/json" }, + } + ); + } catch (e) { + if (e instanceof Error) { + console.error(e.message); + } + } + return new Response(null, { status: 400 }); +}; diff --git a/examples/middleware/src/pages/api/logout.ts b/examples/middleware/src/pages/api/logout.ts new file mode 100644 index 0000000000..b6c6e9e060 --- /dev/null +++ b/examples/middleware/src/pages/api/logout.ts @@ -0,0 +1,5 @@ +import type { APIRoute, APIContext } from "astro"; + +export const GET: APIRoute = async (_: APIContext) => { + return new Response(null, { status: 200 }); +}; diff --git a/examples/middleware/src/pages/index.astro b/examples/middleware/src/pages/index.astro index ff77d4a152..bd934ff946 100644 --- a/examples/middleware/src/pages/index.astro +++ b/examples/middleware/src/pages/index.astro @@ -12,7 +12,7 @@ import Card from '../components/Card.astro';

{} diff --git a/examples/middleware/src/pages/login.astro b/examples/middleware/src/pages/login.astro index 99cf4cc947..ec30d35442 100644 --- a/examples/middleware/src/pages/login.astro +++ b/examples/middleware/src/pages/login.astro @@ -14,6 +14,7 @@ if (status === 301) {

To get started, open the directory src/pages in your project.
Code Challenge: Tweak the "Welcome to Astro" message above. + Login with: Username: astro Password: astro

{redirectMessage}
From 7ab0e601fd80473a38ac3c08f878bdb66a615d74 Mon Sep 17 00:00:00 2001 From: "@hephaistos_DE" Date: Mon, 19 Aug 2024 14:46:25 +0000 Subject: [PATCH 05/66] [ci] format --- examples/middleware/src/pages/login.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/middleware/src/pages/login.astro b/examples/middleware/src/pages/login.astro index ec30d35442..697f6819c6 100644 --- a/examples/middleware/src/pages/login.astro +++ b/examples/middleware/src/pages/login.astro @@ -14,7 +14,7 @@ if (status === 301) {

To get started, open the directory src/pages in your project.
Code Challenge: Tweak the "Welcome to Astro" message above. - Login with: Username: astro Password: astro + Login with: Username: astro Password: astro

{redirectMessage} From b67742961a384c10e5cd04cf5b02d0f014ea7362 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Mon, 19 Aug 2024 22:52:42 +0800 Subject: [PATCH 06/66] Disable server.ws vite config for loading config files (#11744) --- .changeset/weak-masks-do.md | 6 ++++++ packages/astro/src/core/config/vite-load.ts | 2 +- packages/astro/src/core/sync/index.ts | 2 +- packages/db/src/core/integration/index.ts | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .changeset/weak-masks-do.md diff --git a/.changeset/weak-masks-do.md b/.changeset/weak-masks-do.md new file mode 100644 index 0000000000..96aa4a1db8 --- /dev/null +++ b/.changeset/weak-masks-do.md @@ -0,0 +1,6 @@ +--- +'astro': patch +'@astrojs/db': patch +--- + +Disables the WebSocket server when creating a Vite server for loading config files diff --git a/packages/astro/src/core/config/vite-load.ts b/packages/astro/src/core/config/vite-load.ts index a4e4852b71..8c953dde6d 100644 --- a/packages/astro/src/core/config/vite-load.ts +++ b/packages/astro/src/core/config/vite-load.ts @@ -7,7 +7,7 @@ import { debug } from '../logger/core.js'; async function createViteServer(root: string, fs: typeof fsType): Promise { const viteServer = await createServer({ configFile: false, - server: { middlewareMode: true, hmr: false, watch: null }, + server: { middlewareMode: true, hmr: false, watch: null, ws: false }, optimizeDeps: { noDiscovery: true }, clearScreen: false, appType: 'custom', diff --git a/packages/astro/src/core/sync/index.ts b/packages/astro/src/core/sync/index.ts index 92b3478e34..3df81846ec 100644 --- a/packages/astro/src/core/sync/index.ts +++ b/packages/astro/src/core/sync/index.ts @@ -169,7 +169,7 @@ async function syncContentCollections( const tempViteServer = await createServer( await createVite( { - server: { middlewareMode: true, hmr: false, watch: null }, + server: { middlewareMode: true, hmr: false, watch: null, ws: false }, optimizeDeps: { noDiscovery: true }, ssr: { external: [] }, logLevel: 'silent', diff --git a/packages/db/src/core/integration/index.ts b/packages/db/src/core/integration/index.ts index da03e71f27..de8eb61692 100644 --- a/packages/db/src/core/integration/index.ts +++ b/packages/db/src/core/integration/index.ts @@ -222,7 +222,7 @@ async function executeSeedFile({ async function getTempViteServer({ viteConfig }: { viteConfig: UserConfig }) { const tempViteServer = await createServer( mergeConfig(viteConfig, { - server: { middlewareMode: true, hmr: false, watch: null }, + server: { middlewareMode: true, hmr: false, watch: null, ws: false }, optimizeDeps: { noDiscovery: true }, ssr: { external: [] }, logLevel: 'silent', From ad919776ca6fa72c49ca884c10de4c9868ca9e42 Mon Sep 17 00:00:00 2001 From: Sarah Rainsberger Date: Mon, 19 Aug 2024 12:27:12 -0300 Subject: [PATCH 07/66] [docs] `pattern` to preserve ignoring files prefixed with an underscore (#11749) * [docs] `pattern` to preserve ignoring files prefixed with an underscore * simplify examples with only md not mdx Co-authored-by: Matt Kane * remove strange line full of tabs * Update packages/astro/src/@types/astro.ts * Apply suggestions from code review * fix regex --------- Co-authored-by: Matt Kane Co-authored-by: Emanuele Stoppa --- packages/astro/src/@types/astro.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index a10ad51262..439c5073ac 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -2275,6 +2275,10 @@ export interface AstroUserConfig { * export const collections = { blog, dogs }; * ``` * + * :::note + * Loaders will not automatically [exclude files prefaced with an `_`](/en/guides/routing/#excluding-pages). Use a regular expression such as `pattern: '**\/[^_]*.md` in your loader to ignore these files. + * ::: + * * #### Querying and rendering with the Content Layer API * * The collection can be [queried in the same way as content collections](/en/guides/content-collections/#querying-collections): @@ -2356,7 +2360,7 @@ export interface AstroUserConfig { * const blog = defineCollection({ * // For content layer you no longer define a `type` * type: 'content', - * loader: glob({ pattern: "**\/*.md", base: "./src/data/blog" }), + * loader: glob({ pattern: '**\/[^_]*.md', base: "./src/data/blog" }), * schema: z.object({ * title: z.string(), * description: z.string(), From 826dc2a85aafa26b066c0889eeea493bb6f14b0a Mon Sep 17 00:00:00 2001 From: Sarah Rainsberger Date: Mon, 19 Aug 2024 15:28:04 +0000 Subject: [PATCH 08/66] [ci] format --- packages/astro/src/@types/astro.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 439c5073ac..6dad345617 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -2275,7 +2275,7 @@ export interface AstroUserConfig { * export const collections = { blog, dogs }; * ``` * - * :::note + * :::note * Loaders will not automatically [exclude files prefaced with an `_`](/en/guides/routing/#excluding-pages). Use a regular expression such as `pattern: '**\/[^_]*.md` in your loader to ignore these files. * ::: * From c6400ab99c5e5f4477bc6ef7e801b7869b0aa9ab Mon Sep 17 00:00:00 2001 From: Florian Lefebvre Date: Mon, 19 Aug 2024 20:04:51 +0200 Subject: [PATCH 09/66] fix: injectTypes path (#11774) --- .changeset/odd-donuts-impress.md | 5 +++++ packages/astro/src/integrations/hooks.ts | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/odd-donuts-impress.md diff --git a/.changeset/odd-donuts-impress.md b/.changeset/odd-donuts-impress.md new file mode 100644 index 0000000000..7dd8d6b1b4 --- /dev/null +++ b/.changeset/odd-donuts-impress.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes the path returned by `injectTypes` diff --git a/packages/astro/src/integrations/hooks.ts b/packages/astro/src/integrations/hooks.ts index c0b9604335..aa62572ee8 100644 --- a/packages/astro/src/integrations/hooks.ts +++ b/packages/astro/src/integrations/hooks.ts @@ -351,7 +351,9 @@ export async function runHookConfigDone({ content: injectedType.content, }); - return new URL(normalizedFilename, settings.config.root); + // It must be relative to dotAstroDir here and not inside normalizeInjectedTypeFilename + // because injectedTypes are handled relatively to the dotAstroDir already + return new URL(normalizedFilename, settings.dotAstroDir); }, logger: getLogger(integration, logger), }), From fc81b01bcdd43646bcc615b16bf0400a646445c8 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Mon, 19 Aug 2024 15:45:02 -0400 Subject: [PATCH 10/66] Prevent race condition in Vercel adapter on Node 18 (#11783) --- .changeset/smooth-melons-cough.md | 7 +++++++ packages/integrations/vercel/src/serverless/entrypoint.ts | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .changeset/smooth-melons-cough.md diff --git a/.changeset/smooth-melons-cough.md b/.changeset/smooth-melons-cough.md new file mode 100644 index 0000000000..0a4a3ea9d8 --- /dev/null +++ b/.changeset/smooth-melons-cough.md @@ -0,0 +1,7 @@ +--- +'@astrojs/vercel': patch +--- + +Prevent race condition with Node 18 + +Using Node 18 there can be a race condition where polyfill for the `crypto` global is not applied in time. This change ensures the polyfills run first. diff --git a/packages/integrations/vercel/src/serverless/entrypoint.ts b/packages/integrations/vercel/src/serverless/entrypoint.ts index 876ab6b07f..a881d701ab 100644 --- a/packages/integrations/vercel/src/serverless/entrypoint.ts +++ b/packages/integrations/vercel/src/serverless/entrypoint.ts @@ -8,14 +8,15 @@ import { ASTRO_PATH_PARAM, } from './adapter.js'; +// Run polyfills immediately so any dependent code can use the globals +applyPolyfills(); + // Won't throw if the virtual module is not available because it's not supported in // the users's astro version or if astro:env is not enabled in the project await import('astro/env/setup') .then((mod) => mod.setGetEnv((key) => process.env[key])) .catch(() => {}); -applyPolyfills(); - export const createExports = ( manifest: SSRManifest, { middlewareSecret, skewProtection }: { middlewareSecret: string; skewProtection: boolean }, From 86a33915ff41b23ff6b35bcfb1805fefc0760ca7 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Tue, 20 Aug 2024 07:45:59 +0100 Subject: [PATCH 11/66] fix: adapter features messaging (#11773) * fix: adapter features messaging * Apply suggestions from code review Co-authored-by: Sarah Rainsberger * Update .changeset/long-months-burn.md Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com> --------- Co-authored-by: Sarah Rainsberger Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com> --- .changeset/long-months-burn.md | 5 +++++ packages/astro/src/integrations/features-validation.ts | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/long-months-burn.md diff --git a/.changeset/long-months-burn.md b/.changeset/long-months-burn.md new file mode 100644 index 0000000000..4b11c58a17 --- /dev/null +++ b/.changeset/long-months-burn.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Changes messages logged when using unsupported, deprecated, or experimental adapter features for clarity diff --git a/packages/astro/src/integrations/features-validation.ts b/packages/astro/src/integrations/features-validation.ts index 87de3592b7..bd08a876d2 100644 --- a/packages/astro/src/integrations/features-validation.ts +++ b/packages/astro/src/integrations/features-validation.ts @@ -124,20 +124,20 @@ function validateSupportKind( } function featureIsUnsupported(adapterName: string, logger: Logger, featureName: string) { - logger.error('config', `The feature "${featureName}" is not supported (used by ${adapterName}).`); + logger.error('config', `The adapter ${adapterName} doesn't currently support the feature "${featureName}".`); } function featureIsExperimental(adapterName: string, logger: Logger, featureName: string) { logger.warn( 'config', - `The feature "${featureName}" is experimental and subject to change (used by ${adapterName}).`, + `The adapter ${adapterName} provides experimental support for "${featureName}". You may experience issues or breaking changes until this feature is fully supported by the adapter.`, ); } function featureIsDeprecated(adapterName: string, logger: Logger, featureName: string) { logger.warn( 'config', - `The feature "${featureName}" is deprecated and will be removed in the future (used by ${adapterName}).`, + `The adapter ${adapterName} has deprecated its support for "${featureName}", and future compatibility is not guaranteed. The adapter may completely remove support for this feature without warning.`, ); } From b5584248b1b5bc7b6a99d207f6eb6edee6f957f8 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Tue, 20 Aug 2024 06:46:46 +0000 Subject: [PATCH 12/66] [ci] format --- packages/astro/src/integrations/features-validation.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/astro/src/integrations/features-validation.ts b/packages/astro/src/integrations/features-validation.ts index bd08a876d2..e0613c6e80 100644 --- a/packages/astro/src/integrations/features-validation.ts +++ b/packages/astro/src/integrations/features-validation.ts @@ -124,7 +124,10 @@ function validateSupportKind( } function featureIsUnsupported(adapterName: string, logger: Logger, featureName: string) { - logger.error('config', `The adapter ${adapterName} doesn't currently support the feature "${featureName}".`); + logger.error( + 'config', + `The adapter ${adapterName} doesn't currently support the feature "${featureName}".`, + ); } function featureIsExperimental(adapterName: string, logger: Logger, featureName: string) { From 88b6dca63b56ef12b92543384365f8f7f1cad85d Mon Sep 17 00:00:00 2001 From: liruifengv Date: Tue, 20 Aug 2024 17:26:36 +0800 Subject: [PATCH 13/66] [docs] fix indents (#11786) --- packages/astro/src/@types/astro.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 6dad345617..c584e56573 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -2359,8 +2359,8 @@ export interface AstroUserConfig { * * const blog = defineCollection({ * // For content layer you no longer define a `type` - * type: 'content', - * loader: glob({ pattern: '**\/[^_]*.md', base: "./src/data/blog" }), + * type: 'content', + * loader: glob({ pattern: '**\/[^_]*.md', base: "./src/data/blog" }), * schema: z.object({ * title: z.string(), * description: z.string(), @@ -2391,13 +2391,13 @@ export interface AstroUserConfig { * ```astro ins={4,9} del={3,8} * // src/pages/index.astro * --- - * import { getEntry } from 'astro:content'; - * import { getEntry, render } from 'astro:content'; + * import { getEntry } from 'astro:content'; + * import { getEntry, render } from 'astro:content'; * - * const post = await getEntry('blog', params.slug); + * const post = await getEntry('blog', params.slug); * - * const { Content, headings } = await post.render(); - * const { Content, headings } = await render(post); + * const { Content, headings } = await post.render(); + * const { Content, headings } = await render(post); * --- * * From 1fd84b6bbc42885d0a80ea65a87b4a7946320924 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Tue, 20 Aug 2024 18:25:04 +0800 Subject: [PATCH 14/66] Remove unused code in internal scripts (#11769) --- biome.json | 2 +- packages/astro/package.json | 5 +- packages/internal-helpers/package.json | 1 - packages/markdown/remark/package.json | 1 - packages/underscore-redirects/package.json | 1 - pnpm-lock.yaml | 313 +-------------------- scripts/cmd/build.js | 50 ++-- scripts/cmd/copy.js | 86 ------ scripts/cmd/prebuild.js | 21 +- scripts/cmd/test.js | 14 +- scripts/deps/update-example-versions.js | 2 +- scripts/index.js | 5 - scripts/package.json | 14 +- scripts/stats/index.js | 130 --------- scripts/stats/stats.csv | 270 ------------------ scripts/utils/svelte-plugin.js | 70 ----- 16 files changed, 58 insertions(+), 927 deletions(-) delete mode 100644 scripts/cmd/copy.js delete mode 100644 scripts/stats/index.js delete mode 100644 scripts/stats/stats.csv delete mode 100644 scripts/utils/svelte-plugin.js diff --git a/biome.json b/biome.json index 67e2a4620e..20653e9410 100644 --- a/biome.json +++ b/biome.json @@ -9,7 +9,7 @@ "**/vendor/**", "**/.vercel/**" ], - "include": ["test/**", "e2e/**", "packages/**"] + "include": ["test/**", "e2e/**", "packages/**", "/scripts/**"] }, "formatter": { "indentStyle": "tab", diff --git a/packages/astro/package.json b/packages/astro/package.json index 263d9389e9..479024de22 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -109,10 +109,9 @@ ], "scripts": { "prebuild": "astro-scripts prebuild --to-string \"src/runtime/server/astro-island.ts\" \"src/runtime/client/{idle,load,media,only,visible}.ts\"", - "build": "pnpm run prebuild && astro-scripts build \"src/**/*.{ts,js}\" && tsc && pnpm run postbuild", - "build:ci": "pnpm run prebuild && astro-scripts build \"src/**/*.{ts,js}\" && pnpm run postbuild", + "build": "pnpm run prebuild && astro-scripts build \"src/**/*.{ts,js}\" --copy-wasm && tsc", + "build:ci": "pnpm run prebuild && astro-scripts build \"src/**/*.{ts,js}\" --copy-wasm", "dev": "astro-scripts dev --copy-wasm --prebuild \"src/runtime/server/astro-island.ts\" --prebuild \"src/runtime/client/{idle,load,media,only,visible}.ts\" \"src/**/*.{ts,js}\"", - "postbuild": "astro-scripts copy \"src/**/*.astro\" && astro-scripts copy \"src/**/*.wasm\"", "test": "pnpm run test:node && pnpm run test:types", "test:match": "pnpm run test:node --match", "test:e2e": "pnpm test:e2e:chrome && pnpm test:e2e:firefox", diff --git a/packages/internal-helpers/package.json b/packages/internal-helpers/package.json index 8f931b31db..bbf4938b0c 100644 --- a/packages/internal-helpers/package.json +++ b/packages/internal-helpers/package.json @@ -32,7 +32,6 @@ "prepublish": "pnpm build", "build": "astro-scripts build \"src/**/*.ts\" && tsc -p tsconfig.json", "build:ci": "astro-scripts build \"src/**/*.ts\"", - "postbuild": "astro-scripts copy \"src/**/*.js\"", "dev": "astro-scripts dev \"src/**/*.ts\"" }, "devDependencies": { diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 87cba7d1f1..2bb99500f6 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -29,7 +29,6 @@ "prepublish": "pnpm build", "build": "astro-scripts build \"src/**/*.ts\" && tsc -p tsconfig.json", "build:ci": "astro-scripts build \"src/**/*.ts\"", - "postbuild": "astro-scripts copy \"src/**/*.js\"", "dev": "astro-scripts dev \"src/**/*.ts\"", "test": "astro-scripts test \"test/**/*.test.js\"" }, diff --git a/packages/underscore-redirects/package.json b/packages/underscore-redirects/package.json index 65d6149b46..38de31d4bf 100644 --- a/packages/underscore-redirects/package.json +++ b/packages/underscore-redirects/package.json @@ -23,7 +23,6 @@ "prepublish": "pnpm build", "build": "astro-scripts build \"src/**/*.ts\" && tsc -p tsconfig.json", "build:ci": "astro-scripts build \"src/**/*.ts\"", - "postbuild": "astro-scripts copy \"src/**/*.js\"", "dev": "astro-scripts dev \"src/**/*.ts\"", "test": "astro-scripts test \"test/**/*.test.js\"" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b1ab64c937..633acc7af6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5982,43 +5982,24 @@ importers: scripts: dependencies: - arg: - specifier: ^5.0.2 - version: 5.0.2 esbuild: specifier: ^0.21.5 version: 0.21.5 - globby: - specifier: ^14.0.2 - version: 14.0.2 - kleur: - specifier: ^4.1.5 - version: 4.1.5 - p-limit: - specifier: ^6.1.0 - version: 6.1.0 - svelte: - specifier: ^4.2.18 - version: 4.2.18 - tar: - specifier: ^7.4.3 - version: 7.4.3 - tiny-glob: - specifier: ^0.2.9 - version: 0.2.9 - devDependencies: - '@octokit/action': - specifier: ^7.0.0 - version: 7.0.0 - del: - specifier: ^7.1.0 - version: 7.1.0 esbuild-plugin-copy: specifier: ^2.1.1 version: 2.1.1(esbuild@0.21.5) execa: specifier: ^8.0.1 version: 8.0.1 + fast-glob: + specifier: ^3.3.2 + version: 3.3.2 + kleur: + specifier: ^4.1.5 + version: 4.1.5 + p-limit: + specifier: ^6.1.0 + version: 6.1.0 tsconfck: specifier: ^3.1.1 version: 3.1.1(typescript@5.5.4) @@ -6986,10 +6967,6 @@ packages: resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} - '@isaacs/fs-minipass@4.0.1': - resolution: {integrity: sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==} - engines: {node: '>=18.0.0'} - '@jridgewell/gen-mapping@0.3.5': resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} engines: {node: '>=6.0.0'} @@ -7175,56 +7152,6 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@octokit/action@7.0.0': - resolution: {integrity: sha512-YVstbUS7vbW0frVGAGtYpSqjbgCwQW1OO0WS+sc/fx0RnW0PP4kPgMCmkgkLAm51WyYTWOOQRA1HuaGTSFgyfQ==} - engines: {node: '>= 18'} - - '@octokit/auth-action@5.1.1': - resolution: {integrity: sha512-JE2gbAZcwwVuww88YY7oB97P6eVAPgKZk2US9Uyz+ZUw5ubeRkZqog7G/gUEAjayIFt8s0UX3qNntP1agVcB0g==} - engines: {node: '>= 18'} - - '@octokit/auth-token@5.1.1': - resolution: {integrity: sha512-rh3G3wDO8J9wSjfI436JUKzHIxq8NaiL0tVeB2aXmG6p/9859aUOAjA9pmSPNGGZxfwmaJ9ozOJImuNVJdpvbA==} - engines: {node: '>= 18'} - - '@octokit/core@6.1.2': - resolution: {integrity: sha512-hEb7Ma4cGJGEUNOAVmyfdB/3WirWMg5hDuNFVejGEDFqupeOysLc2sG6HJxY2etBp5YQu5Wtxwi020jS9xlUwg==} - engines: {node: '>= 18'} - - '@octokit/endpoint@10.1.1': - resolution: {integrity: sha512-JYjh5rMOwXMJyUpj028cu0Gbp7qe/ihxfJMLc8VZBMMqSwLgOxDI1911gV4Enl1QSavAQNJcwmwBF9M0VvLh6Q==} - engines: {node: '>= 18'} - - '@octokit/graphql@8.1.1': - resolution: {integrity: sha512-ukiRmuHTi6ebQx/HFRCXKbDlOh/7xEV6QUXaE7MJEKGNAncGI/STSbOkl12qVXZrfZdpXctx5O9X1AIaebiDBg==} - engines: {node: '>= 18'} - - '@octokit/openapi-types@22.2.0': - resolution: {integrity: sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==} - - '@octokit/plugin-paginate-rest@11.3.0': - resolution: {integrity: sha512-n4znWfRinnUQF6TPyxs7EctSAA3yVSP4qlJP2YgI3g9d4Ae2n5F3XDOjbUluKRxPU3rfsgpOboI4O4VtPc6Ilg==} - engines: {node: '>= 18'} - peerDependencies: - '@octokit/core': '>=6' - - '@octokit/plugin-rest-endpoint-methods@13.2.1': - resolution: {integrity: sha512-YMWBw6Exh1ZBs5cCE0AnzYxSQDIJS00VlBqISTgNYmu5MBdeM07K/MAJjy/VkNaH5jpJmD/5HFUvIZ+LDB5jSQ==} - engines: {node: '>= 18'} - peerDependencies: - '@octokit/core': '>=6' - - '@octokit/request-error@6.1.1': - resolution: {integrity: sha512-1mw1gqT3fR/WFvnoVpY/zUM2o/XkMs/2AszUUG9I69xn0JFLv6PGkPhNk5lbfvROs79wiS0bqiJNxfCZcRJJdg==} - engines: {node: '>= 18'} - - '@octokit/request@9.1.1': - resolution: {integrity: sha512-pyAguc0p+f+GbQho0uNetNQMmLG1e80WjkIaqqgUkihqUp0boRU6nKItXO4VWnr+nbZiLGEyy4TeKRwqaLvYgw==} - engines: {node: '>= 18'} - - '@octokit/types@13.5.0': - resolution: {integrity: sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==} - '@oslojs/encoding@0.4.1': resolution: {integrity: sha512-hkjo6MuIK/kQR5CrGNdAPZhS01ZCXuWDRJ187zh6qqF2+yMHZpD9fAYpX8q2bOO6Ryhl3XpCT6kUX76N8hhm4Q==} @@ -7854,10 +7781,6 @@ packages: resolution: {integrity: sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==} engines: {node: '>= 14'} - aggregate-error@4.0.1: - resolution: {integrity: sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==} - engines: {node: '>=12'} - ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} @@ -8013,9 +7936,6 @@ packages: bcp-47-match@2.0.3: resolution: {integrity: sha512-JtTezzbAibu8G0R9op9zb3vcWZd9JF6M0xOYGPn0fNCd7wOpRB1mU2mH9T8gaBGbAAyIIVgB2G7xG0GP98zMAQ==} - before-after-hook@3.0.2: - resolution: {integrity: sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==} - better-path-resolve@1.0.0: resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==} engines: {node: '>=4'} @@ -8159,10 +8079,6 @@ packages: resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} engines: {node: '>=10'} - chownr@3.0.0: - resolution: {integrity: sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==} - engines: {node: '>=18'} - ci-info@3.9.0: resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} engines: {node: '>=8'} @@ -8178,10 +8094,6 @@ packages: resolution: {integrity: sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==} engines: {node: '>= 4.0'} - clean-stack@4.2.0: - resolution: {integrity: sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==} - engines: {node: '>=12'} - cli-boxes@3.0.0: resolution: {integrity: sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==} engines: {node: '>=10'} @@ -8442,10 +8354,6 @@ packages: defu@6.1.4: resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} - del@7.1.0: - resolution: {integrity: sha512-v2KyNk7efxhlyHpjEvfyxaAihKKK0nWCuf6ZtqZcFFpQRG0bJ12Qsr0RpvsICMjAAZ8DOVCxrlqpxISlMHC4Kg==} - engines: {node: '>=14.16'} - delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} @@ -9011,24 +8919,14 @@ packages: resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} engines: {node: '>=18'} - globalyzer@0.1.0: - resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==} - globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} - globby@13.2.2: - resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - globby@14.0.2: resolution: {integrity: sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==} engines: {node: '>=18'} - globrex@0.1.2: - resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} - gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} @@ -9229,10 +9127,6 @@ packages: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} - indent-string@5.0.0: - resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==} - engines: {node: '>=12'} - inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. @@ -9310,18 +9204,10 @@ packages: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} - is-path-cwd@3.0.0: - resolution: {integrity: sha512-kyiNFFLU0Ampr6SDZitD/DwUo4Zs1nSdnygUBqsu3LooL00Qvb5j+UnvApUn/TTj1J3OuE6BTdQ5rudKmU2ZaA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - is-path-inside@3.0.3: resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} engines: {node: '>=8'} - is-path-inside@4.0.0: - resolution: {integrity: sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==} - engines: {node: '>=12'} - is-plain-obj@4.1.0: resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} engines: {node: '>=12'} @@ -9866,10 +9752,6 @@ packages: resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} engines: {node: '>= 8'} - minizlib@3.0.1: - resolution: {integrity: sha512-umcy022ILvb5/3Djuu8LWeqUa8D68JaBzlttKeMWen48SjabqS3iY5w/vzeMzMUNhLDifyhbOwKDSznB1vvrwg==} - engines: {node: '>= 18'} - mitt@3.0.1: resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==} @@ -9881,11 +9763,6 @@ packages: engines: {node: '>=10'} hasBin: true - mkdirp@3.0.1: - resolution: {integrity: sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==} - engines: {node: '>=10'} - hasBin: true - mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -10096,10 +9973,6 @@ packages: resolution: {integrity: sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==} engines: {node: '>=6'} - p-map@5.5.0: - resolution: {integrity: sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==} - engines: {node: '>=12'} - p-queue@8.0.1: resolution: {integrity: sha512-NXzu9aQJTAzbBqOt2hwsR63ea7yvxJc0PwN/zobNAudYfb1B7R08SzB4TsLeSbUCuG467NhnoT0oO6w1qRO+BA==} engines: {node: '>=18'} @@ -10715,11 +10588,6 @@ packages: deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true - rimraf@5.0.5: - resolution: {integrity: sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==} - engines: {node: '>=14'} - hasBin: true - rollup@4.21.0: resolution: {integrity: sha512-vo+S/lfA2lMS7rZ2Qoubi6I5hwZwzXeUIctILZLbHI+laNtvhhOIon2S1JksA5UEDQ7l3vberd0fxK44lTYjbQ==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} @@ -10887,10 +10755,6 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - slash@4.0.0: - resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} - engines: {node: '>=12'} - slash@5.1.0: resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} engines: {node: '>=14.16'} @@ -11087,10 +10951,6 @@ packages: resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==} engines: {node: '>=10'} - tar@7.4.3: - resolution: {integrity: sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==} - engines: {node: '>=18'} - term-size@2.2.1: resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} engines: {node: '>=8'} @@ -11119,9 +10979,6 @@ packages: resolution: {integrity: sha512-wMctrWD2HZZLuIlchlkE2dfXJh7J2KDI9Dwl+2abPYg0mswQHfOAyQW3jJg1pY5VfttSINZuKcXoB3FGypVklA==} engines: {node: '>=8'} - tiny-glob@0.2.9: - resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==} - tinybench@2.8.0: resolution: {integrity: sha512-1/eK7zUnIklz4JUUlL+658n58XO2hHLQfSk1Zf2LKieUjxidN16eKFEoDEfjHc3ohofSSqK3X5yO6VGb6iW8Lw==} @@ -11360,9 +11217,6 @@ packages: unist-util-visit@5.0.0: resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==} - universal-user-agent@7.0.2: - resolution: {integrity: sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==} - universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} @@ -11790,10 +11644,6 @@ packages: yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - yallist@5.0.0: - resolution: {integrity: sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==} - engines: {node: '>=18'} - yaml-language-server@1.15.0: resolution: {integrity: sha512-N47AqBDCMQmh6mBLmI6oqxryHRzi33aPFPsJhYy3VTUGCdLHYjGh4FZzpUjRlphaADBBkDmnkM/++KNIOHi5Rw==} hasBin: true @@ -12887,10 +12737,6 @@ snapshots: wrap-ansi: 8.1.0 wrap-ansi-cjs: wrap-ansi@7.0.0 - '@isaacs/fs-minipass@4.0.1': - dependencies: - minipass: 7.1.2 - '@jridgewell/gen-mapping@0.3.5': dependencies: '@jridgewell/set-array': 1.2.1 @@ -13113,70 +12959,6 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@octokit/action@7.0.0': - dependencies: - '@octokit/auth-action': 5.1.1 - '@octokit/core': 6.1.2 - '@octokit/plugin-paginate-rest': 11.3.0(@octokit/core@6.1.2) - '@octokit/plugin-rest-endpoint-methods': 13.2.1(@octokit/core@6.1.2) - '@octokit/types': 13.5.0 - undici: 6.19.7 - - '@octokit/auth-action@5.1.1': - dependencies: - '@octokit/auth-token': 5.1.1 - '@octokit/types': 13.5.0 - - '@octokit/auth-token@5.1.1': {} - - '@octokit/core@6.1.2': - dependencies: - '@octokit/auth-token': 5.1.1 - '@octokit/graphql': 8.1.1 - '@octokit/request': 9.1.1 - '@octokit/request-error': 6.1.1 - '@octokit/types': 13.5.0 - before-after-hook: 3.0.2 - universal-user-agent: 7.0.2 - - '@octokit/endpoint@10.1.1': - dependencies: - '@octokit/types': 13.5.0 - universal-user-agent: 7.0.2 - - '@octokit/graphql@8.1.1': - dependencies: - '@octokit/request': 9.1.1 - '@octokit/types': 13.5.0 - universal-user-agent: 7.0.2 - - '@octokit/openapi-types@22.2.0': {} - - '@octokit/plugin-paginate-rest@11.3.0(@octokit/core@6.1.2)': - dependencies: - '@octokit/core': 6.1.2 - '@octokit/types': 13.5.0 - - '@octokit/plugin-rest-endpoint-methods@13.2.1(@octokit/core@6.1.2)': - dependencies: - '@octokit/core': 6.1.2 - '@octokit/types': 13.5.0 - - '@octokit/request-error@6.1.1': - dependencies: - '@octokit/types': 13.5.0 - - '@octokit/request@9.1.1': - dependencies: - '@octokit/endpoint': 10.1.1 - '@octokit/request-error': 6.1.1 - '@octokit/types': 13.5.0 - universal-user-agent: 7.0.2 - - '@octokit/types@13.5.0': - dependencies: - '@octokit/openapi-types': 22.2.0 - '@oslojs/encoding@0.4.1': {} '@parse5/tools@0.3.0': @@ -13943,11 +13725,6 @@ snapshots: transitivePeerDependencies: - supports-color - aggregate-error@4.0.1: - dependencies: - clean-stack: 4.2.0 - indent-string: 5.0.0 - ajv@6.12.6: dependencies: fast-deep-equal: 3.1.3 @@ -14121,8 +13898,6 @@ snapshots: bcp-47-match@2.0.3: {} - before-after-hook@3.0.2: {} - better-path-resolve@1.0.0: dependencies: is-windows: 1.0.2 @@ -14301,8 +14076,6 @@ snapshots: chownr@2.0.0: {} - chownr@3.0.0: {} - ci-info@3.9.0: {} ci-info@4.0.0: {} @@ -14315,10 +14088,6 @@ snapshots: dependencies: source-map: 0.6.1 - clean-stack@4.2.0: - dependencies: - escape-string-regexp: 5.0.0 - cli-boxes@3.0.0: {} cli-cursor@4.0.0: @@ -14537,17 +14306,6 @@ snapshots: defu@6.1.4: {} - del@7.1.0: - dependencies: - globby: 13.2.2 - graceful-fs: 4.2.11 - is-glob: 4.0.3 - is-path-cwd: 3.0.0 - is-path-inside: 4.0.0 - p-map: 5.5.0 - rimraf: 3.0.2 - slash: 4.0.0 - delayed-stream@1.0.0: {} delegates@1.0.0: {} @@ -15101,8 +14859,6 @@ snapshots: globals@14.0.0: {} - globalyzer@0.1.0: {} - globby@11.1.0: dependencies: array-union: 2.1.0 @@ -15112,14 +14868,6 @@ snapshots: merge2: 1.4.1 slash: 3.0.0 - globby@13.2.2: - dependencies: - dir-glob: 3.0.1 - fast-glob: 3.3.2 - ignore: 5.3.1 - merge2: 1.4.1 - slash: 4.0.0 - globby@14.0.2: dependencies: '@sindresorhus/merge-streams': 2.3.0 @@ -15129,8 +14877,6 @@ snapshots: slash: 5.1.0 unicorn-magic: 0.1.0 - globrex@0.1.2: {} - gopd@1.0.1: dependencies: get-intrinsic: 1.2.4 @@ -15448,8 +15194,6 @@ snapshots: imurmurhash@0.1.4: {} - indent-string@5.0.0: {} - inflight@1.0.6: dependencies: once: 1.4.0 @@ -15506,12 +15250,8 @@ snapshots: is-number@7.0.0: {} - is-path-cwd@3.0.0: {} - is-path-inside@3.0.3: {} - is-path-inside@4.0.0: {} - is-plain-obj@4.1.0: {} is-potential-custom-element-name@1.0.1: {} @@ -16350,19 +16090,12 @@ snapshots: minipass: 3.3.6 yallist: 4.0.0 - minizlib@3.0.1: - dependencies: - minipass: 7.1.2 - rimraf: 5.0.5 - mitt@3.0.1: {} mj-context-menu@0.6.1: {} mkdirp@1.0.4: {} - mkdirp@3.0.1: {} - mri@1.2.0: {} mrmime@2.0.0: {} @@ -16567,10 +16300,6 @@ snapshots: p-map@2.1.0: {} - p-map@5.5.0: - dependencies: - aggregate-error: 4.0.1 - p-queue@8.0.1: dependencies: eventemitter3: 5.0.1 @@ -17293,10 +17022,6 @@ snapshots: dependencies: glob: 7.2.3 - rimraf@5.0.5: - dependencies: - glob: 10.3.12 - rollup@4.21.0: dependencies: '@types/estree': 1.0.5 @@ -17522,8 +17247,6 @@ snapshots: slash@3.0.0: {} - slash@4.0.0: {} - slash@5.1.0: {} slice-ansi@5.0.0: @@ -17755,15 +17478,6 @@ snapshots: mkdirp: 1.0.4 yallist: 4.0.0 - tar@7.4.3: - dependencies: - '@isaacs/fs-minipass': 4.0.1 - chownr: 3.0.0 - minipass: 7.1.2 - minizlib: 3.0.1 - mkdirp: 3.0.1 - yallist: 5.0.0 - term-size@2.2.1: {} terminal-link@3.0.0: @@ -17787,11 +17501,6 @@ snapshots: timestring@6.0.0: {} - tiny-glob@0.2.9: - dependencies: - globalyzer: 0.1.0 - globrex: 0.1.2 - tinybench@2.8.0: {} tinypool@1.0.0: {} @@ -18016,8 +17725,6 @@ snapshots: unist-util-is: 6.0.0 unist-util-visit-parents: 6.0.1 - universal-user-agent@7.0.2: {} - universalify@0.1.2: {} universalify@0.2.0: {} @@ -18437,8 +18144,6 @@ snapshots: yallist@4.0.0: {} - yallist@5.0.0: {} - yaml-language-server@1.15.0: dependencies: ajv: 8.17.1 diff --git a/scripts/cmd/build.js b/scripts/cmd/build.js index 5dd2006432..e1c7129938 100644 --- a/scripts/cmd/build.js +++ b/scripts/cmd/build.js @@ -1,10 +1,8 @@ -import { deleteAsync } from 'del'; +import fs from 'node:fs/promises'; import esbuild from 'esbuild'; import { copy } from 'esbuild-plugin-copy'; +import glob from 'fast-glob'; import { dim, green, red, yellow } from 'kleur/colors'; -import { promises as fs } from 'node:fs'; -import glob from 'tiny-glob'; -import svelte from '../utils/svelte-plugin.js'; import prebuild from './prebuild.js'; /** @type {import('esbuild').BuildOptions} */ @@ -44,8 +42,8 @@ export default async function build(...args) { .map((f) => f.replace(/^'/, '').replace(/'$/, '')); // Needed for Windows: glob strings contain surrounding string chars??? remove these let entryPoints = [].concat( ...(await Promise.all( - patterns.map((pattern) => glob(pattern, { filesOnly: true, absolute: true })) - )) + patterns.map((pattern) => glob(pattern, { filesOnly: true, absolute: true })), + )), ); const noClean = args.includes('--no-clean-dist'); @@ -67,6 +65,16 @@ export default async function build(...args) { await clean(outdir); } + const copyPlugin = copyWASM + ? copy({ + resolveFrom: 'cwd', + assets: { + from: ['./src/assets/services/vendor/squoosh/**/*.wasm'], + to: ['./dist/assets/services/vendor/squoosh'], + }, + }) + : null; + if (!isDev) { await esbuild.build({ ...config, @@ -76,6 +84,7 @@ export default async function build(...args) { outdir, outExtension: forceCJS ? { '.js': '.cjs' } : {}, format, + plugins: [copyPlugin].filter(Boolean), }); return; } @@ -93,7 +102,7 @@ export default async function build(...args) { } else { if (result.warnings.length) { console.log( - dim(`[${date}] `) + yellow('⚠ updated with warnings:\n' + result.warnings.join('\n')) + dim(`[${date}] `) + yellow('⚠ updated with warnings:\n' + result.warnings.join('\n')), ); } console.log(dim(`[${date}] `) + green('✔ updated')); @@ -108,21 +117,7 @@ export default async function build(...args) { outdir, format, sourcemap: 'linked', - plugins: [ - rebuildPlugin, - svelte({ isDev }), - ...(copyWASM - ? [ - copy({ - resolveFrom: 'cwd', - assets: { - from: ['./src/assets/services/vendor/squoosh/**/*.wasm'], - to: ['./dist/assets/services/vendor/squoosh'], - }, - }), - ] - : []), - ], + plugins: [rebuildPlugin, copyPlugin].filter(Boolean), }); await builder.watch(); @@ -133,9 +128,8 @@ export default async function build(...args) { } async function clean(outdir) { - await deleteAsync([`${outdir}/**`, `!${outdir}/**/*.d.ts`], { - onlyFiles: true, - }); + const files = await glob([`${outdir}/**`, `!${outdir}/**/*.d.ts`], { filesOnly: true }); + await Promise.all(files.map((file) => fs.rm(file, { force: true }))); } /** @@ -148,7 +142,7 @@ async function getDefinedEntries() { PACKAGE_VERSION: await getInternalPackageVersion('./package.json'), /** The current version (at the time of building) for `astro` */ ASTRO_VERSION: await getInternalPackageVersion( - new URL('../../packages/astro/package.json', import.meta.url) + new URL('../../packages/astro/package.json', import.meta.url), ), /** The current version (at the time of building) for `@astrojs/check` */ ASTRO_CHECK_VERSION: await getWorkspacePackageVersion('@astrojs/check'), @@ -173,13 +167,13 @@ async function getInternalPackageVersion(path) { async function getWorkspacePackageVersion(packageName) { const { dependencies, devDependencies } = await readPackageJSON( - new URL('../../package.json', import.meta.url) + new URL('../../package.json', import.meta.url), ); const deps = { ...dependencies, ...devDependencies }; const version = deps[packageName]; if (!version) { throw new Error( - `Unable to resolve "${packageName}". Is it a dependency of the workspace root?` + `Unable to resolve "${packageName}". Is it a dependency of the workspace root?`, ); } return version.replace(/^\D+/, ''); diff --git a/scripts/cmd/copy.js b/scripts/cmd/copy.js deleted file mode 100644 index 948ed114fe..0000000000 --- a/scripts/cmd/copy.js +++ /dev/null @@ -1,86 +0,0 @@ -import { globby as glob } from 'globby'; -import { promises as fs, readFileSync } from 'node:fs'; -import { posix } from 'node:path'; -import { parseArgs } from 'node:util'; -import * as tar from 'tar/create'; - -const { resolve, dirname, sep, join } = posix; - -export default async function copy() { - const args = parseArgs({ - allowPositionals: true, - options: { - tgz: { type: 'boolean' }, - }, - }); - const patterns = args.positionals.slice(1); - const isCompress = args.values.tgz; - - if (isCompress) { - const files = await glob(patterns, { gitignore: true }); - const rootDir = resolveRootDir(files); - const destDir = rootDir.replace(/^[^/]+/, 'dist'); - - const templates = files.reduce((acc, curr) => { - const name = curr.replace(rootDir, '').slice(1).split(sep)[0]; - if (acc[name]) { - acc[name].push(resolve(curr)); - } else { - acc[name] = [resolve(curr)]; - } - return acc; - }, {}); - - let meta = {}; - return Promise.all( - Object.entries(templates).map(([template, files]) => { - const cwd = resolve(join(rootDir, template)); - const dest = join(destDir, `${template}.tgz`); - const metafile = files.find((f) => f.endsWith('meta.json')); - if (metafile) { - files = files.filter((f) => f !== metafile); - meta[template] = JSON.parse(readFileSync(metafile).toString()); - } - return fs.mkdir(dirname(dest), { recursive: true }).then(() => - tar.create( - { - gzip: true, - portable: true, - file: dest, - cwd, - }, - files.map((f) => f.replace(cwd, '').slice(1)) - ) - ); - }) - ).then(() => { - if (Object.keys(meta).length > 0) { - return fs.writeFile(resolve(destDir, 'meta.json'), JSON.stringify(meta, null, 2)); - } - }); - } - - const files = await glob(patterns); - await Promise.all( - files.map((file) => { - const dest = resolve(file.replace(/^[^/]+/, 'dist')); - return fs - .mkdir(dirname(dest), { recursive: true }) - .then(() => fs.copyFile(resolve(file), dest, fs.constants.COPYFILE_FICLONE)); - }) - ); -} - -function resolveRootDir(files) { - return files - .reduce((acc, curr) => { - const currParts = curr.split(sep); - if (acc.length === 0) return currParts; - const result = []; - currParts.forEach((part, i) => { - if (acc[i] === part) result.push(part); - }); - return result; - }, []) - .join(sep); -} diff --git a/scripts/cmd/prebuild.js b/scripts/cmd/prebuild.js index de3a369107..7c4174abf3 100644 --- a/scripts/cmd/prebuild.js +++ b/scripts/cmd/prebuild.js @@ -1,9 +1,9 @@ -import esbuild from 'esbuild'; -import { red } from 'kleur/colors'; import fs from 'node:fs'; import path from 'node:path'; import { fileURLToPath, pathToFileURL } from 'node:url'; -import glob from 'tiny-glob'; +import esbuild from 'esbuild'; +import glob from 'fast-glob'; +import { red } from 'kleur/colors'; function escapeTemplateLiterals(str) { return str.replace(/\`/g, '\\`').replace(/\$\{/g, '\\${'); @@ -23,10 +23,11 @@ export default async function prebuild(...args) { } let patterns = args; + // NOTE: absolute paths returned are forward slashes on windows let entryPoints = [].concat( ...(await Promise.all( - patterns.map((pattern) => glob(pattern, { filesOnly: true, absolute: true })) - )) + patterns.map((pattern) => glob(pattern, { onlyFiles: true, absolute: true })), + )), ); function getPrebuildURL(entryfilepath, dev = false) { @@ -43,20 +44,20 @@ export default async function prebuild(...args) { let tscode = await fs.promises.readFile(filepath, 'utf-8'); // If we're bundling a client directive, modify the code to match `packages/astro/src/core/client-directive/build.ts`. // If updating this code, make sure to also update that file. - if (filepath.includes(`runtime${path.sep}client`)) { + if (filepath.includes('runtime/client')) { // `export default xxxDirective` is a convention used in the current client directives that we use // to make sure we bundle this right. We'll error below if this convention isn't followed. const newTscode = tscode.replace( /export default (.*?)Directive/, (_, name) => - `(self.Astro || (self.Astro = {})).${name} = ${name}Directive;window.dispatchEvent(new Event('astro:${name}'))` + `(self.Astro || (self.Astro = {})).${name} = ${name}Directive;window.dispatchEvent(new Event('astro:${name}'))`, ); if (newTscode === tscode) { console.error( red( `${filepath} doesn't follow the \`export default xxxDirective\` convention. The prebuilt output may be wrong. ` + - `For more information, check out ${fileURLToPath(import.meta.url)}` - ) + `For more information, check out ${fileURLToPath(import.meta.url)}`, + ), ); } tscode = newTscode; @@ -91,7 +92,7 @@ export default async function prebuild(...args) { dev: true, } : undefined, - ].filter((entry) => entry) + ].filter((entry) => entry), ); for (const result of results) { diff --git a/scripts/cmd/test.js b/scripts/cmd/test.js index 17f6ecd041..3182c4b907 100644 --- a/scripts/cmd/test.js +++ b/scripts/cmd/test.js @@ -1,10 +1,10 @@ -import { run } from 'node:test'; -import { spec } from 'node:test/reporters'; import fs from 'node:fs/promises'; import path from 'node:path'; +import { run } from 'node:test'; +import { spec } from 'node:test/reporters'; import { pathToFileURL } from 'node:url'; import { parseArgs } from 'node:util'; -import glob from 'tiny-glob'; +import glob from 'fast-glob'; const isCI = !!process.env.CI; const defaultTimeout = isCI ? 1400000 : 600000; @@ -31,7 +31,11 @@ export default async function test() { const pattern = args.positionals[1]; if (!pattern) throw new Error('Missing test glob pattern'); - const files = await glob(pattern, { filesOnly: true, absolute: true }); + const files = await glob(pattern, { + filesOnly: true, + absolute: true, + ignore: ['**/node_modules/**'], + }); // For some reason, the `only` option does not work and we need to explicitly set the CLI flag instead. // Node.js requires opt-in to run .only tests :( @@ -48,7 +52,7 @@ export default async function test() { await fs.mkdir(path.dirname(tempTestFile), { recursive: true }); await fs.writeFile( tempTestFile, - files.map((f) => `import ${JSON.stringify(pathToFileURL(f).toString())};`).join('\n') + files.map((f) => `import ${JSON.stringify(pathToFileURL(f).toString())};`).join('\n'), ); files.length = 0; diff --git a/scripts/deps/update-example-versions.js b/scripts/deps/update-example-versions.js index 13018a7919..6c9f8d01d8 100644 --- a/scripts/deps/update-example-versions.js +++ b/scripts/deps/update-example-versions.js @@ -1,5 +1,5 @@ -import path from 'node:path'; import fs from 'node:fs/promises'; +import path from 'node:path'; import { globby as glob } from 'globby'; /* diff --git a/scripts/index.js b/scripts/index.js index 381500ac4e..9129bd4f46 100755 --- a/scripts/index.js +++ b/scripts/index.js @@ -8,11 +8,6 @@ export default async function run() { await build(...args, cmd === 'dev' ? 'IS_DEV' : undefined); break; } - case 'copy': { - const { default: copy } = await import('./cmd/copy.js'); - await copy(...args); - break; - } case 'prebuild': { const { default: prebuild } = await import('./cmd/prebuild.js'); await prebuild(...args); diff --git a/scripts/package.json b/scripts/package.json index 12bf98b79b..35bf517a66 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -8,20 +8,12 @@ "astro-scripts": "./index.js" }, "dependencies": { - "arg": "^5.0.2", "esbuild": "^0.21.5", - "globby": "^14.0.2", - "kleur": "^4.1.5", - "p-limit": "^6.1.0", - "svelte": "^4.2.18", - "tar": "^7.4.3", - "tiny-glob": "^0.2.9" - }, - "devDependencies": { - "@octokit/action": "^7.0.0", - "del": "^7.1.0", "esbuild-plugin-copy": "^2.1.1", "execa": "^8.0.1", + "fast-glob": "^3.3.2", + "kleur": "^4.1.5", + "p-limit": "^6.1.0", "tsconfck": "^3.1.1" } } diff --git a/scripts/stats/index.js b/scripts/stats/index.js deleted file mode 100644 index eb37aa7220..0000000000 --- a/scripts/stats/index.js +++ /dev/null @@ -1,130 +0,0 @@ -// @ts-check -import { Octokit } from '@octokit/action'; -import { readFileSync, writeFileSync } from 'node:fs'; - -const octokit = new Octokit(); -const owner = 'snowpackjs'; -const repo = 'astro'; - -// Relevant IDs captured via: https://docs.github.com/en/graphql/overview/explorer -// query { -// repository(name:"astro", owner:"snowpackjs") { -// project(number: 3) { -// columns(first: 100) { -// nodes { -// id -// databaseId -// name -// } -// } -// } -// } -// } - -const COLUMN_ID_BUGS_NEEDS_TRIAGE = 14724521; -const COLUMN_ID_BUGS_ACCEPTED = 14724515; -const COLUMN_ID_BUGS_PRIORITIZED = 14946516; -// const COLUMN_ID_RFCS_IN_PROGRESS = 14946333; -// const COLUMN_ID_RFCS_ACCEPTED = 14946335; -// const COLUMN_ID_RFCS_PRIORITIZED = 14946454; - -// CREATE LOCAL COPIES OF DATA (Useful for debugging locally) -// Command: -// GITHUB_ACTION=test GITHUB_TOKEN=XXXXXXXXX node scripts/stats/index.js -// Code: -// writeFileSync('pulls.json', JSON.stringify(await octokit.paginate("GET /repos/{owner}/{repo}/pulls", { -// owner, -// repo, -// }))); -// writeFileSync('issues.json', JSON.stringify(await octokit.paginate("GET /repos/{owner}/{repo}/issues", { -// owner, -// repo, -// }))); -// const issues = JSON.parse(readFileSync('issues.json').toString()); -// const pulls = JSON.parse(readFileSync('pulls.json').toString()); - -async function countCards(column_id) { - return octokit.paginate('GET /projects/columns/{column_id}/cards', { - column_id, - mediaType: { - previews: ['inertia'], - }, - }); -} -async function countCommits(since) { - return octokit.paginate('GET /repos/{owner}/{repo}/commits', { - owner, - repo, - since: since.toISOString(), - }); -} - -export async function run() { - const twentyFourHoursAgo = new Date(); - twentyFourHoursAgo.setDate(twentyFourHoursAgo.getDate() - 1); - - const allOpenIssues = await octokit.paginate('GET /repos/{owner}/{repo}/issues', { - owner, - repo, - }); - const openIssues = allOpenIssues.filter((iss) => !iss.pull_request); - const openPulls = allOpenIssues.filter((iss) => iss.pull_request); - - const allIssuesLastTwentyFourHours = await octokit.paginate('GET /repos/{owner}/{repo}/issues', { - owner, - repo, - state: 'all', - per_page: 100, - since: twentyFourHoursAgo.toISOString(), - }); - const issuesLastTwentyFourHours = allIssuesLastTwentyFourHours.filter( - (iss) => new Date(iss.created_at) > twentyFourHoursAgo && !iss.pull_request - ); - const pullsLastTwentyFourHours = allIssuesLastTwentyFourHours.filter( - (iss) => new Date(iss.created_at) > twentyFourHoursAgo && iss.pull_request - ); - - const entry = [ - // Date (Human Readable) - `"${new Date().toLocaleDateString('en-US', { - weekday: 'long', - year: 'numeric', - month: 'long', - day: 'numeric', - })}"`, - // Commits in last 24 hours - (await countCommits(twentyFourHoursAgo)).length, - // New Issues(All) in last 24 hours - issuesLastTwentyFourHours.length, - // New Issues(Bugs) in last 24 hours - issuesLastTwentyFourHours.filter((iss) => iss.title.startsWith('🐛 BUG:')).length, - // New Issues(RFC) in last 24 hours - issuesLastTwentyFourHours.filter((iss) => iss.title.startsWith('💡 RFC:')).length, - // New Issues(Docs) in last 24 hours - issuesLastTwentyFourHours.filter((iss) => iss.title.startsWith('📘 DOC:')).length, - // New Pull Requests in last 24 hours - pullsLastTwentyFourHours.length, - // Pull requests - openPulls.length, - // Open Issues - openIssues.length, - // Bugs: Needs Triage - (await countCards(COLUMN_ID_BUGS_NEEDS_TRIAGE)).length, - // Bugs: Accepted - (await countCards(COLUMN_ID_BUGS_ACCEPTED)).length + - (await countCards(COLUMN_ID_BUGS_PRIORITIZED)).length, - // RFC: In Progress - 0, // (await countCards(COLUMN_ID_RFCS_IN_PROGRESS)).length, - // RFC: Accepted - 0, // (await countCards(COLUMN_ID_RFCS_ACCEPTED)).length + (await countCards(COLUMN_ID_RFCS_PRIORITIZED)).length, - // Date (ISO) - `"${new Date().toISOString()}"`, - ].join(','); - - const statCsv = readFileSync('scripts/stats/stats.csv', { encoding: 'utf-8' }); - const [statHeader, ...statItems] = statCsv.split('\n'); - const updatedStatCsv = [statHeader, entry, ...statItems].join('\n'); - writeFileSync('scripts/stats/stats.csv', updatedStatCsv); -} - -run(); diff --git a/scripts/stats/stats.csv b/scripts/stats/stats.csv deleted file mode 100644 index c56b92bad2..0000000000 --- a/scripts/stats/stats.csv +++ /dev/null @@ -1,270 +0,0 @@ -Date,Commits (24hr),Issues (24hr),Issues:BUG (24hr),Issues:RFC (24hr),Issues:DOC (24hr),PRs (24hr),Open PRs,Open Issues,Bugs: Needs Triage,Bugs: Accepted,RFC: In Progress,RFC: Accepted,Date (ISO) -"Monday, June 27, 2022",1,4,4,0,0,3,24,82,58,16,0,0,"2022-06-27T12:02:10.213Z" -"Sunday, June 26, 2022",2,2,2,0,0,3,21,78,54,16,0,0,"2022-06-26T12:02:05.156Z" -"Saturday, June 25, 2022",13,4,4,0,0,8,20,76,52,16,0,0,"2022-06-25T12:02:03.060Z" -"Friday, June 24, 2022",14,3,3,0,0,8,21,75,51,16,0,0,"2022-06-24T12:01:59.940Z" -"Thursday, June 23, 2022",24,4,4,0,0,11,21,75,51,16,0,0,"2022-06-23T12:02:04.952Z" -"Wednesday, June 22, 2022",13,5,5,0,0,12,23,75,51,16,0,0,"2022-06-22T12:02:19.701Z" -"Tuesday, June 21, 2022",12,3,3,0,0,7,20,77,50,17,0,0,"2022-06-21T12:02:07.113Z" -"Monday, June 20, 2022",1,3,3,0,0,1,20,81,52,20,0,0,"2022-06-20T12:01:57.157Z" -"Sunday, June 19, 2022",1,7,7,0,0,1,19,78,49,20,0,0,"2022-06-19T12:01:50.559Z" -"Saturday, June 18, 2022",5,5,4,0,0,7,18,72,43,20,0,0,"2022-06-18T12:02:43.107Z" -"Friday, June 17, 2022",17,7,6,0,0,9,16,68,39,20,0,0,"2022-06-17T12:02:08.929Z" -"Thursday, June 16, 2022",6,1,1,0,0,3,15,62,34,20,0,0,"2022-06-16T12:02:16.472Z" -"Wednesday, June 15, 2022",15,3,3,0,0,8,16,64,35,21,0,0,"2022-06-15T12:02:03.380Z" -"Tuesday, June 14, 2022",2,3,3,0,0,5,17,64,35,21,0,0,"2022-06-14T12:02:10.537Z" -"Monday, June 13, 2022",1,3,3,0,0,2,13,64,35,21,0,0,"2022-06-13T12:02:15.933Z" -"Sunday, June 12, 2022",1,4,4,0,0,1,12,61,32,21,0,0,"2022-06-12T12:02:09.349Z" -"Saturday, June 11, 2022",11,1,1,0,0,5,11,57,28,21,0,0,"2022-06-11T12:02:39.313Z" -"Friday, June 10, 2022",4,2,2,0,0,1,15,58,29,21,0,0,"2022-06-10T12:02:31.071Z" -"Thursday, June 9, 2022",4,5,5,0,0,5,16,57,28,21,0,0,"2022-06-09T12:02:24.146Z" -"Wednesday, June 8, 2022",10,2,2,0,0,5,13,55,26,21,0,0,"2022-06-08T12:02:08.232Z" -"Tuesday, June 7, 2022",14,7,7,0,0,8,14,59,31,20,0,0,"2022-06-07T12:01:56.537Z" -"Monday, June 6, 2022",1,3,3,0,0,0,17,60,31,21,0,0,"2022-06-06T12:02:05.036Z" -"Sunday, June 5, 2022",0,2,1,0,0,1,17,56,27,21,0,0,"2022-06-05T12:02:44.649Z" -"Saturday, June 4, 2022",10,2,2,0,0,5,15,55,26,21,0,0,"2022-06-04T12:01:42.225Z" -"Friday, June 3, 2022",12,2,2,0,0,12,16,56,25,23,0,0,"2022-06-03T12:02:09.325Z" -"Thursday, June 2, 2022",6,2,2,0,0,4,15,58,26,24,0,0,"2022-06-02T12:02:22.357Z" -"Wednesday, June 1, 2022",17,5,5,0,0,8,15,58,26,25,0,0,"2022-06-01T12:02:41.045Z" -"Tuesday, May 31, 2022",6,3,3,0,0,2,18,68,36,25,0,0,"2022-05-31T12:02:20.938Z" -"Monday, May 30, 2022",0,4,4,0,0,2,20,68,36,25,0,0,"2022-05-30T12:02:19.315Z" -"Sunday, May 29, 2022",1,3,3,0,0,0,18,64,32,25,0,0,"2022-05-29T12:02:00.190Z" -"Saturday, May 28, 2022",5,5,5,0,0,5,18,62,30,25,0,0,"2022-05-28T12:02:02.301Z" -"Friday, May 27, 2022",6,3,3,0,0,7,17,59,30,22,0,0,"2022-05-27T12:02:13.230Z" -"Thursday, May 26, 2022",4,4,4,0,0,3,14,57,27,23,0,0,"2022-05-26T12:01:59.687Z" -"Wednesday, May 25, 2022",15,2,2,0,0,8,15,55,25,23,0,0,"2022-05-25T12:02:11.459Z" -"Tuesday, May 24, 2022",8,1,1,0,0,7,17,64,28,29,0,0,"2022-05-24T12:02:26.138Z" -"Monday, May 23, 2022",1,1,1,0,0,1,15,66,29,29,0,0,"2022-05-23T12:02:25.550Z" -"Sunday, May 22, 2022",0,0,0,0,0,1,14,64,27,29,0,0,"2022-05-22T12:02:29.442Z" -"Saturday, May 21, 2022",11,2,2,0,0,3,13,64,27,29,0,0,"2022-05-21T12:02:14.687Z" -"Friday, May 20, 2022",11,2,2,0,0,8,16,69,28,33,0,0,"2022-05-20T12:02:16.756Z" -"Thursday, May 19, 2022",12,1,1,0,0,8,14,71,36,28,0,0,"2022-05-19T12:02:20.678Z" -"Wednesday, May 18, 2022",6,2,2,0,0,7,14,72,36,29,0,0,"2022-05-18T12:02:14.860Z" -"Tuesday, May 17, 2022",15,1,1,0,0,9,11,72,35,30,0,0,"2022-05-17T12:02:18.523Z" -"Monday, May 16, 2022",2,1,1,0,0,2,12,75,36,31,0,0,"2022-05-16T12:06:42.223Z" -"Sunday, May 15, 2022",1,2,2,0,0,1,11,74,35,31,0,0,"2022-05-15T12:01:59.884Z" -"Saturday, May 14, 2022",1,4,4,0,0,3,10,72,33,31,0,0,"2022-05-14T12:01:51.743Z" -"Friday, May 13, 2022",17,6,6,0,0,5,7,70,35,28,0,0,"2022-05-13T12:01:50.988Z" -"Thursday, May 12, 2022",19,4,4,0,0,5,15,69,35,26,0,0,"2022-05-12T12:02:01.326Z" -"Wednesday, May 11, 2022",6,7,7,0,0,12,23,75,39,27,0,0,"2022-05-11T12:04:15.277Z" -"Tuesday, May 10, 2022",0,2,2,0,0,0,16,136,96,35,0,0,"2022-05-10T12:02:52.912Z" -"Monday, May 9, 2022",0,1,1,0,0,0,16,134,94,35,0,0,"2022-05-09T12:02:22.292Z" -"Sunday, May 8, 2022",1,1,1,0,0,2,16,133,93,35,0,0,"2022-05-08T12:01:57.320Z" -"Saturday, May 7, 2022",6,2,2,0,0,2,14,133,93,35,0,0,"2022-05-07T12:01:57.661Z" -"Friday, May 6, 2022",9,4,4,0,0,8,16,131,91,35,0,0,"2022-05-06T12:02:34.760Z" -"Thursday, May 5, 2022",7,4,4,0,0,7,15,130,89,35,0,0,"2022-05-05T12:06:32.776Z" -"Wednesday, May 4, 2022",26,5,5,0,0,17,13,127,87,34,0,0,"2022-05-04T12:02:35.130Z" -"Tuesday, May 3, 2022",2,5,5,0,0,4,21,126,87,35,0,0,"2022-05-03T12:02:09.032Z" -"Monday, May 2, 2022",0,4,4,0,0,1,19,123,84,35,0,0,"2022-05-02T12:03:54.032Z" -"Sunday, May 1, 2022",1,3,3,0,0,3,18,119,80,35,0,0,"2022-05-01T12:02:12.599Z" -"Saturday, April 30, 2022",8,0,0,0,0,7,15,117,78,35,0,0,"2022-04-30T12:05:09.128Z" -"Friday, April 29, 2022",2,2,2,0,0,6,18,118,78,36,0,0,"2022-04-29T12:02:04.063Z" -"Thursday, April 28, 2022",7,4,4,0,0,6,14,116,76,36,0,0,"2022-04-28T12:06:59.457Z" -"Wednesday, April 27, 2022",17,4,3,0,0,11,13,112,73,35,0,0,"2022-04-27T12:02:20.277Z" -"Tuesday, April 26, 2022",2,3,3,0,0,0,13,108,69,35,0,0,"2022-04-26T12:06:57.154Z" -"Monday, April 25, 2022",2,3,3,0,0,2,14,105,66,35,0,0,"2022-04-25T12:06:54.900Z" -"Sunday, April 24, 2022",1,4,4,0,0,1,13,102,63,35,0,0,"2022-04-24T12:01:45.655Z" -"Saturday, April 23, 2022",10,1,1,0,0,9,12,98,59,35,0,0,"2022-04-23T12:05:15.509Z" -"Friday, April 22, 2022",20,4,4,0,0,16,12,98,59,35,0,0,"2022-04-22T12:02:01.807Z" -"Thursday, April 21, 2022",7,3,3,0,0,6,9,101,58,37,0,0,"2022-04-21T12:04:09.984Z" -"Wednesday, April 20, 2022",19,0,0,0,0,7,6,108,61,40,0,0,"2022-04-20T12:02:15.590Z" -"Tuesday, April 19, 2022",10,7,5,0,0,9,11,111,62,41,0,0,"2022-04-19T12:07:06.778Z" -"Monday, April 18, 2022",1,2,2,0,0,2,12,112,64,42,0,0,"2022-04-18T12:02:08.237Z" -"Sunday, April 17, 2022",1,3,3,0,0,0,10,110,63,41,0,0,"2022-04-17T12:02:01.010Z" -"Saturday, April 16, 2022",6,3,3,0,0,3,10,107,60,41,0,0,"2022-04-16T12:01:58.759Z" -"Friday, April 15, 2022",9,4,4,0,0,3,10,109,62,41,0,0,"2022-04-15T12:02:05.075Z" -"Thursday, April 14, 2022",7,3,3,0,0,7,12,111,64,41,0,0,"2022-04-14T12:02:08.617Z" -"Wednesday, April 13, 2022",11,4,4,0,0,10,11,116,63,46,0,0,"2022-04-13T12:02:55.765Z" -"Tuesday, April 12, 2022",8,9,9,0,0,4,8,117,67,43,0,0,"2022-04-12T12:03:53.659Z" -"Monday, April 11, 2022",30,9,9,0,0,10,12,109,63,40,0,0,"2022-04-11T12:03:11.469Z" -"Sunday, April 10, 2022",0,8,8,0,0,4,19,103,58,39,0,0,"2022-04-10T12:02:05.421Z" -"Saturday, April 9, 2022",1,1,1,0,0,6,15,95,50,39,0,0,"2022-04-09T12:01:49.149Z" -"Friday, April 8, 2022",13,9,8,0,0,9,9,97,49,41,0,0,"2022-04-08T12:01:59.641Z" -"Thursday, April 7, 2022",17,6,6,0,0,7,6,93,47,40,0,0,"2022-04-07T12:07:02.763Z" -"Wednesday, April 6, 2022",3,2,2,0,0,9,11,91,44,41,0,0,"2022-04-06T12:02:17.434Z" -"Tuesday, April 5, 2022",17,4,4,0,0,8,4,90,44,40,0,0,"2022-04-05T12:02:04.260Z" -"Monday, April 4, 2022",9,3,3,0,0,5,5,89,43,40,0,0,"2022-04-04T12:03:17.763Z" -"Sunday, April 3, 2022",13,2,2,0,0,8,7,88,42,40,0,0,"2022-04-03T12:01:50.051Z" -"Saturday, April 2, 2022",5,0,0,0,0,4,8,88,42,40,0,0,"2022-04-02T12:01:53.880Z" -"Friday, April 1, 2022",13,0,0,0,0,7,7,90,43,41,0,0,"2022-04-01T12:04:00.672Z" -"Thursday, March 31, 2022",6,4,4,0,0,6,10,93,46,41,0,0,"2022-03-31T12:02:11.044Z" -"Wednesday, March 30, 2022",9,2,2,0,0,10,10,90,43,41,0,0,"2022-03-30T12:02:39.303Z" -"Tuesday, March 29, 2022",19,8,8,0,0,9,5,88,41,41,0,0,"2022-03-29T12:06:39.897Z" -"Monday, March 28, 2022",1,7,7,0,0,2,8,83,36,41,0,0,"2022-03-28T12:02:00.954Z" -"Sunday, March 27, 2022",1,2,2,0,0,2,6,77,29,41,0,0,"2022-03-27T12:01:52.463Z" -"Saturday, March 26, 2022",22,5,5,0,0,12,5,75,27,41,0,0,"2022-03-26T12:03:34.243Z" -"Friday, March 25, 2022",18,2,2,0,0,7,6,73,25,40,0,0,"2022-03-25T12:02:05.476Z" -"Thursday, March 24, 2022",8,4,4,0,0,6,11,73,25,41,0,0,"2022-03-24T12:01:58.117Z" -"Wednesday, March 23, 2022",4,1,1,0,0,7,10,69,22,41,0,0,"2022-03-23T12:06:40.033Z" -"Tuesday, March 22, 2022",15,1,1,0,0,6,5,69,23,40,0,0,"2022-03-22T12:01:59.424Z" -"Monday, March 21, 2022",3,2,2,0,0,3,8,69,24,39,0,0,"2022-03-21T12:06:33.558Z" -"Saturday, March 19, 2022",12,2,2,0,0,8,5,69,24,39,0,0,"2022-03-19T12:02:50.935Z" -"Friday, March 18, 2022",5,2,2,0,0,4,6,71,24,41,0,0,"2022-03-18T12:01:47.909Z" -"Thursday, March 17, 2022",6,6,6,0,0,6,5,70,24,41,0,0,"2022-03-17T12:02:03.750Z" -"Wednesday, March 16, 2022",25,2,2,0,0,12,3,66,21,41,0,0,"2022-03-16T12:01:55.986Z" -"Tuesday, March 15, 2022",8,1,1,0,0,10,7,69,22,43,0,0,"2022-03-15T12:02:08.030Z" -"Monday, March 14, 2022",1,5,5,0,0,0,4,71,25,42,0,0,"2022-03-14T12:01:43.105Z" -"Sunday, March 13, 2022",0,6,6,0,0,1,4,70,25,41,0,0,"2022-03-13T12:01:45.133Z" -"Saturday, March 12, 2022",11,4,4,0,0,6,3,64,19,41,0,0,"2022-03-12T12:01:35.541Z" -"Friday, March 11, 2022",19,1,1,0,0,9,3,98,25,65,0,0,"2022-03-11T12:02:08.157Z" -"Thursday, March 10, 2022",20,2,2,0,0,9,11,99,25,66,0,0,"2022-03-10T12:02:00.120Z" -"Wednesday, March 9, 2022",7,0,0,0,0,9,15,98,24,66,0,0,"2022-03-09T12:01:52.983Z" -"Tuesday, March 8, 2022",4,1,1,0,0,2,12,101,25,68,0,0,"2022-03-08T12:02:05.603Z" -"Monday, March 7, 2022",0,1,1,0,0,1,13,102,26,68,0,0,"2022-03-07T12:02:16.928Z" -"Sunday, March 6, 2022",1,2,2,0,0,0,12,101,25,68,0,0,"2022-03-06T12:01:58.491Z" -"Saturday, March 5, 2022",11,1,1,0,0,6,12,99,23,68,0,0,"2022-03-05T12:01:58.094Z" -"Friday, March 4, 2022",6,1,0,0,0,9,13,99,21,70,0,0,"2022-03-04T12:02:11.658Z" -"Thursday, March 3, 2022",9,2,2,0,0,5,12,99,21,71,0,0,"2022-03-03T12:07:54.171Z" -"Wednesday, March 2, 2022",4,0,0,0,0,9,16,98,20,71,0,0,"2022-03-02T12:07:02.784Z" -"Tuesday, March 1, 2022",12,3,3,0,0,10,13,99,21,71,0,0,"2022-03-01T12:06:43.489Z" -"Tuesday, March 1, 2022",10,1,1,0,0,9,14,98,21,70,0,0,"2022-03-01T05:45:14.315Z" -"Monday, February 28, 2022",2,3,3,0,0,2,14,99,21,71,0,0,"2022-02-28T12:02:08.119Z" -"Sunday, February 27, 2022",1,2,2,0,0,1,14,96,19,70,0,0,"2022-02-27T12:02:10.424Z" -"Saturday, February 26, 2022",9,5,5,0,0,4,14,93,16,70,0,0,"2022-02-26T12:02:08.229Z" -"Friday, February 25, 2022",9,2,2,0,0,5,16,90,13,70,0,0,"2022-02-25T12:01:57.890Z" -"Thursday, February 24, 2022",7,3,3,0,0,3,17,90,13,70,0,0,"2022-02-24T12:01:59.430Z" -"Wednesday, February 23, 2022",4,2,2,0,0,3,19,90,14,69,0,0,"2022-02-23T12:02:05.913Z" -"Tuesday, February 22, 2022",2,2,2,0,0,3,18,88,12,69,0,0,"2022-02-22T12:02:43.311Z" -"Monday, February 21, 2022",1,4,4,0,0,0,16,86,11,68,0,0,"2022-02-21T12:01:54.122Z" -"Sunday, February 20, 2022",1,3,3,0,0,5,16,83,8,68,0,0,"2022-02-20T12:01:50.762Z" -"Saturday, February 19, 2022",12,1,1,0,0,9,11,79,4,68,0,0,"2022-02-19T12:01:59.309Z" -"Friday, February 18, 2022",6,5,5,0,0,7,13,78,3,68,0,0,"2022-02-18T12:02:06.389Z" -"Thursday, February 17, 2022",14,2,2,0,0,6,12,82,0,71,0,0,"2022-02-17T12:01:44.444Z" -"Wednesday, February 16, 2022",10,2,2,0,0,6,15,82,1,69,0,0,"2022-02-16T12:02:09.192Z" -"Tuesday, February 15, 2022",5,4,4,0,0,3,14,112,17,70,0,0,"2022-02-15T12:02:06.622Z" -"Monday, February 14, 2022",0,2,2,0,0,0,12,123,12,80,0,0,"2022-02-14T12:02:09.369Z" -"Sunday, February 13, 2022",1,2,2,0,0,0,12,121,10,80,0,0,"2022-02-13T12:01:45.830Z" -"Saturday, February 12, 2022",8,1,1,0,0,4,12,119,8,80,0,0,"2022-02-12T12:01:50.637Z" -"Friday, February 11, 2022",3,3,3,0,0,1,12,119,8,80,0,0,"2022-02-11T12:01:47.482Z" -"Thursday, February 10, 2022",5,1,1,0,0,3,12,117,6,80,0,0,"2022-02-10T12:01:55.410Z" -"Wednesday, February 9, 2022",6,5,5,0,0,10,11,116,6,79,0,0,"2022-02-09T12:01:50.292Z" -"Tuesday, February 8, 2022",15,0,0,0,0,3,5,114,3,80,0,0,"2022-02-08T12:01:47.001Z" -"Monday, February 7, 2022",2,1,1,0,0,1,17,115,4,80,0,0,"2022-02-07T12:01:56.051Z" -"Sunday, February 6, 2022",0,0,0,0,0,1,17,114,3,80,0,0,"2022-02-06T12:03:49.183Z" -"Saturday, February 5, 2022",4,2,2,0,0,3,16,114,3,80,0,0,"2022-02-05T12:03:08.856Z" -"Friday, February 4, 2022",5,3,3,0,0,5,15,114,1,82,0,0,"2022-02-04T12:02:09.216Z" -"Thursday, February 3, 2022",9,1,1,0,0,4,14,113,1,81,0,0,"2022-02-03T12:01:59.204Z" -"Wednesday, February 2, 2022",3,1,1,0,0,6,15,113,0,82,0,0,"2022-02-02T12:01:54.492Z" -"Tuesday, February 1, 2022",21,1,1,0,0,8,10,112,0,81,0,0,"2022-02-01T12:02:08.478Z" -"Monday, January 31, 2022",1,2,2,0,0,4,19,113,9,73,0,0,"2022-01-31T12:01:45.838Z" -"Sunday, January 30, 2022",3,1,1,0,0,4,15,110,6,73,0,0,"2022-01-30T12:01:50.356Z" -"Saturday, January 29, 2022",18,1,1,0,0,9,12,109,5,73,0,0,"2022-01-29T12:01:53.380Z" -"Friday, January 28, 2022",7,3,3,0,0,4,11,124,4,73,0,0,"2022-01-28T12:02:02.682Z" -"Thursday, January 27, 2022",1,3,3,0,0,1,13,122,4,71,0,0,"2022-01-27T12:02:03.363Z" -"Wednesday, January 26, 2022",11,1,1,0,0,14,13,119,1,71,0,0,"2022-01-26T12:01:48.421Z" -"Tuesday, January 25, 2022",10,2,2,0,0,3,10,121,1,73,0,0,"2022-01-25T12:02:07.395Z" -"Monday, January 24, 2022",1,2,2,0,0,0,15,120,2,73,0,0,"2022-01-24T12:02:01.272Z" -"Sunday, January 23, 2022",0,0,0,0,0,1,15,118,0,73,0,0,"2022-01-23T12:02:37.070Z" -"Saturday, January 22, 2022",4,2,1,0,1,9,14,118,0,73,0,0,"2022-01-22T12:01:53.141Z" -"Friday, January 21, 2022",14,1,1,0,0,11,8,118,16,59,0,0,"2022-01-21T12:02:01.917Z" -"Thursday, January 20, 2022",17,1,1,0,0,6,9,118,17,58,0,0,"2022-01-20T12:01:58.903Z" -"Wednesday, January 19, 2022",9,2,2,0,0,5,16,118,16,58,0,0,"2022-01-19T12:01:52.352Z" -"Tuesday, January 18, 2022",1,2,2,0,0,1,16,123,22,56,0,0,"2022-01-18T12:02:00.655Z" -"Monday, January 17, 2022",0,4,3,0,1,5,15,122,21,56,0,0,"2022-01-17T12:02:13.006Z" -"Sunday, January 16, 2022",0,2,2,0,0,1,11,118,18,56,0,0,"2022-01-16T12:01:58.920Z" -"Saturday, January 15, 2022",12,4,4,0,0,5,10,117,17,56,0,0,"2022-01-15T12:01:48.438Z" -"Friday, January 14, 2022",8,1,0,0,0,19,24,116,13,58,0,0,"2022-01-14T12:01:57.514Z" -"Thursday, January 13, 2022",7,0,0,0,0,4,9,120,13,59,0,0,"2022-01-13T12:02:10.552Z" -"Wednesday, January 12, 2022",7,1,1,0,0,7,9,120,13,59,0,0,"2022-01-12T12:02:06.777Z" -"Tuesday, January 11, 2022",9,0,0,0,0,2,7,126,15,62,0,0,"2022-01-11T12:02:13.784Z" -"Monday, January 10, 2022",1,1,1,0,0,1,14,130,16,63,0,0,"2022-01-10T12:02:01.765Z" -"Sunday, January 9, 2022",2,3,3,0,0,4,14,129,16,63,0,0,"2022-01-09T12:05:15.550Z" -"Saturday, January 8, 2022",10,3,3,0,0,7,11,126,14,62,0,0,"2022-01-08T12:01:47.468Z" -"Friday, January 7, 2022",6,4,4,0,0,3,10,126,13,62,0,0,"2022-01-07T12:02:01.732Z" -"Thursday, January 6, 2022",11,8,4,0,0,8,10,124,11,63,0,0,"2022-01-06T12:01:56.874Z" -"Wednesday, January 5, 2022",16,1,0,0,1,8,9,119,22,55,0,0,"2022-01-05T12:01:53.686Z" -"Tuesday, January 4, 2022",1,0,0,0,0,2,12,120,30,51,0,0,"2022-01-04T12:02:08.917Z" -"Monday, January 3, 2022",0,0,0,0,0,0,11,121,31,51,0,0,"2022-01-03T12:01:56.590Z" -"Sunday, January 2, 2022",1,0,0,0,0,1,11,121,31,51,0,0,"2022-01-02T12:01:43.450Z" -"Saturday, January 1, 2022",0,0,0,0,0,0,10,121,31,51,0,0,"2022-01-01T12:03:25.988Z" -"Friday, December 31, 2021",9,4,4,0,0,5,9,121,31,51,0,0,"2021-12-31T12:02:10.209Z" -"Thursday, December 30, 2021",2,3,3,0,0,0,10,117,27,51,0,0,"2021-12-30T12:01:46.229Z" -"Wednesday, December 29, 2021",1,1,1,0,0,1,12,115,25,52,0,0,"2021-12-29T12:02:03.038Z" -"Tuesday, December 28, 2021",1,2,2,0,0,1,11,114,24,52,0,0,"2021-12-28T12:02:05.628Z" -"Monday, December 27, 2021",1,4,4,0,0,1,10,112,22,52,0,0,"2021-12-27T12:06:50.733Z" -"Sunday, December 26, 2021",0,0,0,0,0,0,10,108,18,52,0,0,"2021-12-26T12:02:56.381Z" -"Saturday, December 25, 2021",1,4,3,0,1,3,10,108,18,52,0,0,"2021-12-25T12:01:50.323Z" -"Friday, December 24, 2021",12,3,2,0,1,9,7,104,16,51,0,0,"2021-12-24T12:02:06.103Z" -"Tuesday, December 14, 2021",20,2,2,0,0,5,7,94,33,30,0,0,"2021-12-14T16:54:53.687Z" -"Tuesday, November 23, 2021",24,10,10,0,0,12,11,154,7,36,52,6,"2021-11-23T12:05:23.189Z" -"Monday, November 22, 2021",2,4,2,0,2,3,16,157,3,39,52,6,"2021-11-22T12:05:10.892Z" -"Sunday, November 21, 2021",2,8,7,0,1,7,14,155,3,38,53,6,"2021-11-21T12:05:08.366Z" -"Saturday, November 20, 2021",49,10,4,1,4,33,9,150,4,32,53,6,"2021-11-20T12:04:55.665Z" -"Friday, November 19, 2021",15,12,3,1,0,10,12,207,2,70,51,10,"2021-11-19T12:05:11.926Z" -"Thursday, November 18, 2021",23,8,4,0,2,18,13,204,6,68,50,10,"2021-11-18T12:05:16.274Z" -"Wednesday, November 17, 2021",9,5,4,0,0,4,10,204,8,67,50,10,"2021-11-17T12:05:18.908Z" -"Tuesday, November 16, 2021",11,3,1,2,0,7,13,202,7,66,52,10,"2021-11-16T12:07:13.435Z" -"Monday, November 15, 2021",2,5,1,4,0,2,16,201,7,67,50,10,"2021-11-15T12:05:40.064Z" -"Sunday, November 14, 2021",1,8,6,1,1,2,14,197,10,65,46,10,"2021-11-14T12:05:17.813Z" -"Saturday, November 13, 2021",5,4,2,2,0,5,12,189,4,65,45,10,"2021-11-13T12:08:16.420Z" -"Friday, November 12, 2021",19,7,7,0,0,8,11,186,3,65,43,10,"2021-11-12T12:05:20.318Z" -"Thursday, November 11, 2021",10,3,2,1,0,5,16,180,1,63,43,10,"2021-11-11T12:05:19.502Z" -"Wednesday, November 10, 2021",7,3,1,0,1,7,18,220,4,78,44,11,"2021-11-10T12:05:26.569Z" -"Monday, November 8, 2021",5,3,1,2,0,4,18,217,4,77,43,11,"2021-11-08T12:05:08.981Z" -"Sunday, November 7, 2021",0,4,4,0,0,3,16,214,4,76,41,11,"2021-11-07T12:09:00.481Z" -"Saturday, November 6, 2021",2,0,0,0,0,3,13,211,1,76,41,11,"2021-11-06T12:07:11.382Z" -"Friday, November 5, 2021",2,4,2,1,1,6,13,211,1,76,41,11,"2021-11-05T12:05:33.159Z" -"Thursday, November 4, 2021",3,1,1,0,0,4,8,210,3,74,40,13,"2021-11-04T12:05:15.923Z" -"Wednesday, November 3, 2021",11,4,0,2,0,4,6,217,16,70,40,13,"2021-11-03T12:04:59.384Z" -"Tuesday, November 2, 2021",6,3,1,1,0,3,13,218,26,66,39,13,"2021-11-02T12:05:35.560Z" -"Monday, November 1, 2021",0,3,3,0,0,1,15,223,30,62,38,14,"2021-11-01T12:05:36.700Z" -"Sunday, October 31, 2021",1,1,1,0,0,1,14,221,27,63,38,14,"2021-10-31T12:05:07.491Z" -"Saturday, October 30, 2021",5,4,3,1,0,11,13,220,26,63,38,14,"2021-10-30T12:06:23.911Z" -"Friday, October 29, 2021",1,2,1,1,0,9,13,218,23,64,37,14,"2021-10-29T12:05:26.320Z" -"Thursday, October 28, 2021",0,5,5,0,0,9,9,220,35,53,36,14,"2021-10-28T12:05:36.934Z" -"Wednesday, October 27, 2021",1,1,1,0,0,14,10,216,31,53,36,14,"2021-10-27T12:05:11.199Z" -"Tuesday, October 26, 2021",4,4,2,1,0,6,4,215,30,53,36,14,"2021-10-26T12:06:21.795Z" -"Monday, October 25, 2021",1,3,2,1,0,1,7,217,30,53,36,14,"2021-10-25T12:05:36.120Z" -"Sunday, October 24, 2021",0,0,0,0,0,0,6,214,28,53,35,14,"2021-10-24T12:05:42.586Z" -"Saturday, October 23, 2021",7,3,2,1,0,16,6,214,28,53,35,14,"2021-10-23T12:05:23.725Z" -"Friday, October 22, 2021",2,2,1,1,0,7,10,212,26,53,34,15,"2021-10-22T12:05:17.551Z" -"Thursday, October 21, 2021",5,2,2,0,0,8,8,210,26,53,33,15,"2021-10-21T12:05:31.148Z" -"Wednesday, October 20, 2021",2,3,3,0,0,11,10,208,25,52,33,15,"2021-10-20T12:05:42.078Z" -"Tuesday, October 19, 2021",16,1,1,0,0,8,7,205,22,52,33,15,"2021-10-19T12:05:19.601Z" -"Monday, October 18, 2021",1,1,0,1,0,7,15,204,21,52,33,15,"2021-10-18T12:07:19.562Z" -"Sunday, October 17, 2021",1,0,0,0,0,5,9,203,21,52,32,15,"2021-10-17T12:05:17.702Z" -"Saturday, October 16, 2021",3,2,1,0,1,5,4,203,21,52,32,15,"2021-10-16T12:05:18.119Z" -"Friday, October 15, 2021",8,2,2,0,0,9,5,203,22,53,32,15,"2021-10-15T12:05:10.204Z" -"Thursday, October 14, 2021",8,3,3,0,0,6,7,202,21,53,32,15,"2021-10-14T12:15:34.689Z" -"Wednesday, October 13, 2021",16,5,4,0,0,3,8,199,18,53,32,15,"2021-10-13T12:15:38.734Z" -"Tuesday, October 12, 2021",7,3,3,0,0,6,19,197,15,54,33,14,"2021-10-12T12:05:36.457Z" -"Monday, October 11, 2021",3,1,1,0,0,2,18,195,12,54,33,15,"2021-10-11T12:06:07.437Z" -"Sunday, October 10, 2021",6,0,0,0,0,3,19,195,11,54,33,15,"2021-10-10T12:05:25.390Z" -"Saturday, October 9, 2021",1,5,3,1,1,3,19,195,11,54,33,15,"2021-10-09T12:05:15.979Z" -"Friday, October 8, 2021",1,2,1,1,0,5,17,190,9,54,32,15,"2021-10-08T12:05:24.361Z" -"Thursday, October 7, 2021",4,0,0,0,0,6,12,188,8,54,31,15,"2021-10-07T12:05:21.928Z" -"Wednesday, October 6, 2021",4,6,4,1,1,3,8,190,10,56,30,16,"2021-10-06T12:05:22.904Z" -"Tuesday, October 5, 2021",1,2,1,1,0,4,10,189,6,56,35,14,"2021-10-05T12:05:17.480Z" -"Monday, October 4, 2021",1,3,2,0,0,0,6,188,8,55,34,14,"2021-10-04T12:05:26.660Z" -"Sunday, October 3, 2021",3,1,1,0,0,3,6,186,7,55,34,14,"2021-10-03T12:05:31.684Z" -"Saturday, October 2, 2021",12,0,0,0,0,7,5,184,5,55,34,14,"2021-10-02T12:05:33.697Z" -"Friday, October 1, 2021",5,0,0,0,0,9,8,188,18,53,34,14,"2021-10-01T12:08:16.589Z" -"Thursday, September 30, 2021",5,3,1,1,0,5,6,193,29,50,34,14,"2021-09-30T12:06:24.182Z" -"Wednesday, September 29, 2021",6,5,4,1,0,1,9,190,28,50,33,14,"2021-09-29T12:05:28.424Z" -"Tuesday, September 28, 2021",4,1,0,0,1,6,14,190,23,51,34,12,"2021-09-28T12:05:21.122Z" -"Monday, September 27, 2021",1,0,0,0,0,1,12,197,23,52,41,12,"2021-09-27T12:05:19.921Z" -"Sunday, September 26, 2021",1,5,4,0,1,4,11,197,23,52,41,12,"2021-09-26T12:08:47.121Z" -"Saturday, September 25, 2021",9,2,1,0,0,2,8,192,19,52,41,12,"2021-09-25T12:06:27.156Z" -"Friday, September 24, 2021",9,3,2,0,0,7,11,190,18,52,41,12,"2021-09-24T12:05:17.886Z" -"Thursday, September 23, 2021",1,1,1,0,0,2,13,187,16,52,41,12,"2021-09-23T12:05:25.606Z" -"Wednesday, September 22, 2021",2,1,0,1,0,7,13,196,18,53,41,13,"2021-09-22T12:05:16.758Z" -"Tuesday, September 21, 2021",6,2,2,0,0,4,12,195,18,53,40,13,"2021-09-21T12:05:24.427Z" -"Monday, September 20, 2021",1,2,2,0,0,2,13,194,16,53,40,13,"2021-09-20T12:05:24.215Z" -"Sunday, September 19, 2021",1,0,0,0,0,5,11,192,14,53,40,13,"2021-09-19T12:05:42.171Z" -"Saturday, September 18, 2021",6,1,1,0,0,3,6,193,14,53,40,13,"2021-09-18T12:07:37.446Z" -"Friday, September 17, 2021",7,1,0,0,0,5,5,195,13,54,41,13,"2021-09-17T12:05:15.464Z" -"Thursday, September 16, 2021",4,2,2,0,0,3,4,195,14,54,41,13,"2021-09-16T12:05:30.904Z" -"Wednesday, September 15, 2021",16,4,2,1,0,6,4,194,12,54,41,14,"2021-09-15T12:05:55.219Z" -"Tuesday, September 14, 2021",7,4,4,0,0,7,12,191,12,52,43,12,"2021-09-14T12:07:03.530Z" -"Monday, September 13, 2021",1,1,1,0,0,0,10,187,8,52,43,12,"2021-09-13T12:08:08.013Z" -"Sunday, September 12, 2021",0,2,1,1,0,0,10,186,7,52,43,12,"2021-09-12T12:08:11.836Z" -"Saturday, September 11, 2021",2,2,0,2,0,2,10,184,6,52,42,12,"2021-09-11T12:06:55.070Z" -"Friday, September 10, 2021",6,0,0,0,0,4,11,181,6,52,39,12,"2021-09-10T12:04:51.984Z" -"Thursday, September 9, 2021",5,2,1,1,0,1,10,181,6,52,39,12,"2021-09-09T12:07:12.662Z" -"Wednesday, September 8, 2021",4,4,4,0,0,5,12,181,4,59,38,12,"2021-09-08T12:06:33.698Z" -"Tuesday, September 7, 2021",3,3,1,0,1,4,10,183,9,57,38,12,"2021-09-07T12:04:36.739Z" -"Monday, September 6, 2021",12,5,4,1,0,1,9,182,9,55,38,12,"2021-09-06T12:09:10.713Z" -"Sunday, September 5, 2021",2,2,2,0,0,5,12,177,5,55,38,12,"2021-09-05T12:09:11.805Z" -"Saturday, September 4, 2021",9,4,2,2,0,6,11,176,5,54,38,12,"2021-09-04T12:05:49.637Z" -"Friday, September 3, 2021",1,0,0,0,0,4,12,172,3,54,36,12,"2021-09-03T12:05:00.018Z" -"Thursday, September 2, 2021",18,4,3,1,0,5,8,172,3,54,36,12,"2021-09-02T12:04:50.438Z" diff --git a/scripts/utils/svelte-plugin.js b/scripts/utils/svelte-plugin.js deleted file mode 100644 index 6781c28a40..0000000000 --- a/scripts/utils/svelte-plugin.js +++ /dev/null @@ -1,70 +0,0 @@ -// @ts-nocheck -import { promises as fs } from 'node:fs'; -import { dirname, isAbsolute, join, relative } from 'node:path'; -import { compile } from 'svelte/compiler'; - -const convertMessage = ({ message, start, end, filename, frame }) => ({ - text: message, - location: start && - end && { - file: filename, - line: start.line, - column: start.column, - length: start.line === end.line ? end.column - start.column : 0, - lineText: frame, - }, -}); - -const handleLoad = async (args, generate, { isDev }) => { - const { path } = args; - const source = await fs.readFile(path, 'utf8'); - const filename = relative(process.cwd(), path); - - try { - let compileOptions = { dev: isDev, css: false, generate, hydratable: true }; - - let { js, warnings } = compile(source, { ...compileOptions, filename }); - let contents = js.code + `\n//# sourceMappingURL=` + js.map.toUrl(); - - return { - loader: 'js', - contents, - resolveDir: dirname(path), - warnings: warnings.map((w) => convertMessage(w)), - }; - } catch (e) { - return { errors: [convertMessage(e)] }; - } -}; - -export default function sveltePlugin({ isDev = false }) { - return { - name: 'svelte-esbuild', - setup(build) { - build.onResolve({ filter: /\.svelte$/ }, (args) => { - let path = args.path.replace(/\.(?:client|server)/, ''); - path = isAbsolute(path) ? path : join(args.resolveDir, path); - - if (/\.client\.svelte$/.test(args.path)) { - return { - path, - namespace: 'svelte:client', - }; - } - - if (/\.server\.svelte$/.test(args.path)) { - return { - path, - namespace: 'svelte:server', - }; - } - }); - build.onLoad({ filter: /.*/, namespace: 'svelte:client' }, (args) => - handleLoad(args, 'dom', { isDev }) - ); - build.onLoad({ filter: /.*/, namespace: 'svelte:server' }, (args) => - handleLoad(args, 'ssr', { isDev }) - ); - }, - }; -} From c6622adaeb405e961b12c91f0e5d02c7333d01cf Mon Sep 17 00:00:00 2001 From: Erika <3019731+Princesseuh@users.noreply.github.com> Date: Tue, 20 Aug 2024 14:28:52 +0200 Subject: [PATCH 15/66] Deprecate the Squoosh image service (#11780) --- .changeset/fair-rats-fail.md | 5 +++++ packages/astro/config.d.ts | 3 +++ packages/astro/src/assets/services/squoosh.ts | 10 ++++++++-- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .changeset/fair-rats-fail.md diff --git a/.changeset/fair-rats-fail.md b/.changeset/fair-rats-fail.md new file mode 100644 index 0000000000..b93bc8a2b5 --- /dev/null +++ b/.changeset/fair-rats-fail.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Deprecates the Squoosh image service, to be removed in Astro 5.0. We recommend migrating to the default Sharp service. diff --git a/packages/astro/config.d.ts b/packages/astro/config.d.ts index 9f4c6bfd11..68743b35d3 100644 --- a/packages/astro/config.d.ts +++ b/packages/astro/config.d.ts @@ -26,6 +26,9 @@ export function getViteConfig( export function sharpImageService(config?: SharpImageServiceConfig): ImageServiceConfig; /** + * @deprecated The Squoosh image service is deprecated and will be removed in Astro 5.x. + * We suggest migrating to the default Sharp image service instead, as it is faster, more powerful and better maintained. + * * Return the configuration needed to use the Squoosh-based image service * See: https://docs.astro.build/en/guides/images/#configure-squoosh */ diff --git a/packages/astro/src/assets/services/squoosh.ts b/packages/astro/src/assets/services/squoosh.ts index 6eb78db4b2..b98f831d27 100644 --- a/packages/astro/src/assets/services/squoosh.ts +++ b/packages/astro/src/assets/services/squoosh.ts @@ -1,5 +1,4 @@ -// TODO: Investigate removing this service once sharp lands WASM support, as libsquoosh is deprecated - +import { yellow } from 'kleur/colors'; import type { ImageOutputFormat, ImageQualityPreset } from '../types.js'; import { imageMetadata } from '../utils/metadata.js'; import { @@ -11,6 +10,13 @@ import { import { processBuffer } from './vendor/squoosh/image-pool.js'; import type { Operation } from './vendor/squoosh/image.js'; +// eslint-disable-next-line no-console +console.warn( + yellow( + 'The Squoosh image service is deprecated and will be removed in Astro 5.x. We suggest migrating to the default Sharp image service instead, as it is faster, more powerful and better maintained.', + ), +); + const baseQuality = { low: 25, mid: 50, high: 80, max: 100 }; const qualityTable: Record< Exclude, From 41c3fcb6189709450a67ea8f726071d5f3cdc80e Mon Sep 17 00:00:00 2001 From: Sarah Rainsberger Date: Tue, 20 Aug 2024 11:10:17 -0300 Subject: [PATCH 16/66] [docs] update link to astro:env RFC (#11790) * [docs] revert link to astro:env RFC * Create fair-trees-crash.md * typo fix --- .changeset/fair-trees-crash.md | 5 +++++ packages/astro/src/@types/astro.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/fair-trees-crash.md diff --git a/.changeset/fair-trees-crash.md b/.changeset/fair-trees-crash.md new file mode 100644 index 0000000000..4eb8b3f453 --- /dev/null +++ b/.changeset/fair-trees-crash.md @@ -0,0 +1,5 @@ +--- +astro: patch +--- + +Updates the documentation for experimental `astro:env` with a corrected link to the RFC proposal diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index c584e56573..4bc3830628 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -2057,7 +2057,7 @@ export interface AstroUserConfig { * * **Note:** Secret client variables are not supported because there is no safe way to send this data to the client. Therefore, it is not possible to configure both `context: "client"` and `access: "secret"` in your schema. * - * For a complete overview, and to give feedback on this experimental API, see the [Astro Env RFC](https://github.com/withastro/roadmap/blob/feat/astro-env-rfc/proposals/0046-astro-env.md). + * For a complete overview, and to give feedback on this experimental API, see the [Astro Env RFC](https://github.com/withastro/roadmap/blob/main/proposals/0049-astro-env.md). */ env?: { /** From 7e2f142a5ae73895892000011016478d9da05e1d Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Tue, 20 Aug 2024 07:35:33 -0700 Subject: [PATCH 17/66] [ci] release (#11739) Co-authored-by: github-actions[bot] --- .changeset/fair-rats-fail.md | 5 -- .changeset/fair-trees-crash.md | 5 -- .changeset/long-months-burn.md | 5 -- .changeset/mighty-trees-teach.md | 5 -- .changeset/new-pillows-kick.md | 5 -- .changeset/odd-donuts-impress.md | 5 -- .changeset/smart-comics-doubt.md | 5 -- .changeset/smooth-melons-cough.md | 7 --- .changeset/spicy-houses-fry.md | 5 -- .changeset/tiny-lamps-lick.md | 5 -- .changeset/weak-dancers-beam.md | 20 ------- .changeset/weak-masks-do.md | 6 -- examples/basics/package.json | 2 +- examples/blog/package.json | 4 +- examples/component/package.json | 2 +- examples/container-with-vitest/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-lit/package.json | 2 +- examples/framework-multiple/package.json | 2 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 2 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/hackernews/package.json | 2 +- examples/integration/package.json | 2 +- examples/middleware/package.json | 2 +- examples/minimal/package.json | 2 +- examples/non-html-pages/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/server-islands/package.json | 2 +- examples/ssr/package.json | 2 +- examples/starlog/package.json | 2 +- examples/toolbar-app/package.json | 2 +- examples/view-transitions/package.json | 2 +- examples/with-markdoc/package.json | 2 +- examples/with-markdown-plugins/package.json | 2 +- examples/with-markdown-shiki/package.json | 2 +- examples/with-mdx/package.json | 4 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 4 +- examples/with-vitest/package.json | 2 +- packages/astro/CHANGELOG.md | 20 +++++++ packages/astro/package.json | 2 +- packages/create-astro/CHANGELOG.md | 6 ++ packages/create-astro/package.json | 2 +- packages/db/CHANGELOG.md | 9 +++ packages/db/package.json | 2 +- packages/integrations/mdx/CHANGELOG.md | 6 ++ packages/integrations/mdx/package.json | 2 +- packages/integrations/vercel/CHANGELOG.md | 27 +++++++++ packages/integrations/vercel/package.json | 2 +- pnpm-lock.yaml | 66 ++++++++++----------- 53 files changed, 139 insertions(+), 149 deletions(-) delete mode 100644 .changeset/fair-rats-fail.md delete mode 100644 .changeset/fair-trees-crash.md delete mode 100644 .changeset/long-months-burn.md delete mode 100644 .changeset/mighty-trees-teach.md delete mode 100644 .changeset/new-pillows-kick.md delete mode 100644 .changeset/odd-donuts-impress.md delete mode 100644 .changeset/smart-comics-doubt.md delete mode 100644 .changeset/smooth-melons-cough.md delete mode 100644 .changeset/spicy-houses-fry.md delete mode 100644 .changeset/tiny-lamps-lick.md delete mode 100644 .changeset/weak-dancers-beam.md delete mode 100644 .changeset/weak-masks-do.md diff --git a/.changeset/fair-rats-fail.md b/.changeset/fair-rats-fail.md deleted file mode 100644 index b93bc8a2b5..0000000000 --- a/.changeset/fair-rats-fail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Deprecates the Squoosh image service, to be removed in Astro 5.0. We recommend migrating to the default Sharp service. diff --git a/.changeset/fair-trees-crash.md b/.changeset/fair-trees-crash.md deleted file mode 100644 index 4eb8b3f453..0000000000 --- a/.changeset/fair-trees-crash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -astro: patch ---- - -Updates the documentation for experimental `astro:env` with a corrected link to the RFC proposal diff --git a/.changeset/long-months-burn.md b/.changeset/long-months-burn.md deleted file mode 100644 index 4b11c58a17..0000000000 --- a/.changeset/long-months-burn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Changes messages logged when using unsupported, deprecated, or experimental adapter features for clarity diff --git a/.changeset/mighty-trees-teach.md b/.changeset/mighty-trees-teach.md deleted file mode 100644 index 289a418161..0000000000 --- a/.changeset/mighty-trees-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/mdx': patch ---- - -Fixes stack trace location when failed to parse an MDX file with frontmatter diff --git a/.changeset/new-pillows-kick.md b/.changeset/new-pillows-kick.md deleted file mode 100644 index ccc705d675..0000000000 --- a/.changeset/new-pillows-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Prints prerender dynamic value usage warning only if it's used diff --git a/.changeset/odd-donuts-impress.md b/.changeset/odd-donuts-impress.md deleted file mode 100644 index 7dd8d6b1b4..0000000000 --- a/.changeset/odd-donuts-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes the path returned by `injectTypes` diff --git a/.changeset/smart-comics-doubt.md b/.changeset/smart-comics-doubt.md deleted file mode 100644 index 0582ebd915..0000000000 --- a/.changeset/smart-comics-doubt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'create-astro': patch ---- - -Fixes initial git commit when initializing git diff --git a/.changeset/smooth-melons-cough.md b/.changeset/smooth-melons-cough.md deleted file mode 100644 index 0a4a3ea9d8..0000000000 --- a/.changeset/smooth-melons-cough.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/vercel': patch ---- - -Prevent race condition with Node 18 - -Using Node 18 there can be a race condition where polyfill for the `crypto` global is not applied in time. This change ensures the polyfills run first. diff --git a/.changeset/spicy-houses-fry.md b/.changeset/spicy-houses-fry.md deleted file mode 100644 index 41f376a354..0000000000 --- a/.changeset/spicy-houses-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Simplifies path operations of `astro sync` diff --git a/.changeset/tiny-lamps-lick.md b/.changeset/tiny-lamps-lick.md deleted file mode 100644 index 865994afa1..0000000000 --- a/.changeset/tiny-lamps-lick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes an error thrown by `astro sync` when an `astro:env` virtual module is imported inside the Content Collections config diff --git a/.changeset/weak-dancers-beam.md b/.changeset/weak-dancers-beam.md deleted file mode 100644 index 6d46678154..0000000000 --- a/.changeset/weak-dancers-beam.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -'@astrojs/vercel': minor ---- - -Deprecates the `functionPerRoute` option - -This option is now deprecated, and will be removed entirely in Astro v5.0. We suggest removing this option from your configuration as soon as you are able to: - -```diff -import { defineConfig } from 'astro/config'; -import vercel from '@astrojs/vercel/serverless'; - -export default defineConfig({ - // ... - output: 'server', - adapter: vercel({ -- functionPerRoute: true, - }), -}); -``` diff --git a/.changeset/weak-masks-do.md b/.changeset/weak-masks-do.md deleted file mode 100644 index 96aa4a1db8..0000000000 --- a/.changeset/weak-masks-do.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'astro': patch -'@astrojs/db': patch ---- - -Disables the WebSocket server when creating a Vite server for loading config files diff --git a/examples/basics/package.json b/examples/basics/package.json index be4bf81ad1..81c2d36ba4 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.2" + "astro": "^4.14.3" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 2b248d3a8d..0f7982cc73 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.3", + "@astrojs/mdx": "^3.1.4", "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", - "astro": "^4.14.2" + "astro": "^4.14.3" } } diff --git a/examples/component/package.json b/examples/component/package.json index 3d2e2bead4..39f91debb9 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.14.2" + "astro": "^4.14.3" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index 1c67323405..b2c316baa6 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest run" }, "dependencies": { - "astro": "^4.14.2", + "astro": "^4.14.3", "@astrojs/react": "^3.6.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 03cfff656d..0fb4d7c288 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -14,6 +14,6 @@ "@astrojs/alpinejs": "^0.4.0", "@types/alpinejs": "^3.13.10", "alpinejs": "^3.14.1", - "astro": "^4.14.2" + "astro": "^4.14.3" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index cdb7d272a4..d8136088fd 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/lit": "^4.3.0", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^4.14.2", + "astro": "^4.14.3", "lit": "^3.2.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 043cee15eb..ed1c3cc8c1 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -18,7 +18,7 @@ "@astrojs/vue": "^4.5.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.14.2", + "astro": "^4.14.3", "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index cb70d3a9f0..c478639751 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.1", "@preact/signals": "^1.3.0", - "astro": "^4.14.2", + "astro": "^4.14.3", "preact": "^10.23.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 4fbde09c64..0cbc2cec32 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.6.2", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.14.2", + "astro": "^4.14.3", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 6d234f05c2..cd8f4f760c 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^4.4.1", - "astro": "^4.14.2", + "astro": "^4.14.3", "solid-js": "^1.8.21" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 42a99cd247..0d403e1c12 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^5.7.0", - "astro": "^4.14.2", + "astro": "^4.14.3", "svelte": "^4.2.18" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 2e9653a88a..0f9fbe6c2f 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^4.5.0", - "astro": "^4.14.2", + "astro": "^4.14.3", "vue": "^3.4.38" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index bc5ee46b2c..27f9041398 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^8.3.3", - "astro": "^4.14.2" + "astro": "^4.14.3" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index d8225462a8..87588143ab 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.14.2" + "astro": "^4.14.3" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index db80ba2fe2..492315a212 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^8.3.3", - "astro": "^4.14.2", + "astro": "^4.14.3", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 129a0e1c68..d8601b48f3 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.2" + "astro": "^4.14.3" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 14750d8411..ba457acd44 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.2" + "astro": "^4.14.3" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 22e75e1419..811cf52e1e 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.2" + "astro": "^4.14.3" } } diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index adf39cd380..6557b0af79 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -17,7 +17,7 @@ "@tailwindcss/forms": "^0.5.7", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.14.2", + "astro": "^4.14.3", "postcss": "^8.4.41", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/ssr/package.json b/examples/ssr/package.json index d35df0ec4c..e898892036 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,7 +14,7 @@ "dependencies": { "@astrojs/node": "^8.3.3", "@astrojs/svelte": "^5.7.0", - "astro": "^4.14.2", + "astro": "^4.14.3", "svelte": "^4.2.18" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 905df4a69d..591c6a868b 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.2", + "astro": "^4.14.3", "sass": "^1.77.8", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index d08c29bca2..1cd73c715a 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^4.14.2" + "astro": "^4.14.3" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index 7448b9ec0a..ed81311cca 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -12,6 +12,6 @@ "devDependencies": { "@astrojs/tailwind": "^5.1.0", "@astrojs/node": "^8.3.3", - "astro": "^4.14.2" + "astro": "^4.14.3" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 1af3bc63c1..52ce619dd2 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.11.3", - "astro": "^4.14.2" + "astro": "^4.14.3" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 61f1253458..5f784634ba 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/markdown-remark": "^5.2.0", - "astro": "^4.14.2", + "astro": "^4.14.3", "hast-util-select": "^6.0.2", "rehype-autolink-headings": "^7.1.0", "rehype-slug": "^6.0.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index e1486a376a..b23e2f5e1f 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.2" + "astro": "^4.14.3" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index e83c26abc6..3c56b905fe 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.3", + "@astrojs/mdx": "^3.1.4", "@astrojs/preact": "^3.5.1", - "astro": "^4.14.2", + "astro": "^4.14.3", "preact": "^10.23.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 709d6388cb..77fa76e206 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.1", "@nanostores/preact": "^0.5.2", - "astro": "^4.14.2", + "astro": "^4.14.3", "nanostores": "^0.11.2", "preact": "^10.23.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index cd5e7b994e..3ff12fb7bf 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.3", + "@astrojs/mdx": "^3.1.4", "@astrojs/tailwind": "^5.1.0", "@types/canvas-confetti": "^1.6.4", - "astro": "^4.14.2", + "astro": "^4.14.3", "autoprefixer": "^10.4.20", "canvas-confetti": "^1.9.3", "postcss": "^8.4.41", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 88956a94eb..3cf43affe4 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.14.2", + "astro": "^4.14.3", "vitest": "^2.0.5" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 5c93709a4b..59f738fa9a 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,25 @@ # astro +## 4.14.3 + +### Patch Changes + +- [#11780](https://github.com/withastro/astro/pull/11780) [`c6622ad`](https://github.com/withastro/astro/commit/c6622adaeb405e961b12c91f0e5d02c7333d01cf) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Deprecates the Squoosh image service, to be removed in Astro 5.0. We recommend migrating to the default Sharp service. + +- [#11790](https://github.com/withastro/astro/pull/11790) [`41c3fcb`](https://github.com/withastro/astro/commit/41c3fcb6189709450a67ea8f726071d5f3cdc80e) Thanks [@sarah11918](https://github.com/sarah11918)! - Updates the documentation for experimental `astro:env` with a corrected link to the RFC proposal + +- [#11773](https://github.com/withastro/astro/pull/11773) [`86a3391`](https://github.com/withastro/astro/commit/86a33915ff41b23ff6b35bcfb1805fefc0760ca7) Thanks [@ematipico](https://github.com/ematipico)! - Changes messages logged when using unsupported, deprecated, or experimental adapter features for clarity + +- [#11745](https://github.com/withastro/astro/pull/11745) [`89bab1e`](https://github.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f) Thanks [@bluwy](https://github.com/bluwy)! - Prints prerender dynamic value usage warning only if it's used + +- [#11774](https://github.com/withastro/astro/pull/11774) [`c6400ab`](https://github.com/withastro/astro/commit/c6400ab99c5e5f4477bc6ef7e801b7869b0aa9ab) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Fixes the path returned by `injectTypes` + +- [#11730](https://github.com/withastro/astro/pull/11730) [`2df49a6`](https://github.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Simplifies path operations of `astro sync` + +- [#11771](https://github.com/withastro/astro/pull/11771) [`49650a4`](https://github.com/withastro/astro/commit/49650a45550af46c70c6cf3f848b7b529103a649) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Fixes an error thrown by `astro sync` when an `astro:env` virtual module is imported inside the Content Collections config + +- [#11744](https://github.com/withastro/astro/pull/11744) [`b677429`](https://github.com/withastro/astro/commit/b67742961a384c10e5cd04cf5b02d0f014ea7362) Thanks [@bluwy](https://github.com/bluwy)! - Disables the WebSocket server when creating a Vite server for loading config files + ## 4.14.2 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 479024de22..59ba87396c 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.14.2", + "version": "4.14.3", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/packages/create-astro/CHANGELOG.md b/packages/create-astro/CHANGELOG.md index 19ae5f93f3..ebde2e51fa 100644 --- a/packages/create-astro/CHANGELOG.md +++ b/packages/create-astro/CHANGELOG.md @@ -1,5 +1,11 @@ # create-astro +## 4.8.4 + +### Patch Changes + +- [#11766](https://github.com/withastro/astro/pull/11766) [`d12dcbf`](https://github.com/withastro/astro/commit/d12dcbff606dd8330075ba77d73ed3cbc79d7421) Thanks [@bluwy](https://github.com/bluwy)! - Fixes initial git commit when initializing git + ## 4.8.3 ### Patch Changes diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index e22a738fae..b3bfd006f7 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -1,6 +1,6 @@ { "name": "create-astro", - "version": "4.8.3", + "version": "4.8.4", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/db/CHANGELOG.md b/packages/db/CHANGELOG.md index 9fcc870d39..87c2df6e11 100644 --- a/packages/db/CHANGELOG.md +++ b/packages/db/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/db +## 0.13.2 + +### Patch Changes + +- [#11744](https://github.com/withastro/astro/pull/11744) [`b677429`](https://github.com/withastro/astro/commit/b67742961a384c10e5cd04cf5b02d0f014ea7362) Thanks [@bluwy](https://github.com/bluwy)! - Disables the WebSocket server when creating a Vite server for loading config files + +- Updated dependencies []: + - @astrojs/studio@0.1.1 + ## 0.13.1 ### Patch Changes diff --git a/packages/db/package.json b/packages/db/package.json index 5a73940b59..06790e9873 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/db", - "version": "0.13.1", + "version": "0.13.2", "description": "Add libSQL and Astro Studio support to your Astro site", "license": "MIT", "repository": { diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index ff85f84858..b006a1707c 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/mdx +## 3.1.4 + +### Patch Changes + +- [#11717](https://github.com/withastro/astro/pull/11717) [`423614e`](https://github.com/withastro/astro/commit/423614ebb6ddb76cc8d11f3e3b6ae111a4a82662) Thanks [@bluwy](https://github.com/bluwy)! - Fixes stack trace location when failed to parse an MDX file with frontmatter + ## 3.1.3 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 773b3bf621..87c66f2ed2 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Add support for MDX pages in your Astro site", - "version": "3.1.3", + "version": "3.1.4", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 2fda03d951..4a8d6343a6 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,32 @@ # @astrojs/vercel +## 7.8.0 + +### Minor Changes + +- [#11728](https://github.com/withastro/astro/pull/11728) [`5ea02b1`](https://github.com/withastro/astro/commit/5ea02b12fdb9b8ca45b1229bb9d04bc3d1270e0f) Thanks [@matthewp](https://github.com/matthewp)! - Deprecates the `functionPerRoute` option + + This option is now deprecated, and will be removed entirely in Astro v5.0. We suggest removing this option from your configuration as soon as you are able to: + + ```diff + import { defineConfig } from 'astro/config'; + import vercel from '@astrojs/vercel/serverless'; + + export default defineConfig({ + // ... + output: 'server', + adapter: vercel({ + - functionPerRoute: true, + }), + }); + ``` + +### Patch Changes + +- [#11783](https://github.com/withastro/astro/pull/11783) [`fc81b01`](https://github.com/withastro/astro/commit/fc81b01bcdd43646bcc615b16bf0400a646445c8) Thanks [@matthewp](https://github.com/matthewp)! - Prevent race condition with Node 18 + + Using Node 18 there can be a race condition where polyfill for the `crypto` global is not applied in time. This change ensures the polyfills run first. + ## 7.7.2 ### Patch Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 70fe485b28..75563e9183 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/vercel", "description": "Deploy your site to Vercel", - "version": "7.7.2", + "version": "7.8.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 633acc7af6..6e406b9106 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -116,13 +116,13 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^3.1.3 + specifier: ^3.1.4 version: link:../../packages/integrations/mdx '@astrojs/rss': specifier: ^4.0.7 @@ -131,13 +131,13 @@ importers: specifier: ^3.1.6 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/container-with-vitest: @@ -146,7 +146,7 @@ importers: specifier: ^3.6.2 version: link:../../packages/integrations/react astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -177,7 +177,7 @@ importers: specifier: ^3.14.1 version: 3.14.1 astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/framework-lit: @@ -189,7 +189,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro lit: specifier: ^3.2.0 @@ -219,7 +219,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -249,7 +249,7 @@ importers: specifier: ^1.3.0 version: 1.3.0(preact@10.23.2) astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -267,7 +267,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -282,7 +282,7 @@ importers: specifier: ^4.4.1 version: link:../../packages/integrations/solid astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro solid-js: specifier: ^1.8.21 @@ -294,7 +294,7 @@ importers: specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -306,7 +306,7 @@ importers: specifier: ^4.5.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro vue: specifier: ^3.4.38 @@ -318,13 +318,13 @@ importers: specifier: ^8.3.3 version: link:../../packages/integrations/node astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/middleware: @@ -333,7 +333,7 @@ importers: specifier: ^8.3.3 version: link:../../packages/integrations/node astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -346,19 +346,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/server-islands: @@ -385,7 +385,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro postcss: specifier: ^8.4.41 @@ -409,7 +409,7 @@ importers: specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -418,7 +418,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro sass: specifier: ^1.77.8 @@ -430,7 +430,7 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/view-transitions: @@ -442,7 +442,7 @@ importers: specifier: ^5.1.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/with-markdoc: @@ -451,7 +451,7 @@ importers: specifier: ^0.11.3 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/with-markdown-plugins: @@ -460,7 +460,7 @@ importers: specifier: ^5.2.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -481,19 +481,19 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^3.1.3 + specifier: ^3.1.4 version: link:../../packages/integrations/mdx '@astrojs/preact': specifier: ^3.5.1 version: link:../../packages/integrations/preact astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -508,7 +508,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.2)(preact@10.23.2) astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro nanostores: specifier: ^0.11.2 @@ -520,7 +520,7 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^3.1.3 + specifier: ^3.1.4 version: link:../../packages/integrations/mdx '@astrojs/tailwind': specifier: ^5.1.0 @@ -529,7 +529,7 @@ importers: specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro autoprefixer: specifier: ^10.4.20 @@ -547,7 +547,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.14.2 + specifier: ^4.14.3 version: link:../../packages/astro vitest: specifier: ^2.0.5 From 3691a626fb67d617e5f8bd057443cd2ff6caa054 Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Tue, 20 Aug 2024 14:41:44 -0400 Subject: [PATCH 18/66] [Actions] Fix middleware warning static mode (#11794) * fix: remove static usage warning with isPrendered flag * fix(test): cookie is empty for prerendered routes in dev * chore: add test route * chore: changeset --- .changeset/chatty-cups-sleep.md | 5 ++++ .../src/pages/blog/[...slug].astro | 23 ++++++++------- .../astro/src/actions/runtime/middleware.ts | 28 +++++++++++-------- packages/astro/src/core/render-context.ts | 11 ++++++-- packages/astro/test/actions.test.js | 23 +++++++++++++++ .../src/pages/subscribe-prerendered.astro | 17 +++++++++++ 6 files changed, 81 insertions(+), 26 deletions(-) create mode 100644 .changeset/chatty-cups-sleep.md create mode 100644 packages/astro/test/fixtures/actions/src/pages/subscribe-prerendered.astro diff --git a/.changeset/chatty-cups-sleep.md b/.changeset/chatty-cups-sleep.md new file mode 100644 index 0000000000..99ea702e83 --- /dev/null +++ b/.changeset/chatty-cups-sleep.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes unexpected warning log when using Actions on "hybrid" rendered projects. diff --git a/packages/astro/e2e/fixtures/actions-blog/src/pages/blog/[...slug].astro b/packages/astro/e2e/fixtures/actions-blog/src/pages/blog/[...slug].astro index fe97a8de13..34c7d5840d 100644 --- a/packages/astro/e2e/fixtures/actions-blog/src/pages/blog/[...slug].astro +++ b/packages/astro/e2e/fixtures/actions-blog/src/pages/blog/[...slug].astro @@ -17,14 +17,13 @@ export async function getStaticPaths() { })); } - type Props = CollectionEntry<'blog'>; const post = await getEntry('blog', Astro.params.slug)!; const { Content } = await post.render(); if (Astro.url.searchParams.has('like')) { - await Astro.callAction(actions.blog.like.orThrow, {postId: post.id}); + await Astro.callAction(actions.blog.like.orThrow, { postId: post.id }); } const comment = Astro.getActionResult(actions.blog.comment); @@ -57,17 +56,17 @@ const commentPostIdOverride = Astro.url.searchParams.get('commentPostIdOverride' /> - - - + + + - {isInputError(comment?.error) && comment.error.fields.body && ( -

{comment.error.fields.body.toString()}

- )} + { + isInputError(comment?.error) && comment.error.fields.body && ( +

+ {comment.error.fields.body.toString()} +

+ ) + }
diff --git a/packages/astro/src/actions/runtime/middleware.ts b/packages/astro/src/actions/runtime/middleware.ts index f3f01800a8..4f0a732b6c 100644 --- a/packages/astro/src/actions/runtime/middleware.ts +++ b/packages/astro/src/actions/runtime/middleware.ts @@ -22,8 +22,18 @@ export type Locals = { }; export const onRequest = defineMiddleware(async (context, next) => { + if ((context as any)._isPrerendered) { + if (context.request.method === 'POST') { + // eslint-disable-next-line no-console + console.warn( + yellow('[astro:actions]'), + 'POST requests should not be sent to prerendered pages. If you\'re using Actions, disable prerendering with `export const prerender = "false".', + ); + } + return next(); + } + const locals = context.locals as Locals; - const { request } = context; // Actions middleware may have run already after a path rewrite. // See https://github.com/withastro/roadmap/blob/feat/reroute/proposals/0047-rerouting.md#ctxrewrite // `_actionPayload` is the same for every page, @@ -38,16 +48,6 @@ export const onRequest = defineMiddleware(async (context, next) => { return renderResult({ context, next, ...actionPayload }); } - // Heuristic: If body is null, Astro might've reset this for prerendering. - if (import.meta.env.DEV && request.method === 'POST' && request.body === null) { - // eslint-disable-next-line no-console - console.warn( - yellow('[astro:actions]'), - 'POST requests should not be sent to prerendered pages. If you\'re using Actions, disable prerendering with `export const prerender = "false".', - ); - return next(); - } - const actionName = context.url.searchParams.get(ACTION_QUERY_PARAMS.actionName); if (context.request.method === 'POST' && actionName) { @@ -92,7 +92,11 @@ async function handlePost({ context, next, actionName, -}: { context: APIContext; next: MiddlewareNext; actionName: string }) { +}: { + context: APIContext; + next: MiddlewareNext; + actionName: string; +}) { const { request } = context; const baseAction = await getAction(actionName); diff --git a/packages/astro/src/core/render-context.ts b/packages/astro/src/core/render-context.ts index a19d11080a..ca6f0e47ac 100644 --- a/packages/astro/src/core/render-context.ts +++ b/packages/astro/src/core/render-context.ts @@ -114,6 +114,8 @@ export class RenderContext { const { cookies, middleware, pipeline } = this; const { logger, serverLike, streaming } = pipeline; + const isPrerendered = !serverLike || this.routeData.prerender; + const props = Object.keys(this.props).length > 0 ? this.props @@ -125,7 +127,7 @@ export class RenderContext { logger, serverLike, }); - const apiContext = this.createAPIContext(props); + const apiContext = this.createAPIContext(props, isPrerendered); this.counter++; if (this.counter === 4) { @@ -212,12 +214,17 @@ export class RenderContext { return response; } - createAPIContext(props: APIContext['props']): APIContext { + createAPIContext(props: APIContext['props'], isPrerendered: boolean): APIContext { const context = this.createActionAPIContext(); return Object.assign(context, { props, getActionResult: createGetActionResult(context.locals), callAction: createCallAction(context), + // Used internally by Actions middleware. + // TODO: discuss exposing this information from APIContext. + // middleware runs on prerendered routes in the dev server, + // so this is useful information to have. + _isPrerendered: isPrerendered, }); } diff --git a/packages/astro/test/actions.test.js b/packages/astro/test/actions.test.js index 341e7c8d64..6716f874b0 100644 --- a/packages/astro/test/actions.test.js +++ b/packages/astro/test/actions.test.js @@ -4,6 +4,7 @@ import * as cheerio from 'cheerio'; import * as devalue from 'devalue'; import testAdapter from './test-adapter.js'; import { loadFixture } from './test-utils.js'; +import { serializeActionResult } from '../dist/actions/runtime/virtual/shared.js'; describe('Astro Actions', () => { let fixture; @@ -25,6 +26,28 @@ describe('Astro Actions', () => { await devServer.stop(); }); + it('Does not process middleware cookie for prerendered routes', async () => { + const cookie = new URLSearchParams(); + cookie.append( + '_astroActionPayload', + JSON.stringify({ + actionName: 'subscribe', + actionResult: serializeActionResult({ + data: { channel: 'bholmesdev', subscribeButtonState: 'smashed' }, + error: undefined, + }), + }), + ); + const res = await fixture.fetch('/subscribe-prerendered', { + headers: { + Cookie: cookie.toString(), + }, + }); + const html = await res.text(); + const $ = cheerio.load(html); + assert.equal($('body').text().trim(), 'No cookie found.'); + }); + it('Exposes subscribe action', async () => { const res = await fixture.fetch('/_actions/subscribe', { method: 'POST', diff --git a/packages/astro/test/fixtures/actions/src/pages/subscribe-prerendered.astro b/packages/astro/test/fixtures/actions/src/pages/subscribe-prerendered.astro new file mode 100644 index 0000000000..3d3b37772d --- /dev/null +++ b/packages/astro/test/fixtures/actions/src/pages/subscribe-prerendered.astro @@ -0,0 +1,17 @@ +--- +import { actions } from 'astro:actions'; + +export const prerender = true; + +const result = Astro.getActionResult(actions.subscribe); +--- + + + + + + + Document + + {result?.data?.subscribeButtonState ?? 'No cookie found.'} + From b9a585c3fbfdf60a7632470ca4b51558694236e8 Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Tue, 20 Aug 2024 14:42:02 -0400 Subject: [PATCH 19/66] chore: remove unused astro error (#11795) --- packages/astro/src/core/errors/errors-data.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index 24b9ad687a..33395bffac 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -1664,21 +1664,6 @@ export const ActionsWithoutServerOutputError = { hint: 'Learn about on-demand rendering: https://docs.astro.build/en/basics/rendering-modes/#on-demand-rendered', } satisfies ErrorData; -/** - * @docs - * @see - * - [Actions RFC](https://github.com/withastro/roadmap/blob/actions/proposals/0046-actions.md) - * @description - * Action was called from a form using a GET request, but only POST requests are supported. This often occurs if `method="POST"` is missing on the form. - */ -export const ActionsUsedWithForGetError = { - name: 'ActionsUsedWithForGetError', - title: 'An invalid Action query string was passed by a form.', - message: (actionName: string) => - `Action ${actionName} was called from a form using a GET request, but only POST requests are supported. This often occurs if \`method="POST"\` is missing on the form.`, - hint: 'Actions are experimental. Visit the RFC for usage instructions: https://github.com/withastro/roadmap/blob/actions/proposals/0046-actions.md', -} satisfies ErrorData; - /** * @docs * @see From 3416f8a3e16fec315f4a4aaf20bb0fd696e335d6 Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Tue, 20 Aug 2024 18:42:58 +0000 Subject: [PATCH 20/66] [ci] format --- packages/astro/test/actions.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/test/actions.test.js b/packages/astro/test/actions.test.js index 6716f874b0..0b2cc6a815 100644 --- a/packages/astro/test/actions.test.js +++ b/packages/astro/test/actions.test.js @@ -2,9 +2,9 @@ import assert from 'node:assert/strict'; import { after, before, describe, it } from 'node:test'; import * as cheerio from 'cheerio'; import * as devalue from 'devalue'; +import { serializeActionResult } from '../dist/actions/runtime/virtual/shared.js'; import testAdapter from './test-adapter.js'; import { loadFixture } from './test-utils.js'; -import { serializeActionResult } from '../dist/actions/runtime/virtual/shared.js'; describe('Astro Actions', () => { let fixture; From 5ea13a86967830f1add177b42cf415f578706af0 Mon Sep 17 00:00:00 2001 From: liruifengv Date: Wed, 21 Aug 2024 15:08:34 +0800 Subject: [PATCH 21/66] [docs]: fix typo (#11799) --- packages/astro/src/@types/astro.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 4bc3830628..30d5a50d87 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -2276,7 +2276,7 @@ export interface AstroUserConfig { * ``` * * :::note - * Loaders will not automatically [exclude files prefaced with an `_`](/en/guides/routing/#excluding-pages). Use a regular expression such as `pattern: '**\/[^_]*.md` in your loader to ignore these files. + * Loaders will not automatically [exclude files prefaced with an `_`](/en/guides/routing/#excluding-pages). Use a regular expression such as `pattern: '**\/[^_]*.md'` in your loader to ignore these files. * ::: * * #### Querying and rendering with the Content Layer API From 6814ff07f56426dfce5b14355c07bed28fc28032 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Wed, 21 Aug 2024 10:19:21 +0100 Subject: [PATCH 22/66] chore: restore error and deprecate it (#11800) * chore: restore error and deprecate it * change deprecation version * Update packages/astro/src/core/errors/errors-data.ts --- packages/astro/src/core/errors/errors-data.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index 33395bffac..d16cfdd969 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -1664,6 +1664,22 @@ export const ActionsWithoutServerOutputError = { hint: 'Learn about on-demand rendering: https://docs.astro.build/en/basics/rendering-modes/#on-demand-rendered', } satisfies ErrorData; +/** + * @docs + * @see + * - [Actions RFC](https://github.com/withastro/roadmap/blob/actions/proposals/0046-actions.md) + * @description + * Action was called from a form using a GET request, but only POST requests are supported. This often occurs if `method="POST"` is missing on the form. + * @deprecated Deprecated since version 4.13.2. + */ +export const ActionsUsedWithForGetError = { + name: 'ActionsUsedWithForGetError', + title: 'An invalid Action query string was passed by a form.', + message: (actionName: string) => + `Action ${actionName} was called from a form using a GET request, but only POST requests are supported. This often occurs if \`method="POST"\` is missing on the form.`, + hint: 'Actions are experimental. Visit the RFC for usage instructions: https://github.com/withastro/roadmap/blob/actions/proposals/0046-actions.md', +} satisfies ErrorData; + /** * @docs * @see From 9f943c1344671b569a0d1ddba683b3cca0068adc Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Wed, 21 Aug 2024 13:17:52 +0200 Subject: [PATCH 23/66] Fix file loader for JSON object files (#11801) * Add `filePath` to `file()` loader entries when JSON file is an object * Add changeset --- .changeset/four-rats-fail.md | 5 +++++ packages/astro/src/content/loaders/file.ts | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 .changeset/four-rats-fail.md diff --git a/.changeset/four-rats-fail.md b/.changeset/four-rats-fail.md new file mode 100644 index 0000000000..aa0fcbdb71 --- /dev/null +++ b/.changeset/four-rats-fail.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes a bug where the `filePath` property was not available on content collection entries when using the content layer `file()` loader with a JSON file that contained an object instead of an array. This was breaking use of the `image()` schema utility among other things. diff --git a/packages/astro/src/content/loaders/file.ts b/packages/astro/src/content/loaders/file.ts index cbc684a997..75e5e214d9 100644 --- a/packages/astro/src/content/loaders/file.ts +++ b/packages/astro/src/content/loaders/file.ts @@ -26,6 +26,8 @@ export function file(fileName: string): Loader { return; } + const normalizedFilePath = posixRelative(fileURLToPath(settings.config.root), filePath); + if (Array.isArray(json)) { if (json.length === 0) { logger.warn(`No items found in ${fileName}`); @@ -39,11 +41,7 @@ export function file(fileName: string): Loader { continue; } const data = await parseData({ id, data: rawItem, filePath }); - store.set({ - id, - data, - filePath: posixRelative(fileURLToPath(settings.config.root), filePath), - }); + store.set({ id, data, filePath: normalizedFilePath }); } } else if (typeof json === 'object') { const entries = Object.entries>(json); @@ -51,7 +49,7 @@ export function file(fileName: string): Loader { store.clear(); for (const [id, rawItem] of entries) { const data = await parseData({ id, data: rawItem, filePath }); - store.set({ id, data }); + store.set({ id, data, filePath: normalizedFilePath }); } } else { logger.error(`Invalid data in ${fileName}. Must be an array or object.`); From 04390c83a2c62e0a2c127fce19d5e52de0c467ec Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Wed, 21 Aug 2024 13:13:07 +0100 Subject: [PATCH 24/66] ci: enable preview and repo dispatch (#11768) * ci: enables preview and repo dispatch * chore: change command * use pnpm * change pattern * change pattern /2 --- .github/workflows/dispatch-event.yml | 61 ++++++++++++++++++++++++++ .github/workflows/preview-release.yml | 62 +++++++++++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 .github/workflows/dispatch-event.yml create mode 100644 .github/workflows/preview-release.yml diff --git a/.github/workflows/dispatch-event.yml b/.github/workflows/dispatch-event.yml new file mode 100644 index 0000000000..85e2319fe0 --- /dev/null +++ b/.github/workflows/dispatch-event.yml @@ -0,0 +1,61 @@ +name: Dispatch event + +on: + workflow_dispatch: + push: + branches: + - main + tags: + - '!**' + +permissions: + contents: read + actions: write + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +env: + ASTRO_ADAPTERS_REPO: withastro/adapters + ASTRO_STARLIGHT_REPO: withastro/starlight + ASTRO_PUSH_MAIN_EVENT: biome-push-main-event + +jobs: + repository-dispatch: + name: Repository dispatch + runs-on: ubuntu-latest + steps: + - name: Dispatch event on push - adapters + if: ${{ github.event_name == 'push' }} + uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3 + with: + token: ${{ secrets.ASTRO_REPOSITORY_DISPATCH }} + repository: ${{ env.ASTRO_ADAPTERS_REPO }} + event-type: ${{ env.ASTRO_PUSH_MAIN_EVENT }} + client-payload: '{"event": ${{ toJson(github.event) }}}' + - name: Dispatch event on push - starlight + if: ${{ github.event_name == 'push' }} + uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3 + with: + token: ${{ secrets.ASTRO_REPOSITORY_DISPATCH }} + repository: ${{ env.ASTRO_STARLIGHT_REPO }} + event-type: ${{ env.ASTRO_PUSH_MAIN_EVENT }} + client-payload: '{"event": ${{ toJson(github.event) }}}' + # For testing only, the payload is mocked + - name: Dispatch event on workflow dispatch - adapters + if: ${{ github.event_name == 'workflow_dispatch' }} + uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3 + with: + token: ${{ secrets.ASTRO_REPOSITORY_DISPATCH }} + repository: ${{ env.ASTRO_ADAPTERS_REPO }} + event-type: ${{ env.ASTRO_PUSH_MAIN_EVENT }} + client-payload: '{"event": {"head_commit": {"id": "${{ env.GITHUB_SHA }}"}}}' + - name: Dispatch event on workflow dispatch - starlight + if: ${{ github.event_name == 'workflow_dispatch' }} + uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3 + with: + token: ${{ secrets.ASTRO_REPOSITORY_DISPATCH }} + repository: ${{ env.ASTRO_STARLIGHT_REPO }} + event-type: ${{ env.ASTRO_PUSH_MAIN_EVENT }} + client-payload: '{"event": {"head_commit": {"id": "${{ env.GITHUB_SHA }}"}}}' diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml new file mode 100644 index 0000000000..cf49894bdf --- /dev/null +++ b/.github/workflows/preview-release.yml @@ -0,0 +1,62 @@ +name: Preview release + +on: + workflow_dispatch: + push: + branches: + - main + tags: + - '!**' + merge_group: + pull_request: + paths-ignore: + - ".vscode/**" + - "**/*.md" + - ".github/ISSUE_TEMPLATE/**" + +permissions: + contents: read + actions: write + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + FORCE_COLOR: true + ASTRO_TELEMETRY_DISABLED: true + # 7 GiB by default on GitHub, setting to 6 GiB + # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources + NODE_OPTIONS: --max-old-space-size=6144 + +jobs: + preview: + name: Publish preview release + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - name: Disable git crlf + run: git config --global core.autocrlf false + + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup PNPM + uses: pnpm/action-setup@v3 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: "pnpm" + + - name: Install dependencies + run: pnpm install + + - name: Build Packages + run: pnpm run build + + - name: Publish packages + run: pnpx pkg-pr-new publish --pnpm './packages/*' './packages/integrations/*' From 4f25b60d0c6a17183f0b54feab54ddc93ed37f40 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Wed, 21 Aug 2024 13:51:55 +0100 Subject: [PATCH 25/66] ci: run preview release on demand (#11803) * ci: run preview release on demand * Update .github/workflows/preview-release.yml Co-authored-by: Bjorn Lu * run on comments --------- Co-authored-by: Bjorn Lu --- .github/workflows/dispatch-event.yml | 2 +- .github/workflows/preview-release.yml | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dispatch-event.yml b/.github/workflows/dispatch-event.yml index 85e2319fe0..5283fab4e1 100644 --- a/.github/workflows/dispatch-event.yml +++ b/.github/workflows/dispatch-event.yml @@ -19,7 +19,7 @@ concurrency: env: ASTRO_ADAPTERS_REPO: withastro/adapters ASTRO_STARLIGHT_REPO: withastro/starlight - ASTRO_PUSH_MAIN_EVENT: biome-push-main-event + ASTRO_PUSH_MAIN_EVENT: astro-push-main-event jobs: repository-dispatch: diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml index cf49894bdf..6e20df92c3 100644 --- a/.github/workflows/preview-release.yml +++ b/.github/workflows/preview-release.yml @@ -2,11 +2,8 @@ name: Preview release on: workflow_dispatch: - push: - branches: - - main - tags: - - '!**' + issue_comment: + types: [created] merge_group: pull_request: paths-ignore: @@ -33,8 +30,14 @@ env: jobs: preview: - name: Publish preview release + if: ${{ github.repository_owner == 'withastro' && github.event.issue.pull_request && (startsWith(github.event.comment.body, '!preview')) }} runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + issues: write + pull-requests: write + name: Publish preview release timeout-minutes: 5 steps: - name: Disable git crlf From 0231ee7ab59d17985ef367c6144861dd3a625e63 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Wed, 21 Aug 2024 14:25:26 +0100 Subject: [PATCH 26/66] ci: trigger using review comment instead (#11804) --- .github/workflows/preview-release.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml index 6e20df92c3..d237011984 100644 --- a/.github/workflows/preview-release.yml +++ b/.github/workflows/preview-release.yml @@ -2,14 +2,8 @@ name: Preview release on: workflow_dispatch: - issue_comment: + pull_request_review_comment: types: [created] - merge_group: - pull_request: - paths-ignore: - - ".vscode/**" - - "**/*.md" - - ".github/ISSUE_TEMPLATE/**" permissions: contents: read From 735767f8dfe302834e48c2383c387b0e41c2f006 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Wed, 21 Aug 2024 16:10:47 +0100 Subject: [PATCH 27/66] ci: use `issue_comment` (#11805) --- .github/workflows/preview-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml index d237011984..225efe402a 100644 --- a/.github/workflows/preview-release.yml +++ b/.github/workflows/preview-release.yml @@ -2,7 +2,7 @@ name: Preview release on: workflow_dispatch: - pull_request_review_comment: + issue_comment: types: [created] permissions: From 22ceb4830257a84b26115bf759b42448c442a606 Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Wed, 21 Aug 2024 14:08:38 -0700 Subject: [PATCH 28/66] [ci] release (#11796) Co-authored-by: github-actions[bot] --- .changeset/chatty-cups-sleep.md | 5 -- .changeset/four-rats-fail.md | 5 -- examples/basics/package.json | 2 +- examples/blog/package.json | 2 +- examples/component/package.json | 2 +- examples/container-with-vitest/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-lit/package.json | 2 +- examples/framework-multiple/package.json | 2 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 2 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/hackernews/package.json | 2 +- examples/integration/package.json | 2 +- examples/middleware/package.json | 2 +- examples/minimal/package.json | 2 +- examples/non-html-pages/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/server-islands/package.json | 2 +- examples/ssr/package.json | 2 +- examples/starlog/package.json | 2 +- examples/toolbar-app/package.json | 2 +- examples/view-transitions/package.json | 2 +- examples/with-markdoc/package.json | 2 +- examples/with-markdown-plugins/package.json | 2 +- examples/with-markdown-shiki/package.json | 2 +- examples/with-mdx/package.json | 2 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 2 +- examples/with-vitest/package.json | 2 +- packages/astro/CHANGELOG.md | 8 +++ packages/astro/package.json | 2 +- pnpm-lock.yaml | 60 ++++++++++----------- 35 files changed, 69 insertions(+), 71 deletions(-) delete mode 100644 .changeset/chatty-cups-sleep.md delete mode 100644 .changeset/four-rats-fail.md diff --git a/.changeset/chatty-cups-sleep.md b/.changeset/chatty-cups-sleep.md deleted file mode 100644 index 99ea702e83..0000000000 --- a/.changeset/chatty-cups-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes unexpected warning log when using Actions on "hybrid" rendered projects. diff --git a/.changeset/four-rats-fail.md b/.changeset/four-rats-fail.md deleted file mode 100644 index aa0fcbdb71..0000000000 --- a/.changeset/four-rats-fail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug where the `filePath` property was not available on content collection entries when using the content layer `file()` loader with a JSON file that contained an object instead of an array. This was breaking use of the `image()` schema utility among other things. diff --git a/examples/basics/package.json b/examples/basics/package.json index 81c2d36ba4..621869a887 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.3" + "astro": "^4.14.4" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 0f7982cc73..68465f3a1c 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -14,6 +14,6 @@ "@astrojs/mdx": "^3.1.4", "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", - "astro": "^4.14.3" + "astro": "^4.14.4" } } diff --git a/examples/component/package.json b/examples/component/package.json index 39f91debb9..2326e51d70 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.14.3" + "astro": "^4.14.4" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index b2c316baa6..39c342604b 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest run" }, "dependencies": { - "astro": "^4.14.3", + "astro": "^4.14.4", "@astrojs/react": "^3.6.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 0fb4d7c288..027ea092ef 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -14,6 +14,6 @@ "@astrojs/alpinejs": "^0.4.0", "@types/alpinejs": "^3.13.10", "alpinejs": "^3.14.1", - "astro": "^4.14.3" + "astro": "^4.14.4" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index d8136088fd..8f4d6e1dcb 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/lit": "^4.3.0", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^4.14.3", + "astro": "^4.14.4", "lit": "^3.2.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index ed1c3cc8c1..acda5671d8 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -18,7 +18,7 @@ "@astrojs/vue": "^4.5.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.14.3", + "astro": "^4.14.4", "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index c478639751..c6f23822e1 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.1", "@preact/signals": "^1.3.0", - "astro": "^4.14.3", + "astro": "^4.14.4", "preact": "^10.23.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 0cbc2cec32..c0230185b8 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.6.2", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.14.3", + "astro": "^4.14.4", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index cd8f4f760c..4c4223aff0 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^4.4.1", - "astro": "^4.14.3", + "astro": "^4.14.4", "solid-js": "^1.8.21" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 0d403e1c12..28c23f4809 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^5.7.0", - "astro": "^4.14.3", + "astro": "^4.14.4", "svelte": "^4.2.18" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 0f9fbe6c2f..48c9d00ef6 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^4.5.0", - "astro": "^4.14.3", + "astro": "^4.14.4", "vue": "^3.4.38" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 27f9041398..14dc87aca4 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^8.3.3", - "astro": "^4.14.3" + "astro": "^4.14.4" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 87588143ab..50037a3f08 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.14.3" + "astro": "^4.14.4" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 492315a212..99d2e486d1 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^8.3.3", - "astro": "^4.14.3", + "astro": "^4.14.4", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index d8601b48f3..be4649fa43 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.3" + "astro": "^4.14.4" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index ba457acd44..8640c620d2 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.3" + "astro": "^4.14.4" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 811cf52e1e..bc678bfaa3 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.3" + "astro": "^4.14.4" } } diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index 6557b0af79..b30a8e781d 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -17,7 +17,7 @@ "@tailwindcss/forms": "^0.5.7", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.14.3", + "astro": "^4.14.4", "postcss": "^8.4.41", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/ssr/package.json b/examples/ssr/package.json index e898892036..d5e15aa9f8 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,7 +14,7 @@ "dependencies": { "@astrojs/node": "^8.3.3", "@astrojs/svelte": "^5.7.0", - "astro": "^4.14.3", + "astro": "^4.14.4", "svelte": "^4.2.18" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 591c6a868b..715accabd0 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.3", + "astro": "^4.14.4", "sass": "^1.77.8", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 1cd73c715a..175fa13cb3 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^4.14.3" + "astro": "^4.14.4" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index ed81311cca..5bd2cf264b 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -12,6 +12,6 @@ "devDependencies": { "@astrojs/tailwind": "^5.1.0", "@astrojs/node": "^8.3.3", - "astro": "^4.14.3" + "astro": "^4.14.4" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 52ce619dd2..6126dd779a 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.11.3", - "astro": "^4.14.3" + "astro": "^4.14.4" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 5f784634ba..593057dffd 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/markdown-remark": "^5.2.0", - "astro": "^4.14.3", + "astro": "^4.14.4", "hast-util-select": "^6.0.2", "rehype-autolink-headings": "^7.1.0", "rehype-slug": "^6.0.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index b23e2f5e1f..83bf978197 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.3" + "astro": "^4.14.4" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 3c56b905fe..86140dc803 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/mdx": "^3.1.4", "@astrojs/preact": "^3.5.1", - "astro": "^4.14.3", + "astro": "^4.14.4", "preact": "^10.23.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 77fa76e206..562bdc0e13 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.1", "@nanostores/preact": "^0.5.2", - "astro": "^4.14.3", + "astro": "^4.14.4", "nanostores": "^0.11.2", "preact": "^10.23.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 3ff12fb7bf..f7ab12882b 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -14,7 +14,7 @@ "@astrojs/mdx": "^3.1.4", "@astrojs/tailwind": "^5.1.0", "@types/canvas-confetti": "^1.6.4", - "astro": "^4.14.3", + "astro": "^4.14.4", "autoprefixer": "^10.4.20", "canvas-confetti": "^1.9.3", "postcss": "^8.4.41", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 3cf43affe4..508cb3cb01 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.14.3", + "astro": "^4.14.4", "vitest": "^2.0.5" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 59f738fa9a..9cbb1bc0e3 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,13 @@ # astro +## 4.14.4 + +### Patch Changes + +- [#11794](https://github.com/withastro/astro/pull/11794) [`3691a62`](https://github.com/withastro/astro/commit/3691a626fb67d617e5f8bd057443cd2ff6caa054) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fixes unexpected warning log when using Actions on "hybrid" rendered projects. + +- [#11801](https://github.com/withastro/astro/pull/11801) [`9f943c1`](https://github.com/withastro/astro/commit/9f943c1344671b569a0d1ddba683b3cca0068adc) Thanks [@delucis](https://github.com/delucis)! - Fixes a bug where the `filePath` property was not available on content collection entries when using the content layer `file()` loader with a JSON file that contained an object instead of an array. This was breaking use of the `image()` schema utility among other things. + ## 4.14.3 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 59ba87396c..e25b3bc2fe 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.14.3", + "version": "4.14.4", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6e406b9106..d46a6e49fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -116,7 +116,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/blog: @@ -131,13 +131,13 @@ importers: specifier: ^3.1.6 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/container-with-vitest: @@ -146,7 +146,7 @@ importers: specifier: ^3.6.2 version: link:../../packages/integrations/react astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -177,7 +177,7 @@ importers: specifier: ^3.14.1 version: 3.14.1 astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/framework-lit: @@ -189,7 +189,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro lit: specifier: ^3.2.0 @@ -219,7 +219,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -249,7 +249,7 @@ importers: specifier: ^1.3.0 version: 1.3.0(preact@10.23.2) astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -267,7 +267,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -282,7 +282,7 @@ importers: specifier: ^4.4.1 version: link:../../packages/integrations/solid astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro solid-js: specifier: ^1.8.21 @@ -294,7 +294,7 @@ importers: specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -306,7 +306,7 @@ importers: specifier: ^4.5.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro vue: specifier: ^3.4.38 @@ -318,13 +318,13 @@ importers: specifier: ^8.3.3 version: link:../../packages/integrations/node astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/middleware: @@ -333,7 +333,7 @@ importers: specifier: ^8.3.3 version: link:../../packages/integrations/node astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -346,19 +346,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/server-islands: @@ -385,7 +385,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro postcss: specifier: ^8.4.41 @@ -409,7 +409,7 @@ importers: specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -418,7 +418,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro sass: specifier: ^1.77.8 @@ -430,7 +430,7 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/view-transitions: @@ -442,7 +442,7 @@ importers: specifier: ^5.1.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/with-markdoc: @@ -451,7 +451,7 @@ importers: specifier: ^0.11.3 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/with-markdown-plugins: @@ -460,7 +460,7 @@ importers: specifier: ^5.2.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -481,7 +481,7 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro examples/with-mdx: @@ -493,7 +493,7 @@ importers: specifier: ^3.5.1 version: link:../../packages/integrations/preact astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -508,7 +508,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.2)(preact@10.23.2) astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro nanostores: specifier: ^0.11.2 @@ -529,7 +529,7 @@ importers: specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro autoprefixer: specifier: ^10.4.20 @@ -547,7 +547,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.14.3 + specifier: ^4.14.4 version: link:../../packages/astro vitest: specifier: ^2.0.5 From 260c4be050f91353bc5ba6af073e7bc17429d552 Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Thu, 22 Aug 2024 05:51:06 -0400 Subject: [PATCH 29/66] Actions: expose ActionAPIContext (#11812) * feat: expose ActionAPIContext * feat: expose ActionAPIContext --- .changeset/poor-olives-battle.md | 5 +++++ packages/astro/src/actions/runtime/virtual/shared.ts | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .changeset/poor-olives-battle.md diff --git a/.changeset/poor-olives-battle.md b/.changeset/poor-olives-battle.md new file mode 100644 index 0000000000..1a89449c89 --- /dev/null +++ b/.changeset/poor-olives-battle.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Exposes `ActionAPIContext` type from the `astro:actions` module. diff --git a/packages/astro/src/actions/runtime/virtual/shared.ts b/packages/astro/src/actions/runtime/virtual/shared.ts index d792a9af55..64d56d13a9 100644 --- a/packages/astro/src/actions/runtime/virtual/shared.ts +++ b/packages/astro/src/actions/runtime/virtual/shared.ts @@ -1,8 +1,13 @@ import { parse as devalueParse, stringify as devalueStringify } from 'devalue'; import type { z } from 'zod'; import { ACTION_QUERY_PARAMS as _ACTION_QUERY_PARAMS } from '../../consts.js'; -import type { ErrorInferenceObject, MaybePromise } from '../utils.js'; +import type { + ErrorInferenceObject, + MaybePromise, + ActionAPIContext as _ActionAPIContext, +} from '../utils.js'; +export type ActionAPIContext = _ActionAPIContext; export const ACTION_QUERY_PARAMS = _ACTION_QUERY_PARAMS; export const ACTION_ERROR_CODES = [ From 62e97a20f72bacb017c633ddcb776abc89167660 Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Thu, 22 Aug 2024 05:51:24 -0400 Subject: [PATCH 30/66] Actions: Allow effect chaining on form input validators (#11809) * feat: support effects on form validators * feat: support object passthrough on form input * feat: support infinitely nested effects with simplified types * feat(test): ensure arbitrary schemas work with form data * chore: changeset * fix: support zod pipe() --- .changeset/pink-kids-taste.md | 5 ++ packages/astro/src/@types/astro.ts | 6 +- .../src/actions/runtime/virtual/server.ts | 35 +++++++--- packages/astro/test/actions.test.js | 65 +++++++++++++++++ .../fixtures/actions/src/actions/index.ts | 70 ++++++++++++++++--- .../units/actions/form-data-to-object.test.js | 18 +++++ 6 files changed, 178 insertions(+), 21 deletions(-) create mode 100644 .changeset/pink-kids-taste.md diff --git a/.changeset/pink-kids-taste.md b/.changeset/pink-kids-taste.md new file mode 100644 index 0000000000..1b1b61125f --- /dev/null +++ b/.changeset/pink-kids-taste.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes usage of `.transform()`, `.refine()`, `.passthrough()`, and other effects on Action form inputs. diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 30d5a50d87..ab4dcc11a0 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -1,4 +1,5 @@ import type { OutgoingHttpHeaders } from 'node:http'; +import type { z } from 'zod'; import type { AddressInfo } from 'node:net'; import type { MarkdownHeading, @@ -14,7 +15,6 @@ import type * as vite from 'vite'; import type { ActionAccept, ActionClient, - ActionInputSchema, ActionReturnType, } from '../actions/runtime/virtual/server.js'; import type { RemotePattern } from '../assets/utils/remotePattern.js'; @@ -3010,7 +3010,7 @@ interface AstroSharedContext< */ getActionResult: < TAccept extends ActionAccept, - TInputSchema extends ActionInputSchema, + TInputSchema extends z.ZodType, TAction extends ActionClient, >( action: TAction, @@ -3020,7 +3020,7 @@ interface AstroSharedContext< */ callAction: < TAccept extends ActionAccept, - TInputSchema extends ActionInputSchema, + TInputSchema extends z.ZodType, TOutput, TAction extends | ActionClient diff --git a/packages/astro/src/actions/runtime/virtual/server.ts b/packages/astro/src/actions/runtime/virtual/server.ts index 9bc387d6b8..fcb0dc6030 100644 --- a/packages/astro/src/actions/runtime/virtual/server.ts +++ b/packages/astro/src/actions/runtime/virtual/server.ts @@ -9,9 +9,6 @@ export * from './shared.js'; export { z } from 'zod'; export type ActionAccept = 'form' | 'json'; -export type ActionInputSchema = T extends 'form' - ? z.AnyZodObject | z.ZodType - : z.ZodType; export type ActionHandler = TInputSchema extends z.ZodType ? (input: z.infer, context: ActionAPIContext) => MaybePromise @@ -22,7 +19,7 @@ export type ActionReturnType> = Awaited | undefined, + TInputSchema extends z.ZodType | undefined, > = TInputSchema extends z.ZodType ? (( input: TAccept extends 'form' ? FormData : z.input, @@ -46,7 +43,7 @@ export type ActionClient< export function defineAction< TOutput, TAccept extends ActionAccept | undefined = undefined, - TInputSchema extends ActionInputSchema | undefined = TAccept extends 'form' + TInputSchema extends z.ZodType | undefined = TAccept extends 'form' ? // If `input` is omitted, default to `FormData` for forms and `any` for JSON. z.ZodType : undefined, @@ -83,7 +80,7 @@ export function defineAction< return safeServerHandler as ActionClient & string; } -function getFormServerHandler>( +function getFormServerHandler( handler: ActionHandler, inputSchema?: TInputSchema, ) { @@ -95,9 +92,14 @@ function getFormServerHandler>( +function getJsonServerHandler( handler: ActionHandler, inputSchema?: TInputSchema, ) { @@ -131,7 +133,8 @@ export function formDataToObject( formData: FormData, schema: T, ): Record { - const obj: Record = {}; + const obj: Record = + schema._def.unknownKeys === 'passthrough' ? Object.fromEntries(formData.entries()) : {}; for (const [key, baseValidator] of Object.entries(schema.shape)) { let validator = baseValidator; @@ -189,3 +192,15 @@ function handleFormDataGet( } return validator instanceof z.ZodNumber ? Number(value) : value; } + +function unwrapSchemaEffects(schema: z.ZodType) { + while (schema instanceof z.ZodEffects || schema instanceof z.ZodPipeline) { + if (schema instanceof z.ZodEffects) { + schema = schema._def.schema; + } + if (schema instanceof z.ZodPipeline) { + schema = schema._def.in; + } + } + return schema; +} diff --git a/packages/astro/test/actions.test.js b/packages/astro/test/actions.test.js index 0b2cc6a815..806bfad4b2 100644 --- a/packages/astro/test/actions.test.js +++ b/packages/astro/test/actions.test.js @@ -240,6 +240,71 @@ describe('Astro Actions', () => { assert.ok($('#user')); }); + it('Supports effects on form input validators', async () => { + const formData = new FormData(); + formData.set('password', 'benisawesome'); + formData.set('confirmPassword', 'benisveryawesome'); + + const req = new Request('http://example.com/_actions/validatePassword', { + method: 'POST', + body: formData, + }); + + const res = await app.render(req); + + assert.equal(res.ok, false); + assert.equal(res.status, 400); + assert.equal(res.headers.get('Content-Type'), 'application/json'); + + const data = await res.json(); + assert.equal(data.type, 'AstroActionInputError'); + assert.equal(data.issues?.[0]?.message, 'Passwords do not match'); + }); + + it('Supports complex chained effects on form input validators', async () => { + const formData = new FormData(); + formData.set('currentPassword', 'benisboring'); + formData.set('newPassword', 'benisawesome'); + formData.set('confirmNewPassword', 'benisawesome'); + + const req = new Request('http://example.com/_actions/validatePasswordComplex', { + method: 'POST', + body: formData, + }); + + const res = await app.render(req); + + assert.equal(res.ok, true); + assert.equal(res.headers.get('Content-Type'), 'application/json+devalue'); + + const data = devalue.parse(await res.text()); + assert.equal(Object.keys(data).length, 2, 'More keys than expected'); + assert.deepEqual(data, { + currentPassword: 'benisboring', + newPassword: 'benisawesome', + }); + }); + + it('Supports input form data transforms', async () => { + const formData = new FormData(); + formData.set('name', 'ben'); + formData.set('age', '42'); + + const req = new Request('http://example.com/_actions/transformFormInput', { + method: 'POST', + body: formData, + }); + + const res = await app.render(req); + + assert.equal(res.ok, true); + assert.equal(res.headers.get('Content-Type'), 'application/json+devalue'); + + const data = devalue.parse(await res.text()); + assert.equal(data?.name, 'ben'); + assert.equal(data?.age, '42'); + }); + describe('legacy', () => { it('Response middleware fallback', async () => { const formData = new FormData(); diff --git a/packages/astro/test/fixtures/actions/src/actions/index.ts b/packages/astro/test/fixtures/actions/src/actions/index.ts index bc61ade3ab..881656994f 100644 --- a/packages/astro/test/fixtures/actions/src/actions/index.ts +++ b/packages/astro/test/fixtures/actions/src/actions/index.ts @@ -1,5 +1,10 @@ import { defineAction, ActionError, z } from 'astro:actions'; +const passwordSchema = z + .string() + .min(8, 'Password should be at least 8 chars length') + .max(128, 'Password length exceeded. Max 128 chars.'); + export const server = { subscribe: defineAction({ input: z.object({ channel: z.string() }), @@ -44,7 +49,56 @@ export const server = { accept: 'form', handler: async (_, { locals }) => { return locals.user; - } + }, + }), + validatePassword: defineAction({ + accept: 'form', + input: z + .object({ password: z.string(), confirmPassword: z.string() }) + .refine((data) => data.password === data.confirmPassword, { + message: 'Passwords do not match', + }), + handler: async ({ password }) => { + return password; + }, + }), + validatePasswordComplex: defineAction({ + accept: 'form', + input: z + .object({ + currentPassword: passwordSchema, + newPassword: passwordSchema, + confirmNewPassword: passwordSchema, + }) + .required() + .refine( + ({ newPassword, confirmNewPassword }) => newPassword === confirmNewPassword, + 'The new password confirmation does not match', + ) + .refine( + ({ currentPassword, newPassword }) => currentPassword !== newPassword, + 'The old password and the new password must not match', + ) + .transform((input) => ({ + currentPassword: input.currentPassword, + newPassword: input.newPassword, + })) + .pipe( + z.object({ + currentPassword: passwordSchema, + newPassword: passwordSchema, + }), + ), + handler: async (data) => { + return data; + }, + }), + transformFormInput: defineAction({ + accept: 'form', + input: z.instanceof(FormData).transform((formData) => Object.fromEntries(formData.entries())), + handler: async (data) => { + return data; + }, }), getUserOrThrow: defineAction({ accept: 'form', @@ -57,22 +111,22 @@ export const server = { }); } return locals.user; - } + }, }), fireAndForget: defineAction({ handler: async () => { return; - } + }, }), zero: defineAction({ handler: async () => { return 0; - } + }, }), false: defineAction({ handler: async () => { return false; - } + }, }), complexValues: defineAction({ handler: async () => { @@ -80,7 +134,7 @@ export const server = { date: new Date(), set: new Set(), url: new URL('https://example.com'), - } - } - }) + }; + }, + }), }; diff --git a/packages/astro/test/units/actions/form-data-to-object.test.js b/packages/astro/test/units/actions/form-data-to-object.test.js index 1369093056..e9f52a13fe 100644 --- a/packages/astro/test/units/actions/form-data-to-object.test.js +++ b/packages/astro/test/units/actions/form-data-to-object.test.js @@ -192,4 +192,22 @@ describe('formDataToObject', () => { assert.equal(res.files instanceof Array, true); assert.deepEqual(res.files, [file1, file2]); }); + + it('should allow object passthrough when chaining .passthrough() on root object', () => { + const formData = new FormData(); + formData.set('expected', '42'); + formData.set('unexpected', '42'); + + const input = z + .object({ + expected: z.number(), + }) + .passthrough(); + + const res = formDataToObject(formData, input); + assert.deepEqual(res, { + expected: 42, + unexpected: '42', + }); + }); }); From 4db5c74dd10044b032d897233a2041b8d05b151e Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Thu, 22 Aug 2024 09:52:18 +0000 Subject: [PATCH 31/66] [ci] format --- packages/astro/src/@types/astro.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index ab4dcc11a0..3420954a90 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -1,5 +1,4 @@ import type { OutgoingHttpHeaders } from 'node:http'; -import type { z } from 'zod'; import type { AddressInfo } from 'node:net'; import type { MarkdownHeading, @@ -12,6 +11,7 @@ import type { import type * as babel from '@babel/core'; import type * as rollup from 'rollup'; import type * as vite from 'vite'; +import type { z } from 'zod'; import type { ActionAccept, ActionClient, From 3f7630afd697809b1d4fbac6edd18153983c70ac Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Thu, 22 Aug 2024 07:02:48 -0400 Subject: [PATCH 32/66] Actions: fix bad action result for actions with empty return value (#11813) * fix: correctly handle empty action response * fix(test): add logout button test * chore: changeset --- .changeset/selfish-pianos-notice.md | 5 +++++ packages/astro/e2e/actions-blog.test.js | 8 ++++++++ .../fixtures/actions-blog/src/actions/index.ts | 9 +++++++-- .../actions-blog/src/components/Logout.tsx | 16 ++++++++++++++++ .../actions-blog/src/pages/blog/[...slug].astro | 3 +++ packages/astro/templates/actions.mjs | 4 +++- 6 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 .changeset/selfish-pianos-notice.md create mode 100644 packages/astro/e2e/fixtures/actions-blog/src/components/Logout.tsx diff --git a/.changeset/selfish-pianos-notice.md b/.changeset/selfish-pianos-notice.md new file mode 100644 index 0000000000..eec21f548e --- /dev/null +++ b/.changeset/selfish-pianos-notice.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes unexpected `undefined` value when calling an action from the client without a return value. diff --git a/packages/astro/e2e/actions-blog.test.js b/packages/astro/e2e/actions-blog.test.js index e3a8c7cf84..b1b5c33ecf 100644 --- a/packages/astro/e2e/actions-blog.test.js +++ b/packages/astro/e2e/actions-blog.test.js @@ -125,4 +125,12 @@ test.describe('Astro Actions - Blog', () => { await expect(comments).toBeVisible(); await expect(comments).toContainText(body); }); + + test('Logout action redirects', async ({ page, astro }) => { + await page.goto(astro.resolveUrl('/blog/first-post/')); + + const logoutButton = page.getByTestId('logout-button'); + await logoutButton.click(); + await expect(page).toHaveURL(astro.resolveUrl('/blog/')); + }); }); diff --git a/packages/astro/e2e/fixtures/actions-blog/src/actions/index.ts b/packages/astro/e2e/fixtures/actions-blog/src/actions/index.ts index 0588f626c8..7b640be516 100644 --- a/packages/astro/e2e/fixtures/actions-blog/src/actions/index.ts +++ b/packages/astro/e2e/fixtures/actions-blog/src/actions/index.ts @@ -3,11 +3,16 @@ import { ActionError, defineAction, z } from 'astro:actions'; import { getCollection } from 'astro:content'; export const server = { + logout: defineAction({ + handler: async () => { + await new Promise((r) => setTimeout(r, 500)); + }, + }), blog: { like: defineAction({ input: z.object({ postId: z.string() }), handler: async ({ postId }) => { - await new Promise((r) => setTimeout(r, 1000)); + await new Promise((r) => setTimeout(r, 500)); const { likes } = await db .update(Likes) @@ -30,7 +35,7 @@ export const server = { body: z.string().min(10), }), handler: async ({ postId, author, body }) => { - if (!(await getCollection('blog')).find(b => b.id === postId)) { + if (!(await getCollection('blog')).find((b) => b.id === postId)) { throw new ActionError({ code: 'NOT_FOUND', message: 'Post not found', diff --git a/packages/astro/e2e/fixtures/actions-blog/src/components/Logout.tsx b/packages/astro/e2e/fixtures/actions-blog/src/components/Logout.tsx new file mode 100644 index 0000000000..737718d91d --- /dev/null +++ b/packages/astro/e2e/fixtures/actions-blog/src/components/Logout.tsx @@ -0,0 +1,16 @@ +import { actions } from 'astro:actions'; +import { navigate } from 'astro:transitions/client'; + +export function Logout() { + return ( + + ); +} diff --git a/packages/astro/e2e/fixtures/actions-blog/src/pages/blog/[...slug].astro b/packages/astro/e2e/fixtures/actions-blog/src/pages/blog/[...slug].astro index 34c7d5840d..ad4aea521a 100644 --- a/packages/astro/e2e/fixtures/actions-blog/src/pages/blog/[...slug].astro +++ b/packages/astro/e2e/fixtures/actions-blog/src/pages/blog/[...slug].astro @@ -1,6 +1,7 @@ --- import { type CollectionEntry, getCollection, getEntry } from 'astro:content'; import BlogPost from '../../layouts/BlogPost.astro'; +import { Logout } from '../../components/Logout'; import { db, eq, Comment, Likes } from 'astro:db'; import { Like } from '../../components/Like'; import { PostComment } from '../../components/PostComment'; @@ -39,6 +40,8 @@ const commentPostIdOverride = Astro.url.searchParams.get('commentPostIdOverride' + +
diff --git a/packages/astro/templates/actions.mjs b/packages/astro/templates/actions.mjs index 587f6ed9b7..5efd311332 100644 --- a/packages/astro/templates/actions.mjs +++ b/packages/astro/templates/actions.mjs @@ -93,7 +93,9 @@ async function handleAction(param, path, context) { body, headers, }); - if (rawResult.status === 204) return; + if (rawResult.status === 204) { + return deserializeActionResult({ type: 'empty', status: 204 }); + } return deserializeActionResult({ type: rawResult.ok ? 'data' : 'error', From cf65476b27053333cf5a36f6f9f46b794c98dfa2 Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:56:59 -0700 Subject: [PATCH 33/66] [ci] release (#11817) Co-authored-by: github-actions[bot] --- .changeset/pink-kids-taste.md | 5 -- .changeset/poor-olives-battle.md | 5 -- .changeset/selfish-pianos-notice.md | 5 -- examples/basics/package.json | 2 +- examples/blog/package.json | 2 +- examples/component/package.json | 2 +- examples/container-with-vitest/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-lit/package.json | 2 +- examples/framework-multiple/package.json | 2 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 2 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/hackernews/package.json | 2 +- examples/integration/package.json | 2 +- examples/middleware/package.json | 2 +- examples/minimal/package.json | 2 +- examples/non-html-pages/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/server-islands/package.json | 2 +- examples/ssr/package.json | 2 +- examples/starlog/package.json | 2 +- examples/toolbar-app/package.json | 2 +- examples/view-transitions/package.json | 2 +- examples/with-markdoc/package.json | 2 +- examples/with-markdown-plugins/package.json | 2 +- examples/with-markdown-shiki/package.json | 2 +- examples/with-mdx/package.json | 2 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 2 +- examples/with-vitest/package.json | 2 +- packages/astro/CHANGELOG.md | 10 ++++ packages/astro/package.json | 2 +- pnpm-lock.yaml | 60 ++++++++++----------- 36 files changed, 71 insertions(+), 76 deletions(-) delete mode 100644 .changeset/pink-kids-taste.md delete mode 100644 .changeset/poor-olives-battle.md delete mode 100644 .changeset/selfish-pianos-notice.md diff --git a/.changeset/pink-kids-taste.md b/.changeset/pink-kids-taste.md deleted file mode 100644 index 1b1b61125f..0000000000 --- a/.changeset/pink-kids-taste.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes usage of `.transform()`, `.refine()`, `.passthrough()`, and other effects on Action form inputs. diff --git a/.changeset/poor-olives-battle.md b/.changeset/poor-olives-battle.md deleted file mode 100644 index 1a89449c89..0000000000 --- a/.changeset/poor-olives-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Exposes `ActionAPIContext` type from the `astro:actions` module. diff --git a/.changeset/selfish-pianos-notice.md b/.changeset/selfish-pianos-notice.md deleted file mode 100644 index eec21f548e..0000000000 --- a/.changeset/selfish-pianos-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes unexpected `undefined` value when calling an action from the client without a return value. diff --git a/examples/basics/package.json b/examples/basics/package.json index 621869a887..d4244b9cb5 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.4" + "astro": "^4.14.5" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 68465f3a1c..03fb0193cb 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -14,6 +14,6 @@ "@astrojs/mdx": "^3.1.4", "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", - "astro": "^4.14.4" + "astro": "^4.14.5" } } diff --git a/examples/component/package.json b/examples/component/package.json index 2326e51d70..eb486e3c16 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.14.4" + "astro": "^4.14.5" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index 39c342604b..06d7554875 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest run" }, "dependencies": { - "astro": "^4.14.4", + "astro": "^4.14.5", "@astrojs/react": "^3.6.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 027ea092ef..a4109101ae 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -14,6 +14,6 @@ "@astrojs/alpinejs": "^0.4.0", "@types/alpinejs": "^3.13.10", "alpinejs": "^3.14.1", - "astro": "^4.14.4" + "astro": "^4.14.5" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 8f4d6e1dcb..a129ad09ad 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/lit": "^4.3.0", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^4.14.4", + "astro": "^4.14.5", "lit": "^3.2.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index acda5671d8..21ec3ec962 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -18,7 +18,7 @@ "@astrojs/vue": "^4.5.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.14.4", + "astro": "^4.14.5", "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index c6f23822e1..2b6a703720 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.1", "@preact/signals": "^1.3.0", - "astro": "^4.14.4", + "astro": "^4.14.5", "preact": "^10.23.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index c0230185b8..6f7b5de79f 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.6.2", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.14.4", + "astro": "^4.14.5", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 4c4223aff0..c19c9d3d11 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^4.4.1", - "astro": "^4.14.4", + "astro": "^4.14.5", "solid-js": "^1.8.21" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 28c23f4809..4d233de671 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^5.7.0", - "astro": "^4.14.4", + "astro": "^4.14.5", "svelte": "^4.2.18" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 48c9d00ef6..3a4014b205 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^4.5.0", - "astro": "^4.14.4", + "astro": "^4.14.5", "vue": "^3.4.38" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 14dc87aca4..1e67ec4dbb 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^8.3.3", - "astro": "^4.14.4" + "astro": "^4.14.5" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 50037a3f08..b7ec60ec92 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.14.4" + "astro": "^4.14.5" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 99d2e486d1..312e6b5903 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^8.3.3", - "astro": "^4.14.4", + "astro": "^4.14.5", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index be4649fa43..6d03666806 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.4" + "astro": "^4.14.5" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 8640c620d2..75a6922d94 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.4" + "astro": "^4.14.5" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index bc678bfaa3..45389b472b 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.4" + "astro": "^4.14.5" } } diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index b30a8e781d..6f133878d7 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -17,7 +17,7 @@ "@tailwindcss/forms": "^0.5.7", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.14.4", + "astro": "^4.14.5", "postcss": "^8.4.41", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/ssr/package.json b/examples/ssr/package.json index d5e15aa9f8..9b4181f4c6 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,7 +14,7 @@ "dependencies": { "@astrojs/node": "^8.3.3", "@astrojs/svelte": "^5.7.0", - "astro": "^4.14.4", + "astro": "^4.14.5", "svelte": "^4.2.18" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 715accabd0..fc2aa157d2 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.4", + "astro": "^4.14.5", "sass": "^1.77.8", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 175fa13cb3..d55b958d5d 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^4.14.4" + "astro": "^4.14.5" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index 5bd2cf264b..184fff9dc8 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -12,6 +12,6 @@ "devDependencies": { "@astrojs/tailwind": "^5.1.0", "@astrojs/node": "^8.3.3", - "astro": "^4.14.4" + "astro": "^4.14.5" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 6126dd779a..885642eef5 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.11.3", - "astro": "^4.14.4" + "astro": "^4.14.5" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 593057dffd..8caac32494 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/markdown-remark": "^5.2.0", - "astro": "^4.14.4", + "astro": "^4.14.5", "hast-util-select": "^6.0.2", "rehype-autolink-headings": "^7.1.0", "rehype-slug": "^6.0.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index 83bf978197..bfc90a3582 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.4" + "astro": "^4.14.5" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 86140dc803..3b9d135156 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/mdx": "^3.1.4", "@astrojs/preact": "^3.5.1", - "astro": "^4.14.4", + "astro": "^4.14.5", "preact": "^10.23.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 562bdc0e13..41438fdd6a 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.1", "@nanostores/preact": "^0.5.2", - "astro": "^4.14.4", + "astro": "^4.14.5", "nanostores": "^0.11.2", "preact": "^10.23.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index f7ab12882b..5021a17697 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -14,7 +14,7 @@ "@astrojs/mdx": "^3.1.4", "@astrojs/tailwind": "^5.1.0", "@types/canvas-confetti": "^1.6.4", - "astro": "^4.14.4", + "astro": "^4.14.5", "autoprefixer": "^10.4.20", "canvas-confetti": "^1.9.3", "postcss": "^8.4.41", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 508cb3cb01..ca81f67a23 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.14.4", + "astro": "^4.14.5", "vitest": "^2.0.5" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 9cbb1bc0e3..ebb7fdfada 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,15 @@ # astro +## 4.14.5 + +### Patch Changes + +- [#11809](https://github.com/withastro/astro/pull/11809) [`62e97a2`](https://github.com/withastro/astro/commit/62e97a20f72bacb017c633ddcb776abc89167660) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fixes usage of `.transform()`, `.refine()`, `.passthrough()`, and other effects on Action form inputs. + +- [#11812](https://github.com/withastro/astro/pull/11812) [`260c4be`](https://github.com/withastro/astro/commit/260c4be050f91353bc5ba6af073e7bc17429d552) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Exposes `ActionAPIContext` type from the `astro:actions` module. + +- [#11813](https://github.com/withastro/astro/pull/11813) [`3f7630a`](https://github.com/withastro/astro/commit/3f7630afd697809b1d4fbac6edd18153983c70ac) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fixes unexpected `undefined` value when calling an action from the client without a return value. + ## 4.14.4 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index e25b3bc2fe..5be4f81bbf 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.14.4", + "version": "4.14.5", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d46a6e49fd..a0458718b9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -116,7 +116,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/blog: @@ -131,13 +131,13 @@ importers: specifier: ^3.1.6 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/container-with-vitest: @@ -146,7 +146,7 @@ importers: specifier: ^3.6.2 version: link:../../packages/integrations/react astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -177,7 +177,7 @@ importers: specifier: ^3.14.1 version: 3.14.1 astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/framework-lit: @@ -189,7 +189,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro lit: specifier: ^3.2.0 @@ -219,7 +219,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -249,7 +249,7 @@ importers: specifier: ^1.3.0 version: 1.3.0(preact@10.23.2) astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -267,7 +267,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -282,7 +282,7 @@ importers: specifier: ^4.4.1 version: link:../../packages/integrations/solid astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro solid-js: specifier: ^1.8.21 @@ -294,7 +294,7 @@ importers: specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -306,7 +306,7 @@ importers: specifier: ^4.5.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro vue: specifier: ^3.4.38 @@ -318,13 +318,13 @@ importers: specifier: ^8.3.3 version: link:../../packages/integrations/node astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/middleware: @@ -333,7 +333,7 @@ importers: specifier: ^8.3.3 version: link:../../packages/integrations/node astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -346,19 +346,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/server-islands: @@ -385,7 +385,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro postcss: specifier: ^8.4.41 @@ -409,7 +409,7 @@ importers: specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -418,7 +418,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro sass: specifier: ^1.77.8 @@ -430,7 +430,7 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/view-transitions: @@ -442,7 +442,7 @@ importers: specifier: ^5.1.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/with-markdoc: @@ -451,7 +451,7 @@ importers: specifier: ^0.11.3 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/with-markdown-plugins: @@ -460,7 +460,7 @@ importers: specifier: ^5.2.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -481,7 +481,7 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro examples/with-mdx: @@ -493,7 +493,7 @@ importers: specifier: ^3.5.1 version: link:../../packages/integrations/preact astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -508,7 +508,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.2)(preact@10.23.2) astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro nanostores: specifier: ^0.11.2 @@ -529,7 +529,7 @@ importers: specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro autoprefixer: specifier: ^10.4.20 @@ -547,7 +547,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.14.4 + specifier: ^4.14.5 version: link:../../packages/astro vitest: specifier: ^2.0.5 From a3b9b91caf31d943b1ee6b9f462eb3b0ee7106d9 Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 23 Aug 2024 01:29:50 -0700 Subject: [PATCH 34/66] Make Biome formatting work out-of-the-box in VS Code (#11759) --- .gitignore | 8 +++++--- .vscode/extensions.json | 3 ++- .vscode/settings.json | 17 +++++++++++++++++ 3 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 2783aac56b..8e6d783543 100644 --- a/.gitignore +++ b/.gitignore @@ -16,9 +16,6 @@ package-lock.json .eslintcache .pnpm-store -# ignore top-level vscode settings -/.vscode/settings.json - # do not commit .env files or any files that end with `.env` *.env @@ -37,3 +34,8 @@ packages/**/e2e/**/fixtures/**/.astro/ packages/**/e2e/**/fixtures/**/env.d.ts examples/**/.astro/ examples/**/env.d.ts + +# make it easy for people to add project-specific Astro settings that they don't +# want to share with others (see +# https://github.com/withastro/astro/pull/11759#discussion_r1721444711) +*.code-workspace diff --git a/.vscode/extensions.json b/.vscode/extensions.json index d8411afe02..ea69b5c704 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -3,7 +3,8 @@ "astro-build.astro-vscode", "esbenp.prettier-vscode", "editorconfig.editorconfig", - "dbaeumer.vscode-eslint" + "dbaeumer.vscode-eslint", + "biomejs.biome" ], "unwantedRecommendations": [] } diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..f7dbf2d9a7 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,17 @@ +{ + "[json]": { + "editor.defaultFormatter": "biomejs.biome", + }, + "[javascript]": { + "editor.defaultFormatter": "biomejs.biome", + }, + "[typescript]": { + "editor.defaultFormatter": "biomejs.biome", + }, + "[javascriptreact]": { + "editor.defaultFormatter": "biomejs.biome", + }, + "[typescriptreact]": { + "editor.defaultFormatter": "biomejs.biome", + } +} From 6fcaab84de1044ff4d186b2dfa5831964460062d Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Sun, 25 Aug 2024 20:23:07 +0800 Subject: [PATCH 35/66] Make vite-plugin-fileurl a pre plugin (#11822) --- .changeset/fuzzy-falcons-tan.md | 5 +++++ packages/astro/src/core/create-vite.ts | 2 +- packages/astro/src/vite-plugin-fileurl/index.ts | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changeset/fuzzy-falcons-tan.md diff --git a/.changeset/fuzzy-falcons-tan.md b/.changeset/fuzzy-falcons-tan.md new file mode 100644 index 0000000000..45323269d5 --- /dev/null +++ b/.changeset/fuzzy-falcons-tan.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Marks internal `vite-plugin-fileurl` plugin with `enforce: 'pre'` diff --git a/packages/astro/src/core/create-vite.ts b/packages/astro/src/core/create-vite.ts index 23a4068a8b..7fbfe60ddd 100644 --- a/packages/astro/src/core/create-vite.ts +++ b/packages/astro/src/core/create-vite.ts @@ -151,7 +151,7 @@ export async function createVite( astroPrefetch({ settings }), astroTransitions({ settings }), astroDevToolbar({ settings, logger }), - vitePluginFileURL({}), + vitePluginFileURL(), astroInternationalization({ settings }), settings.config.experimental.serverIslands && vitePluginServerIslands({ settings }), astroContainer(), diff --git a/packages/astro/src/vite-plugin-fileurl/index.ts b/packages/astro/src/vite-plugin-fileurl/index.ts index 4a14323a07..73132f3af9 100644 --- a/packages/astro/src/vite-plugin-fileurl/index.ts +++ b/packages/astro/src/vite-plugin-fileurl/index.ts @@ -1,8 +1,9 @@ import type { Plugin as VitePlugin } from 'vite'; -export default function vitePluginFileURL({}): VitePlugin { +export default function vitePluginFileURL(): VitePlugin { return { name: 'astro:vite-plugin-file-url', + enforce: 'pre', resolveId(source, importer) { if (source.startsWith('file://')) { const rest = source.slice(7); From 497324c4e87538dc1dc13aea3ced9bd3642d9ba6 Mon Sep 17 00:00:00 2001 From: voidfill <71205200+voidfill@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:28:27 +0200 Subject: [PATCH 36/66] fix(astro): Prevent prefetching of same urls with different hashes (#11713) * fix(astro): prevent prefetching of the same urls with different hashes * add changeset * Update packages/astro/src/prefetch/index.ts Co-authored-by: Bjorn Lu * Update .changeset/nasty-ladybugs-whisper.md Co-authored-by: Bjorn Lu --------- Co-authored-by: Bjorn Lu --- .changeset/nasty-ladybugs-whisper.md | 5 +++++ packages/astro/src/prefetch/index.ts | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .changeset/nasty-ladybugs-whisper.md diff --git a/.changeset/nasty-ladybugs-whisper.md b/.changeset/nasty-ladybugs-whisper.md new file mode 100644 index 0000000000..d922187e5c --- /dev/null +++ b/.changeset/nasty-ladybugs-whisper.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Prevents prefetching of the same urls with different hashes. diff --git a/packages/astro/src/prefetch/index.ts b/packages/astro/src/prefetch/index.ts index 177945f379..3eb8cd5701 100644 --- a/packages/astro/src/prefetch/index.ts +++ b/packages/astro/src/prefetch/index.ts @@ -215,6 +215,9 @@ export interface PrefetchOptions { * @param opts Additional options for prefetching. */ export function prefetch(url: string, opts?: PrefetchOptions) { + // Remove url hash to avoid prefetching the same URL multiple times + url = url.replace(/#.*/, ''); + const ignoreSlowConnection = opts?.ignoreSlowConnection ?? false; if (!canPrefetchUrl(url, ignoreSlowConnection)) return; prefetchedUrls.add(url); From 1ffaae04cf790390f730bf900b9722b99642adc1 Mon Sep 17 00:00:00 2001 From: Stephan de Vries Date: Mon, 26 Aug 2024 15:28:16 +0200 Subject: [PATCH 37/66] Fix typo in `MissingImageDimension` error message (#11842) * Fix typo in `MissingImageDimension` error message * Update .changeset/perfect-socks-dress.md --------- Co-authored-by: Emanuele Stoppa --- .changeset/perfect-socks-dress.md | 5 +++++ packages/astro/src/core/errors/errors-data.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/perfect-socks-dress.md diff --git a/.changeset/perfect-socks-dress.md b/.changeset/perfect-socks-dress.md new file mode 100644 index 0000000000..a6c8a84024 --- /dev/null +++ b/.changeset/perfect-socks-dress.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes a typo in the `MissingImageDimension` error message diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index d16cfdd969..ad64adb4af 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -541,7 +541,7 @@ export const MissingImageDimension = { message: (missingDimension: 'width' | 'height' | 'both', imageURL: string) => `Missing ${ missingDimension === 'both' ? 'width and height attributes' : `${missingDimension} attribute` - } for ${imageURL}. When using remote images, both dimensions are required unless in order to avoid CLS.`, + } for ${imageURL}. When using remote images, both dimensions are required in order to avoid CLS.`, hint: 'If your image is inside your `src` folder, you probably meant to import it instead. See [the Imports guide for more information](https://docs.astro.build/en/guides/imports/#other-assets). You can also use `inferSize={true}` for remote images to get the original dimensions.', } satisfies ErrorData; /** From f1df1b3b462309444a9a50ecbf229840dff8c9d0 Mon Sep 17 00:00:00 2001 From: Yuta Osawa Date: Mon, 26 Aug 2024 22:36:35 +0900 Subject: [PATCH 38/66] Prevent Partytown integration from inserting a 'null' string into the body (#11829) --- .changeset/eight-rice-tap.md | 5 +++++ packages/integrations/partytown/src/index.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/eight-rice-tap.md diff --git a/.changeset/eight-rice-tap.md b/.changeset/eight-rice-tap.md new file mode 100644 index 0000000000..f31d24115c --- /dev/null +++ b/.changeset/eight-rice-tap.md @@ -0,0 +1,5 @@ +--- +'@astrojs/partytown': patch +--- + +Prevent Partytown integration from inserting a 'null' string into the body diff --git a/packages/integrations/partytown/src/index.ts b/packages/integrations/partytown/src/index.ts index 739ff0e4b9..05a1b4c115 100644 --- a/packages/integrations/partytown/src/index.ts +++ b/packages/integrations/partytown/src/index.ts @@ -26,7 +26,7 @@ export default function createPlugin(options?: PartytownOptions): AstroIntegrati hooks: { 'astro:config:setup': ({ config: _config, command, injectScript }) => { const lib = `${appendForwardSlash(_config.base)}~partytown/`; - const recreateIFrameScript = `;(e=>{e.addEventListener("astro:before-swap",e=>{let r=document.body.querySelector("iframe[src*='${lib}']");e.newDocument.body.append(r)})})(document);`; + const recreateIFrameScript = `;(e=>{e.addEventListener("astro:before-swap",e=>{let r=document.body.querySelector("iframe[src*='${lib}']");if(r)e.newDocument.body.append(r)})})(document);`; const partytownConfig = { lib, ...options?.config, From 20d47aa85a3a0d7ac3390f749715d92de830cf3e Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Mon, 26 Aug 2024 17:53:51 -0400 Subject: [PATCH 39/66] Actions: give better guidance when a Response is returned by an Action (#11828) * feat: add error for invalid handler data * refactor: remove redirect from ctx object * chore: changeset * chore: fix redirect codes * fix: move redirect out of actionApiContext constructor * refactor(test): reuse redirects const * wip: bump timeouts * wip: more bumps --- .changeset/thirty-bikes-peel.md | 5 ++++ packages/astro/e2e/actions-blog.test.js | 10 ++++--- packages/astro/playwright.config.js | 2 +- packages/astro/playwright.firefox.config.js | 2 +- packages/astro/src/@types/astro.ts | 7 +++-- packages/astro/src/actions/runtime/utils.ts | 5 +++- .../src/actions/runtime/virtual/shared.ts | 27 ++++++++++++++++--- packages/astro/src/core/constants.ts | 5 ++++ packages/astro/src/core/errors/errors-data.ts | 15 +++++++++++ packages/astro/src/core/render-context.ts | 7 ++--- packages/astro/test/actions.test.js | 5 ++-- 11 files changed, 72 insertions(+), 18 deletions(-) create mode 100644 .changeset/thirty-bikes-peel.md diff --git a/.changeset/thirty-bikes-peel.md b/.changeset/thirty-bikes-peel.md new file mode 100644 index 0000000000..5a5aacc7fd --- /dev/null +++ b/.changeset/thirty-bikes-peel.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Improves error message when invalid data is returned by an Action. diff --git a/packages/astro/e2e/actions-blog.test.js b/packages/astro/e2e/actions-blog.test.js index b1b5c33ecf..1631f7dfec 100644 --- a/packages/astro/e2e/actions-blog.test.js +++ b/packages/astro/e2e/actions-blog.test.js @@ -25,7 +25,9 @@ test.describe('Astro Actions - Blog', () => { const likeButton = page.getByLabel('Like'); await expect(likeButton, 'like button starts with 10 likes').toContainText('10'); await likeButton.click(); - await expect(likeButton, 'like button should increment likes').toContainText('11'); + await expect(likeButton, 'like button should increment likes').toContainText('11', { + timeout: 6_000, + }); }); test('Like action - server-side', async ({ page, astro }) => { @@ -36,7 +38,9 @@ test.describe('Astro Actions - Blog', () => { await expect(likeCount, 'like button starts with 10 likes').toContainText('10'); await likeButton.click(); - await expect(likeCount, 'like button should increment likes').toContainText('11'); + await expect(likeCount, 'like button should increment likes').toContainText('11', { + timeout: 6_000, + }); }); test('Comment action - validation error', async ({ page, astro }) => { @@ -131,6 +135,6 @@ test.describe('Astro Actions - Blog', () => { const logoutButton = page.getByTestId('logout-button'); await logoutButton.click(); - await expect(page).toHaveURL(astro.resolveUrl('/blog/')); + await expect(page).toHaveURL(astro.resolveUrl('/blog/'), { timeout: 6_000 }); }); }); diff --git a/packages/astro/playwright.config.js b/packages/astro/playwright.config.js index 5aacd6d018..2209a5c27f 100644 --- a/packages/astro/playwright.config.js +++ b/packages/astro/playwright.config.js @@ -13,7 +13,7 @@ export default defineConfig({ * Maximum time expect() should wait for the condition to be met. * For example in `await expect(locator).toHaveText();` */ - timeout: 4 * 1000, + timeout: 6 * 1000, }, /* Fail the build on CI if you accidentally left test in the source code. */ forbidOnly: !!process.env.CI, diff --git a/packages/astro/playwright.firefox.config.js b/packages/astro/playwright.firefox.config.js index 537bb4099e..77c16ed48c 100644 --- a/packages/astro/playwright.firefox.config.js +++ b/packages/astro/playwright.firefox.config.js @@ -13,7 +13,7 @@ const config = { * Maximum time expect() should wait for the condition to be met. * For example in `await expect(locator).toHaveText();` */ - timeout: 4 * 1000, + timeout: 6 * 1000, }, /* Fail the build on CI if you accidentally left test in the source code. */ forbidOnly: !!process.env.CI, diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 3420954a90..0ebbdef010 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -53,7 +53,10 @@ import type { TransitionBeforeSwapEvent, } from '../transitions/events.js'; import type { DeepPartial, OmitIndexSignature, Simplify } from '../type-utils.js'; -import type { SUPPORTED_MARKDOWN_FILE_EXTENSIONS } from './../core/constants.js'; +import type { + SUPPORTED_MARKDOWN_FILE_EXTENSIONS, + REDIRECT_STATUS_CODES, +} from './../core/constants.js'; export type { AstroIntegrationLogger, ToolbarServerHelpers }; @@ -2980,7 +2983,7 @@ export interface AstroAdapter { supportedAstroFeatures: AstroFeatureMap; } -export type ValidRedirectStatus = 300 | 301 | 302 | 303 | 304 | 307 | 308; +export type ValidRedirectStatus = (typeof REDIRECT_STATUS_CODES)[number]; // Shared types between `Astro` global and API context object interface AstroSharedContext< diff --git a/packages/astro/src/actions/runtime/utils.ts b/packages/astro/src/actions/runtime/utils.ts index 776171aa2a..84208c879d 100644 --- a/packages/astro/src/actions/runtime/utils.ts +++ b/packages/astro/src/actions/runtime/utils.ts @@ -10,7 +10,10 @@ export function hasContentType(contentType: string, expected: string[]) { return expected.some((t) => type === t); } -export type ActionAPIContext = Omit; +export type ActionAPIContext = Omit< + APIContext, + 'getActionResult' | 'callAction' | 'props' | 'redirect' +>; export type MaybePromise = T | Promise; /** diff --git a/packages/astro/src/actions/runtime/virtual/shared.ts b/packages/astro/src/actions/runtime/virtual/shared.ts index 64d56d13a9..be9f063b9b 100644 --- a/packages/astro/src/actions/runtime/virtual/shared.ts +++ b/packages/astro/src/actions/runtime/virtual/shared.ts @@ -6,6 +6,9 @@ import type { MaybePromise, ActionAPIContext as _ActionAPIContext, } from '../utils.js'; +import { REDIRECT_STATUS_CODES } from '../../../core/constants.js'; +import { ActionsReturnedInvalidDataError } from '../../../core/errors/errors-data.js'; +import { AstroError } from '../../../core/errors/errors.js'; export type ActionAPIContext = _ActionAPIContext; export const ACTION_QUERY_PARAMS = _ACTION_QUERY_PARAMS; @@ -237,14 +240,30 @@ export function serializeActionResult(res: SafeResult): SerializedActi status: 204, }; } + let body; + try { + body = devalueStringify(res.data, { + // Add support for URL objects + URL: (value) => value instanceof URL && value.href, + }); + } catch (e) { + let hint = ActionsReturnedInvalidDataError.hint; + if (res.data instanceof Response) { + hint = REDIRECT_STATUS_CODES.includes(res.data.status as any) + ? 'If you need to redirect when the action succeeds, trigger a redirect where the action is called. See the Actions guide for server and client redirect examples: https://docs.astro.build/en/guides/actions.' + : 'If you need to return a Response object, try using a server endpoint instead. See https://docs.astro.build/en/guides/endpoints/#server-endpoints-api-routes'; + } + throw new AstroError({ + ...ActionsReturnedInvalidDataError, + message: ActionsReturnedInvalidDataError.message(String(e)), + hint, + }); + } return { type: 'data', status: 200, contentType: 'application/json+devalue', - body: devalueStringify(res.data, { - // Add support for URL objects - URL: (value) => value instanceof URL && value.href, - }), + body, }; } diff --git a/packages/astro/src/core/constants.ts b/packages/astro/src/core/constants.ts index 8e9f5ac74e..274f867970 100644 --- a/packages/astro/src/core/constants.ts +++ b/packages/astro/src/core/constants.ts @@ -45,6 +45,11 @@ export const DEFAULT_404_COMPONENT = 'astro-default-404.astro'; */ export const DEFAULT_500_COMPONENT = 'astro-default-500.astro'; +/** + * A response with one of these status codes will create a redirect response. + */ +export const REDIRECT_STATUS_CODES = [301, 302, 303, 307, 308, 300, 304] as const; + /** * A response with one of these status codes will be rewritten * with the result of rendering the respective error page. diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index ad64adb4af..1abd7ba1b1 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -1680,6 +1680,21 @@ export const ActionsUsedWithForGetError = { hint: 'Actions are experimental. Visit the RFC for usage instructions: https://github.com/withastro/roadmap/blob/actions/proposals/0046-actions.md', } satisfies ErrorData; +/** + * @docs + * @see + * - [Actions RFC](https://github.com/withastro/roadmap/blob/actions/proposals/0046-actions.md) + * @description + * Action handler returned invalid data. Handlers should return serializable data types, and cannot return a Response object. + */ +export const ActionsReturnedInvalidDataError = { + name: 'ActionsReturnedInvalidDataError', + title: 'Action handler returned invalid data.', + message: (error: string) => + `Action handler returned invalid data. Handlers should return serializable data types like objects, arrays, strings, and numbers. Parse error: ${error}`, + hint: 'See the devalue library for all supported types: https://github.com/rich-harris/devalue', +} satisfies ErrorData; + /** * @docs * @see diff --git a/packages/astro/src/core/render-context.ts b/packages/astro/src/core/render-context.ts index ca6f0e47ac..e81e169649 100644 --- a/packages/astro/src/core/render-context.ts +++ b/packages/astro/src/core/render-context.ts @@ -216,8 +216,12 @@ export class RenderContext { createAPIContext(props: APIContext['props'], isPrerendered: boolean): APIContext { const context = this.createActionAPIContext(); + const redirect = (path: string, status = 302) => + new Response(null, { status, headers: { Location: path } }); + return Object.assign(context, { props, + redirect, getActionResult: createGetActionResult(context.locals), callAction: createCallAction(context), // Used internally by Actions middleware. @@ -255,8 +259,6 @@ export class RenderContext { const renderContext = this; const { cookies, params, pipeline, url } = this; const generator = `Astro v${ASTRO_VERSION}`; - const redirect = (path: string, status = 302) => - new Response(null, { status, headers: { Location: path } }); const rewrite = async (reroutePayload: RewritePayload) => { return await this.#executeRewrite(reroutePayload); @@ -292,7 +294,6 @@ export class RenderContext { get preferredLocaleList() { return renderContext.computePreferredLocaleList(); }, - redirect, rewrite, request: this.request, site: pipeline.site, diff --git a/packages/astro/test/actions.test.js b/packages/astro/test/actions.test.js index 806bfad4b2..3c803972ce 100644 --- a/packages/astro/test/actions.test.js +++ b/packages/astro/test/actions.test.js @@ -3,6 +3,7 @@ import { after, before, describe, it } from 'node:test'; import * as cheerio from 'cheerio'; import * as devalue from 'devalue'; import { serializeActionResult } from '../dist/actions/runtime/virtual/shared.js'; +import { REDIRECT_STATUS_CODES } from '../dist/core/constants.js'; import testAdapter from './test-adapter.js'; import { loadFixture } from './test-utils.js'; @@ -436,8 +437,6 @@ describe('Astro Actions', () => { }); }); -const validRedirectStatuses = new Set([301, 302, 303, 304, 307, 308]); - /** * Follow an expected redirect response. * @@ -448,7 +447,7 @@ const validRedirectStatuses = new Set([301, 302, 303, 304, 307, 308]); async function followExpectedRedirect(req, app) { const redirect = await app.render(req, { addCookieHeader: true }); assert.ok( - validRedirectStatuses.has(redirect.status), + REDIRECT_STATUS_CODES.includes(redirect.status), `Expected redirect status, got ${redirect.status}`, ); From b81b70332d639ac0522cebfa11771aa5d8c81f7c Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Mon, 26 Aug 2024 21:54:39 +0000 Subject: [PATCH 40/66] [ci] format --- packages/astro/src/@types/astro.ts | 2 +- packages/astro/src/actions/runtime/virtual/shared.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 0ebbdef010..182345112e 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -54,8 +54,8 @@ import type { } from '../transitions/events.js'; import type { DeepPartial, OmitIndexSignature, Simplify } from '../type-utils.js'; import type { - SUPPORTED_MARKDOWN_FILE_EXTENSIONS, REDIRECT_STATUS_CODES, + SUPPORTED_MARKDOWN_FILE_EXTENSIONS, } from './../core/constants.js'; export type { AstroIntegrationLogger, ToolbarServerHelpers }; diff --git a/packages/astro/src/actions/runtime/virtual/shared.ts b/packages/astro/src/actions/runtime/virtual/shared.ts index be9f063b9b..01f9bd4e68 100644 --- a/packages/astro/src/actions/runtime/virtual/shared.ts +++ b/packages/astro/src/actions/runtime/virtual/shared.ts @@ -1,14 +1,14 @@ import { parse as devalueParse, stringify as devalueStringify } from 'devalue'; import type { z } from 'zod'; +import { REDIRECT_STATUS_CODES } from '../../../core/constants.js'; +import { ActionsReturnedInvalidDataError } from '../../../core/errors/errors-data.js'; +import { AstroError } from '../../../core/errors/errors.js'; import { ACTION_QUERY_PARAMS as _ACTION_QUERY_PARAMS } from '../../consts.js'; import type { ErrorInferenceObject, MaybePromise, ActionAPIContext as _ActionAPIContext, } from '../utils.js'; -import { REDIRECT_STATUS_CODES } from '../../../core/constants.js'; -import { ActionsReturnedInvalidDataError } from '../../../core/errors/errors-data.js'; -import { AstroError } from '../../../core/errors/errors.js'; export type ActionAPIContext = _ActionAPIContext; export const ACTION_QUERY_PARAMS = _ACTION_QUERY_PARAMS; From 2bb72c63969f8f21dd279fa927c32f192ff79a3f Mon Sep 17 00:00:00 2001 From: Eduardo Cereto Carvalho Date: Tue, 27 Aug 2024 03:17:30 -0700 Subject: [PATCH 41/66] docs: Content Layer API Example small fix (#11814) * Update astro.ts small fix to example * Create odd-otters-look.md --------- Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com> Co-authored-by: Sarah Rainsberger --- .changeset/odd-otters-look.md | 5 +++++ packages/astro/src/@types/astro.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/odd-otters-look.md diff --git a/.changeset/odd-otters-look.md b/.changeset/odd-otters-look.md new file mode 100644 index 0000000000..18f2be20de --- /dev/null +++ b/.changeset/odd-otters-look.md @@ -0,0 +1,5 @@ +--- +astro: patch +--- + +Updates the documentation for experimental Content Layer API with a corrected code example diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 182345112e..5e060ec990 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -2311,7 +2311,7 @@ export interface AstroUserConfig { * * const post = await getEntry('blog', Astro.params.slug); * - * const { Content, headings } = await render(entry); + * const { Content, headings } = await render(post); * --- * * From 45b599c4d40ded6a3e03881181b441ae494cbfcf Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Tue, 27 Aug 2024 13:12:50 +0100 Subject: [PATCH 42/66] fix: ensure vite is not imported by runtime utils (#11847) --- .changeset/eleven-papayas-rhyme.md | 5 +++++ packages/astro/src/content/utils.ts | 3 ++- packages/astro/src/core/viteUtils.ts | 12 ++++++++++-- 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 .changeset/eleven-papayas-rhyme.md diff --git a/.changeset/eleven-papayas-rhyme.md b/.changeset/eleven-papayas-rhyme.md new file mode 100644 index 0000000000..3b6a9bb098 --- /dev/null +++ b/.changeset/eleven-papayas-rhyme.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes a case where Vite would be imported by the SSR runtime, causing bundling errors and bloat. diff --git a/packages/astro/src/content/utils.ts b/packages/astro/src/content/utils.ts index 6d06272470..c0985742bd 100644 --- a/packages/astro/src/content/utils.ts +++ b/packages/astro/src/content/utils.ts @@ -4,7 +4,7 @@ import { fileURLToPath, pathToFileURL } from 'node:url'; import { slug as githubSlug } from 'github-slugger'; import matter from 'gray-matter'; import type { PluginContext } from 'rollup'; -import { type ViteDevServer, normalizePath } from 'vite'; +import type { ViteDevServer } from 'vite'; import xxhash from 'xxhash-wasm'; import { z } from 'zod'; import type { @@ -25,6 +25,7 @@ import { PROPAGATED_ASSET_FLAG, } from './consts.js'; import { createImage } from './runtime-assets.js'; +import { normalizePath } from '../core/viteUtils.js'; /** * Amap from a collection + slug to the local file path. * This is used internally to resolve entry imports when using `getEntry()`. diff --git a/packages/astro/src/core/viteUtils.ts b/packages/astro/src/core/viteUtils.ts index bfe1eaadcd..46c59d25d8 100644 --- a/packages/astro/src/core/viteUtils.ts +++ b/packages/astro/src/core/viteUtils.ts @@ -1,10 +1,18 @@ import path from 'node:path'; import { fileURLToPath } from 'node:url'; -import { normalizePath } from 'vite'; -import { prependForwardSlash } from '../core/path.js'; +import { prependForwardSlash, slash } from '../core/path.js'; import type { ModuleLoader } from './module-loader/index.js'; import { VALID_ID_PREFIX, resolveJsToTs, unwrapId, viteID } from './util.js'; +const isWindows = typeof process !== 'undefined' && process.platform === 'win32'; + +/** + * Re-implementation of Vite's normalizePath that can be used without Vite + */ +export function normalizePath(id: string) { + return path.posix.normalize(isWindows ? slash(id) : id); +} + /** * Resolve the hydration paths so that it can be imported in the client */ From 0a92f1a3dacc52df7bf3a9219ada82a34ef77e8f Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Tue, 27 Aug 2024 12:13:42 +0000 Subject: [PATCH 43/66] [ci] format --- packages/astro/src/content/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/src/content/utils.ts b/packages/astro/src/content/utils.ts index c0985742bd..f94b87d977 100644 --- a/packages/astro/src/content/utils.ts +++ b/packages/astro/src/content/utils.ts @@ -16,6 +16,7 @@ import type { import { AstroError, AstroErrorData, MarkdownError, errorMap } from '../core/errors/index.js'; import { isYAMLException } from '../core/errors/utils.js'; import type { Logger } from '../core/logger/core.js'; +import { normalizePath } from '../core/viteUtils.js'; import { CONTENT_FLAGS, CONTENT_LAYER_TYPE, @@ -25,7 +26,6 @@ import { PROPAGATED_ASSET_FLAG, } from './consts.js'; import { createImage } from './runtime-assets.js'; -import { normalizePath } from '../core/viteUtils.js'; /** * Amap from a collection + slug to the local file path. * This is used internally to resolve entry imports when using `getEntry()`. From 543e8f5b78035b8457445845dd5fcfe323f107db Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Tue, 27 Aug 2024 14:59:07 +0100 Subject: [PATCH 44/66] ci: trigger CI via comment and label (#11849) * ci: trigger CI via comment and label * fix: reduce parenthesis --- .github/workflows/preview-comment.yml | 19 +++++++++++++++++++ .github/workflows/preview-release.yml | 17 +++++++++-------- 2 files changed, 28 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/preview-comment.yml diff --git a/.github/workflows/preview-comment.yml b/.github/workflows/preview-comment.yml new file mode 100644 index 0000000000..7ed6bdf6f6 --- /dev/null +++ b/.github/workflows/preview-comment.yml @@ -0,0 +1,19 @@ +name: Add continuous release label + +on: + issue_comment: + types: [created] + +permissions: + pull-requests: write + +jobs: + label: + if: ${{ github.repository_owner == 'withastro' && startsWith(github.event.comment.body, '!preview') }} + runs-on: ubuntu-latest + + steps: + - run: | + gh issue edit ${{ github.event.issue.number }} --add-label "pr: preview" --repo ${{ github.repository }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml index 225efe402a..df6a44f484 100644 --- a/.github/workflows/preview-release.yml +++ b/.github/workflows/preview-release.yml @@ -1,18 +1,18 @@ name: Preview release on: - workflow_dispatch: - issue_comment: - types: [created] + pull_request: + branches: [main] + types: [opened, synchronize, labeled, ready_for_review] + +concurrency: + group: ${{ github.workflow }}-${{ github.event.number }} + cancel-in-progress: true permissions: contents: read actions: write -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} TURBO_TEAM: ${{ secrets.TURBO_TEAM }} @@ -24,7 +24,8 @@ env: jobs: preview: - if: ${{ github.repository_owner == 'withastro' && github.event.issue.pull_request && (startsWith(github.event.comment.body, '!preview')) }} + if: | + ${{ github.repository_owner == 'withastro' && github.event.issue.pull_request && contains(github.event.pull_request.labels.*.name, 'pr: preview') }} runs-on: ubuntu-latest permissions: contents: read From ed7bbd990f80cacf9c5ec2a70ad7501631b92d3f Mon Sep 17 00:00:00 2001 From: HiDeoo <494699+HiDeoo@users.noreply.github.com> Date: Tue, 27 Aug 2024 17:49:04 +0200 Subject: [PATCH 45/66] fix(markdoc): use astro components defined with `extends` (#11846) --- .changeset/good-adults-punch.md | 5 ++ .../markdoc/src/content-entry-type.ts | 4 +- .../astro.config.mjs | 7 ++ .../markdoc.config.ts | 31 +++++++++ .../package.json | 9 +++ .../src/components/Code.astro | 12 ++++ .../src/components/CustomMarquee.astro | 1 + .../src/content/blog/with-components.mdoc | 17 +++++ .../src/pages/index.astro | 19 ++++++ .../test/render-extends-components.test.js | 64 +++++++++++++++++++ pnpm-lock.yaml | 9 +++ 11 files changed, 176 insertions(+), 2 deletions(-) create mode 100644 .changeset/good-adults-punch.md create mode 100644 packages/integrations/markdoc/test/fixtures/render-with-extends-components/astro.config.mjs create mode 100644 packages/integrations/markdoc/test/fixtures/render-with-extends-components/markdoc.config.ts create mode 100644 packages/integrations/markdoc/test/fixtures/render-with-extends-components/package.json create mode 100644 packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/components/Code.astro create mode 100644 packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/components/CustomMarquee.astro create mode 100644 packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/content/blog/with-components.mdoc create mode 100644 packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/pages/index.astro create mode 100644 packages/integrations/markdoc/test/render-extends-components.test.js diff --git a/.changeset/good-adults-punch.md b/.changeset/good-adults-punch.md new file mode 100644 index 0000000000..0ae575c514 --- /dev/null +++ b/.changeset/good-adults-punch.md @@ -0,0 +1,5 @@ +--- +'@astrojs/markdoc': patch +--- + +Fixes an issue preventing to use Astro components as Markdoc tags and nodes when configured using the `extends` property. diff --git a/packages/integrations/markdoc/src/content-entry-type.ts b/packages/integrations/markdoc/src/content-entry-type.ts index 791def315a..303251d66b 100644 --- a/packages/integrations/markdoc/src/content-entry-type.ts +++ b/packages/integrations/markdoc/src/content-entry-type.ts @@ -78,13 +78,13 @@ export async function getContentEntryType({ // Only include component imports for tags used in the document. // Avoids style and script bleed. for (const tag of usedTags) { - const render = userMarkdocConfig.tags?.[tag]?.render; + const render = markdocConfig.tags?.[tag]?.render; if (isComponentConfig(render)) { componentConfigByTagMap[tag] = render; } } let componentConfigByNodeMap: Record = {}; - for (const [nodeType, schema] of Object.entries(userMarkdocConfig.nodes ?? {})) { + for (const [nodeType, schema] of Object.entries(markdocConfig.nodes ?? {})) { const render = schema?.render; if (isComponentConfig(render)) { componentConfigByNodeMap[nodeType] = render; diff --git a/packages/integrations/markdoc/test/fixtures/render-with-extends-components/astro.config.mjs b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/astro.config.mjs new file mode 100644 index 0000000000..1bd8ba93f4 --- /dev/null +++ b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/astro.config.mjs @@ -0,0 +1,7 @@ +import markdoc from '@astrojs/markdoc'; +import { defineConfig } from 'astro/config'; + +// https://astro.build/config +export default defineConfig({ + integrations: [markdoc()], +}); diff --git a/packages/integrations/markdoc/test/fixtures/render-with-extends-components/markdoc.config.ts b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/markdoc.config.ts new file mode 100644 index 0000000000..8daba3746d --- /dev/null +++ b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/markdoc.config.ts @@ -0,0 +1,31 @@ +import { component, defineMarkdocConfig } from '@astrojs/markdoc/config'; + +export default defineMarkdocConfig({ + extends: [preset()], +}); + +function preset() { + return { + nodes: { + fence: { + render: component('./src/components/Code.astro'), + attributes: { + language: { type: String }, + content: { type: String }, + }, + }, + }, + tags: { + 'marquee-element': { + render: component('./src/components/CustomMarquee.astro'), + attributes: { + direction: { + type: String, + default: 'left', + matches: ['left', 'right', 'up', 'down'], + }, + }, + }, + }, + } +} diff --git a/packages/integrations/markdoc/test/fixtures/render-with-extends-components/package.json b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/package.json new file mode 100644 index 0000000000..962a2b8a76 --- /dev/null +++ b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/package.json @@ -0,0 +1,9 @@ +{ + "name": "@test/markdoc-render-with-extends-components", + "version": "0.0.0", + "private": true, + "dependencies": { + "@astrojs/markdoc": "workspace:*", + "astro": "workspace:*" + } +} diff --git a/packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/components/Code.astro b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/components/Code.astro new file mode 100644 index 0000000000..18bf1399f2 --- /dev/null +++ b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/components/Code.astro @@ -0,0 +1,12 @@ +--- +import { Code } from 'astro/components'; + +type Props = { + content: string; + language: string; +} + +const { content, language } = Astro.props as Props; +--- + + diff --git a/packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/components/CustomMarquee.astro b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/components/CustomMarquee.astro new file mode 100644 index 0000000000..3108b99735 --- /dev/null +++ b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/components/CustomMarquee.astro @@ -0,0 +1 @@ + diff --git a/packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/content/blog/with-components.mdoc b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/content/blog/with-components.mdoc new file mode 100644 index 0000000000..61f404a970 --- /dev/null +++ b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/content/blog/with-components.mdoc @@ -0,0 +1,17 @@ +--- +title: Post with components +--- + +## Post with components + +This uses a custom marquee component with a shortcode: + +{% marquee-element direction="right" %} +I'm a marquee too! +{% /marquee-element %} + +And a code component for code blocks: + +```js +const isRenderedWithShiki = true; +``` diff --git a/packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/pages/index.astro b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/pages/index.astro new file mode 100644 index 0000000000..52239acce7 --- /dev/null +++ b/packages/integrations/markdoc/test/fixtures/render-with-extends-components/src/pages/index.astro @@ -0,0 +1,19 @@ +--- +import { getEntryBySlug } from "astro:content"; + +const post = await getEntryBySlug('blog', 'with-components'); +const { Content } = await post.render(); +--- + + + + + + + + Content + + + + + diff --git a/packages/integrations/markdoc/test/render-extends-components.test.js b/packages/integrations/markdoc/test/render-extends-components.test.js new file mode 100644 index 0000000000..8d1778d3ee --- /dev/null +++ b/packages/integrations/markdoc/test/render-extends-components.test.js @@ -0,0 +1,64 @@ +import assert from 'node:assert/strict'; +import { after, before, describe, it } from 'node:test'; +import { parseHTML } from 'linkedom'; +import { loadFixture } from '../../../astro/test/test-utils.js'; + +const root = new URL('./fixtures/render-with-extends-components/', import.meta.url); + +describe('Markdoc - render components defined in `extends`', () => { + let fixture; + + before(async () => { + fixture = await loadFixture({ + root, + }); + }); + + describe('dev', () => { + let devServer; + + before(async () => { + devServer = await fixture.startDevServer(); + }); + + after(async () => { + await devServer.stop(); + }); + + it('renders content - with components', async () => { + const res = await fixture.fetch('/'); + const html = await res.text(); + + renderComponentsChecks(html); + }); + }); + + describe('build', () => { + before(async () => { + await fixture.build(); + }); + + it('renders content - with components', async () => { + const html = await fixture.readFile('/index.html'); + + renderComponentsChecks(html); + }); + }); +}); + +/** @param {string} html */ +function renderComponentsChecks(html) { + const { document } = parseHTML(html); + const h2 = document.querySelector('h2'); + assert.equal(h2.textContent, 'Post with components'); + + // Renders custom shortcode component + const marquee = document.querySelector('marquee'); + assert.notEqual(marquee, null); + assert.equal(marquee.hasAttribute('data-custom-marquee'), true); + + // Renders Astro Code component + const pre = document.querySelector('pre'); + assert.notEqual(pre, null); + assert.equal(pre.className, 'astro-code github-dark'); +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a0458718b9..246d75897f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4744,6 +4744,15 @@ importers: specifier: workspace:* version: link:../../../../../astro + packages/integrations/markdoc/test/fixtures/render-with-extends-components: + dependencies: + '@astrojs/markdoc': + specifier: workspace:* + version: link:../../.. + astro: + specifier: workspace:* + version: link:../../../../../astro + packages/integrations/markdoc/test/fixtures/render-with-indented-components: dependencies: '@astrojs/markdoc': From b601e47aff5e3c36fea0ca18f28dc5c785e1cba8 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Tue, 27 Aug 2024 16:49:42 +0100 Subject: [PATCH 46/66] chore: enable `useImportType` rule (#11848) --- .vscode/settings.json | 14 ++++++---- biome.json | 3 +- packages/astro/src/actions/utils.ts | 2 +- .../src/core/build/plugins/plugin-content.ts | 2 +- .../src/core/build/plugins/plugin-pages.ts | 2 +- .../src/runtime/client/dev-toolbar/toolbar.ts | 2 +- .../src/vite-plugin-astro-server/pipeline.ts | 2 +- .../astro/src/vite-plugin-scanner/index.ts | 2 +- .../db/src/core/cli/commands/link/index.ts | 2 +- .../db/src/core/cli/commands/push/index.ts | 2 +- packages/db/src/core/cli/migration-queries.ts | 28 +++++++++---------- packages/db/src/core/queries.ts | 2 +- packages/db/src/runtime/index.ts | 2 +- packages/integrations/markdoc/src/runtime.ts | 2 +- 14 files changed, 36 insertions(+), 31 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f7dbf2d9a7..b3e10e7bcc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,17 +1,21 @@ { "[json]": { - "editor.defaultFormatter": "biomejs.biome", + "editor.defaultFormatter": "biomejs.biome" }, "[javascript]": { - "editor.defaultFormatter": "biomejs.biome", + "editor.defaultFormatter": "biomejs.biome" }, "[typescript]": { - "editor.defaultFormatter": "biomejs.biome", + "editor.defaultFormatter": "biomejs.biome" }, "[javascriptreact]": { - "editor.defaultFormatter": "biomejs.biome", + "editor.defaultFormatter": "biomejs.biome" }, "[typescriptreact]": { - "editor.defaultFormatter": "biomejs.biome", + "editor.defaultFormatter": "biomejs.biome" + }, + "editor.codeActionsOnSave": { + "quickFix.biome": true, + "source.fixAll.biome": true } } diff --git a/biome.json b/biome.json index 20653e9410..33f9070b93 100644 --- a/biome.json +++ b/biome.json @@ -31,7 +31,8 @@ "rules": { "recommended": false, "style": { - "useNodejsImportProtocol": "error" + "useNodejsImportProtocol": "error", + "useImportType": "error" } } }, diff --git a/packages/astro/src/actions/utils.ts b/packages/astro/src/actions/utils.ts index 5cf7862660..eddac615b7 100644 --- a/packages/astro/src/actions/utils.ts +++ b/packages/astro/src/actions/utils.ts @@ -1,6 +1,6 @@ import type { APIContext } from '../@types/astro.js'; import type { Locals } from './runtime/middleware.js'; -import { type ActionAPIContext } from './runtime/utils.js'; +import type { ActionAPIContext } from './runtime/utils.js'; import { deserializeActionResult, getActionQueryString } from './runtime/virtual/shared.js'; export function hasActionPayload(locals: APIContext['locals']): locals is Locals { diff --git a/packages/astro/src/core/build/plugins/plugin-content.ts b/packages/astro/src/core/build/plugins/plugin-content.ts index 9c6d5add0b..91de3fa4b1 100644 --- a/packages/astro/src/core/build/plugins/plugin-content.ts +++ b/packages/astro/src/core/build/plugins/plugin-content.ts @@ -22,7 +22,7 @@ import { import { isContentCollectionsCacheEnabled } from '../../util.js'; import { addRollupInput } from '../add-rollup-input.js'; import { CHUNKS_PATH, CONTENT_PATH } from '../consts.js'; -import { type BuildInternals } from '../internal.js'; +import type { BuildInternals } from '../internal.js'; import type { AstroBuildPlugin } from '../plugin.js'; import { copyFiles } from '../static-build.js'; import type { StaticBuildOptions } from '../types.js'; diff --git a/packages/astro/src/core/build/plugins/plugin-pages.ts b/packages/astro/src/core/build/plugins/plugin-pages.ts index 2dc400a6c2..6996e33428 100644 --- a/packages/astro/src/core/build/plugins/plugin-pages.ts +++ b/packages/astro/src/core/build/plugins/plugin-pages.ts @@ -1,7 +1,7 @@ import type { Plugin as VitePlugin } from 'vite'; import { routeIsRedirect } from '../../redirects/index.js'; import { addRollupInput } from '../add-rollup-input.js'; -import { type BuildInternals } from '../internal.js'; +import type { BuildInternals } from '../internal.js'; import type { AstroBuildPlugin } from '../plugin.js'; import type { StaticBuildOptions } from '../types.js'; import { RENDERERS_MODULE_ID } from './plugin-renderers.js'; diff --git a/packages/astro/src/runtime/client/dev-toolbar/toolbar.ts b/packages/astro/src/runtime/client/dev-toolbar/toolbar.ts index 08ea61cace..c2869270de 100644 --- a/packages/astro/src/runtime/client/dev-toolbar/toolbar.ts +++ b/packages/astro/src/runtime/client/dev-toolbar/toolbar.ts @@ -3,7 +3,7 @@ import type { ResolvedDevToolbarApp as DevToolbarAppDefinition } from '../../../ import { type ToolbarAppEventTarget, serverHelpers } from './helpers.js'; import { settings } from './settings.js'; import { type Icon, getIconElement, isDefinedIcon } from './ui-library/icons.js'; -import { type Placement } from './ui-library/window.js'; +import type { Placement } from './ui-library/window.js'; export type DevToolbarApp = DevToolbarAppDefinition & { builtIn: boolean; diff --git a/packages/astro/src/vite-plugin-astro-server/pipeline.ts b/packages/astro/src/vite-plugin-astro-server/pipeline.ts index 4386eb154b..d5117a0a48 100644 --- a/packages/astro/src/vite-plugin-astro-server/pipeline.ts +++ b/packages/astro/src/vite-plugin-astro-server/pipeline.ts @@ -11,7 +11,7 @@ import type { SSRManifest, } from '../@types/astro.js'; import { getInfoOutput } from '../cli/info/index.js'; -import { type HeadElements } from '../core/base-pipeline.js'; +import type { HeadElements } from '../core/base-pipeline.js'; import { ASTRO_VERSION } from '../core/constants.js'; import { enhanceViteSSRError } from '../core/errors/dev/index.js'; import { AggregateError, CSSError, MarkdownError } from '../core/errors/index.js'; diff --git a/packages/astro/src/vite-plugin-scanner/index.ts b/packages/astro/src/vite-plugin-scanner/index.ts index 842857777a..05889c074a 100644 --- a/packages/astro/src/vite-plugin-scanner/index.ts +++ b/packages/astro/src/vite-plugin-scanner/index.ts @@ -3,7 +3,7 @@ import { bold } from 'kleur/colors'; import type { Plugin as VitePlugin } from 'vite'; import { normalizePath } from 'vite'; import type { AstroSettings, RouteOptions } from '../@types/astro.js'; -import { type Logger } from '../core/logger/core.js'; +import type { Logger } from '../core/logger/core.js'; import { isEndpoint, isPage, isServerLikeOutput } from '../core/util.js'; import { rootRelativePath } from '../core/viteUtils.js'; import { runHookRouteSetup } from '../integrations/hooks.js'; diff --git a/packages/db/src/core/cli/commands/link/index.ts b/packages/db/src/core/cli/commands/link/index.ts index d39b8c09ac..525dacce02 100644 --- a/packages/db/src/core/cli/commands/link/index.ts +++ b/packages/db/src/core/cli/commands/link/index.ts @@ -12,7 +12,7 @@ import { bgRed, cyan } from 'kleur/colors'; import ora from 'ora'; import prompts from 'prompts'; import { safeFetch } from '../../../../runtime/utils.js'; -import { type Result } from '../../../utils.js'; +import type { Result } from '../../../utils.js'; export async function cmd() { const sessionToken = await getSessionIdFromFile(); diff --git a/packages/db/src/core/cli/commands/push/index.ts b/packages/db/src/core/cli/commands/push/index.ts index ecd101ecea..2d19daee58 100644 --- a/packages/db/src/core/cli/commands/push/index.ts +++ b/packages/db/src/core/cli/commands/push/index.ts @@ -4,7 +4,7 @@ import prompts from 'prompts'; import type { Arguments } from 'yargs-parser'; import { safeFetch } from '../../../../runtime/utils.js'; import { MIGRATION_VERSION } from '../../../consts.js'; -import { type DBConfig, type DBSnapshot } from '../../../types.js'; +import type { DBConfig, DBSnapshot } from '../../../types.js'; import { type Result, getRemoteDatabaseUrl } from '../../../utils.js'; import { createCurrentSnapshot, diff --git a/packages/db/src/core/cli/migration-queries.ts b/packages/db/src/core/cli/migration-queries.ts index 894c1d66f2..da5d70be10 100644 --- a/packages/db/src/core/cli/migration-queries.ts +++ b/packages/db/src/core/cli/migration-queries.ts @@ -18,20 +18,20 @@ import { schemaTypeToSqlType, } from '../queries.js'; import { columnSchema } from '../schemas.js'; -import { - type BooleanColumn, - type ColumnType, - type DBColumn, - type DBColumns, - type DBConfig, - type DBSnapshot, - type DateColumn, - type JsonColumn, - type NumberColumn, - type ResolvedDBTable, - type ResolvedDBTables, - type ResolvedIndexes, - type TextColumn, +import type { + BooleanColumn, + ColumnType, + DBColumn, + DBColumns, + DBConfig, + DBSnapshot, + DateColumn, + JsonColumn, + NumberColumn, + ResolvedDBTable, + ResolvedDBTables, + ResolvedIndexes, + TextColumn, } from '../types.js'; import { type Result, getRemoteDatabaseUrl } from '../utils.js'; diff --git a/packages/db/src/core/queries.ts b/packages/db/src/core/queries.ts index 705205ee42..cf472d4236 100644 --- a/packages/db/src/core/queries.ts +++ b/packages/db/src/core/queries.ts @@ -1,4 +1,4 @@ -import { type SQL } from 'drizzle-orm'; +import type { SQL } from 'drizzle-orm'; import { SQLiteAsyncDialect } from 'drizzle-orm/sqlite-core'; import { bold } from 'kleur/colors'; import { diff --git a/packages/db/src/runtime/index.ts b/packages/db/src/runtime/index.ts index 9e882843a0..fb85794593 100644 --- a/packages/db/src/runtime/index.ts +++ b/packages/db/src/runtime/index.ts @@ -1,5 +1,5 @@ import { type ColumnBuilderBaseConfig, type ColumnDataType, sql } from 'drizzle-orm'; -import { type LibSQLDatabase } from 'drizzle-orm/libsql'; +import type { LibSQLDatabase } from 'drizzle-orm/libsql'; import { type IndexBuilder, type SQLiteColumnBuilderBase, diff --git a/packages/integrations/markdoc/src/runtime.ts b/packages/integrations/markdoc/src/runtime.ts index 31ddf4c64a..f62bcec1a5 100644 --- a/packages/integrations/markdoc/src/runtime.ts +++ b/packages/integrations/markdoc/src/runtime.ts @@ -7,7 +7,7 @@ import Markdoc, { } from '@markdoc/markdoc'; import type { AstroInstance } from 'astro'; import { createComponent, renderComponent } from 'astro/runtime/server/index.js'; -import { type AstroMarkdocConfig } from './config.js'; +import type { AstroMarkdocConfig } from './config.js'; import { setupHeadingConfig } from './heading-ids.js'; import { htmlTag } from './html/tagdefs/html.tag.js'; import type { MarkdocIntegrationOptions } from './options.js'; From ccce6d2061c4653d285a31164ac1b84073b73f31 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Wed, 28 Aug 2024 00:00:19 +0800 Subject: [PATCH 47/66] Improve e2e setup (#11850) --- packages/astro/e2e/actions-blog.test.js | 16 ++++----- packages/astro/e2e/actions-react-19.test.js | 10 ++++-- packages/astro/e2e/astro-component.test.js | 2 +- packages/astro/e2e/astro-envs.test.js | 2 +- packages/astro/e2e/client-only.test.js | 2 +- .../astro/e2e/content-collections.test.js | 2 +- packages/astro/e2e/css.test.js | 2 +- .../e2e/custom-client-directives.test.js | 2 +- packages/astro/e2e/dev-toolbar-audits.test.js | 2 +- packages/astro/e2e/dev-toolbar.test.js | 2 +- packages/astro/e2e/error-cyclic.test.js | 2 +- packages/astro/e2e/error-sass.test.js | 2 +- packages/astro/e2e/errors.test.js | 2 +- packages/astro/e2e/hmr.test.js | 2 +- packages/astro/e2e/hydration-race.test.js | 2 +- packages/astro/e2e/i18n.test.js | 2 +- packages/astro/e2e/lit-component.test.js | 2 +- .../astro/e2e/multiple-frameworks.test.js | 2 +- .../astro/e2e/namespaced-component.test.js | 2 +- packages/astro/e2e/nested-in-preact.test.js | 2 +- packages/astro/e2e/nested-in-react.test.js | 2 +- packages/astro/e2e/nested-in-solid.test.js | 2 +- packages/astro/e2e/nested-in-svelte.test.js | 2 +- packages/astro/e2e/nested-in-vue.test.js | 2 +- packages/astro/e2e/nested-recursive.test.js | 2 +- packages/astro/e2e/nested-styles.test.js | 2 +- packages/astro/e2e/pass-js.test.js | 2 +- .../astro/e2e/preact-compat-component.test.js | 4 ++- packages/astro/e2e/preact-component.test.js | 4 ++- .../astro/e2e/preact-lazy-component.test.js | 4 ++- packages/astro/e2e/prefetch.test.js | 2 +- packages/astro/e2e/react-component.test.js | 4 ++- packages/astro/e2e/server-islands.test.js | 2 +- packages/astro/e2e/shared-component-tests.js | 5 +-- packages/astro/e2e/solid-circular.test.js | 2 +- packages/astro/e2e/solid-component.test.js | 1 + packages/astro/e2e/solid-recurse.test.js | 2 +- packages/astro/e2e/svelte-component.test.js | 4 ++- packages/astro/e2e/tailwindcss.test.js | 2 +- packages/astro/e2e/test-utils.js | 20 ++++++++--- packages/astro/e2e/ts-resolution.test.js | 2 +- packages/astro/e2e/view-transitions.test.js | 6 ++-- packages/astro/e2e/vue-component.test.js | 4 ++- packages/astro/playwright.config.js | 26 +++------------ packages/astro/playwright.firefox.config.js | 33 ++++--------------- 45 files changed, 97 insertions(+), 106 deletions(-) diff --git a/packages/astro/e2e/actions-blog.test.js b/packages/astro/e2e/actions-blog.test.js index 1631f7dfec..d9c1bc1dfd 100644 --- a/packages/astro/e2e/actions-blog.test.js +++ b/packages/astro/e2e/actions-blog.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; -import { testFactory } from './test-utils.js'; +import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ root: './fixtures/actions-blog/' }); +const test = testFactory(import.meta.url, { root: './fixtures/actions-blog/' }); let devServer; @@ -23,11 +23,10 @@ test.describe('Astro Actions - Blog', () => { await page.goto(astro.resolveUrl('/blog/first-post/')); const likeButton = page.getByLabel('Like'); + await waitForHydrate(page, likeButton); await expect(likeButton, 'like button starts with 10 likes').toContainText('10'); await likeButton.click(); - await expect(likeButton, 'like button should increment likes').toContainText('11', { - timeout: 6_000, - }); + await expect(likeButton, 'like button should increment likes').toContainText('11'); }); test('Like action - server-side', async ({ page, astro }) => { @@ -38,9 +37,7 @@ test.describe('Astro Actions - Blog', () => { await expect(likeCount, 'like button starts with 10 likes').toContainText('10'); await likeButton.click(); - await expect(likeCount, 'like button should increment likes').toContainText('11', { - timeout: 6_000, - }); + await expect(likeCount, 'like button should increment likes').toContainText('11'); }); test('Comment action - validation error', async ({ page, astro }) => { @@ -134,7 +131,8 @@ test.describe('Astro Actions - Blog', () => { await page.goto(astro.resolveUrl('/blog/first-post/')); const logoutButton = page.getByTestId('logout-button'); + await waitForHydrate(page, logoutButton); await logoutButton.click(); - await expect(page).toHaveURL(astro.resolveUrl('/blog/'), { timeout: 6_000 }); + await expect(page).toHaveURL(astro.resolveUrl('/blog/')); }); }); diff --git a/packages/astro/e2e/actions-react-19.test.js b/packages/astro/e2e/actions-react-19.test.js index 5ce72a419a..3298db1e33 100644 --- a/packages/astro/e2e/actions-react-19.test.js +++ b/packages/astro/e2e/actions-react-19.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; -import { testFactory } from './test-utils.js'; +import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ root: './fixtures/actions-react-19/' }); +const test = testFactory(import.meta.url, { root: './fixtures/actions-react-19/' }); let devServer; @@ -23,10 +23,12 @@ test.describe('Astro Actions - React 19', () => { await page.goto(astro.resolveUrl('/blog/first-post/')); const likeButton = page.getByLabel('likes-client'); + await waitForHydrate(page, likeButton); + await expect(likeButton).toBeVisible(); await likeButton.click(); await expect(likeButton, 'like button should be disabled when pending').toBeDisabled(); - await expect(likeButton).not.toBeDisabled({ timeout: 5000 }); + await expect(likeButton).not.toBeDisabled(); }); test('Like action - server progressive enhancement', async ({ page, astro }) => { @@ -43,6 +45,8 @@ test.describe('Astro Actions - React 19', () => { await page.goto(astro.resolveUrl('/blog/first-post/')); const likeButton = page.getByLabel('likes-action-client'); + await waitForHydrate(page, likeButton); + await expect(likeButton).toBeVisible(); await likeButton.click(); diff --git a/packages/astro/e2e/astro-component.test.js b/packages/astro/e2e/astro-component.test.js index 0e9c1eaed4..d8fd4a2be5 100644 --- a/packages/astro/e2e/astro-component.test.js +++ b/packages/astro/e2e/astro-component.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ root: './fixtures/astro-component/' }); +const test = testFactory(import.meta.url, { root: './fixtures/astro-component/' }); let devServer; diff --git a/packages/astro/e2e/astro-envs.test.js b/packages/astro/e2e/astro-envs.test.js index f6f3c5031a..60baa65a00 100644 --- a/packages/astro/e2e/astro-envs.test.js +++ b/packages/astro/e2e/astro-envs.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/astro-envs/', devToolbar: { enabled: false, diff --git a/packages/astro/e2e/client-only.test.js b/packages/astro/e2e/client-only.test.js index 08c5fb3ac5..62a05f8dc1 100644 --- a/packages/astro/e2e/client-only.test.js +++ b/packages/astro/e2e/client-only.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ root: './fixtures/client-only/' }); +const test = testFactory(import.meta.url, { root: './fixtures/client-only/' }); let devServer; diff --git a/packages/astro/e2e/content-collections.test.js b/packages/astro/e2e/content-collections.test.js index 63c5077c9b..fdb8d5e007 100644 --- a/packages/astro/e2e/content-collections.test.js +++ b/packages/astro/e2e/content-collections.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ root: './fixtures/content-collections/' }); +const test = testFactory(import.meta.url, { root: './fixtures/content-collections/' }); let devServer; diff --git a/packages/astro/e2e/css.test.js b/packages/astro/e2e/css.test.js index fd4de700e9..f865969f73 100644 --- a/packages/astro/e2e/css.test.js +++ b/packages/astro/e2e/css.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/css/', devToolbar: { enabled: false, diff --git a/packages/astro/e2e/custom-client-directives.test.js b/packages/astro/e2e/custom-client-directives.test.js index ef9de808a1..8f90916f26 100644 --- a/packages/astro/e2e/custom-client-directives.test.js +++ b/packages/astro/e2e/custom-client-directives.test.js @@ -2,7 +2,7 @@ import { expect } from '@playwright/test'; import testAdapter from '../test/test-adapter.js'; import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/custom-client-directives/', }); diff --git a/packages/astro/e2e/dev-toolbar-audits.test.js b/packages/astro/e2e/dev-toolbar-audits.test.js index 6ef63cc1e2..d0c5da847f 100644 --- a/packages/astro/e2e/dev-toolbar-audits.test.js +++ b/packages/astro/e2e/dev-toolbar-audits.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/dev-toolbar/', }); diff --git a/packages/astro/e2e/dev-toolbar.test.js b/packages/astro/e2e/dev-toolbar.test.js index ae8b6ef5c0..628b3af3aa 100644 --- a/packages/astro/e2e/dev-toolbar.test.js +++ b/packages/astro/e2e/dev-toolbar.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/dev-toolbar/', }); diff --git a/packages/astro/e2e/error-cyclic.test.js b/packages/astro/e2e/error-cyclic.test.js index 84f4d1d1dc..62b502fab9 100644 --- a/packages/astro/e2e/error-cyclic.test.js +++ b/packages/astro/e2e/error-cyclic.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { getErrorOverlayContent, testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/error-cyclic/', }); diff --git a/packages/astro/e2e/error-sass.test.js b/packages/astro/e2e/error-sass.test.js index 11862fb86e..05774220e3 100644 --- a/packages/astro/e2e/error-sass.test.js +++ b/packages/astro/e2e/error-sass.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { getErrorOverlayContent, testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/error-sass/', }); diff --git a/packages/astro/e2e/errors.test.js b/packages/astro/e2e/errors.test.js index 34cecd816f..f64a22b5cf 100644 --- a/packages/astro/e2e/errors.test.js +++ b/packages/astro/e2e/errors.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { getErrorOverlayContent, testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/errors/', // Only test the error overlay, don't print to console vite: { diff --git a/packages/astro/e2e/hmr.test.js b/packages/astro/e2e/hmr.test.js index 72eaf83751..1f0cda2c46 100644 --- a/packages/astro/e2e/hmr.test.js +++ b/packages/astro/e2e/hmr.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/hmr/', devToolbar: { enabled: false, diff --git a/packages/astro/e2e/hydration-race.test.js b/packages/astro/e2e/hydration-race.test.js index 0ee5782430..95469fe738 100644 --- a/packages/astro/e2e/hydration-race.test.js +++ b/packages/astro/e2e/hydration-race.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/hydration-race/', }); diff --git a/packages/astro/e2e/i18n.test.js b/packages/astro/e2e/i18n.test.js index e7d74a5518..88d3a0b08c 100644 --- a/packages/astro/e2e/i18n.test.js +++ b/packages/astro/e2e/i18n.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/i18n/', devToolbar: { enabled: false, diff --git a/packages/astro/e2e/lit-component.test.js b/packages/astro/e2e/lit-component.test.js index d68f5f7b80..75cdbe1474 100644 --- a/packages/astro/e2e/lit-component.test.js +++ b/packages/astro/e2e/lit-component.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/lit-component/', }); diff --git a/packages/astro/e2e/multiple-frameworks.test.js b/packages/astro/e2e/multiple-frameworks.test.js index 08a2fb6486..4b52dfd4c7 100644 --- a/packages/astro/e2e/multiple-frameworks.test.js +++ b/packages/astro/e2e/multiple-frameworks.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ root: './fixtures/multiple-frameworks/' }); +const test = testFactory(import.meta.url, { root: './fixtures/multiple-frameworks/' }); let devServer; diff --git a/packages/astro/e2e/namespaced-component.test.js b/packages/astro/e2e/namespaced-component.test.js index 58c00713a4..1212e0ce15 100644 --- a/packages/astro/e2e/namespaced-component.test.js +++ b/packages/astro/e2e/namespaced-component.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/namespaced-component/', }); diff --git a/packages/astro/e2e/nested-in-preact.test.js b/packages/astro/e2e/nested-in-preact.test.js index f2bc4d7283..2ad62e95f9 100644 --- a/packages/astro/e2e/nested-in-preact.test.js +++ b/packages/astro/e2e/nested-in-preact.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ root: './fixtures/nested-in-preact/' }); +const test = testFactory(import.meta.url, { root: './fixtures/nested-in-preact/' }); let devServer; diff --git a/packages/astro/e2e/nested-in-react.test.js b/packages/astro/e2e/nested-in-react.test.js index db9eeb0dd5..7dee699370 100644 --- a/packages/astro/e2e/nested-in-react.test.js +++ b/packages/astro/e2e/nested-in-react.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ root: './fixtures/nested-in-react/' }); +const test = testFactory(import.meta.url, { root: './fixtures/nested-in-react/' }); let devServer; diff --git a/packages/astro/e2e/nested-in-solid.test.js b/packages/astro/e2e/nested-in-solid.test.js index 0fab174688..2d9deade15 100644 --- a/packages/astro/e2e/nested-in-solid.test.js +++ b/packages/astro/e2e/nested-in-solid.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ root: './fixtures/nested-in-solid/' }); +const test = testFactory(import.meta.url, { root: './fixtures/nested-in-solid/' }); let devServer; diff --git a/packages/astro/e2e/nested-in-svelte.test.js b/packages/astro/e2e/nested-in-svelte.test.js index 88aa826a87..eeecb04425 100644 --- a/packages/astro/e2e/nested-in-svelte.test.js +++ b/packages/astro/e2e/nested-in-svelte.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ root: './fixtures/nested-in-svelte/' }); +const test = testFactory(import.meta.url, { root: './fixtures/nested-in-svelte/' }); let devServer; diff --git a/packages/astro/e2e/nested-in-vue.test.js b/packages/astro/e2e/nested-in-vue.test.js index deed309c7f..7e25e47478 100644 --- a/packages/astro/e2e/nested-in-vue.test.js +++ b/packages/astro/e2e/nested-in-vue.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ root: './fixtures/nested-in-vue/' }); +const test = testFactory(import.meta.url, { root: './fixtures/nested-in-vue/' }); let devServer; diff --git a/packages/astro/e2e/nested-recursive.test.js b/packages/astro/e2e/nested-recursive.test.js index 262cd67723..d9f612642f 100644 --- a/packages/astro/e2e/nested-recursive.test.js +++ b/packages/astro/e2e/nested-recursive.test.js @@ -3,7 +3,7 @@ import { loadFixture, waitForHydrate } from './test-utils.js'; const test = base.extend({ astro: async ({}, use) => { - const fixture = await loadFixture({ root: './fixtures/nested-recursive/' }); + const fixture = await loadFixture(import.meta.url, { root: './fixtures/nested-recursive/' }); await use(fixture); }, }); diff --git a/packages/astro/e2e/nested-styles.test.js b/packages/astro/e2e/nested-styles.test.js index c482570f09..1a3aeb0e0b 100644 --- a/packages/astro/e2e/nested-styles.test.js +++ b/packages/astro/e2e/nested-styles.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/nested-styles/', devToolbar: { enabled: false, diff --git a/packages/astro/e2e/pass-js.test.js b/packages/astro/e2e/pass-js.test.js index 0db9895d1b..91e3b5c5e7 100644 --- a/packages/astro/e2e/pass-js.test.js +++ b/packages/astro/e2e/pass-js.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/pass-js/', }); diff --git a/packages/astro/e2e/preact-compat-component.test.js b/packages/astro/e2e/preact-compat-component.test.js index e1b603e7fb..83831c9e77 100644 --- a/packages/astro/e2e/preact-compat-component.test.js +++ b/packages/astro/e2e/preact-compat-component.test.js @@ -1,6 +1,8 @@ import { prepareTestFactory } from './shared-component-tests.js'; -const { test, createTests } = prepareTestFactory({ root: './fixtures/preact-compat-component/' }); +const { test, createTests } = prepareTestFactory(import.meta.url, { + root: './fixtures/preact-compat-component/', +}); const config = { counterComponentFilePath: './src/components/Counter.jsx', diff --git a/packages/astro/e2e/preact-component.test.js b/packages/astro/e2e/preact-component.test.js index d808b48900..3beb14da34 100644 --- a/packages/astro/e2e/preact-component.test.js +++ b/packages/astro/e2e/preact-component.test.js @@ -1,6 +1,8 @@ import { prepareTestFactory } from './shared-component-tests.js'; -const { test, createTests } = prepareTestFactory({ root: './fixtures/preact-component/' }); +const { test, createTests } = prepareTestFactory(import.meta.url, { + root: './fixtures/preact-component/', +}); const config = { counterComponentFilePath: './src/components/Counter.jsx', diff --git a/packages/astro/e2e/preact-lazy-component.test.js b/packages/astro/e2e/preact-lazy-component.test.js index 585d2d3473..ce0e3afec9 100644 --- a/packages/astro/e2e/preact-lazy-component.test.js +++ b/packages/astro/e2e/preact-lazy-component.test.js @@ -1,6 +1,8 @@ import { prepareTestFactory } from './shared-component-tests.js'; -const { test, createTests } = prepareTestFactory({ root: './fixtures/preact-lazy-component/' }); +const { test, createTests } = prepareTestFactory(import.meta.url, { + root: './fixtures/preact-lazy-component/', +}); const config = { counterComponentFilePath: './src/components/Counter.jsx', diff --git a/packages/astro/e2e/prefetch.test.js b/packages/astro/e2e/prefetch.test.js index 84ead590cb..2da44189a3 100644 --- a/packages/astro/e2e/prefetch.test.js +++ b/packages/astro/e2e/prefetch.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ +const test = testFactory(import.meta.url, { root: './fixtures/prefetch/', }); diff --git a/packages/astro/e2e/react-component.test.js b/packages/astro/e2e/react-component.test.js index 361ee8d69a..4585887adb 100644 --- a/packages/astro/e2e/react-component.test.js +++ b/packages/astro/e2e/react-component.test.js @@ -1,7 +1,9 @@ import { expect } from '@playwright/test'; import { prepareTestFactory } from './shared-component-tests.js'; -const { test, createTests } = prepareTestFactory({ root: './fixtures/react-component/' }); +const { test, createTests } = prepareTestFactory(import.meta.url, { + root: './fixtures/react-component/', +}); const config = { counterComponentFilePath: './src/components/Counter.jsx', diff --git a/packages/astro/e2e/server-islands.test.js b/packages/astro/e2e/server-islands.test.js index 496cf229cc..ae8f95b867 100644 --- a/packages/astro/e2e/server-islands.test.js +++ b/packages/astro/e2e/server-islands.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ root: './fixtures/server-islands/' }); +const test = testFactory(import.meta.url, { root: './fixtures/server-islands/' }); test.describe('Server islands', () => { test.describe('Development', () => { diff --git a/packages/astro/e2e/shared-component-tests.js b/packages/astro/e2e/shared-component-tests.js index 024f1aade8..ea45da13b6 100644 --- a/packages/astro/e2e/shared-component-tests.js +++ b/packages/astro/e2e/shared-component-tests.js @@ -1,8 +1,8 @@ import { expect } from '@playwright/test'; import { scrollToElement, testFactory, waitForHydrate } from './test-utils.js'; -export function prepareTestFactory(opts, { canReplayClicks = false } = {}) { - const test = testFactory(opts); +export function prepareTestFactory(testFile, opts, { canReplayClicks = false } = {}) { + const test = testFactory(testFile, opts); let devServer; @@ -120,6 +120,7 @@ export function prepareTestFactory(opts, { canReplayClicks = false } = {}) { await page.goto(astro.resolveUrl(pageUrl)); const label = page.locator('#client-only'); + await waitForHydrate(page, label); await expect(label, 'component is visible').toBeVisible(); await expect(label, 'slot text is visible').toHaveText('Framework client:only component'); diff --git a/packages/astro/e2e/solid-circular.test.js b/packages/astro/e2e/solid-circular.test.js index 5dd0e8b80c..796800a211 100644 --- a/packages/astro/e2e/solid-circular.test.js +++ b/packages/astro/e2e/solid-circular.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ root: './fixtures/solid-circular/' }); +const test = testFactory(import.meta.url, { root: './fixtures/solid-circular/' }); let devServer; diff --git a/packages/astro/e2e/solid-component.test.js b/packages/astro/e2e/solid-component.test.js index b998d18732..6a934b1c4f 100644 --- a/packages/astro/e2e/solid-component.test.js +++ b/packages/astro/e2e/solid-component.test.js @@ -1,6 +1,7 @@ import { prepareTestFactory } from './shared-component-tests.js'; const { test, createTests } = prepareTestFactory( + import.meta.url, { root: './fixtures/solid-component/' }, { canReplayClicks: true, diff --git a/packages/astro/e2e/solid-recurse.test.js b/packages/astro/e2e/solid-recurse.test.js index de3759e985..eb0fa37707 100644 --- a/packages/astro/e2e/solid-recurse.test.js +++ b/packages/astro/e2e/solid-recurse.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ root: './fixtures/solid-recurse/' }); +const test = testFactory(import.meta.url, { root: './fixtures/solid-recurse/' }); let devServer; diff --git a/packages/astro/e2e/svelte-component.test.js b/packages/astro/e2e/svelte-component.test.js index 01c7aa41da..d72235797c 100644 --- a/packages/astro/e2e/svelte-component.test.js +++ b/packages/astro/e2e/svelte-component.test.js @@ -2,7 +2,9 @@ import { expect } from '@playwright/test'; import { prepareTestFactory } from './shared-component-tests.js'; import { waitForHydrate } from './test-utils.js'; -const { test, createTests } = prepareTestFactory({ root: './fixtures/svelte-component/' }); +const { test, createTests } = prepareTestFactory(import.meta.url, { + root: './fixtures/svelte-component/', +}); const config = { componentFilePath: './src/components/SvelteComponent.svelte', diff --git a/packages/astro/e2e/tailwindcss.test.js b/packages/astro/e2e/tailwindcss.test.js index e58e10dfde..c86d01b0e2 100644 --- a/packages/astro/e2e/tailwindcss.test.js +++ b/packages/astro/e2e/tailwindcss.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory } from './test-utils.js'; -const test = testFactory({ root: './fixtures/tailwindcss/' }); +const test = testFactory(import.meta.url, { root: './fixtures/tailwindcss/' }); let devServer; diff --git a/packages/astro/e2e/test-utils.js b/packages/astro/e2e/test-utils.js index 48fcd17bd7..933186a718 100644 --- a/packages/astro/e2e/test-utils.js +++ b/packages/astro/e2e/test-utils.js @@ -14,30 +14,40 @@ const testFileToPort = new Map(); for (let i = 0; i < testFiles.length; i++) { const file = testFiles[i]; if (file.endsWith('.test.js')) { - testFileToPort.set(file.slice(0, -8), 4000 + i); + testFileToPort.set(file, 4000 + i); } } -export function loadFixture(inlineConfig) { +export function loadFixture(testFile, inlineConfig) { if (!inlineConfig?.root) throw new Error("Must provide { root: './fixtures/...' }"); + const port = testFileToPort.get(path.basename(testFile)); + // resolve the relative root (i.e. "./fixtures/tailwindcss") to a full filepath // without this, the main `loadFixture` helper will resolve relative to `packages/astro/test` return baseLoadFixture({ ...inlineConfig, root: fileURLToPath(new URL(inlineConfig.root, import.meta.url)), server: { - port: testFileToPort.get(path.basename(inlineConfig.root)), + ...inlineConfig?.server, + port, + }, + vite: { + ...inlineConfig?.vite, + server: { + ...inlineConfig?.vite?.server, + strictPort: true, + }, }, }); } -export function testFactory(inlineConfig) { +export function testFactory(testFile, inlineConfig) { let fixture; const test = testBase.extend({ astro: async ({}, use) => { - fixture = fixture || (await loadFixture(inlineConfig)); + fixture = fixture || (await loadFixture(testFile, inlineConfig)); await use(fixture); }, }); diff --git a/packages/astro/e2e/ts-resolution.test.js b/packages/astro/e2e/ts-resolution.test.js index d2d3fcfe8b..256269542f 100644 --- a/packages/astro/e2e/ts-resolution.test.js +++ b/packages/astro/e2e/ts-resolution.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ root: './fixtures/ts-resolution/' }); +const test = testFactory(import.meta.url, { root: './fixtures/ts-resolution/' }); function runTest(it) { it('client:idle', async ({ page, astro }) => { diff --git a/packages/astro/e2e/view-transitions.test.js b/packages/astro/e2e/view-transitions.test.js index 135ec5571a..822a57d894 100644 --- a/packages/astro/e2e/view-transitions.test.js +++ b/packages/astro/e2e/view-transitions.test.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { testFactory, waitForHydrate } from './test-utils.js'; -const test = testFactory({ root: './fixtures/view-transitions/' }); +const test = testFactory(import.meta.url, { root: './fixtures/view-transitions/' }); let devServer; @@ -447,7 +447,9 @@ test.describe('View Transitions', () => { expect(consoleCount).toEqual(1); // forward '' to 'hash' (no transition) - await page.goForward(); + // NOTE: the networkidle below is needed for Firefox to consistently + // pass the `#longpage` viewport check below + await page.goForward({ waitUntil: 'networkidle' }); locator = page.locator('#click-one-again'); await expect(locator).toBeInViewport(); expect(consoleCount).toEqual(1); diff --git a/packages/astro/e2e/vue-component.test.js b/packages/astro/e2e/vue-component.test.js index 3be31af85f..034fe5a6ef 100644 --- a/packages/astro/e2e/vue-component.test.js +++ b/packages/astro/e2e/vue-component.test.js @@ -1,6 +1,8 @@ import { expect } from '@playwright/test'; import { prepareTestFactory } from './shared-component-tests.js'; -const { test, createTests } = prepareTestFactory({ root: './fixtures/vue-component/' }); +const { test, createTests } = prepareTestFactory(import.meta.url, { + root: './fixtures/vue-component/', +}); const config = { componentFilePath: './src/components/VueComponent.vue', diff --git a/packages/astro/playwright.config.js b/packages/astro/playwright.config.js index 2209a5c27f..26572c66c8 100644 --- a/packages/astro/playwright.config.js +++ b/packages/astro/playwright.config.js @@ -1,4 +1,5 @@ import { defineConfig } from '@playwright/test'; + // NOTE: Sometimes, tests fail with `TypeError: process.stdout.clearLine is not a function` // for some reason. This comes from Vite, and is conditionally called based on `isTTY`. // We set it to false here to skip this odd behavior. @@ -6,35 +7,16 @@ process.stdout.isTTY = false; export default defineConfig({ testMatch: 'e2e/*.test.js', - /* Maximum time one test can run for. */ - timeout: 40 * 1000, - expect: { - /** - * Maximum time expect() should wait for the condition to be met. - * For example in `await expect(locator).toHaveText();` - */ - timeout: 6 * 1000, - }, - /* Fail the build on CI if you accidentally left test in the source code. */ + timeout: 40000, forbidOnly: !!process.env.CI, - /* Retry on CI only */ - retries: process.env.CI ? 3 : 0, - /* Opt out of parallel tests on CI. */ - workers: 1, - /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ - use: { - /* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */ - actionTimeout: 0, - /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ - trace: 'on-first-retry', - }, + retries: process.env.CI ? 2 : 0, + workers: process.env.CI ? 1 : undefined, projects: [ { name: 'Chrome Stable', use: { browserName: 'chromium', channel: 'chrome', - args: ['--use-gl=egl'], }, }, ], diff --git a/packages/astro/playwright.firefox.config.js b/packages/astro/playwright.firefox.config.js index 77c16ed48c..00b82d9997 100644 --- a/packages/astro/playwright.firefox.config.js +++ b/packages/astro/playwright.firefox.config.js @@ -1,43 +1,24 @@ +import { defineConfig } from '@playwright/test'; + // NOTE: Sometimes, tests fail with `TypeError: process.stdout.clearLine is not a function` // for some reason. This comes from Vite, and is conditionally called based on `isTTY`. // We set it to false here to skip this odd behavior. process.stdout.isTTY = false; -const config = { +export default defineConfig({ // TODO: add more tests like view transitions and audits, and fix them. Some of them are failing. testMatch: ['e2e/css.test.js', 'e2e/prefetch.test.js', 'e2e/view-transitions.test.js'], - /* Maximum time one test can run for. */ - timeout: 40 * 1000, - expect: { - /** - * Maximum time expect() should wait for the condition to be met. - * For example in `await expect(locator).toHaveText();` - */ - timeout: 6 * 1000, - }, - /* Fail the build on CI if you accidentally left test in the source code. */ + timeout: 40000, forbidOnly: !!process.env.CI, - /* Retry on CI only */ - retries: process.env.CI ? 3 : 0, - /* Opt out of parallel tests on CI. */ - workers: 1, - /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ - use: { - /* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */ - actionTimeout: 0, - /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ - trace: 'on-first-retry', - }, + retries: process.env.CI ? 2 : 0, + workers: process.env.CI ? 1 : undefined, projects: [ { name: 'Firefox Stable', use: { browserName: 'firefox', channel: 'firefox', - args: ['--use-gl=egl'], }, }, ], -}; - -export default config; +}); From 9eccca53e324bf963fd94b5e0444651ade3f4f1d Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Wed, 28 Aug 2024 00:00:46 +0800 Subject: [PATCH 48/66] Remove lingering env.d.ts files (#11852) --- packages/astro/e2e/fixtures/solid-circular/src/env.d.ts | 1 - packages/astro/e2e/fixtures/svelte-component/src/env.d.ts | 1 - packages/astro/performance/fixtures/mdoc/src/env.d.ts | 2 -- packages/astro/performance/fixtures/mdx/src/env.d.ts | 2 -- packages/astro/test/fixtures/error-bad-js/src/env.d.ts | 1 - packages/astro/test/fixtures/error-build-location/src/env.d.ts | 1 - packages/astro/test/fixtures/error-non-error/src/env.d.ts | 1 - .../vercel/test/hosted/hosted-astro-project/src/env.d.ts | 1 - 8 files changed, 10 deletions(-) delete mode 100644 packages/astro/e2e/fixtures/solid-circular/src/env.d.ts delete mode 100644 packages/astro/e2e/fixtures/svelte-component/src/env.d.ts delete mode 100644 packages/astro/performance/fixtures/mdoc/src/env.d.ts delete mode 100644 packages/astro/performance/fixtures/mdx/src/env.d.ts delete mode 100644 packages/astro/test/fixtures/error-bad-js/src/env.d.ts delete mode 100644 packages/astro/test/fixtures/error-build-location/src/env.d.ts delete mode 100644 packages/astro/test/fixtures/error-non-error/src/env.d.ts delete mode 100644 packages/integrations/vercel/test/hosted/hosted-astro-project/src/env.d.ts diff --git a/packages/astro/e2e/fixtures/solid-circular/src/env.d.ts b/packages/astro/e2e/fixtures/solid-circular/src/env.d.ts deleted file mode 100644 index 8c34fb45e7..0000000000 --- a/packages/astro/e2e/fixtures/solid-circular/src/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// \ No newline at end of file diff --git a/packages/astro/e2e/fixtures/svelte-component/src/env.d.ts b/packages/astro/e2e/fixtures/svelte-component/src/env.d.ts deleted file mode 100644 index 8c34fb45e7..0000000000 --- a/packages/astro/e2e/fixtures/svelte-component/src/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// \ No newline at end of file diff --git a/packages/astro/performance/fixtures/mdoc/src/env.d.ts b/packages/astro/performance/fixtures/mdoc/src/env.d.ts deleted file mode 100644 index acef35f175..0000000000 --- a/packages/astro/performance/fixtures/mdoc/src/env.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -/// -/// diff --git a/packages/astro/performance/fixtures/mdx/src/env.d.ts b/packages/astro/performance/fixtures/mdx/src/env.d.ts deleted file mode 100644 index acef35f175..0000000000 --- a/packages/astro/performance/fixtures/mdx/src/env.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -/// -/// diff --git a/packages/astro/test/fixtures/error-bad-js/src/env.d.ts b/packages/astro/test/fixtures/error-bad-js/src/env.d.ts deleted file mode 100644 index f964fe0cff..0000000000 --- a/packages/astro/test/fixtures/error-bad-js/src/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/packages/astro/test/fixtures/error-build-location/src/env.d.ts b/packages/astro/test/fixtures/error-build-location/src/env.d.ts deleted file mode 100644 index f964fe0cff..0000000000 --- a/packages/astro/test/fixtures/error-build-location/src/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/packages/astro/test/fixtures/error-non-error/src/env.d.ts b/packages/astro/test/fixtures/error-non-error/src/env.d.ts deleted file mode 100644 index f964fe0cff..0000000000 --- a/packages/astro/test/fixtures/error-non-error/src/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/packages/integrations/vercel/test/hosted/hosted-astro-project/src/env.d.ts b/packages/integrations/vercel/test/hosted/hosted-astro-project/src/env.d.ts deleted file mode 100644 index f964fe0cff..0000000000 --- a/packages/integrations/vercel/test/hosted/hosted-astro-project/src/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// From 88ef1d0e774e8ab8798b9912da1b069f97736623 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Wed, 28 Aug 2024 10:52:13 +0800 Subject: [PATCH 49/66] Fix MDX layout style ordering (#11818) --- .changeset/tiny-suns-sit.md | 5 +++ .../src/rehype-apply-frontmatter-export.ts | 38 +++++++++---------- 2 files changed, 23 insertions(+), 20 deletions(-) create mode 100644 .changeset/tiny-suns-sit.md diff --git a/.changeset/tiny-suns-sit.md b/.changeset/tiny-suns-sit.md new file mode 100644 index 0000000000..d5dbd58ae7 --- /dev/null +++ b/.changeset/tiny-suns-sit.md @@ -0,0 +1,5 @@ +--- +'@astrojs/mdx': patch +--- + +Fixes CSS in the layout component to be ordered first before any other components in the MDX file diff --git a/packages/integrations/mdx/src/rehype-apply-frontmatter-export.ts b/packages/integrations/mdx/src/rehype-apply-frontmatter-export.ts index 7fa7f69efa..1b981a68ef 100644 --- a/packages/integrations/mdx/src/rehype-apply-frontmatter-export.ts +++ b/packages/integrations/mdx/src/rehype-apply-frontmatter-export.ts @@ -17,30 +17,28 @@ export function rehypeApplyFrontmatterExport() { jsToTreeNode(`export const frontmatter = ${JSON.stringify(frontmatter)};`), ]; if (frontmatter.layout) { - // NOTE(bholmesdev) 08-22-2022 - // Using an async layout import (i.e. `const Layout = (await import...)`) - // Preserves the dev server import cache when globbing a large set of MDX files - // Full explanation: 'https://github.com/withastro/astro/pull/4428' exportNodes.unshift( jsToTreeNode( + // NOTE: Use `__astro_*` import names to prevent conflicts with user code /** @see 'vite-plugin-markdown' for layout props reference */ - `import { jsx as layoutJsx } from 'astro/jsx-runtime'; + `\ +import { jsx as __astro_layout_jsx__ } from 'astro/jsx-runtime'; +import __astro_layout_component__ from ${JSON.stringify(frontmatter.layout)}; - export default async function ({ children }) { - const Layout = (await import(${JSON.stringify(frontmatter.layout)})).default; - const { layout, ...content } = frontmatter; - content.file = file; - content.url = url; - return layoutJsx(Layout, { - file, - url, - content, - frontmatter: content, - headings: getHeadings(), - 'server:root': true, - children, - }); - };`, +export default function ({ children }) { + const { layout, ...content } = frontmatter; + content.file = file; + content.url = url; + return __astro_layout_jsx__(__astro_layout_component__, { + file, + url, + content, + frontmatter: content, + headings: getHeadings(), + 'server:root': true, + children, + }); +};`, ), ); } From 26c63a2b07e6298dfb59c0c3178348cbd02c8a73 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 10:45:45 +0100 Subject: [PATCH 50/66] fix(deps): update all non-major dependencies (#11837) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- benchmark/packages/timer/package.json | 2 +- examples/container-with-vitest/package.json | 2 +- examples/framework-multiple/package.json | 6 +- examples/framework-react/package.json | 2 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/server-islands/package.json | 2 +- examples/ssr/package.json | 2 +- examples/with-nanostores/package.json | 2 +- package.json | 6 +- .../e2e/fixtures/actions-blog/package.json | 2 +- .../e2e/fixtures/client-only/package.json | 4 +- .../astro/e2e/fixtures/errors/package.json | 4 +- .../fixtures/multiple-frameworks/package.json | 4 +- .../fixtures/nested-in-preact/package.json | 4 +- .../e2e/fixtures/nested-in-react/package.json | 4 +- .../e2e/fixtures/nested-in-solid/package.json | 4 +- .../fixtures/nested-in-svelte/package.json | 4 +- .../e2e/fixtures/nested-in-vue/package.json | 4 +- .../fixtures/nested-recursive/package.json | 4 +- .../e2e/fixtures/solid-circular/package.json | 2 +- .../e2e/fixtures/solid-component/package.json | 2 +- .../e2e/fixtures/solid-recurse/package.json | 2 +- .../fixtures/svelte-component/package.json | 2 +- .../fixtures/view-transitions/package.json | 2 +- packages/astro/package.json | 24 +- .../performance/fixtures/md/package.json | 2 +- .../performance/fixtures/mdoc/package.json | 2 +- .../performance/fixtures/mdx/package.json | 2 +- .../astro/test/fixtures/0-css/package.json | 2 +- .../alias-tsconfig-baseurl-only/package.json | 2 +- .../test/fixtures/alias-tsconfig/package.json | 2 +- .../astro/test/fixtures/alias/package.json | 2 +- .../test/fixtures/astro-children/package.json | 2 +- .../fixtures/astro-client-only/package.json | 2 +- .../test/fixtures/astro-dynamic/package.json | 2 +- .../fixtures/astro-slots-nested/package.json | 4 +- .../fixtures/component-library/package.json | 2 +- .../css-dangling-references/package.json | 2 +- .../astro/test/fixtures/fetch/package.json | 2 +- packages/astro/test/fixtures/jsx/package.json | 4 +- .../test/fixtures/large-array/package.json | 2 +- .../astro/test/fixtures/postcss/package.json | 4 +- .../fixtures/react-and-solid/package.json | 2 +- .../server-islands/hybrid/package.json | 2 +- .../fixtures/server-islands/ssr/package.json | 2 +- .../test/fixtures/slots-solid/package.json | 2 +- .../test/fixtures/slots-svelte/package.json | 2 +- .../deps/solid-jsx-component/package.json | 2 +- .../fixtures/solid-component/package.json | 2 +- .../ssr-prerender-chunks/package.json | 2 +- .../fixtures/svelte-component/package.json | 2 +- .../vue-with-multi-renderer/package.json | 2 +- packages/db/package.json | 6 +- .../fixtures/ticketing-example/package.json | 2 +- packages/integrations/alpinejs/package.json | 2 +- packages/integrations/markdoc/package.json | 2 +- packages/integrations/mdx/package.json | 8 +- packages/integrations/node/package.json | 2 +- packages/integrations/react/package.json | 4 +- packages/integrations/solid/package.json | 4 +- packages/integrations/svelte/package.json | 8 +- packages/integrations/tailwind/package.json | 2 +- packages/integrations/vue/package.json | 4 +- packages/markdown/remark/package.json | 4 +- packages/studio/package.json | 4 +- pnpm-lock.yaml | 1234 +++++++++-------- 67 files changed, 738 insertions(+), 708 deletions(-) diff --git a/benchmark/packages/timer/package.json b/benchmark/packages/timer/package.json index a4a3b8df1b..7e3e2065bc 100644 --- a/benchmark/packages/timer/package.json +++ b/benchmark/packages/timer/package.json @@ -29,7 +29,7 @@ "astro": "workspace:*" }, "devDependencies": { - "@types/server-destroy": "^1.0.3", + "@types/server-destroy": "^1.0.4", "astro": "workspace:*", "astro-scripts": "workspace:*" } diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index 06d7554875..060da1475e 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -19,7 +19,7 @@ "vitest": "^2.0.5" }, "devDependencies": { - "@types/react": "^18.3.3", + "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 21ec3ec962..527bb86fea 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -16,14 +16,14 @@ "@astrojs/solid-js": "^4.4.1", "@astrojs/svelte": "^5.7.0", "@astrojs/vue": "^4.5.0", - "@types/react": "^18.3.3", + "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "astro": "^4.14.5", "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 6f7b5de79f..2527f6321a 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/react": "^3.6.2", - "@types/react": "^18.3.3", + "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "astro": "^4.14.5", "react": "^18.3.1", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index c19c9d3d11..6682106431 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -13,6 +13,6 @@ "dependencies": { "@astrojs/solid-js": "^4.4.1", "astro": "^4.14.5", - "solid-js": "^1.8.21" + "solid-js": "^1.8.22" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 4d233de671..0fc5b79ba4 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -13,6 +13,6 @@ "dependencies": { "@astrojs/svelte": "^5.7.0", "astro": "^4.14.5", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index 6f133878d7..334f3e1be7 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -15,7 +15,7 @@ "@astrojs/tailwind": "^5.1.0", "@fortawesome/fontawesome-free": "^6.6.0", "@tailwindcss/forms": "^0.5.7", - "@types/react": "^18.3.3", + "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "astro": "^4.14.5", "postcss": "^8.4.41", diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 9b4181f4c6..36337533b4 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -15,6 +15,6 @@ "@astrojs/node": "^8.3.3", "@astrojs/svelte": "^5.7.0", "astro": "^4.14.5", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 41438fdd6a..4603a2902f 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -14,7 +14,7 @@ "@astrojs/preact": "^3.5.1", "@nanostores/preact": "^0.5.2", "astro": "^4.14.5", - "nanostores": "^0.11.2", + "nanostores": "^0.11.3", "preact": "^10.23.2" } } diff --git a/package.json b/package.json index f32a2520dd..fd6fe1fab3 100644 --- a/package.json +++ b/package.json @@ -58,16 +58,16 @@ "@changesets/cli": "^2.27.7", "@types/node": "^18.17.8", "esbuild": "^0.21.5", - "eslint": "^9.9.0", + "eslint": "^9.9.1", "eslint-plugin-no-only-tests": "^3.3.0", "eslint-plugin-regexp": "^2.6.0", "globby": "^14.0.2", "only-allow": "^1.2.1", "prettier": "^3.3.3", "prettier-plugin-astro": "^0.14.1", - "turbo": "^2.0.14", + "turbo": "^2.1.0", "typescript": "~5.5.4", - "typescript-eslint": "^8.1.0" + "typescript-eslint": "^8.3.0" }, "pnpm": { "peerDependencyRules": { diff --git a/packages/astro/e2e/fixtures/actions-blog/package.json b/packages/astro/e2e/fixtures/actions-blog/package.json index 04685b8105..545ae2d37b 100644 --- a/packages/astro/e2e/fixtures/actions-blog/package.json +++ b/packages/astro/e2e/fixtures/actions-blog/package.json @@ -14,7 +14,7 @@ "@astrojs/db": "workspace:*", "@astrojs/node": "workspace:*", "@astrojs/react": "workspace:*", - "@types/react": "^18.3.3", + "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "astro": "workspace:*", "react": "^18.3.1", diff --git a/packages/astro/e2e/fixtures/client-only/package.json b/packages/astro/e2e/fixtures/client-only/package.json index 4c9903c7be..d89fe78983 100644 --- a/packages/astro/e2e/fixtures/client-only/package.json +++ b/packages/astro/e2e/fixtures/client-only/package.json @@ -14,8 +14,8 @@ "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/errors/package.json b/packages/astro/e2e/fixtures/errors/package.json index 1d01a376f2..ab47d7da80 100644 --- a/packages/astro/e2e/fixtures/errors/package.json +++ b/packages/astro/e2e/fixtures/errors/package.json @@ -13,8 +13,8 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "sass": "^1.77.8", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/multiple-frameworks/package.json b/packages/astro/e2e/fixtures/multiple-frameworks/package.json index c7438fd980..7091204238 100644 --- a/packages/astro/e2e/fixtures/multiple-frameworks/package.json +++ b/packages/astro/e2e/fixtures/multiple-frameworks/package.json @@ -17,8 +17,8 @@ "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/nested-in-preact/package.json b/packages/astro/e2e/fixtures/nested-in-preact/package.json index 339cdcbc17..c5f10cd437 100644 --- a/packages/astro/e2e/fixtures/nested-in-preact/package.json +++ b/packages/astro/e2e/fixtures/nested-in-preact/package.json @@ -14,8 +14,8 @@ "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/nested-in-react/package.json b/packages/astro/e2e/fixtures/nested-in-react/package.json index 9573ef2669..bac0d1bae4 100644 --- a/packages/astro/e2e/fixtures/nested-in-react/package.json +++ b/packages/astro/e2e/fixtures/nested-in-react/package.json @@ -14,8 +14,8 @@ "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/nested-in-solid/package.json b/packages/astro/e2e/fixtures/nested-in-solid/package.json index 6e71432f0d..4a2748eb52 100644 --- a/packages/astro/e2e/fixtures/nested-in-solid/package.json +++ b/packages/astro/e2e/fixtures/nested-in-solid/package.json @@ -14,8 +14,8 @@ "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/nested-in-svelte/package.json b/packages/astro/e2e/fixtures/nested-in-svelte/package.json index 1f319d028f..a98e441f53 100644 --- a/packages/astro/e2e/fixtures/nested-in-svelte/package.json +++ b/packages/astro/e2e/fixtures/nested-in-svelte/package.json @@ -14,8 +14,8 @@ "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/nested-in-vue/package.json b/packages/astro/e2e/fixtures/nested-in-vue/package.json index bd44589f32..1702f98bf8 100644 --- a/packages/astro/e2e/fixtures/nested-in-vue/package.json +++ b/packages/astro/e2e/fixtures/nested-in-vue/package.json @@ -14,8 +14,8 @@ "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/e2e/fixtures/nested-recursive/package.json b/packages/astro/e2e/fixtures/nested-recursive/package.json index ab809a3a3d..d35cf0eb5a 100644 --- a/packages/astro/e2e/fixtures/nested-recursive/package.json +++ b/packages/astro/e2e/fixtures/nested-recursive/package.json @@ -14,8 +14,8 @@ "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" }, "scripts": { diff --git a/packages/astro/e2e/fixtures/solid-circular/package.json b/packages/astro/e2e/fixtures/solid-circular/package.json index 21a0b66ba0..aba9972506 100644 --- a/packages/astro/e2e/fixtures/solid-circular/package.json +++ b/packages/astro/e2e/fixtures/solid-circular/package.json @@ -7,6 +7,6 @@ "astro": "workspace:*" }, "devDependencies": { - "solid-js": "^1.8.21" + "solid-js": "^1.8.22" } } diff --git a/packages/astro/e2e/fixtures/solid-component/package.json b/packages/astro/e2e/fixtures/solid-component/package.json index 850a41587a..86269a9152 100644 --- a/packages/astro/e2e/fixtures/solid-component/package.json +++ b/packages/astro/e2e/fixtures/solid-component/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/solid-js": "workspace:*", "astro": "workspace:*", - "solid-js": "^1.8.21" + "solid-js": "^1.8.22" } } diff --git a/packages/astro/e2e/fixtures/solid-recurse/package.json b/packages/astro/e2e/fixtures/solid-recurse/package.json index aa51ebe5d8..a7d97b39cc 100644 --- a/packages/astro/e2e/fixtures/solid-recurse/package.json +++ b/packages/astro/e2e/fixtures/solid-recurse/package.json @@ -7,6 +7,6 @@ "astro": "workspace:*" }, "devDependencies": { - "solid-js": "^1.8.21" + "solid-js": "^1.8.22" } } diff --git a/packages/astro/e2e/fixtures/svelte-component/package.json b/packages/astro/e2e/fixtures/svelte-component/package.json index e5d238f74b..04acc35e77 100644 --- a/packages/astro/e2e/fixtures/svelte-component/package.json +++ b/packages/astro/e2e/fixtures/svelte-component/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/svelte": "workspace:*", "astro": "workspace:*", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/packages/astro/e2e/fixtures/view-transitions/package.json b/packages/astro/e2e/fixtures/view-transitions/package.json index b5460ebcd1..0a0ad81f26 100644 --- a/packages/astro/e2e/fixtures/view-transitions/package.json +++ b/packages/astro/e2e/fixtures/view-transitions/package.json @@ -10,7 +10,7 @@ "astro": "workspace:*", "react": "^18.3.1", "react-dom": "^18.3.1", - "svelte": "^4.2.18", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/package.json b/packages/astro/package.json index 5be4f81bbf..2f375e9dcd 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -127,11 +127,11 @@ "@astrojs/markdown-remark": "workspace:*", "@astrojs/telemetry": "workspace:*", "@babel/core": "^7.25.2", - "@babel/generator": "^7.25.0", - "@babel/parser": "^7.25.3", + "@babel/generator": "^7.25.5", + "@babel/parser": "^7.25.4", "@babel/plugin-transform-react-jsx": "^7.25.2", - "@babel/traverse": "^7.25.3", - "@babel/types": "^7.25.2", + "@babel/traverse": "^7.25.4", + "@babel/types": "^7.25.4", "@oslojs/encoding": "^0.4.1", "@rollup/pluginutils": "^5.1.0", "@types/babel__core": "^7.20.5", @@ -164,10 +164,10 @@ "js-yaml": "^4.1.0", "kleur": "^4.1.5", "magic-string": "^0.30.11", - "micromatch": "^4.0.7", + "micromatch": "^4.0.8", "mrmime": "^2.0.0", "neotraverse": "^0.6.18", - "ora": "^8.0.1", + "ora": "^8.1.0", "p-limit": "^6.1.0", "p-queue": "^8.0.1", "path-to-regexp": "^6.2.2", @@ -180,8 +180,8 @@ "strip-ansi": "^7.1.0", "tsconfck": "^3.1.1", "unist-util-visit": "^5.0.0", - "vfile": "^6.0.2", - "vite": "^5.4.1", + "vfile": "^6.0.3", + "vite": "^5.4.2", "vitefu": "^0.2.5", "which-pm": "^3.0.0", "xxhash-wasm": "^1.0.2", @@ -216,9 +216,9 @@ "astro-scripts": "workspace:*", "cheerio": "1.0.0", "eol": "^0.9.1", - "expect-type": "^0.19.0", + "expect-type": "^0.20.0", "mdast-util-mdx": "^3.0.0", - "mdast-util-mdx-jsx": "^3.1.2", + "mdast-util-mdx-jsx": "^3.1.3", "memfs": "^4.11.1", "node-mocks-http": "^1.15.1", "parse-srcset": "^1.0.2", @@ -226,9 +226,9 @@ "rehype-slug": "^6.0.0", "rehype-toc": "^3.0.2", "remark-code-titles": "^0.1.2", - "rollup": "^4.21.0", + "rollup": "^4.21.1", "sass": "^1.77.8", - "undici": "^6.19.7", + "undici": "^6.19.8", "unified": "^11.0.5" }, "engines": { diff --git a/packages/astro/performance/fixtures/md/package.json b/packages/astro/performance/fixtures/md/package.json index d51beb9034..90db727e48 100644 --- a/packages/astro/performance/fixtures/md/package.json +++ b/packages/astro/performance/fixtures/md/package.json @@ -16,7 +16,7 @@ "dependencies": { "@astrojs/react": "workspace:*", "@performance/utils": "workspace:*", - "@types/react": "^18.3.3", + "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "astro": "workspace:*", "react": "^18.3.1", diff --git a/packages/astro/performance/fixtures/mdoc/package.json b/packages/astro/performance/fixtures/mdoc/package.json index 406c9b1d48..5bcd443ae0 100644 --- a/packages/astro/performance/fixtures/mdoc/package.json +++ b/packages/astro/performance/fixtures/mdoc/package.json @@ -17,7 +17,7 @@ "@astrojs/markdoc": "workspace:*", "@astrojs/react": "workspace:*", "@performance/utils": "workspace:*", - "@types/react": "^18.3.3", + "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "astro": "workspace:*", "react": "^18.3.1", diff --git a/packages/astro/performance/fixtures/mdx/package.json b/packages/astro/performance/fixtures/mdx/package.json index 973bfd5301..e1fc69d0d0 100644 --- a/packages/astro/performance/fixtures/mdx/package.json +++ b/packages/astro/performance/fixtures/mdx/package.json @@ -17,7 +17,7 @@ "@astrojs/mdx": "workspace:*", "@astrojs/react": "workspace:*", "@performance/utils": "workspace:*", - "@types/react": "^18.3.3", + "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "astro": "workspace:*", "react": "^18.3.1", diff --git a/packages/astro/test/fixtures/0-css/package.json b/packages/astro/test/fixtures/0-css/package.json index 3940457953..782bddc067 100644 --- a/packages/astro/test/fixtures/0-css/package.json +++ b/packages/astro/test/fixtures/0-css/package.json @@ -9,7 +9,7 @@ "astro": "workspace:*", "react": "^18.3.1", "react-dom": "^18.3.1", - "svelte": "^4.2.18", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/alias-tsconfig-baseurl-only/package.json b/packages/astro/test/fixtures/alias-tsconfig-baseurl-only/package.json index 6a6cb3491b..0ae8cb82cf 100644 --- a/packages/astro/test/fixtures/alias-tsconfig-baseurl-only/package.json +++ b/packages/astro/test/fixtures/alias-tsconfig-baseurl-only/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/svelte": "workspace:*", "astro": "workspace:*", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/packages/astro/test/fixtures/alias-tsconfig/package.json b/packages/astro/test/fixtures/alias-tsconfig/package.json index 56047eede4..833a0a0681 100644 --- a/packages/astro/test/fixtures/alias-tsconfig/package.json +++ b/packages/astro/test/fixtures/alias-tsconfig/package.json @@ -6,6 +6,6 @@ "@astrojs/svelte": "workspace:*", "@test/namespace-package": "workspace:*", "astro": "workspace:*", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/packages/astro/test/fixtures/alias/package.json b/packages/astro/test/fixtures/alias/package.json index 06d4c32acb..bd0599c5d6 100644 --- a/packages/astro/test/fixtures/alias/package.json +++ b/packages/astro/test/fixtures/alias/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/svelte": "workspace:*", "astro": "workspace:*", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/packages/astro/test/fixtures/astro-children/package.json b/packages/astro/test/fixtures/astro-children/package.json index d2e7a6d5e7..038487d67d 100644 --- a/packages/astro/test/fixtures/astro-children/package.json +++ b/packages/astro/test/fixtures/astro-children/package.json @@ -8,7 +8,7 @@ "@astrojs/vue": "workspace:*", "astro": "workspace:*", "preact": "^10.23.2", - "svelte": "^4.2.18", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/astro-client-only/package.json b/packages/astro/test/fixtures/astro-client-only/package.json index 02eae8101e..e6f71f3539 100644 --- a/packages/astro/test/fixtures/astro-client-only/package.json +++ b/packages/astro/test/fixtures/astro-client-only/package.json @@ -9,6 +9,6 @@ "astro": "workspace:*", "react": "^18.3.1", "react-dom": "^18.3.1", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/packages/astro/test/fixtures/astro-dynamic/package.json b/packages/astro/test/fixtures/astro-dynamic/package.json index 30c80157b3..3d606041aa 100644 --- a/packages/astro/test/fixtures/astro-dynamic/package.json +++ b/packages/astro/test/fixtures/astro-dynamic/package.json @@ -8,6 +8,6 @@ "astro": "workspace:*", "react": "^18.3.1", "react-dom": "^18.3.1", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/packages/astro/test/fixtures/astro-slots-nested/package.json b/packages/astro/test/fixtures/astro-slots-nested/package.json index 229bd25605..4f3ed29e02 100644 --- a/packages/astro/test/fixtures/astro-slots-nested/package.json +++ b/packages/astro/test/fixtures/astro-slots-nested/package.json @@ -12,8 +12,8 @@ "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/component-library/package.json b/packages/astro/test/fixtures/component-library/package.json index a8b89e9eee..96f5cecac7 100644 --- a/packages/astro/test/fixtures/component-library/package.json +++ b/packages/astro/test/fixtures/component-library/package.json @@ -11,6 +11,6 @@ "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/packages/astro/test/fixtures/css-dangling-references/package.json b/packages/astro/test/fixtures/css-dangling-references/package.json index 2b9a90cb63..be0392db0c 100644 --- a/packages/astro/test/fixtures/css-dangling-references/package.json +++ b/packages/astro/test/fixtures/css-dangling-references/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/svelte": "workspace:*", "astro": "workspace:*", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } \ No newline at end of file diff --git a/packages/astro/test/fixtures/fetch/package.json b/packages/astro/test/fixtures/fetch/package.json index 52f60a20f9..97aa25a783 100644 --- a/packages/astro/test/fixtures/fetch/package.json +++ b/packages/astro/test/fixtures/fetch/package.json @@ -8,7 +8,7 @@ "@astrojs/vue": "workspace:*", "astro": "workspace:*", "preact": "^10.23.2", - "svelte": "^4.2.18", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/jsx/package.json b/packages/astro/test/fixtures/jsx/package.json index 2e45e65750..6d32dffe4d 100644 --- a/packages/astro/test/fixtures/jsx/package.json +++ b/packages/astro/test/fixtures/jsx/package.json @@ -15,8 +15,8 @@ "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/astro/test/fixtures/large-array/package.json b/packages/astro/test/fixtures/large-array/package.json index 9f1f25828a..0bf422b679 100644 --- a/packages/astro/test/fixtures/large-array/package.json +++ b/packages/astro/test/fixtures/large-array/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/solid-js": "workspace:*", "astro": "workspace:*", - "solid-js": "^1.8.21" + "solid-js": "^1.8.22" } } diff --git a/packages/astro/test/fixtures/postcss/package.json b/packages/astro/test/fixtures/postcss/package.json index 7ea4f8378f..fad256924c 100644 --- a/packages/astro/test/fixtures/postcss/package.json +++ b/packages/astro/test/fixtures/postcss/package.json @@ -9,8 +9,8 @@ "astro": "workspace:*", "autoprefixer": "^10.4.20", "postcss": "^8.4.41", - "solid-js": "^1.8.21", - "svelte": "^4.2.18", + "solid-js": "^1.8.22", + "svelte": "^4.2.19", "vue": "^3.4.38" }, "devDependencies": { diff --git a/packages/astro/test/fixtures/react-and-solid/package.json b/packages/astro/test/fixtures/react-and-solid/package.json index dbb45a68fc..5df316b513 100644 --- a/packages/astro/test/fixtures/react-and-solid/package.json +++ b/packages/astro/test/fixtures/react-and-solid/package.json @@ -7,6 +7,6 @@ "astro": "workspace:*", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.21" + "solid-js": "^1.8.22" } } diff --git a/packages/astro/test/fixtures/server-islands/hybrid/package.json b/packages/astro/test/fixtures/server-islands/hybrid/package.json index fdb447b0e0..03e184e634 100644 --- a/packages/astro/test/fixtures/server-islands/hybrid/package.json +++ b/packages/astro/test/fixtures/server-islands/hybrid/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/svelte": "workspace:*", "astro": "workspace:*", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/packages/astro/test/fixtures/server-islands/ssr/package.json b/packages/astro/test/fixtures/server-islands/ssr/package.json index fa6e000dda..16e044fe30 100644 --- a/packages/astro/test/fixtures/server-islands/ssr/package.json +++ b/packages/astro/test/fixtures/server-islands/ssr/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/svelte": "workspace:*", "astro": "workspace:*", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/packages/astro/test/fixtures/slots-solid/package.json b/packages/astro/test/fixtures/slots-solid/package.json index 55d2cfa32b..59ebea174e 100644 --- a/packages/astro/test/fixtures/slots-solid/package.json +++ b/packages/astro/test/fixtures/slots-solid/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/solid-js": "workspace:*", "astro": "workspace:*", - "solid-js": "^1.8.21" + "solid-js": "^1.8.22" } } diff --git a/packages/astro/test/fixtures/slots-svelte/package.json b/packages/astro/test/fixtures/slots-svelte/package.json index 94d15cad29..ddfa80d33b 100644 --- a/packages/astro/test/fixtures/slots-svelte/package.json +++ b/packages/astro/test/fixtures/slots-svelte/package.json @@ -6,6 +6,6 @@ "@astrojs/mdx": "workspace:*", "@astrojs/svelte": "workspace:*", "astro": "workspace:*", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/packages/astro/test/fixtures/solid-component/deps/solid-jsx-component/package.json b/packages/astro/test/fixtures/solid-component/deps/solid-jsx-component/package.json index 32042224fe..976ba6604c 100644 --- a/packages/astro/test/fixtures/solid-component/deps/solid-jsx-component/package.json +++ b/packages/astro/test/fixtures/solid-component/deps/solid-jsx-component/package.json @@ -10,6 +10,6 @@ } }, "dependencies": { - "solid-js": "^1.8.21" + "solid-js": "^1.8.22" } } diff --git a/packages/astro/test/fixtures/solid-component/package.json b/packages/astro/test/fixtures/solid-component/package.json index f1f87f2b29..2dc56f6cc6 100644 --- a/packages/astro/test/fixtures/solid-component/package.json +++ b/packages/astro/test/fixtures/solid-component/package.json @@ -7,6 +7,6 @@ "@solidjs/router": "^0.14.3", "@test/solid-jsx-component": "file:./deps/solid-jsx-component", "astro": "workspace:*", - "solid-js": "^1.8.21" + "solid-js": "^1.8.22" } } diff --git a/packages/astro/test/fixtures/ssr-prerender-chunks/package.json b/packages/astro/test/fixtures/ssr-prerender-chunks/package.json index 8c8adac13c..c386358b8e 100644 --- a/packages/astro/test/fixtures/ssr-prerender-chunks/package.json +++ b/packages/astro/test/fixtures/ssr-prerender-chunks/package.json @@ -5,7 +5,7 @@ "dependencies": { "@astrojs/react": "workspace:*", "@test/ssr-prerender-chunks-test-adapter": "link:./deps/test-adapter", - "@types/react": "^18.3.3", + "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "astro": "workspace:*", "react": "^18.3.1", diff --git a/packages/astro/test/fixtures/svelte-component/package.json b/packages/astro/test/fixtures/svelte-component/package.json index 42b4ca310b..830d980b72 100644 --- a/packages/astro/test/fixtures/svelte-component/package.json +++ b/packages/astro/test/fixtures/svelte-component/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/svelte": "workspace:*", "astro": "workspace:*", - "svelte": "^4.2.18" + "svelte": "^4.2.19" } } diff --git a/packages/astro/test/fixtures/vue-with-multi-renderer/package.json b/packages/astro/test/fixtures/vue-with-multi-renderer/package.json index 65be000bf8..f91b6a9c30 100644 --- a/packages/astro/test/fixtures/vue-with-multi-renderer/package.json +++ b/packages/astro/test/fixtures/vue-with-multi-renderer/package.json @@ -6,7 +6,7 @@ "@astrojs/svelte": "workspace:*", "@astrojs/vue": "workspace:*", "astro": "workspace:*", - "svelte": "^4.2.18", + "svelte": "^4.2.19", "vue": "^3.4.38" } } diff --git a/packages/db/package.json b/packages/db/package.json index 06790e9873..fbfb09d24c 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -70,7 +70,7 @@ }, "dependencies": { "@astrojs/studio": "workspace:*", - "@libsql/client": "^0.9.0", + "@libsql/client": "^0.10.0", "async-listen": "^3.0.1", "deep-diff": "^1.0.2", "drizzle-orm": "^0.31.2", @@ -78,7 +78,7 @@ "kleur": "^4.1.5", "nanoid": "^5.0.7", "open": "^10.1.0", - "ora": "^8.0.1", + "ora": "^8.1.0", "prompts": "^2.4.2", "strip-ansi": "^7.1.0", "yargs-parser": "^21.1.1", @@ -92,6 +92,6 @@ "astro-scripts": "workspace:*", "cheerio": "1.0.0", "typescript": "^5.5.4", - "vite": "^5.4.1" + "vite": "^5.4.2" } } diff --git a/packages/db/test/fixtures/ticketing-example/package.json b/packages/db/test/fixtures/ticketing-example/package.json index b4c67a3108..9386c7f963 100644 --- a/packages/db/test/fixtures/ticketing-example/package.json +++ b/packages/db/test/fixtures/ticketing-example/package.json @@ -14,7 +14,7 @@ "@astrojs/db": "workspace:*", "@astrojs/node": "workspace:*", "@astrojs/react": "^3.6.2", - "@types/react": "^18.3.3", + "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "astro": "workspace:*", "open-props": "^1.7.5", diff --git a/packages/integrations/alpinejs/package.json b/packages/integrations/alpinejs/package.json index 7cd4e3ac0a..acb14e2406 100644 --- a/packages/integrations/alpinejs/package.json +++ b/packages/integrations/alpinejs/package.json @@ -41,7 +41,7 @@ "@playwright/test": "1.46.1", "astro": "workspace:*", "astro-scripts": "workspace:*", - "vite": "^5.4.1" + "vite": "^5.4.2" }, "publishConfig": { "provenance": true diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 2314f81b94..59ee5cb31a 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -80,7 +80,7 @@ "astro-scripts": "workspace:*", "devalue": "^5.0.0", "linkedom": "^0.18.4", - "vite": "^5.4.1" + "vite": "^5.4.2" }, "engines": { "node": "^18.17.1 || ^20.3.0 || >=21.0.0" diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 87c66f2ed2..b4a855c8fb 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -39,14 +39,14 @@ "es-module-lexer": "^1.5.4", "estree-util-visit": "^2.0.0", "gray-matter": "^4.0.3", - "hast-util-to-html": "^9.0.1", + "hast-util-to-html": "^9.0.2", "kleur": "^4.1.5", "rehype-raw": "^7.0.0", "remark-gfm": "^4.0.0", "remark-smartypants": "^3.0.2", "source-map": "^0.7.4", "unist-util-visit": "^5.0.0", - "vfile": "^6.0.2" + "vfile": "^6.0.3" }, "peerDependencies": { "astro": "^4.8.0" @@ -60,7 +60,7 @@ "cheerio": "1.0.0", "linkedom": "^0.18.4", "mdast-util-mdx": "^3.0.0", - "mdast-util-mdx-jsx": "^3.1.2", + "mdast-util-mdx-jsx": "^3.1.3", "mdast-util-to-string": "^4.0.0", "rehype-mathjax": "^6.0.0", "rehype-pretty-code": "^0.13.2", @@ -70,7 +70,7 @@ "remark-toc": "^9.0.0", "shiki": "^1.14.1", "unified": "^11.0.5", - "vite": "^5.4.1" + "vite": "^5.4.2" }, "engines": { "node": "^18.17.1 || ^20.3.0 || >=21.0.0" diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index a87f261331..a5f7542756 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -42,7 +42,7 @@ "devDependencies": { "@types/node": "^18.17.8", "@types/send": "^0.17.4", - "@types/server-destroy": "^1.0.3", + "@types/server-destroy": "^1.0.4", "astro": "workspace:*", "astro-scripts": "workspace:*", "cheerio": "1.0.0", diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index a927eeabee..4e7901bff9 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -59,14 +59,14 @@ "ultrahtml": "^1.5.3" }, "devDependencies": { - "@types/react": "^18.3.3", + "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "astro": "workspace:*", "astro-scripts": "workspace:*", "cheerio": "1.0.0", "react": "^18.3.1", "react-dom": "^18.3.1", - "vite": "^5.4.1" + "vite": "^5.4.2" }, "peerDependencies": { "@types/react": "^17.0.50 || ^18.0.21", diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json index 5fcab7ca4d..5219c3e009 100644 --- a/packages/integrations/solid/package.json +++ b/packages/integrations/solid/package.json @@ -40,8 +40,8 @@ "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", - "solid-js": "^1.8.21", - "vite": "^5.4.1" + "solid-js": "^1.8.22", + "vite": "^5.4.2" }, "peerDependencies": { "solid-devtools": "^0.30.1", diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 5354279cb1..85f0da9fdd 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -50,14 +50,14 @@ "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { - "@sveltejs/vite-plugin-svelte": "^3.1.1", - "svelte2tsx": "^0.7.15" + "@sveltejs/vite-plugin-svelte": "^3.1.2", + "svelte2tsx": "^0.7.16" }, "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", - "svelte": "^4.2.18", - "vite": "^5.4.1" + "svelte": "^4.2.19", + "vite": "^5.4.2" }, "peerDependencies": { "astro": "^4.0.0", diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 6001780a15..89781ec150 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -41,7 +41,7 @@ "astro": "workspace:*", "astro-scripts": "workspace:*", "tailwindcss": "^3.4.10", - "vite": "^5.4.1" + "vite": "^5.4.2" }, "peerDependencies": { "astro": "^3.0.0 || ^4.0.0", diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index ae7467ac28..9817101b58 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -47,14 +47,14 @@ "@vitejs/plugin-vue": "^5.1.2", "@vitejs/plugin-vue-jsx": "^4.0.1", "@vue/compiler-sfc": "^3.4.38", - "vite-plugin-vue-devtools": "^7.3.8" + "vite-plugin-vue-devtools": "^7.3.9" }, "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", "cheerio": "1.0.0", "linkedom": "^0.18.4", - "vite": "^5.4.1", + "vite": "^5.4.2", "vue": "^3.4.38" }, "peerDependencies": { diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 2bb99500f6..56af78c37a 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -35,7 +35,7 @@ "dependencies": { "@astrojs/prism": "workspace:*", "github-slugger": "^2.0.0", - "hast-util-from-html": "^2.0.1", + "hast-util-from-html": "^2.0.2", "hast-util-to-text": "^4.0.2", "import-meta-resolve": "^4.1.0", "mdast-util-definitions": "^6.0.0", @@ -50,7 +50,7 @@ "unist-util-remove-position": "^5.0.0", "unist-util-visit": "^5.0.0", "unist-util-visit-parents": "^6.0.1", - "vfile": "^6.0.2" + "vfile": "^6.0.3" }, "devDependencies": { "@types/estree": "^1.0.5", diff --git a/packages/studio/package.json b/packages/studio/package.json index 830ec85af2..dccf824b94 100644 --- a/packages/studio/package.json +++ b/packages/studio/package.json @@ -36,12 +36,12 @@ "dependencies": { "ci-info": "^4.0.0", "kleur": "^4.1.5", - "ora": "^8.0.1" + "ora": "^8.1.0" }, "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", "typescript": "^5.5.4", - "vite": "^5.4.1" + "vite": "^5.4.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 246d75897f..1d8ee11da7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,14 +31,14 @@ importers: specifier: ^0.21.5 version: 0.21.5 eslint: - specifier: ^9.9.0 - version: 9.9.0(jiti@1.21.0) + specifier: ^9.9.1 + version: 9.9.1(jiti@1.21.0) eslint-plugin-no-only-tests: specifier: ^3.3.0 version: 3.3.0 eslint-plugin-regexp: specifier: ^2.6.0 - version: 2.6.0(eslint@9.9.0(jiti@1.21.0)) + version: 2.6.0(eslint@9.9.1(jiti@1.21.0)) globby: specifier: ^14.0.2 version: 14.0.2 @@ -52,14 +52,14 @@ importers: specifier: ^0.14.1 version: 0.14.1 turbo: - specifier: ^2.0.14 - version: 2.0.14 + specifier: ^2.1.0 + version: 2.1.0 typescript: specifier: ~5.5.4 version: 5.5.4 typescript-eslint: - specifier: ^8.1.0 - version: 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) + specifier: ^8.3.0 + version: 8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4) benchmark: dependencies: @@ -104,8 +104,8 @@ importers: version: 1.0.1 devDependencies: '@types/server-destroy': - specifier: ^1.0.3 - version: 1.0.3 + specifier: ^1.0.4 + version: 1.0.4 astro: specifier: workspace:* version: link:../../../packages/astro @@ -159,8 +159,8 @@ importers: version: 2.0.5(@types/node@18.19.31)(jsdom@23.2.0)(sass@1.77.8) devDependencies: '@types/react': - specifier: ^18.3.3 - version: 18.3.3 + specifier: ^18.3.4 + version: 18.3.4 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -213,8 +213,8 @@ importers: specifier: ^4.5.0 version: link:../../packages/integrations/vue '@types/react': - specifier: ^18.3.3 - version: 18.3.3 + specifier: ^18.3.4 + version: 18.3.4 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -231,11 +231,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -261,8 +261,8 @@ importers: specifier: ^3.6.2 version: link:../../packages/integrations/react '@types/react': - specifier: ^18.3.3 - version: 18.3.3 + specifier: ^18.3.4 + version: 18.3.4 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -285,8 +285,8 @@ importers: specifier: ^4.14.5 version: link:../../packages/astro solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 examples/framework-svelte: dependencies: @@ -297,8 +297,8 @@ importers: specifier: ^4.14.5 version: link:../../packages/astro svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 examples/framework-vue: dependencies: @@ -379,8 +379,8 @@ importers: specifier: ^0.5.7 version: 0.5.7(tailwindcss@3.4.10) '@types/react': - specifier: ^18.3.3 - version: 18.3.3 + specifier: ^18.3.4 + version: 18.3.4 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -412,8 +412,8 @@ importers: specifier: ^4.14.5 version: link:../../packages/astro svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 examples/starlog: dependencies: @@ -506,13 +506,13 @@ importers: version: link:../../packages/integrations/preact '@nanostores/preact': specifier: ^0.5.2 - version: 0.5.2(nanostores@0.11.2)(preact@10.23.2) + version: 0.5.2(nanostores@0.11.3)(preact@10.23.2) astro: specifier: ^4.14.5 version: link:../../packages/astro nanostores: - specifier: ^0.11.2 - version: 0.11.2 + specifier: ^0.11.3 + version: 0.11.3 preact: specifier: ^10.23.2 version: 10.23.2 @@ -571,26 +571,26 @@ importers: specifier: ^7.25.2 version: 7.25.2 '@babel/generator': - specifier: ^7.25.0 - version: 7.25.0 + specifier: ^7.25.5 + version: 7.25.5 '@babel/parser': - specifier: ^7.25.3 - version: 7.25.3 + specifier: ^7.25.4 + version: 7.25.4 '@babel/plugin-transform-react-jsx': specifier: ^7.25.2 version: 7.25.2(@babel/core@7.25.2) '@babel/traverse': - specifier: ^7.25.3 - version: 7.25.3 + specifier: ^7.25.4 + version: 7.25.4 '@babel/types': - specifier: ^7.25.2 - version: 7.25.2 + specifier: ^7.25.4 + version: 7.25.4 '@oslojs/encoding': specifier: ^0.4.1 version: 0.4.1 '@rollup/pluginutils': specifier: ^5.1.0 - version: 5.1.0(rollup@4.21.0) + version: 5.1.0(rollup@4.21.1) '@types/babel__core': specifier: ^7.20.5 version: 7.20.5 @@ -682,8 +682,8 @@ importers: specifier: ^0.30.11 version: 0.30.11 micromatch: - specifier: ^4.0.7 - version: 4.0.7 + specifier: ^4.0.8 + version: 4.0.8 mrmime: specifier: ^2.0.0 version: 2.0.0 @@ -691,8 +691,8 @@ importers: specifier: ^0.6.18 version: 0.6.18 ora: - specifier: ^8.0.1 - version: 8.0.1 + specifier: ^8.1.0 + version: 8.1.0 p-limit: specifier: ^6.1.0 version: 6.1.0 @@ -730,14 +730,14 @@ importers: specifier: ^5.0.0 version: 5.0.0 vfile: - specifier: ^6.0.2 - version: 6.0.2 + specifier: ^6.0.3 + version: 6.0.3 vite: - specifier: ^5.4.1 - version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.2 + version: 5.4.2(@types/node@18.19.31)(sass@1.77.8) vitefu: specifier: ^0.2.5 - version: 0.2.5(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + version: 0.2.5(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) which-pm: specifier: ^3.0.0 version: 3.0.0 @@ -828,14 +828,14 @@ importers: specifier: ^0.9.1 version: 0.9.1 expect-type: - specifier: ^0.19.0 - version: 0.19.0 + specifier: ^0.20.0 + version: 0.20.0 mdast-util-mdx: specifier: ^3.0.0 version: 3.0.0 mdast-util-mdx-jsx: - specifier: ^3.1.2 - version: 3.1.2 + specifier: ^3.1.3 + version: 3.1.3 memfs: specifier: ^4.11.1 version: 4.11.1 @@ -858,14 +858,14 @@ importers: specifier: ^0.1.2 version: 0.1.2 rollup: - specifier: ^4.21.0 - version: 4.21.0 + specifier: ^4.21.1 + version: 4.21.1 sass: specifier: ^1.77.8 version: 1.77.8 undici: - specifier: ^6.19.7 - version: 6.19.7 + specifier: ^6.19.8 + version: 6.19.8 unified: specifier: ^11.0.5 version: 11.0.5 @@ -926,8 +926,8 @@ importers: specifier: workspace:* version: link:../../../../integrations/react '@types/react': - specifier: ^18.3.3 - version: 18.3.3 + specifier: ^18.3.4 + version: 18.3.4 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -1016,11 +1016,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -1140,11 +1140,11 @@ importers: specifier: ^1.77.8 version: 1.77.8 solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -1209,11 +1209,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -1268,11 +1268,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -1308,11 +1308,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -1348,11 +1348,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -1388,11 +1388,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -1428,11 +1428,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -1468,11 +1468,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -1615,8 +1615,8 @@ importers: version: link:../../.. devDependencies: solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 packages/astro/e2e/fixtures/solid-component: dependencies: @@ -1630,8 +1630,8 @@ importers: specifier: workspace:* version: link:../../.. solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 packages/astro/e2e/fixtures/solid-recurse: dependencies: @@ -1643,8 +1643,8 @@ importers: version: link:../../.. devDependencies: solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 packages/astro/e2e/fixtures/svelte-component: dependencies: @@ -1658,8 +1658,8 @@ importers: specifier: workspace:* version: link:../../.. svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 packages/astro/e2e/fixtures/tailwindcss: dependencies: @@ -1718,8 +1718,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -1754,8 +1754,8 @@ importers: specifier: workspace:* version: link:../utils '@types/react': - specifier: ^18.3.3 - version: 18.3.3 + specifier: ^18.3.4 + version: 18.3.4 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -1781,8 +1781,8 @@ importers: specifier: workspace:* version: link:../utils '@types/react': - specifier: ^18.3.3 - version: 18.3.3 + specifier: ^18.3.4 + version: 18.3.4 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -1808,8 +1808,8 @@ importers: specifier: workspace:* version: link:../utils '@types/react': - specifier: ^18.3.3 - version: 18.3.3 + specifier: ^18.3.4 + version: 18.3.4 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -1856,8 +1856,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -1877,8 +1877,8 @@ importers: specifier: workspace:* version: link:../../.. svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 packages/astro/test/fixtures/alias-tsconfig: dependencies: @@ -1892,8 +1892,8 @@ importers: specifier: workspace:* version: link:../../.. svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 packages/astro/test/fixtures/alias-tsconfig-baseurl-only: dependencies: @@ -1904,8 +1904,8 @@ importers: specifier: workspace:* version: link:../../.. svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 packages/astro/test/fixtures/alias-tsconfig/deps/namespace-package: {} @@ -2029,8 +2029,8 @@ importers: specifier: ^10.23.2 version: 10.23.2 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -2062,8 +2062,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 packages/astro/test/fixtures/astro-client-only/pkg: {} @@ -2154,8 +2154,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 packages/astro/test/fixtures/astro-env: dependencies: @@ -2481,11 +2481,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -2568,8 +2568,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 packages/astro/test/fixtures/component-library-shared: dependencies: @@ -2871,8 +2871,8 @@ importers: specifier: workspace:* version: link:../../.. svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 packages/astro/test/fixtures/css-import-as-inline: dependencies: @@ -3123,8 +3123,8 @@ importers: specifier: ^10.23.2 version: 10.23.2 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -3318,11 +3318,11 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -3358,8 +3358,8 @@ importers: specifier: workspace:* version: link:../../.. solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 packages/astro/test/fixtures/lazy-layout: dependencies: @@ -3506,11 +3506,11 @@ importers: specifier: ^8.4.41 version: 8.4.41 solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -3579,8 +3579,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 packages/astro/test/fixtures/react-jsx-export: dependencies: @@ -3703,8 +3703,8 @@ importers: specifier: workspace:* version: link:../../../.. svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 packages/astro/test/fixtures/server-islands/ssr: dependencies: @@ -3715,8 +3715,8 @@ importers: specifier: workspace:* version: link:../../../.. svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 packages/astro/test/fixtures/set-html: dependencies: @@ -3769,8 +3769,8 @@ importers: specifier: workspace:* version: link:../../.. solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 packages/astro/test/fixtures/slots-svelte: dependencies: @@ -3784,8 +3784,8 @@ importers: specifier: workspace:* version: link:../../.. svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 packages/astro/test/fixtures/slots-vue: dependencies: @@ -3809,7 +3809,7 @@ importers: version: link:../../../../integrations/solid '@solidjs/router': specifier: ^0.14.3 - version: 0.14.3(solid-js@1.8.21) + version: 0.14.3(solid-js@1.8.22) '@test/solid-jsx-component': specifier: file:./deps/solid-jsx-component version: link:deps/solid-jsx-component @@ -3817,14 +3817,14 @@ importers: specifier: workspace:* version: link:../../.. solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 packages/astro/test/fixtures/solid-component/deps/solid-jsx-component: dependencies: solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 packages/astro/test/fixtures/sourcemap: dependencies: @@ -3958,8 +3958,8 @@ importers: specifier: link:./deps/test-adapter version: link:deps/test-adapter '@types/react': - specifier: ^18.3.3 - version: 18.3.3 + specifier: ^18.3.4 + version: 18.3.4 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -4109,8 +4109,8 @@ importers: specifier: workspace:* version: link:../../.. svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 packages/astro/test/fixtures/tailwindcss: dependencies: @@ -4232,8 +4232,8 @@ importers: specifier: workspace:* version: link:../../.. svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -4286,8 +4286,8 @@ importers: specifier: workspace:* version: link:../studio '@libsql/client': - specifier: ^0.9.0 - version: 0.9.0 + specifier: ^0.10.0 + version: 0.10.0 async-listen: specifier: ^3.0.1 version: 3.0.1 @@ -4296,7 +4296,7 @@ importers: version: 1.0.2 drizzle-orm: specifier: ^0.31.2 - version: 0.31.4(@libsql/client@0.9.0)(@types/react@18.3.3)(react@18.3.1) + version: 0.31.4(@libsql/client@0.10.0)(@types/react@18.3.4)(react@18.3.1) github-slugger: specifier: ^2.0.0 version: 2.0.0 @@ -4310,8 +4310,8 @@ importers: specifier: ^10.1.0 version: 10.1.0 ora: - specifier: ^8.0.1 - version: 8.0.1 + specifier: ^8.1.0 + version: 8.1.0 prompts: specifier: ^2.4.2 version: 2.4.2 @@ -4347,8 +4347,8 @@ importers: specifier: ^5.5.4 version: 5.5.4 vite: - specifier: ^5.4.1 - version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.2 + version: 5.4.2(@types/node@18.19.31)(sass@1.77.8) packages/db/test/fixtures/basics: dependencies: @@ -4455,8 +4455,8 @@ importers: specifier: ^3.6.2 version: link:../../../../integrations/react '@types/react': - specifier: ^18.3.3 - version: 18.3.3 + specifier: ^18.3.4 + version: 18.3.4 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -4494,8 +4494,8 @@ importers: specifier: workspace:* version: link:../../../scripts vite: - specifier: ^5.4.1 - version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.2 + version: 5.4.2(@types/node@18.19.31)(sass@1.77.8) packages/integrations/alpinejs/test/fixtures/basics: dependencies: @@ -4588,7 +4588,7 @@ importers: version: link:../../astro-prism '@markdoc/markdoc': specifier: ^0.4.0 - version: 0.4.0(@types/react@18.3.3)(react@18.3.1) + version: 0.4.0(@types/react@18.3.4)(react@18.3.1) esbuild: specifier: ^0.21.5 version: 0.21.5 @@ -4618,8 +4618,8 @@ importers: specifier: ^0.18.4 version: 0.18.4 vite: - specifier: ^5.4.1 - version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.2 + version: 5.4.2(@types/node@18.19.31)(sass@1.77.8) packages/integrations/markdoc/test/fixtures/content-collections: dependencies: @@ -4792,8 +4792,8 @@ importers: specifier: ^4.0.3 version: 4.0.3 hast-util-to-html: - specifier: ^9.0.1 - version: 9.0.1 + specifier: ^9.0.2 + version: 9.0.2 kleur: specifier: ^4.1.5 version: 4.1.5 @@ -4813,8 +4813,8 @@ importers: specifier: ^5.0.0 version: 5.0.0 vfile: - specifier: ^6.0.2 - version: 6.0.2 + specifier: ^6.0.3 + version: 6.0.3 devDependencies: '@types/estree': specifier: ^1.0.5 @@ -4841,8 +4841,8 @@ importers: specifier: ^3.0.0 version: 3.0.0 mdast-util-mdx-jsx: - specifier: ^3.1.2 - version: 3.1.2 + specifier: ^3.1.3 + version: 3.1.3 mdast-util-to-string: specifier: ^4.0.0 version: 4.0.0 @@ -4871,8 +4871,8 @@ importers: specifier: ^11.0.5 version: 11.0.5 vite: - specifier: ^5.4.1 - version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.2 + version: 5.4.2(@types/node@18.19.31)(sass@1.77.8) packages/integrations/mdx/test/fixtures/css-head-mdx: dependencies: @@ -5048,8 +5048,8 @@ importers: specifier: ^0.17.4 version: 0.17.4 '@types/server-destroy': - specifier: ^1.0.3 - version: 1.0.3 + specifier: ^1.0.4 + version: 1.0.4 astro: specifier: workspace:* version: link:../../astro @@ -5218,7 +5218,7 @@ importers: version: 7.24.7(@babel/core@7.25.2) '@preact/preset-vite': specifier: 2.8.2 - version: 2.8.2(@babel/core@7.25.2)(preact@10.23.2)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + version: 2.8.2(@babel/core@7.25.2)(preact@10.23.2)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) '@preact/signals': specifier: ^1.3.0 version: 1.3.0(preact@10.23.2) @@ -5243,14 +5243,14 @@ importers: dependencies: '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.1(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + version: 4.3.1(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) ultrahtml: specifier: ^1.5.3 version: 1.5.3 devDependencies: '@types/react': - specifier: ^18.3.3 - version: 18.3.3 + specifier: ^18.3.4 + version: 18.3.4 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -5270,8 +5270,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) vite: - specifier: ^5.4.1 - version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.2 + version: 5.4.2(@types/node@18.19.31)(sass@1.77.8) packages/integrations/react/test/fixtures/react-component: dependencies: @@ -5359,7 +5359,7 @@ importers: dependencies: vite-plugin-solid: specifier: ^2.10.2 - version: 2.10.2(solid-js@1.8.21)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + version: 2.10.2(solid-js@1.8.22)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) devDependencies: astro: specifier: workspace:* @@ -5368,20 +5368,20 @@ importers: specifier: workspace:* version: link:../../../scripts solid-js: - specifier: ^1.8.21 - version: 1.8.21 + specifier: ^1.8.22 + version: 1.8.22 vite: - specifier: ^5.4.1 - version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.2 + version: 5.4.2(@types/node@18.19.31)(sass@1.77.8) packages/integrations/svelte: dependencies: '@sveltejs/vite-plugin-svelte': - specifier: ^3.1.1 - version: 3.1.1(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + specifier: ^3.1.2 + version: 3.1.2(svelte@4.2.19)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) svelte2tsx: - specifier: ^0.7.15 - version: 0.7.15(svelte@4.2.18)(typescript@5.5.4) + specifier: ^0.7.16 + version: 0.7.16(svelte@4.2.19)(typescript@5.5.4) devDependencies: astro: specifier: workspace:* @@ -5390,11 +5390,11 @@ importers: specifier: workspace:* version: link:../../../scripts svelte: - specifier: ^4.2.18 - version: 4.2.18 + specifier: ^4.2.19 + version: 4.2.19 vite: - specifier: ^5.4.1 - version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.2 + version: 5.4.2(@types/node@18.19.31)(sass@1.77.8) packages/integrations/tailwind: dependencies: @@ -5418,8 +5418,8 @@ importers: specifier: ^3.4.10 version: 3.4.10 vite: - specifier: ^5.4.1 - version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.2 + version: 5.4.2(@types/node@18.19.31)(sass@1.77.8) packages/integrations/tailwind/test/fixtures/basic: dependencies: @@ -5657,16 +5657,16 @@ importers: dependencies: '@vitejs/plugin-vue': specifier: ^5.1.2 - version: 5.1.2(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)) + version: 5.1.2(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)) '@vitejs/plugin-vue-jsx': specifier: ^4.0.1 - version: 4.0.1(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)) + version: 4.0.1(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)) '@vue/compiler-sfc': specifier: ^3.4.38 version: 3.4.38 vite-plugin-vue-devtools: - specifier: ^7.3.8 - version: 7.3.8(rollup@4.21.0)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)) + specifier: ^7.3.9 + version: 7.3.9(rollup@4.21.1)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)) devDependencies: astro: specifier: workspace:* @@ -5681,8 +5681,8 @@ importers: specifier: ^0.18.4 version: 0.18.4 vite: - specifier: ^5.4.1 - version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.2 + version: 5.4.2(@types/node@18.19.31)(sass@1.77.8) vue: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) @@ -5817,8 +5817,8 @@ importers: specifier: ^2.0.0 version: 2.0.0 hast-util-from-html: - specifier: ^2.0.1 - version: 2.0.1 + specifier: ^2.0.2 + version: 2.0.2 hast-util-to-text: specifier: ^4.0.2 version: 4.0.2 @@ -5862,8 +5862,8 @@ importers: specifier: ^6.0.1 version: 6.0.1 vfile: - specifier: ^6.0.2 - version: 6.0.2 + specifier: ^6.0.3 + version: 6.0.3 devDependencies: '@types/estree': specifier: ^1.0.5 @@ -5896,8 +5896,8 @@ importers: specifier: ^4.1.5 version: 4.1.5 ora: - specifier: ^8.0.1 - version: 8.0.1 + specifier: ^8.1.0 + version: 8.1.0 devDependencies: astro: specifier: workspace:* @@ -5909,8 +5909,8 @@ importers: specifier: ^5.5.4 version: 5.5.4 vite: - specifier: ^5.4.1 - version: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + specifier: ^5.4.2 + version: 5.4.2(@types/node@18.19.31)(sass@1.77.8) packages/telemetry: dependencies: @@ -6102,8 +6102,8 @@ packages: resolution: {integrity: sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==} engines: {node: '>=6.9.0'} - '@babel/generator@7.25.0': - resolution: {integrity: sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==} + '@babel/generator@7.25.5': + resolution: {integrity: sha512-abd43wyLfbWoxC6ahM8xTkqLpGB2iWBVyuKC9/srhFunCd1SDNrV1s72bBpK4hLj8KLzHBBcOblvLQZBNw9r3w==} engines: {node: '>=6.9.0'} '@babel/helper-annotate-as-pure@7.24.7': @@ -6196,8 +6196,8 @@ packages: resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} engines: {node: '>=6.9.0'} - '@babel/parser@7.25.3': - resolution: {integrity: sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==} + '@babel/parser@7.25.4': + resolution: {integrity: sha512-nq+eWrOgdtu3jG5Os4TQP3x3cLA8hR8TvJNjD8vnPa20WGycimcparWnLK4jJhElTK6SDyuJo1weMKO/5LpmLA==} engines: {node: '>=6.0.0'} hasBin: true @@ -6274,12 +6274,12 @@ packages: resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.25.3': - resolution: {integrity: sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==} + '@babel/traverse@7.25.4': + resolution: {integrity: sha512-VJ4XsrD+nOvlXyLzmLzUs/0qjFS4sK30te5yEFlvbbUNEgKaVb2BHZUpAL+ttLPQAHNrsI3zZisbfha5Cvr8vg==} engines: {node: '>=6.9.0'} - '@babel/types@7.25.2': - resolution: {integrity: sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==} + '@babel/types@7.25.4': + resolution: {integrity: sha512-zQ1ijeeCXVEh+aNL0RlmkPkG8HUiDcU2pzQQFjtbntgAczRASFzj4H+6+bV+dy1ntKR14I/DypeuRG1uma98iQ==} engines: {node: '>=6.9.0'} '@biomejs/biome@1.8.3': @@ -6825,16 +6825,16 @@ packages: resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint/config-array@0.17.1': - resolution: {integrity: sha512-BlYOpej8AQ8Ev9xVqroV7a02JK3SkBAaN9GfMMH9W6Ch8FlQlkjGw4Ir7+FgYwfirivAf4t+GtzuAxqfukmISA==} + '@eslint/config-array@0.18.0': + resolution: {integrity: sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/eslintrc@3.1.0': resolution: {integrity: sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/js@9.9.0': - resolution: {integrity: sha512-hhetes6ZHP3BlXLxmd8K2SNgkhNSi+UcecbnwWKwpP7kyi/uC75DJ1lOOBO3xrC4jyojtGE3YxKZPHfk4yrgug==} + '@eslint/js@9.9.1': + resolution: {integrity: sha512-xIDQRsfg5hNBqHz04H1R3scSVwmI+KUbqjsQKHKQ1DAUSaUjYPReZZmS/5PNiKu1fUvzDd6H7DEDKACSEhu+TQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/object-schema@2.1.4': @@ -7016,11 +7016,11 @@ packages: peerDependencies: tslib: '2' - '@libsql/client@0.9.0': - resolution: {integrity: sha512-mT+91wtb8pxK9SWd566D5W2VUCemksUMqICRBtf0WXiS7XzNcQhWyrwYOnVrVmTSze/SCCsNNEKIkCRwk/pr2Q==} + '@libsql/client@0.10.0': + resolution: {integrity: sha512-2ERn08T4XOVx34yBtUPq0RDjAdd9TJ5qNH/izugr208ml2F94mk92qC64kXyDVQINodWJvp3kAdq6P4zTtCZ7g==} - '@libsql/core@0.9.0': - resolution: {integrity: sha512-rCsS/EC32K8ARjDQJGqauGZmkR6orOOY4I7898PyQ/mmltAkMwRgz5kjEmYRZ42o7mP0ayJfbw28qgv7SRFEgg==} + '@libsql/core@0.10.0': + resolution: {integrity: sha512-rqynAXGaiSpTsykOZdBtI1N4z4O+KZ6mt33K/aHeXAY0gSIfK/ctxuWa0Y1Bjo4FMz1idBTCXz4Ps5kITOvZZw==} '@libsql/darwin-arm64@0.3.19': resolution: {integrity: sha512-rmOqsLcDI65zzxlUOoEiPJLhqmbFsZF6p4UJQ2kMqB+Kc0Rt5/A1OAdOZ/Wo8fQfJWjR1IbkbpEINFioyKf+nQ==} @@ -7223,83 +7223,83 @@ packages: rollup: optional: true - '@rollup/rollup-android-arm-eabi@4.21.0': - resolution: {integrity: sha512-WTWD8PfoSAJ+qL87lE7votj3syLavxunWhzCnx3XFxFiI/BA/r3X7MUM8dVrH8rb2r4AiO8jJsr3ZjdaftmnfA==} + '@rollup/rollup-android-arm-eabi@4.21.1': + resolution: {integrity: sha512-2thheikVEuU7ZxFXubPDOtspKn1x0yqaYQwvALVtEcvFhMifPADBrgRPyHV0TF3b+9BgvgjgagVyvA/UqPZHmg==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.21.0': - resolution: {integrity: sha512-a1sR2zSK1B4eYkiZu17ZUZhmUQcKjk2/j9Me2IDjk1GHW7LB5Z35LEzj9iJch6gtUfsnvZs1ZNyDW2oZSThrkA==} + '@rollup/rollup-android-arm64@4.21.1': + resolution: {integrity: sha512-t1lLYn4V9WgnIFHXy1d2Di/7gyzBWS8G5pQSXdZqfrdCGTwi1VasRMSS81DTYb+avDs/Zz4A6dzERki5oRYz1g==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.21.0': - resolution: {integrity: sha512-zOnKWLgDld/svhKO5PD9ozmL6roy5OQ5T4ThvdYZLpiOhEGY+dp2NwUmxK0Ld91LrbjrvtNAE0ERBwjqhZTRAA==} + '@rollup/rollup-darwin-arm64@4.21.1': + resolution: {integrity: sha512-AH/wNWSEEHvs6t4iJ3RANxW5ZCK3fUnmf0gyMxWCesY1AlUj8jY7GC+rQE4wd3gwmZ9XDOpL0kcFnCjtN7FXlA==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.21.0': - resolution: {integrity: sha512-7doS8br0xAkg48SKE2QNtMSFPFUlRdw9+votl27MvT46vo44ATBmdZdGysOevNELmZlfd+NEa0UYOA8f01WSrg==} + '@rollup/rollup-darwin-x64@4.21.1': + resolution: {integrity: sha512-dO0BIz/+5ZdkLZrVgQrDdW7m2RkrLwYTh2YMFG9IpBtlC1x1NPNSXkfczhZieOlOLEqgXOFH3wYHB7PmBtf+Bg==} cpu: [x64] os: [darwin] - '@rollup/rollup-linux-arm-gnueabihf@4.21.0': - resolution: {integrity: sha512-pWJsfQjNWNGsoCq53KjMtwdJDmh/6NubwQcz52aEwLEuvx08bzcy6tOUuawAOncPnxz/3siRtd8hiQ32G1y8VA==} + '@rollup/rollup-linux-arm-gnueabihf@4.21.1': + resolution: {integrity: sha512-sWWgdQ1fq+XKrlda8PsMCfut8caFwZBmhYeoehJ05FdI0YZXk6ZyUjWLrIgbR/VgiGycrFKMMgp7eJ69HOF2pQ==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.21.0': - resolution: {integrity: sha512-efRIANsz3UHZrnZXuEvxS9LoCOWMGD1rweciD6uJQIx2myN3a8Im1FafZBzh7zk1RJ6oKcR16dU3UPldaKd83w==} + '@rollup/rollup-linux-arm-musleabihf@4.21.1': + resolution: {integrity: sha512-9OIiSuj5EsYQlmwhmFRA0LRO0dRRjdCVZA3hnmZe1rEwRk11Jy3ECGGq3a7RrVEZ0/pCsYWx8jG3IvcrJ6RCew==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.21.0': - resolution: {integrity: sha512-ZrPhydkTVhyeGTW94WJ8pnl1uroqVHM3j3hjdquwAcWnmivjAwOYjTEAuEDeJvGX7xv3Z9GAvrBkEzCgHq9U1w==} + '@rollup/rollup-linux-arm64-gnu@4.21.1': + resolution: {integrity: sha512-0kuAkRK4MeIUbzQYu63NrJmfoUVicajoRAL1bpwdYIYRcs57iyIV9NLcuyDyDXE2GiZCL4uhKSYAnyWpjZkWow==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.21.0': - resolution: {integrity: sha512-cfaupqd+UEFeURmqNP2eEvXqgbSox/LHOyN9/d2pSdV8xTrjdg3NgOFJCtc1vQ/jEke1qD0IejbBfxleBPHnPw==} + '@rollup/rollup-linux-arm64-musl@4.21.1': + resolution: {integrity: sha512-/6dYC9fZtfEY0vozpc5bx1RP4VrtEOhNQGb0HwvYNwXD1BBbwQ5cKIbUVVU7G2d5WRE90NfB922elN8ASXAJEA==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.21.0': - resolution: {integrity: sha512-ZKPan1/RvAhrUylwBXC9t7B2hXdpb/ufeu22pG2psV7RN8roOfGurEghw1ySmX/CmDDHNTDDjY3lo9hRlgtaHg==} + '@rollup/rollup-linux-powerpc64le-gnu@4.21.1': + resolution: {integrity: sha512-ltUWy+sHeAh3YZ91NUsV4Xg3uBXAlscQe8ZOXRCVAKLsivGuJsrkawYPUEyCV3DYa9urgJugMLn8Z3Z/6CeyRQ==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.21.0': - resolution: {integrity: sha512-H1eRaCwd5E8eS8leiS+o/NqMdljkcb1d6r2h4fKSsCXQilLKArq6WS7XBLDu80Yz+nMqHVFDquwcVrQmGr28rg==} + '@rollup/rollup-linux-riscv64-gnu@4.21.1': + resolution: {integrity: sha512-BggMndzI7Tlv4/abrgLwa/dxNEMn2gC61DCLrTzw8LkpSKel4o+O+gtjbnkevZ18SKkeN3ihRGPuBxjaetWzWg==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.21.0': - resolution: {integrity: sha512-zJ4hA+3b5tu8u7L58CCSI0A9N1vkfwPhWd/puGXwtZlsB5bTkwDNW/+JCU84+3QYmKpLi+XvHdmrlwUwDA6kqw==} + '@rollup/rollup-linux-s390x-gnu@4.21.1': + resolution: {integrity: sha512-z/9rtlGd/OMv+gb1mNSjElasMf9yXusAxnRDrBaYB+eS1shFm6/4/xDH1SAISO5729fFKUkJ88TkGPRUh8WSAA==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.21.0': - resolution: {integrity: sha512-e2hrvElFIh6kW/UNBQK/kzqMNY5mO+67YtEh9OA65RM5IJXYTWiXjX6fjIiPaqOkBthYF1EqgiZ6OXKcQsM0hg==} + '@rollup/rollup-linux-x64-gnu@4.21.1': + resolution: {integrity: sha512-kXQVcWqDcDKw0S2E0TmhlTLlUgAmMVqPrJZR+KpH/1ZaZhLSl23GZpQVmawBQGVhyP5WXIsIQ/zqbDBBYmxm5w==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.21.0': - resolution: {integrity: sha512-1vvmgDdUSebVGXWX2lIcgRebqfQSff0hMEkLJyakQ9JQUbLDkEaMsPTLOmyccyC6IJ/l3FZuJbmrBw/u0A0uCQ==} + '@rollup/rollup-linux-x64-musl@4.21.1': + resolution: {integrity: sha512-CbFv/WMQsSdl+bpX6rVbzR4kAjSSBuDgCqb1l4J68UYsQNalz5wOqLGYj4ZI0thGpyX5kc+LLZ9CL+kpqDovZA==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.21.0': - resolution: {integrity: sha512-s5oFkZ/hFcrlAyBTONFY1TWndfyre1wOMwU+6KCpm/iatybvrRgmZVM+vCFwxmC5ZhdlgfE0N4XorsDpi7/4XQ==} + '@rollup/rollup-win32-arm64-msvc@4.21.1': + resolution: {integrity: sha512-3Q3brDgA86gHXWHklrwdREKIrIbxC0ZgU8lwpj0eEKGBQH+31uPqr0P2v11pn0tSIxHvcdOWxa4j+YvLNx1i6g==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.21.0': - resolution: {integrity: sha512-G9+TEqRnAA6nbpqyUqgTiopmnfgnMkR3kMukFBDsiyy23LZvUCpiUwjTRx6ezYCjJODXrh52rBR9oXvm+Fp5wg==} + '@rollup/rollup-win32-ia32-msvc@4.21.1': + resolution: {integrity: sha512-tNg+jJcKR3Uwe4L0/wY3Ro0H+u3nrb04+tcq1GSYzBEmKLeOQF2emk1whxlzNqb6MMrQ2JOcQEpuuiPLyRcSIw==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.21.0': - resolution: {integrity: sha512-2jsCDZwtQvRhejHLfZ1JY6w6kEuEtfF9nzYsZxzSlNVKDX+DpsDJ+Rbjkm74nvg2rdx0gwBS+IMdvwJuq3S9pQ==} + '@rollup/rollup-win32-x64-msvc@4.21.1': + resolution: {integrity: sha512-xGiIH95H1zU7naUyTKEyOA/I0aexNMUdO9qRv0bLKN3qu25bBdrxZHqA3PTJ24YNN/GdMzG4xkDcd/GvjuhfLg==} cpu: [x64] os: [win32] @@ -7323,8 +7323,8 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.0 - '@sveltejs/vite-plugin-svelte@3.1.1': - resolution: {integrity: sha512-rimpFEAboBBHIlzISibg94iP09k/KYdHgVhJlcsTfn7KMBhc70jFX/GRWkRdFCc2fdnk+4+Bdfej23cMDnJS6A==} + '@sveltejs/vite-plugin-svelte@3.1.2': + resolution: {integrity: sha512-Txsm1tJvtiYeLUVRNqxZGKR/mI+CzuIQuc2gn+YCs9rMTowpNZ2Nqt53JdL8KF9bLhAf2ruR/dr9eZCwdTriRA==} engines: {node: ^18.0.0 || >=20} peerDependencies: svelte: ^4.0.0 || ^5.0.0-next.0 @@ -7495,8 +7495,8 @@ packages: '@types/react-dom@18.3.0': resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==} - '@types/react@18.3.3': - resolution: {integrity: sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==} + '@types/react@18.3.4': + resolution: {integrity: sha512-J7W30FTdfCxDDjmfRM+/JqLHBIyl7xUIp9kwK637FGmY7+mkSFSe6L4jpZzhj5QMfLssSDP4/i75AKkrdC7/Jw==} '@types/relateurl@0.2.33': resolution: {integrity: sha512-bTQCKsVbIdzLqZhLkF5fcJQreE4y1ro4DIyVrlDNSCJRRwHhB8Z+4zXXa8jN6eDvc2HbRsEYgbvrnGvi54EpSw==} @@ -7513,8 +7513,8 @@ packages: '@types/serve-static@1.15.7': resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==} - '@types/server-destroy@1.0.3': - resolution: {integrity: sha512-Qq0fn70C7TLDG1W9FCblKufNWW1OckQ41dVKV2Dku5KdZF7bexezG4e2WBaBKhdwL3HZ+cYCEIKwg2BRgzrWmA==} + '@types/server-destroy@1.0.4': + resolution: {integrity: sha512-+x8oAQ4Xp1wtDi2Hlmi7gUNXZNVhB5EoSQpi0qEmINdDN5Ab724WLGAalEdT1SudVY/NzMhbfZO7vU+klT0R+A==} '@types/trusted-types@2.0.7': resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==} @@ -7543,8 +7543,8 @@ packages: '@types/yargs-parser@21.0.3': resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} - '@typescript-eslint/eslint-plugin@8.1.0': - resolution: {integrity: sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==} + '@typescript-eslint/eslint-plugin@8.3.0': + resolution: {integrity: sha512-FLAIn63G5KH+adZosDYiutqkOkYEx0nvcwNNfJAf+c7Ae/H35qWwTYvPZUKFj5AS+WfHG/WJJfWnDnyNUlp8UA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -7554,8 +7554,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.1.0': - resolution: {integrity: sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==} + '@typescript-eslint/parser@8.3.0': + resolution: {integrity: sha512-h53RhVyLu6AtpUzVCYLPhZGL5jzTD9fZL+SYf/+hYOx2bDkyQXztXSc4tbvKYHzfMXExMLiL9CWqJmVz6+78IQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -7564,12 +7564,12 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.1.0': - resolution: {integrity: sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==} + '@typescript-eslint/scope-manager@8.3.0': + resolution: {integrity: sha512-mz2X8WcN2nVu5Hodku+IR8GgCOl4C0G/Z1ruaWN4dgec64kDBabuXyPAr+/RgJtumv8EEkqIzf3X2U5DUKB2eg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.1.0': - resolution: {integrity: sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==} + '@typescript-eslint/type-utils@8.3.0': + resolution: {integrity: sha512-wrV6qh//nLbfXZQoj32EXKmwHf4b7L+xXLrP3FZ0GOUU72gSvLjeWUl5J5Ue5IwRxIV1TfF73j/eaBapxx99Lg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -7577,12 +7577,12 @@ packages: typescript: optional: true - '@typescript-eslint/types@8.1.0': - resolution: {integrity: sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==} + '@typescript-eslint/types@8.3.0': + resolution: {integrity: sha512-y6sSEeK+facMaAyixM36dQ5NVXTnKWunfD1Ft4xraYqxP0lC0POJmIaL/mw72CUMqjY9qfyVfXafMeaUj0noWw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.1.0': - resolution: {integrity: sha512-NTHhmufocEkMiAord/g++gWKb0Fr34e9AExBRdqgWdVBaKoei2dIyYKD9Q0jBnvfbEA5zaf8plUFMUH6kQ0vGg==} + '@typescript-eslint/typescript-estree@8.3.0': + resolution: {integrity: sha512-Mq7FTHl0R36EmWlCJWojIC1qn/ZWo2YiWYc1XVtasJ7FIgjo0MVv9rZWXEE7IK2CGrtwe1dVOxWwqXUdNgfRCA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -7590,14 +7590,14 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.1.0': - resolution: {integrity: sha512-ypRueFNKTIFwqPeJBfeIpxZ895PQhNyH4YID6js0UoBImWYoSjBsahUn9KMiJXh94uOjVBgHD9AmkyPsPnFwJA==} + '@typescript-eslint/utils@8.3.0': + resolution: {integrity: sha512-F77WwqxIi/qGkIGOGXNBLV7nykwfjLsdauRB/DOFPdv6LTF3BHHkBpq81/b5iMPSF055oO2BiivDJV4ChvNtXA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@8.1.0': - resolution: {integrity: sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==} + '@typescript-eslint/visitor-keys@8.3.0': + resolution: {integrity: sha512-RmZwrTbQ9QveF15m/Cl28n0LXD6ea2CjkhH5rQ55ewz3H24w+AMCJHPVYaZ8/0HoG8Z3cLLFFycRXxeO2tz9FA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript/twoslash@3.1.0': @@ -7723,16 +7723,16 @@ packages: '@vue/compiler-ssr@3.4.38': resolution: {integrity: sha512-YXznKFQ8dxYpAz9zLuVvfcXhc31FSPFDcqr0kyujbOwNhlmaNvL2QfIy+RZeJgSn5Fk54CWoEUeW+NVBAogGaw==} - '@vue/devtools-core@7.3.8': - resolution: {integrity: sha512-mEwsR7GMklWuPOBH/++DiJe0GWqQ0syDtWP0HhU8m9tebs5zQtujMXrgu+cgBAKquJAWnBz0PwNzBgBD2P+M9A==} + '@vue/devtools-core@7.3.9': + resolution: {integrity: sha512-B5zAl9ulNjI6nknSnGNRzmP/ldR9ADUwwT8HkI8Hejo1W00uK9ABUahbfrXzME296rBfmwhQuCFwJ6t9KFdbXQ==} peerDependencies: vue: ^3.0.0 - '@vue/devtools-kit@7.3.8': - resolution: {integrity: sha512-HYy3MQP1nZ6GbE4vrgJ/UB+MvZnhYmEwCa/UafrEpdpwa+jNCkz1ZdUrC5I7LpkH1ShREEV2/pZlAQdBj+ncLQ==} + '@vue/devtools-kit@7.3.9': + resolution: {integrity: sha512-Gr17nA+DaQzqyhNx1DUJr1CJRzTRfbIuuC80ZgU8MD/qNO302tv9la+ROi+Uaw+ULVwU9T71GnwLy4n8m9Lspg==} - '@vue/devtools-shared@7.3.8': - resolution: {integrity: sha512-1NiJbn7Yp47nPDWhFZyEKpB2+5/+7JYv8IQnU0ccMrgslPR2dL7u1DIyI7mLqy4HN1ll36gQy0k8GqBYSFgZJw==} + '@vue/devtools-shared@7.3.9': + resolution: {integrity: sha512-CdfMRZKXyI8vw+hqOcQIiLihB6Hbbi7WNZGp7LsuH1Qe4aYAFmTaKjSciRZ301oTnwmU/knC/s5OGuV6UNiNoA==} '@vue/reactivity@3.1.5': resolution: {integrity: sha512-1tdfLmNjWG6t/CsPldh+foumYFo3cpyCHgBYQ34ylaMsJ+SNHQ1kApMIa8jN+i593zQuaw3AdWH0nJTARzCFhg==} @@ -8111,6 +8111,10 @@ packages: resolution: {integrity: sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + cli-cursor@5.0.0: + resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==} + engines: {node: '>=18'} + cli-spinners@2.9.2: resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} engines: {node: '>=6'} @@ -8644,8 +8648,8 @@ packages: resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint@9.9.0: - resolution: {integrity: sha512-JfiKJrbx0506OEerjK2Y1QlldtBxkAlLxT5OEcRF8uaQ86noDe2k31Vw9rnSWv+MXZHj7OOUV/dA0AhdLFcyvA==} + eslint@9.9.1: + resolution: {integrity: sha512-dHvhrbfr4xFQ9/dq+jcVneZMyRYLjggWjk6RVsIiHsP8Rz6yZ8LvZ//iU4TrZF+SXWG+JkNF2OyiZRvzgRDqMg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: @@ -8715,8 +8719,8 @@ packages: resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} engines: {node: '>=16.17'} - expect-type@0.19.0: - resolution: {integrity: sha512-piv9wz3IrAG4Wnk2A+n2VRCHieAyOSxrRLU872Xo6nyn39kYXKDALk4OcqnvLRnFvkz659CnWC8MWZLuuQnoqg==} + expect-type@0.20.0: + resolution: {integrity: sha512-uHaC9LYNv6BcW+8SvXcwUUDCrrUxt3GSa61DFvTHj8JC+M0hekMFBwMlCarLQDk5bbpZ2vStpnQPIwRuV98YMw==} engines: {node: '>=12.0.0'} express@4.19.2: @@ -8981,8 +8985,8 @@ packages: hast-util-from-dom@5.0.0: resolution: {integrity: sha512-d6235voAp/XR3Hh5uy7aGLbM3S4KamdW0WEgOaU1YoewnuYw4HXb5eRtv9g65m/RFGEfUY1Mw4UqCc5Y8L4Stg==} - hast-util-from-html@2.0.1: - resolution: {integrity: sha512-RXQBLMl9kjKVNkJTIO6bZyb2n+cUH8LFaSSzo82jiLT6Tfc+Pt7VQCS+/h3YwG4jaNE2TA2sdJisGWR+aJrp0g==} + hast-util-from-html@2.0.2: + resolution: {integrity: sha512-HwOHwxdt2zC5KQ/CNoybBntRook2zJvfZE/u5/Ap7aLPe22bDqen7KwGkOqOyzL5zIqKwiYX/OTtE0FWgr6XXA==} hast-util-from-parse5@8.0.1: resolution: {integrity: sha512-Er/Iixbc7IEa7r/XLtuG52zoqn/b3Xng/w6aZQ0xGVxzhw5xUFxcRqdPzP6yFi/4HBYRaifaI5fQ1RH8n0ZeOQ==} @@ -9008,8 +9012,8 @@ packages: hast-util-to-estree@3.1.0: resolution: {integrity: sha512-lfX5g6hqVh9kjS/B9E2gSkvHH4SZNiQFiqWS0x9fENzEl+8W12RqdRxX6d/Cwxi30tPQs3bIO+aolQJNp1bIyw==} - hast-util-to-html@9.0.1: - resolution: {integrity: sha512-hZOofyZANbyWo+9RP75xIDV/gq+OUKx+T46IlwERnKmfpwp81XBFbT9mi26ws+SJchA4RVUQwIBJpqEOBhMzEQ==} + hast-util-to-html@9.0.2: + resolution: {integrity: sha512-RP5wNpj5nm1Z8cloDv4Sl4RS8jH5HYa0v93YB6Wb4poEzgMo/dAAL0KcT4974dCjcNG5pkLqTImeFHHCwwfY3g==} hast-util-to-jsx-runtime@2.3.0: resolution: {integrity: sha512-H/y0+IWPdsLLS738P8tDnrQ8Z+dj12zQQ6WC11TIM21C8WFVoIxcqWXf2H3hiTVZjF1AWqoimGwrTWecWrnmRQ==} @@ -9358,10 +9362,12 @@ packages: libsql@0.3.19: resolution: {integrity: sha512-Aj5cQ5uk/6fHdmeW0TiXK42FqUlwx7ytmMLPSaUQPin5HKKKuUPD62MAbN4OEweGBBI7q1BekoEN4gPUEL6MZA==} + cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] libsql@0.4.1: resolution: {integrity: sha512-qZlR9Yu1zMBeLChzkE/cKfoKV3Esp9cn9Vx5Zirn4AVhDWPcjYhKwbtJcMuHehgk3mH+fJr9qW+3vesBWbQpBg==} + cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] lilconfig@2.1.0: @@ -9536,8 +9542,8 @@ packages: mdast-util-mdx-expression@2.0.0: resolution: {integrity: sha512-fGCu8eWdKUKNu5mohVGkhBXCXGnOTLuFqOvGMvdikr+J1w7lDJgxThOKpwRWzzbyXAU2hhSwsmssOY4yTokluw==} - mdast-util-mdx-jsx@3.1.2: - resolution: {integrity: sha512-eKMQDeywY2wlHc97k5eD8VC+9ASMjN8ItEZQNGwJ6E0XWKiW/Z0V5/H8pvoXUf+y+Mj0VIgeRRbujBmFn4FTyA==} + mdast-util-mdx-jsx@3.1.3: + resolution: {integrity: sha512-bfOjvNt+1AcbPLTFMFWY149nJz0OjmewJs3LQQ5pIyVGxP4CdOqNVJL6kTaM5c68p8q82Xv3nCyFfUnuEcH3UQ==} mdast-util-mdx@3.0.0: resolution: {integrity: sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==} @@ -9706,8 +9712,8 @@ packages: micromark@4.0.0: resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==} - micromatch@4.0.7: - resolution: {integrity: sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==} + micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} engines: {node: '>=8.6'} mime-db@1.52.0: @@ -9731,6 +9737,10 @@ packages: resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} engines: {node: '>=12'} + mimic-function@5.0.1: + resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==} + engines: {node: '>=18'} + mini-svg-data-uri@1.4.4: resolution: {integrity: sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==} hasBin: true @@ -9805,8 +9815,8 @@ packages: engines: {node: ^18 || >=20} hasBin: true - nanostores@0.11.2: - resolution: {integrity: sha512-6bucNxMJA5rNV554WQl+MWGng0QVMzlRgpKTHHfIbVLrhQ+yRXBychV9ECGVuuUfCMQPjfIG9bj8oJFZ9hYP/Q==} + nanostores@0.11.3: + resolution: {integrity: sha512-TUes3xKIX33re4QzdxwZ6tdbodjmn3tWXCEc1uokiEmo14sI1EaGYNs2k3bU2pyyGNmBqFGAVl6jAGWd06AVIg==} engines: {node: ^18.0.0 || >=20.0.0} natural-compare@1.4.0: @@ -9928,6 +9938,10 @@ packages: resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} engines: {node: '>=12'} + onetime@7.0.0: + resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==} + engines: {node: '>=18'} + only-allow@1.2.1: resolution: {integrity: sha512-M7CJbmv7UCopc0neRKdzfoGWaVZC+xC1925GitKH9EAqYFzX9//25Q7oX4+jw0tiCCj+t5l6VZh8UPH23NZkMA==} hasBin: true @@ -9943,8 +9957,8 @@ packages: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} engines: {node: '>= 0.8.0'} - ora@8.0.1: - resolution: {integrity: sha512-ANIvzobt1rls2BDny5fWZ3ZVKyD6nscLvfFRpQgfWsythlcsVUC9kL0zq6j2Z5z9wwp1kd7wpsD/T9qNPVLCaQ==} + ora@8.1.0: + resolution: {integrity: sha512-GQEkNkH/GHOhPFXcqZs3IDahXEQcQxsSjEkK4KvEEST4t7eNzoMjxTzef+EZ+JluDEV+Raoi3WQ2CflnRdSVnQ==} engines: {node: '>=18'} os-tmpdir@1.0.2: @@ -10570,6 +10584,10 @@ packages: resolution: {integrity: sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + restore-cursor@5.1.0: + resolution: {integrity: sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==} + engines: {node: '>=18'} + retext-latin@4.0.0: resolution: {integrity: sha512-hv9woG7Fy0M9IlRQloq/N6atV82NxLGveq+3H2WOi79dtIYWN8OaxogDm77f8YnVXJL2VD3bbqowu5E3EMhBYA==} @@ -10597,8 +10615,8 @@ packages: deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true - rollup@4.21.0: - resolution: {integrity: sha512-vo+S/lfA2lMS7rZ2Qoubi6I5hwZwzXeUIctILZLbHI+laNtvhhOIon2S1JksA5UEDQ7l3vberd0fxK44lTYjbQ==} + rollup@4.21.1: + resolution: {integrity: sha512-ZnYyKvscThhgd3M5+Qt3pmhO4jIRR5RGzaSovB6Q7rGNrK5cUncrtLmcTTJVSdcKXyZjW8X8MB0JMSuH9bcAJg==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -10776,8 +10794,8 @@ packages: resolution: {integrity: sha512-TzobUYoEft/xBtb2voRPryAUIvYguG0V7Tt3de79I1WfXgCwelqVsGuZSnu3GFGRZhXR90AeEYIM+icuB/S06Q==} hasBin: true - solid-js@1.8.21: - resolution: {integrity: sha512-FHUGdoo7GVa1BTpGh/4UtwIISde0vSXoqNB6KFpHiTgkIY959tmCJ7NYQAWDfScBfnpoMGZR8lFz0DiwW/gFlw==} + solid-js@1.8.22: + resolution: {integrity: sha512-VBzN5j+9Y4rqIKEnK301aBk+S7fvFSTs9ljg+YEdFxjNjH0hkjXPiQRcws9tE5fUzMznSS6KToL5hwMfHDgpLA==} solid-refresh@0.6.3: resolution: {integrity: sha512-F3aPsX6hVw9ttm5LYlth8Q15x6MlI/J3Dn+o3EQyRTtTxidepSTwAYdozt01/YA+7ObcciagGEyXIopGZzQtbA==} @@ -10926,14 +10944,14 @@ packages: peerDependencies: svelte: ^3.19.0 || ^4.0.0 - svelte2tsx@0.7.15: - resolution: {integrity: sha512-91RbLJI448FR1UEZqXSS3ucVMERuWo8ACOhxfkBPK1CL2ocGMOC5bwc8tzFvb/Ji8NqZ7wmSGfvRebcUsiauKA==} + svelte2tsx@0.7.16: + resolution: {integrity: sha512-faI3t1N5I7RkrXGMLfUdfWg6DTPi8RisfES/00QzXh+faU2pQ3r/W2dUD0ENGh+qNzltIcjbfCW9PES9JkaSXg==} peerDependencies: svelte: ^3.55 || ^4.0.0-next.0 || ^4.0 || ^5.0.0-next.0 typescript: ^4.9.4 || ^5.0.0 - svelte@4.2.18: - resolution: {integrity: sha512-d0FdzYIiAePqRJEb90WlJDkjUEx42xhivxN8muUBmfZnP+tzUgz12DJ2hRJi8sIHCME7jeK1PTMgKPSfTd8JrA==} + svelte@4.2.19: + resolution: {integrity: sha512-IY1rnGr6izd10B0A8LqsBfmlT5OILVuZ7XsI0vdGPEvuonFV7NYEUK4dAkm9Zg2q0Um92kYjTpS1CAP3Nh/KWw==} engines: {node: '>=16'} svg-tags@1.0.0: @@ -11071,38 +11089,38 @@ packages: tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - turbo-darwin-64@2.0.14: - resolution: {integrity: sha512-kwfDmjNwlNfvtrvT29+ZBg5n1Wvxl891bFHchMJyzMoR0HOE9N1NSNdSZb9wG3e7sYNIu4uDkNk+VBEqJW0HzQ==} + turbo-darwin-64@2.1.0: + resolution: {integrity: sha512-gHwpDk2gyB7qZ57gUUwDIS/IkglqEjjVtPZCTxmCRg28Tiwjui0azsLVKrnHP9UZHllozwbi28x8HXLXLEFF1w==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@2.0.14: - resolution: {integrity: sha512-m3LXYEshCx3wc4ZClM6gb01KYpFmtjQ9IBF3A7ofjb6ahux3xlYZJZ3uFCLAGHuvGLuJ3htfiPbwlDPTdknqqw==} + turbo-darwin-arm64@2.1.0: + resolution: {integrity: sha512-GLaqGetNC6eS4eqXgsheLOHic/OcnGCGDi5boVf+TFZTXYH6YE15L4ugZha4xHXCr1KouCLILHh+f8EHEmWylg==} cpu: [arm64] os: [darwin] - turbo-linux-64@2.0.14: - resolution: {integrity: sha512-7vBzCPdoTtR92SNn2JMgj1FlMmyonGmpMaQdgAB1OVYtuQ6NVGoh7/lODfaILqXjpvmFSVbpBIDrKOT6EvcprQ==} + turbo-linux-64@2.1.0: + resolution: {integrity: sha512-VzBOsj7JyGoZtiNZZ6brjnY7UehRnClluw7pwznuLPzClkqOOPMd2jOcgkWxnP/xW4NBmOoFANXXrtvKBD4f2w==} cpu: [x64] os: [linux] - turbo-linux-arm64@2.0.14: - resolution: {integrity: sha512-jwH+c0bfjpBf26K/tdEFatmnYyXwGROjbr6bZmNcL8R+IkGAc/cglL+OToqJnQZTgZvH7uDGbeSyUo7IsHyjuA==} + turbo-linux-arm64@2.1.0: + resolution: {integrity: sha512-St7svJnOO5g4F6R7Z32e10I/0M3e6qpNjEYybXwPNul9NSfnUXeky4WoKaALwqNhyJ7nYemoFpZ1d+i8hFQTHg==} cpu: [arm64] os: [linux] - turbo-windows-64@2.0.14: - resolution: {integrity: sha512-w9/XwkHSzvLjmioo6cl3S1yRfI6swxsV1j1eJwtl66JM4/pn0H2rBa855R0n7hZnmI6H5ywLt/nLt6Ae8RTDmw==} + turbo-windows-64@2.1.0: + resolution: {integrity: sha512-iSobNud2MrJ1SZ1upVPlErT8xexsr0MQtKapdfq6z0M0rBnrDGEq5bUCSScWyGu+O4+glB4br9xkTAkGFqaxqQ==} cpu: [x64] os: [win32] - turbo-windows-arm64@2.0.14: - resolution: {integrity: sha512-XaQlyYk+Rf4xS5XWCo8XCMIpssgGGy8blzLfolN6YBp4baElIWMlkLZHDbGyiFmCbNf9I9gJI64XGRG+LVyyjA==} + turbo-windows-arm64@2.1.0: + resolution: {integrity: sha512-d61jN4rjE5PnUfF66GKrKoj8S8Ql4FGXzFFzZz4kjsHpZZzCTtqlzPZBmd1byzGYhDPTorTqG3G1USohbdyohA==} cpu: [arm64] os: [win32] - turbo@2.0.14: - resolution: {integrity: sha512-00JjdCMD/cpsjP0Izkjcm8Oaor5yUCfDwODtaLb+WyblyadkaDEisGhy3Dbd5az9n+5iLSPiUgf+WjPbns6MRg==} + turbo@2.1.0: + resolution: {integrity: sha512-A969/LO/sPHKlapIarY2VVzqQ5JnnW2/1kksZlnMEpsRD6gwOELvVL+ozfMiO7av9RILt3UeN02L17efr6HUCA==} hasBin: true type-check@0.4.0: @@ -11133,8 +11151,8 @@ packages: typescript-auto-import-cache@0.3.3: resolution: {integrity: sha512-ojEC7+Ci1ij9eE6hp8Jl9VUNnsEKzztktP5gtYNRMrTmfXVwA1PITYYAkpxCvvupdSYa/Re51B6KMcv1CTZEUA==} - typescript-eslint@8.1.0: - resolution: {integrity: sha512-prB2U3jXPJLpo1iVLN338Lvolh6OrcCZO+9Yv6AR+tvegPPptYCDBIHiEEUdqRi8gAv2bXNKfMUrgAd2ejn/ow==} + typescript-eslint@8.3.0: + resolution: {integrity: sha512-EvWjwWLwwKDIJuBjk2I6UkV8KEQcwZ0VM10nR1rIunRDIP67QJTZAHBXTX0HW/oI1H10YESF8yWie8fRQxjvFA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -11164,8 +11182,8 @@ packages: undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - undici@6.19.7: - resolution: {integrity: sha512-HR3W/bMGPSr90i8AAp2C4DM3wChFdJPLrWYpIS++LxS8K+W535qftjt+4MyjNYHeWabMj1nvtmLIi7l++iq91A==} + undici@6.19.8: + resolution: {integrity: sha512-U8uCCl2x9TK3WANvmBavymRzxbfFYG+tAu+fgx3zxQy3qdagQqBLwJVrdyO1TBfUXvfKveMKJZhpvUYoOjM+4g==} engines: {node: '>=18.17'} unicorn-magic@0.1.0: @@ -11284,8 +11302,8 @@ packages: vfile-message@4.0.2: resolution: {integrity: sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==} - vfile@6.0.2: - resolution: {integrity: sha512-zND7NlS8rJYb/sPqkb13ZvbbUoExdbi4w3SfRrMq6R3FvnLQmmfpajJNITuuYm6AZ5uao9vy4BAos3EXBPf2rg==} + vfile@6.0.3: + resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} vite-hot-client@0.2.3: resolution: {integrity: sha512-rOGAV7rUlUHX89fP2p2v0A2WWvV3QMX2UYq0fRqsWSvFvev4atHWqjwGoKaZT1VTKyLGk533ecu3eyd0o59CAg==} @@ -11317,8 +11335,8 @@ packages: '@testing-library/jest-dom': optional: true - vite-plugin-vue-devtools@7.3.8: - resolution: {integrity: sha512-b5t4wxCb5g5cjh+odNpgnB7iX7gA6FJnKugFqX2/YZX9I4fvMjlj1bUnCKnvPlmwnFxClYgdmgZcCh2RyhZgvw==} + vite-plugin-vue-devtools@7.3.9: + resolution: {integrity: sha512-ybDV2kepW0NpusvtfbRKHs0pvyrReNcFtL572gyZ6Alox6u5uebYefd2eAG/7mJSU3NPI5UxUH1e/Mof5exdlw==} engines: {node: '>=v14.21.3'} peerDependencies: vite: ^3.1.0 || ^4.0.0-0 || ^5.0.0-0 @@ -11333,8 +11351,8 @@ packages: peerDependencies: vue: '>=3.2.13' - vite@5.4.1: - resolution: {integrity: sha512-1oE6yuNXssjrZdblI9AfBbHCC41nnyoVoEZxQnID6yvQZAFBzxxkqoFLtHUMkYunL8hwOLEjgTuxpkRxvba3kA==} + vite@5.4.2: + resolution: {integrity: sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -11816,14 +11834,14 @@ snapshots: dependencies: '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.24.7 - '@babel/generator': 7.25.0 + '@babel/generator': 7.25.5 '@babel/helper-compilation-targets': 7.25.2 '@babel/helper-module-transforms': 7.25.2(@babel/core@7.25.2) '@babel/helpers': 7.25.0 - '@babel/parser': 7.25.3 + '@babel/parser': 7.25.4 '@babel/template': 7.25.0 - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 convert-source-map: 2.0.0 debug: 4.3.6 gensync: 1.0.0-beta.2 @@ -11832,16 +11850,16 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/generator@7.25.0': + '@babel/generator@7.25.5': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 jsesc: 2.5.2 '@babel/helper-annotate-as-pure@7.24.7': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/helper-compilation-targets@7.25.2': dependencies: @@ -11868,32 +11886,32 @@ snapshots: '@babel/helper-environment-visitor@7.24.7': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/helper-function-name@7.24.7': dependencies: '@babel/template': 7.25.0 - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/helper-member-expression-to-functions@7.24.7': dependencies: - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 transitivePeerDependencies: - supports-color '@babel/helper-module-imports@7.18.6': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/helper-module-imports@7.22.15': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/helper-module-imports@7.24.7': dependencies: - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 transitivePeerDependencies: - supports-color @@ -11903,13 +11921,13 @@ snapshots: '@babel/helper-module-imports': 7.24.7 '@babel/helper-simple-access': 7.24.7 '@babel/helper-validator-identifier': 7.24.7 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.4 transitivePeerDependencies: - supports-color '@babel/helper-optimise-call-expression@7.24.7': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/helper-plugin-utils@7.24.8': {} @@ -11924,21 +11942,21 @@ snapshots: '@babel/helper-simple-access@7.24.7': dependencies: - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.24.7': dependencies: - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 transitivePeerDependencies: - supports-color '@babel/helper-split-export-declaration@7.24.7': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/helper-string-parser@7.24.8': {} @@ -11949,7 +11967,7 @@ snapshots: '@babel/helpers@7.25.0': dependencies: '@babel/template': 7.25.0 - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/highlight@7.24.7': dependencies: @@ -11958,9 +11976,9 @@ snapshots: js-tokens: 4.0.0 picocolors: 1.0.1 - '@babel/parser@7.25.3': + '@babel/parser@7.25.4': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/plugin-proposal-decorators@7.24.1(@babel/core@7.25.2)': dependencies: @@ -12020,7 +12038,7 @@ snapshots: '@babel/helper-module-imports': 7.24.7 '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 transitivePeerDependencies: - supports-color @@ -12041,22 +12059,22 @@ snapshots: '@babel/template@7.25.0': dependencies: '@babel/code-frame': 7.24.7 - '@babel/parser': 7.25.3 - '@babel/types': 7.25.2 + '@babel/parser': 7.25.4 + '@babel/types': 7.25.4 - '@babel/traverse@7.25.3': + '@babel/traverse@7.25.4': dependencies: '@babel/code-frame': 7.24.7 - '@babel/generator': 7.25.0 - '@babel/parser': 7.25.3 + '@babel/generator': 7.25.5 + '@babel/parser': 7.25.4 '@babel/template': 7.25.0 - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 debug: 4.3.6 globals: 11.12.0 transitivePeerDependencies: - supports-color - '@babel/types@7.25.2': + '@babel/types@7.25.4': dependencies: '@babel/helper-string-parser': 7.24.8 '@babel/helper-validator-identifier': 7.24.7 @@ -12181,7 +12199,7 @@ snapshots: '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 fs-extra: 7.0.1 - micromatch: 4.0.7 + micromatch: 4.0.8 '@changesets/errors@0.2.0': dependencies: @@ -12221,7 +12239,7 @@ snapshots: '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 is-subdir: 1.2.0 - micromatch: 4.0.7 + micromatch: 4.0.8 spawndamnit: 2.0.0 '@changesets/logger@0.1.0': @@ -12619,14 +12637,14 @@ snapshots: '@esbuild/win32-x64@0.21.5': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@9.9.0(jiti@1.21.0))': + '@eslint-community/eslint-utils@4.4.0(eslint@9.9.1(jiti@1.21.0))': dependencies: - eslint: 9.9.0(jiti@1.21.0) + eslint: 9.9.1(jiti@1.21.0) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.11.0': {} - '@eslint/config-array@0.17.1': + '@eslint/config-array@0.18.0': dependencies: '@eslint/object-schema': 2.1.4 debug: 4.3.6 @@ -12648,7 +12666,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@9.9.0': {} + '@eslint/js@9.9.1': {} '@eslint/object-schema@2.1.4': {} @@ -12781,9 +12799,9 @@ snapshots: dependencies: tslib: 2.6.2 - '@libsql/client@0.9.0': + '@libsql/client@0.10.0': dependencies: - '@libsql/core': 0.9.0 + '@libsql/core': 0.10.0 '@libsql/hrana-client': 0.6.2 js-base64: 3.7.7 libsql: 0.4.1 @@ -12792,7 +12810,7 @@ snapshots: - bufferutil - utf-8-validate - '@libsql/core@0.9.0': + '@libsql/core@0.10.0': dependencies: js-base64: 3.7.7 @@ -12915,10 +12933,10 @@ snapshots: - encoding - supports-color - '@markdoc/markdoc@0.4.0(@types/react@18.3.3)(react@18.3.1)': + '@markdoc/markdoc@0.4.0(@types/react@18.3.4)(react@18.3.1)': optionalDependencies: '@types/markdown-it': 12.2.3 - '@types/react': 18.3.3 + '@types/react': 18.3.4 react: 18.3.1 '@mdx-js/mdx@3.0.1': @@ -12945,13 +12963,13 @@ snapshots: unist-util-position-from-estree: 2.0.0 unist-util-stringify-position: 4.0.0 unist-util-visit: 5.0.0 - vfile: 6.0.2 + vfile: 6.0.3 transitivePeerDependencies: - supports-color - '@nanostores/preact@0.5.2(nanostores@0.11.2)(preact@10.23.2)': + '@nanostores/preact@0.5.2(nanostores@0.11.3)(preact@10.23.2)': dependencies: - nanostores: 0.11.2 + nanostores: 0.11.3 preact: 10.23.2 '@neon-rs/load@0.0.4': {} @@ -12983,12 +13001,12 @@ snapshots: '@polka/url@1.0.0-next.25': {} - '@preact/preset-vite@2.8.2(@babel/core@7.25.2)(preact@10.23.2)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))': + '@preact/preset-vite@2.8.2(@babel/core@7.25.2)(preact@10.23.2)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx': 7.25.2(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-development': 7.24.7(@babel/core@7.25.2) - '@prefresh/vite': 2.4.5(preact@10.23.2)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + '@prefresh/vite': 2.4.5(preact@10.23.2)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) '@rollup/pluginutils': 4.2.1 babel-plugin-transform-hook-names: 1.0.2(@babel/core@7.25.2) debug: 4.3.6 @@ -12998,7 +13016,7 @@ snapshots: resolve: 1.22.8 source-map: 0.7.4 stack-trace: 1.0.0-pre2 - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - preact - supports-color @@ -13018,7 +13036,7 @@ snapshots: '@prefresh/utils@1.2.0': {} - '@prefresh/vite@2.4.5(preact@10.23.2)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))': + '@prefresh/vite@2.4.5(preact@10.23.2)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))': dependencies: '@babel/core': 7.25.2 '@prefresh/babel-plugin': 0.5.1 @@ -13026,7 +13044,7 @@ snapshots: '@prefresh/utils': 1.2.0 '@rollup/pluginutils': 4.2.1 preact: 10.23.2 - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - supports-color @@ -13035,60 +13053,60 @@ snapshots: estree-walker: 2.0.2 picomatch: 2.3.1 - '@rollup/pluginutils@5.1.0(rollup@4.21.0)': + '@rollup/pluginutils@5.1.0(rollup@4.21.1)': dependencies: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: - rollup: 4.21.0 + rollup: 4.21.1 - '@rollup/rollup-android-arm-eabi@4.21.0': + '@rollup/rollup-android-arm-eabi@4.21.1': optional: true - '@rollup/rollup-android-arm64@4.21.0': + '@rollup/rollup-android-arm64@4.21.1': optional: true - '@rollup/rollup-darwin-arm64@4.21.0': + '@rollup/rollup-darwin-arm64@4.21.1': optional: true - '@rollup/rollup-darwin-x64@4.21.0': + '@rollup/rollup-darwin-x64@4.21.1': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.21.0': + '@rollup/rollup-linux-arm-gnueabihf@4.21.1': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.21.0': + '@rollup/rollup-linux-arm-musleabihf@4.21.1': optional: true - '@rollup/rollup-linux-arm64-gnu@4.21.0': + '@rollup/rollup-linux-arm64-gnu@4.21.1': optional: true - '@rollup/rollup-linux-arm64-musl@4.21.0': + '@rollup/rollup-linux-arm64-musl@4.21.1': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.21.0': + '@rollup/rollup-linux-powerpc64le-gnu@4.21.1': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.21.0': + '@rollup/rollup-linux-riscv64-gnu@4.21.1': optional: true - '@rollup/rollup-linux-s390x-gnu@4.21.0': + '@rollup/rollup-linux-s390x-gnu@4.21.1': optional: true - '@rollup/rollup-linux-x64-gnu@4.21.0': + '@rollup/rollup-linux-x64-gnu@4.21.1': optional: true - '@rollup/rollup-linux-x64-musl@4.21.0': + '@rollup/rollup-linux-x64-musl@4.21.1': optional: true - '@rollup/rollup-win32-arm64-msvc@4.21.0': + '@rollup/rollup-win32-arm64-msvc@4.21.1': optional: true - '@rollup/rollup-win32-ia32-msvc@4.21.0': + '@rollup/rollup-win32-ia32-msvc@4.21.1': optional: true - '@rollup/rollup-win32-x64-msvc@4.21.0': + '@rollup/rollup-win32-x64-msvc@4.21.1': optional: true '@shikijs/core@1.14.1': @@ -13097,30 +13115,30 @@ snapshots: '@sindresorhus/merge-streams@2.3.0': {} - '@solidjs/router@0.14.3(solid-js@1.8.21)': + '@solidjs/router@0.14.3(solid-js@1.8.22)': dependencies: - solid-js: 1.8.21 + solid-js: 1.8.22 - '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)))(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))': + '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)))(svelte@4.2.19)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.19)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) debug: 4.3.6 - svelte: 4.2.18 - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + svelte: 4.2.19 + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))': + '@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)))(svelte@4.2.18)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)))(svelte@4.2.19)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) debug: 4.3.6 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.11 - svelte: 4.2.18 - svelte-hmr: 0.16.0(svelte@4.2.18) - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) - vitefu: 0.2.5(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + svelte: 4.2.19 + svelte-hmr: 0.16.0(svelte@4.2.19) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) + vitefu: 0.2.5(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) transitivePeerDependencies: - supports-color @@ -13141,24 +13159,24 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.25.3 - '@babel/types': 7.25.2 + '@babel/parser': 7.25.4 + '@babel/types': 7.25.4 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.6 '@types/babel__generator@7.6.8': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@types/babel__template@7.4.4': dependencies: - '@babel/parser': 7.25.3 - '@babel/types': 7.25.2 + '@babel/parser': 7.25.4 + '@babel/types': 7.25.4 '@types/babel__traverse@7.20.6': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@types/body-parser@1.19.5': dependencies: @@ -13296,9 +13314,9 @@ snapshots: '@types/react-dom@18.3.0': dependencies: - '@types/react': 18.3.3 + '@types/react': 18.3.4 - '@types/react@18.3.3': + '@types/react@18.3.4': dependencies: '@types/prop-types': 15.7.12 csstype: 3.1.3 @@ -13322,7 +13340,7 @@ snapshots: '@types/node': 18.19.31 '@types/send': 0.17.4 - '@types/server-destroy@1.0.3': + '@types/server-destroy@1.0.4': dependencies: '@types/node': 18.19.31 @@ -13350,15 +13368,15 @@ snapshots: '@types/yargs-parser@21.0.3': {} - '@typescript-eslint/eslint-plugin@8.1.0(@typescript-eslint/parser@8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@8.3.0(@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) - '@typescript-eslint/scope-manager': 8.1.0 - '@typescript-eslint/type-utils': 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) - '@typescript-eslint/utils': 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.1.0 - eslint: 9.9.0(jiti@1.21.0) + '@typescript-eslint/parser': 8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.3.0 + '@typescript-eslint/type-utils': 8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/utils': 8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.3.0 + eslint: 9.9.1(jiti@1.21.0) graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 @@ -13368,28 +13386,28 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4)': + '@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4)': dependencies: - '@typescript-eslint/scope-manager': 8.1.0 - '@typescript-eslint/types': 8.1.0 - '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.1.0 + '@typescript-eslint/scope-manager': 8.3.0 + '@typescript-eslint/types': 8.3.0 + '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.3.0 debug: 4.3.6 - eslint: 9.9.0(jiti@1.21.0) + eslint: 9.9.1(jiti@1.21.0) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.1.0': + '@typescript-eslint/scope-manager@8.3.0': dependencies: - '@typescript-eslint/types': 8.1.0 - '@typescript-eslint/visitor-keys': 8.1.0 + '@typescript-eslint/types': 8.3.0 + '@typescript-eslint/visitor-keys': 8.3.0 - '@typescript-eslint/type-utils@8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4)': + '@typescript-eslint/type-utils@8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4)': dependencies: - '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.5.4) - '@typescript-eslint/utils': 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) + '@typescript-eslint/utils': 8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4) debug: 4.3.6 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: @@ -13398,14 +13416,14 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@8.1.0': {} + '@typescript-eslint/types@8.3.0': {} - '@typescript-eslint/typescript-estree@8.1.0(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@8.3.0(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 8.1.0 - '@typescript-eslint/visitor-keys': 8.1.0 + '@typescript-eslint/types': 8.3.0 + '@typescript-eslint/visitor-keys': 8.3.0 debug: 4.3.6 - globby: 11.1.0 + fast-glob: 3.3.2 is-glob: 4.0.3 minimatch: 9.0.4 semver: 7.6.3 @@ -13415,20 +13433,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4)': + '@typescript-eslint/utils@8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.0(jiti@1.21.0)) - '@typescript-eslint/scope-manager': 8.1.0 - '@typescript-eslint/types': 8.1.0 - '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.5.4) - eslint: 9.9.0(jiti@1.21.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1(jiti@1.21.0)) + '@typescript-eslint/scope-manager': 8.3.0 + '@typescript-eslint/types': 8.3.0 + '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) + eslint: 9.9.1(jiti@1.21.0) transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@8.1.0': + '@typescript-eslint/visitor-keys@8.3.0': dependencies: - '@typescript-eslint/types': 8.1.0 + '@typescript-eslint/types': 8.3.0 eslint-visitor-keys: 3.4.3 '@typescript/twoslash@3.1.0': @@ -13472,37 +13490,37 @@ snapshots: estree-walker: 2.0.2 glob: 7.2.3 graceful-fs: 4.2.11 - micromatch: 4.0.7 + micromatch: 4.0.8 node-gyp-build: 4.8.0 resolve-from: 5.0.0 transitivePeerDependencies: - encoding - supports-color - '@vitejs/plugin-react@4.3.1(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))': + '@vitejs/plugin-react@4.3.1(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-source': 7.24.1(@babel/core@7.25.2) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue-jsx@4.0.1(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4))': + '@vitejs/plugin-vue-jsx@4.0.1(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-typescript': 7.24.7(@babel/core@7.25.2) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.25.2) - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) vue: 3.4.38(typescript@5.5.4) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.1.2(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4))': + '@vitejs/plugin-vue@5.1.2(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4))': dependencies: - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) vue: 3.4.38(typescript@5.5.4) '@vitest/expect@2.0.5': @@ -13596,8 +13614,8 @@ snapshots: '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) '@babel/template': 7.25.0 - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 '@vue/babel-helper-vue-transform-on': 1.2.2 '@vue/babel-plugin-resolve-type': 1.2.2(@babel/core@7.25.2) camelcase: 6.3.0 @@ -13614,12 +13632,12 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-module-imports': 7.22.15 '@babel/helper-plugin-utils': 7.24.8 - '@babel/parser': 7.25.3 + '@babel/parser': 7.25.4 '@vue/compiler-sfc': 3.4.38 '@vue/compiler-core@3.4.38': dependencies: - '@babel/parser': 7.25.3 + '@babel/parser': 7.25.4 '@vue/shared': 3.4.38 entities: 4.5.0 estree-walker: 2.0.2 @@ -13632,7 +13650,7 @@ snapshots: '@vue/compiler-sfc@3.4.38': dependencies: - '@babel/parser': 7.25.3 + '@babel/parser': 7.25.4 '@vue/compiler-core': 3.4.38 '@vue/compiler-dom': 3.4.38 '@vue/compiler-ssr': 3.4.38 @@ -13647,21 +13665,21 @@ snapshots: '@vue/compiler-dom': 3.4.38 '@vue/shared': 3.4.38 - '@vue/devtools-core@7.3.8(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4))': + '@vue/devtools-core@7.3.9(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4))': dependencies: - '@vue/devtools-kit': 7.3.8 - '@vue/devtools-shared': 7.3.8 + '@vue/devtools-kit': 7.3.9 + '@vue/devtools-shared': 7.3.9 mitt: 3.0.1 nanoid: 3.3.7 pathe: 1.1.2 - vite-hot-client: 0.2.3(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + vite-hot-client: 0.2.3(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) vue: 3.4.38(typescript@5.5.4) transitivePeerDependencies: - vite - '@vue/devtools-kit@7.3.8': + '@vue/devtools-kit@7.3.9': dependencies: - '@vue/devtools-shared': 7.3.8 + '@vue/devtools-shared': 7.3.9 birpc: 0.2.17 hookable: 5.5.3 mitt: 3.0.1 @@ -13669,7 +13687,7 @@ snapshots: speakingurl: 14.0.1 superjson: 2.2.1 - '@vue/devtools-shared@7.3.8': + '@vue/devtools-shared@7.3.9': dependencies: rfdc: 1.4.1 @@ -13884,7 +13902,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-module-imports': 7.18.6 '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 html-entities: 2.3.3 validate-html-nesting: 1.2.2 @@ -14068,7 +14086,7 @@ snapshots: parse5: 7.1.2 parse5-htmlparser2-tree-adapter: 7.0.0 parse5-parser-stream: 7.1.2 - undici: 6.19.7 + undici: 6.19.8 whatwg-mimetype: 4.0.0 chokidar@3.6.0: @@ -14103,6 +14121,10 @@ snapshots: dependencies: restore-cursor: 4.0.0 + cli-cursor@5.0.0: + dependencies: + restore-cursor: 5.1.0 + cli-spinners@2.9.2: {} cli-table3@0.6.4: @@ -14375,10 +14397,10 @@ snapshots: dotenv@8.6.0: {} - drizzle-orm@0.31.4(@libsql/client@0.9.0)(@types/react@18.3.3)(react@18.3.1): + drizzle-orm@0.31.4(@libsql/client@0.10.0)(@types/react@18.3.4)(react@18.3.1): optionalDependencies: - '@libsql/client': 0.9.0 - '@types/react': 18.3.3 + '@libsql/client': 0.10.0 + '@types/react': 18.3.4 react: 18.3.1 dset@3.1.3: {} @@ -14477,12 +14499,12 @@ snapshots: eslint-plugin-no-only-tests@3.3.0: {} - eslint-plugin-regexp@2.6.0(eslint@9.9.0(jiti@1.21.0)): + eslint-plugin-regexp@2.6.0(eslint@9.9.1(jiti@1.21.0)): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.0(jiti@1.21.0)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1(jiti@1.21.0)) '@eslint-community/regexpp': 4.11.0 comment-parser: 1.4.1 - eslint: 9.9.0(jiti@1.21.0) + eslint: 9.9.1(jiti@1.21.0) jsdoc-type-pratt-parser: 4.0.0 refa: 0.12.1 regexp-ast-analysis: 0.7.1 @@ -14497,13 +14519,13 @@ snapshots: eslint-visitor-keys@4.0.0: {} - eslint@9.9.0(jiti@1.21.0): + eslint@9.9.1(jiti@1.21.0): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.0(jiti@1.21.0)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1(jiti@1.21.0)) '@eslint-community/regexpp': 4.11.0 - '@eslint/config-array': 0.17.1 + '@eslint/config-array': 0.18.0 '@eslint/eslintrc': 3.1.0 - '@eslint/js': 9.9.0 + '@eslint/js': 9.9.1 '@humanwhocodes/module-importer': 1.0.1 '@humanwhocodes/retry': 0.3.0 '@nodelib/fs.walk': 1.2.8 @@ -14606,7 +14628,7 @@ snapshots: signal-exit: 4.1.0 strip-final-newline: 3.0.0 - expect-type@0.19.0: {} + expect-type@0.20.0: {} express@4.19.2: dependencies: @@ -14666,7 +14688,7 @@ snapshots: '@nodelib/fs.walk': 1.2.8 glob-parent: 5.1.2 merge2: 1.4.1 - micromatch: 4.0.7 + micromatch: 4.0.8 fast-json-stable-stringify@2.1.0: {} @@ -14725,7 +14747,7 @@ snapshots: find-yarn-workspace-root2@1.2.16: dependencies: - micromatch: 4.0.7 + micromatch: 4.0.8 pkg-dir: 4.2.0 flat-cache@4.0.1: @@ -14927,13 +14949,13 @@ snapshots: hastscript: 8.0.0 web-namespaces: 2.0.1 - hast-util-from-html@2.0.1: + hast-util-from-html@2.0.2: dependencies: '@types/hast': 3.0.4 devlop: 1.1.0 hast-util-from-parse5: 8.0.1 parse5: 7.1.2 - vfile: 6.0.2 + vfile: 6.0.3 vfile-message: 4.0.2 hast-util-from-parse5@8.0.1: @@ -14943,7 +14965,7 @@ snapshots: devlop: 1.1.0 hastscript: 8.0.0 property-information: 6.5.0 - vfile: 6.0.2 + vfile: 6.0.3 vfile-location: 5.0.2 web-namespaces: 2.0.1 @@ -14975,7 +14997,7 @@ snapshots: parse5: 7.1.2 unist-util-position: 5.0.0 unist-util-visit: 5.0.0 - vfile: 6.0.2 + vfile: 6.0.3 web-namespaces: 2.0.1 zwitch: 2.0.4 @@ -15009,7 +15031,7 @@ snapshots: estree-util-is-identifier-name: 3.0.0 hast-util-whitespace: 3.0.0 mdast-util-mdx-expression: 2.0.0 - mdast-util-mdx-jsx: 3.1.2 + mdast-util-mdx-jsx: 3.1.3 mdast-util-mdxjs-esm: 2.0.1 property-information: 6.5.0 space-separated-tokens: 2.0.2 @@ -15019,13 +15041,12 @@ snapshots: transitivePeerDependencies: - supports-color - hast-util-to-html@9.0.1: + hast-util-to-html@9.0.2: dependencies: '@types/hast': 3.0.4 '@types/unist': 3.0.3 ccount: 2.0.1 comma-separated-tokens: 2.0.3 - hast-util-raw: 9.0.2 hast-util-whitespace: 3.0.0 html-void-elements: 3.0.0 mdast-util-to-hast: 13.1.0 @@ -15044,7 +15065,7 @@ snapshots: estree-util-is-identifier-name: 3.0.0 hast-util-whitespace: 3.0.0 mdast-util-mdx-expression: 2.0.0 - mdast-util-mdx-jsx: 3.1.2 + mdast-util-mdx-jsx: 3.1.3 mdast-util-mdxjs-esm: 2.0.1 property-information: 6.5.0 space-separated-tokens: 2.0.2 @@ -15673,7 +15694,7 @@ snapshots: transitivePeerDependencies: - supports-color - mdast-util-mdx-jsx@3.1.2: + mdast-util-mdx-jsx@3.1.3: dependencies: '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.4 @@ -15685,7 +15706,6 @@ snapshots: mdast-util-to-markdown: 2.1.0 parse-entities: 4.0.1 stringify-entities: 4.0.4 - unist-util-remove-position: 5.0.0 unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 transitivePeerDependencies: @@ -15695,7 +15715,7 @@ snapshots: dependencies: mdast-util-from-markdown: 2.0.0 mdast-util-mdx-expression: 2.0.0 - mdast-util-mdx-jsx: 3.1.2 + mdast-util-mdx-jsx: 3.1.3 mdast-util-mdxjs-esm: 2.0.1 mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: @@ -15727,7 +15747,7 @@ snapshots: trim-lines: 3.0.1 unist-util-position: 5.0.0 unist-util-visit: 5.0.0 - vfile: 6.0.2 + vfile: 6.0.3 mdast-util-to-markdown@2.1.0: dependencies: @@ -16057,7 +16077,7 @@ snapshots: transitivePeerDependencies: - supports-color - micromatch@4.0.7: + micromatch@4.0.8: dependencies: braces: 3.0.3 picomatch: 2.3.1 @@ -16074,6 +16094,8 @@ snapshots: mimic-fn@4.0.0: {} + mimic-function@5.0.1: {} + mini-svg-data-uri@1.4.4: {} minimatch@3.1.2: @@ -16127,7 +16149,7 @@ snapshots: nanoid@5.0.7: {} - nanostores@0.11.2: {} + nanostores@0.11.3: {} natural-compare@1.4.0: {} @@ -16245,6 +16267,10 @@ snapshots: dependencies: mimic-fn: 4.0.0 + onetime@7.0.0: + dependencies: + mimic-function: 5.0.1 + only-allow@1.2.1: dependencies: which-pm-runs: 1.1.0 @@ -16267,10 +16293,10 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 - ora@8.0.1: + ora@8.1.0: dependencies: chalk: 5.3.0 - cli-cursor: 4.0.0 + cli-cursor: 5.0.0 cli-spinners: 2.9.2 is-interactive: 2.0.0 is-unicode-supported: 2.0.0 @@ -16346,7 +16372,7 @@ snapshots: nlcst-to-string: 4.0.0 unist-util-modify-children: 4.0.0 unist-util-visit-children: 3.0.0 - vfile: 6.0.2 + vfile: 6.0.3 parse-numeric-range@1.3.0: {} @@ -16842,7 +16868,7 @@ snapshots: rehype-parse@9.0.0: dependencies: '@types/hast': 3.0.4 - hast-util-from-html: 2.0.1 + hast-util-from-html: 2.0.2 unified: 11.0.5 rehype-pretty-code@0.13.2(shiki@1.14.1): @@ -16859,7 +16885,7 @@ snapshots: dependencies: '@types/hast': 3.0.4 hast-util-raw: 9.0.2 - vfile: 6.0.2 + vfile: 6.0.3 rehype-slug@6.0.0: dependencies: @@ -16872,7 +16898,7 @@ snapshots: rehype-stringify@10.0.0: dependencies: '@types/hast': 3.0.4 - hast-util-to-html: 9.0.1 + hast-util-to-html: 9.0.2 unified: 11.0.5 rehype-toc@3.0.2: @@ -16936,7 +16962,7 @@ snapshots: '@types/mdast': 4.0.4 mdast-util-to-hast: 13.1.0 unified: 11.0.5 - vfile: 6.0.2 + vfile: 6.0.3 remark-shiki-twoslash@3.1.3(typescript@5.5.4): dependencies: @@ -16996,6 +17022,11 @@ snapshots: onetime: 5.1.2 signal-exit: 3.0.7 + restore-cursor@5.1.0: + dependencies: + onetime: 7.0.0 + signal-exit: 4.1.0 + retext-latin@4.0.0: dependencies: '@types/nlcst': 2.0.3 @@ -17031,26 +17062,26 @@ snapshots: dependencies: glob: 7.2.3 - rollup@4.21.0: + rollup@4.21.1: dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.21.0 - '@rollup/rollup-android-arm64': 4.21.0 - '@rollup/rollup-darwin-arm64': 4.21.0 - '@rollup/rollup-darwin-x64': 4.21.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.21.0 - '@rollup/rollup-linux-arm-musleabihf': 4.21.0 - '@rollup/rollup-linux-arm64-gnu': 4.21.0 - '@rollup/rollup-linux-arm64-musl': 4.21.0 - '@rollup/rollup-linux-powerpc64le-gnu': 4.21.0 - '@rollup/rollup-linux-riscv64-gnu': 4.21.0 - '@rollup/rollup-linux-s390x-gnu': 4.21.0 - '@rollup/rollup-linux-x64-gnu': 4.21.0 - '@rollup/rollup-linux-x64-musl': 4.21.0 - '@rollup/rollup-win32-arm64-msvc': 4.21.0 - '@rollup/rollup-win32-ia32-msvc': 4.21.0 - '@rollup/rollup-win32-x64-msvc': 4.21.0 + '@rollup/rollup-android-arm-eabi': 4.21.1 + '@rollup/rollup-android-arm64': 4.21.1 + '@rollup/rollup-darwin-arm64': 4.21.1 + '@rollup/rollup-darwin-x64': 4.21.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.21.1 + '@rollup/rollup-linux-arm-musleabihf': 4.21.1 + '@rollup/rollup-linux-arm64-gnu': 4.21.1 + '@rollup/rollup-linux-arm64-musl': 4.21.1 + '@rollup/rollup-linux-powerpc64le-gnu': 4.21.1 + '@rollup/rollup-linux-riscv64-gnu': 4.21.1 + '@rollup/rollup-linux-s390x-gnu': 4.21.1 + '@rollup/rollup-linux-x64-gnu': 4.21.1 + '@rollup/rollup-linux-x64-musl': 4.21.1 + '@rollup/rollup-win32-arm64-msvc': 4.21.1 + '@rollup/rollup-win32-ia32-msvc': 4.21.1 + '@rollup/rollup-win32-x64-msvc': 4.21.1 fsevents: 2.3.3 rrweb-cssom@0.6.0: {} @@ -17265,18 +17296,18 @@ snapshots: smartypants@0.2.2: {} - solid-js@1.8.21: + solid-js@1.8.22: dependencies: csstype: 3.1.3 seroval: 1.1.1 seroval-plugins: 1.1.1(seroval@1.1.1) - solid-refresh@0.6.3(solid-js@1.8.21): + solid-refresh@0.6.3(solid-js@1.8.22): dependencies: - '@babel/generator': 7.25.0 + '@babel/generator': 7.25.5 '@babel/helper-module-imports': 7.24.7 - '@babel/types': 7.25.2 - solid-js: 1.8.21 + '@babel/types': 7.25.4 + solid-js: 1.8.22 transitivePeerDependencies: - supports-color @@ -17407,18 +17438,18 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svelte-hmr@0.16.0(svelte@4.2.18): + svelte-hmr@0.16.0(svelte@4.2.19): dependencies: - svelte: 4.2.18 + svelte: 4.2.19 - svelte2tsx@0.7.15(svelte@4.2.18)(typescript@5.5.4): + svelte2tsx@0.7.16(svelte@4.2.19)(typescript@5.5.4): dependencies: dedent-js: 1.0.1 pascal-case: 3.1.2 - svelte: 4.2.18 + svelte: 4.2.19 typescript: 5.5.4 - svelte@4.2.18: + svelte@4.2.19: dependencies: '@ampproject/remapping': 2.3.0 '@jridgewell/sourcemap-codec': 1.5.0 @@ -17461,7 +17492,7 @@ snapshots: is-glob: 4.0.3 jiti: 1.21.0 lilconfig: 2.1.0 - micromatch: 4.0.7 + micromatch: 4.0.8 normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.0.1 @@ -17567,32 +17598,32 @@ snapshots: tslib@2.6.2: {} - turbo-darwin-64@2.0.14: + turbo-darwin-64@2.1.0: optional: true - turbo-darwin-arm64@2.0.14: + turbo-darwin-arm64@2.1.0: optional: true - turbo-linux-64@2.0.14: + turbo-linux-64@2.1.0: optional: true - turbo-linux-arm64@2.0.14: + turbo-linux-arm64@2.1.0: optional: true - turbo-windows-64@2.0.14: + turbo-windows-64@2.1.0: optional: true - turbo-windows-arm64@2.0.14: + turbo-windows-arm64@2.1.0: optional: true - turbo@2.0.14: + turbo@2.1.0: optionalDependencies: - turbo-darwin-64: 2.0.14 - turbo-darwin-arm64: 2.0.14 - turbo-linux-64: 2.0.14 - turbo-linux-arm64: 2.0.14 - turbo-windows-64: 2.0.14 - turbo-windows-arm64: 2.0.14 + turbo-darwin-64: 2.1.0 + turbo-darwin-arm64: 2.1.0 + turbo-linux-64: 2.1.0 + turbo-linux-arm64: 2.1.0 + turbo-windows-64: 2.1.0 + turbo-windows-arm64: 2.1.0 type-check@0.4.0: dependencies: @@ -17609,7 +17640,7 @@ snapshots: types-react-dom@19.0.0-alpha.3: dependencies: - '@types/react': 18.3.3 + '@types/react': 18.3.4 types-react@19.0.0-alpha.3: dependencies: @@ -17621,11 +17652,11 @@ snapshots: dependencies: semver: 7.6.3 - typescript-eslint@8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4): + typescript-eslint@8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4): dependencies: - '@typescript-eslint/eslint-plugin': 8.1.0(@typescript-eslint/parser@8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) - '@typescript-eslint/parser': 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) - '@typescript-eslint/utils': 8.1.0(eslint@9.9.0(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 8.3.0(@typescript-eslint/parser@8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/parser': 8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4) + '@typescript-eslint/utils': 8.3.0(eslint@9.9.1(jiti@1.21.0))(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -17644,7 +17675,7 @@ snapshots: undici-types@5.26.5: {} - undici@6.19.7: {} + undici@6.19.8: {} unicorn-magic@0.1.0: {} @@ -17656,7 +17687,7 @@ snapshots: extend: 3.0.2 is-plain-obj: 4.1.0 trough: 2.2.0 - vfile: 6.0.2 + vfile: 6.0.3 unist-util-find-after@5.0.0: dependencies: @@ -17774,22 +17805,21 @@ snapshots: vfile-location@5.0.2: dependencies: '@types/unist': 3.0.3 - vfile: 6.0.2 + vfile: 6.0.3 vfile-message@4.0.2: dependencies: '@types/unist': 3.0.3 unist-util-stringify-position: 4.0.0 - vfile@6.0.2: + vfile@6.0.3: dependencies: '@types/unist': 3.0.3 - unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - vite-hot-client@0.2.3(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)): + vite-hot-client@0.2.3(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)): dependencies: - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) vite-node@2.0.5(@types/node@18.19.31)(sass@1.77.8): dependencies: @@ -17797,7 +17827,7 @@ snapshots: debug: 4.3.6 pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - '@types/node' - less @@ -17809,10 +17839,10 @@ snapshots: - supports-color - terser - vite-plugin-inspect@0.8.5(rollup@4.21.0)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)): + vite-plugin-inspect@0.8.5(rollup@4.21.1)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)): dependencies: '@antfu/utils': 0.7.10 - '@rollup/pluginutils': 5.1.0(rollup@4.21.0) + '@rollup/pluginutils': 5.1.0(rollup@4.21.1) debug: 4.3.6 error-stack-parser-es: 0.1.5 fs-extra: 11.2.0 @@ -17820,41 +17850,41 @@ snapshots: perfect-debounce: 1.0.0 picocolors: 1.0.1 sirv: 2.0.4 - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - rollup - supports-color - vite-plugin-solid@2.10.2(solid-js@1.8.21)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)): + vite-plugin-solid@2.10.2(solid-js@1.8.22)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)): dependencies: '@babel/core': 7.25.2 '@types/babel__core': 7.20.5 babel-preset-solid: 1.8.16(@babel/core@7.25.2) merge-anything: 5.1.7 - solid-js: 1.8.21 - solid-refresh: 0.6.3(solid-js@1.8.21) - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) - vitefu: 0.2.5(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + solid-js: 1.8.22 + solid-refresh: 0.6.3(solid-js@1.8.22) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) + vitefu: 0.2.5(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) transitivePeerDependencies: - supports-color - vite-plugin-vue-devtools@7.3.8(rollup@4.21.0)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)): + vite-plugin-vue-devtools@7.3.9(rollup@4.21.1)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)): dependencies: - '@vue/devtools-core': 7.3.8(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)) - '@vue/devtools-kit': 7.3.8 - '@vue/devtools-shared': 7.3.8 + '@vue/devtools-core': 7.3.9(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8))(vue@3.4.38(typescript@5.5.4)) + '@vue/devtools-kit': 7.3.9 + '@vue/devtools-shared': 7.3.9 execa: 8.0.1 sirv: 2.0.4 - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) - vite-plugin-inspect: 0.8.5(rollup@4.21.0)(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) - vite-plugin-vue-inspector: 5.1.3(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) + vite-plugin-inspect: 0.8.5(rollup@4.21.1)(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) + vite-plugin-vue-inspector: 5.1.3(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)) transitivePeerDependencies: - '@nuxt/kit' - rollup - supports-color - vue - vite-plugin-vue-inspector@5.1.3(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)): + vite-plugin-vue-inspector@5.1.3(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)): dependencies: '@babel/core': 7.25.2 '@babel/plugin-proposal-decorators': 7.24.1(@babel/core@7.25.2) @@ -17865,7 +17895,7 @@ snapshots: '@vue/compiler-dom': 3.4.38 kolorist: 1.8.0 magic-string: 0.30.11 - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) transitivePeerDependencies: - supports-color @@ -17874,19 +17904,19 @@ snapshots: svgo: 3.2.0 vue: 3.4.38(typescript@5.5.4) - vite@5.4.1(@types/node@18.19.31)(sass@1.77.8): + vite@5.4.2(@types/node@18.19.31)(sass@1.77.8): dependencies: esbuild: 0.21.5 postcss: 8.4.41 - rollup: 4.21.0 + rollup: 4.21.1 optionalDependencies: '@types/node': 18.19.31 fsevents: 2.3.3 sass: 1.77.8 - vitefu@0.2.5(vite@5.4.1(@types/node@18.19.31)(sass@1.77.8)): + vitefu@0.2.5(vite@5.4.2(@types/node@18.19.31)(sass@1.77.8)): optionalDependencies: - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) vitest@2.0.5(@types/node@18.19.31)(jsdom@23.2.0)(sass@1.77.8): dependencies: @@ -17906,7 +17936,7 @@ snapshots: tinybench: 2.8.0 tinypool: 1.0.0 tinyrainbow: 1.2.0 - vite: 5.4.1(@types/node@18.19.31)(sass@1.77.8) + vite: 5.4.2(@types/node@18.19.31)(sass@1.77.8) vite-node: 2.0.5(@types/node@18.19.31)(sass@1.77.8) why-is-node-running: 2.3.0 optionalDependencies: From 5f2536b51df93bfd51098c48220d647e7ad3954c Mon Sep 17 00:00:00 2001 From: Phil Date: Wed, 28 Aug 2024 12:41:35 +0200 Subject: [PATCH 51/66] fix: handle preact signals in array correctly (#11834) * fix: handle preact signals in array correctly * feat: serialize signals in object --- .changeset/eleven-cameras-sing.md | 5 ++ .../src/components/SignalsInArray.jsx | 8 +++ .../src/components/SignalsInObject.jsx | 8 +++ .../preact-component/src/pages/signals.astro | 5 ++ packages/astro/test/preact-component.test.js | 40 ++++++++++++++ packages/integrations/preact/src/client.ts | 31 +++++++++-- packages/integrations/preact/src/signals.ts | 55 +++++++++++++++---- packages/integrations/preact/src/types.ts | 6 +- 8 files changed, 141 insertions(+), 17 deletions(-) create mode 100644 .changeset/eleven-cameras-sing.md create mode 100644 packages/astro/test/fixtures/preact-component/src/components/SignalsInArray.jsx create mode 100644 packages/astro/test/fixtures/preact-component/src/components/SignalsInObject.jsx diff --git a/.changeset/eleven-cameras-sing.md b/.changeset/eleven-cameras-sing.md new file mode 100644 index 0000000000..51092c495a --- /dev/null +++ b/.changeset/eleven-cameras-sing.md @@ -0,0 +1,5 @@ +--- +'@astrojs/preact': patch +--- + +Preact signals are now serialized correctly in arrays when they are given to components. diff --git a/packages/astro/test/fixtures/preact-component/src/components/SignalsInArray.jsx b/packages/astro/test/fixtures/preact-component/src/components/SignalsInArray.jsx new file mode 100644 index 0000000000..69940f7306 --- /dev/null +++ b/packages/astro/test/fixtures/preact-component/src/components/SignalsInArray.jsx @@ -0,0 +1,8 @@ +import { h } from 'preact'; + +export default ({ signalsArray }) => { + return
+

{signalsArray[0]} {signalsArray[3]}

+

{signalsArray[1].value}-{signalsArray[2].value}-{signalsArray[4].value}

+
+} diff --git a/packages/astro/test/fixtures/preact-component/src/components/SignalsInObject.jsx b/packages/astro/test/fixtures/preact-component/src/components/SignalsInObject.jsx new file mode 100644 index 0000000000..6187ce8c59 --- /dev/null +++ b/packages/astro/test/fixtures/preact-component/src/components/SignalsInObject.jsx @@ -0,0 +1,8 @@ +import { h } from 'preact'; + +export default ({ signalsObject }) => { + return
+

{signalsObject.title}

+

{signalsObject.counter.value}

+
+} diff --git a/packages/astro/test/fixtures/preact-component/src/pages/signals.astro b/packages/astro/test/fixtures/preact-component/src/pages/signals.astro index b68fde36d6..37b43a73c7 100644 --- a/packages/astro/test/fixtures/preact-component/src/pages/signals.astro +++ b/packages/astro/test/fixtures/preact-component/src/pages/signals.astro @@ -1,7 +1,10 @@ --- import { signal } from '@preact/signals'; import Signals from '../components/Signals'; +import SignalsInArray from '../components/SignalsInArray'; +import SignalsInObject from '../components/SignalsInObject'; const count = signal(1); +const secondCount = signal(2); --- @@ -10,5 +13,7 @@ const count = signal(1); + + diff --git a/packages/astro/test/preact-component.test.js b/packages/astro/test/preact-component.test.js index e8c89d5bf4..f5b5c7233b 100644 --- a/packages/astro/test/preact-component.test.js +++ b/packages/astro/test/preact-component.test.js @@ -100,4 +100,44 @@ describe('Preact component', () => { assert.notEqual(sigs1.count, undefined); assert.equal(sigs1.count, sigs2.count); }); + + it('Can use signals in array', async () => { + const html = await fixture.readFile('/signals/index.html'); + const $ = cheerio.load(html); + const element = $('.preact-signal-array'); + assert.equal(element.length, 1); + + const sigs1Raw = $($('astro-island')[2]).attr('data-preact-signals'); + + const sigs1 = JSON.parse(sigs1Raw); + + assert.deepEqual(sigs1, { + signalsArray: [ + ['p0', 1], + ['p0', 2], + ['p1', 4], + ], + }); + + assert.equal(element.find('h1').text(), "I'm not a signal 12345"); + assert.equal(element.find('p').text(), '1-1-2'); + }); + + it('Can use signals in object', async () => { + const html = await fixture.readFile('/signals/index.html'); + const $ = cheerio.load(html); + const element = $('.preact-signal-object'); + assert.equal(element.length, 1); + + const sigs1Raw = $($('astro-island')[3]).attr('data-preact-signals'); + + const sigs1 = JSON.parse(sigs1Raw); + + assert.deepEqual(sigs1, { + signalsObject: [['p0', 'counter']], + }); + + assert.equal(element.find('h1').text(), 'I am a title'); + assert.equal(element.find('p').text(), '1'); + }); }); diff --git a/packages/integrations/preact/src/client.ts b/packages/integrations/preact/src/client.ts index 3fb36d22a1..fa20a99283 100644 --- a/packages/integrations/preact/src/client.ts +++ b/packages/integrations/preact/src/client.ts @@ -18,13 +18,34 @@ export default (element: HTMLElement) => let signalsRaw = element.dataset.preactSignals; if (signalsRaw) { const { signal } = await import('@preact/signals'); - let signals: Record = JSON.parse(element.dataset.preactSignals!); + let signals: Record = JSON.parse( + element.dataset.preactSignals!, + ); for (const [propName, signalId] of Object.entries(signals)) { - if (!sharedSignalMap.has(signalId)) { - const signalValue = signal(props[propName]); - sharedSignalMap.set(signalId, signalValue); + if (Array.isArray(signalId)) { + signalId.forEach(([id, indexOrKeyInProps]) => { + const mapValue = props[propName][indexOrKeyInProps]; + let valueOfSignal = mapValue; + + // not an property key + if(typeof indexOrKeyInProps !== 'string') { + valueOfSignal = mapValue[0]; + indexOrKeyInProps = mapValue[1]; + } + + if (!sharedSignalMap.has(id)) { + const signalValue = signal(valueOfSignal); + sharedSignalMap.set(id, signalValue); + } + props[propName][indexOrKeyInProps] = sharedSignalMap.get(id); + }); + } else { + if (!sharedSignalMap.has(signalId)) { + const signalValue = signal(props[propName]); + sharedSignalMap.set(signalId, signalValue); + } + props[propName] = sharedSignalMap.get(signalId); } - props[propName] = sharedSignalMap.get(signalId); } } diff --git a/packages/integrations/preact/src/signals.ts b/packages/integrations/preact/src/signals.ts index ea022b4222..f8bae590fa 100644 --- a/packages/integrations/preact/src/signals.ts +++ b/packages/integrations/preact/src/signals.ts @@ -1,6 +1,13 @@ import type { Context } from './context.js'; import { incrementId } from './context.js'; -import type { AstroPreactAttrs, PropNameToSignalMap, SignalLike } from './types.js'; +import type { + ArrayObjectMapping, + AstroPreactAttrs, + PropNameToSignalMap, + SignalLike, + Signals, + SignalToKeyOrIndexMap, +} from './types.js'; function isSignal(x: any): x is SignalLike { return x != null && typeof x === 'object' && typeof x.peek === 'function' && 'value' in x; @@ -28,22 +35,38 @@ export function serializeSignals( map: PropNameToSignalMap, ) { // Check for signals - const signals: Record = {}; + const signals: Signals = {}; for (const [key, value] of Object.entries(props)) { - if (isSignal(value)) { + const isPropArray = Array.isArray(value); + const isPropObject = !isSignal(value) && typeof props[key] === 'object' && !isPropArray; + + if (isPropObject || isPropArray) { + const values = isPropObject ? Object.keys(props[key]) : value; + values.forEach((valueKey: number | string, valueIndex: number) => { + const signal = isPropObject ? props[key][valueKey] : valueKey; + if (isSignal(signal)) { + const keyOrIndex = isPropObject ? valueKey.toString() : valueIndex; + + props[key] = isPropObject + ? Object.assign({}, props[key], { [keyOrIndex]: signal.peek() }) + : props[key].map((v: SignalLike, i: number) => + i === valueIndex ? [signal.peek(), i] : v, + ); + + const currentMap = (map.get(key) || []) as SignalToKeyOrIndexMap; + map.set(key, [...currentMap, [signal, keyOrIndex]]); + + const currentSignals = (signals[key] || []) as ArrayObjectMapping; + signals[key] = [...currentSignals, [getSignalId(ctx, signal), keyOrIndex]]; + } + }); + } else if (isSignal(value)) { // Set the value to the current signal value // This mutates the props on purpose, so that it will be serialized correct. props[key] = value.peek(); map.set(key, value); - let id: string; - if (ctx.signals.has(value)) { - id = ctx.signals.get(value)!; - } else { - id = incrementId(ctx); - ctx.signals.set(value, id); - } - signals[key] = id; + signals[key] = getSignalId(ctx, value); } } @@ -51,3 +74,13 @@ export function serializeSignals( attrs['data-preact-signals'] = JSON.stringify(signals); } } + +function getSignalId(ctx: Context, item: SignalLike) { + let id = ctx.signals.get(item); + if (!id) { + id = incrementId(ctx); + ctx.signals.set(item, id); + } + + return id; +} diff --git a/packages/integrations/preact/src/types.ts b/packages/integrations/preact/src/types.ts index 93f65bbc20..e1c56ca30b 100644 --- a/packages/integrations/preact/src/types.ts +++ b/packages/integrations/preact/src/types.ts @@ -7,7 +7,11 @@ export type SignalLike = { peek(): any; }; -export type PropNameToSignalMap = Map; +export type ArrayObjectMapping = [string, number | string][]; +export type Signals = Record; + +export type SignalToKeyOrIndexMap = [SignalLike, number | string][]; +export type PropNameToSignalMap = Map; export type AstroPreactAttrs = { ['data-preact-signals']?: string; From a2214cedd0461a2df3ac58d8a4ec5a2912e93f31 Mon Sep 17 00:00:00 2001 From: Phil Date: Wed, 28 Aug 2024 10:42:23 +0000 Subject: [PATCH 52/66] [ci] format --- packages/integrations/preact/src/client.ts | 2 +- packages/integrations/preact/src/signals.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/integrations/preact/src/client.ts b/packages/integrations/preact/src/client.ts index fa20a99283..32fdc98884 100644 --- a/packages/integrations/preact/src/client.ts +++ b/packages/integrations/preact/src/client.ts @@ -28,7 +28,7 @@ export default (element: HTMLElement) => let valueOfSignal = mapValue; // not an property key - if(typeof indexOrKeyInProps !== 'string') { + if (typeof indexOrKeyInProps !== 'string') { valueOfSignal = mapValue[0]; indexOrKeyInProps = mapValue[1]; } diff --git a/packages/integrations/preact/src/signals.ts b/packages/integrations/preact/src/signals.ts index f8bae590fa..7b797f3858 100644 --- a/packages/integrations/preact/src/signals.ts +++ b/packages/integrations/preact/src/signals.ts @@ -5,8 +5,8 @@ import type { AstroPreactAttrs, PropNameToSignalMap, SignalLike, - Signals, SignalToKeyOrIndexMap, + Signals, } from './types.js'; function isSignal(x: any): x is SignalLike { From 5af8b4f1cb7508d22d994f077948a3b505b1412e Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Wed, 28 Aug 2024 03:51:43 -0700 Subject: [PATCH 53/66] [ci] release (#11835) Co-authored-by: github-actions[bot] --- .changeset/eight-rice-tap.md | 5 -- .changeset/eleven-cameras-sing.md | 5 -- .changeset/eleven-papayas-rhyme.md | 5 -- .changeset/fuzzy-falcons-tan.md | 5 -- .changeset/good-adults-punch.md | 5 -- .changeset/nasty-ladybugs-whisper.md | 5 -- .changeset/odd-otters-look.md | 5 -- .changeset/perfect-socks-dress.md | 5 -- .changeset/thirty-bikes-peel.md | 5 -- .changeset/tiny-suns-sit.md | 5 -- examples/basics/package.json | 2 +- examples/blog/package.json | 4 +- examples/component/package.json | 2 +- examples/container-with-vitest/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-lit/package.json | 2 +- examples/framework-multiple/package.json | 4 +- examples/framework-preact/package.json | 4 +- examples/framework-react/package.json | 2 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/hackernews/package.json | 2 +- examples/integration/package.json | 2 +- examples/middleware/package.json | 2 +- examples/minimal/package.json | 2 +- examples/non-html-pages/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/server-islands/package.json | 2 +- examples/ssr/package.json | 2 +- examples/starlog/package.json | 2 +- examples/toolbar-app/package.json | 2 +- examples/view-transitions/package.json | 2 +- examples/with-markdoc/package.json | 4 +- examples/with-markdown-plugins/package.json | 2 +- examples/with-markdown-shiki/package.json | 2 +- examples/with-mdx/package.json | 6 +- examples/with-nanostores/package.json | 4 +- examples/with-tailwindcss/package.json | 4 +- examples/with-vitest/package.json | 2 +- packages/astro/CHANGELOG.md | 16 ++++ packages/astro/package.json | 2 +- packages/integrations/markdoc/CHANGELOG.md | 6 ++ packages/integrations/markdoc/package.json | 2 +- packages/integrations/mdx/CHANGELOG.md | 6 ++ packages/integrations/mdx/package.json | 2 +- packages/integrations/partytown/CHANGELOG.md | 6 ++ packages/integrations/partytown/package.json | 2 +- packages/integrations/preact/CHANGELOG.md | 6 ++ packages/integrations/preact/package.json | 2 +- pnpm-lock.yaml | 78 ++++++++++---------- 51 files changed, 121 insertions(+), 133 deletions(-) delete mode 100644 .changeset/eight-rice-tap.md delete mode 100644 .changeset/eleven-cameras-sing.md delete mode 100644 .changeset/eleven-papayas-rhyme.md delete mode 100644 .changeset/fuzzy-falcons-tan.md delete mode 100644 .changeset/good-adults-punch.md delete mode 100644 .changeset/nasty-ladybugs-whisper.md delete mode 100644 .changeset/odd-otters-look.md delete mode 100644 .changeset/perfect-socks-dress.md delete mode 100644 .changeset/thirty-bikes-peel.md delete mode 100644 .changeset/tiny-suns-sit.md diff --git a/.changeset/eight-rice-tap.md b/.changeset/eight-rice-tap.md deleted file mode 100644 index f31d24115c..0000000000 --- a/.changeset/eight-rice-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/partytown': patch ---- - -Prevent Partytown integration from inserting a 'null' string into the body diff --git a/.changeset/eleven-cameras-sing.md b/.changeset/eleven-cameras-sing.md deleted file mode 100644 index 51092c495a..0000000000 --- a/.changeset/eleven-cameras-sing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/preact': patch ---- - -Preact signals are now serialized correctly in arrays when they are given to components. diff --git a/.changeset/eleven-papayas-rhyme.md b/.changeset/eleven-papayas-rhyme.md deleted file mode 100644 index 3b6a9bb098..0000000000 --- a/.changeset/eleven-papayas-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a case where Vite would be imported by the SSR runtime, causing bundling errors and bloat. diff --git a/.changeset/fuzzy-falcons-tan.md b/.changeset/fuzzy-falcons-tan.md deleted file mode 100644 index 45323269d5..0000000000 --- a/.changeset/fuzzy-falcons-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Marks internal `vite-plugin-fileurl` plugin with `enforce: 'pre'` diff --git a/.changeset/good-adults-punch.md b/.changeset/good-adults-punch.md deleted file mode 100644 index 0ae575c514..0000000000 --- a/.changeset/good-adults-punch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/markdoc': patch ---- - -Fixes an issue preventing to use Astro components as Markdoc tags and nodes when configured using the `extends` property. diff --git a/.changeset/nasty-ladybugs-whisper.md b/.changeset/nasty-ladybugs-whisper.md deleted file mode 100644 index d922187e5c..0000000000 --- a/.changeset/nasty-ladybugs-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Prevents prefetching of the same urls with different hashes. diff --git a/.changeset/odd-otters-look.md b/.changeset/odd-otters-look.md deleted file mode 100644 index 18f2be20de..0000000000 --- a/.changeset/odd-otters-look.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -astro: patch ---- - -Updates the documentation for experimental Content Layer API with a corrected code example diff --git a/.changeset/perfect-socks-dress.md b/.changeset/perfect-socks-dress.md deleted file mode 100644 index a6c8a84024..0000000000 --- a/.changeset/perfect-socks-dress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a typo in the `MissingImageDimension` error message diff --git a/.changeset/thirty-bikes-peel.md b/.changeset/thirty-bikes-peel.md deleted file mode 100644 index 5a5aacc7fd..0000000000 --- a/.changeset/thirty-bikes-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improves error message when invalid data is returned by an Action. diff --git a/.changeset/tiny-suns-sit.md b/.changeset/tiny-suns-sit.md deleted file mode 100644 index d5dbd58ae7..0000000000 --- a/.changeset/tiny-suns-sit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/mdx': patch ---- - -Fixes CSS in the layout component to be ordered first before any other components in the MDX file diff --git a/examples/basics/package.json b/examples/basics/package.json index d4244b9cb5..91c830f618 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.5" + "astro": "^4.14.6" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 03fb0193cb..195d814f15 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.4", + "@astrojs/mdx": "^3.1.5", "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", - "astro": "^4.14.5" + "astro": "^4.14.6" } } diff --git a/examples/component/package.json b/examples/component/package.json index eb486e3c16..7363dc96b1 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.14.5" + "astro": "^4.14.6" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index 060da1475e..ba9f3ab489 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest run" }, "dependencies": { - "astro": "^4.14.5", + "astro": "^4.14.6", "@astrojs/react": "^3.6.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index a4109101ae..f1987880fc 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -14,6 +14,6 @@ "@astrojs/alpinejs": "^0.4.0", "@types/alpinejs": "^3.13.10", "alpinejs": "^3.14.1", - "astro": "^4.14.5" + "astro": "^4.14.6" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index a129ad09ad..dbd2161909 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/lit": "^4.3.0", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^4.14.5", + "astro": "^4.14.6", "lit": "^3.2.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 527bb86fea..54c6399bb7 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,14 +11,14 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^3.5.1", + "@astrojs/preact": "^3.5.2", "@astrojs/react": "^3.6.2", "@astrojs/solid-js": "^4.4.1", "@astrojs/svelte": "^5.7.0", "@astrojs/vue": "^4.5.0", "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", - "astro": "^4.14.5", + "astro": "^4.14.6", "preact": "^10.23.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 2b6a703720..00cb443655 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^3.5.1", + "@astrojs/preact": "^3.5.2", "@preact/signals": "^1.3.0", - "astro": "^4.14.5", + "astro": "^4.14.6", "preact": "^10.23.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 2527f6321a..fe90c765aa 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.6.2", "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", - "astro": "^4.14.5", + "astro": "^4.14.6", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 6682106431..4e3d60b67e 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^4.4.1", - "astro": "^4.14.5", + "astro": "^4.14.6", "solid-js": "^1.8.22" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 0fc5b79ba4..2ce16f70f0 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^5.7.0", - "astro": "^4.14.5", + "astro": "^4.14.6", "svelte": "^4.2.19" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 3a4014b205..adc9e85c47 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^4.5.0", - "astro": "^4.14.5", + "astro": "^4.14.6", "vue": "^3.4.38" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 1e67ec4dbb..0f844a371c 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^8.3.3", - "astro": "^4.14.5" + "astro": "^4.14.6" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index b7ec60ec92..c9b95aeed9 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.14.5" + "astro": "^4.14.6" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 312e6b5903..e1a86dce30 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^8.3.3", - "astro": "^4.14.5", + "astro": "^4.14.6", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 6d03666806..8bcf5cd5c9 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.5" + "astro": "^4.14.6" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 75a6922d94..cdba337de9 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.5" + "astro": "^4.14.6" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 45389b472b..a1483ce7aa 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.5" + "astro": "^4.14.6" } } diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index 334f3e1be7..3c98d21766 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -17,7 +17,7 @@ "@tailwindcss/forms": "^0.5.7", "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", - "astro": "^4.14.5", + "astro": "^4.14.6", "postcss": "^8.4.41", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 36337533b4..29a5d8d9ed 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,7 +14,7 @@ "dependencies": { "@astrojs/node": "^8.3.3", "@astrojs/svelte": "^5.7.0", - "astro": "^4.14.5", + "astro": "^4.14.6", "svelte": "^4.2.19" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index fc2aa157d2..bf16286c0b 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.5", + "astro": "^4.14.6", "sass": "^1.77.8", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index d55b958d5d..0619f8da65 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^4.14.5" + "astro": "^4.14.6" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index 184fff9dc8..faab3464cd 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -12,6 +12,6 @@ "devDependencies": { "@astrojs/tailwind": "^5.1.0", "@astrojs/node": "^8.3.3", - "astro": "^4.14.5" + "astro": "^4.14.6" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 885642eef5..8785571b9c 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^0.11.3", - "astro": "^4.14.5" + "@astrojs/markdoc": "^0.11.4", + "astro": "^4.14.6" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 8caac32494..3ac6539a5c 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/markdown-remark": "^5.2.0", - "astro": "^4.14.5", + "astro": "^4.14.6", "hast-util-select": "^6.0.2", "rehype-autolink-headings": "^7.1.0", "rehype-slug": "^6.0.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index bfc90a3582..425e544498 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.5" + "astro": "^4.14.6" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 3b9d135156..5c6c7c6df4 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.4", - "@astrojs/preact": "^3.5.1", - "astro": "^4.14.5", + "@astrojs/mdx": "^3.1.5", + "@astrojs/preact": "^3.5.2", + "astro": "^4.14.6", "preact": "^10.23.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 4603a2902f..7c2a8bc2f9 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^3.5.1", + "@astrojs/preact": "^3.5.2", "@nanostores/preact": "^0.5.2", - "astro": "^4.14.5", + "astro": "^4.14.6", "nanostores": "^0.11.3", "preact": "^10.23.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 5021a17697..713df62f87 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.4", + "@astrojs/mdx": "^3.1.5", "@astrojs/tailwind": "^5.1.0", "@types/canvas-confetti": "^1.6.4", - "astro": "^4.14.5", + "astro": "^4.14.6", "autoprefixer": "^10.4.20", "canvas-confetti": "^1.9.3", "postcss": "^8.4.41", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index ca81f67a23..c15560eeb3 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.14.5", + "astro": "^4.14.6", "vitest": "^2.0.5" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index ebb7fdfada..95b6705183 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,21 @@ # astro +## 4.14.6 + +### Patch Changes + +- [#11847](https://github.com/withastro/astro/pull/11847) [`45b599c`](https://github.com/withastro/astro/commit/45b599c4d40ded6a3e03881181b441ae494cbfcf) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes a case where Vite would be imported by the SSR runtime, causing bundling errors and bloat. + +- [#11822](https://github.com/withastro/astro/pull/11822) [`6fcaab8`](https://github.com/withastro/astro/commit/6fcaab84de1044ff4d186b2dfa5831964460062d) Thanks [@bluwy](https://github.com/bluwy)! - Marks internal `vite-plugin-fileurl` plugin with `enforce: 'pre'` + +- [#11713](https://github.com/withastro/astro/pull/11713) [`497324c`](https://github.com/withastro/astro/commit/497324c4e87538dc1dc13aea3ced9bd3642d9ba6) Thanks [@voidfill](https://github.com/voidfill)! - Prevents prefetching of the same urls with different hashes. + +- [#11814](https://github.com/withastro/astro/pull/11814) [`2bb72c6`](https://github.com/withastro/astro/commit/2bb72c63969f8f21dd279fa927c32f192ff79a3f) Thanks [@eduardocereto](https://github.com/eduardocereto)! - Updates the documentation for experimental Content Layer API with a corrected code example + +- [#11842](https://github.com/withastro/astro/pull/11842) [`1ffaae0`](https://github.com/withastro/astro/commit/1ffaae04cf790390f730bf900b9722b99642adc1) Thanks [@stephan281094](https://github.com/stephan281094)! - Fixes a typo in the `MissingImageDimension` error message + +- [#11828](https://github.com/withastro/astro/pull/11828) [`20d47aa`](https://github.com/withastro/astro/commit/20d47aa85a3a0d7ac3390f749715d92de830cf3e) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Improves error message when invalid data is returned by an Action. + ## 4.14.5 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 2f375e9dcd..ea1a562e06 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.14.5", + "version": "4.14.6", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index 0884b81baa..9ad0076553 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/markdoc +## 0.11.4 + +### Patch Changes + +- [#11846](https://github.com/withastro/astro/pull/11846) [`ed7bbd9`](https://github.com/withastro/astro/commit/ed7bbd990f80cacf9c5ec2a70ad7501631b92d3f) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fixes an issue preventing to use Astro components as Markdoc tags and nodes when configured using the `extends` property. + ## 0.11.3 ### Patch Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 59ee5cb31a..260480044c 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/markdoc", "description": "Add support for Markdoc in your Astro site", - "version": "0.11.3", + "version": "0.11.4", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index b006a1707c..1fe03c2eae 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/mdx +## 3.1.5 + +### Patch Changes + +- [#11818](https://github.com/withastro/astro/pull/11818) [`88ef1d0`](https://github.com/withastro/astro/commit/88ef1d0e774e8ab8798b9912da1b069f97736623) Thanks [@bluwy](https://github.com/bluwy)! - Fixes CSS in the layout component to be ordered first before any other components in the MDX file + ## 3.1.4 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index b4a855c8fb..6d835144ea 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Add support for MDX pages in your Astro site", - "version": "3.1.4", + "version": "3.1.5", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/partytown/CHANGELOG.md b/packages/integrations/partytown/CHANGELOG.md index c6802c3c9c..35b24feb16 100644 --- a/packages/integrations/partytown/CHANGELOG.md +++ b/packages/integrations/partytown/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/partytown +## 2.1.2 + +### Patch Changes + +- [#11829](https://github.com/withastro/astro/pull/11829) [`f1df1b3`](https://github.com/withastro/astro/commit/f1df1b3b462309444a9a50ecbf229840dff8c9d0) Thanks [@oosawy](https://github.com/oosawy)! - Prevent Partytown integration from inserting a 'null' string into the body + ## 2.1.1 ### Patch Changes diff --git a/packages/integrations/partytown/package.json b/packages/integrations/partytown/package.json index c90a8a1319..e8fd6e5e6b 100644 --- a/packages/integrations/partytown/package.json +++ b/packages/integrations/partytown/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/partytown", "description": "Use Partytown to move scripts into a web worker in your Astro project", - "version": "2.1.1", + "version": "2.1.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md index e714d2471b..43330b468e 100644 --- a/packages/integrations/preact/CHANGELOG.md +++ b/packages/integrations/preact/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/preact +## 3.5.2 + +### Patch Changes + +- [#11834](https://github.com/withastro/astro/pull/11834) [`5f2536b`](https://github.com/withastro/astro/commit/5f2536b51df93bfd51098c48220d647e7ad3954c) Thanks [@ph1p](https://github.com/ph1p)! - Preact signals are now serialized correctly in arrays when they are given to components. + ## 3.5.1 ### Patch Changes diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index 9bd21fc73c..d7fb6b47ab 100644 --- a/packages/integrations/preact/package.json +++ b/packages/integrations/preact/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/preact", "description": "Use Preact components within Astro", - "version": "3.5.1", + "version": "3.5.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1d8ee11da7..8b21136618 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -116,13 +116,13 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^3.1.4 + specifier: ^3.1.5 version: link:../../packages/integrations/mdx '@astrojs/rss': specifier: ^4.0.7 @@ -131,13 +131,13 @@ importers: specifier: ^3.1.6 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/container-with-vitest: @@ -146,7 +146,7 @@ importers: specifier: ^3.6.2 version: link:../../packages/integrations/react astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -177,7 +177,7 @@ importers: specifier: ^3.14.1 version: 3.14.1 astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/framework-lit: @@ -189,7 +189,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro lit: specifier: ^3.2.0 @@ -198,7 +198,7 @@ importers: examples/framework-multiple: dependencies: '@astrojs/preact': - specifier: ^3.5.1 + specifier: ^3.5.2 version: link:../../packages/integrations/preact '@astrojs/react': specifier: ^3.6.2 @@ -219,7 +219,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -243,13 +243,13 @@ importers: examples/framework-preact: dependencies: '@astrojs/preact': - specifier: ^3.5.1 + specifier: ^3.5.2 version: link:../../packages/integrations/preact '@preact/signals': specifier: ^1.3.0 version: 1.3.0(preact@10.23.2) astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -267,7 +267,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -282,7 +282,7 @@ importers: specifier: ^4.4.1 version: link:../../packages/integrations/solid astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro solid-js: specifier: ^1.8.22 @@ -294,7 +294,7 @@ importers: specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro svelte: specifier: ^4.2.19 @@ -306,7 +306,7 @@ importers: specifier: ^4.5.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro vue: specifier: ^3.4.38 @@ -318,13 +318,13 @@ importers: specifier: ^8.3.3 version: link:../../packages/integrations/node astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/middleware: @@ -333,7 +333,7 @@ importers: specifier: ^8.3.3 version: link:../../packages/integrations/node astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -346,19 +346,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/server-islands: @@ -385,7 +385,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro postcss: specifier: ^8.4.41 @@ -409,7 +409,7 @@ importers: specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro svelte: specifier: ^4.2.19 @@ -418,7 +418,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro sass: specifier: ^1.77.8 @@ -430,7 +430,7 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/view-transitions: @@ -442,16 +442,16 @@ importers: specifier: ^5.1.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/with-markdoc: dependencies: '@astrojs/markdoc': - specifier: ^0.11.3 + specifier: ^0.11.4 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/with-markdown-plugins: @@ -460,7 +460,7 @@ importers: specifier: ^5.2.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -481,19 +481,19 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^3.1.4 + specifier: ^3.1.5 version: link:../../packages/integrations/mdx '@astrojs/preact': - specifier: ^3.5.1 + specifier: ^3.5.2 version: link:../../packages/integrations/preact astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -502,13 +502,13 @@ importers: examples/with-nanostores: dependencies: '@astrojs/preact': - specifier: ^3.5.1 + specifier: ^3.5.2 version: link:../../packages/integrations/preact '@nanostores/preact': specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.3)(preact@10.23.2) astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro nanostores: specifier: ^0.11.3 @@ -520,7 +520,7 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^3.1.4 + specifier: ^3.1.5 version: link:../../packages/integrations/mdx '@astrojs/tailwind': specifier: ^5.1.0 @@ -529,7 +529,7 @@ importers: specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro autoprefixer: specifier: ^10.4.20 @@ -547,7 +547,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.14.5 + specifier: ^4.14.6 version: link:../../packages/astro vitest: specifier: ^2.0.5 @@ -9362,12 +9362,10 @@ packages: libsql@0.3.19: resolution: {integrity: sha512-Aj5cQ5uk/6fHdmeW0TiXK42FqUlwx7ytmMLPSaUQPin5HKKKuUPD62MAbN4OEweGBBI7q1BekoEN4gPUEL6MZA==} - cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] libsql@0.4.1: resolution: {integrity: sha512-qZlR9Yu1zMBeLChzkE/cKfoKV3Esp9cn9Vx5Zirn4AVhDWPcjYhKwbtJcMuHehgk3mH+fJr9qW+3vesBWbQpBg==} - cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] lilconfig@2.1.0: From cce08945340312776a0480fc9ffe43929257639a Mon Sep 17 00:00:00 2001 From: Phil Date: Wed, 28 Aug 2024 13:09:19 +0200 Subject: [PATCH 54/66] feat: support setting timeout for `client:idle` (#11743) * feat: support setting timeout for `client:idle` * tst: add client:idle timeout e2e test * Update .changeset/clever-emus-roll.md Co-authored-by: Sarah Rainsberger * Update .changeset/clever-emus-roll.md Co-authored-by: Sarah Rainsberger * nit: we wait for times, not values! --------- Co-authored-by: Sarah Rainsberger --- .changeset/clever-emus-roll.md | 11 +++++++ .../astro/e2e/client-idle-timeout.test.js | 33 +++++++++++++++++++ .../client-idle-timeout/astro.config.mjs | 9 +++++ .../fixtures/client-idle-timeout/package.json | 13 ++++++++ .../src/components/Counter.jsx | 18 ++++++++++ .../client-idle-timeout/src/pages/index.astro | 16 +++++++++ packages/astro/src/@types/astro.ts | 2 +- packages/astro/src/runtime/client/idle.ts | 14 ++++++-- pnpm-lock.yaml | 16 +++++++++ 9 files changed, 128 insertions(+), 4 deletions(-) create mode 100644 .changeset/clever-emus-roll.md create mode 100644 packages/astro/e2e/client-idle-timeout.test.js create mode 100644 packages/astro/e2e/fixtures/client-idle-timeout/astro.config.mjs create mode 100644 packages/astro/e2e/fixtures/client-idle-timeout/package.json create mode 100644 packages/astro/e2e/fixtures/client-idle-timeout/src/components/Counter.jsx create mode 100644 packages/astro/e2e/fixtures/client-idle-timeout/src/pages/index.astro diff --git a/.changeset/clever-emus-roll.md b/.changeset/clever-emus-roll.md new file mode 100644 index 0000000000..5b9b2ee698 --- /dev/null +++ b/.changeset/clever-emus-roll.md @@ -0,0 +1,11 @@ +--- +'astro': minor +--- + +Adds a new, optional property `timeout` for the `client:idle` directive. + +This value allows you to specify a maximum time to wait, in milliseconds, before hydrating a UI framework component, even if the page is not yet done with its initial load. This means you can delay hydration for lower-priority UI elements with more control to ensure your element is interactive within a specified time frame. + +```astro + +``` diff --git a/packages/astro/e2e/client-idle-timeout.test.js b/packages/astro/e2e/client-idle-timeout.test.js new file mode 100644 index 0000000000..034cfc8dca --- /dev/null +++ b/packages/astro/e2e/client-idle-timeout.test.js @@ -0,0 +1,33 @@ +import { expect } from '@playwright/test'; +import { testFactory, waitForHydrate } from './test-utils.js'; + +const test = testFactory({ root: './fixtures/client-idle-timeout/' }); + +let devServer; + +test.beforeAll(async ({ astro }) => { + devServer = await astro.startDevServer(); +}); + +test.afterAll(async () => { + await devServer.stop(); +}); + +test.describe('Client idle timeout', () => { + test('React counter', async ({ astro, page }) => { + await page.goto(astro.resolveUrl('/')); + + const counter = page.locator('#react-counter'); + await expect(counter, 'component is visible').toBeVisible(); + + const count = counter.locator('pre'); + await expect(count, 'initial count is 0').toHaveText('0'); + + await waitForHydrate(page, counter); + + const inc = counter.locator('.increment'); + await inc.click(); + + await expect(count, 'count incremented by 1').toHaveText('1'); + }); +}); diff --git a/packages/astro/e2e/fixtures/client-idle-timeout/astro.config.mjs b/packages/astro/e2e/fixtures/client-idle-timeout/astro.config.mjs new file mode 100644 index 0000000000..02dccb9780 --- /dev/null +++ b/packages/astro/e2e/fixtures/client-idle-timeout/astro.config.mjs @@ -0,0 +1,9 @@ +import react from '@astrojs/react'; +import { defineConfig } from 'astro/config'; + +// https://astro.build/config +export default defineConfig({ + integrations: [ + react(), + ], +}); diff --git a/packages/astro/e2e/fixtures/client-idle-timeout/package.json b/packages/astro/e2e/fixtures/client-idle-timeout/package.json new file mode 100644 index 0000000000..af4c416058 --- /dev/null +++ b/packages/astro/e2e/fixtures/client-idle-timeout/package.json @@ -0,0 +1,13 @@ +{ + "name": "@e2e/client-idle-timeout", + "version": "0.0.0", + "private": true, + "devDependencies": { + "@astrojs/react": "workspace:*", + "astro": "workspace:*" + }, + "dependencies": { + "react": "^18.3.1", + "react-dom": "^18.3.1" + } +} diff --git a/packages/astro/e2e/fixtures/client-idle-timeout/src/components/Counter.jsx b/packages/astro/e2e/fixtures/client-idle-timeout/src/components/Counter.jsx new file mode 100644 index 0000000000..9d2212b0ca --- /dev/null +++ b/packages/astro/e2e/fixtures/client-idle-timeout/src/components/Counter.jsx @@ -0,0 +1,18 @@ +import React, { useState } from 'react'; + +export default function Counter({ children, count: initialCount = 0, id }) { + const [count, setCount] = useState(initialCount); + const add = () => setCount((i) => i + 1); + const subtract = () => setCount((i) => i - 1); + + return ( + <> +
+ +
{count}
+ +
+
{children}
+ + ); +} diff --git a/packages/astro/e2e/fixtures/client-idle-timeout/src/pages/index.astro b/packages/astro/e2e/fixtures/client-idle-timeout/src/pages/index.astro new file mode 100644 index 0000000000..0045ca55cb --- /dev/null +++ b/packages/astro/e2e/fixtures/client-idle-timeout/src/pages/index.astro @@ -0,0 +1,16 @@ +--- +import Counter from '../components/Counter.jsx'; +--- + + + + + + + + +
+ +
+ + diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 5e060ec990..19bbe48062 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -91,7 +91,7 @@ export type { export interface AstroBuiltinProps { 'client:load'?: boolean; - 'client:idle'?: boolean; + 'client:idle'?: IdleRequestOptions | boolean; 'client:media'?: string; 'client:visible'?: ClientVisibleOptions | boolean; 'client:only'?: boolean | string; diff --git a/packages/astro/src/runtime/client/idle.ts b/packages/astro/src/runtime/client/idle.ts index 990d5da6ef..1d630c4afe 100644 --- a/packages/astro/src/runtime/client/idle.ts +++ b/packages/astro/src/runtime/client/idle.ts @@ -1,14 +1,22 @@ import type { ClientDirective } from '../../@types/astro.js'; -const idleDirective: ClientDirective = (load) => { +const idleDirective: ClientDirective = (load, options) => { const cb = async () => { const hydrate = await load(); await hydrate(); }; + + const rawOptions = + typeof options.value === 'object' ? (options.value as IdleRequestOptions) : undefined; + + const idleOptions: IdleRequestOptions = { + timeout: rawOptions?.timeout, + }; + if ('requestIdleCallback' in window) { - (window as any).requestIdleCallback(cb); + (window as any).requestIdleCallback(cb, idleOptions); } else { - setTimeout(cb, 200); + setTimeout(cb, idleOptions.timeout || 200); } }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8b21136618..093d3615e7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1004,6 +1004,22 @@ importers: specifier: ^3.4.38 version: 3.4.38(typescript@5.5.4) + packages/astro/e2e/fixtures/client-idle-timeout: + dependencies: + react: + specifier: ^18.3.1 + version: 18.3.1 + react-dom: + specifier: ^18.3.1 + version: 18.3.1(react@18.3.1) + devDependencies: + '@astrojs/react': + specifier: workspace:* + version: link:../../../../integrations/react + astro: + specifier: workspace:* + version: link:../../.. + packages/astro/e2e/fixtures/client-only: dependencies: preact: From 62b0d20b974dc932769221d210b751627fb4bbc6 Mon Sep 17 00:00:00 2001 From: Martin Trapp <94928215+martrapp@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:09:49 +0200 Subject: [PATCH 55/66] Extends virtual module astro:transitions/client to export swapFunctions (#11708) * extend virtual module astro:transitions/client to exports swapFunctions * use virtual module in e2e tests * Update .changeset/new-monkeys-sit.md * Update .changeset/new-monkeys-sit.md Co-authored-by: Sarah Rainsberger * Update new-monkeys-sit.md * Update swap-functions.ts restoreFocus() bindings are now returned by saveFocus() and do not make sense anymore as a member of the swapFunctions object * take over suggestion Co-authored-by: Sarah Rainsberger * Update .changeset/new-monkeys-sit.md Co-authored-by: Sarah Rainsberger --------- Co-authored-by: Emanuele Stoppa Co-authored-by: Sarah Rainsberger --- .changeset/new-monkeys-sit.md | 32 +++++++++++++++++++ packages/astro/client.d.ts | 2 ++ .../src/pages/keep-style-one.astro | 12 +++---- .../src/pages/keep-theme-one.astro | 12 +++---- .../src/pages/replace-main-one.astro | 14 ++++---- packages/astro/e2e/view-transitions.test.js | 2 +- .../astro/src/transitions/swap-functions.ts | 8 +++++ .../transitions/vite-plugin-transitions.ts | 1 + .../transitions-swap-functions.ts | 1 + 9 files changed, 64 insertions(+), 20 deletions(-) create mode 100644 .changeset/new-monkeys-sit.md create mode 100644 packages/astro/src/virtual-modules/transitions-swap-functions.ts diff --git a/.changeset/new-monkeys-sit.md b/.changeset/new-monkeys-sit.md new file mode 100644 index 0000000000..b147b593f4 --- /dev/null +++ b/.changeset/new-monkeys-sit.md @@ -0,0 +1,32 @@ +--- +'astro': minor +--- + +Adds a new object `swapFunctions` to expose the necessary utility functions on `astro:transitions/client` that allow you to build custom swap functions to be used with view transitions. + +The example below uses these functions to replace Astro's built-in default `swap` function with one that only swaps the `
` part of the page: + +```astro + diff --git a/packages/astro/e2e/fixtures/view-transitions/src/pages/keep-theme-one.astro b/packages/astro/e2e/fixtures/view-transitions/src/pages/keep-theme-one.astro index a4c942d587..18ae0221fc 100644 --- a/packages/astro/e2e/fixtures/view-transitions/src/pages/keep-theme-one.astro +++ b/packages/astro/e2e/fixtures/view-transitions/src/pages/keep-theme-one.astro @@ -6,18 +6,18 @@ import Layout from '../components/Layout.astro'; go to next page