$
This commit is contained in:
21
node_modules/@types/body-parser/LICENSE
generated
vendored
Normal file
21
node_modules/@types/body-parser/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
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
|
16
node_modules/@types/body-parser/README.md
generated
vendored
Normal file
16
node_modules/@types/body-parser/README.md
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
# Installation
|
||||
> `npm install --save @types/body-parser`
|
||||
|
||||
# Summary
|
||||
This package contains type definitions for body-parser (https://github.com/expressjs/body-parser).
|
||||
|
||||
# Details
|
||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/body-parser.
|
||||
|
||||
### Additional Details
|
||||
* Last updated: Tue, 16 Nov 2021 18:31:30 GMT
|
||||
* Dependencies: [@types/connect](https://npmjs.com/package/@types/connect), [@types/node](https://npmjs.com/package/@types/node)
|
||||
* Global values: none
|
||||
|
||||
# Credits
|
||||
These definitions were written by [Santi Albo](https://github.com/santialbo), [Vilic Vane](https://github.com/vilic), [Jonathan Häberle](https://github.com/dreampulse), [Gevik Babakhani](https://github.com/blendsdk), [Tomasz Łaziuk](https://github.com/tlaziuk), [Jason Walton](https://github.com/jwalton), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).
|
107
node_modules/@types/body-parser/index.d.ts
generated
vendored
Normal file
107
node_modules/@types/body-parser/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,107 @@
|
||||
// Type definitions for body-parser 1.19
|
||||
// Project: https://github.com/expressjs/body-parser
|
||||
// Definitions by: Santi Albo <https://github.com/santialbo>
|
||||
// Vilic Vane <https://github.com/vilic>
|
||||
// Jonathan Häberle <https://github.com/dreampulse>
|
||||
// Gevik Babakhani <https://github.com/blendsdk>
|
||||
// Tomasz Łaziuk <https://github.com/tlaziuk>
|
||||
// Jason Walton <https://github.com/jwalton>
|
||||
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
import { NextHandleFunction } from 'connect';
|
||||
import * as http from 'http';
|
||||
|
||||
// for docs go to https://github.com/expressjs/body-parser/tree/1.19.0#body-parser
|
||||
|
||||
declare namespace bodyParser {
|
||||
interface BodyParser {
|
||||
/**
|
||||
* @deprecated use individual json/urlencoded middlewares
|
||||
*/
|
||||
(options?: OptionsJson & OptionsText & OptionsUrlencoded): NextHandleFunction;
|
||||
/**
|
||||
* Returns middleware that only parses json and only looks at requests
|
||||
* where the Content-Type header matches the type option.
|
||||
*/
|
||||
json(options?: OptionsJson): NextHandleFunction;
|
||||
/**
|
||||
* Returns middleware that parses all bodies as a Buffer and only looks at requests
|
||||
* where the Content-Type header matches the type option.
|
||||
*/
|
||||
raw(options?: Options): NextHandleFunction;
|
||||
|
||||
/**
|
||||
* Returns middleware that parses all bodies as a string and only looks at requests
|
||||
* where the Content-Type header matches the type option.
|
||||
*/
|
||||
text(options?: OptionsText): NextHandleFunction;
|
||||
/**
|
||||
* Returns middleware that only parses urlencoded bodies and only looks at requests
|
||||
* where the Content-Type header matches the type option
|
||||
*/
|
||||
urlencoded(options?: OptionsUrlencoded): NextHandleFunction;
|
||||
}
|
||||
|
||||
interface Options {
|
||||
/** When set to true, then deflated (compressed) bodies will be inflated; when false, deflated bodies are rejected. Defaults to true. */
|
||||
inflate?: boolean | undefined;
|
||||
/**
|
||||
* Controls the maximum request body size. If this is a number,
|
||||
* then the value specifies the number of bytes; if it is a string,
|
||||
* the value is passed to the bytes library for parsing. Defaults to '100kb'.
|
||||
*/
|
||||
limit?: number | string | undefined;
|
||||
/**
|
||||
* The type option is used to determine what media type the middleware will parse
|
||||
*/
|
||||
type?: string | string[] | ((req: http.IncomingMessage) => any) | undefined;
|
||||
/**
|
||||
* The verify option, if supplied, is called as verify(req, res, buf, encoding),
|
||||
* where buf is a Buffer of the raw request body and encoding is the encoding of the request.
|
||||
*/
|
||||
verify?(req: http.IncomingMessage, res: http.ServerResponse, buf: Buffer, encoding: string): void;
|
||||
}
|
||||
|
||||
interface OptionsJson extends Options {
|
||||
/**
|
||||
*
|
||||
* The reviver option is passed directly to JSON.parse as the second argument.
|
||||
*/
|
||||
reviver?(key: string, value: any): any;
|
||||
/**
|
||||
* When set to `true`, will only accept arrays and objects;
|
||||
* when `false` will accept anything JSON.parse accepts. Defaults to `true`.
|
||||
*/
|
||||
strict?: boolean | undefined;
|
||||
}
|
||||
|
||||
interface OptionsText extends Options {
|
||||
/**
|
||||
* Specify the default character set for the text content if the charset
|
||||
* is not specified in the Content-Type header of the request.
|
||||
* Defaults to `utf-8`.
|
||||
*/
|
||||
defaultCharset?: string | undefined;
|
||||
}
|
||||
|
||||
interface OptionsUrlencoded extends Options {
|
||||
/**
|
||||
* The extended option allows to choose between parsing the URL-encoded data
|
||||
* with the querystring library (when `false`) or the qs library (when `true`).
|
||||
*/
|
||||
extended?: boolean | undefined;
|
||||
/**
|
||||
* The parameterLimit option controls the maximum number of parameters
|
||||
* that are allowed in the URL-encoded data. If a request contains more parameters than this value,
|
||||
* a 413 will be returned to the client. Defaults to 1000.
|
||||
*/
|
||||
parameterLimit?: number | undefined;
|
||||
}
|
||||
}
|
||||
|
||||
declare const bodyParser: bodyParser.BodyParser;
|
||||
|
||||
export = bodyParser;
|
58
node_modules/@types/body-parser/package.json
generated
vendored
Normal file
58
node_modules/@types/body-parser/package.json
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"name": "@types/body-parser",
|
||||
"version": "1.19.2",
|
||||
"description": "TypeScript definitions for body-parser",
|
||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/body-parser",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Santi Albo",
|
||||
"url": "https://github.com/santialbo",
|
||||
"githubUsername": "santialbo"
|
||||
},
|
||||
{
|
||||
"name": "Vilic Vane",
|
||||
"url": "https://github.com/vilic",
|
||||
"githubUsername": "vilic"
|
||||
},
|
||||
{
|
||||
"name": "Jonathan Häberle",
|
||||
"url": "https://github.com/dreampulse",
|
||||
"githubUsername": "dreampulse"
|
||||
},
|
||||
{
|
||||
"name": "Gevik Babakhani",
|
||||
"url": "https://github.com/blendsdk",
|
||||
"githubUsername": "blendsdk"
|
||||
},
|
||||
{
|
||||
"name": "Tomasz Łaziuk",
|
||||
"url": "https://github.com/tlaziuk",
|
||||
"githubUsername": "tlaziuk"
|
||||
},
|
||||
{
|
||||
"name": "Jason Walton",
|
||||
"url": "https://github.com/jwalton",
|
||||
"githubUsername": "jwalton"
|
||||
},
|
||||
{
|
||||
"name": "Piotr Błażejewicz",
|
||||
"url": "https://github.com/peterblazejewicz",
|
||||
"githubUsername": "peterblazejewicz"
|
||||
}
|
||||
],
|
||||
"main": "",
|
||||
"types": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
||||
"directory": "types/body-parser"
|
||||
},
|
||||
"scripts": {},
|
||||
"dependencies": {
|
||||
"@types/connect": "*",
|
||||
"@types/node": "*"
|
||||
},
|
||||
"typesPublisherContentHash": "ad069aa8b9e8a95f66df025de11975c773540e4071000abdb7db565579b013ee",
|
||||
"typeScriptVersion": "3.7"
|
||||
}
|
21
node_modules/@types/bonjour/LICENSE
generated
vendored
Normal file
21
node_modules/@types/bonjour/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
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
|
16
node_modules/@types/bonjour/README.md
generated
vendored
Normal file
16
node_modules/@types/bonjour/README.md
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
# Installation
|
||||
> `npm install --save @types/bonjour`
|
||||
|
||||
# Summary
|
||||
This package contains type definitions for bonjour (https://github.com/watson/bonjour).
|
||||
|
||||
# Details
|
||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bonjour.
|
||||
|
||||
### Additional Details
|
||||
* Last updated: Thu, 23 Dec 2021 23:34:20 GMT
|
||||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
||||
* Global values: none
|
||||
|
||||
# Credits
|
||||
These definitions were written by [Quentin Lampin](https://github.com/quentin-ol).
|
95
node_modules/@types/bonjour/index.d.ts
generated
vendored
Normal file
95
node_modules/@types/bonjour/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
// Type definitions for bonjour 3.5
|
||||
// Project: https://github.com/watson/bonjour
|
||||
// Definitions by: Quentin Lampin <https://github.com/quentin-ol>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
import { RemoteInfo } from 'dgram';
|
||||
|
||||
declare function bonjour(opts?: bonjour.BonjourOptions): bonjour.Bonjour;
|
||||
export = bonjour;
|
||||
declare namespace bonjour {
|
||||
/**
|
||||
* Start a browser
|
||||
*
|
||||
* The browser listens for services by querying for PTR records of a given
|
||||
* type, protocol and domain, e.g. _http._tcp.local.
|
||||
*
|
||||
* If no type is given, a wild card search is performed.
|
||||
*
|
||||
* An internal list of online services is kept which starts out empty. When
|
||||
* ever a new service is discovered, it's added to the list and an "up" event
|
||||
* is emitted with that service. When it's discovered that the service is no
|
||||
* longer available, it is removed from the list and a "down" event is emitted
|
||||
* with that service.
|
||||
*/
|
||||
interface Browser extends NodeJS.EventEmitter {
|
||||
services: RemoteService[];
|
||||
start(): void;
|
||||
update(): void;
|
||||
stop(): void;
|
||||
on(event: 'up' | 'down', listener: (service: RemoteService) => void): this;
|
||||
once(event: 'up' | 'down', listener: (service: RemoteService) => void): this;
|
||||
removeListener(event: 'up' | 'down', listener: (service: RemoteService) => void): this;
|
||||
removeAllListeners(event?: 'up' | 'down'): this;
|
||||
}
|
||||
interface BrowserOptions {
|
||||
type?: string | undefined;
|
||||
subtypes?: string[] | undefined;
|
||||
protocol?: string | undefined;
|
||||
txt?: { [key: string]: string } | undefined;
|
||||
}
|
||||
|
||||
interface ServiceOptions {
|
||||
name: string;
|
||||
host?: string | undefined;
|
||||
port: number;
|
||||
type: string;
|
||||
subtypes?: string[] | undefined;
|
||||
protocol?: 'udp'|'tcp' | undefined;
|
||||
txt?: { [key: string]: string } | undefined;
|
||||
probe?: boolean | undefined;
|
||||
}
|
||||
|
||||
interface BaseService {
|
||||
name: string;
|
||||
fqdn: string;
|
||||
host: string;
|
||||
port: number;
|
||||
type: string;
|
||||
protocol: string;
|
||||
subtypes: string[];
|
||||
txt: { [key: string]: string };
|
||||
}
|
||||
interface RemoteService extends BaseService {
|
||||
referer: RemoteInfo;
|
||||
rawTxt: Buffer;
|
||||
addresses: string[];
|
||||
}
|
||||
interface Service extends BaseService, NodeJS.EventEmitter {
|
||||
published: boolean;
|
||||
addresses: string[];
|
||||
|
||||
stop(cb?: () => void): void;
|
||||
start(): void;
|
||||
}
|
||||
interface BonjourOptions {
|
||||
type?: 'udp4' | 'udp6' | undefined;
|
||||
multicast?: boolean | undefined;
|
||||
interface?: string | undefined;
|
||||
port?: number | undefined;
|
||||
ip?: string | undefined;
|
||||
ttl?: number | undefined;
|
||||
loopback?: boolean | undefined;
|
||||
reuseAddr?: boolean | undefined;
|
||||
}
|
||||
interface Bonjour {
|
||||
(opts?: BonjourOptions): Bonjour;
|
||||
publish(options: ServiceOptions): Service;
|
||||
unpublishAll(cb?: () => void): void;
|
||||
find(options: BrowserOptions, onUp?: (service: RemoteService) => void): Browser;
|
||||
findOne(options: BrowserOptions, cb?: (service: RemoteService) => void): Browser;
|
||||
destroy(): void;
|
||||
}
|
||||
}
|
27
node_modules/@types/bonjour/package.json
generated
vendored
Normal file
27
node_modules/@types/bonjour/package.json
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "@types/bonjour",
|
||||
"version": "3.5.10",
|
||||
"description": "TypeScript definitions for bonjour",
|
||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bonjour",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Quentin Lampin",
|
||||
"url": "https://github.com/quentin-ol",
|
||||
"githubUsername": "quentin-ol"
|
||||
}
|
||||
],
|
||||
"main": "",
|
||||
"types": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
||||
"directory": "types/bonjour"
|
||||
},
|
||||
"scripts": {},
|
||||
"dependencies": {
|
||||
"@types/node": "*"
|
||||
},
|
||||
"typesPublisherContentHash": "5613f9d9eb2d0d132e0af9cbafeadfe263bf7c525c715d0db37ba47fb96ccc45",
|
||||
"typeScriptVersion": "3.8"
|
||||
}
|
21
node_modules/@types/color-name/LICENSE
generated
vendored
Normal file
21
node_modules/@types/color-name/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
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
|
16
node_modules/@types/color-name/README.md
generated
vendored
Normal file
16
node_modules/@types/color-name/README.md
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
# Installation
|
||||
> `npm install --save @types/color-name`
|
||||
|
||||
# Summary
|
||||
This package contains type definitions for color-name ( https://github.com/colorjs/color-name ).
|
||||
|
||||
# Details
|
||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/color-name
|
||||
|
||||
Additional Details
|
||||
* Last updated: Wed, 13 Feb 2019 16:16:48 GMT
|
||||
* Dependencies: none
|
||||
* Global values: none
|
||||
|
||||
# Credits
|
||||
These definitions were written by Junyoung Clare Jang <https://github.com/Ailrun>.
|
161
node_modules/@types/color-name/index.d.ts
generated
vendored
Normal file
161
node_modules/@types/color-name/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,161 @@
|
||||
// Type definitions for color-name 1.1
|
||||
// Project: https://github.com/colorjs/color-name
|
||||
// Definitions by: Junyoung Clare Jang <https://github.com/Ailrun>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/**
|
||||
* Tuple of Red, Green, and Blue
|
||||
* @example
|
||||
* // Red = 55, Green = 70, Blue = 0
|
||||
* const rgb: RGB = [55, 70, 0];
|
||||
*/
|
||||
export type RGB = [number, number, number];
|
||||
|
||||
export const aliceblue: RGB;
|
||||
export const antiquewhite: RGB;
|
||||
export const aqua: RGB;
|
||||
export const aquamarine: RGB;
|
||||
export const azure: RGB;
|
||||
export const beige: RGB;
|
||||
export const bisque: RGB;
|
||||
export const black: RGB;
|
||||
export const blanchedalmond: RGB;
|
||||
export const blue: RGB;
|
||||
export const blueviolet: RGB;
|
||||
export const brown: RGB;
|
||||
export const burlywood: RGB;
|
||||
export const cadetblue: RGB;
|
||||
export const chartreuse: RGB;
|
||||
export const chocolate: RGB;
|
||||
export const coral: RGB;
|
||||
export const cornflowerblue: RGB;
|
||||
export const cornsilk: RGB;
|
||||
export const crimson: RGB;
|
||||
export const cyan: RGB;
|
||||
export const darkblue: RGB;
|
||||
export const darkcyan: RGB;
|
||||
export const darkgoldenrod: RGB;
|
||||
export const darkgray: RGB;
|
||||
export const darkgreen: RGB;
|
||||
export const darkgrey: RGB;
|
||||
export const darkkhaki: RGB;
|
||||
export const darkmagenta: RGB;
|
||||
export const darkolivegreen: RGB;
|
||||
export const darkorange: RGB;
|
||||
export const darkorchid: RGB;
|
||||
export const darkred: RGB;
|
||||
export const darksalmon: RGB;
|
||||
export const darkseagreen: RGB;
|
||||
export const darkslateblue: RGB;
|
||||
export const darkslategray: RGB;
|
||||
export const darkslategrey: RGB;
|
||||
export const darkturquoise: RGB;
|
||||
export const darkviolet: RGB;
|
||||
export const deeppink: RGB;
|
||||
export const deepskyblue: RGB;
|
||||
export const dimgray: RGB;
|
||||
export const dimgrey: RGB;
|
||||
export const dodgerblue: RGB;
|
||||
export const firebrick: RGB;
|
||||
export const floralwhite: RGB;
|
||||
export const forestgreen: RGB;
|
||||
export const fuchsia: RGB;
|
||||
export const gainsboro: RGB;
|
||||
export const ghostwhite: RGB;
|
||||
export const gold: RGB;
|
||||
export const goldenrod: RGB;
|
||||
export const gray: RGB;
|
||||
export const green: RGB;
|
||||
export const greenyellow: RGB;
|
||||
export const grey: RGB;
|
||||
export const honeydew: RGB;
|
||||
export const hotpink: RGB;
|
||||
export const indianred: RGB;
|
||||
export const indigo: RGB;
|
||||
export const ivory: RGB;
|
||||
export const khaki: RGB;
|
||||
export const lavender: RGB;
|
||||
export const lavenderblush: RGB;
|
||||
export const lawngreen: RGB;
|
||||
export const lemonchiffon: RGB;
|
||||
export const lightblue: RGB;
|
||||
export const lightcoral: RGB;
|
||||
export const lightcyan: RGB;
|
||||
export const lightgoldenrodyellow: RGB;
|
||||
export const lightgray: RGB;
|
||||
export const lightgreen: RGB;
|
||||
export const lightgrey: RGB;
|
||||
export const lightpink: RGB;
|
||||
export const lightsalmon: RGB;
|
||||
export const lightseagreen: RGB;
|
||||
export const lightskyblue: RGB;
|
||||
export const lightslategray: RGB;
|
||||
export const lightslategrey: RGB;
|
||||
export const lightsteelblue: RGB;
|
||||
export const lightyellow: RGB;
|
||||
export const lime: RGB;
|
||||
export const limegreen: RGB;
|
||||
export const linen: RGB;
|
||||
export const magenta: RGB;
|
||||
export const maroon: RGB;
|
||||
export const mediumaquamarine: RGB;
|
||||
export const mediumblue: RGB;
|
||||
export const mediumorchid: RGB;
|
||||
export const mediumpurple: RGB;
|
||||
export const mediumseagreen: RGB;
|
||||
export const mediumslateblue: RGB;
|
||||
export const mediumspringgreen: RGB;
|
||||
export const mediumturquoise: RGB;
|
||||
export const mediumvioletred: RGB;
|
||||
export const midnightblue: RGB;
|
||||
export const mintcream: RGB;
|
||||
export const mistyrose: RGB;
|
||||
export const moccasin: RGB;
|
||||
export const navajowhite: RGB;
|
||||
export const navy: RGB;
|
||||
export const oldlace: RGB;
|
||||
export const olive: RGB;
|
||||
export const olivedrab: RGB;
|
||||
export const orange: RGB;
|
||||
export const orangered: RGB;
|
||||
export const orchid: RGB;
|
||||
export const palegoldenrod: RGB;
|
||||
export const palegreen: RGB;
|
||||
export const paleturquoise: RGB;
|
||||
export const palevioletred: RGB;
|
||||
export const papayawhip: RGB;
|
||||
export const peachpuff: RGB;
|
||||
export const peru: RGB;
|
||||
export const pink: RGB;
|
||||
export const plum: RGB;
|
||||
export const powderblue: RGB;
|
||||
export const purple: RGB;
|
||||
export const rebeccapurple: RGB;
|
||||
export const red: RGB;
|
||||
export const rosybrown: RGB;
|
||||
export const royalblue: RGB;
|
||||
export const saddlebrown: RGB;
|
||||
export const salmon: RGB;
|
||||
export const sandybrown: RGB;
|
||||
export const seagreen: RGB;
|
||||
export const seashell: RGB;
|
||||
export const sienna: RGB;
|
||||
export const silver: RGB;
|
||||
export const skyblue: RGB;
|
||||
export const slateblue: RGB;
|
||||
export const slategray: RGB;
|
||||
export const slategrey: RGB;
|
||||
export const snow: RGB;
|
||||
export const springgreen: RGB;
|
||||
export const steelblue: RGB;
|
||||
export const tan: RGB;
|
||||
export const teal: RGB;
|
||||
export const thistle: RGB;
|
||||
export const tomato: RGB;
|
||||
export const turquoise: RGB;
|
||||
export const violet: RGB;
|
||||
export const wheat: RGB;
|
||||
export const white: RGB;
|
||||
export const whitesmoke: RGB;
|
||||
export const yellow: RGB;
|
||||
export const yellowgreen: RGB;
|
23
node_modules/@types/color-name/package.json
generated
vendored
Normal file
23
node_modules/@types/color-name/package.json
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "@types/color-name",
|
||||
"version": "1.1.1",
|
||||
"description": "TypeScript definitions for color-name",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Junyoung Clare Jang",
|
||||
"url": "https://github.com/Ailrun",
|
||||
"githubUsername": "Ailrun"
|
||||
}
|
||||
],
|
||||
"main": "",
|
||||
"types": "index",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
|
||||
},
|
||||
"scripts": {},
|
||||
"dependencies": {},
|
||||
"typesPublisherContentHash": "e22c6881e2dcf766e32142cbb82d9acf9c08258bdf0da8e76c8a448d1be44ac7",
|
||||
"typeScriptVersion": "2.0"
|
||||
}
|
21
node_modules/@types/connect-history-api-fallback/LICENSE
generated
vendored
Normal file
21
node_modules/@types/connect-history-api-fallback/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
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
|
57
node_modules/@types/connect-history-api-fallback/README.md
generated
vendored
Normal file
57
node_modules/@types/connect-history-api-fallback/README.md
generated
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
# Installation
|
||||
> `npm install --save @types/connect-history-api-fallback`
|
||||
|
||||
# Summary
|
||||
This package contains type definitions for connect-history-api-fallback (https://github.com/bripkens/connect-history-api-fallback#readme).
|
||||
|
||||
# Details
|
||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect-history-api-fallback.
|
||||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect-history-api-fallback/index.d.ts)
|
||||
````ts
|
||||
// Type definitions for connect-history-api-fallback 1.3
|
||||
// Project: https://github.com/bripkens/connect-history-api-fallback#readme
|
||||
// Definitions by: Douglas Duteil <https://github.com/douglasduteil>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
import { Url } from 'url';
|
||||
|
||||
import * as core from "express-serve-static-core";
|
||||
|
||||
export = historyApiFallback;
|
||||
|
||||
declare function historyApiFallback(options?: historyApiFallback.Options): core.RequestHandler;
|
||||
|
||||
declare namespace historyApiFallback {
|
||||
interface Options {
|
||||
readonly disableDotRule?: true | undefined;
|
||||
readonly htmlAcceptHeaders?: ReadonlyArray<string> | undefined;
|
||||
readonly index?: string | undefined;
|
||||
readonly logger?: typeof console.log | undefined;
|
||||
readonly rewrites?: ReadonlyArray<Rewrite> | undefined;
|
||||
readonly verbose?: boolean | undefined;
|
||||
}
|
||||
|
||||
interface Context {
|
||||
readonly match: RegExpMatchArray;
|
||||
readonly parsedUrl: Url;
|
||||
}
|
||||
type RewriteTo = (context: Context) => string;
|
||||
|
||||
interface Rewrite {
|
||||
readonly from: RegExp;
|
||||
readonly to: string | RegExp | RewriteTo;
|
||||
}
|
||||
}
|
||||
|
||||
````
|
||||
|
||||
### Additional Details
|
||||
* Last updated: Tue, 06 Jul 2021 18:05:59 GMT
|
||||
* Dependencies: [@types/express-serve-static-core](https://npmjs.com/package/@types/express-serve-static-core), [@types/node](https://npmjs.com/package/@types/node)
|
||||
* Global values: none
|
||||
|
||||
# Credits
|
||||
These definitions were written by [Douglas Duteil](https://github.com/douglasduteil).
|
37
node_modules/@types/connect-history-api-fallback/index.d.ts
generated
vendored
Normal file
37
node_modules/@types/connect-history-api-fallback/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
// Type definitions for connect-history-api-fallback 1.3
|
||||
// Project: https://github.com/bripkens/connect-history-api-fallback#readme
|
||||
// Definitions by: Douglas Duteil <https://github.com/douglasduteil>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
import { Url } from 'url';
|
||||
|
||||
import * as core from "express-serve-static-core";
|
||||
|
||||
export = historyApiFallback;
|
||||
|
||||
declare function historyApiFallback(options?: historyApiFallback.Options): core.RequestHandler;
|
||||
|
||||
declare namespace historyApiFallback {
|
||||
interface Options {
|
||||
readonly disableDotRule?: true | undefined;
|
||||
readonly htmlAcceptHeaders?: ReadonlyArray<string> | undefined;
|
||||
readonly index?: string | undefined;
|
||||
readonly logger?: typeof console.log | undefined;
|
||||
readonly rewrites?: ReadonlyArray<Rewrite> | undefined;
|
||||
readonly verbose?: boolean | undefined;
|
||||
}
|
||||
|
||||
interface Context {
|
||||
readonly match: RegExpMatchArray;
|
||||
readonly parsedUrl: Url;
|
||||
}
|
||||
type RewriteTo = (context: Context) => string;
|
||||
|
||||
interface Rewrite {
|
||||
readonly from: RegExp;
|
||||
readonly to: string | RegExp | RewriteTo;
|
||||
}
|
||||
}
|
28
node_modules/@types/connect-history-api-fallback/package.json
generated
vendored
Normal file
28
node_modules/@types/connect-history-api-fallback/package.json
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "@types/connect-history-api-fallback",
|
||||
"version": "1.3.5",
|
||||
"description": "TypeScript definitions for connect-history-api-fallback",
|
||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect-history-api-fallback",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Douglas Duteil",
|
||||
"url": "https://github.com/douglasduteil",
|
||||
"githubUsername": "douglasduteil"
|
||||
}
|
||||
],
|
||||
"main": "",
|
||||
"types": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
||||
"directory": "types/connect-history-api-fallback"
|
||||
},
|
||||
"scripts": {},
|
||||
"dependencies": {
|
||||
"@types/express-serve-static-core": "*",
|
||||
"@types/node": "*"
|
||||
},
|
||||
"typesPublisherContentHash": "a24785c4139e895dbf093b9cba3ee1b0ce5709a928e6a36ac4ae4161c74399ff",
|
||||
"typeScriptVersion": "3.6"
|
||||
}
|
21
node_modules/@types/connect/LICENSE
generated
vendored
Normal file
21
node_modules/@types/connect/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
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
|
16
node_modules/@types/connect/README.md
generated
vendored
Normal file
16
node_modules/@types/connect/README.md
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
# Installation
|
||||
> `npm install --save @types/connect`
|
||||
|
||||
# Summary
|
||||
This package contains type definitions for connect (https://github.com/senchalabs/connect).
|
||||
|
||||
# Details
|
||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect.
|
||||
|
||||
### Additional Details
|
||||
* Last updated: Tue, 06 Jul 2021 20:32:28 GMT
|
||||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
||||
* Global values: none
|
||||
|
||||
# Credits
|
||||
These definitions were written by [Maxime LUCE](https://github.com/SomaticIT), and [Evan Hahn](https://github.com/EvanHahn).
|
93
node_modules/@types/connect/index.d.ts
generated
vendored
Normal file
93
node_modules/@types/connect/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,93 @@
|
||||
// Type definitions for connect v3.4.0
|
||||
// Project: https://github.com/senchalabs/connect
|
||||
// Definitions by: Maxime LUCE <https://github.com/SomaticIT>
|
||||
// Evan Hahn <https://github.com/EvanHahn>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
|
||||
import * as http from "http";
|
||||
|
||||
/**
|
||||
* Create a new connect server.
|
||||
*/
|
||||
declare function createServer(): createServer.Server;
|
||||
|
||||
declare namespace createServer {
|
||||
export type ServerHandle = HandleFunction | http.Server;
|
||||
|
||||
export class IncomingMessage extends http.IncomingMessage {
|
||||
originalUrl?: http.IncomingMessage["url"] | undefined;
|
||||
}
|
||||
|
||||
type NextFunction = (err?: any) => void;
|
||||
|
||||
export type SimpleHandleFunction = (req: IncomingMessage, res: http.ServerResponse) => void;
|
||||
export type NextHandleFunction = (req: IncomingMessage, res: http.ServerResponse, next: NextFunction) => void;
|
||||
export type ErrorHandleFunction = (err: any, req: IncomingMessage, res: http.ServerResponse, next: NextFunction) => void;
|
||||
export type HandleFunction = SimpleHandleFunction | NextHandleFunction | ErrorHandleFunction;
|
||||
|
||||
export interface ServerStackItem {
|
||||
route: string;
|
||||
handle: ServerHandle;
|
||||
}
|
||||
|
||||
export interface Server extends NodeJS.EventEmitter {
|
||||
(req: http.IncomingMessage, res: http.ServerResponse, next?: Function): void;
|
||||
|
||||
route: string;
|
||||
stack: ServerStackItem[];
|
||||
|
||||
/**
|
||||
* Utilize the given middleware `handle` to the given `route`,
|
||||
* defaulting to _/_. This "route" is the mount-point for the
|
||||
* middleware, when given a value other than _/_ the middleware
|
||||
* is only effective when that segment is present in the request's
|
||||
* pathname.
|
||||
*
|
||||
* For example if we were to mount a function at _/admin_, it would
|
||||
* be invoked on _/admin_, and _/admin/settings_, however it would
|
||||
* not be invoked for _/_, or _/posts_.
|
||||
*/
|
||||
use(fn: NextHandleFunction): Server;
|
||||
use(fn: HandleFunction): Server;
|
||||
use(route: string, fn: NextHandleFunction): Server;
|
||||
use(route: string, fn: HandleFunction): Server;
|
||||
|
||||
/**
|
||||
* Handle server requests, punting them down
|
||||
* the middleware stack.
|
||||
*/
|
||||
handle(req: http.IncomingMessage, res: http.ServerResponse, next: Function): void;
|
||||
|
||||
/**
|
||||
* Listen for connections.
|
||||
*
|
||||
* This method takes the same arguments
|
||||
* as node's `http.Server#listen()`.
|
||||
*
|
||||
* HTTP and HTTPS:
|
||||
*
|
||||
* If you run your application both as HTTP
|
||||
* and HTTPS you may wrap them individually,
|
||||
* since your Connect "server" is really just
|
||||
* a JavaScript `Function`.
|
||||
*
|
||||
* var connect = require('connect')
|
||||
* , http = require('http')
|
||||
* , https = require('https');
|
||||
*
|
||||
* var app = connect();
|
||||
*
|
||||
* http.createServer(app).listen(80);
|
||||
* https.createServer(options, app).listen(443);
|
||||
*/
|
||||
listen(port: number, hostname?: string, backlog?: number, callback?: Function): http.Server;
|
||||
listen(port: number, hostname?: string, callback?: Function): http.Server;
|
||||
listen(path: string, callback?: Function): http.Server;
|
||||
listen(handle: any, listeningListener?: Function): http.Server;
|
||||
}
|
||||
}
|
||||
|
||||
export = createServer;
|
32
node_modules/@types/connect/package.json
generated
vendored
Normal file
32
node_modules/@types/connect/package.json
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "@types/connect",
|
||||
"version": "3.4.35",
|
||||
"description": "TypeScript definitions for connect",
|
||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Maxime LUCE",
|
||||
"url": "https://github.com/SomaticIT",
|
||||
"githubUsername": "SomaticIT"
|
||||
},
|
||||
{
|
||||
"name": "Evan Hahn",
|
||||
"url": "https://github.com/EvanHahn",
|
||||
"githubUsername": "EvanHahn"
|
||||
}
|
||||
],
|
||||
"main": "",
|
||||
"types": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
||||
"directory": "types/connect"
|
||||
},
|
||||
"scripts": {},
|
||||
"dependencies": {
|
||||
"@types/node": "*"
|
||||
},
|
||||
"typesPublisherContentHash": "09c0dcec5f675cb2bdd7487a85447955f769ef4ab174294478c4f055b528fecc",
|
||||
"typeScriptVersion": "3.6"
|
||||
}
|
21
node_modules/@types/eslint-scope/LICENSE
generated
vendored
Normal file
21
node_modules/@types/eslint-scope/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
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
|
85
node_modules/@types/eslint-scope/README.md
generated
vendored
Normal file
85
node_modules/@types/eslint-scope/README.md
generated
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
# Installation
|
||||
> `npm install --save @types/eslint-scope`
|
||||
|
||||
# Summary
|
||||
This package contains type definitions for eslint-scope (https://github.com/eslint/eslint-scope).
|
||||
|
||||
# Details
|
||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint-scope.
|
||||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint-scope/index.d.ts)
|
||||
````ts
|
||||
// Type definitions for eslint-scope 3.7
|
||||
// Project: https://github.com/eslint/eslint-scope
|
||||
// Definitions by: Toru Nagashima <https://github.com/mysticatea>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 3.8
|
||||
import * as eslint from "eslint";
|
||||
import * as estree from "estree";
|
||||
|
||||
export const version: string;
|
||||
|
||||
export class ScopeManager implements eslint.Scope.ScopeManager {
|
||||
scopes: Scope[];
|
||||
globalScope: Scope;
|
||||
acquire(node: {}, inner?: boolean): Scope | null;
|
||||
getDeclaredVariables(node: {}): Variable[];
|
||||
}
|
||||
|
||||
export class Scope implements eslint.Scope.Scope {
|
||||
type: "block" | "catch" | "class" | "for" | "function" | "function-expression-name" | "global" | "module" | "switch" | "with" | "TDZ";
|
||||
isStrict: boolean;
|
||||
upper: Scope | null;
|
||||
childScopes: Scope[];
|
||||
variableScope: Scope;
|
||||
block: estree.Node;
|
||||
variables: Variable[];
|
||||
set: Map<string, Variable>;
|
||||
references: Reference[];
|
||||
through: Reference[];
|
||||
functionExpressionScope: boolean;
|
||||
}
|
||||
|
||||
export class Variable implements eslint.Scope.Variable {
|
||||
name: string;
|
||||
scope: Scope;
|
||||
identifiers: estree.Identifier[];
|
||||
references: Reference[];
|
||||
defs: eslint.Scope.Definition[];
|
||||
}
|
||||
|
||||
export class Reference implements eslint.Scope.Reference {
|
||||
identifier: estree.Identifier;
|
||||
from: Scope;
|
||||
resolved: Variable | null;
|
||||
writeExpr: estree.Node | null;
|
||||
init: boolean;
|
||||
|
||||
isWrite(): boolean;
|
||||
isRead(): boolean;
|
||||
isWriteOnly(): boolean;
|
||||
isReadOnly(): boolean;
|
||||
isReadWrite(): boolean;
|
||||
}
|
||||
|
||||
export interface AnalysisOptions {
|
||||
optimistic?: boolean;
|
||||
directive?: boolean;
|
||||
ignoreEval?: boolean;
|
||||
nodejsScope?: boolean;
|
||||
impliedStrict?: boolean;
|
||||
fallback?: string | ((node: {}) => string[]);
|
||||
sourceType?: "script" | "module";
|
||||
ecmaVersion?: number;
|
||||
}
|
||||
|
||||
export function analyze(ast: {}, options?: AnalysisOptions): ScopeManager;
|
||||
|
||||
````
|
||||
|
||||
### Additional Details
|
||||
* Last updated: Thu, 30 Jun 2022 19:02:28 GMT
|
||||
* Dependencies: [@types/eslint](https://npmjs.com/package/@types/eslint), [@types/estree](https://npmjs.com/package/@types/estree)
|
||||
* Global values: none
|
||||
|
||||
# Credits
|
||||
These definitions were written by [Toru Nagashima](https://github.com/mysticatea).
|
65
node_modules/@types/eslint-scope/index.d.ts
generated
vendored
Normal file
65
node_modules/@types/eslint-scope/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
// Type definitions for eslint-scope 3.7
|
||||
// Project: https://github.com/eslint/eslint-scope
|
||||
// Definitions by: Toru Nagashima <https://github.com/mysticatea>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 3.8
|
||||
import * as eslint from "eslint";
|
||||
import * as estree from "estree";
|
||||
|
||||
export const version: string;
|
||||
|
||||
export class ScopeManager implements eslint.Scope.ScopeManager {
|
||||
scopes: Scope[];
|
||||
globalScope: Scope;
|
||||
acquire(node: {}, inner?: boolean): Scope | null;
|
||||
getDeclaredVariables(node: {}): Variable[];
|
||||
}
|
||||
|
||||
export class Scope implements eslint.Scope.Scope {
|
||||
type: "block" | "catch" | "class" | "for" | "function" | "function-expression-name" | "global" | "module" | "switch" | "with" | "TDZ";
|
||||
isStrict: boolean;
|
||||
upper: Scope | null;
|
||||
childScopes: Scope[];
|
||||
variableScope: Scope;
|
||||
block: estree.Node;
|
||||
variables: Variable[];
|
||||
set: Map<string, Variable>;
|
||||
references: Reference[];
|
||||
through: Reference[];
|
||||
functionExpressionScope: boolean;
|
||||
}
|
||||
|
||||
export class Variable implements eslint.Scope.Variable {
|
||||
name: string;
|
||||
scope: Scope;
|
||||
identifiers: estree.Identifier[];
|
||||
references: Reference[];
|
||||
defs: eslint.Scope.Definition[];
|
||||
}
|
||||
|
||||
export class Reference implements eslint.Scope.Reference {
|
||||
identifier: estree.Identifier;
|
||||
from: Scope;
|
||||
resolved: Variable | null;
|
||||
writeExpr: estree.Node | null;
|
||||
init: boolean;
|
||||
|
||||
isWrite(): boolean;
|
||||
isRead(): boolean;
|
||||
isWriteOnly(): boolean;
|
||||
isReadOnly(): boolean;
|
||||
isReadWrite(): boolean;
|
||||
}
|
||||
|
||||
export interface AnalysisOptions {
|
||||
optimistic?: boolean;
|
||||
directive?: boolean;
|
||||
ignoreEval?: boolean;
|
||||
nodejsScope?: boolean;
|
||||
impliedStrict?: boolean;
|
||||
fallback?: string | ((node: {}) => string[]);
|
||||
sourceType?: "script" | "module";
|
||||
ecmaVersion?: number;
|
||||
}
|
||||
|
||||
export function analyze(ast: {}, options?: AnalysisOptions): ScopeManager;
|
28
node_modules/@types/eslint-scope/package.json
generated
vendored
Normal file
28
node_modules/@types/eslint-scope/package.json
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "@types/eslint-scope",
|
||||
"version": "3.7.4",
|
||||
"description": "TypeScript definitions for eslint-scope",
|
||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint-scope",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Toru Nagashima",
|
||||
"url": "https://github.com/mysticatea",
|
||||
"githubUsername": "mysticatea"
|
||||
}
|
||||
],
|
||||
"main": "",
|
||||
"types": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
||||
"directory": "types/eslint-scope"
|
||||
},
|
||||
"scripts": {},
|
||||
"dependencies": {
|
||||
"@types/eslint": "*",
|
||||
"@types/estree": "*"
|
||||
},
|
||||
"typesPublisherContentHash": "81c8e26e146b6b132a88bc06480ec59c5006561f35388cbc65756710cd486f05",
|
||||
"typeScriptVersion": "4.0"
|
||||
}
|
21
node_modules/@types/eslint/LICENSE
generated
vendored
Normal file
21
node_modules/@types/eslint/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
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
|
16
node_modules/@types/eslint/README.md
generated
vendored
Normal file
16
node_modules/@types/eslint/README.md
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
# Installation
|
||||
> `npm install --save @types/eslint`
|
||||
|
||||
# Summary
|
||||
This package contains type definitions for eslint (https://eslint.org).
|
||||
|
||||
# Details
|
||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint.
|
||||
|
||||
### Additional Details
|
||||
* Last updated: Thu, 30 Jun 2022 21:32:21 GMT
|
||||
* Dependencies: [@types/estree](https://npmjs.com/package/@types/estree), [@types/json-schema](https://npmjs.com/package/@types/json-schema)
|
||||
* Global values: none
|
||||
|
||||
# Credits
|
||||
These definitions were written by [Pierre-Marie Dartus](https://github.com/pmdartus), [Jed Fox](https://github.com/j-f1), [Saad Quadri](https://github.com/saadq), [Jason Kwok](https://github.com/JasonHK), [Brad Zacher](https://github.com/bradzacher), and [JounQin](https://github.com/JounQin).
|
3
node_modules/@types/eslint/helpers.d.ts
generated
vendored
Normal file
3
node_modules/@types/eslint/helpers.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
type Prepend<Tuple extends any[], Addend> = ((_: Addend, ..._1: Tuple) => any) extends (..._: infer Result) => any
|
||||
? Result
|
||||
: never;
|
978
node_modules/@types/eslint/index.d.ts
generated
vendored
Normal file
978
node_modules/@types/eslint/index.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
65
node_modules/@types/eslint/package.json
generated
vendored
Normal file
65
node_modules/@types/eslint/package.json
generated
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"name": "@types/eslint",
|
||||
"version": "8.4.5",
|
||||
"description": "TypeScript definitions for eslint",
|
||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Pierre-Marie Dartus",
|
||||
"url": "https://github.com/pmdartus",
|
||||
"githubUsername": "pmdartus"
|
||||
},
|
||||
{
|
||||
"name": "Jed Fox",
|
||||
"url": "https://github.com/j-f1",
|
||||
"githubUsername": "j-f1"
|
||||
},
|
||||
{
|
||||
"name": "Saad Quadri",
|
||||
"url": "https://github.com/saadq",
|
||||
"githubUsername": "saadq"
|
||||
},
|
||||
{
|
||||
"name": "Jason Kwok",
|
||||
"url": "https://github.com/JasonHK",
|
||||
"githubUsername": "JasonHK"
|
||||
},
|
||||
{
|
||||
"name": "Brad Zacher",
|
||||
"url": "https://github.com/bradzacher",
|
||||
"githubUsername": "bradzacher"
|
||||
},
|
||||
{
|
||||
"name": "JounQin",
|
||||
"url": "https://github.com/JounQin",
|
||||
"githubUsername": "JounQin"
|
||||
}
|
||||
],
|
||||
"main": "",
|
||||
"types": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
||||
"directory": "types/eslint"
|
||||
},
|
||||
"scripts": {},
|
||||
"dependencies": {
|
||||
"@types/estree": "*",
|
||||
"@types/json-schema": "*"
|
||||
},
|
||||
"typesPublisherContentHash": "b0eb8273aab0241131ce07d2a5be9928c33a435e8ae28f856c74035c96114c9b",
|
||||
"typeScriptVersion": "4.0",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./index.d.ts"
|
||||
},
|
||||
"./use-at-your-own-risk": {
|
||||
"types": "./use-at-your-own-risk.d.ts"
|
||||
},
|
||||
"./rules": {
|
||||
"types": "./rules/index.d.ts"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
}
|
931
node_modules/@types/eslint/rules/best-practices.d.ts
generated
vendored
Normal file
931
node_modules/@types/eslint/rules/best-practices.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
267
node_modules/@types/eslint/rules/deprecated.d.ts
generated
vendored
Normal file
267
node_modules/@types/eslint/rules/deprecated.d.ts
generated
vendored
Normal file
@@ -0,0 +1,267 @@
|
||||
import { Linter } from "../index";
|
||||
|
||||
export interface Deprecated extends Linter.RulesRecord {
|
||||
/**
|
||||
* Rule to enforce consistent indentation.
|
||||
*
|
||||
* @since 4.0.0-alpha.0
|
||||
* @deprecated since 4.0.0, use [`indent`](https://eslint.org/docs/rules/indent) instead.
|
||||
* @see https://eslint.org/docs/rules/indent-legacy
|
||||
*/
|
||||
"indent-legacy": Linter.RuleEntry<
|
||||
[
|
||||
number | "tab",
|
||||
Partial<{
|
||||
/**
|
||||
* @default 0
|
||||
*/
|
||||
SwitchCase: number;
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
VariableDeclarator:
|
||||
| Partial<{
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
var: number | "first";
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
let: number | "first";
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
const: number | "first";
|
||||
}>
|
||||
| number
|
||||
| "first";
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
outerIIFEBody: number;
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
MemberExpression: number | "off";
|
||||
/**
|
||||
* @default { parameters: 1, body: 1 }
|
||||
*/
|
||||
FunctionDeclaration: Partial<{
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
parameters: number | "first" | "off";
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
body: number;
|
||||
}>;
|
||||
/**
|
||||
* @default { parameters: 1, body: 1 }
|
||||
*/
|
||||
FunctionExpression: Partial<{
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
parameters: number | "first" | "off";
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
body: number;
|
||||
}>;
|
||||
/**
|
||||
* @default { arguments: 1 }
|
||||
*/
|
||||
CallExpression: Partial<{
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
arguments: number | "first" | "off";
|
||||
}>;
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
ArrayExpression: number | "first" | "off";
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
ObjectExpression: number | "first" | "off";
|
||||
/**
|
||||
* @default 1
|
||||
*/
|
||||
ImportDeclaration: number | "first" | "off";
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
flatTernaryExpressions: boolean;
|
||||
ignoredNodes: string[];
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
ignoreComments: boolean;
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to require or disallow newlines around directives.
|
||||
*
|
||||
* @since 3.5.0
|
||||
* @deprecated since 4.0.0, use [`padding-line-between-statements`](https://eslint.org/docs/rules/padding-line-between-statements) instead.
|
||||
* @see https://eslint.org/docs/rules/lines-around-directive
|
||||
*/
|
||||
"lines-around-directive": Linter.RuleEntry<["always" | "never"]>;
|
||||
|
||||
/**
|
||||
* Rule to require or disallow an empty line after variable declarations.
|
||||
*
|
||||
* @since 0.18.0
|
||||
* @deprecated since 4.0.0, use [`padding-line-between-statements`](https://eslint.org/docs/rules/padding-line-between-statements) instead.
|
||||
* @see https://eslint.org/docs/rules/newline-after-var
|
||||
*/
|
||||
"newline-after-var": Linter.RuleEntry<["always" | "never"]>;
|
||||
|
||||
/**
|
||||
* Rule to require an empty line before `return` statements.
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @deprecated since 4.0.0, use [`padding-line-between-statements`](https://eslint.org/docs/rules/padding-line-between-statements) instead.
|
||||
* @see https://eslint.org/docs/rules/newline-before-return
|
||||
*/
|
||||
"newline-before-return": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow shadowing of variables inside of `catch`.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @deprecated since 5.1.0, use [`no-shadow`](https://eslint.org/docs/rules/no-shadow) instead.
|
||||
* @see https://eslint.org/docs/rules/no-catch-shadow
|
||||
*/
|
||||
"no-catch-shadow": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow reassignment of native objects.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @deprecated since 3.3.0, use [`no-global-assign`](https://eslint.org/docs/rules/no-global-assign) instead.
|
||||
* @see https://eslint.org/docs/rules/no-native-reassign
|
||||
*/
|
||||
"no-native-reassign": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
exceptions: string[];
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow negating the left operand in `in` expressions.
|
||||
*
|
||||
* @since 0.1.2
|
||||
* @deprecated since 3.3.0, use [`no-unsafe-negation`](https://eslint.org/docs/rules/no-unsafe-negation) instead.
|
||||
* @see https://eslint.org/docs/rules/no-negated-in-lhs
|
||||
*/
|
||||
"no-negated-in-lhs": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow spacing between function identifiers and their applications.
|
||||
*
|
||||
* @since 0.1.2
|
||||
* @deprecated since 3.3.0, use [`func-call-spacing`](https://eslint.org/docs/rules/func-call-spacing) instead.
|
||||
* @see https://eslint.org/docs/rules/no-spaced-func
|
||||
*/
|
||||
"no-spaced-func": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to suggest using `Reflect` methods where applicable.
|
||||
*
|
||||
* @since 1.0.0-rc-2
|
||||
* @deprecated since 3.9.0
|
||||
* @see https://eslint.org/docs/rules/prefer-reflect
|
||||
*/
|
||||
"prefer-reflect": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
exceptions: string[];
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to require JSDoc comments.
|
||||
*
|
||||
* @since 1.4.0
|
||||
* @deprecated since 5.10.0
|
||||
* @see https://eslint.org/docs/rules/require-jsdoc
|
||||
*/
|
||||
"require-jsdoc": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
require: Partial<{
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
FunctionDeclaration: boolean;
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
MethodDefinition: boolean;
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
ClassDeclaration: boolean;
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
ArrowFunctionExpression: boolean;
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
FunctionExpression: boolean;
|
||||
}>;
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to enforce valid JSDoc comments.
|
||||
*
|
||||
* @since 0.4.0
|
||||
* @deprecated since 5.10.0
|
||||
* @see https://eslint.org/docs/rules/valid-jsdoc
|
||||
*/
|
||||
"valid-jsdoc": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
prefer: Record<string, string>;
|
||||
preferType: Record<string, string>;
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
requireReturn: boolean;
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
requireReturnType: boolean;
|
||||
/**
|
||||
* @remarks
|
||||
* Also accept for regular expression pattern
|
||||
*/
|
||||
matchDescription: string;
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
requireParamDescription: boolean;
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
requireReturnDescription: boolean;
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
requireParamType: boolean;
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
}
|
502
node_modules/@types/eslint/rules/ecmascript-6.d.ts
generated
vendored
Normal file
502
node_modules/@types/eslint/rules/ecmascript-6.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
21
node_modules/@types/eslint/rules/index.d.ts
generated
vendored
Normal file
21
node_modules/@types/eslint/rules/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import { Linter } from "../index";
|
||||
|
||||
import { BestPractices } from "./best-practices";
|
||||
import { Deprecated } from "./deprecated";
|
||||
import { ECMAScript6 } from "./ecmascript-6";
|
||||
import { NodeJSAndCommonJS } from "./node-commonjs";
|
||||
import { PossibleErrors } from "./possible-errors";
|
||||
import { StrictMode } from "./strict-mode";
|
||||
import { StylisticIssues } from "./stylistic-issues";
|
||||
import { Variables } from "./variables";
|
||||
|
||||
export interface ESLintRules
|
||||
extends Linter.RulesRecord,
|
||||
PossibleErrors,
|
||||
BestPractices,
|
||||
StrictMode,
|
||||
Variables,
|
||||
NodeJSAndCommonJS,
|
||||
StylisticIssues,
|
||||
ECMAScript6,
|
||||
Deprecated {}
|
133
node_modules/@types/eslint/rules/node-commonjs.d.ts
generated
vendored
Normal file
133
node_modules/@types/eslint/rules/node-commonjs.d.ts
generated
vendored
Normal file
@@ -0,0 +1,133 @@
|
||||
import { Linter } from "../index";
|
||||
|
||||
export interface NodeJSAndCommonJS extends Linter.RulesRecord {
|
||||
/**
|
||||
* Rule to require `return` statements after callbacks.
|
||||
*
|
||||
* @since 1.0.0-rc-1
|
||||
* @see https://eslint.org/docs/rules/callback-return
|
||||
*/
|
||||
"callback-return": Linter.RuleEntry<[string[]]>;
|
||||
|
||||
/**
|
||||
* Rule to require `require()` calls to be placed at top-level module scope.
|
||||
*
|
||||
* @since 1.4.0
|
||||
* @see https://eslint.org/docs/rules/global-require
|
||||
*/
|
||||
"global-require": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to require error handling in callbacks.
|
||||
*
|
||||
* @since 0.4.5
|
||||
* @see https://eslint.org/docs/rules/handle-callback-err
|
||||
*/
|
||||
"handle-callback-err": Linter.RuleEntry<[string]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow use of the `Buffer()` constructor.
|
||||
*
|
||||
* @since 4.0.0-alpha.0
|
||||
* @see https://eslint.org/docs/rules/no-buffer-constructor
|
||||
*/
|
||||
"no-buffer-constructor": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow `require` calls to be mixed with regular variable declarations.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-mixed-requires
|
||||
*/
|
||||
"no-mixed-requires": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
grouping: boolean;
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
allowCall: boolean;
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow `new` operators with calls to `require`.
|
||||
*
|
||||
* @since 0.6.0
|
||||
* @see https://eslint.org/docs/rules/no-new-require
|
||||
*/
|
||||
"no-new-require": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow string concatenation when using `__dirname` and `__filename`.
|
||||
*
|
||||
* @since 0.4.0
|
||||
* @see https://eslint.org/docs/rules/no-path-concat
|
||||
*/
|
||||
"no-path-concat": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow the use of `process.env`.
|
||||
*
|
||||
* @since 0.9.0
|
||||
* @see https://eslint.org/docs/rules/no-process-env
|
||||
*/
|
||||
"no-process-env": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow the use of `process.exit()`.
|
||||
*
|
||||
* @since 0.4.0
|
||||
* @see https://eslint.org/docs/rules/no-process-exit
|
||||
*/
|
||||
"no-process-exit": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow specified modules when loaded by `require`.
|
||||
*
|
||||
* @since 0.6.0
|
||||
* @see https://eslint.org/docs/rules/no-restricted-modules
|
||||
*/
|
||||
"no-restricted-modules": Linter.RuleEntry<
|
||||
[
|
||||
...Array<
|
||||
| string
|
||||
| {
|
||||
name: string;
|
||||
message?: string | undefined;
|
||||
}
|
||||
| Partial<{
|
||||
paths: Array<
|
||||
| string
|
||||
| {
|
||||
name: string;
|
||||
message?: string | undefined;
|
||||
}
|
||||
>;
|
||||
patterns: string[];
|
||||
}>
|
||||
>
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow synchronous methods.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-sync
|
||||
*/
|
||||
"no-sync": Linter.RuleEntry<
|
||||
[
|
||||
{
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
allowAtRootLevel: boolean;
|
||||
},
|
||||
]
|
||||
>;
|
||||
}
|
484
node_modules/@types/eslint/rules/possible-errors.d.ts
generated
vendored
Normal file
484
node_modules/@types/eslint/rules/possible-errors.d.ts
generated
vendored
Normal file
@@ -0,0 +1,484 @@
|
||||
import { Linter } from "../index";
|
||||
|
||||
export interface PossibleErrors extends Linter.RulesRecord {
|
||||
/**
|
||||
* Rule to enforce `for` loop update clause moving the counter in the right direction.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 4.0.0-beta.0
|
||||
* @see https://eslint.org/docs/rules/for-direction
|
||||
*/
|
||||
"for-direction": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to enforce `return` statements in getters.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 4.2.0
|
||||
* @see https://eslint.org/docs/rules/getter-return
|
||||
*/
|
||||
"getter-return": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
allowImplicit: boolean;
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow using an async function as a `Promise` executor.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 5.3.0
|
||||
* @see https://eslint.org/docs/rules/no-async-promise-executor
|
||||
*/
|
||||
"no-async-promise-executor": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow `await` inside of loops.
|
||||
*
|
||||
* @since 3.12.0
|
||||
* @see https://eslint.org/docs/rules/no-await-in-loop
|
||||
*/
|
||||
"no-await-in-loop": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow comparing against `-0`.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 3.17.0
|
||||
* @see https://eslint.org/docs/rules/no-compare-neg-zero
|
||||
*/
|
||||
"no-compare-neg-zero": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow assignment operators in conditional statements.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-cond-assign
|
||||
*/
|
||||
"no-cond-assign": Linter.RuleEntry<["except-parens" | "always"]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow the use of `console`.
|
||||
*
|
||||
* @since 0.0.2
|
||||
* @see https://eslint.org/docs/rules/no-console
|
||||
*/
|
||||
"no-console": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
allow: Array<keyof Console>;
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow constant expressions in conditions.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.4.1
|
||||
* @see https://eslint.org/docs/rules/no-constant-condition
|
||||
*/
|
||||
"no-constant-condition": Linter.RuleEntry<
|
||||
[
|
||||
{
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
checkLoops: boolean;
|
||||
},
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow control characters in regular expressions.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.1.0
|
||||
* @see https://eslint.org/docs/rules/no-control-regex
|
||||
*/
|
||||
"no-control-regex": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow the use of `debugger`.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.2
|
||||
* @see https://eslint.org/docs/rules/no-debugger
|
||||
*/
|
||||
"no-debugger": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow duplicate arguments in `function` definitions.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.16.0
|
||||
* @see https://eslint.org/docs/rules/no-dupe-args
|
||||
*/
|
||||
"no-dupe-args": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow duplicate keys in object literals.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-dupe-keys
|
||||
*/
|
||||
"no-dupe-keys": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow a duplicate case label.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.17.0
|
||||
* @see https://eslint.org/docs/rules/no-duplicate-case
|
||||
*/
|
||||
"no-duplicate-case": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow empty block statements.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.2
|
||||
* @see https://eslint.org/docs/rules/no-empty
|
||||
*/
|
||||
"no-empty": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
allowEmptyCatch: boolean;
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow empty character classes in regular expressions.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.22.0
|
||||
* @see https://eslint.org/docs/rules/no-empty-character-class
|
||||
*/
|
||||
"no-empty-character-class": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow reassigning exceptions in `catch` clauses.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-ex-assign
|
||||
*/
|
||||
"no-ex-assign": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow unnecessary boolean casts.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.4.0
|
||||
* @see https://eslint.org/docs/rules/no-extra-boolean-cast
|
||||
*/
|
||||
"no-extra-boolean-cast": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow unnecessary parentheses.
|
||||
*
|
||||
* @since 0.1.4
|
||||
* @see https://eslint.org/docs/rules/no-extra-parens
|
||||
*/
|
||||
"no-extra-parens":
|
||||
| Linter.RuleEntry<
|
||||
[
|
||||
"all",
|
||||
Partial<{
|
||||
/**
|
||||
* @default true,
|
||||
*/
|
||||
conditionalAssign: boolean;
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
returnAssign: boolean;
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
nestedBinaryExpressions: boolean;
|
||||
/**
|
||||
* @default 'none'
|
||||
*/
|
||||
ignoreJSX: "none" | "all" | "multi-line" | "single-line";
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
enforceForArrowConditionals: boolean;
|
||||
}>,
|
||||
]
|
||||
>
|
||||
| Linter.RuleEntry<["functions"]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow unnecessary semicolons.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-extra-semi
|
||||
*/
|
||||
"no-extra-semi": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow reassigning `function` declarations.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-func-assign
|
||||
*/
|
||||
"no-func-assign": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow variable or `function` declarations in nested blocks.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.6.0
|
||||
* @see https://eslint.org/docs/rules/no-inner-declarations
|
||||
*/
|
||||
"no-inner-declarations": Linter.RuleEntry<["functions" | "both"]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow invalid regular expression strings in `RegExp` constructors.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.1.4
|
||||
* @see https://eslint.org/docs/rules/no-invalid-regexp
|
||||
*/
|
||||
"no-invalid-regexp": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
allowConstructorFlags: string[];
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow irregular whitespace.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.9.0
|
||||
* @see https://eslint.org/docs/rules/no-irregular-whitespace
|
||||
*/
|
||||
"no-irregular-whitespace": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
skipStrings: boolean;
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
skipComments: boolean;
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
skipRegExps: boolean;
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
skipTemplates: boolean;
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow characters which are made with multiple code points in character class syntax.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 5.3.0
|
||||
* @see https://eslint.org/docs/rules/no-misleading-character-class
|
||||
*/
|
||||
"no-misleading-character-class": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow calling global object properties as functions.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-obj-calls
|
||||
*/
|
||||
"no-obj-calls": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow use of `Object.prototypes` builtins directly.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 2.11.0
|
||||
* @see https://eslint.org/docs/rules/no-prototype-builtins
|
||||
*/
|
||||
"no-prototype-builtins": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow multiple spaces in regular expressions.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.4.0
|
||||
* @see https://eslint.org/docs/rules/no-regex-spaces
|
||||
*/
|
||||
"no-regex-spaces": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow sparse arrays.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.4.0
|
||||
* @see https://eslint.org/docs/rules/no-sparse-arrays
|
||||
*/
|
||||
"no-sparse-arrays": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow template literal placeholder syntax in regular strings.
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @see https://eslint.org/docs/rules/no-template-curly-in-string
|
||||
*/
|
||||
"no-template-curly-in-string": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow confusing multiline expressions.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.24.0
|
||||
* @see https://eslint.org/docs/rules/no-unexpected-multiline
|
||||
*/
|
||||
"no-unexpected-multiline": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow unreachable code after `return`, `throw`, `continue`, and `break` statements.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.6
|
||||
* @see https://eslint.org/docs/rules/no-unreachable
|
||||
*/
|
||||
"no-unreachable": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow control flow statements in `finally` blocks.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 2.9.0
|
||||
* @see https://eslint.org/docs/rules/no-unsafe-finally
|
||||
*/
|
||||
"no-unsafe-finally": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow negating the left operand of relational operators.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @see https://eslint.org/docs/rules/no-unsafe-negation
|
||||
*/
|
||||
"no-unsafe-negation": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow assignments that can lead to race conditions due to usage of `await` or `yield`.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 5.3.0
|
||||
* @see https://eslint.org/docs/rules/require-atomic-updates
|
||||
*/
|
||||
"require-atomic-updates": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to require calls to `isNaN()` when checking for `NaN`.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.6
|
||||
* @see https://eslint.org/docs/rules/use-isnan
|
||||
*/
|
||||
"use-isnan": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to enforce comparing `typeof` expressions against valid strings.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.5.0
|
||||
* @see https://eslint.org/docs/rules/valid-typeof
|
||||
*/
|
||||
"valid-typeof": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
requireStringLiterals: boolean;
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
}
|
11
node_modules/@types/eslint/rules/strict-mode.d.ts
generated
vendored
Normal file
11
node_modules/@types/eslint/rules/strict-mode.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Linter } from "../index";
|
||||
|
||||
export interface StrictMode extends Linter.RulesRecord {
|
||||
/**
|
||||
* Rule to require or disallow strict mode directives.
|
||||
*
|
||||
* @since 0.1.0
|
||||
* @see https://eslint.org/docs/rules/strict
|
||||
*/
|
||||
strict: Linter.RuleEntry<["safe" | "global" | "function" | "never"]>;
|
||||
}
|
1893
node_modules/@types/eslint/rules/stylistic-issues.d.ts
generated
vendored
Normal file
1893
node_modules/@types/eslint/rules/stylistic-issues.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
187
node_modules/@types/eslint/rules/variables.d.ts
generated
vendored
Normal file
187
node_modules/@types/eslint/rules/variables.d.ts
generated
vendored
Normal file
@@ -0,0 +1,187 @@
|
||||
import { Linter } from "../index";
|
||||
|
||||
export interface Variables extends Linter.RulesRecord {
|
||||
/**
|
||||
* Rule to require or disallow initialization in variable declarations.
|
||||
*
|
||||
* @since 1.0.0-rc-1
|
||||
* @see https://eslint.org/docs/rules/init-declarations
|
||||
*/
|
||||
"init-declarations":
|
||||
| Linter.RuleEntry<["always"]>
|
||||
| Linter.RuleEntry<
|
||||
[
|
||||
"never",
|
||||
Partial<{
|
||||
ignoreForLoopInit: boolean;
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow deleting variables.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-delete-var
|
||||
*/
|
||||
"no-delete-var": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow labels that share a name with a variable.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-label-var
|
||||
*/
|
||||
"no-label-var": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow specified global variables.
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @see https://eslint.org/docs/rules/no-restricted-globals
|
||||
*/
|
||||
"no-restricted-globals": Linter.RuleEntry<
|
||||
[
|
||||
...Array<
|
||||
| string
|
||||
| {
|
||||
name: string;
|
||||
message?: string | undefined;
|
||||
}
|
||||
>
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow variable declarations from shadowing variables declared in the outer scope.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-shadow
|
||||
*/
|
||||
"no-shadow": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
builtinGlobals: boolean;
|
||||
/**
|
||||
* @default 'functions'
|
||||
*/
|
||||
hoist: "functions" | "all" | "never";
|
||||
allow: string[];
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow identifiers from shadowing restricted names.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.1.4
|
||||
* @see https://eslint.org/docs/rules/no-shadow-restricted-names
|
||||
*/
|
||||
"no-shadow-restricted-names": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow the use of undeclared variables unless mentioned in `global` comments.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-undef
|
||||
*/
|
||||
"no-undef": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
typeof: boolean;
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow initializing variables to `undefined`.
|
||||
*
|
||||
* @since 0.0.6
|
||||
* @see https://eslint.org/docs/rules/no-undef-init
|
||||
*/
|
||||
"no-undef-init": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow the use of `undefined` as an identifier.
|
||||
*
|
||||
* @since 0.7.1
|
||||
* @see https://eslint.org/docs/rules/no-undefined
|
||||
*/
|
||||
"no-undefined": Linter.RuleEntry<[]>;
|
||||
|
||||
/**
|
||||
* Rule to disallow unused variables.
|
||||
*
|
||||
* @remarks
|
||||
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-unused-vars
|
||||
*/
|
||||
"no-unused-vars": Linter.RuleEntry<
|
||||
[
|
||||
Partial<{
|
||||
/**
|
||||
* @default 'all'
|
||||
*/
|
||||
vars: "all" | "local";
|
||||
varsIgnorePattern: string;
|
||||
/**
|
||||
* @default 'after-used'
|
||||
*/
|
||||
args: "after-used" | "all" | "none";
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
ignoreRestSiblings: boolean;
|
||||
argsIgnorePattern: string;
|
||||
/**
|
||||
* @default 'none'
|
||||
*/
|
||||
caughtErrors: "none" | "all";
|
||||
caughtErrorsIgnorePattern: string;
|
||||
}>,
|
||||
]
|
||||
>;
|
||||
|
||||
/**
|
||||
* Rule to disallow the use of variables before they are defined.
|
||||
*
|
||||
* @since 0.0.9
|
||||
* @see https://eslint.org/docs/rules/no-use-before-define
|
||||
*/
|
||||
"no-use-before-define": Linter.RuleEntry<
|
||||
[
|
||||
| Partial<{
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
functions: boolean;
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
classes: boolean;
|
||||
/**
|
||||
* @default true
|
||||
*/
|
||||
variables: boolean;
|
||||
}>
|
||||
| "nofunc",
|
||||
]
|
||||
>;
|
||||
}
|
8
node_modules/@types/eslint/use-at-your-own-risk.d.ts
generated
vendored
Normal file
8
node_modules/@types/eslint/use-at-your-own-risk.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/** @deprecated */
|
||||
export const builtinRules: Map<string, import("./index.js").Rule.RuleModule>;
|
||||
/** @deprecated */
|
||||
export class FileEnumerator {
|
||||
constructor(params?: {cwd?: string, configArrayFactory?: any, extensions?: any, globInputPaths?: boolean, errorOnUnmatchedPattern?: boolean, ignore?: boolean});
|
||||
isTargetPath(filePath: string, providedConfig?: any): boolean;
|
||||
iterateFiles(patternOrPatterns: string | string[]): IterableIterator<{config: any, filePath: string, ignored: boolean}>;
|
||||
}
|
21
node_modules/@types/estree/LICENSE
generated
vendored
Normal file
21
node_modules/@types/estree/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
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
|
16
node_modules/@types/estree/README.md
generated
vendored
Normal file
16
node_modules/@types/estree/README.md
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
# Installation
|
||||
> `npm install --save @types/estree`
|
||||
|
||||
# Summary
|
||||
This package contains type definitions for ESTree AST specification (https://github.com/estree/estree).
|
||||
|
||||
# Details
|
||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/estree.
|
||||
|
||||
### Additional Details
|
||||
* Last updated: Sun, 06 Feb 2022 12:01:26 GMT
|
||||
* Dependencies: none
|
||||
* Global values: none
|
||||
|
||||
# Credits
|
||||
These definitions were written by [RReverser](https://github.com/RReverser).
|
174
node_modules/@types/estree/flow.d.ts
generated
vendored
Normal file
174
node_modules/@types/estree/flow.d.ts
generated
vendored
Normal file
@@ -0,0 +1,174 @@
|
||||
// Type definitions for ESTree AST extensions for Facebook Flow
|
||||
// Project: https://github.com/estree/estree
|
||||
// Definitions by: RReverser <https://github.com/RReverser>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
|
||||
declare namespace ESTree {
|
||||
interface FlowTypeAnnotation extends Node {}
|
||||
|
||||
interface FlowBaseTypeAnnotation extends FlowTypeAnnotation {}
|
||||
|
||||
interface FlowLiteralTypeAnnotation extends FlowTypeAnnotation, Literal {}
|
||||
|
||||
interface FlowDeclaration extends Declaration {}
|
||||
|
||||
interface AnyTypeAnnotation extends FlowBaseTypeAnnotation {}
|
||||
|
||||
interface ArrayTypeAnnotation extends FlowTypeAnnotation {
|
||||
elementType: FlowTypeAnnotation;
|
||||
}
|
||||
|
||||
interface BooleanLiteralTypeAnnotation extends FlowLiteralTypeAnnotation {}
|
||||
|
||||
interface BooleanTypeAnnotation extends FlowBaseTypeAnnotation {}
|
||||
|
||||
interface ClassImplements extends Node {
|
||||
id: Identifier;
|
||||
typeParameters?: TypeParameterInstantiation | null;
|
||||
}
|
||||
|
||||
interface ClassProperty {
|
||||
key: Expression;
|
||||
value?: Expression | null;
|
||||
typeAnnotation?: TypeAnnotation | null;
|
||||
computed: boolean;
|
||||
static: boolean;
|
||||
}
|
||||
|
||||
interface DeclareClass extends FlowDeclaration {
|
||||
id: Identifier;
|
||||
typeParameters?: TypeParameterDeclaration | null;
|
||||
body: ObjectTypeAnnotation;
|
||||
extends: Array<InterfaceExtends>;
|
||||
}
|
||||
|
||||
interface DeclareFunction extends FlowDeclaration {
|
||||
id: Identifier;
|
||||
}
|
||||
|
||||
interface DeclareModule extends FlowDeclaration {
|
||||
id: Literal | Identifier;
|
||||
body: BlockStatement;
|
||||
}
|
||||
|
||||
interface DeclareVariable extends FlowDeclaration {
|
||||
id: Identifier;
|
||||
}
|
||||
|
||||
interface FunctionTypeAnnotation extends FlowTypeAnnotation {
|
||||
params: Array<FunctionTypeParam>;
|
||||
returnType: FlowTypeAnnotation;
|
||||
rest?: FunctionTypeParam | null;
|
||||
typeParameters?: TypeParameterDeclaration | null;
|
||||
}
|
||||
|
||||
interface FunctionTypeParam {
|
||||
name: Identifier;
|
||||
typeAnnotation: FlowTypeAnnotation;
|
||||
optional: boolean;
|
||||
}
|
||||
|
||||
interface GenericTypeAnnotation extends FlowTypeAnnotation {
|
||||
id: Identifier | QualifiedTypeIdentifier;
|
||||
typeParameters?: TypeParameterInstantiation | null;
|
||||
}
|
||||
|
||||
interface InterfaceExtends extends Node {
|
||||
id: Identifier | QualifiedTypeIdentifier;
|
||||
typeParameters?: TypeParameterInstantiation | null;
|
||||
}
|
||||
|
||||
interface InterfaceDeclaration extends FlowDeclaration {
|
||||
id: Identifier;
|
||||
typeParameters?: TypeParameterDeclaration | null;
|
||||
extends: Array<InterfaceExtends>;
|
||||
body: ObjectTypeAnnotation;
|
||||
}
|
||||
|
||||
interface IntersectionTypeAnnotation extends FlowTypeAnnotation {
|
||||
types: Array<FlowTypeAnnotation>;
|
||||
}
|
||||
|
||||
interface MixedTypeAnnotation extends FlowBaseTypeAnnotation {}
|
||||
|
||||
interface NullableTypeAnnotation extends FlowTypeAnnotation {
|
||||
typeAnnotation: TypeAnnotation;
|
||||
}
|
||||
|
||||
interface NumberLiteralTypeAnnotation extends FlowLiteralTypeAnnotation {}
|
||||
|
||||
interface NumberTypeAnnotation extends FlowBaseTypeAnnotation {}
|
||||
|
||||
interface StringLiteralTypeAnnotation extends FlowLiteralTypeAnnotation {}
|
||||
|
||||
interface StringTypeAnnotation extends FlowBaseTypeAnnotation {}
|
||||
|
||||
interface TupleTypeAnnotation extends FlowTypeAnnotation {
|
||||
types: Array<FlowTypeAnnotation>;
|
||||
}
|
||||
|
||||
interface TypeofTypeAnnotation extends FlowTypeAnnotation {
|
||||
argument: FlowTypeAnnotation;
|
||||
}
|
||||
|
||||
interface TypeAlias extends FlowDeclaration {
|
||||
id: Identifier;
|
||||
typeParameters?: TypeParameterDeclaration | null;
|
||||
right: FlowTypeAnnotation;
|
||||
}
|
||||
|
||||
interface TypeAnnotation extends Node {
|
||||
typeAnnotation: FlowTypeAnnotation;
|
||||
}
|
||||
|
||||
interface TypeCastExpression extends Expression {
|
||||
expression: Expression;
|
||||
typeAnnotation: TypeAnnotation;
|
||||
}
|
||||
|
||||
interface TypeParameterDeclaration extends Node {
|
||||
params: Array<Identifier>;
|
||||
}
|
||||
|
||||
interface TypeParameterInstantiation extends Node {
|
||||
params: Array<FlowTypeAnnotation>;
|
||||
}
|
||||
|
||||
interface ObjectTypeAnnotation extends FlowTypeAnnotation {
|
||||
properties: Array<ObjectTypeProperty>;
|
||||
indexers: Array<ObjectTypeIndexer>;
|
||||
callProperties: Array<ObjectTypeCallProperty>;
|
||||
}
|
||||
|
||||
interface ObjectTypeCallProperty extends Node {
|
||||
value: FunctionTypeAnnotation;
|
||||
static: boolean;
|
||||
}
|
||||
|
||||
interface ObjectTypeIndexer extends Node {
|
||||
id: Identifier;
|
||||
key: FlowTypeAnnotation;
|
||||
value: FlowTypeAnnotation;
|
||||
static: boolean;
|
||||
}
|
||||
|
||||
interface ObjectTypeProperty extends Node {
|
||||
key: Expression;
|
||||
value: FlowTypeAnnotation;
|
||||
optional: boolean;
|
||||
static: boolean;
|
||||
}
|
||||
|
||||
interface QualifiedTypeIdentifier extends Node {
|
||||
qualification: Identifier | QualifiedTypeIdentifier;
|
||||
id: Identifier;
|
||||
}
|
||||
|
||||
interface UnionTypeAnnotation extends FlowTypeAnnotation {
|
||||
types: Array<FlowTypeAnnotation>;
|
||||
}
|
||||
|
||||
interface VoidTypeAnnotation extends FlowBaseTypeAnnotation {}
|
||||
}
|
595
node_modules/@types/estree/index.d.ts
generated
vendored
Normal file
595
node_modules/@types/estree/index.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
25
node_modules/@types/estree/package.json
generated
vendored
Normal file
25
node_modules/@types/estree/package.json
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "@types/estree",
|
||||
"version": "0.0.51",
|
||||
"description": "TypeScript definitions for ESTree AST specification",
|
||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/estree",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "RReverser",
|
||||
"url": "https://github.com/RReverser",
|
||||
"githubUsername": "RReverser"
|
||||
}
|
||||
],
|
||||
"main": "",
|
||||
"types": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
||||
"directory": "types/estree"
|
||||
},
|
||||
"scripts": {},
|
||||
"dependencies": {},
|
||||
"typesPublisherContentHash": "95cbccd2dde8b8492f61e0e8049641ae05129705d9ba742955b711cfb71f3621",
|
||||
"typeScriptVersion": "3.8"
|
||||
}
|
21
node_modules/@types/express-serve-static-core/LICENSE
generated
vendored
Normal file
21
node_modules/@types/express-serve-static-core/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
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
|
16
node_modules/@types/express-serve-static-core/README.md
generated
vendored
Normal file
16
node_modules/@types/express-serve-static-core/README.md
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
# Installation
|
||||
> `npm install --save @types/express-serve-static-core`
|
||||
|
||||
# Summary
|
||||
This package contains type definitions for Express (http://expressjs.com).
|
||||
|
||||
# Details
|
||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-serve-static-core.
|
||||
|
||||
### Additional Details
|
||||
* Last updated: Tue, 26 Jul 2022 23:32:23 GMT
|
||||
* Dependencies: [@types/range-parser](https://npmjs.com/package/@types/range-parser), [@types/qs](https://npmjs.com/package/@types/qs), [@types/node](https://npmjs.com/package/@types/node)
|
||||
* Global values: none
|
||||
|
||||
# Credits
|
||||
These definitions were written by [Boris Yankov](https://github.com/borisyankov), [Satana Charuwichitratana](https://github.com/micksatana), [Sami Jaber](https://github.com/samijaber), [Jose Luis Leon](https://github.com/JoseLion), [David Stephens](https://github.com/dwrss), and [Shin Ando](https://github.com/andoshin11).
|
1254
node_modules/@types/express-serve-static-core/index.d.ts
generated
vendored
Normal file
1254
node_modules/@types/express-serve-static-core/index.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
61
node_modules/@types/express-serve-static-core/package.json
generated
vendored
Normal file
61
node_modules/@types/express-serve-static-core/package.json
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"name": "@types/express-serve-static-core",
|
||||
"version": "4.17.30",
|
||||
"description": "TypeScript definitions for Express",
|
||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-serve-static-core",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Boris Yankov",
|
||||
"url": "https://github.com/borisyankov",
|
||||
"githubUsername": "borisyankov"
|
||||
},
|
||||
{
|
||||
"name": "Satana Charuwichitratana",
|
||||
"url": "https://github.com/micksatana",
|
||||
"githubUsername": "micksatana"
|
||||
},
|
||||
{
|
||||
"name": "Sami Jaber",
|
||||
"url": "https://github.com/samijaber",
|
||||
"githubUsername": "samijaber"
|
||||
},
|
||||
{
|
||||
"name": "Jose Luis Leon",
|
||||
"url": "https://github.com/JoseLion",
|
||||
"githubUsername": "JoseLion"
|
||||
},
|
||||
{
|
||||
"name": "David Stephens",
|
||||
"url": "https://github.com/dwrss",
|
||||
"githubUsername": "dwrss"
|
||||
},
|
||||
{
|
||||
"name": "Shin Ando",
|
||||
"url": "https://github.com/andoshin11",
|
||||
"githubUsername": "andoshin11"
|
||||
}
|
||||
],
|
||||
"main": "",
|
||||
"types": "index.d.ts",
|
||||
"typesVersions": {
|
||||
"<=4.0": {
|
||||
"*": [
|
||||
"ts4.0/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
||||
"directory": "types/express-serve-static-core"
|
||||
},
|
||||
"scripts": {},
|
||||
"dependencies": {
|
||||
"@types/node": "*",
|
||||
"@types/qs": "*",
|
||||
"@types/range-parser": "*"
|
||||
},
|
||||
"typesPublisherContentHash": "665a90ee320582584fb9fdabf29a723892097c34c8eca8053e96b7368751cbc4",
|
||||
"typeScriptVersion": "4.0"
|
||||
}
|
1164
node_modules/@types/express-serve-static-core/ts4.0/index.d.ts
generated
vendored
Normal file
1164
node_modules/@types/express-serve-static-core/ts4.0/index.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
21
node_modules/@types/express/LICENSE
generated
vendored
Normal file
21
node_modules/@types/express/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
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
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user