mirror of
https://github.com/github/codeql-action.git
synced 2025-12-30 03:00:13 +08:00
Update checked-in dependencies
This commit is contained in:
1256
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/CHANGELOG.md
generated
vendored
Normal file
1256
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/CHANGELOG.md
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
22
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/LICENSE
generated
vendored
Normal file
22
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
TypeScript ESLint Parser
|
||||
Copyright JS Foundation and other contributors, https://js.foundation
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
290
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/README.md
generated
vendored
Normal file
290
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/README.md
generated
vendored
Normal file
@@ -0,0 +1,290 @@
|
||||
<h1 align="center">TypeScript ESLint Parser</h1>
|
||||
|
||||
<p align="center">An ESLint parser which leverages <a href="https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/typescript-estree">TypeScript ESTree</a> to allow for ESLint to lint TypeScript source code.</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="https://github.com/typescript-eslint/typescript-eslint/workflows/CI/badge.svg" alt="CI" />
|
||||
<a href="https://www.npmjs.com/package/@typescript-eslint/parser"><img src="https://img.shields.io/npm/v/@typescript-eslint/parser.svg?style=flat-square" alt="NPM Version" /></a>
|
||||
<a href="https://www.npmjs.com/package/@typescript-eslint/parser"><img src="https://img.shields.io/npm/dm/@typescript-eslint/parser.svg?style=flat-square" alt="NPM Downloads" /></a>
|
||||
</p>
|
||||
|
||||
## Getting Started
|
||||
|
||||
**[You can find our Getting Started docs here](../../docs/getting-started/linting/README.md)**
|
||||
|
||||
These docs walk you through setting up ESLint, this parser, and our plugin. If you know what you're doing and just want to quick start, read on...
|
||||
|
||||
## Quick-start
|
||||
|
||||
### Installation
|
||||
|
||||
```bash
|
||||
$ yarn add -D typescript @typescript-eslint/parser
|
||||
$ npm i --save-dev typescript @typescript-eslint/parser
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
||||
In your ESLint configuration file, set the `parser` property:
|
||||
|
||||
```json
|
||||
{
|
||||
"parser": "@typescript-eslint/parser"
|
||||
}
|
||||
```
|
||||
|
||||
There is sometimes an incorrect assumption that the parser itself is what does everything necessary to facilitate the use of ESLint with TypeScript. In actuality, it is the combination of the parser _and_ one or more plugins which allow you to maximize your usage of ESLint with TypeScript.
|
||||
|
||||
For example, once this parser successfully produces an AST for the TypeScript source code, it might well contain some information which simply does not exist in a standard JavaScript context, such as the data for a TypeScript-specific construct, like an `interface`.
|
||||
|
||||
The core rules built into ESLint, such as `indent` have no knowledge of such constructs, so it is impossible to expect them to work out of the box with them.
|
||||
|
||||
Instead, you also need to make use of one more plugins which will add or extend rules with TypeScript-specific features.
|
||||
|
||||
By far the most common case will be installing the [`@typescript-eslint/eslint-plugin`](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin) plugin, but there are also other relevant options available such a [`@typescript-eslint/eslint-plugin-tslint`](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin-tslint).
|
||||
|
||||
## Configuration
|
||||
|
||||
The following additional configuration options are available by specifying them in [`parserOptions`](https://eslint.org/docs/user-guide/configuring/language-options#specifying-parser-options) in your ESLint configuration file.
|
||||
|
||||
```ts
|
||||
interface ParserOptions {
|
||||
ecmaFeatures?: {
|
||||
jsx?: boolean;
|
||||
globalReturn?: boolean;
|
||||
};
|
||||
ecmaVersion?: number | 'latest';
|
||||
|
||||
jsxPragma?: string | null;
|
||||
jsxFragmentName?: string | null;
|
||||
lib?: string[];
|
||||
|
||||
project?: string | string[];
|
||||
projectFolderIgnoreList?: string[];
|
||||
tsconfigRootDir?: string;
|
||||
extraFileExtensions?: string[];
|
||||
warnOnUnsupportedTypeScriptVersion?: boolean;
|
||||
|
||||
program?: import('typescript').Program;
|
||||
moduleResolver?: string;
|
||||
}
|
||||
```
|
||||
|
||||
### `parserOptions.ecmaFeatures.jsx`
|
||||
|
||||
Default `false`.
|
||||
|
||||
Enable parsing JSX when `true`. More details can be found [here](https://www.typescriptlang.org/docs/handbook/jsx.html).
|
||||
|
||||
**NOTE:** this setting does not affect known file types (`.js`, `.jsx`, `.ts`, `.tsx`, `.json`) because the TypeScript compiler has its own internal handling for known file extensions. The exact behavior is as follows:
|
||||
|
||||
- if `parserOptions.project` is _not_ provided:
|
||||
- `.js`, `.jsx`, `.tsx` files are parsed as if this is true.
|
||||
- `.ts` files are parsed as if this is false.
|
||||
- unknown extensions (`.md`, `.vue`) will respect this setting.
|
||||
- if `parserOptions.project` is provided (i.e. you are using rules with type information):
|
||||
- `.js`, `.jsx`, `.tsx` files are parsed as if this is true.
|
||||
- `.ts` files are parsed as if this is false.
|
||||
- "unknown" extensions (`.md`, `.vue`) **are parsed as if this is false**.
|
||||
|
||||
### `parserOptions.ecmaFeatures.globalReturn`
|
||||
|
||||
Default `false`.
|
||||
|
||||
This options allows you to tell the parser if you want to allow global `return` statements in your codebase.
|
||||
|
||||
### `parserOptions.ecmaVersion`
|
||||
|
||||
Default `2018`.
|
||||
|
||||
Accepts any valid ECMAScript version number or `'latest'`:
|
||||
|
||||
- A version: es3, es5, es6, es7, es8, es9, es10, es11, es12, es13, ..., or
|
||||
- A year: es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, ..., or
|
||||
- `'latest'`
|
||||
|
||||
When it's a version or a year, the value **must** be a number - so do not include the `es` prefix.
|
||||
|
||||
Specifies the version of ECMAScript syntax you want to use. This is used by the parser to determine how to perform scope analysis, and it affects the default
|
||||
|
||||
### `parserOptions.jsxPragma`
|
||||
|
||||
Default `'React'`
|
||||
|
||||
The identifier that's used for JSX Elements creation (after transpilation).
|
||||
If you're using a library other than React (like `preact`), then you should change this value. If you are using the [new JSX transform](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) you can set this to `null`.
|
||||
|
||||
This should not be a member expression - just the root identifier (i.e. use `"React"` instead of `"React.createElement"`).
|
||||
|
||||
If you provide `parserOptions.project`, you do not need to set this, as it will automatically detected from the compiler.
|
||||
|
||||
### `parserOptions.jsxFragmentName`
|
||||
|
||||
Default `null`
|
||||
|
||||
The identifier that's used for JSX fragment elements (after transpilation).
|
||||
If `null`, assumes transpilation will always use a member of the configured `jsxPragma`.
|
||||
This should not be a member expression - just the root identifier (i.e. use `"h"` instead of `"h.Fragment"`).
|
||||
|
||||
If you provide `parserOptions.project`, you do not need to set this, as it will automatically detected from the compiler.
|
||||
|
||||
### `parserOptions.lib`
|
||||
|
||||
Default `['es2018']`
|
||||
|
||||
For valid options, see the [TypeScript compiler options](https://www.typescriptlang.org/tsconfig#lib).
|
||||
|
||||
Specifies the TypeScript `lib`s that are available. This is used by the scope analyser to ensure there are global variables declared for the types exposed by TypeScript.
|
||||
|
||||
If you provide `parserOptions.project`, you do not need to set this, as it will automatically detected from the compiler.
|
||||
|
||||
### `parserOptions.project`
|
||||
|
||||
Default `undefined`.
|
||||
|
||||
This option allows you to provide a path to your project's `tsconfig.json`. **This setting is required if you want to use rules which require type information**. Relative paths are interpreted relative to the current working directory if `tsconfigRootDir` is not set. If you intend on running ESLint from directories other than the project root, you should consider using `tsconfigRootDir`.
|
||||
|
||||
- Accepted values:
|
||||
|
||||
```js
|
||||
// path
|
||||
project: './tsconfig.json';
|
||||
|
||||
// glob pattern
|
||||
project: './packages/**/tsconfig.json';
|
||||
|
||||
// array of paths and/or glob patterns
|
||||
project: ['./packages/**/tsconfig.json', './separate-package/tsconfig.json'];
|
||||
```
|
||||
|
||||
- If you use project references, TypeScript will not automatically use project references to resolve files. This means that you will have to add each referenced tsconfig to the `project` field either separately, or via a glob.
|
||||
|
||||
- TypeScript will ignore files with duplicate filenames in the same folder (for example, `src/file.ts` and `src/file.js`). TypeScript purposely ignore all but one of the files, only keeping the one file with the highest priority extension (the extension priority order (from highest to lowest) is `.ts`, `.tsx`, `.d.ts`, `.js`, `.jsx`). For more info see #955.
|
||||
|
||||
- Note that if this setting is specified and `createDefaultProgram` is not, you must only lint files that are included in the projects as defined by the provided `tsconfig.json` files. If your existing configuration does not include all of the files you would like to lint, you can create a separate `tsconfig.eslint.json` as follows:
|
||||
|
||||
```jsonc
|
||||
{
|
||||
// extend your base config so you don't have to redefine your compilerOptions
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"test/**/*.ts",
|
||||
"typings/**/*.ts",
|
||||
// etc
|
||||
|
||||
// if you have a mixed JS/TS codebase, don't forget to include your JS files
|
||||
"src/**/*.js"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### `parserOptions.tsconfigRootDir`
|
||||
|
||||
Default `undefined`.
|
||||
|
||||
This option allows you to provide the root directory for relative tsconfig paths specified in the `project` option above.
|
||||
|
||||
### `parserOptions.projectFolderIgnoreList`
|
||||
|
||||
Default `["**/node_modules/**"]`.
|
||||
|
||||
This option allows you to ignore folders from being included in your provided list of `project`s.
|
||||
This is useful if you have configured glob patterns, but want to make sure you ignore certain folders.
|
||||
|
||||
It accepts an array of globs to exclude from the `project` globs.
|
||||
|
||||
For example, by default it will ensure that a glob like `./**/tsconfig.json` will not match any `tsconfig`s within your `node_modules` folder (some npm packages do not exclude their source files from their published packages).
|
||||
|
||||
### `parserOptions.extraFileExtensions`
|
||||
|
||||
Default `undefined`.
|
||||
|
||||
This option allows you to provide one or more additional file extensions which should be considered in the TypeScript Program compilation.
|
||||
The default extensions are `.ts`, `.tsx`, `.js`, and `.jsx`. Add extensions starting with `.`, followed by the file extension. E.g. for a `.vue` file use `"extraFileExtensions: [".vue"]`.
|
||||
|
||||
### `parserOptions.warnOnUnsupportedTypeScriptVersion`
|
||||
|
||||
Default `true`.
|
||||
|
||||
This option allows you to toggle the warning that the parser will give you if you use a version of TypeScript which is not explicitly supported
|
||||
|
||||
### `parserOptions.createDefaultProgram`
|
||||
|
||||
Default `false`.
|
||||
|
||||
This option allows you to request that when the `project` setting is specified, files will be allowed when not included in the projects defined by the provided `tsconfig.json` files. **Using this option will incur significant performance costs. This option is primarily included for backwards-compatibility.** See the **`project`** section above for more information.
|
||||
|
||||
### `parserOptions.programs`
|
||||
|
||||
Default `undefined`.
|
||||
|
||||
This option allows you to programmatically provide an array of one or more instances of a TypeScript Program object that will provide type information to rules.
|
||||
This will override any programs that would have been computed from `parserOptions.project` or `parserOptions.createDefaultProgram`.
|
||||
All linted files must be part of the provided program(s).
|
||||
|
||||
### `parserOptions.moduleResolver`
|
||||
|
||||
Default `undefined`.
|
||||
|
||||
This option allows you to provide a custom module resolution. The value should point to a JS file that default exports (`export default`, or `module.exports =`, or `export =`) a file with the following interface:
|
||||
|
||||
```ts
|
||||
interface ModuleResolver {
|
||||
version: 1;
|
||||
resolveModuleNames(
|
||||
moduleNames: string[],
|
||||
containingFile: string,
|
||||
reusedNames: string[] | undefined,
|
||||
redirectedReference: ts.ResolvedProjectReference | undefined,
|
||||
options: ts.CompilerOptions,
|
||||
): (ts.ResolvedModule | undefined)[];
|
||||
}
|
||||
```
|
||||
|
||||
[Refer to the TypeScript Wiki for an example on how to write the `resolveModuleNames` function](https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#customizing-module-resolution).
|
||||
|
||||
Note that if you pass custom programs via `options.programs` this option will not have any effect over them (you can simply add the custom resolution on them directly).
|
||||
|
||||
## Utilities
|
||||
|
||||
### `createProgram(configFile, projectDirectory)`
|
||||
|
||||
This serves as a utility method for users of the `parserOptions.programs` feature to create a TypeScript program instance from a config file.
|
||||
|
||||
```ts
|
||||
declare function createProgram(
|
||||
configFile: string,
|
||||
projectDirectory?: string,
|
||||
): import('typescript').Program;
|
||||
```
|
||||
|
||||
Example usage in .eslintrc.js:
|
||||
|
||||
```js
|
||||
const parser = require('@typescript-eslint/parser');
|
||||
const programs = [parser.createProgram('tsconfig.json')];
|
||||
module.exports = {
|
||||
parserOptions: {
|
||||
programs,
|
||||
},
|
||||
};
|
||||
```
|
||||
|
||||
## Supported TypeScript Version
|
||||
|
||||
Please see [`typescript-eslint`](https://github.com/typescript-eslint/typescript-eslint) for the supported TypeScript version.
|
||||
|
||||
**Please ensure that you are using a supported version before submitting any issues/bug reports.**
|
||||
|
||||
## Reporting Issues
|
||||
|
||||
Please use the `@typescript-eslint/parser` issue template when creating your issue and fill out the information requested as best you can. This will really help us when looking into your issue.
|
||||
|
||||
## License
|
||||
|
||||
TypeScript ESLint Parser is licensed under a permissive BSD 2-clause license.
|
||||
|
||||
## Contributing
|
||||
|
||||
[See the contributing guide here](../../CONTRIBUTING.md)
|
||||
4
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/index.d.ts
generated
vendored
Normal file
4
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export { parse, parseForESLint, ParserOptions } from './parser';
|
||||
export { ParserServices, clearCaches, createProgram, } from '@typescript-eslint/typescript-estree';
|
||||
export declare const version: string;
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/index.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EACL,cAAc,EACd,WAAW,EACX,aAAa,GACd,MAAM,sCAAsC,CAAC;AAI9C,eAAO,MAAM,OAAO,EAAE,MAA2C,CAAC"}
|
||||
13
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/index.js
generated
vendored
Normal file
13
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = exports.createProgram = exports.clearCaches = exports.parseForESLint = exports.parse = void 0;
|
||||
var parser_1 = require("./parser");
|
||||
Object.defineProperty(exports, "parse", { enumerable: true, get: function () { return parser_1.parse; } });
|
||||
Object.defineProperty(exports, "parseForESLint", { enumerable: true, get: function () { return parser_1.parseForESLint; } });
|
||||
var typescript_estree_1 = require("@typescript-eslint/typescript-estree");
|
||||
Object.defineProperty(exports, "clearCaches", { enumerable: true, get: function () { return typescript_estree_1.clearCaches; } });
|
||||
Object.defineProperty(exports, "createProgram", { enumerable: true, get: function () { return typescript_estree_1.createProgram; } });
|
||||
// note - cannot migrate this to an import statement because it will make TSC copy the package.json to the dist folder
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
|
||||
exports.version = require('../package.json').version;
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/index.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/index.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mCAAgE;AAAvD,+FAAA,KAAK,OAAA;AAAE,wGAAA,cAAc,OAAA;AAC9B,0EAI8C;AAF5C,gHAAA,WAAW,OAAA;AACX,kHAAA,aAAa,OAAA;AAGf,sHAAsH;AACtH,+GAA+G;AAClG,QAAA,OAAO,GAAW,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC"}
|
||||
17
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/parser.d.ts
generated
vendored
Normal file
17
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/parser.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { ParserOptions, TSESTree } from '@typescript-eslint/types';
|
||||
import { ParserServices, visitorKeys } from '@typescript-eslint/typescript-estree';
|
||||
import { ScopeManager } from '@typescript-eslint/scope-manager';
|
||||
interface ParseForESLintResult {
|
||||
ast: TSESTree.Program & {
|
||||
range?: [number, number];
|
||||
tokens?: TSESTree.Token[];
|
||||
comments?: TSESTree.Comment[];
|
||||
};
|
||||
services: ParserServices;
|
||||
visitorKeys: typeof visitorKeys;
|
||||
scopeManager: ScopeManager;
|
||||
}
|
||||
declare function parse(code: string, options?: ParserOptions): ParseForESLintResult['ast'];
|
||||
declare function parseForESLint(code: string, options?: ParserOptions | null): ParseForESLintResult;
|
||||
export { parse, parseForESLint, ParserOptions };
|
||||
//# sourceMappingURL=parser.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAO,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAEL,cAAc,EAEd,WAAW,EACZ,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAGL,YAAY,EACb,MAAM,kCAAkC,CAAC;AAM1C,UAAU,oBAAoB;IAC5B,GAAG,EAAE,QAAQ,CAAC,OAAO,GAAG;QACtB,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACzB,MAAM,CAAC,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC;QAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;KAC/B,CAAC;IACF,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,EAAE,OAAO,WAAW,CAAC;IAChC,YAAY,EAAE,YAAY,CAAC;CAC5B;AA+CD,iBAAS,KAAK,CACZ,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,aAAa,GACtB,oBAAoB,CAAC,KAAK,CAAC,CAE7B;AAED,iBAAS,cAAc,CACrB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,GAC7B,oBAAoB,CA4FtB;AAED,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC"}
|
||||
133
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/parser.js
generated
vendored
Normal file
133
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/parser.js
generated
vendored
Normal file
@@ -0,0 +1,133 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.parseForESLint = exports.parse = void 0;
|
||||
const typescript_estree_1 = require("@typescript-eslint/typescript-estree");
|
||||
const scope_manager_1 = require("@typescript-eslint/scope-manager");
|
||||
const debug_1 = __importDefault(require("debug"));
|
||||
const typescript_1 = require("typescript");
|
||||
const log = (0, debug_1.default)('typescript-eslint:parser:parser');
|
||||
function validateBoolean(value, fallback = false) {
|
||||
if (typeof value !== 'boolean') {
|
||||
return fallback;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
const LIB_FILENAME_REGEX = /lib\.(.+)\.d\.ts$/;
|
||||
function getLib(compilerOptions) {
|
||||
var _a;
|
||||
if (compilerOptions.lib) {
|
||||
return compilerOptions.lib.reduce((acc, lib) => {
|
||||
const match = LIB_FILENAME_REGEX.exec(lib.toLowerCase());
|
||||
if (match) {
|
||||
acc.push(match[1]);
|
||||
}
|
||||
return acc;
|
||||
}, []);
|
||||
}
|
||||
const target = (_a = compilerOptions.target) !== null && _a !== void 0 ? _a : typescript_1.ScriptTarget.ES5;
|
||||
// https://github.com/Microsoft/TypeScript/blob/59ad375234dc2efe38d8ee0ba58414474c1d5169/src/compiler/utilitiesPublic.ts#L13-L32
|
||||
switch (target) {
|
||||
case typescript_1.ScriptTarget.ESNext:
|
||||
return ['esnext.full'];
|
||||
case typescript_1.ScriptTarget.ES2020:
|
||||
return ['es2020.full'];
|
||||
case typescript_1.ScriptTarget.ES2019:
|
||||
return ['es2019.full'];
|
||||
case typescript_1.ScriptTarget.ES2018:
|
||||
return ['es2018.full'];
|
||||
case typescript_1.ScriptTarget.ES2017:
|
||||
return ['es2017.full'];
|
||||
case typescript_1.ScriptTarget.ES2016:
|
||||
return ['es2016.full'];
|
||||
case typescript_1.ScriptTarget.ES2015:
|
||||
return ['es6'];
|
||||
default:
|
||||
return ['lib'];
|
||||
}
|
||||
}
|
||||
function parse(code, options) {
|
||||
return parseForESLint(code, options).ast;
|
||||
}
|
||||
exports.parse = parse;
|
||||
function parseForESLint(code, options) {
|
||||
if (!options || typeof options !== 'object') {
|
||||
options = {};
|
||||
}
|
||||
else {
|
||||
options = Object.assign({}, options);
|
||||
}
|
||||
// https://eslint.org/docs/user-guide/configuring#specifying-parser-options
|
||||
// if sourceType is not provided by default eslint expect that it will be set to "script"
|
||||
if (options.sourceType !== 'module' && options.sourceType !== 'script') {
|
||||
options.sourceType = 'script';
|
||||
}
|
||||
if (typeof options.ecmaFeatures !== 'object') {
|
||||
options.ecmaFeatures = {};
|
||||
}
|
||||
const parserOptions = {};
|
||||
Object.assign(parserOptions, options, {
|
||||
useJSXTextNode: validateBoolean(options.useJSXTextNode, true),
|
||||
jsx: validateBoolean(options.ecmaFeatures.jsx),
|
||||
});
|
||||
const analyzeOptions = {
|
||||
ecmaVersion: options.ecmaVersion === 'latest' ? 1e8 : options.ecmaVersion,
|
||||
globalReturn: options.ecmaFeatures.globalReturn,
|
||||
jsxPragma: options.jsxPragma,
|
||||
jsxFragmentName: options.jsxFragmentName,
|
||||
lib: options.lib,
|
||||
sourceType: options.sourceType,
|
||||
};
|
||||
if (typeof options.filePath === 'string') {
|
||||
const tsx = options.filePath.endsWith('.tsx');
|
||||
if (tsx || options.filePath.endsWith('.ts')) {
|
||||
parserOptions.jsx = tsx;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Allow the user to suppress the warning from typescript-estree if they are using an unsupported
|
||||
* version of TypeScript
|
||||
*/
|
||||
const warnOnUnsupportedTypeScriptVersion = validateBoolean(options.warnOnUnsupportedTypeScriptVersion, true);
|
||||
if (!warnOnUnsupportedTypeScriptVersion) {
|
||||
parserOptions.loggerFn = false;
|
||||
}
|
||||
const { ast, services } = (0, typescript_estree_1.parseAndGenerateServices)(code, parserOptions);
|
||||
ast.sourceType = options.sourceType;
|
||||
if (services.hasFullTypeInformation) {
|
||||
// automatically apply the options configured for the program
|
||||
const compilerOptions = services.program.getCompilerOptions();
|
||||
if (analyzeOptions.lib == null) {
|
||||
analyzeOptions.lib = getLib(compilerOptions);
|
||||
log('Resolved libs from program: %o', analyzeOptions.lib);
|
||||
}
|
||||
if (parserOptions.jsx === true) {
|
||||
if (analyzeOptions.jsxPragma === undefined &&
|
||||
compilerOptions.jsxFactory != null) {
|
||||
// in case the user has specified something like "preact.h"
|
||||
const factory = compilerOptions.jsxFactory.split('.')[0].trim();
|
||||
analyzeOptions.jsxPragma = factory;
|
||||
log('Resolved jsxPragma from program: %s', analyzeOptions.jsxPragma);
|
||||
}
|
||||
if (analyzeOptions.jsxFragmentName === undefined &&
|
||||
compilerOptions.jsxFragmentFactory != null) {
|
||||
// in case the user has specified something like "preact.Fragment"
|
||||
const fragFactory = compilerOptions.jsxFragmentFactory
|
||||
.split('.')[0]
|
||||
.trim();
|
||||
analyzeOptions.jsxFragmentName = fragFactory;
|
||||
log('Resolved jsxFragmentName from program: %s', analyzeOptions.jsxFragmentName);
|
||||
}
|
||||
}
|
||||
if (compilerOptions.emitDecoratorMetadata === true) {
|
||||
analyzeOptions.emitDecoratorMetadata =
|
||||
compilerOptions.emitDecoratorMetadata;
|
||||
}
|
||||
}
|
||||
const scopeManager = (0, scope_manager_1.analyze)(ast, analyzeOptions);
|
||||
return { ast, services, scopeManager, visitorKeys: typescript_estree_1.visitorKeys };
|
||||
}
|
||||
exports.parseForESLint = parseForESLint;
|
||||
//# sourceMappingURL=parser.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/parser.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/dist/parser.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":";;;;;;AACA,4EAK8C;AAC9C,oEAI0C;AAC1C,kDAA0B;AAC1B,2CAA2D;AAE3D,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,iCAAiC,CAAC,CAAC;AAarD,SAAS,eAAe,CACtB,KAA0B,EAC1B,QAAQ,GAAG,KAAK;IAEhB,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE;QAC9B,OAAO,QAAQ,CAAC;KACjB;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAC/C,SAAS,MAAM,CAAC,eAAgC;;IAC9C,IAAI,eAAe,CAAC,GAAG,EAAE;QACvB,OAAO,eAAe,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;YAC7C,MAAM,KAAK,GAAG,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;YACzD,IAAI,KAAK,EAAE;gBACT,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAQ,CAAC,CAAC;aAC3B;YAED,OAAO,GAAG,CAAC;QACb,CAAC,EAAE,EAAW,CAAC,CAAC;KACjB;IAED,MAAM,MAAM,GAAG,MAAA,eAAe,CAAC,MAAM,mCAAI,yBAAY,CAAC,GAAG,CAAC;IAC1D,gIAAgI;IAChI,QAAQ,MAAM,EAAE;QACd,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,aAAa,CAAC,CAAC;QACzB,KAAK,yBAAY,CAAC,MAAM;YACtB,OAAO,CAAC,KAAK,CAAC,CAAC;QACjB;YACE,OAAO,CAAC,KAAK,CAAC,CAAC;KAClB;AACH,CAAC;AAED,SAAS,KAAK,CACZ,IAAY,EACZ,OAAuB;IAEvB,OAAO,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,GAAG,CAAC;AAC3C,CAAC;AAmGQ,sBAAK;AAjGd,SAAS,cAAc,CACrB,IAAY,EACZ,OAA8B;IAE9B,IAAI,CAAC,OAAO,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC3C,OAAO,GAAG,EAAE,CAAC;KACd;SAAM;QACL,OAAO,qBAAQ,OAAO,CAAE,CAAC;KAC1B;IACD,2EAA2E;IAC3E,yFAAyF;IACzF,IAAI,OAAO,CAAC,UAAU,KAAK,QAAQ,IAAI,OAAO,CAAC,UAAU,KAAK,QAAQ,EAAE;QACtE,OAAO,CAAC,UAAU,GAAG,QAAQ,CAAC;KAC/B;IACD,IAAI,OAAO,OAAO,CAAC,YAAY,KAAK,QAAQ,EAAE;QAC5C,OAAO,CAAC,YAAY,GAAG,EAAE,CAAC;KAC3B;IAED,MAAM,aAAa,GAAoB,EAAE,CAAC;IAC1C,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,OAAO,EAAE;QACpC,cAAc,EAAE,eAAe,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC;QAC7D,GAAG,EAAE,eAAe,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC;KAC/C,CAAC,CAAC;IACH,MAAM,cAAc,GAAmB;QACrC,WAAW,EAAE,OAAO,CAAC,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW;QACzE,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC,YAAY;QAC/C,SAAS,EAAE,OAAO,CAAC,SAAS;QAC5B,eAAe,EAAE,OAAO,CAAC,eAAe;QACxC,GAAG,EAAE,OAAO,CAAC,GAAG;QAChB,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC;IAEF,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,QAAQ,EAAE;QACxC,MAAM,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC9C,IAAI,GAAG,IAAI,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;YAC3C,aAAa,CAAC,GAAG,GAAG,GAAG,CAAC;SACzB;KACF;IAED;;;OAGG;IACH,MAAM,kCAAkC,GAAG,eAAe,CACxD,OAAO,CAAC,kCAAkC,EAC1C,IAAI,CACL,CAAC;IACF,IAAI,CAAC,kCAAkC,EAAE;QACvC,aAAa,CAAC,QAAQ,GAAG,KAAK,CAAC;KAChC;IAED,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,IAAA,4CAAwB,EAAC,IAAI,EAAE,aAAa,CAAC,CAAC;IACxE,GAAG,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;IAEpC,IAAI,QAAQ,CAAC,sBAAsB,EAAE;QACnC,6DAA6D;QAC7D,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,IAAI,cAAc,CAAC,GAAG,IAAI,IAAI,EAAE;YAC9B,cAAc,CAAC,GAAG,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;YAC7C,GAAG,CAAC,gCAAgC,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;SAC3D;QACD,IAAI,aAAa,CAAC,GAAG,KAAK,IAAI,EAAE;YAC9B,IACE,cAAc,CAAC,SAAS,KAAK,SAAS;gBACtC,eAAe,CAAC,UAAU,IAAI,IAAI,EAClC;gBACA,2DAA2D;gBAC3D,MAAM,OAAO,GAAG,eAAe,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;gBAChE,cAAc,CAAC,SAAS,GAAG,OAAO,CAAC;gBACnC,GAAG,CAAC,qCAAqC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;aACtE;YACD,IACE,cAAc,CAAC,eAAe,KAAK,SAAS;gBAC5C,eAAe,CAAC,kBAAkB,IAAI,IAAI,EAC1C;gBACA,kEAAkE;gBAClE,MAAM,WAAW,GAAG,eAAe,CAAC,kBAAkB;qBACnD,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;qBACb,IAAI,EAAE,CAAC;gBACV,cAAc,CAAC,eAAe,GAAG,WAAW,CAAC;gBAC7C,GAAG,CACD,2CAA2C,EAC3C,cAAc,CAAC,eAAe,CAC/B,CAAC;aACH;SACF;QACD,IAAI,eAAe,CAAC,qBAAqB,KAAK,IAAI,EAAE;YAClD,cAAc,CAAC,qBAAqB;gBAClC,eAAe,CAAC,qBAAqB,CAAC;SACzC;KACF;IAED,MAAM,YAAY,GAAG,IAAA,uBAAO,EAAC,GAAG,EAAE,cAAc,CAAC,CAAC;IAElD,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAX,+BAAW,EAAE,CAAC;AACtD,CAAC;AAEe,wCAAc"}
|
||||
75
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/package.json
generated
vendored
Normal file
75
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/parser/package.json
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"name": "@typescript-eslint/parser",
|
||||
"version": "4.33.0",
|
||||
"description": "An ESLint custom parser which leverages TypeScript ESTree",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist",
|
||||
"README.md",
|
||||
"LICENSE"
|
||||
],
|
||||
"engines": {
|
||||
"node": "^10.12.0 || >=12.0.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/typescript-eslint/typescript-eslint.git",
|
||||
"directory": "packages/parser"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
||||
},
|
||||
"license": "BSD-2-Clause",
|
||||
"keywords": [
|
||||
"ast",
|
||||
"ecmascript",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"parser",
|
||||
"syntax",
|
||||
"eslint"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc -b tsconfig.build.json",
|
||||
"postbuild": "downlevel-dts dist _ts3.4/dist",
|
||||
"clean": "tsc -b tsconfig.build.json --clean",
|
||||
"postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage",
|
||||
"format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore",
|
||||
"lint": "eslint . --ext .js,.ts --ignore-path='../../.eslintignore'",
|
||||
"test": "jest --coverage",
|
||||
"typecheck": "tsc -p tsconfig.json --noEmit"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"eslint": "^5.0.0 || ^6.0.0 || ^7.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@typescript-eslint/scope-manager": "4.33.0",
|
||||
"@typescript-eslint/types": "4.33.0",
|
||||
"@typescript-eslint/typescript-estree": "4.33.0",
|
||||
"debug": "^4.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/glob": "*",
|
||||
"@typescript-eslint/experimental-utils": "4.33.0",
|
||||
"glob": "*",
|
||||
"typescript": "*"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"typescript": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/typescript-eslint"
|
||||
},
|
||||
"typesVersions": {
|
||||
"<3.8": {
|
||||
"*": [
|
||||
"_ts3.4/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e"
|
||||
}
|
||||
644
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/CHANGELOG.md
generated
vendored
Normal file
644
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,644 @@
|
||||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [4.33.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.32.0...v4.33.0) (2021-10-04)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.32.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.31.2...v4.32.0) (2021-09-27)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **eslint-plugin-internal:** [prefer-ast-types-enum] add `DefinitionType` enum ([#3916](https://github.com/typescript-eslint/typescript-eslint/issues/3916)) ([13b7de5](https://github.com/typescript-eslint/typescript-eslint/commit/13b7de508e0f8eac492879ff9ab99acd8d3e977e))
|
||||
* Support `'latest'` as `ecmaVersion` ([#3873](https://github.com/typescript-eslint/typescript-eslint/issues/3873)) ([25a42c0](https://github.com/typescript-eslint/typescript-eslint/commit/25a42c0bbe92d1ecbc2e8ff9ef3a3ef413f728b0))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.31.2](https://github.com/typescript-eslint/typescript-eslint/compare/v4.31.1...v4.31.2) (2021-09-20)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.31.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.31.0...v4.31.1) (2021-09-13)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.31.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.30.0...v4.31.0) (2021-09-06)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.30.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.29.3...v4.30.0) (2021-08-30)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **typescript-estree:** add support for class static blocks ([#3730](https://github.com/typescript-eslint/typescript-eslint/issues/3730)) ([f81831b](https://github.com/typescript-eslint/typescript-eslint/commit/f81831bd279a32da6dbab0f1c061053ea43965f6))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.29.3](https://github.com/typescript-eslint/typescript-eslint/compare/v4.29.2...v4.29.3) (2021-08-23)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.29.2](https://github.com/typescript-eslint/typescript-eslint/compare/v4.29.1...v4.29.2) (2021-08-16)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.29.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.29.0...v4.29.1) (2021-08-09)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.29.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.28.5...v4.29.0) (2021-08-02)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **eslint-plugin:** Catch unused React import with new JSX transform ([#3577](https://github.com/typescript-eslint/typescript-eslint/issues/3577)) ([02998ea](https://github.com/typescript-eslint/typescript-eslint/commit/02998eac510665758b9a093d43afc310f3ac980d))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.28.5](https://github.com/typescript-eslint/typescript-eslint/compare/v4.28.4...v4.28.5) (2021-07-26)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.28.4](https://github.com/typescript-eslint/typescript-eslint/compare/v4.28.3...v4.28.4) (2021-07-19)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.28.3](https://github.com/typescript-eslint/typescript-eslint/compare/v4.28.2...v4.28.3) (2021-07-12)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.28.2](https://github.com/typescript-eslint/typescript-eslint/compare/v4.28.1...v4.28.2) (2021-07-05)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.28.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.28.0...v4.28.1) (2021-06-28)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.28.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.27.0...v4.28.0) (2021-06-21)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.27.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.1...v4.27.0) (2021-06-14)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.26.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.26.0...v4.26.1) (2021-06-07)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.26.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.25.0...v4.26.0) (2021-05-31)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* generate library types for TypeScript v4.3 ([#3460](https://github.com/typescript-eslint/typescript-eslint/issues/3460)) ([ed4776a](https://github.com/typescript-eslint/typescript-eslint/commit/ed4776afa1374279027b9b7d82aa4b453b334998)), closes [#3449](https://github.com/typescript-eslint/typescript-eslint/issues/3449)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **scope-manager:** reduce generated lib file size ([#3468](https://github.com/typescript-eslint/typescript-eslint/issues/3468)) ([258116b](https://github.com/typescript-eslint/typescript-eslint/commit/258116ba7b0dd4ac7a1cc3876fab12f2556bda74))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.25.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.24.0...v4.25.0) (2021-05-24)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.24.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.23.0...v4.24.0) (2021-05-17)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.23.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.22.1...v4.23.0) (2021-05-10)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **scope-manager:** fix visiting TSAsExpression in assignment ([#3355](https://github.com/typescript-eslint/typescript-eslint/issues/3355)) ([87521a0](https://github.com/typescript-eslint/typescript-eslint/commit/87521a024103bc5fc643861649bee9a288f55b7b))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* refactor to split AST specification out as its own module ([#2911](https://github.com/typescript-eslint/typescript-eslint/issues/2911)) ([25ea953](https://github.com/typescript-eslint/typescript-eslint/commit/25ea953cc60b118bd385c71e0a9b61c286c26fcf))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.22.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.22.0...v4.22.1) (2021-05-04)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.22.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.21.0...v4.22.0) (2021-04-12)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.21.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.20.0...v4.21.0) (2021-04-05)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.20.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.19.0...v4.20.0) (2021-03-29)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.19.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.18.0...v4.19.0) (2021-03-22)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.18.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.17.0...v4.18.0) (2021-03-15)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.17.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.16.1...v4.17.0) (2021-03-08)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.16.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.16.0...v4.16.1) (2021-03-01)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.16.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.15.2...v4.16.0) (2021-03-01)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **scope-manager:** update libs for typescript 4.2 ([#3118](https://github.com/typescript-eslint/typescript-eslint/issues/3118)) ([0336c79](https://github.com/typescript-eslint/typescript-eslint/commit/0336c798c9502fc250d2eaa045661950da55e52f))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.15.2](https://github.com/typescript-eslint/typescript-eslint/compare/v4.15.1...v4.15.2) (2021-02-22)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.15.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.15.0...v4.15.1) (2021-02-15)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.15.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.14.2...v4.15.0) (2021-02-08)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **scope-manager:** fix visiting of TSImportType ([#3008](https://github.com/typescript-eslint/typescript-eslint/issues/3008)) ([ce4fcbf](https://github.com/typescript-eslint/typescript-eslint/commit/ce4fcbf4401098387a2cf19ae8457c89c509239a)), closes [#3006](https://github.com/typescript-eslint/typescript-eslint/issues/3006)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.14.2](https://github.com/typescript-eslint/typescript-eslint/compare/v4.14.1...v4.14.2) (2021-02-01)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **scope-manager:** correctly reference generic parameters when decorator metadata is enabled ([#2975](https://github.com/typescript-eslint/typescript-eslint/issues/2975)) ([7695ef3](https://github.com/typescript-eslint/typescript-eslint/commit/7695ef318f1cc8688acaabf4f2730769622f083f)), closes [#2972](https://github.com/typescript-eslint/typescript-eslint/issues/2972)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.14.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.14.0...v4.14.1) (2021-01-25)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **scope-manager:** fix incorrect handling of class decorators and class method default params ([#2943](https://github.com/typescript-eslint/typescript-eslint/issues/2943)) ([e1eac83](https://github.com/typescript-eslint/typescript-eslint/commit/e1eac8312268d1855a2ed7784b4d190ecb9c9fa4)), closes [#2941](https://github.com/typescript-eslint/typescript-eslint/issues/2941) [#2942](https://github.com/typescript-eslint/typescript-eslint/issues/2942) [#2751](https://github.com/typescript-eslint/typescript-eslint/issues/2751)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.14.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.13.0...v4.14.0) (2021-01-18)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add support for decorator metadata in scope analysis and in consistent-type-imports ([#2751](https://github.com/typescript-eslint/typescript-eslint/issues/2751)) ([445e416](https://github.com/typescript-eslint/typescript-eslint/commit/445e416878b27a54bf07c2d3b84dabd7b06e51bc)), closes [#2559](https://github.com/typescript-eslint/typescript-eslint/issues/2559)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.13.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.12.0...v4.13.0) (2021-01-11)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.12.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.11.1...v4.12.0) (2021-01-04)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.11.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.11.0...v4.11.1) (2020-12-28)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.11.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.10.0...v4.11.0) (2020-12-21)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.10.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.9.1...v4.10.0) (2020-12-14)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.9.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.9.0...v4.9.1) (2020-12-07)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.9.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.8.2...v4.9.0) (2020-11-30)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **scope-manager:** fix assertion assignments not being marked as write references ([#2809](https://github.com/typescript-eslint/typescript-eslint/issues/2809)) ([fa68492](https://github.com/typescript-eslint/typescript-eslint/commit/fa6849245ca55ca407dc031afbad456f2925a8e9)), closes [#2804](https://github.com/typescript-eslint/typescript-eslint/issues/2804)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **eslint-plugin:** [no-unused-vars] fork the base rule ([#2768](https://github.com/typescript-eslint/typescript-eslint/issues/2768)) ([a8227a6](https://github.com/typescript-eslint/typescript-eslint/commit/a8227a6185dd24de4bfc7d766931643871155021)), closes [#2782](https://github.com/typescript-eslint/typescript-eslint/issues/2782) [#2714](https://github.com/typescript-eslint/typescript-eslint/issues/2714) [#2648](https://github.com/typescript-eslint/typescript-eslint/issues/2648)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.8.2](https://github.com/typescript-eslint/typescript-eslint/compare/v4.8.1...v4.8.2) (2020-11-23)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.8.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.8.0...v4.8.1) (2020-11-17)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.8.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.7.0...v4.8.0) (2020-11-16)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.6.1...v4.7.0) (2020-11-09)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* support TS4.1 features ([#2748](https://github.com/typescript-eslint/typescript-eslint/issues/2748)) ([2be354b](https://github.com/typescript-eslint/typescript-eslint/commit/2be354bb15f9013a2da1b13a0c0836e9ef057e16)), closes [#2583](https://github.com/typescript-eslint/typescript-eslint/issues/2583)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.6.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.6.0...v4.6.1) (2020-11-02)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.5.0...v4.6.0) (2020-10-26)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.4.1...v4.5.0) (2020-10-19)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **typescript-estree:** add flag EXPERIMENTAL_useSourceOfProjectReferenceRedirect ([#2669](https://github.com/typescript-eslint/typescript-eslint/issues/2669)) ([90a5878](https://github.com/typescript-eslint/typescript-eslint/commit/90a587845088da1b205e4d7d77dbc3f9447b1c5a))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.4.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.4.0...v4.4.1) (2020-10-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **scope-manager:** don't create a variable for global augmentation ([#2639](https://github.com/typescript-eslint/typescript-eslint/issues/2639)) ([6bc9325](https://github.com/typescript-eslint/typescript-eslint/commit/6bc93257ec876214743a165093b6666d713379f6))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.4.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.3.0...v4.4.0) (2020-10-05)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.3.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.2.0...v4.3.0) (2020-09-28)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.2.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.1.1...v4.2.0) (2020-09-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **scope-manager:** correct analysis of inferred types in conditional types ([#2537](https://github.com/typescript-eslint/typescript-eslint/issues/2537)) ([4f660fd](https://github.com/typescript-eslint/typescript-eslint/commit/4f660fd31acbb88b30719f925dcb2b3022cc2bab))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.1.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.1.0...v4.1.1) (2020-09-14)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.1.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.0.1...v4.1.0) (2020-09-07)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **eslint-plugin:** [no-unused-vars] correct detection of unused vars in a declared module with `export =` ([#2505](https://github.com/typescript-eslint/typescript-eslint/issues/2505)) ([3d07a99](https://github.com/typescript-eslint/typescript-eslint/commit/3d07a99faa0a5fc1b44acdb43ddbfc90a5105833))
|
||||
* **scope-manager:** add `const` as a global type variable ([#2499](https://github.com/typescript-eslint/typescript-eslint/issues/2499)) ([eb3f6e3](https://github.com/typescript-eslint/typescript-eslint/commit/eb3f6e39391d62ac424baa305a15e61806b2fd65))
|
||||
* **scope-manager:** correctly handle inferred types in nested type scopes ([#2497](https://github.com/typescript-eslint/typescript-eslint/issues/2497)) ([95f6bf4](https://github.com/typescript-eslint/typescript-eslint/commit/95f6bf4818cdec48a0583bf82f928c598af22736))
|
||||
* **scope-manager:** don't create references for intrinsic JSX elements ([#2504](https://github.com/typescript-eslint/typescript-eslint/issues/2504)) ([cdb9807](https://github.com/typescript-eslint/typescript-eslint/commit/cdb9807a5a368a136856cd03048b68e0f2dfb405))
|
||||
* **scope-manager:** fallback to lib 'esnext' or 'es5' when ecma version is unsupported ([#2474](https://github.com/typescript-eslint/typescript-eslint/issues/2474)) ([20a7dcc](https://github.com/typescript-eslint/typescript-eslint/commit/20a7dcc808a39cd447d6e52fc5a1e1373d7122e9))
|
||||
* **scope-manager:** support rest function type parameters ([#2491](https://github.com/typescript-eslint/typescript-eslint/issues/2491)) ([9d8b4c4](https://github.com/typescript-eslint/typescript-eslint/commit/9d8b4c479c98623e4198aa07639321929a8a876f)), closes [#2449](https://github.com/typescript-eslint/typescript-eslint/issues/2449)
|
||||
* **scope-manager:** support tagged template string generic type parameters ([#2492](https://github.com/typescript-eslint/typescript-eslint/issues/2492)) ([a2686c0](https://github.com/typescript-eslint/typescript-eslint/commit/a2686c04293ab9070c1500a0dab7e205bd1fa9d2))
|
||||
* **scope-manager:** support type predicates ([#2493](https://github.com/typescript-eslint/typescript-eslint/issues/2493)) ([a40f54c](https://github.com/typescript-eslint/typescript-eslint/commit/a40f54c39d59096a0d12a492807dcd52fbcdc384)), closes [#2462](https://github.com/typescript-eslint/typescript-eslint/issues/2462)
|
||||
* **scope-manager:** treat type imports as both values and types ([#2494](https://github.com/typescript-eslint/typescript-eslint/issues/2494)) ([916e95a](https://github.com/typescript-eslint/typescript-eslint/commit/916e95a505689746dda38a67148c95cc7d207d9f)), closes [#2453](https://github.com/typescript-eslint/typescript-eslint/issues/2453)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **scope-manager:** add support for JSX scope analysis ([#2498](https://github.com/typescript-eslint/typescript-eslint/issues/2498)) ([f887ab5](https://github.com/typescript-eslint/typescript-eslint/commit/f887ab51f58c1b3571f9a14832864bc0ca59623f)), closes [#2455](https://github.com/typescript-eslint/typescript-eslint/issues/2455) [#2477](https://github.com/typescript-eslint/typescript-eslint/issues/2477)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.0.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.0.0...v4.0.1) (2020-08-31)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.0.0](https://github.com/typescript-eslint/typescript-eslint/compare/v3.10.1...v4.0.0) (2020-08-31)
|
||||
|
||||
## [Please see the release notes for v4.0.0](https://github.com/typescript-eslint/typescript-eslint/releases/tag/v4.0.0)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **scope-manager:** correct analysis of abstract class properties ([#2420](https://github.com/typescript-eslint/typescript-eslint/issues/2420)) ([cd84549](https://github.com/typescript-eslint/typescript-eslint/commit/cd84549beba3cf471d75cfd9ba26f80366842ed5))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* support ESTree optional chaining representation ([#2308](https://github.com/typescript-eslint/typescript-eslint/issues/2308)) ([e9d2ab6](https://github.com/typescript-eslint/typescript-eslint/commit/e9d2ab638b6767700b52797e74b814ea059beaae))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [3.10.1](https://github.com/typescript-eslint/typescript-eslint/compare/v3.10.0...v3.10.1) (2020-08-25)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.10.0](https://github.com/typescript-eslint/typescript-eslint/compare/v3.9.1...v3.10.0) (2020-08-24)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [3.9.1](https://github.com/typescript-eslint/typescript-eslint/compare/v3.9.0...v3.9.1) (2020-08-17)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.9.0](https://github.com/typescript-eslint/typescript-eslint/compare/v3.8.0...v3.9.0) (2020-08-10)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **typescript-estree:** support TSv4 labelled tuple members ([#2378](https://github.com/typescript-eslint/typescript-eslint/issues/2378)) ([00d84ff](https://github.com/typescript-eslint/typescript-eslint/commit/00d84ffbcbe9d0ec98bdb2f2ce59959a27ce4dbe))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.8.0](https://github.com/typescript-eslint/typescript-eslint/compare/v3.7.1...v3.8.0) (2020-08-03)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [3.7.1](https://github.com/typescript-eslint/typescript-eslint/compare/v3.7.0...v3.7.1) (2020-07-27)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v3.6.1...v3.7.0) (2020-07-20)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [3.6.1](https://github.com/typescript-eslint/typescript-eslint/compare/v3.6.0...v3.6.1) (2020-07-13)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v3.5.0...v3.6.0) (2020-07-06)
|
||||
|
||||
**Note:** Version bump only for package @typescript-eslint/scope-manager
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v3.4.0...v3.5.0) (2020-06-29)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add package scope-manager ([#1939](https://github.com/typescript-eslint/typescript-eslint/issues/1939)) ([682eb7e](https://github.com/typescript-eslint/typescript-eslint/commit/682eb7e009c3f22a542882dfd3602196a60d2a1e))
|
||||
21
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/LICENSE
generated
vendored
Normal file
21
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019 TypeScript ESLint 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.
|
||||
120
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/README.md
generated
vendored
Normal file
120
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/README.md
generated
vendored
Normal file
@@ -0,0 +1,120 @@
|
||||
<h1 align="center">TypeScript Scope Manager</h1>
|
||||
|
||||
<p align="center">
|
||||
<img src="https://github.com/typescript-eslint/typescript-eslint/workflows/CI/badge.svg" alt="CI" />
|
||||
<a href="https://www.npmjs.com/package/@typescript-eslint/scope-manager"><img src="https://img.shields.io/npm/v/@typescript-eslint/scope-manager.svg?style=flat-square" alt="NPM Version" /></a>
|
||||
<a href="https://www.npmjs.com/package/@typescript-eslint/scope-manager"><img src="https://img.shields.io/npm/dm/@typescript-eslint/scope-manager.svg?style=flat-square" alt="NPM Downloads" /></a>
|
||||
</p>
|
||||
|
||||
This is a fork of [`eslint-scope`](https://github.com/eslint/eslint-scope), enhanced to support TypeScript functionality.
|
||||
[You can view the original licence for the code here](https://github.com/eslint/eslint-scope/blob/dbddf14d5771b21b5da704213e4508c660ca1c64/LICENSE).
|
||||
|
||||
This package is consumed automatically by [`@typescript-eslint/parser`](../parser).
|
||||
You probably don't want to use it directly.
|
||||
|
||||
## Getting Started
|
||||
|
||||
**[You can find our Getting Started docs here](../../docs/getting-started/linting/README.md)**
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
$ yarn add -D typescript @typescript-eslint/scope-manager
|
||||
$ npm i --save-dev typescript @typescript-eslint/scope-manager
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### `analyze(tree, options)`
|
||||
|
||||
Analyses a given AST and returns the resulting `ScopeManager`.
|
||||
|
||||
```ts
|
||||
interface AnalyzeOptions {
|
||||
/**
|
||||
* Known visitor keys.
|
||||
*/
|
||||
childVisitorKeys?: Record<string, string[]> | null;
|
||||
|
||||
/**
|
||||
* Which ECMAScript version is considered.
|
||||
* Defaults to `2018`.
|
||||
* `'latest'` is converted to 1e8 at parser.
|
||||
*/
|
||||
ecmaVersion?: EcmaVersion | 1e8;
|
||||
|
||||
/**
|
||||
* Whether the whole script is executed under node.js environment.
|
||||
* When enabled, the scope manager adds a function scope immediately following the global scope.
|
||||
* Defaults to `false`.
|
||||
*/
|
||||
globalReturn?: boolean;
|
||||
|
||||
/**
|
||||
* Implied strict mode (if ecmaVersion >= 5).
|
||||
* Defaults to `false`.
|
||||
*/
|
||||
impliedStrict?: boolean;
|
||||
|
||||
/**
|
||||
* The identifier that's used for JSX Element creation (after transpilation).
|
||||
* This should not be a member expression - just the root identifier (i.e. use "React" instead of "React.createElement").
|
||||
* Defaults to `"React"`.
|
||||
*/
|
||||
jsxPragma?: string;
|
||||
|
||||
/**
|
||||
* The identifier that's used for JSX fragment elements (after transpilation).
|
||||
* If `null`, assumes transpilation will always use a member on `jsxFactory` (i.e. React.Fragment).
|
||||
* This should not be a member expression - just the root identifier (i.e. use "h" instead of "h.Fragment").
|
||||
* Defaults to `null`.
|
||||
*/
|
||||
jsxFragmentName?: string | null;
|
||||
|
||||
/**
|
||||
* The lib used by the project.
|
||||
* This automatically defines a type variable for any types provided by the configured TS libs.
|
||||
* For more information, see https://www.typescriptlang.org/tsconfig#lib
|
||||
*
|
||||
* Defaults to the lib for the provided `ecmaVersion`.
|
||||
*/
|
||||
lib?: Lib[];
|
||||
|
||||
/**
|
||||
* The source type of the script.
|
||||
*/
|
||||
sourceType?: 'script' | 'module';
|
||||
|
||||
/**
|
||||
* Emit design-type metadata for decorated declarations in source.
|
||||
* Defaults to `false`.
|
||||
*/
|
||||
emitDecoratorMetadata?: boolean;
|
||||
}
|
||||
```
|
||||
|
||||
Example usage:
|
||||
|
||||
```ts
|
||||
import { analyze } from '@typescript-eslint/scope-manager';
|
||||
import { parse } from '@typescript-eslint/typescript-estree';
|
||||
|
||||
const code = `const hello: string = 'world';`;
|
||||
const ast = parse(code, {
|
||||
// note that scope-manager requires ranges on the AST
|
||||
range: true,
|
||||
});
|
||||
const scope = analyze(ast, {
|
||||
ecmaVersion: 2020,
|
||||
sourceType: 'module',
|
||||
});
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
- https://eslint.org/docs/developer-guide/scope-manager-interface
|
||||
- https://github.com/eslint/eslint-scope
|
||||
|
||||
## Contributing
|
||||
|
||||
[See the contributing guide here](../../CONTRIBUTING.md)
|
||||
4
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts
generated
vendored
Normal file
4
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
declare function createIdGenerator(): () => number;
|
||||
declare function resetIds(): void;
|
||||
export { createIdGenerator, resetIds };
|
||||
//# sourceMappingURL=ID.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ID.d.ts","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":"AAGA,iBAAS,iBAAiB,IAAI,MAAM,MAAM,CAUzC;AAED,iBAAS,QAAQ,IAAI,IAAI,CAExB;AAED,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,CAAC"}
|
||||
22
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ID.js
generated
vendored
Normal file
22
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ID.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.resetIds = exports.createIdGenerator = void 0;
|
||||
const ID_CACHE = new Map();
|
||||
let NEXT_KEY = 0;
|
||||
function createIdGenerator() {
|
||||
const key = (NEXT_KEY += 1);
|
||||
ID_CACHE.set(key, 0);
|
||||
return () => {
|
||||
var _a;
|
||||
const current = (_a = ID_CACHE.get(key)) !== null && _a !== void 0 ? _a : 0;
|
||||
const next = current + 1;
|
||||
ID_CACHE.set(key, next);
|
||||
return next;
|
||||
};
|
||||
}
|
||||
exports.createIdGenerator = createIdGenerator;
|
||||
function resetIds() {
|
||||
ID_CACHE.clear();
|
||||
}
|
||||
exports.resetIds = resetIds;
|
||||
//# sourceMappingURL=ID.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ID.js","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":";;;AAAA,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;AAC3C,IAAI,QAAQ,GAAG,CAAC,CAAC;AAEjB,SAAS,iBAAiB;IACxB,MAAM,GAAG,GAAG,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;IAC5B,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAErB,OAAO,GAAW,EAAE;;QAClB,MAAM,OAAO,GAAG,MAAA,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,mCAAI,CAAC,CAAC;QACvC,MAAM,IAAI,GAAG,OAAO,GAAG,CAAC,CAAC;QACzB,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC;AAMQ,8CAAiB;AAJ1B,SAAS,QAAQ;IACf,QAAQ,CAAC,KAAK,EAAE,CAAC;AACnB,CAAC;AAE2B,4BAAQ"}
|
||||
68
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts
generated
vendored
Normal file
68
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts
generated
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { BlockScope, CatchScope, ClassScope, ConditionalTypeScope, ForScope, FunctionExpressionNameScope, FunctionScope, FunctionTypeScope, GlobalScope, MappedTypeScope, ModuleScope, Scope, SwitchScope, TSEnumScope, TSModuleScope, TypeScope, WithScope } from './scope';
|
||||
import { Variable } from './variable';
|
||||
interface ScopeManagerOptions {
|
||||
globalReturn?: boolean;
|
||||
sourceType?: 'module' | 'script';
|
||||
impliedStrict?: boolean;
|
||||
ecmaVersion?: number;
|
||||
}
|
||||
declare class ScopeManager {
|
||||
#private;
|
||||
currentScope: Scope | null;
|
||||
readonly declaredVariables: WeakMap<TSESTree.Node, Variable[]>;
|
||||
/**
|
||||
* The root scope
|
||||
* @public
|
||||
*/
|
||||
globalScope: GlobalScope | null;
|
||||
readonly nodeToScope: WeakMap<TSESTree.Node, Scope[]>;
|
||||
/**
|
||||
* All scopes
|
||||
* @public
|
||||
*/
|
||||
readonly scopes: Scope[];
|
||||
get variables(): Variable[];
|
||||
constructor(options: ScopeManagerOptions);
|
||||
isGlobalReturn(): boolean;
|
||||
isModule(): boolean;
|
||||
isImpliedStrict(): boolean;
|
||||
isStrictModeSupported(): boolean;
|
||||
isES6(): boolean;
|
||||
/**
|
||||
* Get the variables that a given AST node defines. The gotten variables' `def[].node`/`def[].parent` property is the node.
|
||||
* If the node does not define any variable, this returns an empty array.
|
||||
* @param node An AST node to get their variables.
|
||||
* @public
|
||||
*/
|
||||
getDeclaredVariables(node: TSESTree.Node): Variable[];
|
||||
/**
|
||||
* Get the scope of a given AST node. The gotten scope's `block` property is the node.
|
||||
* This method never returns `function-expression-name` scope. If the node does not have their scope, this returns `null`.
|
||||
*
|
||||
* @param node An AST node to get their scope.
|
||||
* @param inner If the node has multiple scopes, this returns the outermost scope normally.
|
||||
* If `inner` is `true` then this returns the innermost scope.
|
||||
* @public
|
||||
*/
|
||||
acquire(node: TSESTree.Node, inner?: boolean): Scope | null;
|
||||
protected nestScope<T extends Scope>(scope: T): T;
|
||||
nestBlockScope(node: BlockScope['block']): BlockScope;
|
||||
nestCatchScope(node: CatchScope['block']): CatchScope;
|
||||
nestClassScope(node: ClassScope['block']): ClassScope;
|
||||
nestConditionalTypeScope(node: ConditionalTypeScope['block']): ConditionalTypeScope;
|
||||
nestForScope(node: ForScope['block']): ForScope;
|
||||
nestFunctionExpressionNameScope(node: FunctionExpressionNameScope['block']): FunctionExpressionNameScope;
|
||||
nestFunctionScope(node: FunctionScope['block'], isMethodDefinition: boolean): FunctionScope;
|
||||
nestFunctionTypeScope(node: FunctionTypeScope['block']): FunctionTypeScope;
|
||||
nestGlobalScope(node: GlobalScope['block']): GlobalScope;
|
||||
nestMappedTypeScope(node: MappedTypeScope['block']): MappedTypeScope;
|
||||
nestModuleScope(node: ModuleScope['block']): ModuleScope;
|
||||
nestSwitchScope(node: SwitchScope['block']): SwitchScope;
|
||||
nestTSEnumScope(node: TSEnumScope['block']): TSEnumScope;
|
||||
nestTSModuleScope(node: TSModuleScope['block']): TSModuleScope;
|
||||
nestTypeScope(node: TypeScope['block']): TypeScope;
|
||||
nestWithScope(node: WithScope['block']): WithScope;
|
||||
}
|
||||
export { ScopeManager };
|
||||
//# sourceMappingURL=ScopeManager.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ScopeManager.d.ts","sourceRoot":"","sources":["../src/ScopeManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EACL,UAAU,EACV,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,QAAQ,EACR,2BAA2B,EAC3B,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,WAAW,EACX,KAAK,EACL,WAAW,EACX,WAAW,EACX,aAAa,EACb,SAAS,EACT,SAAS,EACV,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,UAAU,mBAAmB;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,cAAM,YAAY;;IACT,YAAY,EAAE,KAAK,GAAG,IAAI,CAAC;IAClC,SAAgB,iBAAiB,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;IACtE;;;OAGG;IACI,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IACvC,SAAgB,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAE7D;;;OAGG;IACH,SAAgB,MAAM,EAAE,KAAK,EAAE,CAAC;IAEhC,IAAW,SAAS,IAAI,QAAQ,EAAE,CAQjC;gBAEW,OAAO,EAAE,mBAAmB;IASjC,cAAc,IAAI,OAAO;IAIzB,QAAQ,IAAI,OAAO;IAInB,eAAe,IAAI,OAAO;IAG1B,qBAAqB,IAAI,OAAO;IAIhC,KAAK,IAAI,OAAO;IAIvB;;;;;OAKG;IACI,oBAAoB,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,QAAQ,EAAE;IAI5D;;;;;;;;OAQG;IACI,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,UAAQ,GAAG,KAAK,GAAG,IAAI;IAyChE,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC;IAU1C,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,UAAU;IAKrD,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,UAAU;IAKrD,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,UAAU;IAKrD,wBAAwB,CAC7B,IAAI,EAAE,oBAAoB,CAAC,OAAO,CAAC,GAClC,oBAAoB;IAOhB,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,QAAQ;IAK/C,+BAA+B,CACpC,IAAI,EAAE,2BAA2B,CAAC,OAAO,CAAC,GACzC,2BAA2B;IAOvB,iBAAiB,CACtB,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,EAC5B,kBAAkB,EAAE,OAAO,GAC1B,aAAa;IAOT,qBAAqB,CAC1B,IAAI,EAAE,iBAAiB,CAAC,OAAO,CAAC,GAC/B,iBAAiB;IAKb,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAIxD,mBAAmB,CAAC,IAAI,EAAE,eAAe,CAAC,OAAO,CAAC,GAAG,eAAe;IAKpE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,iBAAiB,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,GAAG,aAAa;IAK9D,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;IAKlD,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;CAI1D;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
||||
179
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js
generated
vendored
Normal file
179
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js
generated
vendored
Normal file
@@ -0,0 +1,179 @@
|
||||
"use strict";
|
||||
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
||||
if (kind === "m") throw new TypeError("Private method is not writable");
|
||||
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
||||
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
||||
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
||||
};
|
||||
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
||||
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
||||
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
||||
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
||||
};
|
||||
var _ScopeManager_options;
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ScopeManager = void 0;
|
||||
const assert_1 = require("./assert");
|
||||
const scope_1 = require("./scope");
|
||||
class ScopeManager {
|
||||
constructor(options) {
|
||||
_ScopeManager_options.set(this, void 0);
|
||||
this.scopes = [];
|
||||
this.globalScope = null;
|
||||
this.nodeToScope = new WeakMap();
|
||||
this.currentScope = null;
|
||||
__classPrivateFieldSet(this, _ScopeManager_options, options, "f");
|
||||
this.declaredVariables = new WeakMap();
|
||||
}
|
||||
get variables() {
|
||||
const variables = new Set();
|
||||
function recurse(scope) {
|
||||
scope.variables.forEach(v => variables.add(v));
|
||||
scope.childScopes.forEach(recurse);
|
||||
}
|
||||
this.scopes.forEach(recurse);
|
||||
return Array.from(variables).sort((a, b) => a.$id - b.$id);
|
||||
}
|
||||
isGlobalReturn() {
|
||||
return __classPrivateFieldGet(this, _ScopeManager_options, "f").globalReturn === true;
|
||||
}
|
||||
isModule() {
|
||||
return __classPrivateFieldGet(this, _ScopeManager_options, "f").sourceType === 'module';
|
||||
}
|
||||
isImpliedStrict() {
|
||||
return __classPrivateFieldGet(this, _ScopeManager_options, "f").impliedStrict === true;
|
||||
}
|
||||
isStrictModeSupported() {
|
||||
return __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion != null && __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion >= 5;
|
||||
}
|
||||
isES6() {
|
||||
return __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion != null && __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion >= 6;
|
||||
}
|
||||
/**
|
||||
* Get the variables that a given AST node defines. The gotten variables' `def[].node`/`def[].parent` property is the node.
|
||||
* If the node does not define any variable, this returns an empty array.
|
||||
* @param node An AST node to get their variables.
|
||||
* @public
|
||||
*/
|
||||
getDeclaredVariables(node) {
|
||||
var _a;
|
||||
return (_a = this.declaredVariables.get(node)) !== null && _a !== void 0 ? _a : [];
|
||||
}
|
||||
/**
|
||||
* Get the scope of a given AST node. The gotten scope's `block` property is the node.
|
||||
* This method never returns `function-expression-name` scope. If the node does not have their scope, this returns `null`.
|
||||
*
|
||||
* @param node An AST node to get their scope.
|
||||
* @param inner If the node has multiple scopes, this returns the outermost scope normally.
|
||||
* If `inner` is `true` then this returns the innermost scope.
|
||||
* @public
|
||||
*/
|
||||
acquire(node, inner = false) {
|
||||
function predicate(testScope) {
|
||||
if (testScope.type === 'function' && testScope.functionExpressionScope) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
const scopes = this.nodeToScope.get(node);
|
||||
if (!scopes || scopes.length === 0) {
|
||||
return null;
|
||||
}
|
||||
// Heuristic selection from all scopes.
|
||||
// If you would like to get all scopes, please use ScopeManager#acquireAll.
|
||||
if (scopes.length === 1) {
|
||||
return scopes[0];
|
||||
}
|
||||
if (inner) {
|
||||
for (let i = scopes.length - 1; i >= 0; --i) {
|
||||
const scope = scopes[i];
|
||||
if (predicate(scope)) {
|
||||
return scope;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
for (let i = 0; i < scopes.length; ++i) {
|
||||
const scope = scopes[i];
|
||||
if (predicate(scope)) {
|
||||
return scope;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
nestScope(scope) {
|
||||
if (scope instanceof scope_1.GlobalScope) {
|
||||
(0, assert_1.assert)(this.currentScope === null);
|
||||
this.globalScope = scope;
|
||||
}
|
||||
this.currentScope = scope;
|
||||
return scope;
|
||||
}
|
||||
nestBlockScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.BlockScope(this, this.currentScope, node));
|
||||
}
|
||||
nestCatchScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.CatchScope(this, this.currentScope, node));
|
||||
}
|
||||
nestClassScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.ClassScope(this, this.currentScope, node));
|
||||
}
|
||||
nestConditionalTypeScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.ConditionalTypeScope(this, this.currentScope, node));
|
||||
}
|
||||
nestForScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.ForScope(this, this.currentScope, node));
|
||||
}
|
||||
nestFunctionExpressionNameScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.FunctionExpressionNameScope(this, this.currentScope, node));
|
||||
}
|
||||
nestFunctionScope(node, isMethodDefinition) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.FunctionScope(this, this.currentScope, node, isMethodDefinition));
|
||||
}
|
||||
nestFunctionTypeScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.FunctionTypeScope(this, this.currentScope, node));
|
||||
}
|
||||
nestGlobalScope(node) {
|
||||
return this.nestScope(new scope_1.GlobalScope(this, node));
|
||||
}
|
||||
nestMappedTypeScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.MappedTypeScope(this, this.currentScope, node));
|
||||
}
|
||||
nestModuleScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.ModuleScope(this, this.currentScope, node));
|
||||
}
|
||||
nestSwitchScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.SwitchScope(this, this.currentScope, node));
|
||||
}
|
||||
nestTSEnumScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.TSEnumScope(this, this.currentScope, node));
|
||||
}
|
||||
nestTSModuleScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.TSModuleScope(this, this.currentScope, node));
|
||||
}
|
||||
nestTypeScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.TypeScope(this, this.currentScope, node));
|
||||
}
|
||||
nestWithScope(node) {
|
||||
(0, assert_1.assert)(this.currentScope);
|
||||
return this.nestScope(new scope_1.WithScope(this, this.currentScope, node));
|
||||
}
|
||||
}
|
||||
exports.ScopeManager = ScopeManager;
|
||||
_ScopeManager_options = new WeakMap();
|
||||
//# sourceMappingURL=ScopeManager.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
62
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts
generated
vendored
Normal file
62
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts
generated
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
import { TSESTree, EcmaVersion, Lib } from '@typescript-eslint/types';
|
||||
import { ReferencerOptions } from './referencer';
|
||||
import { ScopeManager } from './ScopeManager';
|
||||
interface AnalyzeOptions {
|
||||
/**
|
||||
* Known visitor keys.
|
||||
*/
|
||||
childVisitorKeys?: ReferencerOptions['childVisitorKeys'];
|
||||
/**
|
||||
* Which ECMAScript version is considered.
|
||||
* Defaults to `2018`.
|
||||
* `'latest'` is converted to 1e8 at parser.
|
||||
*/
|
||||
ecmaVersion?: EcmaVersion | 1e8;
|
||||
/**
|
||||
* Whether the whole script is executed under node.js environment.
|
||||
* When enabled, the scope manager adds a function scope immediately following the global scope.
|
||||
* Defaults to `false`.
|
||||
*/
|
||||
globalReturn?: boolean;
|
||||
/**
|
||||
* Implied strict mode (if ecmaVersion >= 5).
|
||||
* Defaults to `false`.
|
||||
*/
|
||||
impliedStrict?: boolean;
|
||||
/**
|
||||
* The identifier that's used for JSX Element creation (after transpilation).
|
||||
* This should not be a member expression - just the root identifier (i.e. use "React" instead of "React.createElement").
|
||||
* Defaults to `"React"`.
|
||||
*/
|
||||
jsxPragma?: string | null;
|
||||
/**
|
||||
* The identifier that's used for JSX fragment elements (after transpilation).
|
||||
* If `null`, assumes transpilation will always use a member on `jsxFactory` (i.e. React.Fragment).
|
||||
* This should not be a member expression - just the root identifier (i.e. use "h" instead of "h.Fragment").
|
||||
* Defaults to `null`.
|
||||
*/
|
||||
jsxFragmentName?: string | null;
|
||||
/**
|
||||
* The lib used by the project.
|
||||
* This automatically defines a type variable for any types provided by the configured TS libs.
|
||||
* Defaults to the lib for the provided `ecmaVersion`.
|
||||
*
|
||||
* https://www.typescriptlang.org/tsconfig#lib
|
||||
*/
|
||||
lib?: Lib[];
|
||||
/**
|
||||
* The source type of the script.
|
||||
*/
|
||||
sourceType?: 'script' | 'module';
|
||||
/**
|
||||
* Emit design-type metadata for decorated declarations in source.
|
||||
* Defaults to `false`.
|
||||
*/
|
||||
emitDecoratorMetadata?: boolean;
|
||||
}
|
||||
/**
|
||||
* Takes an AST and returns the analyzed scopes.
|
||||
*/
|
||||
declare function analyze(tree: TSESTree.Node, providedOptions?: AnalyzeOptions): ScopeManager;
|
||||
export { analyze, AnalyzeOptions };
|
||||
//# sourceMappingURL=analyze.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAEtE,OAAO,EAAc,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAO9C,UAAU,cAAc;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAEzD;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,GAAG,GAAG,CAAC;IAEhC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAEjC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AA6BD;;GAEG;AACH,iBAAS,OAAO,CACd,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,eAAe,CAAC,EAAE,cAAc,GAC/B,YAAY,CAgCd;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
||||
58
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/analyze.js
generated
vendored
Normal file
58
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/analyze.js
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.analyze = void 0;
|
||||
const visitor_keys_1 = require("@typescript-eslint/visitor-keys");
|
||||
const referencer_1 = require("./referencer");
|
||||
const ScopeManager_1 = require("./ScopeManager");
|
||||
const lib_1 = require("./lib");
|
||||
const DEFAULT_OPTIONS = {
|
||||
childVisitorKeys: visitor_keys_1.visitorKeys,
|
||||
ecmaVersion: 2018,
|
||||
globalReturn: false,
|
||||
impliedStrict: false,
|
||||
jsxPragma: 'React',
|
||||
jsxFragmentName: null,
|
||||
lib: ['es2018'],
|
||||
sourceType: 'script',
|
||||
emitDecoratorMetadata: false,
|
||||
};
|
||||
/**
|
||||
* Convert ecmaVersion to lib.
|
||||
* `'latest'` is converted to 1e8 at parser.
|
||||
*/
|
||||
function mapEcmaVersion(version) {
|
||||
if (version == null || version === 3 || version === 5) {
|
||||
return 'es5';
|
||||
}
|
||||
const year = version > 2000 ? version : 2015 + (version - 6);
|
||||
const lib = `es${year}`;
|
||||
return lib in lib_1.lib ? lib : year > 2020 ? 'esnext' : 'es5';
|
||||
}
|
||||
/**
|
||||
* Takes an AST and returns the analyzed scopes.
|
||||
*/
|
||||
function analyze(tree, providedOptions) {
|
||||
var _a, _b, _c, _d, _e, _f, _g, _h;
|
||||
const ecmaVersion = (_a = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.ecmaVersion) !== null && _a !== void 0 ? _a : DEFAULT_OPTIONS.ecmaVersion;
|
||||
const options = {
|
||||
childVisitorKeys: (_b = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.childVisitorKeys) !== null && _b !== void 0 ? _b : DEFAULT_OPTIONS.childVisitorKeys,
|
||||
ecmaVersion,
|
||||
globalReturn: (_c = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.globalReturn) !== null && _c !== void 0 ? _c : DEFAULT_OPTIONS.globalReturn,
|
||||
impliedStrict: (_d = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.impliedStrict) !== null && _d !== void 0 ? _d : DEFAULT_OPTIONS.impliedStrict,
|
||||
jsxPragma: (providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.jsxPragma) === undefined
|
||||
? DEFAULT_OPTIONS.jsxPragma
|
||||
: providedOptions.jsxPragma,
|
||||
jsxFragmentName: (_e = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.jsxFragmentName) !== null && _e !== void 0 ? _e : DEFAULT_OPTIONS.jsxFragmentName,
|
||||
sourceType: (_f = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.sourceType) !== null && _f !== void 0 ? _f : DEFAULT_OPTIONS.sourceType,
|
||||
lib: (_g = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.lib) !== null && _g !== void 0 ? _g : [mapEcmaVersion(ecmaVersion)],
|
||||
emitDecoratorMetadata: (_h = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.emitDecoratorMetadata) !== null && _h !== void 0 ? _h : DEFAULT_OPTIONS.emitDecoratorMetadata,
|
||||
};
|
||||
// ensure the option is lower cased
|
||||
options.lib = options.lib.map(l => l.toLowerCase());
|
||||
const scopeManager = new ScopeManager_1.ScopeManager(options);
|
||||
const referencer = new referencer_1.Referencer(options, scopeManager);
|
||||
referencer.visit(tree);
|
||||
return scopeManager;
|
||||
}
|
||||
exports.analyze = analyze;
|
||||
//# sourceMappingURL=analyze.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":";;;AACA,kEAA8D;AAC9D,6CAA6D;AAC7D,iDAA8C;AAC9C,+BAA2C;AAoE3C,MAAM,eAAe,GAA6B;IAChD,gBAAgB,EAAE,0BAAW;IAC7B,WAAW,EAAE,IAAI;IACjB,YAAY,EAAE,KAAK;IACnB,aAAa,EAAE,KAAK;IACpB,SAAS,EAAE,OAAO;IAClB,eAAe,EAAE,IAAI;IACrB,GAAG,EAAE,CAAC,QAAQ,CAAC;IACf,UAAU,EAAE,QAAQ;IACpB,qBAAqB,EAAE,KAAK;CAC7B,CAAC;AAEF;;;GAGG;AACH,SAAS,cAAc,CAAC,OAAsC;IAC5D,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,KAAK,CAAC,IAAI,OAAO,KAAK,CAAC,EAAE;QACrD,OAAO,KAAK,CAAC;KACd;IAED,MAAM,IAAI,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;IAC7D,MAAM,GAAG,GAAG,KAAK,IAAI,EAAE,CAAC;IAExB,OAAO,GAAG,IAAI,SAAW,CAAC,CAAC,CAAE,GAAW,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC;AAC5E,CAAC;AAED;;GAEG;AACH,SAAS,OAAO,CACd,IAAmB,EACnB,eAAgC;;IAEhC,MAAM,WAAW,GACf,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,WAAW,mCAAI,eAAe,CAAC,WAAW,CAAC;IAC9D,MAAM,OAAO,GAA6B;QACxC,gBAAgB,EACd,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,gBAAgB,mCAAI,eAAe,CAAC,gBAAgB;QACvE,WAAW;QACX,YAAY,EAAE,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,YAAY,mCAAI,eAAe,CAAC,YAAY;QAC3E,aAAa,EACX,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,aAAa,mCAAI,eAAe,CAAC,aAAa;QACjE,SAAS,EACP,CAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,SAAS,MAAK,SAAS;YACtC,CAAC,CAAC,eAAe,CAAC,SAAS;YAC3B,CAAC,CAAC,eAAe,CAAC,SAAS;QAC/B,eAAe,EACb,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,eAAe,mCAAI,eAAe,CAAC,eAAe;QACrE,UAAU,EAAE,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,UAAU,mCAAI,eAAe,CAAC,UAAU;QACrE,GAAG,EAAE,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,GAAG,mCAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;QAC1D,qBAAqB,EACnB,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,qBAAqB,mCACtC,eAAe,CAAC,qBAAqB;KACxC,CAAC;IAEF,mCAAmC;IACnC,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAS,CAAC,CAAC;IAE3D,MAAM,YAAY,GAAG,IAAI,2BAAY,CAAC,OAAO,CAAC,CAAC;IAC/C,MAAM,UAAU,GAAG,IAAI,uBAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IAEzD,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEvB,OAAO,YAAY,CAAC;AACtB,CAAC;AAEQ,0BAAO"}
|
||||
3
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts
generated
vendored
Normal file
3
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
declare function assert(value: unknown, message?: string): asserts value;
|
||||
export { assert };
|
||||
//# sourceMappingURL=assert.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":"AACA,iBAAS,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAI/D;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
||||
11
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/assert.js
generated
vendored
Normal file
11
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/assert.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.assert = void 0;
|
||||
// the base assert module doesn't use ts assertion syntax
|
||||
function assert(value, message) {
|
||||
if (value == null) {
|
||||
throw new Error(message);
|
||||
}
|
||||
}
|
||||
exports.assert = assert;
|
||||
//# sourceMappingURL=assert.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"assert.js","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,SAAS,MAAM,CAAC,KAAc,EAAE,OAAgB;IAC9C,IAAI,KAAK,IAAI,IAAI,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;KAC1B;AACH,CAAC;AAEQ,wBAAM"}
|
||||
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts
generated
vendored
Normal file
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { DefinitionType } from './DefinitionType';
|
||||
import { DefinitionBase } from './DefinitionBase';
|
||||
declare class CatchClauseDefinition extends DefinitionBase<DefinitionType.CatchClause, TSESTree.CatchClause, null, TSESTree.BindingName> {
|
||||
constructor(name: TSESTree.BindingName, node: CatchClauseDefinition['node']);
|
||||
readonly isTypeDefinition = false;
|
||||
readonly isVariableDefinition = true;
|
||||
}
|
||||
export { CatchClauseDefinition };
|
||||
//# sourceMappingURL=CatchClauseDefinition.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CatchClauseDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,qBAAsB,SAAQ,cAAc,CAChD,cAAc,CAAC,WAAW,EAC1B,QAAQ,CAAC,WAAW,EACpB,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;gBACa,IAAI,EAAE,QAAQ,CAAC,WAAW,EAAE,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC;IAI3E,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CatchClauseDefinition = void 0;
|
||||
const DefinitionType_1 = require("./DefinitionType");
|
||||
const DefinitionBase_1 = require("./DefinitionBase");
|
||||
class CatchClauseDefinition extends DefinitionBase_1.DefinitionBase {
|
||||
constructor(name, node) {
|
||||
super(DefinitionType_1.DefinitionType.CatchClause, name, node, null);
|
||||
this.isTypeDefinition = false;
|
||||
this.isVariableDefinition = true;
|
||||
}
|
||||
}
|
||||
exports.CatchClauseDefinition = CatchClauseDefinition;
|
||||
//# sourceMappingURL=CatchClauseDefinition.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CatchClauseDefinition.js","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,qBAAsB,SAAQ,+BAKnC;IACC,YAAY,IAA0B,EAAE,IAAmC;QACzE,KAAK,CAAC,+BAAc,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAGtC,qBAAgB,GAAG,KAAK,CAAC;QACzB,yBAAoB,GAAG,IAAI,CAAC;IAH5C,CAAC;CAIF;AAEQ,sDAAqB"}
|
||||
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts
generated
vendored
Normal file
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { DefinitionType } from './DefinitionType';
|
||||
import { DefinitionBase } from './DefinitionBase';
|
||||
declare class ClassNameDefinition extends DefinitionBase<DefinitionType.ClassName, TSESTree.ClassDeclaration | TSESTree.ClassExpression, null, TSESTree.Identifier> {
|
||||
constructor(name: TSESTree.Identifier, node: ClassNameDefinition['node']);
|
||||
readonly isTypeDefinition = true;
|
||||
readonly isVariableDefinition = true;
|
||||
}
|
||||
export { ClassNameDefinition };
|
||||
//# sourceMappingURL=ClassNameDefinition.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ClassNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,mBAAoB,SAAQ,cAAc,CAC9C,cAAc,CAAC,SAAS,EACxB,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;gBACa,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC;IAIxE,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ClassNameDefinition = void 0;
|
||||
const DefinitionType_1 = require("./DefinitionType");
|
||||
const DefinitionBase_1 = require("./DefinitionBase");
|
||||
class ClassNameDefinition extends DefinitionBase_1.DefinitionBase {
|
||||
constructor(name, node) {
|
||||
super(DefinitionType_1.DefinitionType.ClassName, name, node, null);
|
||||
this.isTypeDefinition = true;
|
||||
this.isVariableDefinition = true;
|
||||
}
|
||||
}
|
||||
exports.ClassNameDefinition = ClassNameDefinition;
|
||||
//# sourceMappingURL=ClassNameDefinition.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ClassNameDefinition.js","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,mBAAoB,SAAQ,+BAKjC;IACC,YAAY,IAAyB,EAAE,IAAiC;QACtE,KAAK,CAAC,+BAAc,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAGpC,qBAAgB,GAAG,IAAI,CAAC;QACxB,yBAAoB,GAAG,IAAI,CAAC;IAH5C,CAAC;CAIF;AAEQ,kDAAmB"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { CatchClauseDefinition } from './CatchClauseDefinition';
|
||||
import { ClassNameDefinition } from './ClassNameDefinition';
|
||||
import { FunctionNameDefinition } from './FunctionNameDefinition';
|
||||
import { ImplicitGlobalVariableDefinition } from './ImplicitGlobalVariableDefinition';
|
||||
import { ImportBindingDefinition } from './ImportBindingDefinition';
|
||||
import { ParameterDefinition } from './ParameterDefinition';
|
||||
import { TSEnumMemberDefinition } from './TSEnumMemberDefinition';
|
||||
import { TSEnumNameDefinition } from './TSEnumNameDefinition';
|
||||
import { TSModuleNameDefinition } from './TSModuleNameDefinition';
|
||||
import { TypeDefinition } from './TypeDefinition';
|
||||
import { VariableDefinition } from './VariableDefinition';
|
||||
declare type Definition = CatchClauseDefinition | ClassNameDefinition | FunctionNameDefinition | ImplicitGlobalVariableDefinition | ImportBindingDefinition | ParameterDefinition | TSEnumMemberDefinition | TSEnumNameDefinition | TSModuleNameDefinition | TypeDefinition | VariableDefinition;
|
||||
export { Definition };
|
||||
//# sourceMappingURL=Definition.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Definition.d.ts","sourceRoot":"","sources":["../../src/definition/Definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,aAAK,UAAU,GACX,qBAAqB,GACrB,mBAAmB,GACnB,sBAAsB,GACtB,gCAAgC,GAChC,uBAAuB,GACvB,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,sBAAsB,GACtB,cAAc,GACd,kBAAkB,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
||||
3
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js
generated
vendored
Normal file
3
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=Definition.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Definition.js","sourceRoot":"","sources":["../../src/definition/Definition.ts"],"names":[],"mappings":""}
|
||||
39
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts
generated
vendored
Normal file
39
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts
generated
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { DefinitionType } from './DefinitionType';
|
||||
declare abstract class DefinitionBase<TType extends DefinitionType, TNode extends TSESTree.Node, TParent extends TSESTree.Node | null, TName extends TSESTree.Node = TSESTree.BindingName> {
|
||||
/**
|
||||
* A unique ID for this instance - primarily used to help debugging and testing
|
||||
*/
|
||||
readonly $id: number;
|
||||
/**
|
||||
* The type of the definition
|
||||
* @public
|
||||
*/
|
||||
readonly type: TType;
|
||||
/**
|
||||
* The `Identifier` node of this definition
|
||||
* @public
|
||||
*/
|
||||
readonly name: TName;
|
||||
/**
|
||||
* The enclosing node of the name.
|
||||
* @public
|
||||
*/
|
||||
readonly node: TNode;
|
||||
/**
|
||||
* the enclosing statement node of the identifier.
|
||||
* @public
|
||||
*/
|
||||
readonly parent: TParent;
|
||||
constructor(type: TType, name: TName, node: TNode, parent: TParent);
|
||||
/**
|
||||
* `true` if the variable is valid in a type context, false otherwise
|
||||
*/
|
||||
abstract readonly isTypeDefinition: boolean;
|
||||
/**
|
||||
* `true` if the variable is valid in a value context, false otherwise
|
||||
*/
|
||||
abstract readonly isVariableDefinition: boolean;
|
||||
}
|
||||
export { DefinitionBase };
|
||||
//# sourceMappingURL=DefinitionBase.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"DefinitionBase.d.ts","sourceRoot":"","sources":["../../src/definition/DefinitionBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKlD,uBAAe,cAAc,CAC3B,KAAK,SAAS,cAAc,EAC5B,KAAK,SAAS,QAAQ,CAAC,IAAI,EAC3B,OAAO,SAAS,QAAQ,CAAC,IAAI,GAAG,IAAI,EACpC,KAAK,SAAS,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,WAAW;IAElD;;OAEG;IACH,SAAgB,GAAG,EAAE,MAAM,CAAe;IAE1C;;;OAGG;IACH,SAAgB,IAAI,EAAE,KAAK,CAAC;IAE5B;;;OAGG;IACH,SAAgB,IAAI,EAAE,KAAK,CAAC;IAE5B;;;OAGG;IACH,SAAgB,IAAI,EAAE,KAAK,CAAC;IAE5B;;;OAGG;IACH,SAAgB,MAAM,EAAE,OAAO,CAAC;gBAEpB,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO;IAOlE;;OAEG;IACH,kBAAyB,gBAAgB,EAAE,OAAO,CAAC;IAEnD;;OAEG;IACH,kBAAyB,oBAAoB,EAAE,OAAO,CAAC;CACxD;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
||||
19
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js
generated
vendored
Normal file
19
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DefinitionBase = void 0;
|
||||
const ID_1 = require("../ID");
|
||||
const generator = (0, ID_1.createIdGenerator)();
|
||||
class DefinitionBase {
|
||||
constructor(type, name, node, parent) {
|
||||
/**
|
||||
* A unique ID for this instance - primarily used to help debugging and testing
|
||||
*/
|
||||
this.$id = generator();
|
||||
this.type = type;
|
||||
this.name = name;
|
||||
this.node = node;
|
||||
this.parent = parent;
|
||||
}
|
||||
}
|
||||
exports.DefinitionBase = DefinitionBase;
|
||||
//# sourceMappingURL=DefinitionBase.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"DefinitionBase.js","sourceRoot":"","sources":["../../src/definition/DefinitionBase.ts"],"names":[],"mappings":";;;AAEA,8BAA0C;AAE1C,MAAM,SAAS,GAAG,IAAA,sBAAiB,GAAE,CAAC;AAEtC,MAAe,cAAc;IAmC3B,YAAY,IAAW,EAAE,IAAW,EAAE,IAAW,EAAE,MAAe;QA7BlE;;WAEG;QACa,QAAG,GAAW,SAAS,EAAE,CAAC;QA2BxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CAWF;AAEQ,wCAAc"}
|
||||
15
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts
generated
vendored
Normal file
15
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
declare enum DefinitionType {
|
||||
CatchClause = "CatchClause",
|
||||
ClassName = "ClassName",
|
||||
FunctionName = "FunctionName",
|
||||
ImplicitGlobalVariable = "ImplicitGlobalVariable",
|
||||
ImportBinding = "ImportBinding",
|
||||
Parameter = "Parameter",
|
||||
TSEnumName = "TSEnumName",
|
||||
TSEnumMember = "TSEnumMemberName",
|
||||
TSModuleName = "TSModuleName",
|
||||
Type = "Type",
|
||||
Variable = "Variable"
|
||||
}
|
||||
export { DefinitionType };
|
||||
//# sourceMappingURL=DefinitionType.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"DefinitionType.d.ts","sourceRoot":"","sources":["../../src/definition/DefinitionType.ts"],"names":[],"mappings":"AAAA,aAAK,cAAc;IACjB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,sBAAsB,2BAA2B;IACjD,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,YAAY,qBAAqB;IACjC,YAAY,iBAAiB;IAC7B,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
||||
19
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js
generated
vendored
Normal file
19
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DefinitionType = void 0;
|
||||
var DefinitionType;
|
||||
(function (DefinitionType) {
|
||||
DefinitionType["CatchClause"] = "CatchClause";
|
||||
DefinitionType["ClassName"] = "ClassName";
|
||||
DefinitionType["FunctionName"] = "FunctionName";
|
||||
DefinitionType["ImplicitGlobalVariable"] = "ImplicitGlobalVariable";
|
||||
DefinitionType["ImportBinding"] = "ImportBinding";
|
||||
DefinitionType["Parameter"] = "Parameter";
|
||||
DefinitionType["TSEnumName"] = "TSEnumName";
|
||||
DefinitionType["TSEnumMember"] = "TSEnumMemberName";
|
||||
DefinitionType["TSModuleName"] = "TSModuleName";
|
||||
DefinitionType["Type"] = "Type";
|
||||
DefinitionType["Variable"] = "Variable";
|
||||
})(DefinitionType || (DefinitionType = {}));
|
||||
exports.DefinitionType = DefinitionType;
|
||||
//# sourceMappingURL=DefinitionType.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"DefinitionType.js","sourceRoot":"","sources":["../../src/definition/DefinitionType.ts"],"names":[],"mappings":";;;AAAA,IAAK,cAYJ;AAZD,WAAK,cAAc;IACjB,6CAA2B,CAAA;IAC3B,yCAAuB,CAAA;IACvB,+CAA6B,CAAA;IAC7B,mEAAiD,CAAA;IACjD,iDAA+B,CAAA;IAC/B,yCAAuB,CAAA;IACvB,2CAAyB,CAAA;IACzB,mDAAiC,CAAA;IACjC,+CAA6B,CAAA;IAC7B,+BAAa,CAAA;IACb,uCAAqB,CAAA;AACvB,CAAC,EAZI,cAAc,KAAd,cAAc,QAYlB;AAEQ,wCAAc"}
|
||||
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts
generated
vendored
Normal file
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { DefinitionType } from './DefinitionType';
|
||||
import { DefinitionBase } from './DefinitionBase';
|
||||
declare class FunctionNameDefinition extends DefinitionBase<DefinitionType.FunctionName, TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.TSDeclareFunction | TSESTree.TSEmptyBodyFunctionExpression, null, TSESTree.Identifier> {
|
||||
constructor(name: TSESTree.Identifier, node: FunctionNameDefinition['node']);
|
||||
readonly isTypeDefinition = false;
|
||||
readonly isVariableDefinition = true;
|
||||
}
|
||||
export { FunctionNameDefinition };
|
||||
//# sourceMappingURL=FunctionNameDefinition.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"FunctionNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,sBAAuB,SAAQ,cAAc,CACjD,cAAc,CAAC,YAAY,EACzB,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,kBAAkB,GAC3B,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,6BAA6B,EACxC,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;gBACa,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;IAI3E,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FunctionNameDefinition = void 0;
|
||||
const DefinitionType_1 = require("./DefinitionType");
|
||||
const DefinitionBase_1 = require("./DefinitionBase");
|
||||
class FunctionNameDefinition extends DefinitionBase_1.DefinitionBase {
|
||||
constructor(name, node) {
|
||||
super(DefinitionType_1.DefinitionType.FunctionName, name, node, null);
|
||||
this.isTypeDefinition = false;
|
||||
this.isVariableDefinition = true;
|
||||
}
|
||||
}
|
||||
exports.FunctionNameDefinition = FunctionNameDefinition;
|
||||
//# sourceMappingURL=FunctionNameDefinition.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"FunctionNameDefinition.js","sourceRoot":"","sources":["../../src/definition/FunctionNameDefinition.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,sBAAuB,SAAQ,+BAQpC;IACC,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAGvC,qBAAgB,GAAG,KAAK,CAAC;QACzB,yBAAoB,GAAG,IAAI,CAAC;IAH5C,CAAC;CAIF;AAEQ,wDAAsB"}
|
||||
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts
generated
vendored
Normal file
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { DefinitionType } from './DefinitionType';
|
||||
import { DefinitionBase } from './DefinitionBase';
|
||||
declare class ImplicitGlobalVariableDefinition extends DefinitionBase<DefinitionType.ImplicitGlobalVariable, TSESTree.Node, null, TSESTree.BindingName> {
|
||||
constructor(name: TSESTree.BindingName, node: ImplicitGlobalVariableDefinition['node']);
|
||||
readonly isTypeDefinition = false;
|
||||
readonly isVariableDefinition = true;
|
||||
}
|
||||
export { ImplicitGlobalVariableDefinition };
|
||||
//# sourceMappingURL=ImplicitGlobalVariableDefinition.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ImplicitGlobalVariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,gCAAiC,SAAQ,cAAc,CAC3D,cAAc,CAAC,sBAAsB,EACrC,QAAQ,CAAC,IAAI,EACb,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;gBAEG,IAAI,EAAE,QAAQ,CAAC,WAAW,EAC1B,IAAI,EAAE,gCAAgC,CAAC,MAAM,CAAC;IAKhD,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,gCAAgC,EAAE,CAAC"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ImplicitGlobalVariableDefinition = void 0;
|
||||
const DefinitionType_1 = require("./DefinitionType");
|
||||
const DefinitionBase_1 = require("./DefinitionBase");
|
||||
class ImplicitGlobalVariableDefinition extends DefinitionBase_1.DefinitionBase {
|
||||
constructor(name, node) {
|
||||
super(DefinitionType_1.DefinitionType.ImplicitGlobalVariable, name, node, null);
|
||||
this.isTypeDefinition = false;
|
||||
this.isVariableDefinition = true;
|
||||
}
|
||||
}
|
||||
exports.ImplicitGlobalVariableDefinition = ImplicitGlobalVariableDefinition;
|
||||
//# sourceMappingURL=ImplicitGlobalVariableDefinition.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ImplicitGlobalVariableDefinition.js","sourceRoot":"","sources":["../../src/definition/ImplicitGlobalVariableDefinition.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,gCAAiC,SAAQ,+BAK9C;IACC,YACE,IAA0B,EAC1B,IAA8C;QAE9C,KAAK,CAAC,+BAAc,CAAC,sBAAsB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAGjD,qBAAgB,GAAG,KAAK,CAAC;QACzB,yBAAoB,GAAG,IAAI,CAAC;IAH5C,CAAC;CAIF;AAEQ,4EAAgC"}
|
||||
11
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts
generated
vendored
Normal file
11
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { DefinitionType } from './DefinitionType';
|
||||
import { DefinitionBase } from './DefinitionBase';
|
||||
declare class ImportBindingDefinition extends DefinitionBase<DefinitionType.ImportBinding, TSESTree.ImportSpecifier | TSESTree.ImportDefaultSpecifier | TSESTree.ImportNamespaceSpecifier | TSESTree.TSImportEqualsDeclaration, TSESTree.ImportDeclaration | TSESTree.TSImportEqualsDeclaration, TSESTree.Identifier> {
|
||||
constructor(name: TSESTree.Identifier, node: TSESTree.TSImportEqualsDeclaration, decl: TSESTree.TSImportEqualsDeclaration);
|
||||
constructor(name: TSESTree.Identifier, node: Exclude<ImportBindingDefinition['node'], TSESTree.TSImportEqualsDeclaration>, decl: TSESTree.ImportDeclaration);
|
||||
readonly isTypeDefinition = true;
|
||||
readonly isVariableDefinition = true;
|
||||
}
|
||||
export { ImportBindingDefinition };
|
||||
//# sourceMappingURL=ImportBindingDefinition.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ImportBindingDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,uBAAwB,SAAQ,cAAc,CAClD,cAAc,CAAC,aAAa,EAC1B,QAAQ,CAAC,eAAe,GACxB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,yBAAyB,EACpC,QAAQ,CAAC,iBAAiB,GAAG,QAAQ,CAAC,yBAAyB,EAC/D,QAAQ,CAAC,UAAU,CACpB;gBAEG,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,QAAQ,CAAC,yBAAyB,EACxC,IAAI,EAAE,QAAQ,CAAC,yBAAyB;gBAGxC,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,OAAO,CACX,uBAAuB,CAAC,MAAM,CAAC,EAC/B,QAAQ,CAAC,yBAAyB,CACnC,EACD,IAAI,EAAE,QAAQ,CAAC,iBAAiB;IAUlC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ImportBindingDefinition = void 0;
|
||||
const DefinitionType_1 = require("./DefinitionType");
|
||||
const DefinitionBase_1 = require("./DefinitionBase");
|
||||
class ImportBindingDefinition extends DefinitionBase_1.DefinitionBase {
|
||||
constructor(name, node, decl) {
|
||||
super(DefinitionType_1.DefinitionType.ImportBinding, name, node, decl);
|
||||
this.isTypeDefinition = true;
|
||||
this.isVariableDefinition = true;
|
||||
}
|
||||
}
|
||||
exports.ImportBindingDefinition = ImportBindingDefinition;
|
||||
//# sourceMappingURL=ImportBindingDefinition.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ImportBindingDefinition.js","sourceRoot":"","sources":["../../src/definition/ImportBindingDefinition.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,uBAAwB,SAAQ,+BAQrC;IAcC,YACE,IAAyB,EACzB,IAAqC,EACrC,IAAqE;QAErE,KAAK,CAAC,+BAAc,CAAC,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAGxC,qBAAgB,GAAG,IAAI,CAAC;QACxB,yBAAoB,GAAG,IAAI,CAAC;IAH5C,CAAC;CAIF;AAEQ,0DAAuB"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { DefinitionType } from './DefinitionType';
|
||||
import { DefinitionBase } from './DefinitionBase';
|
||||
declare class ParameterDefinition extends DefinitionBase<DefinitionType.Parameter, TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunction | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignature, null, TSESTree.BindingName> {
|
||||
/**
|
||||
* Whether the parameter definition is a part of a rest parameter.
|
||||
*/
|
||||
readonly rest: boolean;
|
||||
constructor(name: TSESTree.BindingName, node: ParameterDefinition['node'], rest: boolean);
|
||||
readonly isTypeDefinition = false;
|
||||
readonly isVariableDefinition = true;
|
||||
}
|
||||
export { ParameterDefinition };
|
||||
//# sourceMappingURL=ParameterDefinition.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ParameterDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ParameterDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,mBAAoB,SAAQ,cAAc,CAC9C,cAAc,CAAC,SAAS,EACtB,QAAQ,CAAC,uBAAuB,GAChC,QAAQ,CAAC,mBAAmB,GAC5B,QAAQ,CAAC,kBAAkB,GAC3B,QAAQ,CAAC,0BAA0B,GACnC,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,+BAA+B,GACxC,QAAQ,CAAC,iBAAiB,GAC1B,QAAQ,CAAC,6BAA6B,GACtC,QAAQ,CAAC,cAAc,GACvB,QAAQ,CAAC,iBAAiB,EAC5B,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;IACC;;OAEG;IACH,SAAgB,IAAI,EAAE,OAAO,CAAC;gBAE5B,IAAI,EAAE,QAAQ,CAAC,WAAW,EAC1B,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC,EACjC,IAAI,EAAE,OAAO;IAMf,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
||||
15
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js
generated
vendored
Normal file
15
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ParameterDefinition = void 0;
|
||||
const DefinitionType_1 = require("./DefinitionType");
|
||||
const DefinitionBase_1 = require("./DefinitionBase");
|
||||
class ParameterDefinition extends DefinitionBase_1.DefinitionBase {
|
||||
constructor(name, node, rest) {
|
||||
super(DefinitionType_1.DefinitionType.Parameter, name, node, null);
|
||||
this.isTypeDefinition = false;
|
||||
this.isVariableDefinition = true;
|
||||
this.rest = rest;
|
||||
}
|
||||
}
|
||||
exports.ParameterDefinition = ParameterDefinition;
|
||||
//# sourceMappingURL=ParameterDefinition.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ParameterDefinition.js","sourceRoot":"","sources":["../../src/definition/ParameterDefinition.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,mBAAoB,SAAQ,+BAcjC;IAKC,YACE,IAA0B,EAC1B,IAAiC,EACjC,IAAa;QAEb,KAAK,CAAC,+BAAc,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAIpC,qBAAgB,GAAG,KAAK,CAAC;QACzB,yBAAoB,GAAG,IAAI,CAAC;QAJ1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CAIF;AAEQ,kDAAmB"}
|
||||
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts
generated
vendored
Normal file
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { DefinitionType } from './DefinitionType';
|
||||
import { DefinitionBase } from './DefinitionBase';
|
||||
declare class TSEnumMemberDefinition extends DefinitionBase<DefinitionType.TSEnumMember, TSESTree.TSEnumMember, null, TSESTree.Identifier | TSESTree.StringLiteral> {
|
||||
constructor(name: TSESTree.Identifier | TSESTree.StringLiteral, node: TSEnumMemberDefinition['node']);
|
||||
readonly isTypeDefinition = true;
|
||||
readonly isVariableDefinition = true;
|
||||
}
|
||||
export { TSEnumMemberDefinition };
|
||||
//# sourceMappingURL=TSEnumMemberDefinition.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TSEnumMemberDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,sBAAuB,SAAQ,cAAc,CACjD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,YAAY,EACrB,IAAI,EACJ,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,CAC7C;gBAEG,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,QAAQ,CAAC,aAAa,EAClD,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;IAKtC,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.TSEnumMemberDefinition = void 0;
|
||||
const DefinitionType_1 = require("./DefinitionType");
|
||||
const DefinitionBase_1 = require("./DefinitionBase");
|
||||
class TSEnumMemberDefinition extends DefinitionBase_1.DefinitionBase {
|
||||
constructor(name, node) {
|
||||
super(DefinitionType_1.DefinitionType.TSEnumMember, name, node, null);
|
||||
this.isTypeDefinition = true;
|
||||
this.isVariableDefinition = true;
|
||||
}
|
||||
}
|
||||
exports.TSEnumMemberDefinition = TSEnumMemberDefinition;
|
||||
//# sourceMappingURL=TSEnumMemberDefinition.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TSEnumMemberDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumMemberDefinition.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,sBAAuB,SAAQ,+BAKpC;IACC,YACE,IAAkD,EAClD,IAAoC;QAEpC,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAGvC,qBAAgB,GAAG,IAAI,CAAC;QACxB,yBAAoB,GAAG,IAAI,CAAC;IAH5C,CAAC;CAIF;AAEQ,wDAAsB"}
|
||||
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts
generated
vendored
Normal file
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { DefinitionType } from './DefinitionType';
|
||||
import { DefinitionBase } from './DefinitionBase';
|
||||
declare class TSEnumNameDefinition extends DefinitionBase<DefinitionType.TSEnumName, TSESTree.TSEnumDeclaration, null, TSESTree.Identifier> {
|
||||
constructor(name: TSESTree.Identifier, node: TSEnumNameDefinition['node']);
|
||||
readonly isTypeDefinition = true;
|
||||
readonly isVariableDefinition = true;
|
||||
}
|
||||
export { TSEnumNameDefinition };
|
||||
//# sourceMappingURL=TSEnumNameDefinition.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TSEnumNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,oBAAqB,SAAQ,cAAc,CAC/C,cAAc,CAAC,UAAU,EACzB,QAAQ,CAAC,iBAAiB,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;gBACa,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,oBAAoB,CAAC,MAAM,CAAC;IAIzE,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.TSEnumNameDefinition = void 0;
|
||||
const DefinitionType_1 = require("./DefinitionType");
|
||||
const DefinitionBase_1 = require("./DefinitionBase");
|
||||
class TSEnumNameDefinition extends DefinitionBase_1.DefinitionBase {
|
||||
constructor(name, node) {
|
||||
super(DefinitionType_1.DefinitionType.TSEnumName, name, node, null);
|
||||
this.isTypeDefinition = true;
|
||||
this.isVariableDefinition = true;
|
||||
}
|
||||
}
|
||||
exports.TSEnumNameDefinition = TSEnumNameDefinition;
|
||||
//# sourceMappingURL=TSEnumNameDefinition.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TSEnumNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSEnumNameDefinition.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,oBAAqB,SAAQ,+BAKlC;IACC,YAAY,IAAyB,EAAE,IAAkC;QACvE,KAAK,CAAC,+BAAc,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAGrC,qBAAgB,GAAG,IAAI,CAAC;QACxB,yBAAoB,GAAG,IAAI,CAAC;IAH5C,CAAC;CAIF;AAEQ,oDAAoB"}
|
||||
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts
generated
vendored
Normal file
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { DefinitionType } from './DefinitionType';
|
||||
import { DefinitionBase } from './DefinitionBase';
|
||||
declare class TSModuleNameDefinition extends DefinitionBase<DefinitionType.TSModuleName, TSESTree.TSModuleDeclaration, null, TSESTree.Identifier> {
|
||||
constructor(name: TSESTree.Identifier, node: TSModuleNameDefinition['node']);
|
||||
readonly isTypeDefinition = true;
|
||||
readonly isVariableDefinition = true;
|
||||
}
|
||||
export { TSModuleNameDefinition };
|
||||
//# sourceMappingURL=TSModuleNameDefinition.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TSModuleNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,sBAAuB,SAAQ,cAAc,CACjD,cAAc,CAAC,YAAY,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;gBACa,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;IAI3E,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.TSModuleNameDefinition = void 0;
|
||||
const DefinitionType_1 = require("./DefinitionType");
|
||||
const DefinitionBase_1 = require("./DefinitionBase");
|
||||
class TSModuleNameDefinition extends DefinitionBase_1.DefinitionBase {
|
||||
constructor(name, node) {
|
||||
super(DefinitionType_1.DefinitionType.TSModuleName, name, node, null);
|
||||
this.isTypeDefinition = true;
|
||||
this.isVariableDefinition = true;
|
||||
}
|
||||
}
|
||||
exports.TSModuleNameDefinition = TSModuleNameDefinition;
|
||||
//# sourceMappingURL=TSModuleNameDefinition.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TSModuleNameDefinition.js","sourceRoot":"","sources":["../../src/definition/TSModuleNameDefinition.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,sBAAuB,SAAQ,+BAKpC;IACC,YAAY,IAAyB,EAAE,IAAoC;QACzE,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAGvC,qBAAgB,GAAG,IAAI,CAAC;QACxB,yBAAoB,GAAG,IAAI,CAAC;IAH5C,CAAC;CAIF;AAEQ,wDAAsB"}
|
||||
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts
generated
vendored
Normal file
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { DefinitionType } from './DefinitionType';
|
||||
import { DefinitionBase } from './DefinitionBase';
|
||||
declare class TypeDefinition extends DefinitionBase<DefinitionType.Type, TSESTree.TSInterfaceDeclaration | TSESTree.TSTypeAliasDeclaration | TSESTree.TSTypeParameter, null, TSESTree.Identifier> {
|
||||
constructor(name: TSESTree.Identifier, node: TypeDefinition['node']);
|
||||
readonly isTypeDefinition = true;
|
||||
readonly isVariableDefinition = false;
|
||||
}
|
||||
export { TypeDefinition };
|
||||
//# sourceMappingURL=TypeDefinition.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TypeDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,cAAe,SAAQ,cAAc,CACzC,cAAc,CAAC,IAAI,EACjB,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,eAAe,EAC1B,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;gBACa,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;IAInE,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,SAAS;CAC9C;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.TypeDefinition = void 0;
|
||||
const DefinitionType_1 = require("./DefinitionType");
|
||||
const DefinitionBase_1 = require("./DefinitionBase");
|
||||
class TypeDefinition extends DefinitionBase_1.DefinitionBase {
|
||||
constructor(name, node) {
|
||||
super(DefinitionType_1.DefinitionType.Type, name, node, null);
|
||||
this.isTypeDefinition = true;
|
||||
this.isVariableDefinition = false;
|
||||
}
|
||||
}
|
||||
exports.TypeDefinition = TypeDefinition;
|
||||
//# sourceMappingURL=TypeDefinition.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TypeDefinition.js","sourceRoot":"","sources":["../../src/definition/TypeDefinition.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,cAAe,SAAQ,+BAO5B;IACC,YAAY,IAAyB,EAAE,IAA4B;QACjE,KAAK,CAAC,+BAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAG/B,qBAAgB,GAAG,IAAI,CAAC;QACxB,yBAAoB,GAAG,KAAK,CAAC;IAH7C,CAAC;CAIF;AAEQ,wCAAc"}
|
||||
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts
generated
vendored
Normal file
10
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { TSESTree } from '@typescript-eslint/types';
|
||||
import { DefinitionType } from './DefinitionType';
|
||||
import { DefinitionBase } from './DefinitionBase';
|
||||
declare class VariableDefinition extends DefinitionBase<DefinitionType.Variable, TSESTree.VariableDeclarator, TSESTree.VariableDeclaration, TSESTree.Identifier> {
|
||||
constructor(name: TSESTree.Identifier, node: VariableDefinition['node'], decl: TSESTree.VariableDeclaration);
|
||||
readonly isTypeDefinition = false;
|
||||
readonly isVariableDefinition = true;
|
||||
}
|
||||
export { VariableDefinition };
|
||||
//# sourceMappingURL=VariableDefinition.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"VariableDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,kBAAmB,SAAQ,cAAc,CAC7C,cAAc,CAAC,QAAQ,EACvB,QAAQ,CAAC,kBAAkB,EAC3B,QAAQ,CAAC,mBAAmB,EAC5B,QAAQ,CAAC,UAAU,CACpB;gBAEG,IAAI,EAAE,QAAQ,CAAC,UAAU,EACzB,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAChC,IAAI,EAAE,QAAQ,CAAC,mBAAmB;IAKpC,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.VariableDefinition = void 0;
|
||||
const DefinitionType_1 = require("./DefinitionType");
|
||||
const DefinitionBase_1 = require("./DefinitionBase");
|
||||
class VariableDefinition extends DefinitionBase_1.DefinitionBase {
|
||||
constructor(name, node, decl) {
|
||||
super(DefinitionType_1.DefinitionType.Variable, name, node, decl);
|
||||
this.isTypeDefinition = false;
|
||||
this.isVariableDefinition = true;
|
||||
}
|
||||
}
|
||||
exports.VariableDefinition = VariableDefinition;
|
||||
//# sourceMappingURL=VariableDefinition.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"VariableDefinition.js","sourceRoot":"","sources":["../../src/definition/VariableDefinition.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,kBAAmB,SAAQ,+BAKhC;IACC,YACE,IAAyB,EACzB,IAAgC,EAChC,IAAkC;QAElC,KAAK,CAAC,+BAAc,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAGnC,qBAAgB,GAAG,KAAK,CAAC;QACzB,yBAAoB,GAAG,IAAI,CAAC;IAH5C,CAAC;CAIF;AAEQ,gDAAkB"}
|
||||
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts
generated
vendored
Normal file
14
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export * from './CatchClauseDefinition';
|
||||
export * from './ClassNameDefinition';
|
||||
export * from './Definition';
|
||||
export * from './DefinitionType';
|
||||
export * from './FunctionNameDefinition';
|
||||
export * from './ImplicitGlobalVariableDefinition';
|
||||
export * from './ImportBindingDefinition';
|
||||
export * from './ParameterDefinition';
|
||||
export * from './TSEnumMemberDefinition';
|
||||
export * from './TSEnumNameDefinition';
|
||||
export * from './TSModuleNameDefinition';
|
||||
export * from './TypeDefinition';
|
||||
export * from './VariableDefinition';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/definition/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
|
||||
26
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js
generated
vendored
Normal file
26
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__exportStar(require("./CatchClauseDefinition"), exports);
|
||||
__exportStar(require("./ClassNameDefinition"), exports);
|
||||
__exportStar(require("./Definition"), exports);
|
||||
__exportStar(require("./DefinitionType"), exports);
|
||||
__exportStar(require("./FunctionNameDefinition"), exports);
|
||||
__exportStar(require("./ImplicitGlobalVariableDefinition"), exports);
|
||||
__exportStar(require("./ImportBindingDefinition"), exports);
|
||||
__exportStar(require("./ParameterDefinition"), exports);
|
||||
__exportStar(require("./TSEnumMemberDefinition"), exports);
|
||||
__exportStar(require("./TSEnumNameDefinition"), exports);
|
||||
__exportStar(require("./TSModuleNameDefinition"), exports);
|
||||
__exportStar(require("./TypeDefinition"), exports);
|
||||
__exportStar(require("./VariableDefinition"), exports);
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/definition/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAAwC;AACxC,wDAAsC;AACtC,+CAA6B;AAC7B,mDAAiC;AACjC,2DAAyC;AACzC,qEAAmD;AACnD,4DAA0C;AAC1C,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,2DAAyC;AACzC,mDAAiC;AACjC,uDAAqC"}
|
||||
9
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts
generated
vendored
Normal file
9
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
export { analyze, AnalyzeOptions } from './analyze';
|
||||
export * from './definition';
|
||||
export { Reference } from './referencer/Reference';
|
||||
export { Visitor } from './referencer/Visitor';
|
||||
export { PatternVisitor, PatternVisitorCallback, PatternVisitorOptions, } from './referencer/PatternVisitor';
|
||||
export * from './scope';
|
||||
export { ScopeManager } from './ScopeManager';
|
||||
export * from './variable';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACpD,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,6BAA6B,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,cAAc,YAAY,CAAC"}
|
||||
27
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/index.js
generated
vendored
Normal file
27
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/index.js
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ScopeManager = exports.PatternVisitor = exports.Visitor = exports.Reference = exports.analyze = void 0;
|
||||
var analyze_1 = require("./analyze");
|
||||
Object.defineProperty(exports, "analyze", { enumerable: true, get: function () { return analyze_1.analyze; } });
|
||||
__exportStar(require("./definition"), exports);
|
||||
var Reference_1 = require("./referencer/Reference");
|
||||
Object.defineProperty(exports, "Reference", { enumerable: true, get: function () { return Reference_1.Reference; } });
|
||||
var Visitor_1 = require("./referencer/Visitor");
|
||||
Object.defineProperty(exports, "Visitor", { enumerable: true, get: function () { return Visitor_1.Visitor; } });
|
||||
var PatternVisitor_1 = require("./referencer/PatternVisitor");
|
||||
Object.defineProperty(exports, "PatternVisitor", { enumerable: true, get: function () { return PatternVisitor_1.PatternVisitor; } });
|
||||
__exportStar(require("./scope"), exports);
|
||||
var ScopeManager_1 = require("./ScopeManager");
|
||||
Object.defineProperty(exports, "ScopeManager", { enumerable: true, get: function () { return ScopeManager_1.ScopeManager; } });
|
||||
__exportStar(require("./variable"), exports);
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/index.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/index.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qCAAoD;AAA3C,kGAAA,OAAO,OAAA;AAChB,+CAA6B;AAC7B,oDAAmD;AAA1C,sGAAA,SAAS,OAAA;AAClB,gDAA+C;AAAtC,kGAAA,OAAO,OAAA;AAChB,8DAIqC;AAHnC,gHAAA,cAAc,OAAA;AAIhB,0CAAwB;AACxB,+CAA8C;AAArC,4GAAA,YAAY,OAAA;AACrB,6CAA2B"}
|
||||
16
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts
generated
vendored
Normal file
16
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
export declare const TYPE: Readonly<{
|
||||
eslintImplicitGlobalSetting: string;
|
||||
isTypeVariable: boolean;
|
||||
isValueVariable: boolean;
|
||||
}>;
|
||||
export declare const VALUE: Readonly<{
|
||||
eslintImplicitGlobalSetting: string;
|
||||
isTypeVariable: boolean;
|
||||
isValueVariable: boolean;
|
||||
}>;
|
||||
export declare const TYPE_VALUE: Readonly<{
|
||||
eslintImplicitGlobalSetting: string;
|
||||
isTypeVariable: boolean;
|
||||
isValueVariable: boolean;
|
||||
}>;
|
||||
//# sourceMappingURL=base-config.d.ts.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"base-config.d.ts","sourceRoot":"","sources":["../../src/lib/base-config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;EAIf,CAAC;AACH,eAAO,MAAM,KAAK;;;;EAIhB,CAAC;AACH,eAAO,MAAM,UAAU;;;;EAIrB,CAAC"}
|
||||
22
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js
generated
vendored
Normal file
22
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
// THIS CODE WAS AUTOMATICALLY GENERATED
|
||||
// DO NOT EDIT THIS CODE BY HAND
|
||||
// YOU CAN REGENERATE IT USING yarn generate:lib
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.TYPE_VALUE = exports.VALUE = exports.TYPE = void 0;
|
||||
exports.TYPE = Object.freeze({
|
||||
eslintImplicitGlobalSetting: 'readonly',
|
||||
isTypeVariable: true,
|
||||
isValueVariable: false,
|
||||
});
|
||||
exports.VALUE = Object.freeze({
|
||||
eslintImplicitGlobalSetting: 'readonly',
|
||||
isTypeVariable: false,
|
||||
isValueVariable: true,
|
||||
});
|
||||
exports.TYPE_VALUE = Object.freeze({
|
||||
eslintImplicitGlobalSetting: 'readonly',
|
||||
isTypeVariable: true,
|
||||
isValueVariable: true,
|
||||
});
|
||||
//# sourceMappingURL=base-config.js.map
|
||||
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map
generated
vendored
Normal file
1
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"base-config.js","sourceRoot":"","sources":["../../src/lib/base-config.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,gDAAgD;;;AAEnC,QAAA,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC;IAChC,2BAA2B,EAAE,UAAU;IACvC,cAAc,EAAE,IAAI;IACpB,eAAe,EAAE,KAAK;CACvB,CAAC,CAAC;AACU,QAAA,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC;IACjC,2BAA2B,EAAE,UAAU;IACvC,cAAc,EAAE,KAAK;IACrB,eAAe,EAAE,IAAI;CACtB,CAAC,CAAC;AACU,QAAA,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC;IACtC,2BAA2B,EAAE,UAAU;IACvC,cAAc,EAAE,IAAI;IACpB,eAAe,EAAE,IAAI;CACtB,CAAC,CAAC"}
|
||||
3
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts
generated
vendored
Normal file
3
node_modules/eslint-plugin-github/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import { ImplicitLibVariableOptions } from '../variable';
|
||||
export declare const dom: Record<string, ImplicitLibVariableOptions>;
|
||||
//# sourceMappingURL=dom.d.ts.map
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user