From cbd9bab89ff7e62b4518b9b755526c7dc1a55e08 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 20:32:00 +0800 Subject: [PATCH] fix(deps): update dependency @preact/signals to v2 (#12811) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- examples/framework-preact/package.json | 2 +- .../fixtures/preact-component/package.json | 2 +- packages/integrations/preact/package.json | 2 +- pnpm-lock.yaml | 18 +++++++++--------- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index edc3e416e5..57a6fc251b 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/preact": "^4.0.1", - "@preact/signals": "^1.3.0", + "@preact/signals": "^2.0.0", "astro": "^5.1.2", "preact": "^10.24.3" } diff --git a/packages/astro/test/fixtures/preact-component/package.json b/packages/astro/test/fixtures/preact-component/package.json index 377cb63b7e..a705f9b255 100644 --- a/packages/astro/test/fixtures/preact-component/package.json +++ b/packages/astro/test/fixtures/preact-component/package.json @@ -4,7 +4,7 @@ "private": true, "dependencies": { "@astrojs/preact": "workspace:*", - "@preact/signals": "1.3.0", + "@preact/signals": "2.0.0", "astro": "workspace:*", "preact": "^10.25.0" } diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index 5d8b539e2b..c079e2cf7c 100644 --- a/packages/integrations/preact/package.json +++ b/packages/integrations/preact/package.json @@ -38,7 +38,7 @@ "@babel/plugin-transform-react-jsx": "^7.25.9", "@babel/plugin-transform-react-jsx-development": "^7.25.9", "@preact/preset-vite": "2.8.2", - "@preact/signals": "^1.3.0", + "@preact/signals": "^2.0.0", "babel-plugin-transform-hook-names": "^1.0.2", "preact-render-to-string": "^6.5.11", "vite": "^6.0.5" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7516f41c91..8a1baabc27 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -257,8 +257,8 @@ importers: specifier: ^4.0.1 version: link:../../packages/integrations/preact '@preact/signals': - specifier: ^1.3.0 - version: 1.3.0(preact@10.25.1) + specifier: ^2.0.0 + version: 2.0.0(preact@10.25.1) astro: specifier: ^5.1.2 version: link:../../packages/astro @@ -3491,8 +3491,8 @@ importers: specifier: workspace:* version: link:../../../../integrations/preact '@preact/signals': - specifier: 1.3.0 - version: 1.3.0(preact@10.25.1) + specifier: 2.0.0 + version: 2.0.0(preact@10.25.1) astro: specifier: workspace:* version: link:../../.. @@ -5006,8 +5006,8 @@ importers: specifier: 2.8.2 version: 2.8.2(@babel/core@7.26.0)(preact@10.25.1)(vite@6.0.5(@types/node@18.19.50)(jiti@2.4.0)(sass@1.82.0)(yaml@2.5.1)) '@preact/signals': - specifier: ^1.3.0 - version: 1.3.0(preact@10.25.1) + specifier: ^2.0.0 + version: 2.0.0(preact@10.25.1) babel-plugin-transform-hook-names: specifier: ^1.0.2 version: 1.0.2(@babel/core@7.26.0) @@ -6941,8 +6941,8 @@ packages: '@preact/signals-core@1.8.0': resolution: {integrity: sha512-OBvUsRZqNmjzCZXWLxkZfhcgT+Fk8DDcT/8vD6a1xhDemodyy87UJRJfASMuSD8FaAIeGgGm85ydXhm7lr4fyA==} - '@preact/signals@1.3.0': - resolution: {integrity: sha512-EOMeg42SlLS72dhoq6Vjq08havnLseWmPQ8A0YsgIAqMgWgx7V1a39+Pxo6i7SY5NwJtH4849JogFq3M67AzWg==} + '@preact/signals@2.0.0': + resolution: {integrity: sha512-wzx6YEXw2a+vKdE+p+XlIGsmH2bDjJzzevirtshT9ixoNIV2WJg83kG+QErPHs/ZkeR+MsqgRIFB6x22fDVRlg==} peerDependencies: preact: 10.x @@ -12755,7 +12755,7 @@ snapshots: '@preact/signals-core@1.8.0': {} - '@preact/signals@1.3.0(preact@10.25.1)': + '@preact/signals@2.0.0(preact@10.25.1)': dependencies: '@preact/signals-core': 1.8.0 preact: 10.25.1