aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/plugin-syntax-top-level-await
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/plugin-syntax-top-level-await')
-rw-r--r--node_modules/@babel/plugin-syntax-top-level-await/LICENSE22
-rw-r--r--node_modules/@babel/plugin-syntax-top-level-await/README.md19
-rw-r--r--node_modules/@babel/plugin-syntax-top-level-await/lib/index.js22
-rw-r--r--node_modules/@babel/plugin-syntax-top-level-await/package.json32
4 files changed, 95 insertions, 0 deletions
diff --git a/node_modules/@babel/plugin-syntax-top-level-await/LICENSE b/node_modules/@babel/plugin-syntax-top-level-await/LICENSE
new file mode 100644
index 0000000..f31575e
--- /dev/null
+++ b/node_modules/@babel/plugin-syntax-top-level-await/LICENSE
@@ -0,0 +1,22 @@
+MIT License
+
+Copyright (c) 2014-present Sebastian McKenzie and other contributors
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/@babel/plugin-syntax-top-level-await/README.md b/node_modules/@babel/plugin-syntax-top-level-await/README.md
new file mode 100644
index 0000000..040c302
--- /dev/null
+++ b/node_modules/@babel/plugin-syntax-top-level-await/README.md
@@ -0,0 +1,19 @@
+# @babel/plugin-syntax-top-level-await
+
+> Allow parsing of top-level await in modules
+
+See our website [@babel/plugin-syntax-top-level-await](https://babeljs.io/docs/en/babel-plugin-syntax-top-level-await) for more information.
+
+## Install
+
+Using npm:
+
+```sh
+npm install --save-dev @babel/plugin-syntax-top-level-await
+```
+
+or using yarn:
+
+```sh
+yarn add @babel/plugin-syntax-top-level-await --dev
+```
diff --git a/node_modules/@babel/plugin-syntax-top-level-await/lib/index.js b/node_modules/@babel/plugin-syntax-top-level-await/lib/index.js
new file mode 100644
index 0000000..a57cab7
--- /dev/null
+++ b/node_modules/@babel/plugin-syntax-top-level-await/lib/index.js
@@ -0,0 +1,22 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = void 0;
+
+var _helperPluginUtils = require("@babel/helper-plugin-utils");
+
+var _default = (0, _helperPluginUtils.declare)(api => {
+ api.assertVersion(7);
+ return {
+ name: "syntax-top-level-await",
+
+ manipulateOptions(opts, parserOpts) {
+ parserOpts.plugins.push("topLevelAwait");
+ }
+
+ };
+});
+
+exports.default = _default; \ No newline at end of file
diff --git a/node_modules/@babel/plugin-syntax-top-level-await/package.json b/node_modules/@babel/plugin-syntax-top-level-await/package.json
new file mode 100644
index 0000000..70952be
--- /dev/null
+++ b/node_modules/@babel/plugin-syntax-top-level-await/package.json
@@ -0,0 +1,32 @@
+{
+ "name": "@babel/plugin-syntax-top-level-await",
+ "version": "7.14.5",
+ "description": "Allow parsing of top-level await in modules",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/babel/babel.git",
+ "directory": "packages/babel-plugin-syntax-top-level-await"
+ },
+ "homepage": "https://babel.dev/docs/en/next/babel-plugin-syntax-top-level-await",
+ "license": "MIT",
+ "publishConfig": {
+ "access": "public"
+ },
+ "main": "./lib/index.js",
+ "keywords": [
+ "babel-plugin"
+ ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.14.5"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ },
+ "devDependencies": {
+ "@babel/core": "7.14.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "author": "The Babel Team (https://babel.dev/team)"
+} \ No newline at end of file