Skip to content

Commit 4081f0c

Browse files
😒 chore(deps-dev): Replace @babel/polyfill by regenerator-runtime/runtime.
1 parent 989838f commit 4081f0c

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 <[email protected]>",
66
"ava": {
77
"require": [
8-
"@babel/polyfill",
8+
"regenerator-runtime/runtime",
99
"@babel/register"
1010
],
1111
"files": [
@@ -86,7 +86,6 @@
8686
"@aureooms/js-type": "1.0.4",
8787
"@babel/cli": "7.12.10",
8888
"@babel/core": "7.12.10",
89-
"@babel/polyfill": "7.12.1",
9089
"@babel/preset-env": "7.12.10",
9190
"@babel/register": "7.12.10",
9291
"ava": "3.14.0",
@@ -100,7 +99,8 @@
10099
"babel-plugin-transform-remove-console": "6.9.4",
101100
"babel-plugin-unassert": "3.0.1",
102101
"babel-preset-power-assert": "3.0.0",
103-
"power-assert": "1.6.1"
102+
"power-assert": "1.6.1",
103+
"regenerator-runtime": "0.13.7"
104104
},
105105
"files": [
106106
"lib"

0 commit comments

Comments
 (0)