diff options
Diffstat (limited to 'packages')
108 files changed, 201 insertions, 208 deletions
diff --git a/packages/astro/e2e/fixtures/actions-blog/package.json b/packages/astro/e2e/fixtures/actions-blog/package.json index 1bb4b4557..53e306397 100644 --- a/packages/astro/e2e/fixtures/actions-blog/package.json +++ b/packages/astro/e2e/fixtures/actions-blog/package.json @@ -12,13 +12,13 @@ "dependencies": { "@astrojs/check": "^0.9.3", "@astrojs/db": "workspace:*", - "@astrojs/node": "^8.3.3", + "@astrojs/node": "^8.3.4", "@astrojs/react": "workspace:*", - "@types/react": "^18.3.5", + "@types/react": "^18.3.9", "@types/react-dom": "^18.3.0", "astro": "workspace:*", "react": "^18.3.1", "react-dom": "^18.3.1", - "typescript": "^5.5.4" + "typescript": "^5.6.2" } } diff --git a/packages/astro/e2e/fixtures/actions-react-19/package.json b/packages/astro/e2e/fixtures/actions-react-19/package.json index ef6b4fe6a..da18e7d87 100644 --- a/packages/astro/e2e/fixtures/actions-react-19/package.json +++ b/packages/astro/e2e/fixtures/actions-react-19/package.json @@ -12,14 +12,14 @@ "dependencies": { "@astrojs/check": "^0.9.3", "@astrojs/db": "workspace:*", - "@astrojs/node": "^8.3.3", + "@astrojs/node": "^8.3.4", "@astrojs/react": "workspace:*", "@types/react": "npm:types-react", "@types/react-dom": "npm:types-react-dom", "astro": "workspace:*", "react": "19.0.0-rc-fb9a90fa48-20240614", "react-dom": "19.0.0-rc-fb9a90fa48-20240614", - "typescript": "^5.5.4" + "typescript": "^5.6.2" }, "overrides": { "@types/react": "npm:types-react", diff --git a/packages/astro/e2e/fixtures/astro-component/package.json b/packages/astro/e2e/fixtures/astro-component/package.json index 1f892478e..9d0a15837 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/e2e/fixtures/astro-envs/package.json b/packages/astro/e2e/fixtures/astro-envs/package.json index 271277f78..b980c319d 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.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/e2e/fixtures/client-only/package.json b/packages/astro/e2e/fixtures/client-only/package.json index dc634e91f..b408b3034 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.22", + "solid-js": "^1.9.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/e2e/fixtures/dev-toolbar/package.json b/packages/astro/e2e/fixtures/dev-toolbar/package.json index 363596ce0..206b1abab 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/e2e/fixtures/error-cyclic/package.json b/packages/astro/e2e/fixtures/error-cyclic/package.json index 41988b039..939a6d483 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/e2e/fixtures/error-sass/package.json b/packages/astro/e2e/fixtures/error-sass/package.json index d59b5322c..d100b03ae 100644 --- a/packages/astro/e2e/fixtures/error-sass/package.json +++ b/packages/astro/e2e/fixtures/error-sass/package.json @@ -4,6 +4,6 @@ "private": true, "dependencies": { "astro": "workspace:*", - "sass": "^1.78.0" + "sass": "^1.79.3" } } diff --git a/packages/astro/e2e/fixtures/errors/package.json b/packages/astro/e2e/fixtures/errors/package.json index e65edebd9..942305a0d 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "sass": "^1.78.0", - "solid-js": "^1.8.22", + "sass": "^1.79.3", + "solid-js": "^1.9.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/e2e/fixtures/hmr/package.json b/packages/astro/e2e/fixtures/hmr/package.json index ad1071383..4c22e6836 100644 --- a/packages/astro/e2e/fixtures/hmr/package.json +++ b/packages/astro/e2e/fixtures/hmr/package.json @@ -4,6 +4,6 @@ "private": true, "devDependencies": { "astro": "workspace:*", - "sass": "^1.78.0" + "sass": "^1.79.3" } } diff --git a/packages/astro/e2e/fixtures/hydration-race/package.json b/packages/astro/e2e/fixtures/hydration-race/package.json index eabf710df..4713689d0 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/e2e/fixtures/multiple-frameworks/package.json b/packages/astro/e2e/fixtures/multiple-frameworks/package.json index bdd2cfe17..7bdc99cbd 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.22", + "solid-js": "^1.9.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/e2e/fixtures/namespaced-component/package.json b/packages/astro/e2e/fixtures/namespaced-component/package.json index fb7b9d6a7..1cb366d12 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/e2e/fixtures/nested-in-preact/package.json b/packages/astro/e2e/fixtures/nested-in-preact/package.json index e32875c4d..f9c501686 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.22", + "solid-js": "^1.9.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/e2e/fixtures/nested-in-react/package.json b/packages/astro/e2e/fixtures/nested-in-react/package.json index 146de6ea4..65b6df172 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.22", + "solid-js": "^1.9.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/e2e/fixtures/nested-in-solid/package.json b/packages/astro/e2e/fixtures/nested-in-solid/package.json index 9c47f29e6..84326a4c1 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.22", + "solid-js": "^1.9.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/e2e/fixtures/nested-in-svelte/package.json b/packages/astro/e2e/fixtures/nested-in-svelte/package.json index 58915a0d6..94970c0bb 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.22", + "solid-js": "^1.9.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/e2e/fixtures/nested-in-vue/package.json b/packages/astro/e2e/fixtures/nested-in-vue/package.json index d41f8e86f..75d6d4dfc 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.22", + "solid-js": "^1.9.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/e2e/fixtures/nested-recursive/package.json b/packages/astro/e2e/fixtures/nested-recursive/package.json index d3d0cb6b5..269a1223d 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.22", + "solid-js": "^1.9.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" }, "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 fcdbdf63a..aa8dcd4f4 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/e2e/fixtures/preact-component/package.json b/packages/astro/e2e/fixtures/preact-component/package.json index 8aedffe03..19f127911 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/e2e/fixtures/preact-lazy-component/package.json b/packages/astro/e2e/fixtures/preact-lazy-component/package.json index 8950fe012..a5c2c8413 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/e2e/fixtures/server-islands-key/package.json b/packages/astro/e2e/fixtures/server-islands-key/package.json index b03c575c7..193eaacca 100644 --- a/packages/astro/e2e/fixtures/server-islands-key/package.json +++ b/packages/astro/e2e/fixtures/server-islands-key/package.json @@ -7,6 +7,6 @@ }, "dependencies": { "astro": "workspace:*", - "@astrojs/node": "^8.3.3" + "@astrojs/node": "^8.3.4" } } diff --git a/packages/astro/e2e/fixtures/server-islands/package.json b/packages/astro/e2e/fixtures/server-islands/package.json index efbfeec68..41add9344 100644 --- a/packages/astro/e2e/fixtures/server-islands/package.json +++ b/packages/astro/e2e/fixtures/server-islands/package.json @@ -9,7 +9,7 @@ "@astrojs/react": "workspace:*", "astro": "workspace:*", "@astrojs/mdx": "workspace:*", - "@astrojs/node": "^8.3.3", + "@astrojs/node": "^8.3.4", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/packages/astro/e2e/fixtures/solid-circular/package.json b/packages/astro/e2e/fixtures/solid-circular/package.json index aba997250..5bf22da0d 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.22" + "solid-js": "^1.9.1" } } diff --git a/packages/astro/e2e/fixtures/solid-component/package.json b/packages/astro/e2e/fixtures/solid-component/package.json index 86269a915..779f7a50a 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.22" + "solid-js": "^1.9.1" } } diff --git a/packages/astro/e2e/fixtures/solid-recurse/package.json b/packages/astro/e2e/fixtures/solid-recurse/package.json index a7d97b39c..d2b652054 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.22" + "solid-js": "^1.9.1" } } diff --git a/packages/astro/e2e/fixtures/tailwindcss/package.json b/packages/astro/e2e/fixtures/tailwindcss/package.json index 1f8565781..df36474dc 100644 --- a/packages/astro/e2e/fixtures/tailwindcss/package.json +++ b/packages/astro/e2e/fixtures/tailwindcss/package.json @@ -6,7 +6,7 @@ "@astrojs/tailwind": "workspace:*", "astro": "workspace:*", "autoprefixer": "^10.4.20", - "postcss": "^8.4.45", - "tailwindcss": "^3.4.10" + "postcss": "^8.4.47", + "tailwindcss": "^3.4.13" } } diff --git a/packages/astro/e2e/fixtures/view-transitions/package.json b/packages/astro/e2e/fixtures/view-transitions/package.json index 08aae1afc..a4aaf4be2 100644 --- a/packages/astro/e2e/fixtures/view-transitions/package.json +++ b/packages/astro/e2e/fixtures/view-transitions/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "dependencies": { - "@astrojs/node": "^8.3.3", + "@astrojs/node": "^8.3.4", "@astrojs/react": "workspace:*", "@astrojs/svelte": "workspace:*", "@astrojs/vue": "workspace:*", @@ -12,7 +12,7 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "svelte": "^4.2.19", - "vue": "^3.5.3", - "solid-js": "^1.8.0" + "vue": "^3.5.8", + "solid-js": "^1.9.1" } } diff --git a/packages/astro/e2e/fixtures/vue-component/package.json b/packages/astro/e2e/fixtures/vue-component/package.json index f53a1479f..fee960856 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.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/e2e/shared-component-tests.js b/packages/astro/e2e/shared-component-tests.js index ea45da13b..666a34783 100644 --- a/packages/astro/e2e/shared-component-tests.js +++ b/packages/astro/e2e/shared-component-tests.js @@ -1,7 +1,7 @@ import { expect } from '@playwright/test'; import { scrollToElement, testFactory, waitForHydrate } from './test-utils.js'; -export function prepareTestFactory(testFile, opts, { canReplayClicks = false } = {}) { +export function prepareTestFactory(testFile, opts) { const test = testFactory(testFile, opts); let devServer; @@ -104,16 +104,7 @@ export function prepareTestFactory(testFile, opts, { canReplayClicks = false } = await waitForHydrate(page, counter); await inc.click(); - - if (canReplayClicks) { - // SolidJS has a hydration script that automatically captures - // and replays click and input events on Hydration: - // https://www.solidjs.com/docs/latest#hydrationscript - // so in total there are two click events. - await expect(count, 'count incremented by 2').toHaveText('2'); - } else { - await expect(count, 'count incremented by 1').toHaveText('1'); - } + await expect(count, 'count incremented by 1').toHaveText('1'); }); test('client:only', async ({ page, astro }) => { diff --git a/packages/astro/e2e/solid-component.test.js b/packages/astro/e2e/solid-component.test.js index 6a934b1c4..d9341483b 100644 --- a/packages/astro/e2e/solid-component.test.js +++ b/packages/astro/e2e/solid-component.test.js @@ -1,12 +1,8 @@ import { prepareTestFactory } from './shared-component-tests.js'; -const { test, createTests } = prepareTestFactory( - import.meta.url, - { root: './fixtures/solid-component/' }, - { - canReplayClicks: true, - }, -); +const { test, createTests } = prepareTestFactory(import.meta.url, { + root: './fixtures/solid-component/', +}); const config = { componentFilePath: './src/components/SolidComponent.jsx', diff --git a/packages/astro/package.json b/packages/astro/package.json index 01e5a7935..765e3864d 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -129,12 +129,12 @@ "@babel/core": "^7.25.2", "@babel/plugin-transform-react-jsx": "^7.25.2", "@babel/types": "^7.25.6", - "@oslojs/encoding": "^1.0.0", - "@rollup/pluginutils": "^5.1.0", + "@oslojs/encoding": "^1.1.0", + "@rollup/pluginutils": "^5.1.2", "@types/babel__core": "^7.20.5", "@types/cookie": "^0.6.0", "acorn": "^8.12.1", - "aria-query": "^5.3.0", + "aria-query": "^5.3.2", "axobject-query": "^4.1.0", "boxen": "7.1.1", "ci-info": "^4.0.0", @@ -144,10 +144,10 @@ "cssesc": "^3.0.0", "debug": "^4.3.7", "deterministic-object-hash": "^2.0.2", - "devalue": "^5.0.0", + "devalue": "^5.1.1", "diff": "^5.2.0", "dlv": "^1.1.3", - "dset": "^3.1.3", + "dset": "^3.1.4", "es-module-lexer": "^1.5.4", "esbuild": "^0.21.5", "estree-walker": "^3.0.3", @@ -172,20 +172,20 @@ "prompts": "^2.4.2", "rehype": "^13.0.1", "semver": "^7.6.3", - "shiki": "^1.16.2", + "shiki": "^1.19.0", "string-width": "^7.2.0", "strip-ansi": "^7.1.0", "tinyexec": "^0.3.0", "tsconfck": "^3.1.3", "unist-util-visit": "^5.0.0", "vfile": "^6.0.3", - "vite": "^5.4.3", + "vite": "^5.4.8", "vitefu": "^1.0.2", "which-pm": "^3.0.0", "xxhash-wasm": "^1.0.2", "yargs-parser": "^21.1.1", "zod": "^3.23.8", - "zod-to-json-schema": "^3.23.2", + "zod-to-json-schema": "^3.23.3", "zod-to-ts": "^1.2.0" }, "optionalDependencies": { @@ -193,14 +193,13 @@ }, "devDependencies": { "@astrojs/check": "^0.9.3", - "@playwright/test": "^1.47.0", + "@playwright/test": "^1.47.2", "@types/aria-query": "^5.0.4", "@types/common-ancestor-path": "^1.0.2", "@types/cssesc": "^3.0.2", "@types/debug": "^4.1.12", "@types/diff": "^5.2.2", "@types/dlv": "^1.1.4", - "@types/dom-view-transitions": "^1.0.5", "@types/hast": "^3.0.4", "@types/html-escaper": "^3.0.2", "@types/http-cache-semantics": "^4.0.4", @@ -216,15 +215,15 @@ "expect-type": "^0.20.0", "mdast-util-mdx": "^3.0.0", "mdast-util-mdx-jsx": "^3.1.3", - "memfs": "^4.11.1", - "node-mocks-http": "^1.15.1", + "memfs": "^4.12.0", + "node-mocks-http": "^1.16.0", "parse-srcset": "^1.0.2", "rehype-autolink-headings": "^7.1.0", "rehype-slug": "^6.0.0", "rehype-toc": "^3.0.2", "remark-code-titles": "^0.1.2", - "rollup": "^4.21.2", - "sass": "^1.78.0", + "rollup": "^4.22.4", + "sass": "^1.79.3", "undici": "^6.19.8", "unified": "^11.0.5" }, diff --git a/packages/astro/performance/fixtures/md/package.json b/packages/astro/performance/fixtures/md/package.json index 76ea90312..9e8089317 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.5", + "@types/react": "^18.3.9", "@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 115798883..60e508e4f 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.5", + "@types/react": "^18.3.9", "@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 a634aac45..4c99cc6ac 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.5", + "@types/react": "^18.3.9", "@types/react-dom": "^18.3.0", "astro": "workspace:*", "react": "^18.3.1", diff --git a/packages/astro/src/core/errors/dev/utils.ts b/packages/astro/src/core/errors/dev/utils.ts index 341c815a6..03ba7d2df 100644 --- a/packages/astro/src/core/errors/dev/utils.ts +++ b/packages/astro/src/core/errors/dev/utils.ts @@ -19,7 +19,7 @@ type EsbuildMessage = ESBuildTransformResult['warnings'][number]; * Takes any error-like object and returns a standardized Error + metadata object. * Useful for consistent reporting regardless of where the error surfaced from. */ -export function collectErrorMetadata(e: any, rootFolder?: URL | undefined): ErrorWithMetadata { +export function collectErrorMetadata(e: any, rootFolder?: URL): ErrorWithMetadata { const err = AggregateError.is(e) || Array.isArray(e.errors) ? (e.errors as SSRError[]) : [e as SSRError]; diff --git a/packages/astro/src/jsx/rehype.ts b/packages/astro/src/jsx/rehype.ts index 6dcb08d0b..a93a92d5d 100644 --- a/packages/astro/src/jsx/rehype.ts +++ b/packages/astro/src/jsx/rehype.ts @@ -132,8 +132,15 @@ function parseImports(children: RootContent[]) { return { local: spec.local.name, imported: 'default' }; case 'ImportNamespaceSpecifier': return { local: spec.local.name, imported: '*' }; - case 'ImportSpecifier': - return { local: spec.local.name, imported: spec.imported.name }; + case 'ImportSpecifier': { + return { + local: spec.local.name, + imported: + spec.imported.type === 'Identifier' + ? spec.imported.name + : String(spec.imported.value), + }; + } default: throw new Error('Unknown import declaration specifier: ' + spec); } diff --git a/packages/astro/src/transitions/router.ts b/packages/astro/src/transitions/router.ts index 3150aa861..388f7a2cd 100644 --- a/packages/astro/src/transitions/router.ts +++ b/packages/astro/src/transitions/router.ts @@ -490,6 +490,7 @@ async function transition( // Immediately paused to setup the ViewTransition object for Fallback mode await Promise.resolve(); // hop through the micro task queue await updateDOM(prepEvent, options, currentTransition, historyState, getFallback()); + return undefined; })(); // When the updateDone promise is settled, @@ -509,7 +510,7 @@ async function transition( ready: updateDone, // good enough // Finished promise could have been done better: finished rejects iff updateDone does. // Our simulation always resolves, never rejects. - finished: new Promise((r) => (currentTransition.viewTransitionFinished = r)), // see end of updateDOM + finished: new Promise((r) => (currentTransition.viewTransitionFinished = r as () => void)), // see end of updateDOM skipTransition: () => { currentTransition.transitionSkipped = true; // This cancels all animations of the simulation @@ -519,14 +520,14 @@ async function transition( } // In earlier versions was then'ed on viewTransition.ready which would not execute // if the visual part of the transition has errors or was skipped - currentTransition.viewTransition.updateCallbackDone.finally(async () => { + currentTransition.viewTransition?.updateCallbackDone.finally(async () => { await runScripts(); onPageLoad(); announce(); }); // finished.ready and finished.finally are the same for the simulation but not // necessarily for native view transition, where finished rejects when updateCallbackDone does. - currentTransition.viewTransition.finished.finally(() => { + currentTransition.viewTransition?.finished.finally(() => { currentTransition.viewTransition = undefined; if (currentTransition === mostRecentTransition) mostRecentTransition = undefined; if (currentNavigation === mostRecentNavigation) mostRecentNavigation = undefined; @@ -537,7 +538,7 @@ async function transition( // Compatibility: // In an earlier version we awaited viewTransition.ready, which includes animation setup. // Scripts that depend on the view transition pseudo elements should hook on viewTransition.ready. - await currentTransition.viewTransition.updateCallbackDone; + await currentTransition.viewTransition?.updateCallbackDone; } catch (e) { // This log doesn't make it worse than before, where we got error messages about uncaught exceptions, which can't be caught when the trigger was a click or history traversal. // Needs more investigation on root causes if errors still occur sporadically diff --git a/packages/astro/test/fixtures/0-css/package.json b/packages/astro/test/fixtures/0-css/package.json index a462c4eab..b6b045840 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.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/test/fixtures/astro-basic/package.json b/packages/astro/test/fixtures/astro-basic/package.json index 71d73265b..bdfe491d8 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/astro-children/package.json b/packages/astro/test/fixtures/astro-children/package.json index 1eca53bfa..6eff63c16 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.2", + "preact": "^10.24.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/test/fixtures/astro-envs/package.json b/packages/astro/test/fixtures/astro-envs/package.json index 264d4d23a..3f283071d 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.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/test/fixtures/astro-expr/package.json b/packages/astro/test/fixtures/astro-expr/package.json index cc6a91062..261f70a5c 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/astro-fallback/package.json b/packages/astro/test/fixtures/astro-fallback/package.json index 7ef08ce52..04f2d23bb 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.2" + "preact": "^10.24.1" } } 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 8cd72ce59..3f04d788d 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/astro-slots-nested/package.json b/packages/astro/test/fixtures/astro-slots-nested/package.json index db5d8edd1..5f614b361 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.22", + "solid-js": "^1.9.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/test/fixtures/before-hydration/package.json b/packages/astro/test/fixtures/before-hydration/package.json index 643e9e788..87ddd6968 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/build-assets/package.json b/packages/astro/test/fixtures/build-assets/package.json index dc06d0222..493aa50a1 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/client-address-node/package.json b/packages/astro/test/fixtures/client-address-node/package.json index 4db07f130..1decb5334 100644 --- a/packages/astro/test/fixtures/client-address-node/package.json +++ b/packages/astro/test/fixtures/client-address-node/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "dependencies": { - "@astrojs/node": "^8.3.3", + "@astrojs/node": "^8.3.4", "astro": "workspace:*" } } diff --git a/packages/astro/test/fixtures/component-library-shared/package.json b/packages/astro/test/fixtures/component-library-shared/package.json index 7a68fc20e..db7c8552c 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.2", + "preact": "^10.24.1", "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 96f5cecac..b69cdb2b9 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", "svelte": "^4.2.19" diff --git a/packages/astro/test/fixtures/container-custom-renderers/package.json b/packages/astro/test/fixtures/container-custom-renderers/package.json index fd7740fd3..3d833d27b 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.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/test/fixtures/content-layer-markdoc/package.json b/packages/astro/test/fixtures/content-layer-markdoc/package.json index 6ff126ad6..954274c41 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.2" + "preact": "^10.24.1" } }
\ No newline at end of file diff --git a/packages/astro/test/fixtures/custom-assets-name/package.json b/packages/astro/test/fixtures/custom-assets-name/package.json index 3530f9f0a..7a5bfbdec 100644 --- a/packages/astro/test/fixtures/custom-assets-name/package.json +++ b/packages/astro/test/fixtures/custom-assets-name/package.json @@ -4,6 +4,6 @@ "private": true, "dependencies": { "astro": "workspace:*", - "@astrojs/node": "^8.3.3" + "@astrojs/node": "^8.3.4" } } diff --git a/packages/astro/test/fixtures/entry-file-names/package.json b/packages/astro/test/fixtures/entry-file-names/package.json index 3e99d3817..43d2d570c 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/fetch/package.json b/packages/astro/test/fixtures/fetch/package.json index 8ef26a016..c76082c1b 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.2", + "preact": "^10.24.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/test/fixtures/fontsource-package/package.json b/packages/astro/test/fixtures/fontsource-package/package.json index 14316760f..2c1c41734 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.22", - "@fontsource/montserrat": "5.0.20", + "@fontsource/monofett": "5.1.0", + "@fontsource/montserrat": "5.1.0", "astro": "workspace:*" } } diff --git a/packages/astro/test/fixtures/hydration-race/package.json b/packages/astro/test/fixtures/hydration-race/package.json index 5a0ad8a20..579d126fa 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/jsx/package.json b/packages/astro/test/fixtures/jsx/package.json index 152caf935..eafbabb61 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "solid-js": "^1.8.22", + "solid-js": "^1.9.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/test/fixtures/large-array/package.json b/packages/astro/test/fixtures/large-array/package.json index 0bf422b67..26366b0b6 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.22" + "solid-js": "^1.9.1" } } diff --git a/packages/astro/test/fixtures/postcss/package.json b/packages/astro/test/fixtures/postcss/package.json index 1cd556f4c..3925a9ed5 100644 --- a/packages/astro/test/fixtures/postcss/package.json +++ b/packages/astro/test/fixtures/postcss/package.json @@ -8,12 +8,12 @@ "@astrojs/vue": "workspace:*", "astro": "workspace:*", "autoprefixer": "^10.4.20", - "postcss": "^8.4.45", - "solid-js": "^1.8.22", + "postcss": "^8.4.47", + "solid-js": "^1.9.1", "svelte": "^4.2.19", - "vue": "^3.5.3" + "vue": "^3.5.8" }, "devDependencies": { - "postcss-preset-env": "^10.0.2" + "postcss-preset-env": "^10.0.5" } } diff --git a/packages/astro/test/fixtures/preact-compat-component/package.json b/packages/astro/test/fixtures/preact-compat-component/package.json index 1b8a4e2da..b85d70211 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/preact-component/package.json b/packages/astro/test/fixtures/preact-component/package.json index 23bb20d29..46acd886f 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/react-and-solid/package.json b/packages/astro/test/fixtures/react-and-solid/package.json index 5df316b51..044faba69 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.22" + "solid-js": "^1.9.1" } } 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 ea2cbc9f6..e66bc4851 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/slots-preact/package.json b/packages/astro/test/fixtures/slots-preact/package.json index 19281fe1e..7633723b6 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/slots-solid/package.json b/packages/astro/test/fixtures/slots-solid/package.json index 59ebea174..e7ac4bd95 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.22" + "solid-js": "^1.9.1" } } diff --git a/packages/astro/test/fixtures/slots-vue/package.json b/packages/astro/test/fixtures/slots-vue/package.json index 58557e375..bccfdd623 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.5.3" + "vue": "^3.5.8" } } 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 976ba6604..0040fcf2e 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.22" + "solid-js": "^1.9.1" } } diff --git a/packages/astro/test/fixtures/solid-component/package.json b/packages/astro/test/fixtures/solid-component/package.json index 2dc56f6cc..e15fdc924 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.3", + "@solidjs/router": "^0.14.5", "@test/solid-jsx-component": "file:./deps/solid-jsx-component", "astro": "workspace:*", - "solid-js": "^1.8.22" + "solid-js": "^1.9.1" } } diff --git a/packages/astro/test/fixtures/ssr-api-route/package.json b/packages/astro/test/fixtures/ssr-api-route/package.json index 7af4e57b0..46c1ae314 100644 --- a/packages/astro/test/fixtures/ssr-api-route/package.json +++ b/packages/astro/test/fixtures/ssr-api-route/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "dependencies": { - "@astrojs/node": "^8.3.3", + "@astrojs/node": "^8.3.4", "astro": "workspace:*" } } diff --git a/packages/astro/test/fixtures/ssr-env/package.json b/packages/astro/test/fixtures/ssr-env/package.json index 041073911..f2dfa384b 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/ssr-prerender-chunks/package.json b/packages/astro/test/fixtures/ssr-prerender-chunks/package.json index 503388b25..20f05b834 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.5", + "@types/react": "^18.3.9", "@types/react-dom": "^18.3.0", "astro": "workspace:*", "react": "^18.3.1", diff --git a/packages/astro/test/fixtures/ssr-scripts/package.json b/packages/astro/test/fixtures/ssr-scripts/package.json index d9866bcbb..77bb3c0cb 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/static-build-frameworks/package.json b/packages/astro/test/fixtures/static-build-frameworks/package.json index 9f9253b76..717aa5865 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.2", + "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/packages/astro/test/fixtures/static-build-ssr/package.json b/packages/astro/test/fixtures/static-build-ssr/package.json index 9c39f2b2f..2848e3983 100644 --- a/packages/astro/test/fixtures/static-build-ssr/package.json +++ b/packages/astro/test/fixtures/static-build-ssr/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "dependencies": { - "@astrojs/node": "^8.3.3", + "@astrojs/node": "^8.3.4", "@test/static-build-pkg": "workspace:*", "astro": "workspace:*" } diff --git a/packages/astro/test/fixtures/static-build/package.json b/packages/astro/test/fixtures/static-build/package.json index 687a4ca99..35a577996 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.2" + "preact": "^10.24.1" } } diff --git a/packages/astro/test/fixtures/tailwindcss-ts/package.json b/packages/astro/test/fixtures/tailwindcss-ts/package.json index 8d707667a..bf8a62527 100644 --- a/packages/astro/test/fixtures/tailwindcss-ts/package.json +++ b/packages/astro/test/fixtures/tailwindcss-ts/package.json @@ -5,7 +5,7 @@ "dependencies": { "@astrojs/tailwind": "workspace:*", "astro": "workspace:*", - "postcss": "^8.4.45", - "tailwindcss": "^3.4.10" + "postcss": "^8.4.47", + "tailwindcss": "^3.4.13" } } diff --git a/packages/astro/test/fixtures/tailwindcss/package.json b/packages/astro/test/fixtures/tailwindcss/package.json index 2b164bb44..1184d8487 100644 --- a/packages/astro/test/fixtures/tailwindcss/package.json +++ b/packages/astro/test/fixtures/tailwindcss/package.json @@ -7,7 +7,7 @@ "@astrojs/tailwind": "workspace:*", "astro": "workspace:*", "autoprefixer": "^10.4.20", - "postcss": "^8.4.45", - "tailwindcss": "^3.4.10" + "postcss": "^8.4.47", + "tailwindcss": "^3.4.13" } } diff --git a/packages/astro/test/fixtures/vue-component/package.json b/packages/astro/test/fixtures/vue-component/package.json index a9a47cf60..f989b0991 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.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/test/fixtures/vue-jsx/package.json b/packages/astro/test/fixtures/vue-jsx/package.json index 3ef40cd29..68cc32eb6 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.5.3" + "vue": "^3.5.8" } } 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 52b4866fb..c3ca6776a 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.19", - "vue": "^3.5.3" + "vue": "^3.5.8" } } diff --git a/packages/astro/tsconfig.json b/packages/astro/tsconfig.json index a91726547..28b25719a 100644 --- a/packages/astro/tsconfig.json +++ b/packages/astro/tsconfig.json @@ -5,7 +5,6 @@ "allowJs": true, "declarationDir": "./dist", "outDir": "./dist", - "jsx": "preserve", - "types": ["@types/dom-view-transitions"] + "jsx": "preserve" } } diff --git a/packages/db/package.json b/packages/db/package.json index d9f6b406c..8b111edbe 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -70,7 +70,7 @@ }, "dependencies": { "@astrojs/studio": "workspace:*", - "@libsql/client": "^0.10.0", + "@libsql/client": "^0.14.0", "async-listen": "^3.0.1", "deep-diff": "^1.0.2", "drizzle-orm": "^0.31.2", @@ -91,7 +91,7 @@ "astro": "workspace:*", "astro-scripts": "workspace:*", "cheerio": "1.0.0", - "typescript": "^5.5.4", - "vite": "^5.4.3" + "typescript": "^5.6.2", + "vite": "^5.4.8" } } diff --git a/packages/db/test/fixtures/ticketing-example/package.json b/packages/db/test/fixtures/ticketing-example/package.json index ba89c8c76..a3e2de0a6 100644 --- a/packages/db/test/fixtures/ticketing-example/package.json +++ b/packages/db/test/fixtures/ticketing-example/package.json @@ -12,16 +12,16 @@ "dependencies": { "@astrojs/check": "^0.9.3", "@astrojs/db": "workspace:*", - "@astrojs/node": "^8.3.3", + "@astrojs/node": "^8.3.4", "@astrojs/react": "^3.6.2", - "@types/react": "^18.3.5", + "@types/react": "^18.3.9", "@types/react-dom": "^18.3.0", "astro": "workspace:*", "open-props": "^1.7.6", "react": "^18.3.1", "react-dom": "^18.3.1", "simple-stack-form": "^0.1.12", - "typescript": "^5.5.4", + "typescript": "^5.6.2", "zod": "^3.23.8" } } diff --git a/packages/integrations/alpinejs/package.json b/packages/integrations/alpinejs/package.json index 83264c6ce..84e2d6c11 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.47.0", + "@playwright/test": "1.47.2", "astro": "workspace:*", "astro-scripts": "workspace:*", - "vite": "^5.4.3" + "vite": "^5.4.8" }, "publishConfig": { "provenance": true diff --git a/packages/integrations/lit/package.json b/packages/integrations/lit/package.json index 3323aca39..435e48b9f 100644 --- a/packages/integrations/lit/package.json +++ b/packages/integrations/lit/package.json @@ -61,7 +61,7 @@ "astro-scripts": "workspace:*", "cheerio": "1.0.0", "lit": "^3.2.0", - "sass": "^1.78.0" + "sass": "^1.79.3" }, "peerDependencies": { "@webcomponents/template-shadowroot": "^0.2.1", diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 1e7a90f39..9cb18f37c 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -78,9 +78,9 @@ "@types/markdown-it": "^14.1.2", "astro": "workspace:*", "astro-scripts": "workspace:*", - "devalue": "^5.0.0", - "linkedom": "^0.18.4", - "vite": "^5.4.3" + "devalue": "^5.1.1", + "linkedom": "^0.18.5", + "vite": "^5.4.8" }, "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 03b95608b..4bf2dba06 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.2" + "preact": "^10.24.1" } } diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index c2d8f0d6a..9c4cae897 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -39,7 +39,7 @@ "es-module-lexer": "^1.5.4", "estree-util-visit": "^2.0.0", "gray-matter": "^4.0.3", - "hast-util-to-html": "^9.0.2", + "hast-util-to-html": "^9.0.3", "kleur": "^4.1.5", "rehype-raw": "^7.0.0", "remark-gfm": "^4.0.0", @@ -52,25 +52,25 @@ "astro": "^4.8.0" }, "devDependencies": { - "@types/estree": "^1.0.5", + "@types/estree": "^1.0.6", "@types/hast": "^3.0.4", "@types/mdast": "^4.0.4", "astro": "workspace:*", "astro-scripts": "workspace:*", "cheerio": "1.0.0", - "linkedom": "^0.18.4", + "linkedom": "^0.18.5", "mdast-util-mdx": "^3.0.0", "mdast-util-mdx-jsx": "^3.1.3", "mdast-util-to-string": "^4.0.0", "rehype-mathjax": "^6.0.0", "rehype-pretty-code": "^0.14.0", "remark-math": "^6.0.0", - "remark-rehype": "^11.1.0", + "remark-rehype": "^11.1.1", "remark-shiki-twoslash": "^3.1.3", "remark-toc": "^9.0.0", - "shiki": "^1.16.2", + "shiki": "^1.19.0", "unified": "^11.0.5", - "vite": "^5.4.3" + "vite": "^5.4.8" }, "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 0fa46c0c2..0923f57e2 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.2" + "preact": "^10.24.1" } } diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index 5874d666d..dcf1fe54a 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.10" + "preact-render-to-string": "^6.5.11" }, "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", - "preact": "^10.23.2" + "preact": "^10.24.1" }, "peerDependencies": { "preact": "^10.6.5" diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index 64e6c4d33..6a6693a6a 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.5", + "@types/react": "^18.3.9", "@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.3" + "vite": "^5.4.8" }, "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 4002f7705..577548015 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.5.3" + "vue": "^3.5.8" } } diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json index 7a3cb6e15..9721fb8cb 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.22", - "vite": "^5.4.3" + "solid-js": "^1.9.1", + "vite": "^5.4.8" }, "peerDependencies": { "solid-devtools": "^0.30.1", diff --git a/packages/integrations/solid/src/server.ts b/packages/integrations/solid/src/server.ts index 295771265..d03b4c74c 100644 --- a/packages/integrations/solid/src/server.ts +++ b/packages/integrations/solid/src/server.ts @@ -48,7 +48,7 @@ async function renderToStaticMarkup( Component: any, props: Record<string, any>, { default: children, ...slotted }: any, - metadata?: undefined | Record<string, any>, + metadata?: Record<string, any>, ) { const ctx = getContext(this.result); const renderId = metadata?.hydrate ? incrementId(ctx) : ''; diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 7deb15ef8..a156c5c34 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -51,13 +51,13 @@ }, "dependencies": { "@sveltejs/vite-plugin-svelte": "^3.1.2", - "svelte2tsx": "^0.7.18" + "svelte2tsx": "^0.7.19" }, "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", "svelte": "^4.2.19", - "vite": "^5.4.3" + "vite": "^5.4.8" }, "peerDependencies": { "astro": "^4.0.0", diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 3e383437c..45aa90da9 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -34,14 +34,14 @@ }, "dependencies": { "autoprefixer": "^10.4.20", - "postcss": "^8.4.45", + "postcss": "^8.4.47", "postcss-load-config": "^4.0.2" }, "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", - "tailwindcss": "^3.4.10", - "vite": "^5.4.3" + "tailwindcss": "^3.4.13", + "vite": "^5.4.8" }, "peerDependencies": { "astro": "^3.0.0 || ^4.0.0 || ^5.0.0-beta.0", diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 7a69a97a4..b008864bd 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -44,18 +44,18 @@ "test": "astro-scripts test \"test/**/*.test.js\"" }, "dependencies": { - "@vitejs/plugin-vue": "^5.1.3", + "@vitejs/plugin-vue": "^5.1.4", "@vitejs/plugin-vue-jsx": "^4.0.1", - "@vue/compiler-sfc": "^3.5.3", - "vite-plugin-vue-devtools": "^7.4.4" + "@vue/compiler-sfc": "^3.5.8", + "vite-plugin-vue-devtools": "^7.4.6" }, "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", "cheerio": "1.0.0", - "linkedom": "^0.18.4", - "vite": "^5.4.3", - "vue": "^3.5.3" + "linkedom": "^0.18.5", + "vite": "^5.4.8", + "vue": "^3.5.8" }, "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 9acaf8f7a..3fc55f9a2 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.5.3" + "vue": "^3.5.8" } }
\ 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 109ec7d61..d3db82d77 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.5.3" + "vue": "^3.5.8" } } diff --git a/packages/integrations/vue/test/fixtures/app-entrypoint/package.json b/packages/integrations/vue/test/fixtures/app-entrypoint/package.json index 06def1ba6..278c86e12 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.5.3" + "vue": "^3.5.8" } }
\ No newline at end of file diff --git a/packages/integrations/web-vitals/package.json b/packages/integrations/web-vitals/package.json index cebe1319b..adf7a38ca 100644 --- a/packages/integrations/web-vitals/package.json +++ b/packages/integrations/web-vitals/package.json @@ -41,7 +41,7 @@ "@astrojs/db": "workspace:*", "astro": "workspace:*", "astro-scripts": "workspace:*", - "linkedom": "^0.18.4" + "linkedom": "^0.18.5" }, "publishConfig": { "provenance": true diff --git a/packages/integrations/web-vitals/test/fixtures/basics/package.json b/packages/integrations/web-vitals/test/fixtures/basics/package.json index 5dcbdb1f9..23404fc80 100644 --- a/packages/integrations/web-vitals/test/fixtures/basics/package.json +++ b/packages/integrations/web-vitals/test/fixtures/basics/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@astrojs/db": "workspace:*", - "@astrojs/node": "^8.3.3", + "@astrojs/node": "^8.3.4", "@astrojs/web-vitals": "workspace:*", "astro": "workspace:*" } diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 9231d9afa..f236cc8a4 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.2", + "hast-util-from-html": "^2.0.3", "hast-util-to-text": "^4.0.2", "import-meta-resolve": "^4.1.0", "mdast-util-definitions": "^6.0.0", @@ -43,9 +43,9 @@ "rehype-stringify": "^10.0.0", "remark-gfm": "^4.0.0", "remark-parse": "^11.0.0", - "remark-rehype": "^11.1.0", + "remark-rehype": "^11.1.1", "remark-smartypants": "^3.0.2", - "shiki": "^1.16.2", + "shiki": "^1.19.0", "unified": "^11.0.5", "unist-util-remove-position": "^5.0.0", "unist-util-visit": "^5.0.0", @@ -53,13 +53,13 @@ "vfile": "^6.0.3" }, "devDependencies": { - "@types/estree": "^1.0.5", + "@types/estree": "^1.0.6", "@types/hast": "^3.0.4", "@types/mdast": "^4.0.4", "@types/unist": "^3.0.3", "astro-scripts": "workspace:*", "esbuild": "^0.21.5", - "mdast-util-mdx-expression": "^2.0.0" + "mdast-util-mdx-expression": "^2.0.1" }, "publishConfig": { "provenance": true diff --git a/packages/studio/package.json b/packages/studio/package.json index 75c6c8697..e81945819 100644 --- a/packages/studio/package.json +++ b/packages/studio/package.json @@ -41,7 +41,7 @@ "devDependencies": { "astro": "workspace:*", "astro-scripts": "workspace:*", - "typescript": "^5.5.4", - "vite": "^5.4.3" + "typescript": "^5.6.2", + "vite": "^5.4.8" } } diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index 064401ce8..69aac31bc 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -32,7 +32,7 @@ "ci-info": "^4.0.0", "debug": "^4.3.7", "dlv": "^1.1.3", - "dset": "^3.1.3", + "dset": "^3.1.4", "is-docker": "^3.0.0", "is-wsl": "^3.1.0", "which-pm-runs": "^1.1.0" |