From 985be306befaf8309e15c28870afa8648861b8bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Sun, 20 Sep 2020 14:06:18 +0200 Subject: [PATCH] :unamused: chore(deps-dev): Replace @babel/polyfill by regenerator-runtime/runtime. --- doc/manual/usage.md | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/manual/usage.md b/doc/manual/usage.md index 6317cef..39d13d5 100644 --- a/doc/manual/usage.md +++ b/doc/manual/usage.md @@ -1,10 +1,10 @@ # Usage The code needs a ES2015+ polyfill to work, for example -[@babel/polyfill](https://babeljs.io/docs/usage/polyfill). +[regenerator-runtime/runtime](https://babeljs.io/docs/usage/polyfill). ```js -require( '@babel/polyfill' ) ; +require( 'regenerator-runtime/runtime' ) ; // or -import '@babel/polyfill' ; +import 'regenerator-runtime/runtime' ; ``` Then diff --git a/package.json b/package.json index 45e2902..4303aa1 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "Aurélien Ooms ", "ava": { "require": [ - "@babel/polyfill", + "regenerator-runtime/runtime", "@babel/register" ] },