diff --git a/components/character/CharacterModal/index.tsx b/components/character/CharacterModal/index.tsx index f42b3114..bc129c89 100644 --- a/components/character/CharacterModal/index.tsx +++ b/components/character/CharacterModal/index.tsx @@ -2,7 +2,7 @@ import React, { PropsWithChildren, useEffect, useState } from 'react' import { useRouter } from 'next/router' import { Trans, useTranslation } from 'next-i18next' -import isEqual from 'lodash/isEqual' +import { isEqual } from 'lodash' // UI dependencies import Alert from '~components/common/Alert' diff --git a/package-lock.json b/package-lock.json index 95f30b96..c1c08ae9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,9 +42,9 @@ "i18next-browser-languagedetector": "^6.1.3", "i18next-http-backend": "^1.3.2", "local-storage": "^2.0.0", + "lodash": "^4.17.21", "lodash.clonedeep": "^4.5.0", "lodash.debounce": "^4.0.8", - "lodash.isequal": "^4.5.0", "meyer-reset-scss": "^2.0.4", "next": "12.0.8", "next-i18next": "^10.5.0", @@ -86,7 +86,7 @@ "eslint-config-next": "12.0.8", "eslint-plugin-valtio": "^0.4.1", "sass-loader": "^13.2.2", - "typescript": "^4.5.5" + "typescript": "^5.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -7411,6 +7411,11 @@ "resolved": "https://registry.npmjs.org/local-storage/-/local-storage-2.0.0.tgz", "integrity": "sha512-/0sRoeijw7yr/igbVVygDuq6dlYCmtsuTmmpnweVlVtl/s10pf5BCq8LWBxW/AMyFJ3MhMUuggMZiYlx6qr9tw==" }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, "node_modules/lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", @@ -7421,11 +7426,6 @@ "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==" }, - "node_modules/lodash.isequal": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", - "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==" - }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", @@ -9530,16 +9530,16 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", + "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/uc.micro": { diff --git a/package.json b/package.json index 41250222..fe059203 100644 --- a/package.json +++ b/package.json @@ -49,9 +49,9 @@ "i18next-browser-languagedetector": "^6.1.3", "i18next-http-backend": "^1.3.2", "local-storage": "^2.0.0", + "lodash": "^4.17.21", "lodash.clonedeep": "^4.5.0", "lodash.debounce": "^4.0.8", - "lodash.isequal": "^4.5.0", "meyer-reset-scss": "^2.0.4", "next": "12.0.8", "next-i18next": "^10.5.0", @@ -93,7 +93,7 @@ "eslint-config-next": "12.0.8", "eslint-plugin-valtio": "^0.4.1", "sass-loader": "^13.2.2", - "typescript": "^4.5.5" + "typescript": "^5.0.0" }, "overrides": { "@tiptap/extension-mention": {