Skip to content

Commit f1cdab1

Browse files
😒 chore(deps-dev): Replace @babel/polyfill by regenerator-runtime/runtime.
1 parent cf161f6 commit f1cdab1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/manual/usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Usage
22
The code needs a ES2015+ polyfill to work, for example
3-
[@babel/polyfill](https://babeljs.io/docs/usage/polyfill).
3+
[regenerator-runtime/runtime](https://babeljs.io/docs/usage/polyfill).
44
```js
5-
require( '@babel/polyfill' ) ;
5+
require( 'regenerator-runtime/runtime' ) ;
66
// or
7-
import '@babel/polyfill' ;
7+
import 'regenerator-runtime/runtime' ;
88
```
99

1010
Then

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Aurélien Ooms <aurelien.ooms@gmail.com>",
66
"ava": {
77
"require": [
8-
"@babel/polyfill",
8+
"regenerator-runtime/runtime",
99
"@babel/register"
1010
],
1111
"files": [
@@ -82,7 +82,6 @@
8282
"@aureooms/js-itertools": "4.1.0",
8383
"@babel/cli": "7.12.8",
8484
"@babel/core": "7.12.9",
85-
"@babel/polyfill": "7.12.1",
8685
"@babel/preset-env": "7.12.7",
8786
"@babel/register": "7.12.1",
8887
"ava": "3.13.0",
@@ -96,7 +95,8 @@
9695
"babel-plugin-transform-remove-console": "6.9.4",
9796
"babel-plugin-unassert": "3.0.1",
9897
"babel-preset-power-assert": "3.0.0",
99-
"power-assert": "1.6.1"
98+
"power-assert": "1.6.1",
99+
"regenerator-runtime": "0.13.7"
100100
},
101101
"files": [
102102
"lib"

0 commit comments

Comments
 (0)