Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Replace deprecated babel-polyfills in favor of core-js and `regen…
Browse files Browse the repository at this point in the history
…erator-runtime`
  • Loading branch information
Tommy Leunen committed Oct 22, 2020
1 parent 82fe8eb commit 9e54649
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 994 deletions.
2 changes: 2 additions & 0 deletions packages/polyfills/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- ## [Unreleased] -->

- Replace deprecated `babel-polyfills` in favor of `core-js` and `regenerator-runtime`.

## [1.2.4] - 2020-10-20

- Updated `tslib` dependency to `^1.14.1`. [#1657](https://github.com/Shopify/quilt/pull/1657)
Expand Down
3 changes: 2 additions & 1 deletion packages/polyfills/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@
},
"homepage": "https://github.com/Shopify/quilt/blob/master/packages/polyfills/README.md",
"dependencies": {
"@babel/polyfill": "^7.10.1",
"@shopify/useful-types": "^2.2.1",
"browser-unhandled-rejection": "^1.0.2",
"caniuse-api": "^3.0.0",
"core-js": "^3.6.5",
"formdata-polyfill": "^3.0.18",
"intersection-observer": "^0.5.1",
"intl-pluralrules": "^0.2.1",
"mutationobserver-shim": "^0.3.3",
"node-fetch": "^2.3.0",
"regenerator-runtime": "^0.13.7",
"tslib": "^1.14.1",
"url-polyfill": "^1.1.7",
"whatwg-fetch": "^3.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/polyfills/src/base.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
require('@babel/polyfill');
require('core-js/stable');
require('regenerator-runtime/runtime');
Loading

0 comments on commit 9e54649

Please sign in to comment.