diff --git a/karma.conf.js b/karma.conf.js index c82300a..8742937 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -27,7 +27,7 @@ module.exports = (config) => { // list of files / patterns to load in the browser files: [ - 'node_modules/@babel/polyfill/dist/polyfill.js', + 'node_modules/regenerator-runtime/runtime.js', 'src/*.ts', 'src/**/*.ts', 'test/*.ts', diff --git a/package.json b/package.json index b666b4e..a802652 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ ], "dependencies": {}, "devDependencies": { - "@babel/polyfill": "^7.12.1", "@types/jasmine": "^3.5.10", "@types/karma": "^5.0.0", "@types/node": "^14.0.5", @@ -57,6 +56,7 @@ "karma-typescript-es6-transform": "^5.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.0.5", + "regenerator-runtime": "^0.13.7", "release-it": "^14.2.2", "ts-node": "^9.1.1", "tsconfig-paths": "^3.9.0", diff --git a/yarn.lock b/yarn.lock index 4b6dbbe..64ca665 100644 --- a/yarn.lock +++ b/yarn.lock @@ -691,14 +691,6 @@ "@babel/helper-create-regexp-features-plugin" "^7.12.1" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/polyfill@^7.12.1": - version "7.12.1" - resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.12.1.tgz#1f2d6371d1261bbd961f3c5d5909150e12d0bd96" - integrity sha512-X0pi0V6gxLi6lFZpGmeNa4zxtwEmCs42isWLNjZZDE0Y8yVfgu0T2OAHlzBbdYlqbW/YXVvoBHpATEM+goCj8g== - dependencies: - core-js "^2.6.5" - regenerator-runtime "^0.13.4" - "@babel/preset-env@^7.11.0": version "7.12.10" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.12.10.tgz#ca981b95f641f2610531bd71948656306905e6ab" @@ -1866,11 +1858,6 @@ core-js-compat@^3.8.0: browserslist "^4.15.0" semver "7.0.0" -core-js@^2.6.5: - version "2.6.12" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec" - integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ== - cosmiconfig@7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.0.tgz#ef9b44d773959cae63ddecd122de23853b60f8d3" @@ -4462,7 +4449,7 @@ regenerate@^1.4.0: resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== -regenerator-runtime@^0.13.4: +regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7: version "0.13.7" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz#cac2dacc8a1ea675feaabaeb8ae833898ae46f55" integrity sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==