File tree 6 files changed +13
-9
lines changed
packages/react-devtools-shared/src
6 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 63
63
"eslint-plugin-react-internal" : " link:./scripts/eslint-rules" ,
64
64
"fbjs-scripts" : " 1.2.0" ,
65
65
"filesize" : " ^6.0.1" ,
66
- "flow-bin" : " ^0.146 .0" ,
66
+ "flow-bin" : " ^0.152 .0" ,
67
67
"glob" : " ^7.1.6" ,
68
68
"glob-stream" : " ^6.1.0" ,
69
69
"google-closure-compiler" : " ^20200517.0.0" ,
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ import type {Element} from 'react-devtools-shared/src/devtools/views/Components/
33
33
import type { Element as ReactElement } from 'react' ;
34
34
import type { FrontendBridge } from 'react-devtools-shared/src/bridge' ;
35
35
36
+ const hasOwnProperty = Object . prototype . hasOwnProperty ;
37
+
36
38
type Type = 'props' | 'state' | 'context' | 'hooks' ;
37
39
38
40
type KeyValueProps = {
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ import isArray from 'react-devtools-shared/src/isArray';
14
14
15
15
import type { HooksTree } from 'react-debug-tools/src/ReactDebugHooks' ;
16
16
17
+ const hasOwnProperty = Object . prototype . hasOwnProperty ;
18
+
17
19
export function alphaSortEntries (
18
20
entryA : [ string , mixed ] ,
19
21
entryB : [ string , mixed ] ,
Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ import isArray from './isArray';
56
56
import type { ComponentFilter , ElementType } from './types' ;
57
57
import type { LRUCache } from 'react-devtools-shared/src/types' ;
58
58
59
+ const hasOwnProperty = Object . prototype . hasOwnProperty ;
60
+
59
61
const cachedDisplayNames : WeakMap < Function , string > = new WeakMap ( ) ;
60
62
61
63
// On large trees, encoding takes significant time.
Original file line number Diff line number Diff line change @@ -40,14 +40,11 @@ untyped-type-import=error
40
40
41
41
[options]
42
42
%CI_MAX_WORKERS%
43
- esproposal.class_static_fields=enable
44
- esproposal.class_instance_fields=enable
45
- esproposal.optional_chaining=enable
46
43
exact_by_default=true
47
44
munge_underscores=false
48
45
49
46
# Substituted by createFlowConfig.js:
50
47
%REACT_RENDERER_FLOW_OPTIONS%
51
48
52
49
[version]
53
- ^0.146 .0
50
+ ^0.152 .0
Original file line number Diff line number Diff line change 6901
6901
6902
6902
"eslint-plugin-react-internal@link:./scripts/eslint-rules":
6903
6903
version "0.0.0"
6904
+ uid ""
6904
6905
6905
6906
eslint-plugin-react@^6.7.1:
6906
6907
version "6.10.3"
@@ -7911,10 +7912,10 @@ flatted@^2.0.0:
7911
7912
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
7912
7913
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
7913
7914
7914
- flow-bin@^0.146 .0:
7915
- version "0.146 .0"
7916
- resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.146 .0.tgz#fafa002663a0e13bf3c08c3972dd93d68289ccc6 "
7917
- integrity sha512-TP8eCwltqc7fo6ad5klgsrZ2veZIK2qM1vHf1A/cnXTStPh8hLAz1cOXmlQIFZR/7fjSMI39TS3CgF6M/HUhAw ==
7915
+ flow-bin@^0.152 .0:
7916
+ version "0.152 .0"
7917
+ resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.152 .0.tgz#6980d0cd58f59e9aefd580b11109a1d56eba46b1 "
7918
+ integrity sha512-b4ijbZIQovcx5l/T7VnwyBPIikj60A2qk7hKqQKVWiuftQMrUmC5ct2/0SuVvheX6ZbPdZfeyw2EHO1/n3eAmw ==
7918
7919
7919
7920
7920
7921
version "0.13.0"
You can’t perform that action at this time.
0 commit comments