chore(deps): fast-deep-equal -> react-fast-compare

This commit is contained in:
rusconn
2023-06-24 13:42:02 +09:00
parent 2040e7ca29
commit 257080b00d
4 changed files with 11 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
import { memo } from "react"; import { memo } from "react";
import equal from "fast-deep-equal"; import equal from "react-fast-compare";
type Props = { type Props = {
list: React.ReactNode[]; list: React.ReactNode[];

View File

@@ -1,5 +1,5 @@
import { memo } from "react"; import { memo } from "react";
import equal from "fast-deep-equal"; import equal from "react-fast-compare";
type Props = { type Props = {
list: React.ReactNode[]; list: React.ReactNode[];

View File

@@ -33,7 +33,6 @@
"clsx": "^1.2.1", "clsx": "^1.2.1",
"cmdk": "^0.2.0", "cmdk": "^0.2.0",
"create-hash": "^1.2.0", "create-hash": "^1.2.0",
"fast-deep-equal": "^3.1.3",
"fp-ts": "^2.16.0", "fp-ts": "^2.16.0",
"fuse.js": "^6.6.2", "fuse.js": "^6.6.2",
"html-escaper": "^3.0.3", "html-escaper": "^3.0.3",
@@ -48,6 +47,7 @@
"react": "18.2.0", "react": "18.2.0",
"react-day-picker": "^8.7.1", "react-day-picker": "^8.7.1",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-fast-compare": "^3.2.2",
"sharp": "^0.32.1", "sharp": "^0.32.1",
"tailwind-merge": "^1.12.0", "tailwind-merge": "^1.12.0",
"tailwindcss-animate": "^1.0.5", "tailwindcss-animate": "^1.0.5",

11
pnpm-lock.yaml generated
View File

@@ -34,9 +34,6 @@ dependencies:
create-hash: create-hash:
specifier: ^1.2.0 specifier: ^1.2.0
version: 1.2.0 version: 1.2.0
fast-deep-equal:
specifier: ^3.1.3
version: 3.1.3
fp-ts: fp-ts:
specifier: ^2.16.0 specifier: ^2.16.0
version: 2.16.0 version: 2.16.0
@@ -79,6 +76,9 @@ dependencies:
react-dom: react-dom:
specifier: 18.2.0 specifier: 18.2.0
version: 18.2.0(react@18.2.0) version: 18.2.0(react@18.2.0)
react-fast-compare:
specifier: ^3.2.2
version: 3.2.2
sharp: sharp:
specifier: ^0.32.1 specifier: ^0.32.1
version: 0.32.1 version: 0.32.1
@@ -2692,6 +2692,7 @@ packages:
/fast-deep-equal@3.1.3: /fast-deep-equal@3.1.3:
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
dev: true
/fast-glob@3.2.12: /fast-glob@3.2.12:
resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==}
@@ -3907,6 +3908,10 @@ packages:
scheduler: 0.23.0 scheduler: 0.23.0
dev: false dev: false
/react-fast-compare@3.2.2:
resolution: {integrity: sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==}
dev: false
/react-is@16.13.1: /react-is@16.13.1:
resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
dev: true dev: true