@samitouri / QOS-React / commits / 8e4654015a

Update error codes and results.json (#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:** https://github.com/facebook/react/issues/8854 * Update error codes https://github.com/facebook/react/tree/master/scripts/release-manager#update-the-error-codes

Flarnie Marchan committed Sep 6, 2017 at 11:11 UTC 8e4654015ab9a1a7daa197a03fd1aaf874fccb6d
2 files changed +48 -43
scripts/error-codes/codes.json
+6 -1
@@ -225,5 +225,10 @@
225 "223": "Trying to release an event instance into a pool of a different type.",
226 "224": "Can't read from currently-mounting component. This error is likely caused by a bug in React. Please file an issue.",
227 "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."
234 }
scripts/rollup/results.json
+42 -42
@@ -1,8 +1,8 @@
1 {
2 "bundleSizes": {
3 "react.development.js (UMD_DEV)": {
4 - "size": 66012,
5 - "gzip": 16798
4 + "size": 65962,
5 + "gzip": 16741
6 },
7 "react.production.min.js (UMD_PROD)": {
8 "size": 6359,
@@ -25,40 +25,40 @@
25 "gzip": 6709
26 },
27 "react-dom.development.js (UMD_DEV)": {
28 - "size": 648965,
29 - "gzip": 149265
28 + "size": 649974,
29 + "gzip": 149299
30 },
31 "react-dom.production.min.js (UMD_PROD)": {
32 - "size": 103887,
33 - "gzip": 32371
32 + "size": 103927,
33 + "gzip": 32406
34 },
35 "react-dom.development.js (NODE_DEV)": {
36 - "size": 608382,
37 - "gzip": 139669
36 + "size": 608709,
37 + "gzip": 139756
38 },
39 "react-dom.production.min.js (NODE_PROD)": {
40 - "size": 107943,
41 - "gzip": 33805
40 + "size": 107982,
41 + "gzip": 33820
42 },
43 "ReactDOMFiber-dev.js (FB_DEV)": {
44 - "size": 605139,
45 - "gzip": 139082
44 + "size": 605466,
45 + "gzip": 139163
46 },
47 "ReactDOMFiber-prod.js (FB_PROD)": {
48 - "size": 420384,
49 - "gzip": 94303
48 + "size": 420546,
49 + "gzip": 94337
50 },
51 "react-dom-test-utils.development.js (NODE_DEV)": {
52 - "size": 53354,
53 - "gzip": 13444
52 + "size": 53381,
53 + "gzip": 13453
54 },
55 "ReactTestUtils-dev.js (FB_DEV)": {
56 - "size": 53159,
57 - "gzip": 13402
56 + "size": 53186,
57 + "gzip": 13409
58 },
59 "react-dom-unstable-native-dependencies.development.js (UMD_DEV)": {
60 - "size": 87896,
61 - "gzip": 22199
60 + "size": 87835,
61 + "gzip": 22188
62 },
63 "react-dom-unstable-native-dependencies.production.min.js (UMD_PROD)": {
64 "size": 15539,
@@ -81,56 +81,56 @@
81 "gzip": 15742
82 },
83 "react-dom-server.browser.development.js (UMD_DEV)": {
84 - "size": 135696,
85 - "gzip": 34704
84 + "size": 136961,
85 + "gzip": 34969
86 },
87 "react-dom-server.browser.production.min.js (UMD_PROD)": {
88 "size": 15551,
89 "gzip": 5995
90 },
91 "react-dom-server.browser.development.js (NODE_DEV)": {
92 - "size": 104872,
93 - "gzip": 27217
92 + "size": 105165,
93 + "gzip": 27286
94 },
95 "react-dom-server.browser.production.min.js (NODE_PROD)": {
96 "size": 14659,
97 "gzip": 5707
98 },
99 "ReactDOMServer-dev.js (FB_DEV)": {
100 - "size": 104541,
101 - "gzip": 27164
100 + "size": 104834,
101 + "gzip": 27229
102 },
103 "ReactDOMServer-prod.js (FB_PROD)": {
104 "size": 44316,
105 "gzip": 12389
106 },
107 "react-dom-server.node.development.js (NODE_DEV)": {
108 - "size": 107179,
109 - "gzip": 27802
108 + "size": 107472,
109 + "gzip": 27868
110 },
111 "react-dom-server.node.production.min.js (NODE_PROD)": {
112 "size": 15587,
113 "gzip": 6039
114 },
115 "react-art.development.js (UMD_DEV)": {
116 - "size": 372512,
117 - "gzip": 82777
116 + "size": 306679,
117 + "gzip": 66670
118 },
119 "react-art.production.min.js (UMD_PROD)": {
120 - "size": 83203,
121 - "gzip": 25661
120 + "size": 47191,
121 + "gzip": 14737
122 },
123 "react-art.development.js (NODE_DEV)": {
124 - "size": 293909,
125 - "gzip": 62782
124 + "size": 294000,
125 + "gzip": 62815
126 },
127 "react-art.production.min.js (NODE_PROD)": {
128 "size": 52283,
129 "gzip": 16337
130 },
131 "ReactARTFiber-dev.js (FB_DEV)": {
132 - "size": 292850,
133 - "gzip": 62832
132 + "size": 292941,
133 + "gzip": 62869
134 },
135 "ReactARTFiber-prod.js (FB_PROD)": {
136 "size": 218583,
@@ -145,12 +145,12 @@
145 "gzip": 38841
146 },
147 "react-test-renderer.development.js (NODE_DEV)": {
148 - "size": 298590,
149 - "gzip": 63297
148 + "size": 298713,
149 + "gzip": 63332
150 },
151 "ReactTestRendererFiber-dev.js (FB_DEV)": {
152 - "size": 297516,
153 - "gzip": 63372
152 + "size": 297639,
153 + "gzip": 63407
154 },
155 "react-test-renderer-shallow.development.js (NODE_DEV)": {
156 "size": 9556,
@@ -161,8 +161,8 @@
161 "gzip": 2338
162 },
163 "react-noop-renderer.development.js (NODE_DEV)": {
164 - "size": 285614,
165 - "gzip": 60069
164 + "size": 285705,
165 + "gzip": 60101
166 },
167 "react-dom-server.development.js (UMD_DEV)": {
168 "size": 120897,