You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`.forEach` was incorrectly made available to all DOM Iterators in core-js. This has now been fixed in the package: zloirock/core-js#988
The recommended approach for HTMLCollections objects is to use `Array.from` (https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection). This has been applied to the code to support the `.forEach` function.
This was originally noticed when updating the yarn.lock file in PR #2551.
Credits: @ollietreend for finding the solution.
The README and compatibility test say that
'web.dom-collections.for-each'
is only forNodeList
andDOMTokenList
.The implementation applies it to all
dom-iterables
which includes much more than just those two.The text was updated successfully, but these errors were encountered: