flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
22
BACK_BACK/node_modules/@babel/plugin-syntax-flow/LICENSE
generated
vendored
Executable file
22
BACK_BACK/node_modules/@babel/plugin-syntax-flow/LICENSE
generated
vendored
Executable 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
BACK_BACK/node_modules/@babel/plugin-syntax-flow/README.md
generated
vendored
Executable file
19
BACK_BACK/node_modules/@babel/plugin-syntax-flow/README.md
generated
vendored
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
# @babel/plugin-syntax-flow
|
||||
|
||||
> Allow parsing of the flow syntax
|
||||
|
||||
See our website [@babel/plugin-syntax-flow](https://babeljs.io/docs/babel-plugin-syntax-flow) for more information.
|
||||
|
||||
## Install
|
||||
|
||||
Using npm:
|
||||
|
||||
```sh
|
||||
npm install --save-dev @babel/plugin-syntax-flow
|
||||
```
|
||||
|
||||
or using yarn:
|
||||
|
||||
```sh
|
||||
yarn add @babel/plugin-syntax-flow --dev
|
||||
```
|
||||
36
BACK_BACK/node_modules/@babel/plugin-syntax-flow/lib/index.js
generated
vendored
Executable file
36
BACK_BACK/node_modules/@babel/plugin-syntax-flow/lib/index.js
generated
vendored
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _helperPluginUtils = require("@babel/helper-plugin-utils");
|
||||
var _default = exports.default = (0, _helperPluginUtils.declare)((api, options) => {
|
||||
api.assertVersion(7);
|
||||
const {
|
||||
all,
|
||||
enums
|
||||
} = options;
|
||||
if (typeof all !== "boolean" && typeof all !== "undefined") {
|
||||
throw new Error(".all must be a boolean, or undefined");
|
||||
}
|
||||
if (typeof enums !== "boolean" && typeof enums !== "undefined") {
|
||||
throw new Error(".enums must be a boolean, or undefined");
|
||||
}
|
||||
return {
|
||||
name: "syntax-flow",
|
||||
manipulateOptions(opts, parserOpts) {
|
||||
{
|
||||
if (parserOpts.plugins.some(p => (Array.isArray(p) ? p[0] : p) === "typescript")) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
parserOpts.plugins.push(["flow", {
|
||||
all,
|
||||
enums
|
||||
}]);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
BACK_BACK/node_modules/@babel/plugin-syntax-flow/lib/index.js.map
generated
vendored
Executable file
1
BACK_BACK/node_modules/@babel/plugin-syntax-flow/lib/index.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"names":["_helperPluginUtils","require","_default","exports","default","declare","api","options","assertVersion","all","enums","Error","name","manipulateOptions","opts","parserOpts","plugins","some","p","Array","isArray","push"],"sources":["../src/index.ts"],"sourcesContent":["import { declare } from \"@babel/helper-plugin-utils\";\n\nexport interface Options {\n all?: boolean;\n enums?: boolean;\n}\n\nexport default declare((api, options: Options) => {\n api.assertVersion(REQUIRED_VERSION(7));\n\n // When enabled and plugins includes flow, all files should be parsed as if\n // the @flow pragma was provided.\n const { all, enums } = options;\n\n if (typeof all !== \"boolean\" && typeof all !== \"undefined\") {\n throw new Error(\".all must be a boolean, or undefined\");\n }\n\n if (typeof enums !== \"boolean\" && typeof enums !== \"undefined\") {\n throw new Error(\".enums must be a boolean, or undefined\");\n }\n\n return {\n name: \"syntax-flow\",\n\n manipulateOptions(opts, parserOpts) {\n if (!process.env.BABEL_8_BREAKING) {\n // If the file has already enabled TS, assume that this is not a\n // valid Flowtype file.\n if (\n parserOpts.plugins.some(\n p => (Array.isArray(p) ? p[0] : p) === \"typescript\",\n )\n ) {\n return;\n }\n }\n\n parserOpts.plugins.push([\"flow\", { all, enums }]);\n },\n };\n});\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAOtC,IAAAC,0BAAO,EAAC,CAACC,GAAG,EAAEC,OAAgB,KAAK;EAChDD,GAAG,CAACE,aAAa,CAAkB,CAAE,CAAC;EAItC,MAAM;IAAEC,GAAG;IAAEC;EAAM,CAAC,GAAGH,OAAO;EAE9B,IAAI,OAAOE,GAAG,KAAK,SAAS,IAAI,OAAOA,GAAG,KAAK,WAAW,EAAE;IAC1D,MAAM,IAAIE,KAAK,CAAC,sCAAsC,CAAC;EACzD;EAEA,IAAI,OAAOD,KAAK,KAAK,SAAS,IAAI,OAAOA,KAAK,KAAK,WAAW,EAAE;IAC9D,MAAM,IAAIC,KAAK,CAAC,wCAAwC,CAAC;EAC3D;EAEA,OAAO;IACLC,IAAI,EAAE,aAAa;IAEnBC,iBAAiBA,CAACC,IAAI,EAAEC,UAAU,EAAE;MACC;QAGjC,IACEA,UAAU,CAACC,OAAO,CAACC,IAAI,CACrBC,CAAC,IAAI,CAACC,KAAK,CAACC,OAAO,CAACF,CAAC,CAAC,GAAGA,CAAC,CAAC,CAAC,CAAC,GAAGA,CAAC,MAAM,YACzC,CAAC,EACD;UACA;QACF;MACF;MAEAH,UAAU,CAACC,OAAO,CAACK,IAAI,CAAC,CAAC,MAAM,EAAE;QAAEZ,GAAG;QAAEC;MAAM,CAAC,CAAC,CAAC;IACnD;EACF,CAAC;AACH,CAAC,CAAC","ignoreList":[]}
|
||||
33
BACK_BACK/node_modules/@babel/plugin-syntax-flow/package.json
generated
vendored
Executable file
33
BACK_BACK/node_modules/@babel/plugin-syntax-flow/package.json
generated
vendored
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"name": "@babel/plugin-syntax-flow",
|
||||
"version": "7.24.7",
|
||||
"description": "Allow parsing of the flow syntax",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel.git",
|
||||
"directory": "packages/babel-plugin-syntax-flow"
|
||||
},
|
||||
"homepage": "https://babel.dev/docs/en/next/babel-plugin-syntax-flow",
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"main": "./lib/index.js",
|
||||
"keywords": [
|
||||
"babel-plugin"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/helper-plugin-utils": "^7.24.7"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.24.7"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"type": "commonjs"
|
||||
}
|
||||
17
BACK_BACK/node_modules/@babel/plugin-syntax-flow/tsconfig.json
generated
vendored
Executable file
17
BACK_BACK/node_modules/@babel/plugin-syntax-flow/tsconfig.json
generated
vendored
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
/* This file is automatically generated by scripts/generators/tsconfig.js */
|
||||
{
|
||||
"extends": [
|
||||
"../../tsconfig.base.json",
|
||||
"../../tsconfig.paths.json"
|
||||
],
|
||||
"include": [
|
||||
"../../packages/babel-plugin-syntax-flow/src/**/*.ts",
|
||||
"../../lib/globals.d.ts",
|
||||
"../../scripts/repo-utils/*.d.ts"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "../../packages/babel-helper-plugin-utils"
|
||||
}
|
||||
]
|
||||
}
|
||||
1
BACK_BACK/node_modules/@babel/plugin-syntax-flow/tsconfig.tsbuildinfo
generated
vendored
Executable file
1
BACK_BACK/node_modules/@babel/plugin-syntax-flow/tsconfig.tsbuildinfo
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue