chore(deps): update dev dependencies (#2944)

This commit is contained in:
Daishi Kato 2025-01-07 23:17:07 +09:00 committed by GitHub
parent 4378abe0a4
commit 6eff6e7eec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 827 additions and 853 deletions

View File

@ -31,8 +31,8 @@ jobs:
- 18.2.0
- 18.3.1
- 19.0.0-rc.1
- 19.0.0-rc-1b1283ad-20241203
- 0.0.0-experimental-1b1283ad-20241203
- 19.1.0-canary-3ce77d55-20250106
- 0.0.0-experimental-3ce77d55-20250106
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4

View File

@ -110,42 +110,42 @@
"@eslint/js": "^9.17.0",
"@redux-devtools/extension": "^3.3.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-typescript": "^12.1.1",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-typescript": "^12.1.2",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@types/node": "^22.10.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@testing-library/react": "^16.1.0",
"@types/node": "^22.10.5",
"@types/react": "^19.0.3",
"@types/react-dom": "^19.0.2",
"@types/use-sync-external-store": "^0.0.6",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/eslint-plugin": "^1.1.14",
"@vitest/eslint-plugin": "^1.1.24",
"@vitest/ui": "^2.1.8",
"esbuild": "^0.24.0",
"esbuild": "^0.24.2",
"eslint": "9.17.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-compiler": "19.0.0-beta-63e3235-20250105",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-testing-library": "^7.0.0",
"eslint-plugin-testing-library": "^7.1.1",
"immer": "^10.1.1",
"jsdom": "^25.0.1",
"json": "^11.0.0",
"prettier": "^3.4.2",
"react": "19.0.0-rc.1",
"react-dom": "19.0.0-rc.1",
"react": "19.0.0",
"react-dom": "19.0.0",
"redux": "^5.0.1",
"rollup": "^4.28.0",
"rollup": "^4.30.1",
"rollup-plugin-esbuild": "^6.1.1",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0",
"use-sync-external-store": "^1.2.2",
"typescript-eslint": "^8.19.1",
"use-sync-external-store": "^1.4.0",
"vitest": "^2.1.8"
},
"peerDependencies": {

1640
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@ import React from 'react'
import { shallow } from '../vanilla/shallow.ts'
export function useShallow<S, U>(selector: (state: S) => U): (state: S) => U {
const prev = React.useRef<U>()
const prev = React.useRef<U>(undefined)
return (state) => {
const next = selector(state)
return shallow(prev.current, next)