From 031cf8b1b848712a75628205cf5f454ce797ac79 Mon Sep 17 00:00:00 2001 From: Innei Date: Mon, 15 Jan 2024 13:10:08 +0800 Subject: [PATCH] Revert "fix(deps): update dependency react-toastify to v10 (#244)" This reverts commit a3df9733631e6896176051fa561cd3e333fbb6d5. --- package.json | 2 +- pnpm-lock.yaml | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index df288c0e26..a4a06e28c0 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "react-error-boundary": "4.0.12", "react-intersection-observer": "9.5.3", "react-responsive-masonry": "2.1.7", - "react-toastify": "10.0.0", + "react-toastify": "9.1.3", "react-tweet": "3.2.0", "react-wrap-balancer": "1.1.0", "remove-markdown": "0.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 71a918ffa5..d701b822c4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -189,8 +189,8 @@ dependencies: specifier: 2.1.7 version: 2.1.7 react-toastify: - specifier: 10.0.0 - version: 10.0.0(react-dom@18.2.0)(react@18.2.0) + specifier: 9.1.3 + version: 9.1.3(react-dom@18.2.0)(react@18.2.0) react-tweet: specifier: 3.2.0 version: 3.2.0(react-dom@18.2.0)(react@18.2.0) @@ -3750,6 +3750,11 @@ packages: resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==} dev: false + /clsx@1.2.1: + resolution: {integrity: sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==} + engines: {node: '>=6'} + dev: false + /clsx@2.1.0: resolution: {integrity: sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg==} engines: {node: '>=6'} @@ -7842,13 +7847,13 @@ packages: tslib: 2.6.2 dev: false - /react-toastify@10.0.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-nTKun8snjXcdmaYJIwgeXQ1IKkUBDkCt7O3K1y/XdrFh8o+MZwO1mY79cZ+qsXX92KFz6psUxHUZcLHCVkA/Sw==} + /react-toastify@9.1.3(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-fPfb8ghtn/XMxw3LkxQBk3IyagNpF/LIKjOBflbexr2AWxAH1MJgvnESwEwBn9liLFXgTKWgBSdZpw9m4OTHTg==} peerDependencies: react: '>=16' react-dom: '>=16' dependencies: - clsx: 2.1.0 + clsx: 1.2.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false