Skip to content

Commit

Permalink
Update error codes and results.json (facebook#10619)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
flarnie committed Sep 8, 2017
1 parent 7235c8e commit 61cd94b
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 43 deletions.
7 changes: 6 additions & 1 deletion scripts/error-codes/codes.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,10 @@
"223": "Trying to release an event instance into a pool of a different type.",
"224": "Can't read from currently-mounting component. This error is likely caused by a bug in React. Please file an issue.",
"225": "Unexpected object passed to ReactTestInstance constructor (tag: %s). This is probably a bug in React.",
"226": "Unsupported component type %s in test renderer. This is probably a bug in React."
"226": "Unsupported component type %s in test renderer. This is probably a bug in React.",
"227": "ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.",
"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.",
"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.",
"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).",
"231": "Expected `%s` listener to be a function, instead got a value of `%s` type."
}
84 changes: 42 additions & 42 deletions scripts/rollup/results.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"bundleSizes": {
"react.development.js (UMD_DEV)": {
"size": 66012,
"gzip": 16798
"size": 65962,
"gzip": 16741
},
"react.production.min.js (UMD_PROD)": {
"size": 6359,
Expand All @@ -25,40 +25,40 @@
"gzip": 6709
},
"react-dom.development.js (UMD_DEV)": {
"size": 648965,
"gzip": 149265
"size": 649974,
"gzip": 149299
},
"react-dom.production.min.js (UMD_PROD)": {
"size": 103887,
"gzip": 32371
"size": 103927,
"gzip": 32406
},
"react-dom.development.js (NODE_DEV)": {
"size": 608382,
"gzip": 139669
"size": 608709,
"gzip": 139756
},
"react-dom.production.min.js (NODE_PROD)": {
"size": 107943,
"gzip": 33805
"size": 107982,
"gzip": 33820
},
"ReactDOMFiber-dev.js (FB_DEV)": {
"size": 605139,
"gzip": 139082
"size": 605466,
"gzip": 139163
},
"ReactDOMFiber-prod.js (FB_PROD)": {
"size": 420384,
"gzip": 94303
"size": 420546,
"gzip": 94337
},
"react-dom-test-utils.development.js (NODE_DEV)": {
"size": 53354,
"gzip": 13444
"size": 53381,
"gzip": 13453
},
"ReactTestUtils-dev.js (FB_DEV)": {
"size": 53159,
"gzip": 13402
"size": 53186,
"gzip": 13409
},
"react-dom-unstable-native-dependencies.development.js (UMD_DEV)": {
"size": 87896,
"gzip": 22199
"size": 87835,
"gzip": 22188
},
"react-dom-unstable-native-dependencies.production.min.js (UMD_PROD)": {
"size": 15539,
Expand All @@ -81,56 +81,56 @@
"gzip": 15742
},
"react-dom-server.browser.development.js (UMD_DEV)": {
"size": 135696,
"gzip": 34704
"size": 136961,
"gzip": 34969
},
"react-dom-server.browser.production.min.js (UMD_PROD)": {
"size": 15551,
"gzip": 5995
},
"react-dom-server.browser.development.js (NODE_DEV)": {
"size": 104872,
"gzip": 27217
"size": 105165,
"gzip": 27286
},
"react-dom-server.browser.production.min.js (NODE_PROD)": {
"size": 14659,
"gzip": 5707
},
"ReactDOMServer-dev.js (FB_DEV)": {
"size": 104541,
"gzip": 27164
"size": 104834,
"gzip": 27229
},
"ReactDOMServer-prod.js (FB_PROD)": {
"size": 44316,
"gzip": 12389
},
"react-dom-server.node.development.js (NODE_DEV)": {
"size": 107179,
"gzip": 27802
"size": 107472,
"gzip": 27868
},
"react-dom-server.node.production.min.js (NODE_PROD)": {
"size": 15587,
"gzip": 6039
},
"react-art.development.js (UMD_DEV)": {
"size": 372512,
"gzip": 82777
"size": 306679,
"gzip": 66670
},
"react-art.production.min.js (UMD_PROD)": {
"size": 83203,
"gzip": 25661
"size": 47191,
"gzip": 14737
},
"react-art.development.js (NODE_DEV)": {
"size": 293909,
"gzip": 62782
"size": 294000,
"gzip": 62815
},
"react-art.production.min.js (NODE_PROD)": {
"size": 52283,
"gzip": 16337
},
"ReactARTFiber-dev.js (FB_DEV)": {
"size": 292850,
"gzip": 62832
"size": 292941,
"gzip": 62869
},
"ReactARTFiber-prod.js (FB_PROD)": {
"size": 218583,
Expand All @@ -145,12 +145,12 @@
"gzip": 38841
},
"react-test-renderer.development.js (NODE_DEV)": {
"size": 298590,
"gzip": 63297
"size": 298713,
"gzip": 63332
},
"ReactTestRendererFiber-dev.js (FB_DEV)": {
"size": 297516,
"gzip": 63372
"size": 297639,
"gzip": 63407
},
"react-test-renderer-shallow.development.js (NODE_DEV)": {
"size": 9556,
Expand All @@ -161,8 +161,8 @@
"gzip": 2338
},
"react-noop-renderer.development.js (NODE_DEV)": {
"size": 285614,
"gzip": 60069
"size": 285705,
"gzip": 60101
},
"react-dom-server.development.js (UMD_DEV)": {
"size": 120897,
Expand Down

0 comments on commit 61cd94b

Please sign in to comment.