Skip to content

Commit 61cd94b

Browse files
committed
Update error codes and results.json (facebook#10619)
* Update results.json **what is the change?:** Ran the build after updating Yarn lockfile and recorded latest build size results. **why make this change?:** Let's get an idea of bundle size at this point, when we are preparing the 16.0 RC. **test plan:** NA **issue:** facebook#8854 * Update error codes https://github.com/facebook/react/tree/master/scripts/release-manager#update-the-error-codes
1 parent 7235c8e commit 61cd94b

File tree

2 files changed

+48
-43
lines changed

2 files changed

+48
-43
lines changed

scripts/error-codes/codes.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,5 +225,10 @@
225225
"223": "Trying to release an event instance into a pool of a different type.",
226226
"224": "Can't read from currently-mounting component. This error is likely caused by a bug in React. Please file an issue.",
227227
"225": "Unexpected object passed to ReactTestInstance constructor (tag: %s). This is probably a bug in React.",
228-
"226": "Unsupported component type %s in test renderer. This is probably a bug in React."
228+
"226": "Unsupported component type %s in test renderer. This is probably a bug in React.",
229+
"227": "ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.",
230+
"228": "TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.",
231+
"229": "TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.",
232+
"230": "_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.unstable_createPortal).",
233+
"231": "Expected `%s` listener to be a function, instead got a value of `%s` type."
229234
}

scripts/rollup/results.json

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"bundleSizes": {
33
"react.development.js (UMD_DEV)": {
4-
"size": 66012,
5-
"gzip": 16798
4+
"size": 65962,
5+
"gzip": 16741
66
},
77
"react.production.min.js (UMD_PROD)": {
88
"size": 6359,
@@ -25,40 +25,40 @@
2525
"gzip": 6709
2626
},
2727
"react-dom.development.js (UMD_DEV)": {
28-
"size": 648965,
29-
"gzip": 149265
28+
"size": 649974,
29+
"gzip": 149299
3030
},
3131
"react-dom.production.min.js (UMD_PROD)": {
32-
"size": 103887,
33-
"gzip": 32371
32+
"size": 103927,
33+
"gzip": 32406
3434
},
3535
"react-dom.development.js (NODE_DEV)": {
36-
"size": 608382,
37-
"gzip": 139669
36+
"size": 608709,
37+
"gzip": 139756
3838
},
3939
"react-dom.production.min.js (NODE_PROD)": {
40-
"size": 107943,
41-
"gzip": 33805
40+
"size": 107982,
41+
"gzip": 33820
4242
},
4343
"ReactDOMFiber-dev.js (FB_DEV)": {
44-
"size": 605139,
45-
"gzip": 139082
44+
"size": 605466,
45+
"gzip": 139163
4646
},
4747
"ReactDOMFiber-prod.js (FB_PROD)": {
48-
"size": 420384,
49-
"gzip": 94303
48+
"size": 420546,
49+
"gzip": 94337
5050
},
5151
"react-dom-test-utils.development.js (NODE_DEV)": {
52-
"size": 53354,
53-
"gzip": 13444
52+
"size": 53381,
53+
"gzip": 13453
5454
},
5555
"ReactTestUtils-dev.js (FB_DEV)": {
56-
"size": 53159,
57-
"gzip": 13402
56+
"size": 53186,
57+
"gzip": 13409
5858
},
5959
"react-dom-unstable-native-dependencies.development.js (UMD_DEV)": {
60-
"size": 87896,
61-
"gzip": 22199
60+
"size": 87835,
61+
"gzip": 22188
6262
},
6363
"react-dom-unstable-native-dependencies.production.min.js (UMD_PROD)": {
6464
"size": 15539,
@@ -81,56 +81,56 @@
8181
"gzip": 15742
8282
},
8383
"react-dom-server.browser.development.js (UMD_DEV)": {
84-
"size": 135696,
85-
"gzip": 34704
84+
"size": 136961,
85+
"gzip": 34969
8686
},
8787
"react-dom-server.browser.production.min.js (UMD_PROD)": {
8888
"size": 15551,
8989
"gzip": 5995
9090
},
9191
"react-dom-server.browser.development.js (NODE_DEV)": {
92-
"size": 104872,
93-
"gzip": 27217
92+
"size": 105165,
93+
"gzip": 27286
9494
},
9595
"react-dom-server.browser.production.min.js (NODE_PROD)": {
9696
"size": 14659,
9797
"gzip": 5707
9898
},
9999
"ReactDOMServer-dev.js (FB_DEV)": {
100-
"size": 104541,
101-
"gzip": 27164
100+
"size": 104834,
101+
"gzip": 27229
102102
},
103103
"ReactDOMServer-prod.js (FB_PROD)": {
104104
"size": 44316,
105105
"gzip": 12389
106106
},
107107
"react-dom-server.node.development.js (NODE_DEV)": {
108-
"size": 107179,
109-
"gzip": 27802
108+
"size": 107472,
109+
"gzip": 27868
110110
},
111111
"react-dom-server.node.production.min.js (NODE_PROD)": {
112112
"size": 15587,
113113
"gzip": 6039
114114
},
115115
"react-art.development.js (UMD_DEV)": {
116-
"size": 372512,
117-
"gzip": 82777
116+
"size": 306679,
117+
"gzip": 66670
118118
},
119119
"react-art.production.min.js (UMD_PROD)": {
120-
"size": 83203,
121-
"gzip": 25661
120+
"size": 47191,
121+
"gzip": 14737
122122
},
123123
"react-art.development.js (NODE_DEV)": {
124-
"size": 293909,
125-
"gzip": 62782
124+
"size": 294000,
125+
"gzip": 62815
126126
},
127127
"react-art.production.min.js (NODE_PROD)": {
128128
"size": 52283,
129129
"gzip": 16337
130130
},
131131
"ReactARTFiber-dev.js (FB_DEV)": {
132-
"size": 292850,
133-
"gzip": 62832
132+
"size": 292941,
133+
"gzip": 62869
134134
},
135135
"ReactARTFiber-prod.js (FB_PROD)": {
136136
"size": 218583,
@@ -145,12 +145,12 @@
145145
"gzip": 38841
146146
},
147147
"react-test-renderer.development.js (NODE_DEV)": {
148-
"size": 298590,
149-
"gzip": 63297
148+
"size": 298713,
149+
"gzip": 63332
150150
},
151151
"ReactTestRendererFiber-dev.js (FB_DEV)": {
152-
"size": 297516,
153-
"gzip": 63372
152+
"size": 297639,
153+
"gzip": 63407
154154
},
155155
"react-test-renderer-shallow.development.js (NODE_DEV)": {
156156
"size": 9556,
@@ -161,8 +161,8 @@
161161
"gzip": 2338
162162
},
163163
"react-noop-renderer.development.js (NODE_DEV)": {
164-
"size": 285614,
165-
"gzip": 60069
164+
"size": 285705,
165+
"gzip": 60101
166166
},
167167
"react-dom-server.development.js (UMD_DEV)": {
168168
"size": 120897,

0 commit comments

Comments
 (0)