Update checked-in dependencies
This commit is contained in:
parent
fc090c44d2
commit
d8b8ad0cb2
151 changed files with 4948 additions and 2797 deletions
50
node_modules/@eslint-community/regexpp/index.d.ts
generated
vendored
50
node_modules/@eslint-community/regexpp/index.d.ts
generated
vendored
|
|
@ -5,6 +5,7 @@ declare module "@eslint-community/regexpp" {
|
|||
import { RegExpParser } from "@eslint-community/regexpp/parser";
|
||||
import { RegExpValidator } from "@eslint-community/regexpp/validator";
|
||||
import { RegExpVisitor } from "@eslint-community/regexpp/visitor";
|
||||
export { RegExpSyntaxError } from "@eslint-community/regexpp/regexp-syntax-error";
|
||||
export { AST, RegExpParser, RegExpValidator };
|
||||
/**
|
||||
* Parse a given regular expression literal then make AST object.
|
||||
|
|
@ -88,8 +89,8 @@ declare module "@eslint-community/regexpp/ast" {
|
|||
export type ClassRangesCharacterClassElement =
|
||||
| Character
|
||||
| CharacterClassRange
|
||||
| EscapeCharacterSet
|
||||
| UnicodePropertyCharacterSet;
|
||||
| CharacterUnicodePropertyCharacterSet
|
||||
| EscapeCharacterSet;
|
||||
export type UnicodeSetsCharacterClassElement =
|
||||
| Character
|
||||
| CharacterClassRange
|
||||
|
|
@ -208,23 +209,36 @@ declare module "@eslint-community/regexpp/ast" {
|
|||
type: "CharacterClass";
|
||||
parent:
|
||||
| Alternative
|
||||
| ExpressionCharacterClass
|
||||
| ClassIntersection
|
||||
| ClassSubtraction
|
||||
| Quantifier
|
||||
| UnicodeSetsCharacterClass;
|
||||
unicodeSets: boolean;
|
||||
negate: boolean;
|
||||
elements: CharacterClassElement[];
|
||||
}
|
||||
/**
|
||||
* The character class used in legacy (neither `u` nor `v` flag) and Unicode mode (`u` flag).
|
||||
*
|
||||
* This character class is guaranteed to **not** contain strings.
|
||||
*
|
||||
* In Unicode sets mode (`v` flag), {@link UnicodeSetsCharacterClass} is used.
|
||||
*/
|
||||
export interface ClassRangesCharacterClass extends BaseCharacterClass {
|
||||
parent: Alternative | Quantifier;
|
||||
unicodeSets: false;
|
||||
elements: ClassRangesCharacterClassElement[];
|
||||
}
|
||||
/** UnicodeSetsCharacterClass is the CharacterClass when in Unicode sets mode. So it may contain strings. */
|
||||
/**
|
||||
* The character class used in Unicode sets mode (`v` flag).
|
||||
*
|
||||
* This character class may contain strings.
|
||||
*/
|
||||
export interface UnicodeSetsCharacterClass extends BaseCharacterClass {
|
||||
parent:
|
||||
| Alternative
|
||||
| ExpressionCharacterClass
|
||||
| ClassIntersection
|
||||
| ClassSubtraction
|
||||
| Quantifier
|
||||
| UnicodeSetsCharacterClass;
|
||||
unicodeSets: true;
|
||||
|
|
@ -328,6 +342,12 @@ declare module "@eslint-community/regexpp/ast" {
|
|||
/** StringsUnicodePropertyCharacterSet is Unicode property escape with property of strings. */
|
||||
export interface StringsUnicodePropertyCharacterSet
|
||||
extends BaseUnicodePropertyCharacterSet {
|
||||
parent:
|
||||
| Alternative
|
||||
| ClassIntersection
|
||||
| ClassSubtraction
|
||||
| Quantifier
|
||||
| UnicodeSetsCharacterClass;
|
||||
strings: true;
|
||||
value: null;
|
||||
negate: false;
|
||||
|
|
@ -340,7 +360,8 @@ declare module "@eslint-community/regexpp/ast" {
|
|||
type: "ExpressionCharacterClass";
|
||||
parent:
|
||||
| Alternative
|
||||
| ExpressionCharacterClass
|
||||
| ClassIntersection
|
||||
| ClassSubtraction
|
||||
| Quantifier
|
||||
| UnicodeSetsCharacterClass;
|
||||
negate: boolean;
|
||||
|
|
@ -1010,6 +1031,23 @@ declare module "@eslint-community/regexpp/visitor" {
|
|||
}
|
||||
}
|
||||
|
||||
declare module "@eslint-community/regexpp/regexp-syntax-error" {
|
||||
import type { RegExpValidatorSourceContext } from "@eslint-community/regexpp/validator";
|
||||
export class RegExpSyntaxError extends SyntaxError {
|
||||
index: number;
|
||||
constructor(message: string, index: number);
|
||||
}
|
||||
export function newRegExpSyntaxError(
|
||||
srcCtx: RegExpValidatorSourceContext,
|
||||
flags: {
|
||||
unicode: boolean;
|
||||
unicodeSets: boolean;
|
||||
},
|
||||
index: number,
|
||||
message: string
|
||||
): RegExpSyntaxError;
|
||||
}
|
||||
|
||||
declare module "@eslint-community/regexpp/ecma-versions" {
|
||||
export type EcmaVersion =
|
||||
| 5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue