v0.121.0
facebook-github-bot
released this
18 Mar 17:58
·
7447 commits
to main
since this release
Highlights:
- Made several improvements to errors:
- Restricted errors to only be suppressible at the error's primary location (see blog post)
- Fixed the error grouping logic to no longer group unrelated errors that happen to share a location
- Changed the order of locations printed in error messages so that the primary location is always printed first (which is the one you need to suppress if you want to do that)
Misc:
- Fixed the
add-comments
script to add comments onJSXText
- Fixed a crash when TMPDIR exceeded 83 characters
- Stopped parsing
.flow
files without@flow
Lib defs:
- Improved definitions for Node's
url.parse
function (thanks @chicoxyzzy) - Added missing
console
methods (thanks @goodmind) - Added
Element.hasAttributes()
- Added
string
index toNamedNodeMap
- Fixed
Element.querySelector()
andElement.querySelectorAll()
overloads - Added type definition for
Promise.allSettled()