Regenerate error codes and update bundle size stats (#10287)
Brian Vaughn committed
Jul 26, 2017 at 11:21 UTC
8d5f2c4324ad86dad1f9ee15e190757b8c13b861
2 files changed
+125
-72
scripts/error-codes/codes.json
+55
-2
@@ -143,5 +143,58 @@
143
"141": "Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren().",
144
"142": "Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).",
145
"143": "React.Children.only expected to receive a single React element child.",
146
- "144": "React.PropTypes type checking code is stripped in production."
147
-}
\ No newline at end of file
146
+ "144": "React.PropTypes type checking code is stripped in production.",
147
+ "145": "React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.",
148
+ "146": "Missing owner for string ref %s. This error is likely caused by a bug in React. Please file an issue.",
149
+ "147": "Expected ref to be a function or a string.",
150
+ "148": "Element ref was specified as a string (%s) but no owner was set. You may have multiple copies of React loaded. (details: https://fb.me/react-refs-must-have-owner).",
151
+ "149": "An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.",
152
+ "150": "An iterable object provided no iterator.",
153
+ "151": "%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",
154
+ "152": "Resuming work not yet implemented.",
155
+ "153": "We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue.",
156
+ "154": "An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.",
157
+ "155": "Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.",
158
+ "156": "Invalid type of work. This error is likely caused by a bug in React. Please file an issue.",
159
+ "157": "There must be pending props for an initial mount. This error is likely caused by a bug in React. Please file an issue.",
160
+ "158": "There should always be pending or memoized props. This error is likely caused by a bug in React. Please file an issue.",
161
+ "159": "Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.",
162
+ "160": "Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.",
163
+ "161": "This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.",
164
+ "162": "This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.",
165
+ "163": "A coroutine cannot have host component children.",
166
+ "164": "Should be resolved by now. This error is likely caused by a bug in React. Please file an issue.",
167
+ "165": "We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.",
168
+ "166": "An indeterminate component should have become determinate before completing. This error is likely caused by a bug in React. Please file an issue.",
169
+ "167": "Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.",
170
+ "168": "Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.",
171
+ "169": "Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.",
172
+ "170": "Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.",
173
+ "171": "The custom dialog was already injected.",
174
+ "172": "Injected showDialog() must be a function.",
175
+ "173": "Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.",
176
+ "174": "Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.",
177
+ "175": "Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.",
178
+ "176": "Cannot commit the same tree as before. This is probably a bug related to the return field. This error is likely caused by a bug in React. Please file an issue.",
179
+ "177": "Should have next effect. This error is likely caused by a bug in React. Please file an issue.",
180
+ "178": "Should have a pending commit. This error is likely caused by a bug in React. Please file an issue.",
181
+ "179": "Commit phase errors should be scheduled to recover with task priority. This error is likely caused by a bug in React. Please file an issue.",
182
+ "180": "Switch statement should be exhuastive. This error is likely caused by a bug in React. Please file an issue.",
183
+ "181": "performWork was called recursively. This error is likely caused by a bug in React. Please file an issue.",
184
+ "182": "Should have found an error boundary. This error is likely caused by a bug in React. Please file an issue.",
185
+ "183": "No error for given unit of work. This error is likely caused by a bug in React. Please file an issue.",
186
+ "184": "Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.",
187
+ "185": "Task updates can only be scheduled as a nested update or inside batchedUpdates.",
188
+ "186": "flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.",
189
+ "187": "Unable to find node on an unmounted component.",
190
+ "188": "Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.",
191
+ "189": "Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.",
192
+ "190": "Invalid argument passed as callback. Expected a function. Instead received: %s",
193
+ "191": "React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers.",
194
+ "192": "The server renderer does not implement support for array children yet.",
195
+ "193": "Fiber needs to be injected to handle a fiber target for controlled events. This error is likely caused by a bug in React. Please file an issue.",
196
+ "194": "The internal instance must be a React host component. This error is likely caused by a bug in React. Please file an issue.",
197
+ "195": "Missing injection for fiber getContextForSubtree",
198
+ "196": "Injected invokeGuardedCallback() must be a function.",
199
+ "197": "clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue."
200
+}
scripts/rollup/results.json
+70
-70
@@ -25,36 +25,36 @@
25
"gzip": 6705
26
},
27
"react-dom.development.js (UMD_DEV)": {
28
- "size": 630876,
29
- "gzip": 143999
28
+ "size": 635559,
29
+ "gzip": 145168
30
},
31
"react-dom.production.min.js (UMD_PROD)": {
32
- "size": 127001,
33
- "gzip": 40233
32
+ "size": 121489,
33
+ "gzip": 38896
34
},
35
"react-dom.development.js (NODE_DEV)": {
36
- "size": 590270,
37
- "gzip": 134359
36
+ "size": 594953,
37
+ "gzip": 135561
38
},
39
"react-dom.production.min.js (NODE_PROD)": {
40
- "size": 123917,
41
- "gzip": 39159
40
+ "size": 118405,
41
+ "gzip": 37802
42
},
43
"ReactDOMFiber-dev.js (FB_DEV)": {
44
- "size": 589473,
45
- "gzip": 134510
44
+ "size": 593633,
45
+ "gzip": 135769
46
},
47
"ReactDOMFiber-prod.js (FB_PROD)": {
48
- "size": 429198,
49
- "gzip": 96890
48
+ "size": 430330,
49
+ "gzip": 97040
50
},
51
"react-dom-test-utils.development.js (NODE_DEV)": {
52
- "size": 55880,
53
- "gzip": 14123
52
+ "size": 56074,
53
+ "gzip": 14162
54
},
55
"ReactTestUtils-dev.js (FB_DEV)": {
56
- "size": 55759,
57
- "gzip": 14090
56
+ "size": 55864,
57
+ "gzip": 14128
58
},
59
"ReactDOMServerStack-dev.js (FB_DEV)": {
60
"size": 460810,
@@ -65,20 +65,20 @@
65
"gzip": 81957
66
},
67
"react-dom-server.development.js (UMD_DEV)": {
68
- "size": 121172,
69
- "gzip": 30762
68
+ "size": 121220,
69
+ "gzip": 30768
70
},
71
"react-dom-server.production.min.js (UMD_PROD)": {
72
- "size": 20365,
73
- "gzip": 7841
72
+ "size": 19961,
73
+ "gzip": 7706
74
},
75
"react-dom-server.development.js (NODE_DEV)": {
76
- "size": 90322,
77
- "gzip": 23339
76
+ "size": 90370,
77
+ "gzip": 23345
78
},
79
"react-dom-server.production.min.js (NODE_PROD)": {
80
- "size": 18871,
81
- "gzip": 7306
80
+ "size": 18830,
81
+ "gzip": 7277
82
},
83
"ReactDOMServerStream-dev.js (FB_DEV)": {
84
"size": 264750,
@@ -89,52 +89,52 @@
89
"gzip": 51047
90
},
91
"react-art.development.js (UMD_DEV)": {
92
- "size": 368287,
93
- "gzip": 81442
92
+ "size": 372797,
93
+ "gzip": 82485
94
},
95
"react-art.production.min.js (UMD_PROD)": {
96
- "size": 99307,
97
- "gzip": 30380
96
+ "size": 94130,
97
+ "gzip": 29136
98
},
99
"react-art.development.js (NODE_DEV)": {
100
- "size": 289654,
101
- "gzip": 61394
100
+ "size": 294164,
101
+ "gzip": 62451
102
},
103
"react-art.production.min.js (NODE_PROD)": {
104
- "size": 60869,
105
- "gzip": 18455
104
+ "size": 55693,
105
+ "gzip": 17237
106
},
107
"ReactARTFiber-dev.js (FB_DEV)": {
108
- "size": 289007,
109
- "gzip": 61246
108
+ "size": 293024,
109
+ "gzip": 62518
110
},
111
"ReactARTFiber-prod.js (FB_PROD)": {
112
- "size": 219348,
113
- "gzip": 45493
112
+ "size": 220085,
113
+ "gzip": 45544
114
},
115
"ReactNativeStack-dev.js (RN_DEV)": {
116
- "size": 188707,
117
- "gzip": 36597
116
+ "size": 188492,
117
+ "gzip": 36707
118
},
119
"ReactNativeStack-prod.js (RN_PROD)": {
120
- "size": 137218,
121
- "gzip": 26349
120
+ "size": 137361,
121
+ "gzip": 26398
122
},
123
"ReactNativeFiber-dev.js (RN_DEV)": {
124
- "size": 289116,
125
- "gzip": 52383
124
+ "size": 289842,
125
+ "gzip": 52523
126
},
127
"ReactNativeFiber-prod.js (RN_PROD)": {
128
- "size": 223104,
129
- "gzip": 38918
128
+ "size": 223941,
129
+ "gzip": 38910
130
},
131
"react-test-renderer.development.js (NODE_DEV)": {
132
- "size": 286841,
133
- "gzip": 60294
132
+ "size": 291527,
133
+ "gzip": 61318
134
},
135
"ReactTestRendererFiber-dev.js (FB_DEV)": {
136
- "size": 286185,
137
- "gzip": 60147
136
+ "size": 290345,
137
+ "gzip": 61392
138
},
139
"react-test-renderer-shallow.development.js (NODE_DEV)": {
140
"size": 10302,
@@ -145,8 +145,8 @@
145
"gzip": 2541
146
},
147
"react-noop-renderer.development.js (NODE_DEV)": {
148
- "size": 280941,
149
- "gzip": 58708
148
+ "size": 285454,
149
+ "gzip": 59727
150
},
151
"ReactHTMLString-dev.js (FB_DEV)": {
152
"size": 265654,
@@ -181,20 +181,20 @@
181
"gzip": 50920
182
},
183
"ReactDOMServer-dev.js (FB_DEV)": {
184
- "size": 89834,
185
- "gzip": 23287
184
+ "size": 89864,
185
+ "gzip": 23290
186
},
187
"ReactDOMServer-prod.js (FB_PROD)": {
188
- "size": 49640,
189
- "gzip": 13644
188
+ "size": 49670,
189
+ "gzip": 13643
190
},
191
"react-dom-node-stream.development.js (NODE_DEV)": {
192
- "size": 92016,
193
- "gzip": 23840
192
+ "size": 92064,
193
+ "gzip": 23841
194
},
195
"react-dom-node-stream.production.min.js (NODE_PROD)": {
196
- "size": 19808,
197
- "gzip": 7646
196
+ "size": 19771,
197
+ "gzip": 7621
198
},
199
"ReactDOMNodeStream-dev.js (FB_DEV)": {
200
"size": 264918,
@@ -205,28 +205,28 @@
205
"gzip": 50956
206
},
207
"react-dom-unstable-native-dependencies.development.js (UMD_DEV)": {
208
- "size": 87163,
209
- "gzip": 21689
208
+ "size": 89821,
209
+ "gzip": 22749
210
},
211
"react-dom-unstable-native-dependencies.production.min.js (UMD_PROD)": {
212
- "size": 18899,
213
- "gzip": 6159
212
+ "size": 18340,
213
+ "gzip": 5957
214
},
215
"react-dom-unstable-native-dependencies.development.js (NODE_DEV)": {
216
- "size": 80583,
217
- "gzip": 19737
216
+ "size": 83247,
217
+ "gzip": 20814
218
},
219
"react-dom-unstable-native-dependencies.production.min.js (NODE_PROD)": {
220
- "size": 17154,
221
- "gzip": 5513
220
+ "size": 16978,
221
+ "gzip": 5428
222
},
223
"ReactDOMUnstableNativeDependencies-dev.js (FB_DEV)": {
224
- "size": 79722,
225
- "gzip": 19614
224
+ "size": 82946,
225
+ "gzip": 20786
226
},
227
"ReactDOMUnstableNativeDependencies-prod.js (FB_PROD)": {
228
- "size": 67005,
229
- "gzip": 15921
228
+ "size": 67257,
229
+ "gzip": 16014
230
}
231
}
232
}
\ No newline at end of file