From 974c46fbb7c43560c60b53edb87c635c8eaa4a3f Mon Sep 17 00:00:00 2001 From: Garrett Stevens Date: Mon, 23 Aug 2021 11:29:56 -0600 Subject: [PATCH] Add babel runtime dep, enable regnerator --- packages/core/babel.config.js | 2 +- packages/core/package.json | 1 + yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/core/babel.config.js b/packages/core/babel.config.js index 0f45ffde13..12bf61ec12 100644 --- a/packages/core/babel.config.js +++ b/packages/core/babel.config.js @@ -26,7 +26,7 @@ module.exports = api => { '@babel/plugin-syntax-dynamic-import', '@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-export-default-from', - ['@babel/transform-runtime', { regenerator: false, useESModules: false }], + ['@babel/transform-runtime', { useESModules: false }], 'inline-import-data-uri', ], } diff --git a/packages/core/package.json b/packages/core/package.json index 9be228a87a..26ac2a155c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -30,6 +30,7 @@ "postpublish": "git push origin main --follow-tags" }, "dependencies": { + "@babel/runtime": "^7.15.3", "@librpc/web": "rbuels/librpc-web#737bb9706762a52a87169a12c9b59fb241febab0", "@material-ui/icons": "^4.0.0", "abortable-promise-cache": "^1.1.3", diff --git a/yarn.lock b/yarn.lock index 1d00e2c319..52543267b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1505,10 +1505,10 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.14.0", "@babel/runtime@^7.2.0", "@babel/runtime@^7.3.1", "@babel/runtime@^7.3.4", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2", "@babel/runtime@^7.9.6": - version "7.14.6" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.14.6.tgz#535203bc0892efc7dec60bdc27b2ecf6e409062d" - integrity sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg== +"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.14.0", "@babel/runtime@^7.15.3", "@babel/runtime@^7.2.0", "@babel/runtime@^7.3.1", "@babel/runtime@^7.3.4", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2", "@babel/runtime@^7.9.6": + version "7.15.3" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.15.3.tgz#2e1c2880ca118e5b2f9988322bd8a7656a32502b" + integrity sha512-OvwMLqNXkCXSz1kSm58sEsNuhqOx/fKpnUnKnFB5v8uDda5bLNEHNgKPvhDN6IU0LDcnHQ90LlJ0Q6jnyBSIBA== dependencies: regenerator-runtime "^0.13.4"