From b02680896a7f7d6f148fce3c6d9ed7d013b40494 Mon Sep 17 00:00:00 2001 From: wood chen Date: Fri, 18 Apr 2025 20:40:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20framer-motion=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E7=89=88=E6=9C=AC=E8=87=B3=20^10.18.0=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20@emotion/is-prop-valid=20=E5=92=8C=20@emot?= =?UTF-8?q?ion/memoize=20=E4=BD=9C=E4=B8=BA=E5=8F=AF=E9=80=89=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=EF=BC=8C=E7=A7=BB=E9=99=A4=E4=B8=8D=E5=86=8D=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=20motion-dom=20=E5=92=8C=20motion-utils=20?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 53 +++++++++++++++++++++++------------------------ package.json | 2 +- 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7beaa3c..d3ba3e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ "country-flag-icons": "1.5.18", "d3-geo": "3.1.1", "dayjs": "1.11.13", - "framer-motion": "12.4.5", + "framer-motion": "^10.18.0", "i18n-iso-countries": "7.14.0", "i18next": "24.2.2", "lucide-react": "0.460.0", @@ -210,6 +210,23 @@ "node": ">=6.9.0" } }, + "node_modules/@emotion/is-prop-valid": { + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz", + "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==", + "license": "MIT", + "optional": true, + "dependencies": { + "@emotion/memoize": "0.7.4" + } + }, + "node_modules/@emotion/memoize": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz", + "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==", + "license": "MIT", + "optional": true + }, "node_modules/@esbuild/aix-ppc64": { "version": "0.24.2", "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz", @@ -4371,24 +4388,21 @@ } }, "node_modules/framer-motion": { - "version": "12.4.5", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.4.5.tgz", - "integrity": "sha512-9+8wglyIJFeUpVg4U8Ohvoo5x7zmvRqawWXhEUThcYdwL/5A1/OkLvQo68Zz5taUE11HKG/Ex+LPaN2+fMkRdA==", + "version": "10.18.0", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-10.18.0.tgz", + "integrity": "sha512-oGlDh1Q1XqYPksuTD/usb0I70hq95OUzmL9+6Zd+Hs4XV0oaISBa/UUMSjYiq6m8EUF32132mOJ8xVZS+I0S6w==", "license": "MIT", "dependencies": { - "motion-dom": "^12.4.5", - "motion-utils": "^12.0.0", "tslib": "^2.4.0" }, + "optionalDependencies": { + "@emotion/is-prop-valid": "^0.8.2" + }, "peerDependencies": { - "@emotion/is-prop-valid": "*", - "react": "^18.0.0 || ^19.0.0", - "react-dom": "^18.0.0 || ^19.0.0" + "react": "^18.0.0", + "react-dom": "^18.0.0" }, "peerDependenciesMeta": { - "@emotion/is-prop-valid": { - "optional": true - }, "react": { "optional": true }, @@ -4952,21 +4966,6 @@ "node": ">=16 || 14 >=14.17" } }, - "node_modules/motion-dom": { - "version": "12.7.4", - "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.7.4.tgz", - "integrity": "sha512-1ZUHAoSUMMxP6jPqyxlk9XUfb6NxMsnWPnH2YGhrOhTURLcXWbETi6eemoKb60Pe32NVJYduL4B62VQSO5Jq8Q==", - "license": "MIT", - "dependencies": { - "motion-utils": "^12.7.2" - } - }, - "node_modules/motion-utils": { - "version": "12.7.2", - "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.7.2.tgz", - "integrity": "sha512-XhZwqctxyJs89oX00zn3OGCuIIpVevbTa+u82usWBC6pSHUd2AoNWiYa7Du8tJxJy9TFbZ82pcn5t7NOm1PHAw==", - "license": "MIT" - }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", diff --git a/package.json b/package.json index 524fa13..e028657 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "country-flag-icons": "1.5.18", "d3-geo": "3.1.1", "dayjs": "1.11.13", - "framer-motion": "12.4.5", + "framer-motion": "^10.18.0", "i18n-iso-countries": "7.14.0", "i18next": "24.2.2", "lucide-react": "0.460.0",