File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 5151 "@types/node" : " ^24.5.2" ,
5252 "@types/react" : " ^18.0.28" ,
5353 "@types/react-dom" : " ^18.0.11" ,
54- "@umijs/fabric" : " ^2 .0.9 " ,
54+ "@umijs/fabric" : " ^4 .0.0 " ,
5555 "cheerio" : " 1.0.0-rc.12" ,
5656 "coveralls" : " ^3.0.6" ,
5757 "cross-env" : " ^7.0.2" ,
6868 "rc-test" : " ^7.0.15" ,
6969 "react" : " ^16.0.0" ,
7070 "react-dom" : " ^16.0.0" ,
71- "regenerator-runtime" : " ^0.14.0"
71+ "regenerator-runtime" : " ^0.14.0" ,
72+ "eslint" : " 8.x"
7273 },
7374 "peerDependencies" : {
7475 "react" : " >=16.9.0" ,
7576 "react-dom" : " >=16.9.0"
7677 },
7778 "resolutions" : {
78- "@types/minimatch" : " 5.1.2"
79- },
79+ "@types/minimatch" : " 5.1.2"
80+ },
8081 "cnpm" : {
8182 "mode" : " npm"
8283 },
8384 "tnpm" : {
8485 "mode" : " npm"
8586 }
86- }
87+ }
Original file line number Diff line number Diff line change 11import { getDOM } from '@rc-component/util/lib/Dom/findDOMNode' ;
22import { supportRef , useComposeRef , getNodeRef } from '@rc-component/util/lib/ref' ;
33import * as React from 'react' ;
4- import type { ResizeObserverProps , SizeInfo } from '..' ;
4+ import type { ResizeObserverProps } from '..' ;
55import { CollectionContext } from '../Collection' ;
66import useResizeObserver from '../useResizeObserver' ;
77
Original file line number Diff line number Diff line change @@ -75,5 +75,5 @@ export default function useResizeObserver(
7575 unobserve ( target , onInternalResize ) ;
7676 }
7777 } ;
78- } , [ enabled , getTarget ] ) ;
78+ } , [ enabled ] ) ;
7979}
You can’t perform that action at this time.
0 commit comments