react/scripts
Flarnie Marchan 6ac91d24c4 Improve low priority warning (#9754)
* Add back caught error and other checks to 'lowPriorityWarning'

**what is the change?:**
This change makes 'lowPriorityWarning' an exact copy of 'warning.js' from
e66ba20ad5/packages/fbjs/src/__forks__/warning.js
where before we had skipped some checks from that module.

- Adds an error which we catch, in order to let people find the error and resulting stack trace when using devtools with 'pause on caught errors' checked.
- Adds check that 'format' argument is passed

**why make this change?:**
- To maintain a closer fork to 'warning.js'
- To allow easier debugging using 'pause on caught errors'
- To validate inputs to 'lowPriorityWarning'

**test plan:**
`yarn test`

**issue:**

* Update results.json

* Run prettier
2017-05-24 07:55:00 -07:00
..
babel Convert current build system to Rollup and adopt flat bundles (#9327) 2017-04-05 16:47:29 +01:00
bench fix typo in benchmark docs (#9706) 2017-05-18 19:13:59 -04:00
circleci Add React benchmarking infrastructure (#9465) 2017-05-09 17:13:54 +01:00
error-codes Prettier 1.2 (#9462) 2017-04-20 11:18:33 -07:00
facts-tracker Prettier 1.2 (#9462) 2017-04-20 11:18:33 -07:00
fiber Add test for key warning at top level (#9473) 2017-05-21 15:39:25 -07:00
git Remove leftover env variable logic in pre-commit hook 2015-09-01 14:35:47 -07:00
jest Add package builds for new server renderer and enable tests (#9710) 2017-05-17 17:19:11 -07:00
perf-counters Year-agnostic copyright message, like React Native uses, to prevent the need for yearly changes. 2015-12-29 20:20:32 +01:00
prettier Run prettier on scripts/bench (#9671) 2017-05-11 16:14:17 -07:00
print-warnings Exclude tests from warning print script 2017-04-05 19:51:19 +01:00
release-manager Update release manager with latest change 2017-04-05 17:16:36 +01:00
rollup Improve low priority warning (#9754) 2017-05-24 07:55:00 -07:00
shared Fix the print warnings script (#9344) 2017-04-05 18:54:48 +01:00
tasks Always pass error code to CI (#9663) 2017-05-11 13:13:01 +01:00
authors AUTHORS 2013-09-09 23:42:54 -07:00