From 341261c2d0887bfd932fecccbbeb72435b8d12b0 Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 22 Feb 2024 01:49:18 -0500 Subject: [PATCH] Upgrade Immer to 10.0 with ESM support (#336) --- package-lock.json | 14 +++++++------- packages/reactivated/package.json | 2 +- packages/reactivated/src/vite.mts | 3 --- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 19051498..fa762329 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4601,9 +4601,9 @@ } }, "node_modules/immer": { - "version": "9.0.15", - "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.15.tgz", - "integrity": "sha512-2eB/sswms9AEUSkOm4SbV5Y7Vmt/bKRwByd52jfLkW4OLYeaTP3EEiJ9agqU0O/tq6Dk62Zfj+TJSqfm1rLVGQ==", + "version": "10.0.3", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.0.3.tgz", + "integrity": "sha512-pwupu3eWfouuaowscykeckFmVTpqbzW+rXFCX8rQLkZzM9ftBmU/++Ra+o+L27mz03zJTlyV4UUr+fdKNffo4A==", "peer": true, "funding": { "type": "opencollective", @@ -8253,7 +8253,7 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-unused-imports": "^2.0.0", "express": "^4.18.2", - "immer": "^9.0.7", + "immer": "^10.0.3", "json-schema-to-typescript": "^13.0.1", "prettier": "^2.8.8", "react": "^18.1.0", @@ -11498,9 +11498,9 @@ "peer": true }, "immer": { - "version": "9.0.15", - "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.15.tgz", - "integrity": "sha512-2eB/sswms9AEUSkOm4SbV5Y7Vmt/bKRwByd52jfLkW4OLYeaTP3EEiJ9agqU0O/tq6Dk62Zfj+TJSqfm1rLVGQ==", + "version": "10.0.3", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.0.3.tgz", + "integrity": "sha512-pwupu3eWfouuaowscykeckFmVTpqbzW+rXFCX8rQLkZzM9ftBmU/++Ra+o+L27mz03zJTlyV4UUr+fdKNffo4A==", "peer": true }, "import-fresh": { diff --git a/packages/reactivated/package.json b/packages/reactivated/package.json index b733592a..e5bdfbfd 100644 --- a/packages/reactivated/package.json +++ b/packages/reactivated/package.json @@ -50,7 +50,7 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-unused-imports": "^2.0.0", "express": "^4.18.2", - "immer": "^9.0.7", + "immer": "^10.0.3", "json-schema-to-typescript": "^13.0.1", "prettier": "^2.8.8", "react": "^18.1.0", diff --git a/packages/reactivated/src/vite.mts b/packages/reactivated/src/vite.mts index 1da76355..d2cfc82c 100644 --- a/packages/reactivated/src/vite.mts +++ b/packages/reactivated/src/vite.mts @@ -55,9 +55,6 @@ const rendererConfig: InlineConfig = { dependencies: [ "react-syntax-highlighter", "lz-string", - "@reduxjs/toolkit", - "immer", - "lodash", "react-use", "react-helmet-async", ],