File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 "@types/babel__template" : " ^7.0.0" ,
1919 "@types/dedent" : " 0.7.0" ,
2020 "@types/jest" : " ^26.0.15" ,
21- "@types/node" : " ~10.14.0 " ,
21+ "@types/node" : " ~12.12.70 " ,
2222 "@types/which" : " ^2.0.0" ,
2323 "@typescript-eslint/eslint-plugin" : " ^4.1.0" ,
2424 "@typescript-eslint/parser" : " ^4.1.0" ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ function stackIsFromUser(stack: string) {
4040
4141const alwaysActive = ( ) => true ;
4242
43- // @ts -expect-error: doesn't exist in v10 typings
43+ // @ts -expect-error: doesn't exist in v12 typings
4444const hasWeakRef = typeof WeakRef === 'function' ;
4545
4646const asyncSleep = promisify ( setTimeout ) ;
@@ -96,13 +96,12 @@ export default function collectHandles(): HandleCollectionResult {
9696 // Timer that supports hasRef (Node v11+)
9797 if ( 'hasRef' in resource ) {
9898 if ( hasWeakRef ) {
99- // @ts -expect-error: doesn't exist in v10 typings
99+ // @ts -expect-error: doesn't exist in v12 typings
100100 const ref = new WeakRef ( resource ) ;
101101 isActive = ( ) => {
102102 return ref . deref ( ) ?. hasRef ( ) ?? false ;
103103 } ;
104104 } else {
105- // @ts -expect-error: doesn't exist in v10 typings
106105 isActive = resource . hasRef . bind ( resource ) ;
107106 }
108107 } else {
Original file line number Diff line number Diff line change @@ -2569,7 +2569,7 @@ __metadata:
25692569 "@types/babel__template": ^7.0.0
25702570 "@types/dedent": 0.7.0
25712571 "@types/jest": ^26.0.15
2572- "@types/node": ~10.14.0
2572+ "@types/node": ~12.12.70
25732573 "@types/which": ^2.0.0
25742574 "@typescript-eslint/eslint-plugin": ^4.1.0
25752575 "@typescript-eslint/parser": ^4.1.0
@@ -4728,10 +4728,10 @@ __metadata:
47284728 languageName: node
47294729 linkType: hard
47304730
4731- "@types/node@npm:*, @types/node@npm:~10.14.0 ":
4732- version: 10.14.22
4733- resolution: "@types/node@npm:10.14.22 "
4734- checksum: 392965766fc7f221169d62e4dafbfc875ba172ce610ac48fec26eaf572386913bd2c5d2e036bb747bb49923f1ade9eed2b2d09a391cbf5fbaaa864a74a4dad60
4731+ "@types/node@npm:*, @types/node@npm:~12.12.70 ":
4732+ version: 12.12.70
4733+ resolution: "@types/node@npm:12.12.70 "
4734+ checksum: ef0ea535b8301d7d8f89d848bb7d5028bbd702d8d96b812100cba71829b460fc0d00cbbf296909254c49d0efe5a57dd37d40ba3abaca902dc170034e90f651a2
47354735 languageName: node
47364736 linkType: hard
47374737
You can’t perform that action at this time.
0 commit comments