File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11# Usage
22The 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
1010Then
Original file line number Diff line number Diff line change 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" : [
9393 "@aureooms/js-number" : " 3.1.0" ,
9494 "@babel/cli" : " 7.12.8" ,
9595 "@babel/core" : " 7.12.9" ,
96- "@babel/polyfill" : " 7.12.1" ,
9796 "@babel/preset-env" : " 7.12.7" ,
9897 "@babel/register" : " 7.12.1" ,
9998 "ava" : " 3.13.0" ,
107106 "babel-plugin-transform-remove-console" : " 6.9.4" ,
108107 "babel-plugin-unassert" : " 3.0.1" ,
109108 "babel-preset-power-assert" : " 3.0.0" ,
110- "power-assert" : " 1.6.1"
109+ "power-assert" : " 1.6.1" ,
110+ "regenerator-runtime" : " 0.13.7"
111111 },
112112 "files" : [
113113 " lib"
You can’t perform that action at this time.
0 commit comments