From 2cf31b07564511eb0fea5ffd6758680ec80d143e Mon Sep 17 00:00:00 2001 From: Peter Todd Date: Fri, 28 Jun 2024 12:12:40 +0100 Subject: [PATCH] chore: update zustand --- pnpm-lock.yaml | 27 ++++++++++++++++++++++----- sites/avivator/package.json | 2 +- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 95883b9d3..528942f0a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -300,8 +300,8 @@ importers: specifier: ^14.2.3 version: 14.2.3(react@18.3.1) zustand: - specifier: ^3.4.1 - version: 3.7.2(react@18.3.1) + specifier: ^4.5.4 + version: 4.5.4(react@18.3.1) devDependencies: '@vitejs/plugin-react': specifier: ^4.2.1 @@ -5432,6 +5432,11 @@ packages: urlpattern-polyfill@10.0.0: resolution: {integrity: sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==} + use-sync-external-store@1.2.0: + resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + utf8-stream@0.0.0: resolution: {integrity: sha512-X92xJPYQcFbRH4IaCH7zUEc8JLgGlIum7JFvo3AVTCaxMrJKEMrpoEkmE3P2NV0nALyM/rDHqIW628jt+BCO+w==} @@ -5684,12 +5689,18 @@ packages: zstddec@0.1.0: resolution: {integrity: sha512-w2NTI8+3l3eeltKAdK8QpiLo/flRAr2p8AGeakfMZOXBxOg9HIu4LVDxBi81sYgVhFhdJjv1OrB5ssI8uFPoLg==} - zustand@3.7.2: - resolution: {integrity: sha512-PIJDIZKtokhof+9+60cpockVOq05sJzHCriyvaLBmEJixseQ1a5Kdov6fWZfWOu5SK9c+FhH1jU0tntLxRJYMA==} + zustand@4.5.4: + resolution: {integrity: sha512-/BPMyLKJPtFEvVL0E9E9BTUM63MNyhPGlvxk1XjrfWTUlV+BR8jufjsovHzrtR6YNcBEcL7cMHovL1n9xHawEg==} engines: {node: '>=12.7.0'} peerDependencies: + '@types/react': '>=16.8' + immer: '>=9.0.6' react: '>=16.8' peerDependenciesMeta: + '@types/react': + optional: true + immer: + optional: true react: optional: true @@ -11807,6 +11818,10 @@ snapshots: urlpattern-polyfill@10.0.0: {} + use-sync-external-store@1.2.0(react@18.3.1): + dependencies: + react: 18.3.1 + utf8-stream@0.0.0: dependencies: readable-stream: 1.0.34 @@ -12084,7 +12099,9 @@ snapshots: zstddec@0.1.0: {} - zustand@3.7.2(react@18.3.1): + zustand@4.5.4(react@18.3.1): + dependencies: + use-sync-external-store: 1.2.0(react@18.3.1) optionalDependencies: react: 18.3.1 diff --git a/sites/avivator/package.json b/sites/avivator/package.json index cabc45409..13c692f59 100644 --- a/sites/avivator/package.json +++ b/sites/avivator/package.json @@ -18,7 +18,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "react-dropzone": "^14.2.3", - "zustand": "^3.4.1" + "zustand": "^4.5.4" }, "devDependencies": { "@vitejs/plugin-react": "^4.2.1",