react-native/flow-typed/npm
Moti Zilberman cd56347dca Prevent LogBox from crashing on long messages (#38005)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38005

Fixes https://github.com/facebook/react-native/issues/32093 by guarding the expensive `BABEL_CODE_FRAME_ERROR_FORMAT` regex with a cheaper initial scan. (Longer term, we should reduce our reliance on string parsing and propagate more structured errors.)

Changelog: [General][Fixed] Prevent LogBox from crashing on very long messages

Reviewed By: GijsWeterings

Differential Revision: D46892454

fbshipit-source-id: 3afadcdd75969c2589bbb06f47d1c4c1c2690abd
2023-06-22 02:09:45 -07:00
..
ansi-regex_v5.x.x.js Prevent LogBox from crashing on long messages (#38005) 2023-06-22 02:09:45 -07:00
base64-js_v1.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
glob_v7.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
pretty-format_v26.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
promise_v8.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
react-dom_v17.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
react-test-renderer_v16.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
stacktrace-parser_v0.1.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00
yargs_v17.x.x.js Move flow-typed definitions to repo root (#37636) 2023-06-07 13:44:13 -07:00