From e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d Mon Sep 17 00:00:00 2001 From: Piotr Russ Date: Mon, 16 Nov 2020 00:10:28 +0100 Subject: api, login, auth --- .../babel-plugin-syntax-async-functions/.npmignore | 3 ++ .../babel-plugin-syntax-async-functions/README.md | 35 ++++++++++++++++++ .../lib/index.js | 13 +++++++ .../package.json | 41 ++++++++++++++++++++++ 4 files changed, 92 insertions(+) create mode 100644 node_modules/babel-plugin-syntax-async-functions/.npmignore create mode 100644 node_modules/babel-plugin-syntax-async-functions/README.md create mode 100644 node_modules/babel-plugin-syntax-async-functions/lib/index.js create mode 100644 node_modules/babel-plugin-syntax-async-functions/package.json (limited to 'node_modules/babel-plugin-syntax-async-functions') diff --git a/node_modules/babel-plugin-syntax-async-functions/.npmignore b/node_modules/babel-plugin-syntax-async-functions/.npmignore new file mode 100644 index 0000000..cace0d6 --- /dev/null +++ b/node_modules/babel-plugin-syntax-async-functions/.npmignore @@ -0,0 +1,3 @@ +node_modules +*.log +src diff --git a/node_modules/babel-plugin-syntax-async-functions/README.md b/node_modules/babel-plugin-syntax-async-functions/README.md new file mode 100644 index 0000000..a2c13f5 --- /dev/null +++ b/node_modules/babel-plugin-syntax-async-functions/README.md @@ -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"] +}); +``` diff --git a/node_modules/babel-plugin-syntax-async-functions/lib/index.js b/node_modules/babel-plugin-syntax-async-functions/lib/index.js new file mode 100644 index 0000000..1d6660e --- /dev/null +++ b/node_modules/babel-plugin-syntax-async-functions/lib/index.js @@ -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"]; \ No newline at end of file diff --git a/node_modules/babel-plugin-syntax-async-functions/package.json b/node_modules/babel-plugin-syntax-async-functions/package.json new file mode 100644 index 0000000..0b4f872 --- /dev/null +++ b/node_modules/babel-plugin-syntax-async-functions/package.json @@ -0,0 +1,41 @@ +{ + "_from": "babel-plugin-syntax-async-functions@^6.8.0", + "_id": "babel-plugin-syntax-async-functions@6.13.0", + "_inBundle": false, + "_integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=", + "_location": "/babel-plugin-syntax-async-functions", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "babel-plugin-syntax-async-functions@^6.8.0", + "name": "babel-plugin-syntax-async-functions", + "escapedName": "babel-plugin-syntax-async-functions", + "rawSpec": "^6.8.0", + "saveSpec": null, + "fetchSpec": "^6.8.0" + }, + "_requiredBy": [ + "/babel-plugin-transform-async-to-generator" + ], + "_resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", + "_shasum": "cad9cad1191b5ad634bf30ae0872391e0647be95", + "_spec": "babel-plugin-syntax-async-functions@^6.8.0", + "_where": "/home/pruss/Dev/3-minute-website/node_modules/babel-plugin-transform-async-to-generator", + "bundleDependencies": false, + "dependencies": {}, + "deprecated": false, + "description": "Allow parsing of async functions", + "devDependencies": {}, + "keywords": [ + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "babel-plugin-syntax-async-functions", + "repository": { + "type": "git", + "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-async-functions" + }, + "version": "6.13.0" +} -- cgit v1.2.3