Upgrade node_modules for web build

This commit is contained in:
John Colvin committed 2021-10-10 12:01:07 -05:00
1 parent 6a53c8c587
commit 5d2136faee
55430 files changed
+4714852 -3372773

No files matched your search

@@ -0,0 +1,3 @@
node_modules
*.log
src
+35
View File
@@ -0,0 +1,35 @@
# babel-plugin-syntax-async-functions
Allow parsing of async functions.
## Installation
```sh
$ npm install babel-plugin-syntax-async-functions
```
## Usage
### Via `.babelrc` (Recommended)
**.babelrc**
```json
{
"plugins": ["syntax-async-functions"]
}
```
### Via CLI
```sh
$ babel --plugins syntax-async-functions script.js
```
### Via Node API
```javascript
require("babel-core").transform("code", {
plugins: ["syntax-async-functions"]
});
```
@@ -0,0 +1,13 @@
"use strict";
exports.__esModule = true;
exports.default = function () {
return {
manipulateOptions: function manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push("asyncFunctions");
}
};
};
module.exports = exports["default"];
@@ -0,0 +1,13 @@
{
"name": "babel-plugin-syntax-async-functions",
"version": "6.13.0",
"description": "Allow parsing of async functions",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-async-functions",
"license": "MIT",
"main": "lib/index.js",
"keywords": [
"babel-plugin"
],
"dependencies": {},
"devDependencies": {}
}