FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Regenerate error codes and update bundle size stats (#10287) · apapirovski/react@8d5f2c4 · GitHub

Repository navigation

Commit 8d5f2c4

Browse files
authored
Regenerate error codes and update bundle size stats (react#10287)
1 parent e2d1bc8 commit 8d5f2c4

2 files changed

Lines changed: 125 additions & 72 deletions

File tree

‎scripts/error-codes/codes.json‎

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,58 @@
143143
"141": "Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren().",
144144
"142": "Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).",
145145
"143": "React.Children.only expected to receive a single React element child.",
146-
"144": "React.PropTypes type checking code is stripped in production."
147-
}
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‎

Lines changed: 70 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -25,36 +25,36 @@
2525
"gzip": 6705
2626
},
2727
"react-dom.development.js (UMD_DEV)": {
28-
"size": 630876,
29-
"gzip": 143999
28+
"size": 635559,
29+
"gzip": 145168
3030
},
3131
"react-dom.production.min.js (UMD_PROD)": {
32-
"size": 127001,
33-
"gzip": 40233
32+
"size": 121489,
33+
"gzip": 38896
3434
},
3535
"react-dom.development.js (NODE_DEV)": {
36-
"size": 590270,
37-
"gzip": 134359
36+
"size": 594953,
37+
"gzip": 135561
3838
},
3939
"react-dom.production.min.js (NODE_PROD)": {
40-
"size": 123917,
41-
"gzip": 39159
40+
"size": 118405,
41+
"gzip": 37802
4242
},
4343
"ReactDOMFiber-dev.js (FB_DEV)": {
44-
"size": 589473,
45-
"gzip": 134510
44+
"size": 593633,
45+
"gzip": 135769
4646
},
4747
"ReactDOMFiber-prod.js (FB_PROD)": {
48-
"size": 429198,
49-
"gzip": 96890
48+
"size": 430330,
49+
"gzip": 97040
5050
},
5151
"react-dom-test-utils.development.js (NODE_DEV)": {
52-
"size": 55880,
53-
"gzip": 14123
52+
"size": 56074,
53+
"gzip": 14162
5454
},
5555
"ReactTestUtils-dev.js (FB_DEV)": {
56-
"size": 55759,
57-
"gzip": 14090
56+
"size": 55864,
57+
"gzip": 14128
5858
},
5959
"ReactDOMServerStack-dev.js (FB_DEV)": {
6060
"size": 460810,
@@ -65,20 +65,20 @@
6565
"gzip": 81957
6666
},
6767
"react-dom-server.development.js (UMD_DEV)": {
68-
"size": 121172,
69-
"gzip": 30762
68+
"size": 121220,
69+
"gzip": 30768
7070
},
7171
"react-dom-server.production.min.js (UMD_PROD)": {
72-
"size": 20365,
73-
"gzip": 7841
72+
"size": 19961,
73+
"gzip": 7706
7474
},
7575
"react-dom-server.development.js (NODE_DEV)": {
76-
"size": 90322,
77-
"gzip": 23339
76+
"size": 90370,
77+
"gzip": 23345
7878
},
7979
"react-dom-server.production.min.js (NODE_PROD)": {
80-
"size": 18871,
81-
"gzip": 7306
80+
"size": 18830,
81+
"gzip": 7277
8282
},
8383
"ReactDOMServerStream-dev.js (FB_DEV)": {
8484
"size": 264750,
@@ -89,52 +89,52 @@
8989
"gzip": 51047
9090
},
9191
"react-art.development.js (UMD_DEV)": {
92-
"size": 368287,
93-
"gzip": 81442
92+
"size": 372797,
93+
"gzip": 82485
9494
},
9595
"react-art.production.min.js (UMD_PROD)": {
96-
"size": 99307,
97-
"gzip": 30380
96+
"size": 94130,
97+
"gzip": 29136
9898
},
9999
"react-art.development.js (NODE_DEV)": {
100-
"size": 289654,
101-
"gzip": 61394
100+
"size": 294164,
101+
"gzip": 62451
102102
},
103103
"react-art.production.min.js (NODE_PROD)": {
104-
"size": 60869,
105-
"gzip": 18455
104+
"size": 55693,
105+
"gzip": 17237
106106
},
107107
"ReactARTFiber-dev.js (FB_DEV)": {
108-
"size": 289007,
109-
"gzip": 61246
108+
"size": 293024,
109+
"gzip": 62518
110110
},
111111
"ReactARTFiber-prod.js (FB_PROD)": {
112-
"size": 219348,
113-
"gzip": 45493
112+
"size": 220085,
113+
"gzip": 45544
114114
},
115115
"ReactNativeStack-dev.js (RN_DEV)": {
116-
"size": 188707,
117-
"gzip": 36597
116+
"size": 188492,
117+
"gzip": 36707
118118
},
119119
"ReactNativeStack-prod.js (RN_PROD)": {
120-
"size": 137218,
121-
"gzip": 26349
120+
"size": 137361,
121+
"gzip": 26398
122122
},
123123
"ReactNativeFiber-dev.js (RN_DEV)": {
124-
"size": 289116,
125-
"gzip": 52383
124+
"size": 289842,
125+
"gzip": 52523
126126
},
127127
"ReactNativeFiber-prod.js (RN_PROD)": {
128-
"size": 223104,
129-
"gzip": 38918
128+
"size": 223941,
129+
"gzip": 38910
130130
},
131131
"react-test-renderer.development.js (NODE_DEV)": {
132-
"size": 286841,
133-
"gzip": 60294
132+
"size": 291527,
133+
"gzip": 61318
134134
},
135135
"ReactTestRendererFiber-dev.js (FB_DEV)": {
136-
"size": 286185,
137-
"gzip": 60147
136+
"size": 290345,
137+
"gzip": 61392
138138
},
139139
"react-test-renderer-shallow.development.js (NODE_DEV)": {
140140
"size": 10302,
@@ -145,8 +145,8 @@
145145
"gzip": 2541
146146
},
147147
"react-noop-renderer.development.js (NODE_DEV)": {
148-
"size": 280941,
149-
"gzip": 58708
148+
"size": 285454,
149+
"gzip": 59727
150150
},
151151
"ReactHTMLString-dev.js (FB_DEV)": {
152152
"size": 265654,
@@ -181,20 +181,20 @@
181181
"gzip": 50920
182182
},
183183
"ReactDOMServer-dev.js (FB_DEV)": {
184-
"size": 89834,
185-
"gzip": 23287
184+
"size": 89864,
185+
"gzip": 23290
186186
},
187187
"ReactDOMServer-prod.js (FB_PROD)": {
188-
"size": 49640,
189-
"gzip": 13644
188+
"size": 49670,
189+
"gzip": 13643
190190
},
191191
"react-dom-node-stream.development.js (NODE_DEV)": {
192-
"size": 92016,
193-
"gzip": 23840
192+
"size": 92064,
193+
"gzip": 23841
194194
},
195195
"react-dom-node-stream.production.min.js (NODE_PROD)": {
196-
"size": 19808,
197-
"gzip": 7646
196+
"size": 19771,
197+
"gzip": 7621
198198
},
199199
"ReactDOMNodeStream-dev.js (FB_DEV)": {
200200
"size": 264918,
@@ -205,28 +205,28 @@
205205
"gzip": 50956
206206
},
207207
"react-dom-unstable-native-dependencies.development.js (UMD_DEV)": {
208-
"size": 87163,
209-
"gzip": 21689
208+
"size": 89821,
209+
"gzip": 22749
210210
},
211211
"react-dom-unstable-native-dependencies.production.min.js (UMD_PROD)": {
212-
"size": 18899,
213-
"gzip": 6159
212+
"size": 18340,
213+
"gzip": 5957
214214
},
215215
"react-dom-unstable-native-dependencies.development.js (NODE_DEV)": {
216-
"size": 80583,
217-
"gzip": 19737
216+
"size": 83247,
217+
"gzip": 20814
218218
},
219219
"react-dom-unstable-native-dependencies.production.min.js (NODE_PROD)": {
220-
"size": 17154,
221-
"gzip": 5513
220+
"size": 16978,
221+
"gzip": 5428
222222
},
223223
"ReactDOMUnstableNativeDependencies-dev.js (FB_DEV)": {
224-
"size": 79722,
225-
"gzip": 19614
224+
"size": 82946,
225+
"gzip": 20786
226226
},
227227
"ReactDOMUnstableNativeDependencies-prod.js (FB_PROD)": {
228-
"size": 67005,
229-
"gzip": 15921
228+
"size": 67257,
229+
"gzip": 16014
230230
}
231231
}
232232
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL