Add node modules and compiled JavaScript from main
This commit is contained in:
parent
8bccaeaf7c
commit
4181bfdf50
7465 changed files with 1775003 additions and 2 deletions
22
node_modules/@babel/helper-environment-visitor/LICENSE
generated
vendored
Normal file
22
node_modules/@babel/helper-environment-visitor/LICENSE
generated
vendored
Normal file
|
@ -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.
|
19
node_modules/@babel/helper-environment-visitor/README.md
generated
vendored
Normal file
19
node_modules/@babel/helper-environment-visitor/README.md
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
# @babel/helper-environment-visitor
|
||||
|
||||
> Helper visitor to only visit nodes in the current 'this' context
|
||||
|
||||
See our website [@babel/helper-environment-visitor](https://babeljs.io/docs/en/babel-helper-environment-visitor) for more information.
|
||||
|
||||
## Install
|
||||
|
||||
Using npm:
|
||||
|
||||
```sh
|
||||
npm install --save-dev @babel/helper-environment-visitor
|
||||
```
|
||||
|
||||
or using yarn:
|
||||
|
||||
```sh
|
||||
yarn add @babel/helper-environment-visitor --dev
|
||||
```
|
59
node_modules/@babel/helper-environment-visitor/lib/index.js
generated
vendored
Normal file
59
node_modules/@babel/helper-environment-visitor/lib/index.js
generated
vendored
Normal file
|
@ -0,0 +1,59 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
exports.requeueComputedKeyAndDecorators = requeueComputedKeyAndDecorators;
|
||||
exports.skipAllButComputedKey = skipAllButComputedKey;
|
||||
|
||||
function skipAllButComputedKey(path) {
|
||||
path.skip();
|
||||
|
||||
if (path.node.computed) {
|
||||
path.context.maybeQueue(path.get("key"));
|
||||
}
|
||||
}
|
||||
|
||||
function requeueComputedKeyAndDecorators(path) {
|
||||
const {
|
||||
context,
|
||||
node
|
||||
} = path;
|
||||
|
||||
if (node.computed) {
|
||||
context.maybeQueue(path.get("key"));
|
||||
}
|
||||
|
||||
if (node.decorators) {
|
||||
for (const decorator of path.get("decorators")) {
|
||||
context.maybeQueue(decorator);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const visitor = {
|
||||
FunctionParent(path) {
|
||||
if (path.isArrowFunctionExpression()) {
|
||||
return;
|
||||
} else {
|
||||
path.skip();
|
||||
|
||||
if (path.isMethod()) {
|
||||
requeueComputedKeyAndDecorators(path);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Property(path) {
|
||||
if (path.isObjectProperty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
path.skip();
|
||||
requeueComputedKeyAndDecorators(path);
|
||||
}
|
||||
|
||||
};
|
||||
var _default = visitor;
|
||||
exports.default = _default;
|
29
node_modules/@babel/helper-environment-visitor/package.json
generated
vendored
Normal file
29
node_modules/@babel/helper-environment-visitor/package.json
generated
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"name": "@babel/helper-environment-visitor",
|
||||
"version": "7.18.6",
|
||||
"description": "Helper visitor to only visit nodes in the current 'this' context",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-helper-environment-visitor"
|
||||
},
|
||||
"homepage": "https://babel.dev/docs/en/next/babel-helper-environment-visitor",
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"main": "./lib/index.js",
|
||||
"exports": {
|
||||
".": "./lib/index.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/traverse": "^7.18.6",
|
||||
"@babel/types": "^7.18.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"type": "commonjs"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue