Skip to content

Commit

Permalink
feat(packages/sui-polyfills): Added polyfills for Array.prototype.at,…
Browse files Browse the repository at this point in the history
… Promise.allSettled and Promise
  • Loading branch information
Ferran Simon authored and Ferran Simon committed Jul 4, 2024
1 parent c699721 commit 4529691
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 4 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions packages/sui-polyfills/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ require('core-js/proposals/well-formed-unicode-strings')

require('element-polyfill/polyfills/element.parent-node.append.js')

require('core-js/features/array/at.js')
require('core-js/features/promise/all-settled.js')
require('core-js/proposals/promise-with-resolvers.js')

require('./element-closest.js')
require('./globalThis.js')

Expand Down

0 comments on commit 4529691

Please sign in to comment.