Skip to content

Commit

Permalink
fix(utils): bump auto sizer to resolve react 18 issues
Browse files Browse the repository at this point in the history
Fixes the dependency chain.
  • Loading branch information
markmcdowell committed May 11, 2023
1 parent 9fe8cc7 commit 009d42e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 26 deletions.
41 changes: 19 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -60,7 +60,7 @@
"@types/lodash.flattendeep": "^4.4.6",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@types/react-virtualized-auto-sizer": "^1.0.0",
"@types/react-virtualized-auto-sizer": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"babel-loader": "^8.2.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/package.json
Expand Up @@ -39,8 +39,8 @@
"watch": "tsc -p tsconfig.json --watch --preserveWatchOutput"
},
"dependencies": {
"@types/react-virtualized-auto-sizer": "^1.0.0",
"react-virtualized-auto-sizer": "^1.0.4"
"@types/react-virtualized-auto-sizer": "^1.0.1",
"react-virtualized-auto-sizer": "^1.0.15"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/src/withSize.tsx
@@ -1,5 +1,5 @@
import * as React from "react";
import AutoSizer, { AutoSizerProps } from "react-virtualized-auto-sizer";
import AutoSizer, { Props as AutoSizerProps } from "react-virtualized-auto-sizer";

export interface WithSizeProps {
readonly width: number;
Expand Down

0 comments on commit 009d42e

Please sign in to comment.