diff --git a/eslint.config.mjs b/eslint.config.mjs
index 0450f09b..ed51800c 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -1,11 +1,19 @@
-import jest from 'eslint-plugin-jest'
-import typescriptEslint from '@typescript-eslint/eslint-plugin'
-import globals from 'globals'
-import tsParser from '@typescript-eslint/parser'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
-import js from '@eslint/js'
+
+import { fixupConfigRules, fixupPluginRules } from '@eslint/compat'
import { FlatCompat } from '@eslint/eslintrc'
+import js from '@eslint/js'
+import typescriptEslint from '@typescript-eslint/eslint-plugin'
+import tsParser from '@typescript-eslint/parser'
+import filenames from 'eslint-plugin-filenames'
+import github from 'eslint-plugin-github'
+import _import from 'eslint-plugin-import'
+import noAsyncForeach from 'eslint-plugin-no-async-foreach'
+import globals from 'globals'
+
+const pluginHeader = require('eslint-plugin-header');
+pluginHeader.rules.header.meta.schema = false;
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
@@ -16,78 +24,120 @@ const compat = new FlatCompat({
})
export default [
- ...compat.extends('plugin:github/recommended'),
{
- files: ['src/**/*.ts'],
-
+ ignores: ['eslint.config.mjs', '.github/**/*']
+ },
+ ...fixupConfigRules(
+ compat.extends(
+ 'eslint:recommended',
+ 'plugin:@typescript-eslint/recommended',
+ 'plugin:@typescript-eslint/recommended-requiring-type-checking',
+ 'plugin:github/recommended',
+ 'plugin:github/typescript',
+ 'plugin:import/typescript'
+ )
+ ),
+ {
plugins: {
- jest,
- '@typescript-eslint': typescriptEslint
+ '@typescript-eslint': fixupPluginRules(typescriptEslint),
+ filenames: fixupPluginRules(filenames),
+ github: fixupPluginRules(github),
+ import: fixupPluginRules(_import),
+ 'no-async-foreach': noAsyncForeach
},
languageOptions: {
- globals: {
- ...globals.node,
- ...jest.environments.globals.globals
- },
-
parser: tsParser,
- ecmaVersion: 9,
+ ecmaVersion: 5,
sourceType: 'module',
+ globals: {
+ ...globals.node
+ },
+
parserOptions: {
project: './tsconfig.json'
}
},
+ settings: {
+ 'import/resolver': {
+ node: {
+ moduleDirectory: ['node_modules', 'src']
+ },
+
+ typescript: {}
+ },
+ 'import/ignore': ['sinon', 'uuid', '@octokit/plugin-retry']
+ },
+
rules: {
- 'eslint-comments/no-use': 'off',
- 'import/no-namespace': 'off',
- 'no-unused-vars': 'off',
- '@typescript-eslint/no-unused-vars': 'error',
+ 'filenames/match-regex': ['error', '^[a-z0-9-]+(\\.test)?$'],
+ 'i18n-text/no-en': 'off',
+
+ 'import/extensions': [
+ 'error',
+ {
+ json: {}
+ }
+ ],
- '@typescript-eslint/explicit-member-accessibility': [
+ 'import/no-amd': 'error',
+ 'import/no-commonjs': 'error',
+ 'import/no-cycle': 'error',
+ 'import/no-dynamic-require': 'error',
+
+ 'import/no-extraneous-dependencies': [
'error',
{
- accessibility: 'no-public'
+ devDependencies: true
}
],
- '@typescript-eslint/no-require-imports': 'error',
- '@typescript-eslint/array-type': 'error',
- '@typescript-eslint/await-thenable': 'error',
- camelcase: 'off',
+ 'import/no-namespace': 'off',
+ 'import/no-unresolved': 'error',
+ 'import/no-webpack-loader-syntax': 'error',
+
+ 'import/order': [
+ 'error',
+ {
+ alphabetize: {
+ order: 'asc'
+ },
+
+ 'newlines-between': 'always'
+ }
+ ],
- '@typescript-eslint/explicit-function-return-type': [
+ 'max-len': [
'error',
{
- allowExpressions: true
+ code: 120,
+ ignoreUrls: true,
+ ignoreStrings: true,
+ ignoreTemplateLiterals: true
}
],
- '@typescript-eslint/no-array-constructor': 'error',
- '@typescript-eslint/no-empty-interface': 'error',
- '@typescript-eslint/no-explicit-any': 'error',
- '@typescript-eslint/no-extraneous-class': 'error',
- '@typescript-eslint/no-floating-promises': 'error',
- '@typescript-eslint/no-for-in-array': 'error',
- '@typescript-eslint/no-inferrable-types': 'error',
- '@typescript-eslint/no-misused-new': 'error',
- '@typescript-eslint/no-namespace': 'error',
- '@typescript-eslint/no-non-null-assertion': 'warn',
- '@typescript-eslint/no-unnecessary-qualifier': 'error',
- '@typescript-eslint/no-unnecessary-type-assertion': 'error',
- '@typescript-eslint/no-useless-constructor': 'error',
- '@typescript-eslint/no-var-requires': 'error',
- '@typescript-eslint/prefer-for-of': 'warn',
- '@typescript-eslint/prefer-function-type': 'warn',
- '@typescript-eslint/prefer-includes': 'error',
- '@typescript-eslint/prefer-string-starts-ends-with': 'error',
- '@typescript-eslint/promise-function-async': 'error',
- '@typescript-eslint/require-array-sort-compare': 'error',
- '@typescript-eslint/restrict-plus-operands': 'error',
- semi: 'off',
- '@typescript-eslint/unbound-method': 'error'
+ 'no-async-foreach/no-async-foreach': 'error',
+ 'no-sequences': 'error',
+ 'no-shadow': 'off',
+ '@typescript-eslint/no-shadow': 'error',
+ 'one-var': ['error', 'never']
+ }
+ },
+ {
+ files: ['**/*.ts', '**/*.js'],
+
+ rules: {
+ '@typescript-eslint/no-explicit-any': 'off',
+ '@typescript-eslint/no-unsafe-assignment': 'off',
+ '@typescript-eslint/no-unsafe-member-access': 'off',
+ '@typescript-eslint/no-var-requires': 'off',
+ '@typescript-eslint/prefer-regexp-exec': 'off',
+ '@typescript-eslint/require-await': 'off',
+ '@typescript-eslint/restrict-template-expressions': 'off',
+ 'func-style': 'off'
}
}
]
diff --git a/node_modules/@eslint-community/regexpp/index.d.ts b/node_modules/@eslint-community/regexpp/index.d.ts
index 2c54145d..c75657aa 100644
--- a/node_modules/@eslint-community/regexpp/index.d.ts
+++ b/node_modules/@eslint-community/regexpp/index.d.ts
@@ -51,6 +51,7 @@ declare module "@eslint-community/regexpp/ast" {
| ExpressionCharacterClass
| Group
| LookaroundAssertion
+ | Modifiers
| Pattern
| Quantifier
| RegExpLiteral
@@ -63,7 +64,8 @@ declare module "@eslint-community/regexpp/ast" {
| BoundaryAssertion
| Character
| CharacterSet
- | Flags;
+ | Flags
+ | ModifierFlags;
/**
* The type which includes all atom nodes.
*/
@@ -147,6 +149,7 @@ declare module "@eslint-community/regexpp/ast" {
export interface Group extends NodeBase {
type: "Group";
parent: Alternative | Quantifier;
+ modifiers: Modifiers | null;
alternatives: Alternative[];
}
/**
@@ -447,6 +450,34 @@ declare module "@eslint-community/regexpp/ast" {
ambiguous: false;
resolved: CapturingGroup;
}
+ /**
+ * The modifiers.
+ */
+ export interface Modifiers extends NodeBase {
+ type: "Modifiers";
+ parent: Group;
+ /**
+ * The add modifier flags.
+ */
+ add: ModifierFlags;
+ /**
+ * The remove modifier flags.
+ *
+ * `null` means no remove modifier flags. e.g. `(?ims:x)`
+ * The reason for `null` is that there is no position where the remove modifier flags appears. Must be behind the minus mark.
+ */
+ remove: ModifierFlags | null;
+ }
+ /**
+ * The modifier flags.
+ */
+ export interface ModifierFlags extends NodeBase {
+ type: "ModifierFlags";
+ parent: Modifiers;
+ dotAll: boolean;
+ ignoreCase: boolean;
+ multiline: boolean;
+ }
/**
* The flags.
*/
@@ -490,7 +521,7 @@ declare module "@eslint-community/regexpp/parser" {
* - `2022` added `d` flag.
* - `2023` added more valid Unicode Property Escapes.
* - `2024` added `v` flag.
- * - `2025` added duplicate named capturing groups.
+ * - `2025` added duplicate named capturing groups, modifiers.
*/
ecmaVersion?: EcmaVersion;
}
@@ -579,7 +610,7 @@ declare module "@eslint-community/regexpp/validator" {
* - `2022` added `d` flag.
* - `2023` added more valid Unicode Property Escapes.
* - `2024` added `v` flag.
- * - `2025` added duplicate named capturing groups.
+ * - `2025` added duplicate named capturing groups, modifiers.
*/
ecmaVersion?: EcmaVersion;
/**
@@ -691,6 +722,53 @@ declare module "@eslint-community/regexpp/validator" {
* @param end The next 0-based index of the last character.
*/
onGroupLeave?: (start: number, end: number) => void;
+ /**
+ * A function that is called when the validator entered a modifiers.
+ * @param start The 0-based index of the first character.
+ */
+ onModifiersEnter?: (start: number) => void;
+ /**
+ * A function that is called when the validator left a modifiers.
+ * @param start The 0-based index of the first character.
+ * @param end The next 0-based index of the last character.
+ */
+ onModifiersLeave?: (start: number, end: number) => void;
+ /**
+ * A function that is called when the validator found an add modifiers.
+ * @param start The 0-based index of the first character.
+ * @param end The next 0-based index of the last character.
+ * @param flags flags.
+ * @param flags.ignoreCase `i` flag.
+ * @param flags.multiline `m` flag.
+ * @param flags.dotAll `s` flag.
+ */
+ onAddModifiers?: (
+ start: number,
+ end: number,
+ flags: {
+ ignoreCase: boolean;
+ multiline: boolean;
+ dotAll: boolean;
+ }
+ ) => void;
+ /**
+ * A function that is called when the validator found a remove modifiers.
+ * @param start The 0-based index of the first character.
+ * @param end The next 0-based index of the last character.
+ * @param flags flags.
+ * @param flags.ignoreCase `i` flag.
+ * @param flags.multiline `m` flag.
+ * @param flags.dotAll `s` flag.
+ */
+ onRemoveModifiers?: (
+ start: number,
+ end: number,
+ flags: {
+ ignoreCase: boolean;
+ multiline: boolean;
+ dotAll: boolean;
+ }
+ ) => void;
/**
* A function that is called when the validator entered a capturing group.
* @param start The 0-based index of the first character.
@@ -977,6 +1055,8 @@ declare module "@eslint-community/regexpp/visitor" {
ExpressionCharacterClass,
Flags,
Group,
+ ModifierFlags,
+ Modifiers,
Node,
Pattern,
Quantifier,
@@ -1032,6 +1112,10 @@ declare module "@eslint-community/regexpp/visitor" {
onFlagsLeave?: (node: Flags) => void;
onGroupEnter?: (node: Group) => void;
onGroupLeave?: (node: Group) => void;
+ onModifierFlagsEnter?: (node: ModifierFlags) => void;
+ onModifierFlagsLeave?: (node: ModifierFlags) => void;
+ onModifiersEnter?: (node: Modifiers) => void;
+ onModifiersLeave?: (node: Modifiers) => void;
onPatternEnter?: (node: Pattern) => void;
onPatternLeave?: (node: Pattern) => void;
onQuantifierEnter?: (node: Quantifier) => void;
diff --git a/node_modules/@eslint-community/regexpp/index.js b/node_modules/@eslint-community/regexpp/index.js
index dce2a035..ac5d686e 100644
--- a/node_modules/@eslint-community/regexpp/index.js
+++ b/node_modules/@eslint-community/regexpp/index.js
@@ -552,6 +552,17 @@ const CLASS_SET_RESERVED_PUNCTUATOR = new Set([
GRAVE_ACCENT,
TILDE,
]);
+const FLAG_PROP_TO_CODEPOINT = {
+ global: LATIN_SMALL_LETTER_G,
+ ignoreCase: LATIN_SMALL_LETTER_I,
+ multiline: LATIN_SMALL_LETTER_M,
+ unicode: LATIN_SMALL_LETTER_U,
+ sticky: LATIN_SMALL_LETTER_Y,
+ dotAll: LATIN_SMALL_LETTER_S,
+ hasIndices: LATIN_SMALL_LETTER_D,
+ unicodeSets: LATIN_SMALL_LETTER_V,
+};
+const FLAG_CODEPOINT_TO_PROP = Object.fromEntries(Object.entries(FLAG_PROP_TO_CODEPOINT).map(([k, v]) => [v, k]));
function isSyntaxCharacter(cp) {
return SYNTAX_CHARACTER.has(cp);
}
@@ -579,6 +590,11 @@ function isUnicodePropertyNameCharacter(cp) {
function isUnicodePropertyValueCharacter(cp) {
return isUnicodePropertyNameCharacter(cp) || isDecimalDigit(cp);
}
+function isRegularExpressionModifier(ch) {
+ return (ch === LATIN_SMALL_LETTER_I ||
+ ch === LATIN_SMALL_LETTER_M ||
+ ch === LATIN_SMALL_LETTER_S);
+}
class RegExpValidator {
constructor(options) {
this._reader = new Reader();
@@ -649,64 +665,8 @@ class RegExpValidator {
}
}
validateFlagsInternal(source, start, end) {
- const existingFlags = new Set();
- let global = false;
- let ignoreCase = false;
- let multiline = false;
- let sticky = false;
- let unicode = false;
- let dotAll = false;
- let hasIndices = false;
- let unicodeSets = false;
- for (let i = start; i < end; ++i) {
- const flag = source.charCodeAt(i);
- if (existingFlags.has(flag)) {
- this.raise(`Duplicated flag '${source[i]}'`, { index: start });
- }
- existingFlags.add(flag);
- if (flag === LATIN_SMALL_LETTER_G) {
- global = true;
- }
- else if (flag === LATIN_SMALL_LETTER_I) {
- ignoreCase = true;
- }
- else if (flag === LATIN_SMALL_LETTER_M) {
- multiline = true;
- }
- else if (flag === LATIN_SMALL_LETTER_U &&
- this.ecmaVersion >= 2015) {
- unicode = true;
- }
- else if (flag === LATIN_SMALL_LETTER_Y &&
- this.ecmaVersion >= 2015) {
- sticky = true;
- }
- else if (flag === LATIN_SMALL_LETTER_S &&
- this.ecmaVersion >= 2018) {
- dotAll = true;
- }
- else if (flag === LATIN_SMALL_LETTER_D &&
- this.ecmaVersion >= 2022) {
- hasIndices = true;
- }
- else if (flag === LATIN_SMALL_LETTER_V &&
- this.ecmaVersion >= 2024) {
- unicodeSets = true;
- }
- else {
- this.raise(`Invalid flag '${source[i]}'`, { index: start });
- }
- }
- this.onRegExpFlags(start, end, {
- global,
- ignoreCase,
- multiline,
- unicode,
- sticky,
- dotAll,
- hasIndices,
- unicodeSets,
- });
+ const flags = this.parseFlags(source, start, end);
+ this.onRegExpFlags(start, end, flags);
}
_parseFlagsOptionToMode(uFlagOrFlags, sourceEnd) {
let unicode = false;
@@ -801,6 +761,26 @@ class RegExpValidator {
this._options.onGroupLeave(start, end);
}
}
+ onModifiersEnter(start) {
+ if (this._options.onModifiersEnter) {
+ this._options.onModifiersEnter(start);
+ }
+ }
+ onModifiersLeave(start, end) {
+ if (this._options.onModifiersLeave) {
+ this._options.onModifiersLeave(start, end);
+ }
+ }
+ onAddModifiers(start, end, flags) {
+ if (this._options.onAddModifiers) {
+ this._options.onAddModifiers(start, end, flags);
+ }
+ }
+ onRemoveModifiers(start, end, flags) {
+ if (this._options.onRemoveModifiers) {
+ this._options.onRemoveModifiers(start, end, flags);
+ }
+ }
onCapturingGroupEnter(start, name) {
if (this._options.onCapturingGroupEnter) {
this._options.onCapturingGroupEnter(start, name);
@@ -1173,8 +1153,8 @@ class RegExpValidator {
this.consumeDot() ||
this.consumeReverseSolidusAtomEscape() ||
Boolean(this.consumeCharacterClass()) ||
- this.consumeUncapturingGroup() ||
- this.consumeCapturingGroup());
+ this.consumeCapturingGroup() ||
+ this.consumeUncapturingGroup());
}
consumeDot() {
if (this.eat(FULL_STOP)) {
@@ -1195,8 +1175,15 @@ class RegExpValidator {
}
consumeUncapturingGroup() {
const start = this.index;
- if (this.eat3(LEFT_PARENTHESIS, QUESTION_MARK, COLON)) {
+ if (this.eat2(LEFT_PARENTHESIS, QUESTION_MARK)) {
this.onGroupEnter(start);
+ if (this.ecmaVersion >= 2025) {
+ this.consumeModifiers();
+ }
+ if (!this.eat(COLON)) {
+ this.rewind(start + 1);
+ this.raise("Invalid group");
+ }
this.consumeDisjunction();
if (!this.eat(RIGHT_PARENTHESIS)) {
this.raise("Unterminated group");
@@ -1206,6 +1193,35 @@ class RegExpValidator {
}
return false;
}
+ consumeModifiers() {
+ const start = this.index;
+ const hasAddModifiers = this.eatModifiers();
+ const addModifiersEnd = this.index;
+ const hasHyphen = this.eat(HYPHEN_MINUS);
+ if (!hasAddModifiers && !hasHyphen) {
+ return false;
+ }
+ this.onModifiersEnter(start);
+ const addModifiers = this.parseModifiers(start, addModifiersEnd);
+ this.onAddModifiers(start, addModifiersEnd, addModifiers);
+ if (hasHyphen) {
+ const modifiersStart = this.index;
+ if (!this.eatModifiers() &&
+ !hasAddModifiers &&
+ this.currentCodePoint === COLON) {
+ this.raise("Invalid empty flags");
+ }
+ const modifiers = this.parseModifiers(modifiersStart, this.index);
+ for (const [flagName] of Object.entries(modifiers).filter(([, enable]) => enable)) {
+ if (addModifiers[flagName]) {
+ this.raise(`Duplicated flag '${String.fromCodePoint(FLAG_PROP_TO_CODEPOINT[flagName])}'`);
+ }
+ }
+ this.onRemoveModifiers(modifiersStart, this.index, modifiers);
+ }
+ this.onModifiersLeave(start, this.index);
+ return true;
+ }
consumeCapturingGroup() {
const start = this.index;
if (this.eat(LEFT_PARENTHESIS)) {
@@ -1214,9 +1230,14 @@ class RegExpValidator {
if (this.consumeGroupSpecifier()) {
name = this._lastStrValue;
}
+ else if (this.currentCodePoint === QUESTION_MARK) {
+ this.rewind(start);
+ return false;
+ }
}
else if (this.currentCodePoint === QUESTION_MARK) {
- this.raise("Invalid group");
+ this.rewind(start);
+ return false;
}
this.onCapturingGroupEnter(start, name);
this.consumeDisjunction();
@@ -1233,8 +1254,8 @@ class RegExpValidator {
this.consumeReverseSolidusAtomEscape() ||
this.consumeReverseSolidusFollowedByC() ||
Boolean(this.consumeCharacterClass()) ||
- this.consumeUncapturingGroup() ||
this.consumeCapturingGroup() ||
+ this.consumeUncapturingGroup() ||
this.consumeInvalidBracedQuantifier() ||
this.consumeExtendedPatternCharacter());
}
@@ -1287,6 +1308,7 @@ class RegExpValidator {
return false;
}
consumeGroupSpecifier() {
+ const start = this.index;
if (this.eat(QUESTION_MARK)) {
if (this.eatGroupName()) {
if (!this._groupSpecifiers.hasInScope(this._lastStrValue)) {
@@ -1295,7 +1317,7 @@ class RegExpValidator {
}
this.raise("Duplicate capture group name");
}
- this.raise("Invalid group");
+ this.rewind(start);
}
return false;
}
@@ -2043,6 +2065,63 @@ class RegExpValidator {
}
return true;
}
+ eatModifiers() {
+ let ate = false;
+ while (isRegularExpressionModifier(this.currentCodePoint)) {
+ this.advance();
+ ate = true;
+ }
+ return ate;
+ }
+ parseModifiers(start, end) {
+ const { ignoreCase, multiline, dotAll } = this.parseFlags(this._reader.source, start, end);
+ return { ignoreCase, multiline, dotAll };
+ }
+ parseFlags(source, start, end) {
+ const flags = {
+ global: false,
+ ignoreCase: false,
+ multiline: false,
+ unicode: false,
+ sticky: false,
+ dotAll: false,
+ hasIndices: false,
+ unicodeSets: false,
+ };
+ const validFlags = new Set();
+ validFlags.add(LATIN_SMALL_LETTER_G);
+ validFlags.add(LATIN_SMALL_LETTER_I);
+ validFlags.add(LATIN_SMALL_LETTER_M);
+ if (this.ecmaVersion >= 2015) {
+ validFlags.add(LATIN_SMALL_LETTER_U);
+ validFlags.add(LATIN_SMALL_LETTER_Y);
+ if (this.ecmaVersion >= 2018) {
+ validFlags.add(LATIN_SMALL_LETTER_S);
+ if (this.ecmaVersion >= 2022) {
+ validFlags.add(LATIN_SMALL_LETTER_D);
+ if (this.ecmaVersion >= 2024) {
+ validFlags.add(LATIN_SMALL_LETTER_V);
+ }
+ }
+ }
+ }
+ for (let i = start; i < end; ++i) {
+ const flag = source.charCodeAt(i);
+ if (validFlags.has(flag)) {
+ const prop = FLAG_CODEPOINT_TO_PROP[flag];
+ if (flags[prop]) {
+ this.raise(`Duplicated flag '${source[i]}'`, {
+ index: start,
+ });
+ }
+ flags[prop] = true;
+ }
+ else {
+ this.raise(`Invalid flag '${source[i]}'`, { index: start });
+ }
+ }
+ return flags;
+ }
}
const DUMMY_PATTERN = {};
@@ -2162,14 +2241,16 @@ class RegExpParserState {
if (parent.type !== "Alternative") {
throw new Error("UnknownError");
}
- this._node = {
+ const group = {
type: "Group",
parent,
start,
end: start,
raw: "",
+ modifiers: null,
alternatives: [],
};
+ this._node = group;
parent.elements.push(this._node);
}
onGroupLeave(start, end) {
@@ -2181,6 +2262,63 @@ class RegExpParserState {
node.raw = this.source.slice(start, end);
this._node = node.parent;
}
+ onModifiersEnter(start) {
+ const parent = this._node;
+ if (parent.type !== "Group") {
+ throw new Error("UnknownError");
+ }
+ this._node = {
+ type: "Modifiers",
+ parent,
+ start,
+ end: start,
+ raw: "",
+ add: null,
+ remove: null,
+ };
+ parent.modifiers = this._node;
+ }
+ onModifiersLeave(start, end) {
+ const node = this._node;
+ if (node.type !== "Modifiers" || node.parent.type !== "Group") {
+ throw new Error("UnknownError");
+ }
+ node.end = end;
+ node.raw = this.source.slice(start, end);
+ this._node = node.parent;
+ }
+ onAddModifiers(start, end, { ignoreCase, multiline, dotAll, }) {
+ const parent = this._node;
+ if (parent.type !== "Modifiers") {
+ throw new Error("UnknownError");
+ }
+ parent.add = {
+ type: "ModifierFlags",
+ parent,
+ start,
+ end,
+ raw: this.source.slice(start, end),
+ ignoreCase,
+ multiline,
+ dotAll,
+ };
+ }
+ onRemoveModifiers(start, end, { ignoreCase, multiline, dotAll, }) {
+ const parent = this._node;
+ if (parent.type !== "Modifiers") {
+ throw new Error("UnknownError");
+ }
+ parent.remove = {
+ type: "ModifierFlags",
+ parent,
+ start,
+ end,
+ raw: this.source.slice(start, end),
+ ignoreCase,
+ multiline,
+ dotAll,
+ };
+ }
onCapturingGroupEnter(start, name) {
const parent = this._node;
if (parent.type !== "Alternative") {
@@ -2666,6 +2804,12 @@ class RegExpVisitor {
case "Group":
this.visitGroup(node);
break;
+ case "Modifiers":
+ this.visitModifiers(node);
+ break;
+ case "ModifierFlags":
+ this.visitModifierFlags(node);
+ break;
case "Pattern":
this.visitPattern(node);
break;
@@ -2804,11 +2948,36 @@ class RegExpVisitor {
if (this._handlers.onGroupEnter) {
this._handlers.onGroupEnter(node);
}
+ if (node.modifiers) {
+ this.visit(node.modifiers);
+ }
node.alternatives.forEach(this.visit, this);
if (this._handlers.onGroupLeave) {
this._handlers.onGroupLeave(node);
}
}
+ visitModifiers(node) {
+ if (this._handlers.onModifiersEnter) {
+ this._handlers.onModifiersEnter(node);
+ }
+ if (node.add) {
+ this.visit(node.add);
+ }
+ if (node.remove) {
+ this.visit(node.remove);
+ }
+ if (this._handlers.onModifiersLeave) {
+ this._handlers.onModifiersLeave(node);
+ }
+ }
+ visitModifierFlags(node) {
+ if (this._handlers.onModifierFlagsEnter) {
+ this._handlers.onModifierFlagsEnter(node);
+ }
+ if (this._handlers.onModifierFlagsLeave) {
+ this._handlers.onModifierFlagsLeave(node);
+ }
+ }
visitPattern(node) {
if (this._handlers.onPatternEnter) {
this._handlers.onPatternEnter(node);
diff --git a/node_modules/@eslint-community/regexpp/index.js.map b/node_modules/@eslint-community/regexpp/index.js.map
index b966d4a6..a13b289a 100644
--- a/node_modules/@eslint-community/regexpp/index.js.map
+++ b/node_modules/@eslint-community/regexpp/index.js.map
@@ -1 +1 @@
-{"version":3,"file":"index.js.map","sources":[".temp/src/ecma-versions.ts",".temp/unicode/src/unicode/ids.ts",".temp/unicode/src/unicode/properties.ts",".temp/unicode/src/unicode/index.ts",".temp/src/group-specifiers.ts",".temp/src/reader.ts",".temp/src/regexp-syntax-error.ts",".temp/src/validator.ts",".temp/src/parser.ts",".temp/src/visitor.ts",".temp/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;AAaO,MAAM,iBAAiB,GAAG,IAAI;;ACTrC,IAA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wB,EAAE;AACzC,YAAA,IAAI,CAAC,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAA;AAChD,SAAA;QACD,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;AACvC,QAAA,IAAI,IAAI,CAAC,SAAS,CAAC,wBAAwB,EAAE;AACzC,YAAA,IAAI,CAAC,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAA;AAChD,SAAA;KACJ;AACJ;;ACjRe,SAAA,kBAAkB,CAC9B,MAAuB,EACvB,OAA8B,EAAA;AAE9B,IAAA,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAA;AACjE,CAAC;AAOe,SAAA,qBAAqB,CACjC,MAAc,EACd,OAAiC,EAAA;IAEjC,IAAI,eAAe,CAAC,OAAO,CAAC,CAAC,eAAe,CAAC,MAAM,CAAC,CAAA;AACxD,CAAC;AAEe,SAAA,cAAc,CAC1B,IAAc,EACd,QAAgC,EAAA;IAEhC,IAAI,aAAa,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;AAC3C;;;;;;;;;;"}
\ No newline at end of file
+{"version":3,"file":"index.js.map","sources":[".temp/src/ecma-versions.ts",".temp/unicode/src/unicode/ids.ts",".temp/unicode/src/unicode/properties.ts",".temp/unicode/src/unicode/index.ts",".temp/src/group-specifiers.ts",".temp/src/reader.ts",".temp/src/regexp-syntax-error.ts",".temp/src/validator.ts",".temp/src/parser.ts",".temp/src/visitor.ts",".temp/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;AAaO,MAAM,iBAAiB,GAAG,IAAI;;ACTrC,IAAI,kBAAkB,GAAyB,SAAS,CAAA;AACxD,IAAI,qBAAqB,GAAyB,SAAS,CAAA;AAErD,SAAU,SAAS,CAAC,EAAU,EAAA;IA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AAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAA;AAChD,SAAA;KACJ;AACJ;;ACpTe,SAAA,kBAAkB,CAC9B,MAAuB,EACvB,OAA8B,EAAA;AAE9B,IAAA,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAA;AACjE,CAAC;AAOe,SAAA,qBAAqB,CACjC,MAAc,EACd,OAAiC,EAAA;IAEjC,IAAI,eAAe,CAAC,OAAO,CAAC,CAAC,eAAe,CAAC,MAAM,CAAC,CAAA;AACxD,CAAC;AAEe,SAAA,cAAc,CAC1B,IAAc,EACd,QAAgC,EAAA;IAEhC,IAAI,aAAa,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;AAC3C;;;;;;;;;;"}
\ No newline at end of file
diff --git a/node_modules/@eslint-community/regexpp/index.mjs b/node_modules/@eslint-community/regexpp/index.mjs
index ebd5503b..7652c62b 100644
--- a/node_modules/@eslint-community/regexpp/index.mjs
+++ b/node_modules/@eslint-community/regexpp/index.mjs
@@ -548,6 +548,17 @@ const CLASS_SET_RESERVED_PUNCTUATOR = new Set([
GRAVE_ACCENT,
TILDE,
]);
+const FLAG_PROP_TO_CODEPOINT = {
+ global: LATIN_SMALL_LETTER_G,
+ ignoreCase: LATIN_SMALL_LETTER_I,
+ multiline: LATIN_SMALL_LETTER_M,
+ unicode: LATIN_SMALL_LETTER_U,
+ sticky: LATIN_SMALL_LETTER_Y,
+ dotAll: LATIN_SMALL_LETTER_S,
+ hasIndices: LATIN_SMALL_LETTER_D,
+ unicodeSets: LATIN_SMALL_LETTER_V,
+};
+const FLAG_CODEPOINT_TO_PROP = Object.fromEntries(Object.entries(FLAG_PROP_TO_CODEPOINT).map(([k, v]) => [v, k]));
function isSyntaxCharacter(cp) {
return SYNTAX_CHARACTER.has(cp);
}
@@ -575,6 +586,11 @@ function isUnicodePropertyNameCharacter(cp) {
function isUnicodePropertyValueCharacter(cp) {
return isUnicodePropertyNameCharacter(cp) || isDecimalDigit(cp);
}
+function isRegularExpressionModifier(ch) {
+ return (ch === LATIN_SMALL_LETTER_I ||
+ ch === LATIN_SMALL_LETTER_M ||
+ ch === LATIN_SMALL_LETTER_S);
+}
class RegExpValidator {
constructor(options) {
this._reader = new Reader();
@@ -645,64 +661,8 @@ class RegExpValidator {
}
}
validateFlagsInternal(source, start, end) {
- const existingFlags = new Set();
- let global = false;
- let ignoreCase = false;
- let multiline = false;
- let sticky = false;
- let unicode = false;
- let dotAll = false;
- let hasIndices = false;
- let unicodeSets = false;
- for (let i = start; i < end; ++i) {
- const flag = source.charCodeAt(i);
- if (existingFlags.has(flag)) {
- this.raise(`Duplicated flag '${source[i]}'`, { index: start });
- }
- existingFlags.add(flag);
- if (flag === LATIN_SMALL_LETTER_G) {
- global = true;
- }
- else if (flag === LATIN_SMALL_LETTER_I) {
- ignoreCase = true;
- }
- else if (flag === LATIN_SMALL_LETTER_M) {
- multiline = true;
- }
- else if (flag === LATIN_SMALL_LETTER_U &&
- this.ecmaVersion >= 2015) {
- unicode = true;
- }
- else if (flag === LATIN_SMALL_LETTER_Y &&
- this.ecmaVersion >= 2015) {
- sticky = true;
- }
- else if (flag === LATIN_SMALL_LETTER_S &&
- this.ecmaVersion >= 2018) {
- dotAll = true;
- }
- else if (flag === LATIN_SMALL_LETTER_D &&
- this.ecmaVersion >= 2022) {
- hasIndices = true;
- }
- else if (flag === LATIN_SMALL_LETTER_V &&
- this.ecmaVersion >= 2024) {
- unicodeSets = true;
- }
- else {
- this.raise(`Invalid flag '${source[i]}'`, { index: start });
- }
- }
- this.onRegExpFlags(start, end, {
- global,
- ignoreCase,
- multiline,
- unicode,
- sticky,
- dotAll,
- hasIndices,
- unicodeSets,
- });
+ const flags = this.parseFlags(source, start, end);
+ this.onRegExpFlags(start, end, flags);
}
_parseFlagsOptionToMode(uFlagOrFlags, sourceEnd) {
let unicode = false;
@@ -797,6 +757,26 @@ class RegExpValidator {
this._options.onGroupLeave(start, end);
}
}
+ onModifiersEnter(start) {
+ if (this._options.onModifiersEnter) {
+ this._options.onModifiersEnter(start);
+ }
+ }
+ onModifiersLeave(start, end) {
+ if (this._options.onModifiersLeave) {
+ this._options.onModifiersLeave(start, end);
+ }
+ }
+ onAddModifiers(start, end, flags) {
+ if (this._options.onAddModifiers) {
+ this._options.onAddModifiers(start, end, flags);
+ }
+ }
+ onRemoveModifiers(start, end, flags) {
+ if (this._options.onRemoveModifiers) {
+ this._options.onRemoveModifiers(start, end, flags);
+ }
+ }
onCapturingGroupEnter(start, name) {
if (this._options.onCapturingGroupEnter) {
this._options.onCapturingGroupEnter(start, name);
@@ -1169,8 +1149,8 @@ class RegExpValidator {
this.consumeDot() ||
this.consumeReverseSolidusAtomEscape() ||
Boolean(this.consumeCharacterClass()) ||
- this.consumeUncapturingGroup() ||
- this.consumeCapturingGroup());
+ this.consumeCapturingGroup() ||
+ this.consumeUncapturingGroup());
}
consumeDot() {
if (this.eat(FULL_STOP)) {
@@ -1191,8 +1171,15 @@ class RegExpValidator {
}
consumeUncapturingGroup() {
const start = this.index;
- if (this.eat3(LEFT_PARENTHESIS, QUESTION_MARK, COLON)) {
+ if (this.eat2(LEFT_PARENTHESIS, QUESTION_MARK)) {
this.onGroupEnter(start);
+ if (this.ecmaVersion >= 2025) {
+ this.consumeModifiers();
+ }
+ if (!this.eat(COLON)) {
+ this.rewind(start + 1);
+ this.raise("Invalid group");
+ }
this.consumeDisjunction();
if (!this.eat(RIGHT_PARENTHESIS)) {
this.raise("Unterminated group");
@@ -1202,6 +1189,35 @@ class RegExpValidator {
}
return false;
}
+ consumeModifiers() {
+ const start = this.index;
+ const hasAddModifiers = this.eatModifiers();
+ const addModifiersEnd = this.index;
+ const hasHyphen = this.eat(HYPHEN_MINUS);
+ if (!hasAddModifiers && !hasHyphen) {
+ return false;
+ }
+ this.onModifiersEnter(start);
+ const addModifiers = this.parseModifiers(start, addModifiersEnd);
+ this.onAddModifiers(start, addModifiersEnd, addModifiers);
+ if (hasHyphen) {
+ const modifiersStart = this.index;
+ if (!this.eatModifiers() &&
+ !hasAddModifiers &&
+ this.currentCodePoint === COLON) {
+ this.raise("Invalid empty flags");
+ }
+ const modifiers = this.parseModifiers(modifiersStart, this.index);
+ for (const [flagName] of Object.entries(modifiers).filter(([, enable]) => enable)) {
+ if (addModifiers[flagName]) {
+ this.raise(`Duplicated flag '${String.fromCodePoint(FLAG_PROP_TO_CODEPOINT[flagName])}'`);
+ }
+ }
+ this.onRemoveModifiers(modifiersStart, this.index, modifiers);
+ }
+ this.onModifiersLeave(start, this.index);
+ return true;
+ }
consumeCapturingGroup() {
const start = this.index;
if (this.eat(LEFT_PARENTHESIS)) {
@@ -1210,9 +1226,14 @@ class RegExpValidator {
if (this.consumeGroupSpecifier()) {
name = this._lastStrValue;
}
+ else if (this.currentCodePoint === QUESTION_MARK) {
+ this.rewind(start);
+ return false;
+ }
}
else if (this.currentCodePoint === QUESTION_MARK) {
- this.raise("Invalid group");
+ this.rewind(start);
+ return false;
}
this.onCapturingGroupEnter(start, name);
this.consumeDisjunction();
@@ -1229,8 +1250,8 @@ class RegExpValidator {
this.consumeReverseSolidusAtomEscape() ||
this.consumeReverseSolidusFollowedByC() ||
Boolean(this.consumeCharacterClass()) ||
- this.consumeUncapturingGroup() ||
this.consumeCapturingGroup() ||
+ this.consumeUncapturingGroup() ||
this.consumeInvalidBracedQuantifier() ||
this.consumeExtendedPatternCharacter());
}
@@ -1283,6 +1304,7 @@ class RegExpValidator {
return false;
}
consumeGroupSpecifier() {
+ const start = this.index;
if (this.eat(QUESTION_MARK)) {
if (this.eatGroupName()) {
if (!this._groupSpecifiers.hasInScope(this._lastStrValue)) {
@@ -1291,7 +1313,7 @@ class RegExpValidator {
}
this.raise("Duplicate capture group name");
}
- this.raise("Invalid group");
+ this.rewind(start);
}
return false;
}
@@ -2039,6 +2061,63 @@ class RegExpValidator {
}
return true;
}
+ eatModifiers() {
+ let ate = false;
+ while (isRegularExpressionModifier(this.currentCodePoint)) {
+ this.advance();
+ ate = true;
+ }
+ return ate;
+ }
+ parseModifiers(start, end) {
+ const { ignoreCase, multiline, dotAll } = this.parseFlags(this._reader.source, start, end);
+ return { ignoreCase, multiline, dotAll };
+ }
+ parseFlags(source, start, end) {
+ const flags = {
+ global: false,
+ ignoreCase: false,
+ multiline: false,
+ unicode: false,
+ sticky: false,
+ dotAll: false,
+ hasIndices: false,
+ unicodeSets: false,
+ };
+ const validFlags = new Set();
+ validFlags.add(LATIN_SMALL_LETTER_G);
+ validFlags.add(LATIN_SMALL_LETTER_I);
+ validFlags.add(LATIN_SMALL_LETTER_M);
+ if (this.ecmaVersion >= 2015) {
+ validFlags.add(LATIN_SMALL_LETTER_U);
+ validFlags.add(LATIN_SMALL_LETTER_Y);
+ if (this.ecmaVersion >= 2018) {
+ validFlags.add(LATIN_SMALL_LETTER_S);
+ if (this.ecmaVersion >= 2022) {
+ validFlags.add(LATIN_SMALL_LETTER_D);
+ if (this.ecmaVersion >= 2024) {
+ validFlags.add(LATIN_SMALL_LETTER_V);
+ }
+ }
+ }
+ }
+ for (let i = start; i < end; ++i) {
+ const flag = source.charCodeAt(i);
+ if (validFlags.has(flag)) {
+ const prop = FLAG_CODEPOINT_TO_PROP[flag];
+ if (flags[prop]) {
+ this.raise(`Duplicated flag '${source[i]}'`, {
+ index: start,
+ });
+ }
+ flags[prop] = true;
+ }
+ else {
+ this.raise(`Invalid flag '${source[i]}'`, { index: start });
+ }
+ }
+ return flags;
+ }
}
const DUMMY_PATTERN = {};
@@ -2158,14 +2237,16 @@ class RegExpParserState {
if (parent.type !== "Alternative") {
throw new Error("UnknownError");
}
- this._node = {
+ const group = {
type: "Group",
parent,
start,
end: start,
raw: "",
+ modifiers: null,
alternatives: [],
};
+ this._node = group;
parent.elements.push(this._node);
}
onGroupLeave(start, end) {
@@ -2177,6 +2258,63 @@ class RegExpParserState {
node.raw = this.source.slice(start, end);
this._node = node.parent;
}
+ onModifiersEnter(start) {
+ const parent = this._node;
+ if (parent.type !== "Group") {
+ throw new Error("UnknownError");
+ }
+ this._node = {
+ type: "Modifiers",
+ parent,
+ start,
+ end: start,
+ raw: "",
+ add: null,
+ remove: null,
+ };
+ parent.modifiers = this._node;
+ }
+ onModifiersLeave(start, end) {
+ const node = this._node;
+ if (node.type !== "Modifiers" || node.parent.type !== "Group") {
+ throw new Error("UnknownError");
+ }
+ node.end = end;
+ node.raw = this.source.slice(start, end);
+ this._node = node.parent;
+ }
+ onAddModifiers(start, end, { ignoreCase, multiline, dotAll, }) {
+ const parent = this._node;
+ if (parent.type !== "Modifiers") {
+ throw new Error("UnknownError");
+ }
+ parent.add = {
+ type: "ModifierFlags",
+ parent,
+ start,
+ end,
+ raw: this.source.slice(start, end),
+ ignoreCase,
+ multiline,
+ dotAll,
+ };
+ }
+ onRemoveModifiers(start, end, { ignoreCase, multiline, dotAll, }) {
+ const parent = this._node;
+ if (parent.type !== "Modifiers") {
+ throw new Error("UnknownError");
+ }
+ parent.remove = {
+ type: "ModifierFlags",
+ parent,
+ start,
+ end,
+ raw: this.source.slice(start, end),
+ ignoreCase,
+ multiline,
+ dotAll,
+ };
+ }
onCapturingGroupEnter(start, name) {
const parent = this._node;
if (parent.type !== "Alternative") {
@@ -2662,6 +2800,12 @@ class RegExpVisitor {
case "Group":
this.visitGroup(node);
break;
+ case "Modifiers":
+ this.visitModifiers(node);
+ break;
+ case "ModifierFlags":
+ this.visitModifierFlags(node);
+ break;
case "Pattern":
this.visitPattern(node);
break;
@@ -2800,11 +2944,36 @@ class RegExpVisitor {
if (this._handlers.onGroupEnter) {
this._handlers.onGroupEnter(node);
}
+ if (node.modifiers) {
+ this.visit(node.modifiers);
+ }
node.alternatives.forEach(this.visit, this);
if (this._handlers.onGroupLeave) {
this._handlers.onGroupLeave(node);
}
}
+ visitModifiers(node) {
+ if (this._handlers.onModifiersEnter) {
+ this._handlers.onModifiersEnter(node);
+ }
+ if (node.add) {
+ this.visit(node.add);
+ }
+ if (node.remove) {
+ this.visit(node.remove);
+ }
+ if (this._handlers.onModifiersLeave) {
+ this._handlers.onModifiersLeave(node);
+ }
+ }
+ visitModifierFlags(node) {
+ if (this._handlers.onModifierFlagsEnter) {
+ this._handlers.onModifierFlagsEnter(node);
+ }
+ if (this._handlers.onModifierFlagsLeave) {
+ this._handlers.onModifierFlagsLeave(node);
+ }
+ }
visitPattern(node) {
if (this._handlers.onPatternEnter) {
this._handlers.onPatternEnter(node);
diff --git a/node_modules/@eslint-community/regexpp/index.mjs.map b/node_modules/@eslint-community/regexpp/index.mjs.map
index cc9c80ff..0d1c5f78 100644
--- a/node_modules/@eslint-community/regexpp/index.mjs.map
+++ b/node_modules/@eslint-community/regexpp/index.mjs.map
@@ -1 +1 @@
-{"version":3,"file":"index.mjs.map","sources":[".temp/src/ecma-versions.ts",".temp/unicode/src/unicode/ids.ts",".temp/unicode/src/unicode/properties.ts",".temp/unicode/src/unicode/index.ts",".temp/src/group-specifiers.ts",".temp/src/reader.ts",".temp/src/regexp-syntax-error.ts",".temp/src/validator.ts",".temp/src/parser.ts",".temp/src/visitor.ts",".temp/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;AAaO,MAAM,iBAAiB,GAAG,IAAI;;ACTrC,IAAI,kBAAkB,GAAyB,SAAS,CAAA;AACxD,IAAI,qBAAqB,GAAyB,SAAS,CAAA;AAErD,SAAU,SAAS,CAAC,EAAU,EAAA;IAChC,IAAI,EAAE,GAAG,IAAI;AAAE,QAAA,OAAO,KAAK,CAAA;IAC3B,IAAI,EAAE,GAAG,IAAI;AAAE,QAAA,OAAO,IAAI,CAAA;IAC1B,IAAI,EAAE,GAAG,IAAI;AAAE,QAAA,OAAO,KAAK,CAAA;IAC3B,IAAI,EAAE,GAAG,IAAI;AAAE,QAAA,OAAO,IAAI,CAAA;AAC1B,IAAA,OAAO,cAAc,CAAC,EAAE,CAAC,CAAA;AAC7B,CAAC;AAEK,SAAU,YAAY,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AAC,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAA;AACjE,CAAC;AAOe,SAAA,qBAAqB,CACjC,MAAc,EACd,OAAiC,EAAA;IAEjC,IAAI,eAAe,CAAC,OAAO,CAAC,CAAC,eAAe,CAAC,MAAM,CAAC,CAAA;AACxD,CAAC;AAEe,SAAA,cAAc,CAC1B,IAAc,EACd,QAAgC,EAAA;IAEhC,IAAI,aAAa,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;AAC3C;;;;"}
\ No newline at end of file
+{"version":3,"file":"index.mjs.map","sources":[".temp/src/ecma-versions.ts",".temp/unicode/src/unicode/ids.ts",".temp/unicode/src/unicode/properties.ts",".temp/unicode/src/unicode/index.ts",".temp/src/group-specifiers.ts",".temp/src/reader.ts",".temp/src/regexp-syntax-error.ts",".temp/src/validator.ts",".temp/src/parser.ts",".temp/src/visitor.ts",".temp/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;AAaO,MAAM,iBAAiB,GAAG,IAAI;;ACTrC,IAAI,kBAAkB,GAAyB,SAAS,CAAA;AACxD,IAAI,qBAAqB,GAAyB,SAAS,CAAA;AAErD,SAAU,SAAS,CAAC,EAAU,EAAA;IAChC,IAAI,EAAE,GAAG,IAAI;AAAE,QAAA,OAAO,KAAK,CAAA;IAC3B,IAAI,EAAE,GAAG,IAAI;AAAE,QAAA,OAAO,IAAI,CAAA;IAC1B,IAAI,EAAE,GAAG,IAAI;AAAE,QAAA,OAAO,KAAK,CAAA;IAC3B,IAAI,EAAE,GAAG,IAAI;AAAE,QAAA,OAAO,IAAI,CAAA;AAC1B,IAAA,OAAO,cAAc,CAAC,EAAE,CAAC,CAAA;AAC7B,CAAC;AAEK,SAAU,YAAY,CAAC,EAAU,EAAA;IACnC,IAAI,EAAE,GAAG,IAAI;AAAE,QAAA,OAAO,KAAK,CAAA;IAC3B,IAAI,EAAE,GAAG,IAAI;AAAE,QA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Aa,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;AAC3C;;;;"}
\ No newline at end of file
diff --git a/node_modules/@eslint-community/regexpp/package.json b/node_modules/@eslint-community/regexpp/package.json
index 5f973c6a..39cbfde7 100644
--- a/node_modules/@eslint-community/regexpp/package.json
+++ b/node_modules/@eslint-community/regexpp/package.json
@@ -1,6 +1,6 @@
{
"name": "@eslint-community/regexpp",
- "version": "4.11.2",
+ "version": "4.12.1",
"description": "Regular expression parser for ECMAScript.",
"keywords": [
"regexp",
diff --git a/node_modules/@humanwhocodes/config-array/LICENSE b/node_modules/@eslint/compat/LICENSE
similarity index 100%
rename from node_modules/@humanwhocodes/config-array/LICENSE
rename to node_modules/@eslint/compat/LICENSE
diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/README.md b/node_modules/@eslint/compat/README.md
similarity index 100%
rename from node_modules/eslint-plugin-github/node_modules/@eslint/compat/README.md
rename to node_modules/@eslint/compat/README.md
diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/cjs/index.cjs b/node_modules/@eslint/compat/dist/cjs/index.cjs
similarity index 100%
rename from node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/cjs/index.cjs
rename to node_modules/@eslint/compat/dist/cjs/index.cjs
diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/cjs/index.d.cts b/node_modules/@eslint/compat/dist/cjs/index.d.cts
similarity index 100%
rename from node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/cjs/index.d.cts
rename to node_modules/@eslint/compat/dist/cjs/index.d.cts
diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/esm/index.d.ts b/node_modules/@eslint/compat/dist/esm/index.d.ts
similarity index 100%
rename from node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/esm/index.d.ts
rename to node_modules/@eslint/compat/dist/esm/index.d.ts
diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/esm/index.js b/node_modules/@eslint/compat/dist/esm/index.js
similarity index 100%
rename from node_modules/eslint-plugin-github/node_modules/@eslint/compat/dist/esm/index.js
rename to node_modules/@eslint/compat/dist/esm/index.js
diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/package.json b/node_modules/@eslint/compat/package.json
similarity index 100%
rename from node_modules/eslint-plugin-github/node_modules/@eslint/compat/package.json
rename to node_modules/@eslint/compat/package.json
diff --git a/node_modules/eslint-plugin-github/node_modules/@eslint/compat/LICENSE b/node_modules/@eslint/config-array/LICENSE
similarity index 100%
rename from node_modules/eslint-plugin-github/node_modules/@eslint/compat/LICENSE
rename to node_modules/@eslint/config-array/LICENSE
diff --git a/node_modules/@eslint/config-array/README.md b/node_modules/@eslint/config-array/README.md
new file mode 100644
index 00000000..9d343aae
--- /dev/null
+++ b/node_modules/@eslint/config-array/README.md
@@ -0,0 +1,358 @@
+# Config Array
+
+## Description
+
+A config array is a way of managing configurations that are based on glob pattern matching of filenames. Each config array contains the information needed to determine the correct configuration for any file based on the filename.
+
+**Note:** This is a generic package that can be used outside of ESLint. It contains no ESLint-specific functionality.
+
+## Installation
+
+For Node.js and compatible runtimes:
+
+```shell
+npm install @eslint/config-array
+# or
+yarn add @eslint/config-array
+# or
+pnpm install @eslint/config-array
+# or
+bun install @eslint/config-array
+```
+
+For Deno:
+
+```shell
+deno add @eslint/config-array
+```
+
+## Background
+
+The basic idea is that all configuration, including overrides, can be represented by a single array where each item in the array is a config object. Config objects appearing later in the array override config objects appearing earlier in the array. You can calculate a config for a given file by traversing all config objects in the array to find the ones that match the filename. Matching is done by specifying glob patterns in `files` and `ignores` properties on each config object. Here's an example:
+
+```js
+export default [
+ // match all JSON files
+ {
+ name: "JSON Handler",
+ files: ["**/*.json"],
+ handler: jsonHandler,
+ },
+
+ // match only package.json
+ {
+ name: "package.json Handler",
+ files: ["package.json"],
+ handler: packageJsonHandler,
+ },
+];
+```
+
+In this example, there are two config objects: the first matches all JSON files in all directories and the second matches just `package.json` in the base path directory (all the globs are evaluated as relative to a base path that can be specified). When you retrieve a configuration for `foo.json`, only the first config object matches so `handler` is equal to `jsonHandler`; when you retrieve a configuration for `package.json`, `handler` is equal to `packageJsonHandler` (because both config objects match, the second one wins).
+
+## Usage
+
+First, import the `ConfigArray` constructor:
+
+```js
+import { ConfigArray } from "@eslint/config-array";
+
+// or using CommonJS
+
+const { ConfigArray } = require("@eslint/config-array");
+```
+
+When you create a new instance of `ConfigArray`, you must pass in two arguments: an array of configs and an options object. The array of configs is most likely read in from a configuration file, so here's a typical example:
+
+```js
+const configFilename = path.resolve(process.cwd(), "my.config.js");
+const { default: rawConfigs } = await import(configFilename);
+const configs = new ConfigArray(rawConfigs, {
+ // the path to match filenames from
+ basePath: process.cwd(),
+
+ // additional items in each config
+ schema: mySchema,
+});
+```
+
+This example reads in an object or array from `my.config.js` and passes it into the `ConfigArray` constructor as the first argument. The second argument is an object specifying the `basePath` (the directory in which `my.config.js` is found) and a `schema` to define the additional properties of a config object beyond `files`, `ignores`, and `name`.
+
+### Specifying a Schema
+
+The `schema` option is required for you to use additional properties in config objects. The schema is an object that follows the format of an [`ObjectSchema`](https://npmjs.com/package/@eslint/object-schema). The schema specifies both validation and merge rules that the `ConfigArray` instance needs to combine configs when there are multiple matches. Here's an example:
+
+```js
+const configFilename = path.resolve(process.cwd(), "my.config.js");
+const { default: rawConfigs } = await import(configFilename);
+
+const mySchema = {
+
+ // define the handler key in configs
+ handler: {
+ required: true,
+ merge(a, b) {
+ if (!b) return a;
+ if (!a) return b;
+ },
+ validate(value) {
+ if (typeof value !== "function") {
+ throw new TypeError("Function expected.");
+ }
+ }
+ }
+};
+
+const configs = new ConfigArray(rawConfigs, {
+
+ // the path to match filenames from
+ basePath: process.cwd(),
+
+ // additional item schemas in each config
+ schema: mySchema,
+
+ // additional config types supported (default: [])
+ extraConfigTypes: ["array", "function"];
+});
+```
+
+### Config Arrays
+
+Config arrays can be multidimensional, so it's possible for a config array to contain another config array when `extraConfigTypes` contains `"array"`, such as:
+
+```js
+export default [
+ // JS config
+ {
+ files: ["**/*.js"],
+ handler: jsHandler,
+ },
+
+ // JSON configs
+ [
+ // match all JSON files
+ {
+ name: "JSON Handler",
+ files: ["**/*.json"],
+ handler: jsonHandler,
+ },
+
+ // match only package.json
+ {
+ name: "package.json Handler",
+ files: ["package.json"],
+ handler: packageJsonHandler,
+ },
+ ],
+
+ // filename must match function
+ {
+ files: [filePath => filePath.endsWith(".md")],
+ handler: markdownHandler,
+ },
+
+ // filename must match all patterns in subarray
+ {
+ files: [["*.test.*", "*.js"]],
+ handler: jsTestHandler,
+ },
+
+ // filename must not match patterns beginning with !
+ {
+ name: "Non-JS files",
+ files: ["!*.js"],
+ settings: {
+ js: false,
+ },
+ },
+];
+```
+
+In this example, the array contains both config objects and a config array. When a config array is normalized (see details below), it is flattened so only config objects remain. However, the order of evaluation remains the same.
+
+If the `files` array contains a function, then that function is called with the path of the file as it was passed in. The function is expected to return `true` if there is a match and `false` if not. (The `ignores` array can also contain functions.)
+
+If the `files` array contains an item that is an array of strings and functions, then all patterns must match in order for the config to match. In the preceding examples, both `*.test.*` and `*.js` must match in order for the config object to be used.
+
+If a pattern in the files array begins with `!` then it excludes that pattern. In the preceding example, any filename that doesn't end with `.js` will automatically get a `settings.js` property set to `false`.
+
+You can also specify an `ignores` key that will force files matching those patterns to not be included. If the `ignores` key is in a config object without any other keys, then those ignores will always be applied; otherwise those ignores act as exclusions. Here's an example:
+
+```js
+export default [
+
+ // Always ignored
+ {
+ ignores: ["**/.git/**", "**/node_modules/**"]
+ },
+
+ // .eslintrc.js file is ignored only when .js file matches
+ {
+ files: ["**/*.js"],
+ ignores: [".eslintrc.js"]
+ handler: jsHandler
+ }
+];
+```
+
+You can use negated patterns in `ignores` to exclude a file that was already ignored, such as:
+
+```js
+export default [
+ // Ignore all JSON files except tsconfig.json
+ {
+ files: ["**/*"],
+ ignores: ["**/*.json", "!tsconfig.json"],
+ },
+];
+```
+
+### Config Functions
+
+Config arrays can also include config functions when `extraConfigTypes` contains `"function"`. A config function accepts a single parameter, `context` (defined by you), and must return either a config object or a config array (it cannot return another function). Config functions allow end users to execute code in the creation of appropriate config objects. Here's an example:
+
+```js
+export default [
+ // JS config
+ {
+ files: ["**/*.js"],
+ handler: jsHandler,
+ },
+
+ // JSON configs
+ function (context) {
+ return [
+ // match all JSON files
+ {
+ name: context.name + " JSON Handler",
+ files: ["**/*.json"],
+ handler: jsonHandler,
+ },
+
+ // match only package.json
+ {
+ name: context.name + " package.json Handler",
+ files: ["package.json"],
+ handler: packageJsonHandler,
+ },
+ ];
+ },
+];
+```
+
+When a config array is normalized, each function is executed and replaced in the config array with the return value.
+
+**Note:** Config functions can also be async.
+
+### Normalizing Config Arrays
+
+Once a config array has been created and loaded with all of the raw config data, it must be normalized before it can be used. The normalization process goes through and flattens the config array as well as executing all config functions to get their final values.
+
+To normalize a config array, call the `normalize()` method and pass in a context object:
+
+```js
+await configs.normalize({
+ name: "MyApp",
+});
+```
+
+The `normalize()` method returns a promise, so be sure to use the `await` operator. The config array instance is normalized in-place, so you don't need to create a new variable.
+
+If you want to disallow async config functions, you can call `normalizeSync()` instead. This method is completely synchronous and does not require using the `await` operator as it does not return a promise:
+
+```js
+await configs.normalizeSync({
+ name: "MyApp",
+});
+```
+
+**Important:** Once a `ConfigArray` is normalized, it cannot be changed further. You can, however, create a new `ConfigArray` and pass in the normalized instance to create an unnormalized copy.
+
+### Getting Config for a File
+
+To get the config for a file, use the `getConfig()` method on a normalized config array and pass in the filename to get a config for:
+
+```js
+// pass in filename
+const fileConfig = configs.getConfig(
+ path.resolve(process.cwd(), "package.json"),
+);
+```
+
+The config array always returns an object, even if there are no configs matching the given filename. You can then inspect the returned config object to determine how to proceed.
+
+A few things to keep in mind:
+
+- If a filename is not an absolute path, it will be resolved relative to the base path directory.
+- The returned config object never has `files`, `ignores`, or `name` properties; the only properties on the object will be the other configuration options specified.
+- The config array caches configs, so subsequent calls to `getConfig()` with the same filename will return in a fast lookup rather than another calculation.
+- A config will only be generated if the filename matches an entry in a `files` key. A config will not be generated without matching a `files` key (configs without a `files` key are only applied when another config with a `files` key is applied; configs without `files` are never applied on their own). Any config with a `files` key entry that is `*` or ends with `/**` or `/*` will only be applied if another entry in the same `files` key matches or another config matches.
+
+## Determining Ignored Paths
+
+You can determine if a file is ignored by using the `isFileIgnored()` method and passing in the path of any file, as in this example:
+
+```js
+const ignored = configs.isFileIgnored("/foo/bar/baz.txt");
+```
+
+A file is considered ignored if any of the following is true:
+
+- **It's parent directory is ignored.** For example, if `foo` is in `ignores`, then `foo/a.js` is considered ignored.
+- **It has an ancestor directory that is ignored.** For example, if `foo` is in `ignores`, then `foo/baz/a.js` is considered ignored.
+- **It matches an ignored file pattern.** For example, if `**/a.js` is in `ignores`, then `foo/a.js` and `foo/baz/a.js` are considered ignored.
+- **If it matches an entry in `files` and also in `ignores`.** For example, if `**/*.js` is in `files` and `**/a.js` is in `ignores`, then `foo/a.js` and `foo/baz/a.js` are considered ignored.
+- **The file is outside the `basePath`.** If the `basePath` is `/usr/me`, then `/foo/a.js` is considered ignored.
+
+For directories, use the `isDirectoryIgnored()` method and pass in the path of any directory, as in this example:
+
+```js
+const ignored = configs.isDirectoryIgnored("/foo/bar/");
+```
+
+A directory is considered ignored if any of the following is true:
+
+- **It's parent directory is ignored.** For example, if `foo` is in `ignores`, then `foo/baz` is considered ignored.
+- **It has an ancestor directory that is ignored.** For example, if `foo` is in `ignores`, then `foo/bar/baz/a.js` is considered ignored.
+- **It matches and ignored file pattern.** For example, if `**/a.js` is in `ignores`, then `foo/a.js` and `foo/baz/a.js` are considered ignored.
+- **If it matches an entry in `files` and also in `ignores`.** For example, if `**/*.js` is in `files` and `**/a.js` is in `ignores`, then `foo/a.js` and `foo/baz/a.js` are considered ignored.
+- **The file is outside the `basePath`.** If the `basePath` is `/usr/me`, then `/foo/a.js` is considered ignored.
+
+**Important:** A pattern such as `foo/**` means that `foo` and `foo/` are _not_ ignored whereas `foo/bar` is ignored. If you want to ignore `foo` and all of its subdirectories, use the pattern `foo` or `foo/` in `ignores`.
+
+## Caching Mechanisms
+
+Each `ConfigArray` aggressively caches configuration objects to avoid unnecessary work. This caching occurs in two ways:
+
+1. **File-based Caching.** For each filename that is passed into a method, the resulting config is cached against that filename so you're always guaranteed to get the same object returned from `getConfig()` whenever you pass the same filename in.
+2. **Index-based Caching.** Whenever a config is calculated, the config elements that were used to create the config are also cached. So if a given filename matches elements 1, 5, and 7, the resulting config is cached with a key of `1,5,7`. That way, if another file is passed that matches the same config elements, the result is already known and doesn't have to be recalculated. That means two files that match all the same elements will return the same config from `getConfig()`.
+
+## Acknowledgements
+
+The design of this project was influenced by feedback on the ESLint RFC, and incorporates ideas from:
+
+- Teddy Katz (@not-an-aardvark)
+- Toru Nagashima (@mysticatea)
+- Kai Cataldo (@kaicataldo)
+
+## License
+
+Apache 2.0
+
+
+
+
+## Sponsors
+
+The following companies, organizations, and individuals support ESLint's ongoing maintenance and development. [Become a Sponsor](https://eslint.org/donate)
+to get your logo on our READMEs and [website](https://eslint.org/sponsors).
+
+
Platinum Sponsors
+
Gold Sponsors
+
Silver Sponsors
+
Bronze Sponsors
+
+
Technology Sponsors
+Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.
+
+
diff --git a/node_modules/@eslint/config-array/dist/cjs/index.cjs b/node_modules/@eslint/config-array/dist/cjs/index.cjs
new file mode 100644
index 00000000..cc033c31
--- /dev/null
+++ b/node_modules/@eslint/config-array/dist/cjs/index.cjs
@@ -0,0 +1,1304 @@
+'use strict';
+
+var posixPath = require('./std__path/posix.cjs');
+var windowsPath = require('./std__path/windows.cjs');
+var minimatch = require('minimatch');
+var createDebug = require('debug');
+var objectSchema = require('@eslint/object-schema');
+
+function _interopNamespaceDefault(e) {
+ var n = Object.create(null);
+ if (e) {
+ Object.keys(e).forEach(function (k) {
+ if (k !== 'default') {
+ var d = Object.getOwnPropertyDescriptor(e, k);
+ Object.defineProperty(n, k, d.get ? d : {
+ enumerable: true,
+ get: function () { return e[k]; }
+ });
+ }
+ });
+ }
+ n.default = e;
+ return Object.freeze(n);
+}
+
+var posixPath__namespace = /*#__PURE__*/_interopNamespaceDefault(posixPath);
+var windowsPath__namespace = /*#__PURE__*/_interopNamespaceDefault(windowsPath);
+
+/**
+ * @fileoverview ConfigSchema
+ * @author Nicholas C. Zakas
+ */
+
+//------------------------------------------------------------------------------
+// Types
+//------------------------------------------------------------------------------
+
+/** @typedef {import("@eslint/object-schema").PropertyDefinition} PropertyDefinition */
+/** @typedef {import("@eslint/object-schema").ObjectDefinition} ObjectDefinition */
+
+//------------------------------------------------------------------------------
+// Helpers
+//------------------------------------------------------------------------------
+
+/**
+ * A strategy that does nothing.
+ * @type {PropertyDefinition}
+ */
+const NOOP_STRATEGY = {
+ required: false,
+ merge() {
+ return undefined;
+ },
+ validate() {},
+};
+
+//------------------------------------------------------------------------------
+// Exports
+//------------------------------------------------------------------------------
+
+/**
+ * The base schema that every ConfigArray uses.
+ * @type {ObjectDefinition}
+ */
+const baseSchema = Object.freeze({
+ name: {
+ required: false,
+ merge() {
+ return undefined;
+ },
+ validate(value) {
+ if (typeof value !== "string") {
+ throw new TypeError("Property must be a string.");
+ }
+ },
+ },
+ files: NOOP_STRATEGY,
+ ignores: NOOP_STRATEGY,
+});
+
+/**
+ * @fileoverview ConfigSchema
+ * @author Nicholas C. Zakas
+ */
+
+//------------------------------------------------------------------------------
+// Types
+//------------------------------------------------------------------------------
+
+
+//------------------------------------------------------------------------------
+// Helpers
+//------------------------------------------------------------------------------
+
+/**
+ * Asserts that a given value is an array.
+ * @param {*} value The value to check.
+ * @returns {void}
+ * @throws {TypeError} When the value is not an array.
+ */
+function assertIsArray(value) {
+ if (!Array.isArray(value)) {
+ throw new TypeError("Expected value to be an array.");
+ }
+}
+
+/**
+ * Asserts that a given value is an array containing only strings and functions.
+ * @param {*} value The value to check.
+ * @returns {void}
+ * @throws {TypeError} When the value is not an array of strings and functions.
+ */
+function assertIsArrayOfStringsAndFunctions(value) {
+ assertIsArray(value);
+
+ if (
+ value.some(
+ item => typeof item !== "string" && typeof item !== "function",
+ )
+ ) {
+ throw new TypeError(
+ "Expected array to only contain strings and functions.",
+ );
+ }
+}
+
+/**
+ * Asserts that a given value is a non-empty array.
+ * @param {*} value The value to check.
+ * @returns {void}
+ * @throws {TypeError} When the value is not an array or an empty array.
+ */
+function assertIsNonEmptyArray(value) {
+ if (!Array.isArray(value) || value.length === 0) {
+ throw new TypeError("Expected value to be a non-empty array.");
+ }
+}
+
+//------------------------------------------------------------------------------
+// Exports
+//------------------------------------------------------------------------------
+
+/**
+ * The schema for `files` and `ignores` that every ConfigArray uses.
+ * @type {ObjectDefinition}
+ */
+const filesAndIgnoresSchema = Object.freeze({
+ files: {
+ required: false,
+ merge() {
+ return undefined;
+ },
+ validate(value) {
+ // first check if it's an array
+ assertIsNonEmptyArray(value);
+
+ // then check each member
+ value.forEach(item => {
+ if (Array.isArray(item)) {
+ assertIsArrayOfStringsAndFunctions(item);
+ } else if (
+ typeof item !== "string" &&
+ typeof item !== "function"
+ ) {
+ throw new TypeError(
+ "Items must be a string, a function, or an array of strings and functions.",
+ );
+ }
+ });
+ },
+ },
+ ignores: {
+ required: false,
+ merge() {
+ return undefined;
+ },
+ validate: assertIsArrayOfStringsAndFunctions,
+ },
+});
+
+/**
+ * @fileoverview ConfigArray
+ * @author Nicholas C. Zakas
+ */
+
+
+//------------------------------------------------------------------------------
+// Types
+//------------------------------------------------------------------------------
+
+/** @typedef {import("./types.ts").ConfigObject} ConfigObject */
+/** @typedef {import("minimatch").IMinimatchStatic} IMinimatchStatic */
+/** @typedef {import("minimatch").IMinimatch} IMinimatch */
+/** @typedef {import("@jsr/std__path")} PathImpl */
+
+/*
+ * This is a bit of a hack to make TypeScript happy with the Rollup-created
+ * CommonJS file. Rollup doesn't do object destructuring for imported files
+ * and instead imports the default via `require()`. This messes up type checking
+ * for `ObjectSchema`. To work around that, we just import the type manually
+ * and give it a different name to use in the JSDoc comments.
+ */
+/** @typedef {import("@eslint/object-schema").ObjectSchema} ObjectSchemaInstance */
+
+//------------------------------------------------------------------------------
+// Helpers
+//------------------------------------------------------------------------------
+
+const Minimatch = minimatch.Minimatch;
+const debug = createDebug("@eslint/config-array");
+
+/**
+ * A cache for minimatch instances.
+ * @type {Map}
+ */
+const minimatchCache = new Map();
+
+/**
+ * A cache for negated minimatch instances.
+ * @type {Map}
+ */
+const negatedMinimatchCache = new Map();
+
+/**
+ * Options to use with minimatch.
+ * @type {Object}
+ */
+const MINIMATCH_OPTIONS = {
+ // matchBase: true,
+ dot: true,
+ allowWindowsEscape: true,
+};
+
+/**
+ * The types of config objects that are supported.
+ * @type {Set}
+ */
+const CONFIG_TYPES = new Set(["array", "function"]);
+
+/**
+ * Fields that are considered metadata and not part of the config object.
+ * @type {Set}
+ */
+const META_FIELDS = new Set(["name"]);
+
+/**
+ * A schema containing just files and ignores for early validation.
+ * @type {ObjectSchemaInstance}
+ */
+const FILES_AND_IGNORES_SCHEMA = new objectSchema.ObjectSchema(filesAndIgnoresSchema);
+
+// Precomputed constant objects returned by `ConfigArray.getConfigWithStatus`.
+
+const CONFIG_WITH_STATUS_EXTERNAL = Object.freeze({ status: "external" });
+const CONFIG_WITH_STATUS_IGNORED = Object.freeze({ status: "ignored" });
+const CONFIG_WITH_STATUS_UNCONFIGURED = Object.freeze({
+ status: "unconfigured",
+});
+
+// Match two leading dots followed by a slash or the end of input.
+const EXTERNAL_PATH_REGEX = /^\.\.(?:\/|$)/u;
+
+/**
+ * Wrapper error for config validation errors that adds a name to the front of the
+ * error message.
+ */
+class ConfigError extends Error {
+ /**
+ * Creates a new instance.
+ * @param {string} name The config object name causing the error.
+ * @param {number} index The index of the config object in the array.
+ * @param {Object} options The options for the error.
+ * @param {Error} [options.cause] The error that caused this error.
+ * @param {string} [options.message] The message to use for the error.
+ */
+ constructor(name, index, { cause, message }) {
+ const finalMessage = message || cause.message;
+
+ super(`Config ${name}: ${finalMessage}`, { cause });
+
+ // copy over custom properties that aren't represented
+ if (cause) {
+ for (const key of Object.keys(cause)) {
+ if (!(key in this)) {
+ this[key] = cause[key];
+ }
+ }
+ }
+
+ /**
+ * The name of the error.
+ * @type {string}
+ * @readonly
+ */
+ this.name = "ConfigError";
+
+ /**
+ * The index of the config object in the array.
+ * @type {number}
+ * @readonly
+ */
+ this.index = index;
+ }
+}
+
+/**
+ * Gets the name of a config object.
+ * @param {ConfigObject} config The config object to get the name of.
+ * @returns {string} The name of the config object.
+ */
+function getConfigName(config) {
+ if (config && typeof config.name === "string" && config.name) {
+ return `"${config.name}"`;
+ }
+
+ return "(unnamed)";
+}
+
+/**
+ * Rethrows a config error with additional information about the config object.
+ * @param {object} config The config object to get the name of.
+ * @param {number} index The index of the config object in the array.
+ * @param {Error} error The error to rethrow.
+ * @throws {ConfigError} When the error is rethrown for a config.
+ */
+function rethrowConfigError(config, index, error) {
+ const configName = getConfigName(config);
+ throw new ConfigError(configName, index, { cause: error });
+}
+
+/**
+ * Shorthand for checking if a value is a string.
+ * @param {any} value The value to check.
+ * @returns {boolean} True if a string, false if not.
+ */
+function isString(value) {
+ return typeof value === "string";
+}
+
+/**
+ * Creates a function that asserts that the config is valid
+ * during normalization. This checks that the config is not nullish
+ * and that files and ignores keys of a config object are valid as per base schema.
+ * @param {Object} config The config object to check.
+ * @param {number} index The index of the config object in the array.
+ * @returns {void}
+ * @throws {ConfigError} If the files and ignores keys of a config object are not valid.
+ */
+function assertValidBaseConfig(config, index) {
+ if (config === null) {
+ throw new ConfigError(getConfigName(config), index, {
+ message: "Unexpected null config.",
+ });
+ }
+
+ if (config === undefined) {
+ throw new ConfigError(getConfigName(config), index, {
+ message: "Unexpected undefined config.",
+ });
+ }
+
+ if (typeof config !== "object") {
+ throw new ConfigError(getConfigName(config), index, {
+ message: "Unexpected non-object config.",
+ });
+ }
+
+ const validateConfig = {};
+
+ if ("files" in config) {
+ validateConfig.files = config.files;
+ }
+
+ if ("ignores" in config) {
+ validateConfig.ignores = config.ignores;
+ }
+
+ try {
+ FILES_AND_IGNORES_SCHEMA.validate(validateConfig);
+ } catch (validationError) {
+ rethrowConfigError(config, index, validationError);
+ }
+}
+
+/**
+ * Wrapper around minimatch that caches minimatch patterns for
+ * faster matching speed over multiple file path evaluations.
+ * @param {string} filepath The file path to match.
+ * @param {string} pattern The glob pattern to match against.
+ * @param {object} options The minimatch options to use.
+ * @returns
+ */
+function doMatch(filepath, pattern, options = {}) {
+ let cache = minimatchCache;
+
+ if (options.flipNegate) {
+ cache = negatedMinimatchCache;
+ }
+
+ let matcher = cache.get(pattern);
+
+ if (!matcher) {
+ matcher = new Minimatch(
+ pattern,
+ Object.assign({}, MINIMATCH_OPTIONS, options),
+ );
+ cache.set(pattern, matcher);
+ }
+
+ return matcher.match(filepath);
+}
+
+/**
+ * Normalizes a `ConfigArray` by flattening it and executing any functions
+ * that are found inside.
+ * @param {Array} items The items in a `ConfigArray`.
+ * @param {Object} context The context object to pass into any function
+ * found.
+ * @param {Array} extraConfigTypes The config types to check.
+ * @returns {Promise} A flattened array containing only config objects.
+ * @throws {TypeError} When a config function returns a function.
+ */
+async function normalize(items, context, extraConfigTypes) {
+ const allowFunctions = extraConfigTypes.includes("function");
+ const allowArrays = extraConfigTypes.includes("array");
+
+ async function* flatTraverse(array) {
+ for (let item of array) {
+ if (typeof item === "function") {
+ if (!allowFunctions) {
+ throw new TypeError("Unexpected function.");
+ }
+
+ item = item(context);
+ if (item.then) {
+ item = await item;
+ }
+ }
+
+ if (Array.isArray(item)) {
+ if (!allowArrays) {
+ throw new TypeError("Unexpected array.");
+ }
+ yield* flatTraverse(item);
+ } else if (typeof item === "function") {
+ throw new TypeError(
+ "A config function can only return an object or array.",
+ );
+ } else {
+ yield item;
+ }
+ }
+ }
+
+ /*
+ * Async iterables cannot be used with the spread operator, so we need to manually
+ * create the array to return.
+ */
+ const asyncIterable = await flatTraverse(items);
+ const configs = [];
+
+ for await (const config of asyncIterable) {
+ configs.push(config);
+ }
+
+ return configs;
+}
+
+/**
+ * Normalizes a `ConfigArray` by flattening it and executing any functions
+ * that are found inside.
+ * @param {Array} items The items in a `ConfigArray`.
+ * @param {Object} context The context object to pass into any function
+ * found.
+ * @param {Array} extraConfigTypes The config types to check.
+ * @returns {Array} A flattened array containing only config objects.
+ * @throws {TypeError} When a config function returns a function.
+ */
+function normalizeSync(items, context, extraConfigTypes) {
+ const allowFunctions = extraConfigTypes.includes("function");
+ const allowArrays = extraConfigTypes.includes("array");
+
+ function* flatTraverse(array) {
+ for (let item of array) {
+ if (typeof item === "function") {
+ if (!allowFunctions) {
+ throw new TypeError("Unexpected function.");
+ }
+
+ item = item(context);
+ if (item.then) {
+ throw new TypeError(
+ "Async config functions are not supported.",
+ );
+ }
+ }
+
+ if (Array.isArray(item)) {
+ if (!allowArrays) {
+ throw new TypeError("Unexpected array.");
+ }
+
+ yield* flatTraverse(item);
+ } else if (typeof item === "function") {
+ throw new TypeError(
+ "A config function can only return an object or array.",
+ );
+ } else {
+ yield item;
+ }
+ }
+ }
+
+ return [...flatTraverse(items)];
+}
+
+/**
+ * Determines if a given file path should be ignored based on the given
+ * matcher.
+ * @param {Array boolean)>} ignores The ignore patterns to check.
+ * @param {string} filePath The unprocessed file path to check.
+ * @param {string} relativeFilePath The path of the file to check relative to the base path,
+ * using forward slash (`"/"`) as a separator.
+ * @returns {boolean} True if the path should be ignored and false if not.
+ */
+function shouldIgnorePath(ignores, filePath, relativeFilePath) {
+ return ignores.reduce((ignored, matcher) => {
+ if (!ignored) {
+ if (typeof matcher === "function") {
+ return matcher(filePath);
+ }
+
+ // don't check negated patterns because we're not ignored yet
+ if (!matcher.startsWith("!")) {
+ return doMatch(relativeFilePath, matcher);
+ }
+
+ // otherwise we're still not ignored
+ return false;
+ }
+
+ // only need to check negated patterns because we're ignored
+ if (typeof matcher === "string" && matcher.startsWith("!")) {
+ return !doMatch(relativeFilePath, matcher, {
+ flipNegate: true,
+ });
+ }
+
+ return ignored;
+ }, false);
+}
+
+/**
+ * Determines if a given file path is matched by a config based on
+ * `ignores` only.
+ * @param {string} filePath The unprocessed file path to check.
+ * @param {string} relativeFilePath The path of the file to check relative to the base path,
+ * using forward slash (`"/"`) as a separator.
+ * @param {Object} config The config object to check.
+ * @returns {boolean} True if the file path is matched by the config,
+ * false if not.
+ */
+function pathMatchesIgnores(filePath, relativeFilePath, config) {
+ return (
+ Object.keys(config).filter(key => !META_FIELDS.has(key)).length > 1 &&
+ !shouldIgnorePath(config.ignores, filePath, relativeFilePath)
+ );
+}
+
+/**
+ * Determines if a given file path is matched by a config. If the config
+ * has no `files` field, then it matches; otherwise, if a `files` field
+ * is present then we match the globs in `files` and exclude any globs in
+ * `ignores`.
+ * @param {string} filePath The unprocessed file path to check.
+ * @param {string} relativeFilePath The path of the file to check relative to the base path,
+ * using forward slash (`"/"`) as a separator.
+ * @param {Object} config The config object to check.
+ * @returns {boolean} True if the file path is matched by the config,
+ * false if not.
+ */
+function pathMatches(filePath, relativeFilePath, config) {
+ // match both strings and functions
+ function match(pattern) {
+ if (isString(pattern)) {
+ return doMatch(relativeFilePath, pattern);
+ }
+
+ if (typeof pattern === "function") {
+ return pattern(filePath);
+ }
+
+ throw new TypeError(`Unexpected matcher type ${pattern}.`);
+ }
+
+ // check for all matches to config.files
+ let filePathMatchesPattern = config.files.some(pattern => {
+ if (Array.isArray(pattern)) {
+ return pattern.every(match);
+ }
+
+ return match(pattern);
+ });
+
+ /*
+ * If the file path matches the config.files patterns, then check to see
+ * if there are any files to ignore.
+ */
+ if (filePathMatchesPattern && config.ignores) {
+ filePathMatchesPattern = !shouldIgnorePath(
+ config.ignores,
+ filePath,
+ relativeFilePath,
+ );
+ }
+
+ return filePathMatchesPattern;
+}
+
+/**
+ * Ensures that a ConfigArray has been normalized.
+ * @param {ConfigArray} configArray The ConfigArray to check.
+ * @returns {void}
+ * @throws {Error} When the `ConfigArray` is not normalized.
+ */
+function assertNormalized(configArray) {
+ // TODO: Throw more verbose error
+ if (!configArray.isNormalized()) {
+ throw new Error(
+ "ConfigArray must be normalized to perform this operation.",
+ );
+ }
+}
+
+/**
+ * Ensures that config types are valid.
+ * @param {Array} extraConfigTypes The config types to check.
+ * @returns {void}
+ * @throws {Error} When the config types array is invalid.
+ */
+function assertExtraConfigTypes(extraConfigTypes) {
+ if (extraConfigTypes.length > 2) {
+ throw new TypeError(
+ "configTypes must be an array with at most two items.",
+ );
+ }
+
+ for (const configType of extraConfigTypes) {
+ if (!CONFIG_TYPES.has(configType)) {
+ throw new TypeError(
+ `Unexpected config type "${configType}" found. Expected one of: "object", "array", "function".`,
+ );
+ }
+ }
+}
+
+/**
+ * Returns path-handling implementations for Unix or Windows, depending on a given absolute path.
+ * @param {string} fileOrDirPath The absolute path to check.
+ * @returns {PathImpl} Path-handling implementations for the specified path.
+ * @throws An error is thrown if the specified argument is not an absolute path.
+ */
+function getPathImpl(fileOrDirPath) {
+ // Posix absolute paths always start with a slash.
+ if (fileOrDirPath.startsWith("/")) {
+ return posixPath__namespace;
+ }
+
+ // Windows absolute paths start with a letter followed by a colon and at least one backslash,
+ // or with two backslashes in the case of UNC paths.
+ // Forward slashed are automatically normalized to backslashes.
+ if (/^(?:[A-Za-z]:[/\\]|[/\\]{2})/u.test(fileOrDirPath)) {
+ return windowsPath__namespace;
+ }
+
+ throw new Error(
+ `Expected an absolute path but received "${fileOrDirPath}"`,
+ );
+}
+
+/**
+ * Converts a given path to a relative path with all separator characters replaced by forward slashes (`"/"`).
+ * @param {string} fileOrDirPath The unprocessed path to convert.
+ * @param {string} namespacedBasePath The namespaced base path of the directory to which the calculated path shall be relative.
+ * @param {PathImpl} path Path-handling implementations.
+ * @returns {string} A relative path with all separator characters replaced by forward slashes.
+ */
+function toRelativePath(fileOrDirPath, namespacedBasePath, path) {
+ const fullPath = path.resolve(namespacedBasePath, fileOrDirPath);
+ const namespacedFullPath = path.toNamespacedPath(fullPath);
+ const relativePath = path.relative(namespacedBasePath, namespacedFullPath);
+ return relativePath.replaceAll(path.SEPARATOR, "/");
+}
+
+//------------------------------------------------------------------------------
+// Public Interface
+//------------------------------------------------------------------------------
+
+const ConfigArraySymbol = {
+ isNormalized: Symbol("isNormalized"),
+ configCache: Symbol("configCache"),
+ schema: Symbol("schema"),
+ finalizeConfig: Symbol("finalizeConfig"),
+ preprocessConfig: Symbol("preprocessConfig"),
+};
+
+// used to store calculate data for faster lookup
+const dataCache = new WeakMap();
+
+/**
+ * Represents an array of config objects and provides method for working with
+ * those config objects.
+ */
+class ConfigArray extends Array {
+ /**
+ * The namespaced path of the config file directory.
+ * @type {string}
+ */
+ #namespacedBasePath;
+
+ /**
+ * Path-handling implementations.
+ * @type {PathImpl}
+ */
+ #path;
+
+ /**
+ * Creates a new instance of ConfigArray.
+ * @param {Iterable|Function|Object} configs An iterable yielding config
+ * objects, or a config function, or a config object.
+ * @param {Object} options The options for the ConfigArray.
+ * @param {string} [options.basePath="/"] The absolute path of the config file directory.
+ * Defaults to `"/"`.
+ * @param {boolean} [options.normalized=false] Flag indicating if the
+ * configs have already been normalized.
+ * @param {Object} [options.schema] The additional schema
+ * definitions to use for the ConfigArray schema.
+ * @param {Array} [options.extraConfigTypes] List of config types supported.
+ */
+ constructor(
+ configs,
+ {
+ basePath = "/",
+ normalized = false,
+ schema: customSchema,
+ extraConfigTypes = [],
+ } = {},
+ ) {
+ super();
+
+ /**
+ * Tracks if the array has been normalized.
+ * @property isNormalized
+ * @type {boolean}
+ * @private
+ */
+ this[ConfigArraySymbol.isNormalized] = normalized;
+
+ /**
+ * The schema used for validating and merging configs.
+ * @property schema
+ * @type {ObjectSchemaInstance}
+ * @private
+ */
+ this[ConfigArraySymbol.schema] = new objectSchema.ObjectSchema(
+ Object.assign({}, customSchema, baseSchema),
+ );
+
+ if (!isString(basePath) || !basePath) {
+ throw new TypeError("basePath must be a non-empty string");
+ }
+
+ /**
+ * The path of the config file that this array was loaded from.
+ * This is used to calculate filename matches.
+ * @property basePath
+ * @type {string}
+ */
+ this.basePath = basePath;
+
+ assertExtraConfigTypes(extraConfigTypes);
+
+ /**
+ * The supported config types.
+ * @type {Array}
+ */
+ this.extraConfigTypes = [...extraConfigTypes];
+ Object.freeze(this.extraConfigTypes);
+
+ /**
+ * A cache to store calculated configs for faster repeat lookup.
+ * @property configCache
+ * @type {Map}
+ * @private
+ */
+ this[ConfigArraySymbol.configCache] = new Map();
+
+ // init cache
+ dataCache.set(this, {
+ explicitMatches: new Map(),
+ directoryMatches: new Map(),
+ files: undefined,
+ ignores: undefined,
+ });
+
+ // load the configs into this array
+ if (Array.isArray(configs)) {
+ this.push(...configs);
+ } else {
+ this.push(configs);
+ }
+
+ // select path-handling implementations depending on the base path
+ this.#path = getPathImpl(basePath);
+
+ // On Windows, `path.relative()` returns an absolute path when given two paths on different drives.
+ // The namespaced base path is useful to make sure that calculated relative paths are always relative.
+ // On Unix, it is identical to the base path.
+ this.#namespacedBasePath = this.#path.toNamespacedPath(basePath);
+ }
+
+ /**
+ * Prevent normal array methods from creating a new `ConfigArray` instance.
+ * This is to ensure that methods such as `slice()` won't try to create a
+ * new instance of `ConfigArray` behind the scenes as doing so may throw
+ * an error due to the different constructor signature.
+ * @type {ArrayConstructor} The `Array` constructor.
+ */
+ static get [Symbol.species]() {
+ return Array;
+ }
+
+ /**
+ * Returns the `files` globs from every config object in the array.
+ * This can be used to determine which files will be matched by a
+ * config array or to use as a glob pattern when no patterns are provided
+ * for a command line interface.
+ * @returns {Array} An array of matchers.
+ */
+ get files() {
+ assertNormalized(this);
+
+ // if this data has been cached, retrieve it
+ const cache = dataCache.get(this);
+
+ if (cache.files) {
+ return cache.files;
+ }
+
+ // otherwise calculate it
+
+ const result = [];
+
+ for (const config of this) {
+ if (config.files) {
+ config.files.forEach(filePattern => {
+ result.push(filePattern);
+ });
+ }
+ }
+
+ // store result
+ cache.files = result;
+ dataCache.set(this, cache);
+
+ return result;
+ }
+
+ /**
+ * Returns ignore matchers that should always be ignored regardless of
+ * the matching `files` fields in any configs. This is necessary to mimic
+ * the behavior of things like .gitignore and .eslintignore, allowing a
+ * globbing operation to be faster.
+ * @returns {string[]} An array of string patterns and functions to be ignored.
+ */
+ get ignores() {
+ assertNormalized(this);
+
+ // if this data has been cached, retrieve it
+ const cache = dataCache.get(this);
+
+ if (cache.ignores) {
+ return cache.ignores;
+ }
+
+ // otherwise calculate it
+
+ const result = [];
+
+ for (const config of this) {
+ /*
+ * We only count ignores if there are no other keys in the object.
+ * In this case, it acts list a globally ignored pattern. If there
+ * are additional keys, then ignores act like exclusions.
+ */
+ if (
+ config.ignores &&
+ Object.keys(config).filter(key => !META_FIELDS.has(key))
+ .length === 1
+ ) {
+ result.push(...config.ignores);
+ }
+ }
+
+ // store result
+ cache.ignores = result;
+ dataCache.set(this, cache);
+
+ return result;
+ }
+
+ /**
+ * Indicates if the config array has been normalized.
+ * @returns {boolean} True if the config array is normalized, false if not.
+ */
+ isNormalized() {
+ return this[ConfigArraySymbol.isNormalized];
+ }
+
+ /**
+ * Normalizes a config array by flattening embedded arrays and executing
+ * config functions.
+ * @param {Object} [context] The context object for config functions.
+ * @returns {Promise} The current ConfigArray instance.
+ */
+ async normalize(context = {}) {
+ if (!this.isNormalized()) {
+ const normalizedConfigs = await normalize(
+ this,
+ context,
+ this.extraConfigTypes,
+ );
+ this.length = 0;
+ this.push(
+ ...normalizedConfigs.map(
+ this[ConfigArraySymbol.preprocessConfig].bind(this),
+ ),
+ );
+ this.forEach(assertValidBaseConfig);
+ this[ConfigArraySymbol.isNormalized] = true;
+
+ // prevent further changes
+ Object.freeze(this);
+ }
+
+ return this;
+ }
+
+ /**
+ * Normalizes a config array by flattening embedded arrays and executing
+ * config functions.
+ * @param {Object} [context] The context object for config functions.
+ * @returns {ConfigArray} The current ConfigArray instance.
+ */
+ normalizeSync(context = {}) {
+ if (!this.isNormalized()) {
+ const normalizedConfigs = normalizeSync(
+ this,
+ context,
+ this.extraConfigTypes,
+ );
+ this.length = 0;
+ this.push(
+ ...normalizedConfigs.map(
+ this[ConfigArraySymbol.preprocessConfig].bind(this),
+ ),
+ );
+ this.forEach(assertValidBaseConfig);
+ this[ConfigArraySymbol.isNormalized] = true;
+
+ // prevent further changes
+ Object.freeze(this);
+ }
+
+ return this;
+ }
+
+ /* eslint-disable class-methods-use-this -- Desired as instance methods */
+
+ /**
+ * Finalizes the state of a config before being cached and returned by
+ * `getConfig()`. Does nothing by default but is provided to be
+ * overridden by subclasses as necessary.
+ * @param {Object} config The config to finalize.
+ * @returns {Object} The finalized config.
+ */
+ [ConfigArraySymbol.finalizeConfig](config) {
+ return config;
+ }
+
+ /**
+ * Preprocesses a config during the normalization process. This is the
+ * method to override if you want to convert an array item before it is
+ * validated for the first time. For example, if you want to replace a
+ * string with an object, this is the method to override.
+ * @param {Object} config The config to preprocess.
+ * @returns {Object} The config to use in place of the argument.
+ */
+ [ConfigArraySymbol.preprocessConfig](config) {
+ return config;
+ }
+
+ /* eslint-enable class-methods-use-this -- Desired as instance methods */
+
+ /**
+ * Returns the config object for a given file path and a status that can be used to determine why a file has no config.
+ * @param {string} filePath The path of a file to get a config for.
+ * @returns {{ config?: Object, status: "ignored"|"external"|"unconfigured"|"matched" }}
+ * An object with an optional property `config` and property `status`.
+ * `config` is the config object for the specified file as returned by {@linkcode ConfigArray.getConfig},
+ * `status` a is one of the constants returned by {@linkcode ConfigArray.getConfigStatus}.
+ */
+ getConfigWithStatus(filePath) {
+ assertNormalized(this);
+
+ const cache = this[ConfigArraySymbol.configCache];
+
+ // first check the cache for a filename match to avoid duplicate work
+ if (cache.has(filePath)) {
+ return cache.get(filePath);
+ }
+
+ // check to see if the file is outside the base path
+
+ const relativeFilePath = toRelativePath(
+ filePath,
+ this.#namespacedBasePath,
+ this.#path,
+ );
+
+ if (EXTERNAL_PATH_REGEX.test(relativeFilePath)) {
+ debug(`No config for file ${filePath} outside of base path`);
+
+ // cache and return result
+ cache.set(filePath, CONFIG_WITH_STATUS_EXTERNAL);
+ return CONFIG_WITH_STATUS_EXTERNAL;
+ }
+
+ // next check to see if the file should be ignored
+
+ // check if this should be ignored due to its directory
+ if (this.isDirectoryIgnored(this.#path.dirname(filePath))) {
+ debug(`Ignoring ${filePath} based on directory pattern`);
+
+ // cache and return result
+ cache.set(filePath, CONFIG_WITH_STATUS_IGNORED);
+ return CONFIG_WITH_STATUS_IGNORED;
+ }
+
+ if (shouldIgnorePath(this.ignores, filePath, relativeFilePath)) {
+ debug(`Ignoring ${filePath} based on file pattern`);
+
+ // cache and return result
+ cache.set(filePath, CONFIG_WITH_STATUS_IGNORED);
+ return CONFIG_WITH_STATUS_IGNORED;
+ }
+
+ // filePath isn't automatically ignored, so try to construct config
+
+ const matchingConfigIndices = [];
+ let matchFound = false;
+ const universalPattern = /^\*$|\/\*{1,2}$/u;
+
+ this.forEach((config, index) => {
+ if (!config.files) {
+ if (!config.ignores) {
+ debug(`Universal config found for ${filePath}`);
+ matchingConfigIndices.push(index);
+ return;
+ }
+
+ if (pathMatchesIgnores(filePath, relativeFilePath, config)) {
+ debug(
+ `Matching config found for ${filePath} (based on ignores: ${config.ignores})`,
+ );
+ matchingConfigIndices.push(index);
+ return;
+ }
+
+ debug(
+ `Skipped config found for ${filePath} (based on ignores: ${config.ignores})`,
+ );
+ return;
+ }
+
+ /*
+ * If a config has a files pattern * or patterns ending in /** or /*,
+ * and the filePath only matches those patterns, then the config is only
+ * applied if there is another config where the filePath matches
+ * a file with a specific extensions such as *.js.
+ */
+
+ const universalFiles = config.files.filter(pattern =>
+ universalPattern.test(pattern),
+ );
+
+ // universal patterns were found so we need to check the config twice
+ if (universalFiles.length) {
+ debug("Universal files patterns found. Checking carefully.");
+
+ const nonUniversalFiles = config.files.filter(
+ pattern => !universalPattern.test(pattern),
+ );
+
+ // check that the config matches without the non-universal files first
+ if (
+ nonUniversalFiles.length &&
+ pathMatches(filePath, relativeFilePath, {
+ files: nonUniversalFiles,
+ ignores: config.ignores,
+ })
+ ) {
+ debug(`Matching config found for ${filePath}`);
+ matchingConfigIndices.push(index);
+ matchFound = true;
+ return;
+ }
+
+ // if there wasn't a match then check if it matches with universal files
+ if (
+ universalFiles.length &&
+ pathMatches(filePath, relativeFilePath, {
+ files: universalFiles,
+ ignores: config.ignores,
+ })
+ ) {
+ debug(`Matching config found for ${filePath}`);
+ matchingConfigIndices.push(index);
+ return;
+ }
+
+ // if we make here, then there was no match
+ return;
+ }
+
+ // the normal case
+ if (pathMatches(filePath, relativeFilePath, config)) {
+ debug(`Matching config found for ${filePath}`);
+ matchingConfigIndices.push(index);
+ matchFound = true;
+ }
+ });
+
+ // if matching both files and ignores, there will be no config to create
+ if (!matchFound) {
+ debug(`No matching configs found for ${filePath}`);
+
+ // cache and return result
+ cache.set(filePath, CONFIG_WITH_STATUS_UNCONFIGURED);
+ return CONFIG_WITH_STATUS_UNCONFIGURED;
+ }
+
+ // check to see if there is a config cached by indices
+ const indicesKey = matchingConfigIndices.toString();
+ let configWithStatus = cache.get(indicesKey);
+
+ if (configWithStatus) {
+ // also store for filename for faster lookup next time
+ cache.set(filePath, configWithStatus);
+
+ return configWithStatus;
+ }
+
+ // otherwise construct the config
+
+ // eslint-disable-next-line array-callback-return, consistent-return -- rethrowConfigError always throws an error
+ let finalConfig = matchingConfigIndices.reduce((result, index) => {
+ try {
+ return this[ConfigArraySymbol.schema].merge(
+ result,
+ this[index],
+ );
+ } catch (validationError) {
+ rethrowConfigError(this[index], index, validationError);
+ }
+ }, {});
+
+ finalConfig = this[ConfigArraySymbol.finalizeConfig](finalConfig);
+
+ configWithStatus = Object.freeze({
+ config: finalConfig,
+ status: "matched",
+ });
+ cache.set(filePath, configWithStatus);
+ cache.set(indicesKey, configWithStatus);
+
+ return configWithStatus;
+ }
+
+ /**
+ * Returns the config object for a given file path.
+ * @param {string} filePath The path of a file to get a config for.
+ * @returns {Object|undefined} The config object for this file or `undefined`.
+ */
+ getConfig(filePath) {
+ return this.getConfigWithStatus(filePath).config;
+ }
+
+ /**
+ * Determines whether a file has a config or why it doesn't.
+ * @param {string} filePath The path of the file to check.
+ * @returns {"ignored"|"external"|"unconfigured"|"matched"} One of the following values:
+ * * `"ignored"`: the file is ignored
+ * * `"external"`: the file is outside the base path
+ * * `"unconfigured"`: the file is not matched by any config
+ * * `"matched"`: the file has a matching config
+ */
+ getConfigStatus(filePath) {
+ return this.getConfigWithStatus(filePath).status;
+ }
+
+ /**
+ * Determines if the given filepath is ignored based on the configs.
+ * @param {string} filePath The path of a file to check.
+ * @returns {boolean} True if the path is ignored, false if not.
+ * @deprecated Use `isFileIgnored` instead.
+ */
+ isIgnored(filePath) {
+ return this.isFileIgnored(filePath);
+ }
+
+ /**
+ * Determines if the given filepath is ignored based on the configs.
+ * @param {string} filePath The path of a file to check.
+ * @returns {boolean} True if the path is ignored, false if not.
+ */
+ isFileIgnored(filePath) {
+ return this.getConfigStatus(filePath) === "ignored";
+ }
+
+ /**
+ * Determines if the given directory is ignored based on the configs.
+ * This checks only default `ignores` that don't have `files` in the
+ * same config. A pattern such as `/foo` be considered to ignore the directory
+ * while a pattern such as `/foo/**` is not considered to ignore the
+ * directory because it is matching files.
+ * @param {string} directoryPath The path of a directory to check.
+ * @returns {boolean} True if the directory is ignored, false if not. Will
+ * return true for any directory that is not inside of `basePath`.
+ * @throws {Error} When the `ConfigArray` is not normalized.
+ */
+ isDirectoryIgnored(directoryPath) {
+ assertNormalized(this);
+
+ const relativeDirectoryPath = toRelativePath(
+ directoryPath,
+ this.#namespacedBasePath,
+ this.#path,
+ );
+
+ // basePath directory can never be ignored
+ if (relativeDirectoryPath === "") {
+ return false;
+ }
+
+ if (EXTERNAL_PATH_REGEX.test(relativeDirectoryPath)) {
+ return true;
+ }
+
+ // first check the cache
+ const cache = dataCache.get(this).directoryMatches;
+
+ if (cache.has(relativeDirectoryPath)) {
+ return cache.get(relativeDirectoryPath);
+ }
+
+ const directoryParts = relativeDirectoryPath.split("/");
+ let relativeDirectoryToCheck = "";
+ let result;
+
+ /*
+ * In order to get the correct gitignore-style ignores, where an
+ * ignored parent directory cannot have any descendants unignored,
+ * we need to check every directory starting at the parent all
+ * the way down to the actual requested directory.
+ *
+ * We aggressively cache all of this info to make sure we don't
+ * have to recalculate everything for every call.
+ */
+ do {
+ relativeDirectoryToCheck += `${directoryParts.shift()}/`;
+
+ result = shouldIgnorePath(
+ this.ignores,
+ this.#path.join(this.basePath, relativeDirectoryToCheck),
+ relativeDirectoryToCheck,
+ );
+
+ cache.set(relativeDirectoryToCheck, result);
+ } while (!result && directoryParts.length);
+
+ // also cache the result for the requested path
+ cache.set(relativeDirectoryPath, result);
+
+ return result;
+ }
+}
+
+Object.defineProperty(exports, "ObjectSchema", {
+ enumerable: true,
+ get: function () { return objectSchema.ObjectSchema; }
+});
+exports.ConfigArray = ConfigArray;
+exports.ConfigArraySymbol = ConfigArraySymbol;
diff --git a/node_modules/@eslint/config-array/dist/cjs/index.d.cts b/node_modules/@eslint/config-array/dist/cjs/index.d.cts
new file mode 100644
index 00000000..6fb977e0
--- /dev/null
+++ b/node_modules/@eslint/config-array/dist/cjs/index.d.cts
@@ -0,0 +1,141 @@
+export { ObjectSchema } from "@eslint/object-schema";
+export type PropertyDefinition = import("@eslint/object-schema").PropertyDefinition;
+export type ObjectDefinition = import("@eslint/object-schema").ObjectDefinition;
+export type ConfigObject = import("./types.ts").ConfigObject;
+export type IMinimatchStatic = import("minimatch").IMinimatchStatic;
+export type IMinimatch = import("minimatch").IMinimatch;
+export type PathImpl = typeof import("@jsr/std__path");
+export type ObjectSchemaInstance = import("@eslint/object-schema").ObjectSchema;
+/**
+ * Represents an array of config objects and provides method for working with
+ * those config objects.
+ */
+export class ConfigArray extends Array {
+ /**
+ * Creates a new instance of ConfigArray.
+ * @param {Iterable|Function|Object} configs An iterable yielding config
+ * objects, or a config function, or a config object.
+ * @param {Object} options The options for the ConfigArray.
+ * @param {string} [options.basePath="/"] The absolute path of the config file directory.
+ * Defaults to `"/"`.
+ * @param {boolean} [options.normalized=false] Flag indicating if the
+ * configs have already been normalized.
+ * @param {Object} [options.schema] The additional schema
+ * definitions to use for the ConfigArray schema.
+ * @param {Array} [options.extraConfigTypes] List of config types supported.
+ */
+ constructor(configs: Iterable | Function | any, { basePath, normalized, schema: customSchema, extraConfigTypes, }?: {
+ basePath?: string;
+ normalized?: boolean;
+ schema?: any;
+ extraConfigTypes?: Array;
+ });
+ /**
+ * The path of the config file that this array was loaded from.
+ * This is used to calculate filename matches.
+ * @property basePath
+ * @type {string}
+ */
+ basePath: string;
+ /**
+ * The supported config types.
+ * @type {Array}
+ */
+ extraConfigTypes: Array;
+ /**
+ * Returns the `files` globs from every config object in the array.
+ * This can be used to determine which files will be matched by a
+ * config array or to use as a glob pattern when no patterns are provided
+ * for a command line interface.
+ * @returns {Array} An array of matchers.
+ */
+ get files(): (string | Function)[];
+ /**
+ * Returns ignore matchers that should always be ignored regardless of
+ * the matching `files` fields in any configs. This is necessary to mimic
+ * the behavior of things like .gitignore and .eslintignore, allowing a
+ * globbing operation to be faster.
+ * @returns {string[]} An array of string patterns and functions to be ignored.
+ */
+ get ignores(): string[];
+ /**
+ * Indicates if the config array has been normalized.
+ * @returns {boolean} True if the config array is normalized, false if not.
+ */
+ isNormalized(): boolean;
+ /**
+ * Normalizes a config array by flattening embedded arrays and executing
+ * config functions.
+ * @param {Object} [context] The context object for config functions.
+ * @returns {Promise} The current ConfigArray instance.
+ */
+ normalize(context?: any): Promise;
+ /**
+ * Normalizes a config array by flattening embedded arrays and executing
+ * config functions.
+ * @param {Object} [context] The context object for config functions.
+ * @returns {ConfigArray} The current ConfigArray instance.
+ */
+ normalizeSync(context?: any): ConfigArray;
+ /**
+ * Returns the config object for a given file path and a status that can be used to determine why a file has no config.
+ * @param {string} filePath The path of a file to get a config for.
+ * @returns {{ config?: Object, status: "ignored"|"external"|"unconfigured"|"matched" }}
+ * An object with an optional property `config` and property `status`.
+ * `config` is the config object for the specified file as returned by {@linkcode ConfigArray.getConfig},
+ * `status` a is one of the constants returned by {@linkcode ConfigArray.getConfigStatus}.
+ */
+ getConfigWithStatus(filePath: string): {
+ config?: any;
+ status: "ignored" | "external" | "unconfigured" | "matched";
+ };
+ /**
+ * Returns the config object for a given file path.
+ * @param {string} filePath The path of a file to get a config for.
+ * @returns {Object|undefined} The config object for this file or `undefined`.
+ */
+ getConfig(filePath: string): any | undefined;
+ /**
+ * Determines whether a file has a config or why it doesn't.
+ * @param {string} filePath The path of the file to check.
+ * @returns {"ignored"|"external"|"unconfigured"|"matched"} One of the following values:
+ * * `"ignored"`: the file is ignored
+ * * `"external"`: the file is outside the base path
+ * * `"unconfigured"`: the file is not matched by any config
+ * * `"matched"`: the file has a matching config
+ */
+ getConfigStatus(filePath: string): "ignored" | "external" | "unconfigured" | "matched";
+ /**
+ * Determines if the given filepath is ignored based on the configs.
+ * @param {string} filePath The path of a file to check.
+ * @returns {boolean} True if the path is ignored, false if not.
+ * @deprecated Use `isFileIgnored` instead.
+ */
+ isIgnored(filePath: string): boolean;
+ /**
+ * Determines if the given filepath is ignored based on the configs.
+ * @param {string} filePath The path of a file to check.
+ * @returns {boolean} True if the path is ignored, false if not.
+ */
+ isFileIgnored(filePath: string): boolean;
+ /**
+ * Determines if the given directory is ignored based on the configs.
+ * This checks only default `ignores` that don't have `files` in the
+ * same config. A pattern such as `/foo` be considered to ignore the directory
+ * while a pattern such as `/foo/**` is not considered to ignore the
+ * directory because it is matching files.
+ * @param {string} directoryPath The path of a directory to check.
+ * @returns {boolean} True if the directory is ignored, false if not. Will
+ * return true for any directory that is not inside of `basePath`.
+ * @throws {Error} When the `ConfigArray` is not normalized.
+ */
+ isDirectoryIgnored(directoryPath: string): boolean;
+ #private;
+}
+export namespace ConfigArraySymbol {
+ let isNormalized: symbol;
+ let configCache: symbol;
+ let schema: symbol;
+ let finalizeConfig: symbol;
+ let preprocessConfig: symbol;
+}
diff --git a/node_modules/@eslint/config-array/dist/cjs/std__path/posix.cjs b/node_modules/@eslint/config-array/dist/cjs/std__path/posix.cjs
new file mode 100644
index 00000000..036cff9a
--- /dev/null
+++ b/node_modules/@eslint/config-array/dist/cjs/std__path/posix.cjs
@@ -0,0 +1,1323 @@
+'use strict';
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+function assertPath(path) {
+ if (typeof path !== "string") {
+ throw new TypeError(`Path must be a string, received "${JSON.stringify(path)}"`);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function stripSuffix(name, suffix) {
+ if (suffix.length >= name.length) {
+ return name;
+ }
+ const lenDiff = name.length - suffix.length;
+ for(let i = suffix.length - 1; i >= 0; --i){
+ if (name.charCodeAt(lenDiff + i) !== suffix.charCodeAt(i)) {
+ return name;
+ }
+ }
+ return name.slice(0, -suffix.length);
+}
+function lastPathSegment(path, isSep, start = 0) {
+ let matchedNonSeparator = false;
+ let end = path.length;
+ for(let i = path.length - 1; i >= start; --i){
+ if (isSep(path.charCodeAt(i))) {
+ if (matchedNonSeparator) {
+ start = i + 1;
+ break;
+ }
+ } else if (!matchedNonSeparator) {
+ matchedNonSeparator = true;
+ end = i + 1;
+ }
+ }
+ return path.slice(start, end);
+}
+function assertArgs$1(path, suffix) {
+ assertPath(path);
+ if (path.length === 0) return path;
+ if (typeof suffix !== "string") {
+ throw new TypeError(`Suffix must be a string, received "${JSON.stringify(suffix)}"`);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+function stripTrailingSeparators(segment, isSep) {
+ if (segment.length <= 1) {
+ return segment;
+ }
+ let end = segment.length;
+ for(let i = segment.length - 1; i > 0; i--){
+ if (isSep(segment.charCodeAt(i))) {
+ end = i;
+ } else {
+ break;
+ }
+ }
+ return segment.slice(0, end);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+// Alphabet chars.
+// Non-alphabetic chars.
+const CHAR_DOT = 46; /* . */
+const CHAR_FORWARD_SLASH = 47; /* / */
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+function isPosixPathSeparator(code) {
+ return code === CHAR_FORWARD_SLASH;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the last portion of a `path`.
+ * Trailing directory separators are ignored, and optional suffix is removed.
+ *
+ * @example Usage
+ * ```ts
+ * import { basename } from "@std/path/posix/basename";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(basename("/home/user/Documents/"), "Documents");
+ * assertEquals(basename("/home/user/Documents/image.png"), "image.png");
+ * assertEquals(basename("/home/user/Documents/image.png", ".png"), "image");
+ * ```
+ *
+ * @example Working with URLs
+ *
+ * Note: This function doesn't automatically strip hash and query parts from
+ * URLs. If your URL contains a hash or query, remove them before passing the
+ * URL to the function. This can be done by passing the URL to `new URL(url)`,
+ * and setting the `hash` and `search` properties to empty strings.
+ *
+ * ```ts
+ * import { basename } from "@std/path/posix/basename";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(basename("https://deno.land/std/path/mod.ts"), "mod.ts");
+ * assertEquals(basename("https://deno.land/std/path/mod.ts", ".ts"), "mod");
+ * assertEquals(basename("https://deno.land/std/path/mod.ts?a=b"), "mod.ts?a=b");
+ * assertEquals(basename("https://deno.land/std/path/mod.ts#header"), "mod.ts#header");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `basename` from `@std/path/posix/unstable-basename`.
+ *
+ * @param path The path to extract the name from.
+ * @param suffix The suffix to remove from extracted name.
+ * @returns The extracted name.
+ */ function basename(path, suffix = "") {
+ assertArgs$1(path, suffix);
+ const lastSegment = lastPathSegment(path, isPosixPathSeparator);
+ const strippedSegment = stripTrailingSeparators(lastSegment, isPosixPathSeparator);
+ return suffix ? stripSuffix(strippedSegment, suffix) : strippedSegment;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * The character used to separate entries in the PATH environment variable.
+ */ const DELIMITER = ":";
+/**
+ * The character used to separate components of a file path.
+ */ const SEPARATOR = "/";
+/**
+ * A regular expression that matches one or more path separators.
+ */ const SEPARATOR_PATTERN = /\/+/;
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArg$3(path) {
+ assertPath(path);
+ if (path.length === 0) return ".";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the directory path of a `path`.
+ *
+ * @example Usage
+ * ```ts
+ * import { dirname } from "@std/path/posix/dirname";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(dirname("/home/user/Documents/"), "/home/user");
+ * assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
+ * ```
+ *
+ * @example Working with URLs
+ *
+ * ```ts
+ * import { dirname } from "@std/path/posix/dirname";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts?a=b"), "https://deno.land/std/path");
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts#header"), "https://deno.land/std/path");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `dirname` from `@std/path/posix/unstable-dirname`.
+ *
+ * @param path The path to get the directory from.
+ * @returns The directory path.
+ */ function dirname(path) {
+ assertArg$3(path);
+ let end = -1;
+ let matchedNonSeparator = false;
+ for(let i = path.length - 1; i >= 1; --i){
+ if (isPosixPathSeparator(path.charCodeAt(i))) {
+ if (matchedNonSeparator) {
+ end = i;
+ break;
+ }
+ } else {
+ matchedNonSeparator = true;
+ }
+ }
+ // No matches. Fallback based on provided path:
+ //
+ // - leading slashes paths
+ // "/foo" => "/"
+ // "///foo" => "/"
+ // - no slash path
+ // "foo" => "."
+ if (end === -1) {
+ return isPosixPathSeparator(path.charCodeAt(0)) ? "/" : ".";
+ }
+ return stripTrailingSeparators(path.slice(0, end), isPosixPathSeparator);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the extension of the `path` with leading period.
+ *
+ * @example Usage
+ * ```ts
+ * import { extname } from "@std/path/posix/extname";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(extname("/home/user/Documents/file.ts"), ".ts");
+ * assertEquals(extname("/home/user/Documents/"), "");
+ * assertEquals(extname("/home/user/Documents/image.png"), ".png");
+ * ```
+ *
+ * @example Working with URLs
+ *
+ * Note: This function doesn't automatically strip hash and query parts from
+ * URLs. If your URL contains a hash or query, remove them before passing the
+ * URL to the function. This can be done by passing the URL to `new URL(url)`,
+ * and setting the `hash` and `search` properties to empty strings.
+ *
+ * ```ts
+ * import { extname } from "@std/path/posix/extname";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(extname("https://deno.land/std/path/mod.ts"), ".ts");
+ * assertEquals(extname("https://deno.land/std/path/mod.ts?a=b"), ".ts?a=b");
+ * assertEquals(extname("https://deno.land/std/path/mod.ts#header"), ".ts#header");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `extname` from `@std/path/posix/unstable-extname`.
+ *
+ * @param path The path to get the extension from.
+ * @returns The extension (ex. for `file.ts` returns `.ts`).
+ */ function extname(path) {
+ assertPath(path);
+ let startDot = -1;
+ let startPart = 0;
+ let end = -1;
+ let matchedSlash = true;
+ // Track the state of characters (if any) we see before our first dot and
+ // after any path separator we find
+ let preDotState = 0;
+ for(let i = path.length - 1; i >= 0; --i){
+ const code = path.charCodeAt(i);
+ if (isPosixPathSeparator(code)) {
+ // If we reached a path separator that was not part of a set of path
+ // separators at the end of the string, stop now
+ if (!matchedSlash) {
+ startPart = i + 1;
+ break;
+ }
+ continue;
+ }
+ if (end === -1) {
+ // We saw the first non-path separator, mark this as the end of our
+ // extension
+ matchedSlash = false;
+ end = i + 1;
+ }
+ if (code === CHAR_DOT) {
+ // If this is our first dot, mark it as the start of our extension
+ if (startDot === -1) startDot = i;
+ else if (preDotState !== 1) preDotState = 1;
+ } else if (startDot !== -1) {
+ // We saw a non-dot and non-path separator before our dot, so we should
+ // have a good chance at having a non-empty extension
+ preDotState = -1;
+ }
+ }
+ if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot
+ preDotState === 0 || // The (right-most) trimmed path component is exactly '..'
+ preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
+ return "";
+ }
+ return path.slice(startDot, end);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function _format(sep, pathObject) {
+ const dir = pathObject.dir || pathObject.root;
+ const base = pathObject.base || (pathObject.name ?? "") + (pathObject.ext ?? "");
+ if (!dir) return base;
+ if (base === sep) return dir;
+ if (dir === pathObject.root) return dir + base;
+ return dir + sep + base;
+}
+function assertArg$2(pathObject) {
+ if (pathObject === null || typeof pathObject !== "object") {
+ throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof pathObject}"`);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Generate a path from `ParsedPath` object.
+ *
+ * @example Usage
+ * ```ts
+ * import { format } from "@std/path/posix/format";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = format({
+ * root: "/",
+ * dir: "/path/dir",
+ * base: "file.txt",
+ * ext: ".txt",
+ * name: "file"
+ * });
+ * assertEquals(path, "/path/dir/file.txt");
+ * ```
+ *
+ * @param pathObject The path object to format.
+ * @returns The formatted path.
+ */ function format(pathObject) {
+ assertArg$2(pathObject);
+ return _format("/", pathObject);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArg$1(url) {
+ url = url instanceof URL ? url : new URL(url);
+ if (url.protocol !== "file:") {
+ throw new TypeError(`URL must be a file URL: received "${url.protocol}"`);
+ }
+ return url;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Converts a file URL to a path string.
+ *
+ * @example Usage
+ * ```ts
+ * import { fromFileUrl } from "@std/path/posix/from-file-url";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(fromFileUrl(new URL("file:///home/foo")), "/home/foo");
+ * ```
+ *
+ * @param url The file URL to convert.
+ * @returns The path string.
+ */ function fromFileUrl(url) {
+ url = assertArg$1(url);
+ return decodeURIComponent(url.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Verifies whether provided path is absolute.
+ *
+ * @example Usage
+ * ```ts
+ * import { isAbsolute } from "@std/path/posix/is-absolute";
+ * import { assert, assertFalse } from "@std/assert";
+ *
+ * assert(isAbsolute("/home/user/Documents/"));
+ * assertFalse(isAbsolute("home/user/Documents/"));
+ * ```
+ *
+ * @param path The path to verify.
+ * @returns Whether the path is absolute.
+ */ function isAbsolute(path) {
+ assertPath(path);
+ return path.length > 0 && isPosixPathSeparator(path.charCodeAt(0));
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArg(path) {
+ assertPath(path);
+ if (path.length === 0) return ".";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+// Resolves . and .. elements in a path with directory names
+function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
+ let res = "";
+ let lastSegmentLength = 0;
+ let lastSlash = -1;
+ let dots = 0;
+ let code;
+ for(let i = 0; i <= path.length; ++i){
+ if (i < path.length) code = path.charCodeAt(i);
+ else if (isPathSeparator(code)) break;
+ else code = CHAR_FORWARD_SLASH;
+ if (isPathSeparator(code)) {
+ if (lastSlash === i - 1 || dots === 1) ; else if (lastSlash !== i - 1 && dots === 2) {
+ if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== CHAR_DOT || res.charCodeAt(res.length - 2) !== CHAR_DOT) {
+ if (res.length > 2) {
+ const lastSlashIndex = res.lastIndexOf(separator);
+ if (lastSlashIndex === -1) {
+ res = "";
+ lastSegmentLength = 0;
+ } else {
+ res = res.slice(0, lastSlashIndex);
+ lastSegmentLength = res.length - 1 - res.lastIndexOf(separator);
+ }
+ lastSlash = i;
+ dots = 0;
+ continue;
+ } else if (res.length === 2 || res.length === 1) {
+ res = "";
+ lastSegmentLength = 0;
+ lastSlash = i;
+ dots = 0;
+ continue;
+ }
+ }
+ if (allowAboveRoot) {
+ if (res.length > 0) res += `${separator}..`;
+ else res = "..";
+ lastSegmentLength = 2;
+ }
+ } else {
+ if (res.length > 0) res += separator + path.slice(lastSlash + 1, i);
+ else res = path.slice(lastSlash + 1, i);
+ lastSegmentLength = i - lastSlash - 1;
+ }
+ lastSlash = i;
+ dots = 0;
+ } else if (code === CHAR_DOT && dots !== -1) {
+ ++dots;
+ } else {
+ dots = -1;
+ }
+ }
+ return res;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Normalize the `path`, resolving `'..'` and `'.'` segments.
+ * Note that resolving these segments does not necessarily mean that all will be eliminated.
+ * A `'..'` at the top-level will be preserved, and an empty path is canonically `'.'`.
+ *
+ * @example Usage
+ * ```ts
+ * import { normalize } from "@std/path/posix/normalize";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = normalize("/foo/bar//baz/asdf/quux/..");
+ * assertEquals(path, "/foo/bar/baz/asdf");
+ * ```
+ *
+ * @example Working with URLs
+ *
+ * Note: This function will remove the double slashes from a URL's scheme.
+ * Hence, do not pass a full URL to this function. Instead, pass the pathname of
+ * the URL.
+ *
+ * ```ts
+ * import { normalize } from "@std/path/posix/normalize";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const url = new URL("https://deno.land");
+ * url.pathname = normalize("//std//assert//.//mod.ts");
+ * assertEquals(url.href, "https://deno.land/std/assert/mod.ts");
+ *
+ * url.pathname = normalize("std/assert/../async/retry.ts");
+ * assertEquals(url.href, "https://deno.land/std/async/retry.ts");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `normalize` from `@std/path/posix/unstable-normalize`.
+ *
+ * @param path The path to normalize.
+ * @returns The normalized path.
+ */ function normalize(path) {
+ assertArg(path);
+ const isAbsolute = isPosixPathSeparator(path.charCodeAt(0));
+ const trailingSeparator = isPosixPathSeparator(path.charCodeAt(path.length - 1));
+ // Normalize the path
+ path = normalizeString(path, !isAbsolute, "/", isPosixPathSeparator);
+ if (path.length === 0 && !isAbsolute) path = ".";
+ if (path.length > 0 && trailingSeparator) path += "/";
+ if (isAbsolute) return `/${path}`;
+ return path;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Join all given a sequence of `paths`,then normalizes the resulting path.
+ *
+ * @example Usage
+ * ```ts
+ * import { join } from "@std/path/posix/join";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = join("/foo", "bar", "baz/asdf", "quux", "..");
+ * assertEquals(path, "/foo/bar/baz/asdf");
+ * ```
+ *
+ * @example Working with URLs
+ * ```ts
+ * import { join } from "@std/path/posix/join";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const url = new URL("https://deno.land");
+ * url.pathname = join("std", "path", "mod.ts");
+ * assertEquals(url.href, "https://deno.land/std/path/mod.ts");
+ *
+ * url.pathname = join("//std", "path/", "/mod.ts");
+ * assertEquals(url.href, "https://deno.land/std/path/mod.ts");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `join` from `@std/path/posix/unstable-join`.
+ *
+ * @param paths The paths to join.
+ * @returns The joined path.
+ */ function join(...paths) {
+ if (paths.length === 0) return ".";
+ paths.forEach((path)=>assertPath(path));
+ const joined = paths.filter((path)=>path.length > 0).join("/");
+ return joined === "" ? "." : normalize(joined);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return a `ParsedPath` object of the `path`.
+ *
+ * @example Usage
+ * ```ts
+ * import { parse } from "@std/path/posix/parse";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = parse("/home/user/file.txt");
+ * assertEquals(path, {
+ * root: "/",
+ * dir: "/home/user",
+ * base: "file.txt",
+ * ext: ".txt",
+ * name: "file"
+ * });
+ * ```
+ *
+ * @param path The path to parse.
+ * @returns The parsed path object.
+ */ function parse(path) {
+ assertPath(path);
+ const ret = {
+ root: "",
+ dir: "",
+ base: "",
+ ext: "",
+ name: ""
+ };
+ if (path.length === 0) return ret;
+ const isAbsolute = isPosixPathSeparator(path.charCodeAt(0));
+ let start;
+ if (isAbsolute) {
+ ret.root = "/";
+ start = 1;
+ } else {
+ start = 0;
+ }
+ let startDot = -1;
+ let startPart = 0;
+ let end = -1;
+ let matchedSlash = true;
+ let i = path.length - 1;
+ // Track the state of characters (if any) we see before our first dot and
+ // after any path separator we find
+ let preDotState = 0;
+ // Get non-dir info
+ for(; i >= start; --i){
+ const code = path.charCodeAt(i);
+ if (isPosixPathSeparator(code)) {
+ // If we reached a path separator that was not part of a set of path
+ // separators at the end of the string, stop now
+ if (!matchedSlash) {
+ startPart = i + 1;
+ break;
+ }
+ continue;
+ }
+ if (end === -1) {
+ // We saw the first non-path separator, mark this as the end of our
+ // extension
+ matchedSlash = false;
+ end = i + 1;
+ }
+ if (code === CHAR_DOT) {
+ // If this is our first dot, mark it as the start of our extension
+ if (startDot === -1) startDot = i;
+ else if (preDotState !== 1) preDotState = 1;
+ } else if (startDot !== -1) {
+ // We saw a non-dot and non-path separator before our dot, so we should
+ // have a good chance at having a non-empty extension
+ preDotState = -1;
+ }
+ }
+ if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot
+ preDotState === 0 || // The (right-most) trimmed path component is exactly '..'
+ preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
+ if (end !== -1) {
+ if (startPart === 0 && isAbsolute) {
+ ret.base = ret.name = path.slice(1, end);
+ } else {
+ ret.base = ret.name = path.slice(startPart, end);
+ }
+ }
+ // Fallback to '/' in case there is no basename
+ ret.base = ret.base || "/";
+ } else {
+ if (startPart === 0 && isAbsolute) {
+ ret.name = path.slice(1, startDot);
+ ret.base = path.slice(1, end);
+ } else {
+ ret.name = path.slice(startPart, startDot);
+ ret.base = path.slice(startPart, end);
+ }
+ ret.ext = path.slice(startDot, end);
+ }
+ if (startPart > 0) {
+ ret.dir = stripTrailingSeparators(path.slice(0, startPart - 1), isPosixPathSeparator);
+ } else if (isAbsolute) ret.dir = "/";
+ return ret;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Resolves path segments into a `path`.
+ *
+ * @example Usage
+ * ```ts
+ * import { resolve } from "@std/path/posix/resolve";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = resolve("/foo", "bar", "baz/asdf", "quux", "..");
+ * assertEquals(path, "/foo/bar/baz/asdf");
+ * ```
+ *
+ * @param pathSegments The path segments to resolve.
+ * @returns The resolved path.
+ */ function resolve(...pathSegments) {
+ let resolvedPath = "";
+ let resolvedAbsolute = false;
+ for(let i = pathSegments.length - 1; i >= -1 && !resolvedAbsolute; i--){
+ let path;
+ if (i >= 0) path = pathSegments[i];
+ else {
+ // deno-lint-ignore no-explicit-any
+ const { Deno } = globalThis;
+ if (typeof Deno?.cwd !== "function") {
+ throw new TypeError("Resolved a relative path without a current working directory (CWD)");
+ }
+ path = Deno.cwd();
+ }
+ assertPath(path);
+ // Skip empty entries
+ if (path.length === 0) {
+ continue;
+ }
+ resolvedPath = `${path}/${resolvedPath}`;
+ resolvedAbsolute = isPosixPathSeparator(path.charCodeAt(0));
+ }
+ // At this point the path should be resolved to a full absolute path, but
+ // handle relative paths to be safe (might happen when Deno.cwd() fails)
+ // Normalize the path
+ resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, "/", isPosixPathSeparator);
+ if (resolvedAbsolute) {
+ if (resolvedPath.length > 0) return `/${resolvedPath}`;
+ else return "/";
+ } else if (resolvedPath.length > 0) return resolvedPath;
+ else return ".";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArgs(from, to) {
+ assertPath(from);
+ assertPath(to);
+ if (from === to) return "";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the relative path from `from` to `to` based on current working directory.
+ *
+ * If `from` and `to` are the same, return an empty string.
+ *
+ * @example Usage
+ * ```ts
+ * import { relative } from "@std/path/posix/relative";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = relative("/data/orandea/test/aaa", "/data/orandea/impl/bbb");
+ * assertEquals(path, "../../impl/bbb");
+ * ```
+ *
+ * @param from The path to start from.
+ * @param to The path to reach.
+ * @returns The relative path.
+ */ function relative(from, to) {
+ assertArgs(from, to);
+ from = resolve(from);
+ to = resolve(to);
+ if (from === to) return "";
+ // Trim any leading backslashes
+ let fromStart = 1;
+ const fromEnd = from.length;
+ for(; fromStart < fromEnd; ++fromStart){
+ if (!isPosixPathSeparator(from.charCodeAt(fromStart))) break;
+ }
+ const fromLen = fromEnd - fromStart;
+ // Trim any leading backslashes
+ let toStart = 1;
+ const toEnd = to.length;
+ for(; toStart < toEnd; ++toStart){
+ if (!isPosixPathSeparator(to.charCodeAt(toStart))) break;
+ }
+ const toLen = toEnd - toStart;
+ // Compare paths to find the longest common path from root
+ const length = fromLen < toLen ? fromLen : toLen;
+ let lastCommonSep = -1;
+ let i = 0;
+ for(; i <= length; ++i){
+ if (i === length) {
+ if (toLen > length) {
+ if (isPosixPathSeparator(to.charCodeAt(toStart + i))) {
+ // We get here if `from` is the exact base path for `to`.
+ // For example: from='/foo/bar'; to='/foo/bar/baz'
+ return to.slice(toStart + i + 1);
+ } else if (i === 0) {
+ // We get here if `from` is the root
+ // For example: from='/'; to='/foo'
+ return to.slice(toStart + i);
+ }
+ } else if (fromLen > length) {
+ if (isPosixPathSeparator(from.charCodeAt(fromStart + i))) {
+ // We get here if `to` is the exact base path for `from`.
+ // For example: from='/foo/bar/baz'; to='/foo/bar'
+ lastCommonSep = i;
+ } else if (i === 0) {
+ // We get here if `to` is the root.
+ // For example: from='/foo'; to='/'
+ lastCommonSep = 0;
+ }
+ }
+ break;
+ }
+ const fromCode = from.charCodeAt(fromStart + i);
+ const toCode = to.charCodeAt(toStart + i);
+ if (fromCode !== toCode) break;
+ else if (isPosixPathSeparator(fromCode)) lastCommonSep = i;
+ }
+ let out = "";
+ // Generate the relative path based on the path difference between `to`
+ // and `from`
+ for(i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i){
+ if (i === fromEnd || isPosixPathSeparator(from.charCodeAt(i))) {
+ if (out.length === 0) out += "..";
+ else out += "/..";
+ }
+ }
+ // Lastly, append the rest of the destination (`to`) path that comes after
+ // the common path parts
+ if (out.length > 0) return out + to.slice(toStart + lastCommonSep);
+ else {
+ toStart += lastCommonSep;
+ if (isPosixPathSeparator(to.charCodeAt(toStart))) ++toStart;
+ return to.slice(toStart);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+const WHITESPACE_ENCODINGS = {
+ "\u0009": "%09",
+ "\u000A": "%0A",
+ "\u000B": "%0B",
+ "\u000C": "%0C",
+ "\u000D": "%0D",
+ "\u0020": "%20"
+};
+function encodeWhitespace(string) {
+ return string.replaceAll(/[\s]/g, (c)=>{
+ return WHITESPACE_ENCODINGS[c] ?? c;
+ });
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Converts a path string to a file URL.
+ *
+ * @example Usage
+ * ```ts
+ * import { toFileUrl } from "@std/path/posix/to-file-url";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(toFileUrl("/home/foo"), new URL("file:///home/foo"));
+ * assertEquals(toFileUrl("/home/foo bar"), new URL("file:///home/foo%20bar"));
+ * ```
+ *
+ * @param path The path to convert.
+ * @returns The file URL.
+ */ function toFileUrl(path) {
+ if (!isAbsolute(path)) {
+ throw new TypeError(`Path must be absolute: received "${path}"`);
+ }
+ const url = new URL("file:///");
+ url.pathname = encodeWhitespace(path.replace(/%/g, "%25").replace(/\\/g, "%5C"));
+ return url;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Converts a path to a namespaced path. This function returns the path as is on posix.
+ *
+ * @example Usage
+ * ```ts
+ * import { toNamespacedPath } from "@std/path/posix/to-namespaced-path";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(toNamespacedPath("/home/foo"), "/home/foo");
+ * ```
+ *
+ * @param path The path.
+ * @returns The namespaced path.
+ */ function toNamespacedPath(path) {
+ // Non-op on posix systems
+ return path;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function common$1(paths, sep) {
+ const [first = "", ...remaining] = paths;
+ const parts = first.split(sep);
+ let endOfPrefix = parts.length;
+ let append = "";
+ for (const path of remaining){
+ const compare = path.split(sep);
+ if (compare.length <= endOfPrefix) {
+ endOfPrefix = compare.length;
+ append = "";
+ }
+ for(let i = 0; i < endOfPrefix; i++){
+ if (compare[i] !== parts[i]) {
+ endOfPrefix = i;
+ append = i === 0 ? "" : sep;
+ break;
+ }
+ }
+ }
+ return parts.slice(0, endOfPrefix).join(sep) + append;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/** Determines the common path from a set of paths for POSIX systems.
+ *
+ * @example Usage
+ * ```ts
+ * import { common } from "@std/path/posix/common";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = common([
+ * "./deno/std/path/mod.ts",
+ * "./deno/std/fs/mod.ts",
+ * ]);
+ * assertEquals(path, "./deno/std/");
+ * ```
+ *
+ * @param paths The paths to compare.
+ * @returns The common path.
+ */ function common(paths) {
+ return common$1(paths, SEPARATOR);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Options for {@linkcode globToRegExp}, {@linkcode joinGlobs},
+ * {@linkcode normalizeGlob} and {@linkcode expandGlob}.
+ */ const REG_EXP_ESCAPE_CHARS = [
+ "!",
+ "$",
+ "(",
+ ")",
+ "*",
+ "+",
+ ".",
+ "=",
+ "?",
+ "[",
+ "\\",
+ "^",
+ "{",
+ "|"
+];
+const RANGE_ESCAPE_CHARS = [
+ "-",
+ "\\",
+ "]"
+];
+function _globToRegExp(c, glob, { extended = true, globstar: globstarOption = true, // os = osType,
+caseInsensitive = false } = {}) {
+ if (glob === "") {
+ return /(?!)/;
+ }
+ // Remove trailing separators.
+ let newLength = glob.length;
+ for(; newLength > 1 && c.seps.includes(glob[newLength - 1]); newLength--);
+ glob = glob.slice(0, newLength);
+ let regExpString = "";
+ // Terminates correctly. Trust that `j` is incremented every iteration.
+ for(let j = 0; j < glob.length;){
+ let segment = "";
+ const groupStack = [];
+ let inRange = false;
+ let inEscape = false;
+ let endsWithSep = false;
+ let i = j;
+ // Terminates with `i` at the non-inclusive end of the current segment.
+ for(; i < glob.length && !c.seps.includes(glob[i]); i++){
+ if (inEscape) {
+ inEscape = false;
+ const escapeChars = inRange ? RANGE_ESCAPE_CHARS : REG_EXP_ESCAPE_CHARS;
+ segment += escapeChars.includes(glob[i]) ? `\\${glob[i]}` : glob[i];
+ continue;
+ }
+ if (glob[i] === c.escapePrefix) {
+ inEscape = true;
+ continue;
+ }
+ if (glob[i] === "[") {
+ if (!inRange) {
+ inRange = true;
+ segment += "[";
+ if (glob[i + 1] === "!") {
+ i++;
+ segment += "^";
+ } else if (glob[i + 1] === "^") {
+ i++;
+ segment += "\\^";
+ }
+ continue;
+ } else if (glob[i + 1] === ":") {
+ let k = i + 1;
+ let value = "";
+ while(glob[k + 1] !== undefined && glob[k + 1] !== ":"){
+ value += glob[k + 1];
+ k++;
+ }
+ if (glob[k + 1] === ":" && glob[k + 2] === "]") {
+ i = k + 2;
+ if (value === "alnum") segment += "\\dA-Za-z";
+ else if (value === "alpha") segment += "A-Za-z";
+ else if (value === "ascii") segment += "\x00-\x7F";
+ else if (value === "blank") segment += "\t ";
+ else if (value === "cntrl") segment += "\x00-\x1F\x7F";
+ else if (value === "digit") segment += "\\d";
+ else if (value === "graph") segment += "\x21-\x7E";
+ else if (value === "lower") segment += "a-z";
+ else if (value === "print") segment += "\x20-\x7E";
+ else if (value === "punct") {
+ segment += "!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~";
+ } else if (value === "space") segment += "\\s\v";
+ else if (value === "upper") segment += "A-Z";
+ else if (value === "word") segment += "\\w";
+ else if (value === "xdigit") segment += "\\dA-Fa-f";
+ continue;
+ }
+ }
+ }
+ if (glob[i] === "]" && inRange) {
+ inRange = false;
+ segment += "]";
+ continue;
+ }
+ if (inRange) {
+ segment += glob[i];
+ continue;
+ }
+ if (glob[i] === ")" && groupStack.length > 0 && groupStack[groupStack.length - 1] !== "BRACE") {
+ segment += ")";
+ const type = groupStack.pop();
+ if (type === "!") {
+ segment += c.wildcard;
+ } else if (type !== "@") {
+ segment += type;
+ }
+ continue;
+ }
+ if (glob[i] === "|" && groupStack.length > 0 && groupStack[groupStack.length - 1] !== "BRACE") {
+ segment += "|";
+ continue;
+ }
+ if (glob[i] === "+" && extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("+");
+ segment += "(?:";
+ continue;
+ }
+ if (glob[i] === "@" && extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("@");
+ segment += "(?:";
+ continue;
+ }
+ if (glob[i] === "?") {
+ if (extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("?");
+ segment += "(?:";
+ } else {
+ segment += ".";
+ }
+ continue;
+ }
+ if (glob[i] === "!" && extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("!");
+ segment += "(?!";
+ continue;
+ }
+ if (glob[i] === "{") {
+ groupStack.push("BRACE");
+ segment += "(?:";
+ continue;
+ }
+ if (glob[i] === "}" && groupStack[groupStack.length - 1] === "BRACE") {
+ groupStack.pop();
+ segment += ")";
+ continue;
+ }
+ if (glob[i] === "," && groupStack[groupStack.length - 1] === "BRACE") {
+ segment += "|";
+ continue;
+ }
+ if (glob[i] === "*") {
+ if (extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("*");
+ segment += "(?:";
+ } else {
+ const prevChar = glob[i - 1];
+ let numStars = 1;
+ while(glob[i + 1] === "*"){
+ i++;
+ numStars++;
+ }
+ const nextChar = glob[i + 1];
+ if (globstarOption && numStars === 2 && [
+ ...c.seps,
+ undefined
+ ].includes(prevChar) && [
+ ...c.seps,
+ undefined
+ ].includes(nextChar)) {
+ segment += c.globstar;
+ endsWithSep = true;
+ } else {
+ segment += c.wildcard;
+ }
+ }
+ continue;
+ }
+ segment += REG_EXP_ESCAPE_CHARS.includes(glob[i]) ? `\\${glob[i]}` : glob[i];
+ }
+ // Check for unclosed groups or a dangling backslash.
+ if (groupStack.length > 0 || inRange || inEscape) {
+ // Parse failure. Take all characters from this segment literally.
+ segment = "";
+ for (const c of glob.slice(j, i)){
+ segment += REG_EXP_ESCAPE_CHARS.includes(c) ? `\\${c}` : c;
+ endsWithSep = false;
+ }
+ }
+ regExpString += segment;
+ if (!endsWithSep) {
+ regExpString += i < glob.length ? c.sep : c.sepMaybe;
+ endsWithSep = true;
+ }
+ // Terminates with `i` at the start of the next segment.
+ while(c.seps.includes(glob[i]))i++;
+ j = i;
+ }
+ regExpString = `^${regExpString}$`;
+ return new RegExp(regExpString, caseInsensitive ? "i" : "");
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+const constants = {
+ sep: "/+",
+ sepMaybe: "/*",
+ seps: [
+ "/"
+ ],
+ globstar: "(?:[^/]*(?:/|$)+)*",
+ wildcard: "[^/]*",
+ escapePrefix: "\\"
+};
+/** Convert a glob string to a regular expression.
+ *
+ * Tries to match bash glob expansion as closely as possible.
+ *
+ * Basic glob syntax:
+ * - `*` - Matches everything without leaving the path segment.
+ * - `?` - Matches any single character.
+ * - `{foo,bar}` - Matches `foo` or `bar`.
+ * - `[abcd]` - Matches `a`, `b`, `c` or `d`.
+ * - `[a-d]` - Matches `a`, `b`, `c` or `d`.
+ * - `[!abcd]` - Matches any single character besides `a`, `b`, `c` or `d`.
+ * - `[[::]]` - Matches any character belonging to ``.
+ * - `[[:alnum:]]` - Matches any digit or letter.
+ * - `[[:digit:]abc]` - Matches any digit, `a`, `b` or `c`.
+ * - See https://facelessuser.github.io/wcmatch/glob/#posix-character-classes
+ * for a complete list of supported character classes.
+ * - `\` - Escapes the next character for an `os` other than `"windows"`.
+ * - \` - Escapes the next character for `os` set to `"windows"`.
+ * - `/` - Path separator.
+ * - `\` - Additional path separator only for `os` set to `"windows"`.
+ *
+ * Extended syntax:
+ * - Requires `{ extended: true }`.
+ * - `?(foo|bar)` - Matches 0 or 1 instance of `{foo,bar}`.
+ * - `@(foo|bar)` - Matches 1 instance of `{foo,bar}`. They behave the same.
+ * - `*(foo|bar)` - Matches _n_ instances of `{foo,bar}`.
+ * - `+(foo|bar)` - Matches _n > 0_ instances of `{foo,bar}`.
+ * - `!(foo|bar)` - Matches anything other than `{foo,bar}`.
+ * - See https://www.linuxjournal.com/content/bash-extended-globbing.
+ *
+ * Globstar syntax:
+ * - Requires `{ globstar: true }`.
+ * - `**` - Matches any number of any path segments.
+ * - Must comprise its entire path segment in the provided glob.
+ * - See https://www.linuxjournal.com/content/globstar-new-bash-globbing-option.
+ *
+ * Note the following properties:
+ * - The generated `RegExp` is anchored at both start and end.
+ * - Repeating and trailing separators are tolerated. Trailing separators in the
+ * provided glob have no meaning and are discarded.
+ * - Absolute globs will only match absolute paths, etc.
+ * - Empty globs will match nothing.
+ * - Any special glob syntax must be contained to one path segment. For example,
+ * `?(foo|bar/baz)` is invalid. The separator will take precedence and the
+ * first segment ends with an unclosed group.
+ * - If a path segment ends with unclosed groups or a dangling escape prefix, a
+ * parse error has occurred. Every character for that segment is taken
+ * literally in this event.
+ *
+ * Limitations:
+ * - A negative group like `!(foo|bar)` will wrongly be converted to a negative
+ * look-ahead followed by a wildcard. This means that `!(foo).js` will wrongly
+ * fail to match `foobar.js`, even though `foobar` is not `foo`. Effectively,
+ * `!(foo|bar)` is treated like `!(@(foo|bar)*)`. This will work correctly if
+ * the group occurs not nested at the end of the segment.
+ *
+ * @example Usage
+ * ```ts
+ * import { globToRegExp } from "@std/path/posix/glob-to-regexp";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(globToRegExp("*.js"), /^[^/]*\.js\/*$/);
+ * ```
+ *
+ * @param glob Glob string to convert.
+ * @param options Conversion options.
+ * @returns The regular expression equivalent to the glob.
+ */ function globToRegExp(glob, options = {}) {
+ return _globToRegExp(constants, glob, options);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Test whether the given string is a glob.
+ *
+ * @example Usage
+ * ```ts
+ * import { isGlob } from "@std/path/is-glob";
+ * import { assert } from "@std/assert";
+ *
+ * assert(!isGlob("foo/bar/../baz"));
+ * assert(isGlob("foo/*ar/../baz"));
+ * ```
+ *
+ * @param str String to test.
+ * @returns `true` if the given string is a glob, otherwise `false`
+ */ function isGlob(str) {
+ const chars = {
+ "{": "}",
+ "(": ")",
+ "[": "]"
+ };
+ const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;
+ if (str === "") {
+ return false;
+ }
+ let match;
+ while(match = regex.exec(str)){
+ if (match[2]) return true;
+ let idx = match.index + match[0].length;
+ // if an open bracket/brace/paren is escaped,
+ // set the index to the next closing character
+ const open = match[1];
+ const close = open ? chars[open] : null;
+ if (open && close) {
+ const n = str.indexOf(close, idx);
+ if (n !== -1) {
+ idx = n + 1;
+ }
+ }
+ str = str.slice(idx);
+ }
+ return false;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Like normalize(), but doesn't collapse "**\/.." when `globstar` is true.
+ *
+ * @example Usage
+ * ```ts
+ * import { normalizeGlob } from "@std/path/posix/normalize-glob";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = normalizeGlob("foo/bar/../*", { globstar: true });
+ * assertEquals(path, "foo/*");
+ * ```
+ *
+ * @param glob The glob to normalize.
+ * @param options The options to use.
+ * @returns The normalized path.
+ */ function normalizeGlob(glob, { globstar = false } = {}) {
+ if (glob.match(/\0/g)) {
+ throw new Error(`Glob contains invalid characters: "${glob}"`);
+ }
+ if (!globstar) {
+ return normalize(glob);
+ }
+ const s = SEPARATOR_PATTERN.source;
+ const badParentPattern = new RegExp(`(?<=(${s}|^)\\*\\*${s})\\.\\.(?=${s}|$)`, "g");
+ return normalize(glob.replace(badParentPattern, "\0")).replace(/\0/g, "..");
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Like join(), but doesn't collapse "**\/.." when `globstar` is true.
+ *
+ * @example Usage
+ * ```ts
+ * import { joinGlobs } from "@std/path/posix/join-globs";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = joinGlobs(["foo", "bar", "**"], { globstar: true });
+ * assertEquals(path, "foo/bar/**");
+ * ```
+ *
+ * @param globs The globs to join.
+ * @param options The options to use.
+ * @returns The joined path.
+ */ function joinGlobs(globs, { extended = true, globstar = false } = {}) {
+ if (!globstar || globs.length === 0) {
+ return join(...globs);
+ }
+ let joined;
+ for (const glob of globs){
+ const path = glob;
+ if (path.length > 0) {
+ if (!joined) joined = path;
+ else joined += `${SEPARATOR}${path}`;
+ }
+ }
+ if (!joined) return ".";
+ return normalizeGlob(joined, {
+ extended,
+ globstar
+ });
+}
+
+exports.DELIMITER = DELIMITER;
+exports.SEPARATOR = SEPARATOR;
+exports.SEPARATOR_PATTERN = SEPARATOR_PATTERN;
+exports.basename = basename;
+exports.common = common;
+exports.dirname = dirname;
+exports.extname = extname;
+exports.format = format;
+exports.fromFileUrl = fromFileUrl;
+exports.globToRegExp = globToRegExp;
+exports.isAbsolute = isAbsolute;
+exports.isGlob = isGlob;
+exports.join = join;
+exports.joinGlobs = joinGlobs;
+exports.normalize = normalize;
+exports.normalizeGlob = normalizeGlob;
+exports.parse = parse;
+exports.relative = relative;
+exports.resolve = resolve;
+exports.toFileUrl = toFileUrl;
+exports.toNamespacedPath = toNamespacedPath;
diff --git a/node_modules/@eslint/config-array/dist/cjs/std__path/windows.cjs b/node_modules/@eslint/config-array/dist/cjs/std__path/windows.cjs
new file mode 100644
index 00000000..95616595
--- /dev/null
+++ b/node_modules/@eslint/config-array/dist/cjs/std__path/windows.cjs
@@ -0,0 +1,1669 @@
+'use strict';
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+function assertPath(path) {
+ if (typeof path !== "string") {
+ throw new TypeError(`Path must be a string, received "${JSON.stringify(path)}"`);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function stripSuffix(name, suffix) {
+ if (suffix.length >= name.length) {
+ return name;
+ }
+ const lenDiff = name.length - suffix.length;
+ for(let i = suffix.length - 1; i >= 0; --i){
+ if (name.charCodeAt(lenDiff + i) !== suffix.charCodeAt(i)) {
+ return name;
+ }
+ }
+ return name.slice(0, -suffix.length);
+}
+function lastPathSegment(path, isSep, start = 0) {
+ let matchedNonSeparator = false;
+ let end = path.length;
+ for(let i = path.length - 1; i >= start; --i){
+ if (isSep(path.charCodeAt(i))) {
+ if (matchedNonSeparator) {
+ start = i + 1;
+ break;
+ }
+ } else if (!matchedNonSeparator) {
+ matchedNonSeparator = true;
+ end = i + 1;
+ }
+ }
+ return path.slice(start, end);
+}
+function assertArgs$1(path, suffix) {
+ assertPath(path);
+ if (path.length === 0) return path;
+ if (typeof suffix !== "string") {
+ throw new TypeError(`Suffix must be a string, received "${JSON.stringify(suffix)}"`);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+// Alphabet chars.
+const CHAR_UPPERCASE_A = 65; /* A */
+const CHAR_LOWERCASE_A = 97; /* a */
+const CHAR_UPPERCASE_Z = 90; /* Z */
+const CHAR_LOWERCASE_Z = 122; /* z */
+// Non-alphabetic chars.
+const CHAR_DOT = 46; /* . */
+const CHAR_FORWARD_SLASH = 47; /* / */
+const CHAR_BACKWARD_SLASH = 92; /* \ */
+const CHAR_COLON = 58; /* : */
+const CHAR_QUESTION_MARK = 63; /* ? */
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+function stripTrailingSeparators(segment, isSep) {
+ if (segment.length <= 1) {
+ return segment;
+ }
+ let end = segment.length;
+ for(let i = segment.length - 1; i > 0; i--){
+ if (isSep(segment.charCodeAt(i))) {
+ end = i;
+ } else {
+ break;
+ }
+ }
+ return segment.slice(0, end);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+function isPosixPathSeparator(code) {
+ return code === CHAR_FORWARD_SLASH;
+}
+function isPathSeparator(code) {
+ return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
+}
+function isWindowsDeviceRoot(code) {
+ return code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z || code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the last portion of a `path`.
+ * Trailing directory separators are ignored, and optional suffix is removed.
+ *
+ * @example Usage
+ * ```ts
+ * import { basename } from "@std/path/windows/basename";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(basename("C:\\user\\Documents\\"), "Documents");
+ * assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
+ * assertEquals(basename("C:\\user\\Documents\\image.png", ".png"), "image");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `basename` from `@std/path/windows/unstable-basename`.
+ *
+ * @param path The path to extract the name from.
+ * @param suffix The suffix to remove from extracted name.
+ * @returns The extracted name.
+ */ function basename(path, suffix = "") {
+ assertArgs$1(path, suffix);
+ // Check for a drive letter prefix so as not to mistake the following
+ // path separator as an extra separator at the end of the path that can be
+ // disregarded
+ let start = 0;
+ if (path.length >= 2) {
+ const drive = path.charCodeAt(0);
+ if (isWindowsDeviceRoot(drive)) {
+ if (path.charCodeAt(1) === CHAR_COLON) start = 2;
+ }
+ }
+ const lastSegment = lastPathSegment(path, isPathSeparator, start);
+ const strippedSegment = stripTrailingSeparators(lastSegment, isPathSeparator);
+ return suffix ? stripSuffix(strippedSegment, suffix) : strippedSegment;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * The character used to separate entries in the PATH environment variable.
+ */ const DELIMITER = ";";
+/**
+ * The character used to separate components of a file path.
+ */ const SEPARATOR = "\\";
+/**
+ * A regular expression that matches one or more path separators.
+ */ const SEPARATOR_PATTERN = /[\\/]+/;
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArg$3(path) {
+ assertPath(path);
+ if (path.length === 0) return ".";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the directory path of a `path`.
+ *
+ * @example Usage
+ * ```ts
+ * import { dirname } from "@std/path/windows/dirname";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const dir = dirname("C:\\foo\\bar\\baz.ext");
+ * assertEquals(dir, "C:\\foo\\bar");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `dirname` from `@std/path/windows/unstable-dirname`.
+ *
+ * @param path The path to get the directory from.
+ * @returns The directory path.
+ */ function dirname(path) {
+ assertArg$3(path);
+ const len = path.length;
+ let rootEnd = -1;
+ let end = -1;
+ let matchedSlash = true;
+ let offset = 0;
+ const code = path.charCodeAt(0);
+ // Try to match a root
+ if (len > 1) {
+ if (isPathSeparator(code)) {
+ // Possible UNC root
+ rootEnd = offset = 1;
+ if (isPathSeparator(path.charCodeAt(1))) {
+ // Matched double path separator at beginning
+ let j = 2;
+ let last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ // Matched!
+ last = j;
+ // Match 1 or more path separators
+ for(; j < len; ++j){
+ if (!isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ // Matched!
+ last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j === len) {
+ // We matched a UNC root only
+ return path;
+ }
+ if (j !== last) {
+ // We matched a UNC root with leftovers
+ // Offset by 1 to include the separator after the UNC root to
+ // treat it as a "normal root" on top of a (UNC) root
+ rootEnd = offset = j + 1;
+ }
+ }
+ }
+ }
+ } else if (isWindowsDeviceRoot(code)) {
+ // Possible device root
+ if (path.charCodeAt(1) === CHAR_COLON) {
+ rootEnd = offset = 2;
+ if (len > 2) {
+ if (isPathSeparator(path.charCodeAt(2))) rootEnd = offset = 3;
+ }
+ }
+ }
+ } else if (isPathSeparator(code)) {
+ // `path` contains just a path separator, exit early to avoid
+ // unnecessary work
+ return path;
+ }
+ for(let i = len - 1; i >= offset; --i){
+ if (isPathSeparator(path.charCodeAt(i))) {
+ if (!matchedSlash) {
+ end = i;
+ break;
+ }
+ } else {
+ // We saw the first non-path separator
+ matchedSlash = false;
+ }
+ }
+ if (end === -1) {
+ if (rootEnd === -1) return ".";
+ else end = rootEnd;
+ }
+ return stripTrailingSeparators(path.slice(0, end), isPosixPathSeparator);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the extension of the `path` with leading period.
+ *
+ * @example Usage
+ * ```ts
+ * import { extname } from "@std/path/windows/extname";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const ext = extname("file.ts");
+ * assertEquals(ext, ".ts");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `extname` from `@std/path/windows/unstable-extname`.
+ *
+ * @param path The path to get the extension from.
+ * @returns The extension of the `path`.
+ */ function extname(path) {
+ assertPath(path);
+ let start = 0;
+ let startDot = -1;
+ let startPart = 0;
+ let end = -1;
+ let matchedSlash = true;
+ // Track the state of characters (if any) we see before our first dot and
+ // after any path separator we find
+ let preDotState = 0;
+ // Check for a drive letter prefix so as not to mistake the following
+ // path separator as an extra separator at the end of the path that can be
+ // disregarded
+ if (path.length >= 2 && path.charCodeAt(1) === CHAR_COLON && isWindowsDeviceRoot(path.charCodeAt(0))) {
+ start = startPart = 2;
+ }
+ for(let i = path.length - 1; i >= start; --i){
+ const code = path.charCodeAt(i);
+ if (isPathSeparator(code)) {
+ // If we reached a path separator that was not part of a set of path
+ // separators at the end of the string, stop now
+ if (!matchedSlash) {
+ startPart = i + 1;
+ break;
+ }
+ continue;
+ }
+ if (end === -1) {
+ // We saw the first non-path separator, mark this as the end of our
+ // extension
+ matchedSlash = false;
+ end = i + 1;
+ }
+ if (code === CHAR_DOT) {
+ // If this is our first dot, mark it as the start of our extension
+ if (startDot === -1) startDot = i;
+ else if (preDotState !== 1) preDotState = 1;
+ } else if (startDot !== -1) {
+ // We saw a non-dot and non-path separator before our dot, so we should
+ // have a good chance at having a non-empty extension
+ preDotState = -1;
+ }
+ }
+ if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot
+ preDotState === 0 || // The (right-most) trimmed path component is exactly '..'
+ preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
+ return "";
+ }
+ return path.slice(startDot, end);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function _format(sep, pathObject) {
+ const dir = pathObject.dir || pathObject.root;
+ const base = pathObject.base || (pathObject.name ?? "") + (pathObject.ext ?? "");
+ if (!dir) return base;
+ if (base === sep) return dir;
+ if (dir === pathObject.root) return dir + base;
+ return dir + sep + base;
+}
+function assertArg$2(pathObject) {
+ if (pathObject === null || typeof pathObject !== "object") {
+ throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof pathObject}"`);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Generate a path from `ParsedPath` object.
+ *
+ * @example Usage
+ * ```ts
+ * import { format } from "@std/path/windows/format";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = format({
+ * root: "C:\\",
+ * dir: "C:\\path\\dir",
+ * base: "file.txt",
+ * ext: ".txt",
+ * name: "file"
+ * });
+ * assertEquals(path, "C:\\path\\dir\\file.txt");
+ * ```
+ *
+ * @param pathObject The path object to format.
+ * @returns The formatted path.
+ */ function format(pathObject) {
+ assertArg$2(pathObject);
+ return _format("\\", pathObject);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArg$1(url) {
+ url = url instanceof URL ? url : new URL(url);
+ if (url.protocol !== "file:") {
+ throw new TypeError(`URL must be a file URL: received "${url.protocol}"`);
+ }
+ return url;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Converts a file URL to a path string.
+ *
+ * @example Usage
+ * ```ts
+ * import { fromFileUrl } from "@std/path/windows/from-file-url";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(fromFileUrl("file:///home/foo"), "\\home\\foo");
+ * assertEquals(fromFileUrl("file:///C:/Users/foo"), "C:\\Users\\foo");
+ * assertEquals(fromFileUrl("file://localhost/home/foo"), "\\home\\foo");
+ * ```
+ *
+ * @param url The file URL to convert.
+ * @returns The path string.
+ */ function fromFileUrl(url) {
+ url = assertArg$1(url);
+ let path = decodeURIComponent(url.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
+ if (url.hostname !== "") {
+ // Note: The `URL` implementation guarantees that the drive letter and
+ // hostname are mutually exclusive. Otherwise it would not have been valid
+ // to append the hostname and path like this.
+ path = `\\\\${url.hostname}${path}`;
+ }
+ return path;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Verifies whether provided path is absolute.
+ *
+ * @example Usage
+ * ```ts
+ * import { isAbsolute } from "@std/path/windows/is-absolute";
+ * import { assert, assertFalse } from "@std/assert";
+ *
+ * assert(isAbsolute("C:\\foo\\bar"));
+ * assertFalse(isAbsolute("..\\baz"));
+ * ```
+ *
+ * @param path The path to verify.
+ * @returns `true` if the path is absolute, `false` otherwise.
+ */ function isAbsolute(path) {
+ assertPath(path);
+ const len = path.length;
+ if (len === 0) return false;
+ const code = path.charCodeAt(0);
+ if (isPathSeparator(code)) {
+ return true;
+ } else if (isWindowsDeviceRoot(code)) {
+ // Possible device root
+ if (len > 2 && path.charCodeAt(1) === CHAR_COLON) {
+ if (isPathSeparator(path.charCodeAt(2))) return true;
+ }
+ }
+ return false;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArg(path) {
+ assertPath(path);
+ if (path.length === 0) return ".";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+// Resolves . and .. elements in a path with directory names
+function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
+ let res = "";
+ let lastSegmentLength = 0;
+ let lastSlash = -1;
+ let dots = 0;
+ let code;
+ for(let i = 0; i <= path.length; ++i){
+ if (i < path.length) code = path.charCodeAt(i);
+ else if (isPathSeparator(code)) break;
+ else code = CHAR_FORWARD_SLASH;
+ if (isPathSeparator(code)) {
+ if (lastSlash === i - 1 || dots === 1) ; else if (lastSlash !== i - 1 && dots === 2) {
+ if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== CHAR_DOT || res.charCodeAt(res.length - 2) !== CHAR_DOT) {
+ if (res.length > 2) {
+ const lastSlashIndex = res.lastIndexOf(separator);
+ if (lastSlashIndex === -1) {
+ res = "";
+ lastSegmentLength = 0;
+ } else {
+ res = res.slice(0, lastSlashIndex);
+ lastSegmentLength = res.length - 1 - res.lastIndexOf(separator);
+ }
+ lastSlash = i;
+ dots = 0;
+ continue;
+ } else if (res.length === 2 || res.length === 1) {
+ res = "";
+ lastSegmentLength = 0;
+ lastSlash = i;
+ dots = 0;
+ continue;
+ }
+ }
+ if (allowAboveRoot) {
+ if (res.length > 0) res += `${separator}..`;
+ else res = "..";
+ lastSegmentLength = 2;
+ }
+ } else {
+ if (res.length > 0) res += separator + path.slice(lastSlash + 1, i);
+ else res = path.slice(lastSlash + 1, i);
+ lastSegmentLength = i - lastSlash - 1;
+ }
+ lastSlash = i;
+ dots = 0;
+ } else if (code === CHAR_DOT && dots !== -1) {
+ ++dots;
+ } else {
+ dots = -1;
+ }
+ }
+ return res;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Normalize the `path`, resolving `'..'` and `'.'` segments.
+ * Note that resolving these segments does not necessarily mean that all will be eliminated.
+ * A `'..'` at the top-level will be preserved, and an empty path is canonically `'.'`.
+ *
+ * @example Usage
+ * ```ts
+ * import { normalize } from "@std/path/windows/normalize";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const normalized = normalize("C:\\foo\\..\\bar");
+ * assertEquals(normalized, "C:\\bar");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `normalize` from `@std/path/windows/unstable-normalize`.
+ *
+ * @param path The path to normalize
+ * @returns The normalized path
+ */ function normalize(path) {
+ assertArg(path);
+ const len = path.length;
+ let rootEnd = 0;
+ let device;
+ let isAbsolute = false;
+ const code = path.charCodeAt(0);
+ // Try to match a root
+ if (len > 1) {
+ if (isPathSeparator(code)) {
+ // Possible UNC root
+ // If we started with a separator, we know we at least have an absolute
+ // path of some kind (UNC or otherwise)
+ isAbsolute = true;
+ if (isPathSeparator(path.charCodeAt(1))) {
+ // Matched double path separator at beginning
+ let j = 2;
+ let last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ const firstPart = path.slice(last, j);
+ // Matched!
+ last = j;
+ // Match 1 or more path separators
+ for(; j < len; ++j){
+ if (!isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ // Matched!
+ last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j === len) {
+ // We matched a UNC root only
+ // Return the normalized version of the UNC root since there
+ // is nothing left to process
+ return `\\\\${firstPart}\\${path.slice(last)}\\`;
+ } else if (j !== last) {
+ // We matched a UNC root with leftovers
+ device = `\\\\${firstPart}\\${path.slice(last, j)}`;
+ rootEnd = j;
+ }
+ }
+ }
+ } else {
+ rootEnd = 1;
+ }
+ } else if (isWindowsDeviceRoot(code)) {
+ // Possible device root
+ if (path.charCodeAt(1) === CHAR_COLON) {
+ device = path.slice(0, 2);
+ rootEnd = 2;
+ if (len > 2) {
+ if (isPathSeparator(path.charCodeAt(2))) {
+ // Treat separator following drive name as an absolute path
+ // indicator
+ isAbsolute = true;
+ rootEnd = 3;
+ }
+ }
+ }
+ }
+ } else if (isPathSeparator(code)) {
+ // `path` contains just a path separator, exit early to avoid unnecessary
+ // work
+ return "\\";
+ }
+ let tail;
+ if (rootEnd < len) {
+ tail = normalizeString(path.slice(rootEnd), !isAbsolute, "\\", isPathSeparator);
+ } else {
+ tail = "";
+ }
+ if (tail.length === 0 && !isAbsolute) tail = ".";
+ if (tail.length > 0 && isPathSeparator(path.charCodeAt(len - 1))) {
+ tail += "\\";
+ }
+ if (device === undefined) {
+ if (isAbsolute) {
+ if (tail.length > 0) return `\\${tail}`;
+ else return "\\";
+ }
+ return tail;
+ } else if (isAbsolute) {
+ if (tail.length > 0) return `${device}\\${tail}`;
+ else return `${device}\\`;
+ }
+ return device + tail;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Join all given a sequence of `paths`,then normalizes the resulting path.
+ *
+ * @example Usage
+ * ```ts
+ * import { join } from "@std/path/windows/join";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const joined = join("C:\\foo", "bar", "baz\\..");
+ * assertEquals(joined, "C:\\foo\\bar");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `join` from `@std/path/windows/unstable-join`.
+ *
+ * @param paths The paths to join.
+ * @returns The joined path.
+ */ function join(...paths) {
+ paths.forEach((path)=>assertPath(path));
+ paths = paths.filter((path)=>path.length > 0);
+ if (paths.length === 0) return ".";
+ // Make sure that the joined path doesn't start with two slashes, because
+ // normalize() will mistake it for an UNC path then.
+ //
+ // This step is skipped when it is very clear that the user actually
+ // intended to point at an UNC path. This is assumed when the first
+ // non-empty string arguments starts with exactly two slashes followed by
+ // at least one more non-slash character.
+ //
+ // Note that for normalize() to treat a path as an UNC path it needs to
+ // have at least 2 components, so we don't filter for that here.
+ // This means that the user can use join to construct UNC paths from
+ // a server name and a share name; for example:
+ // path.join('//server', 'share') -> '\\\\server\\share\\'
+ let needsReplace = true;
+ let slashCount = 0;
+ const firstPart = paths[0];
+ if (isPathSeparator(firstPart.charCodeAt(0))) {
+ ++slashCount;
+ const firstLen = firstPart.length;
+ if (firstLen > 1) {
+ if (isPathSeparator(firstPart.charCodeAt(1))) {
+ ++slashCount;
+ if (firstLen > 2) {
+ if (isPathSeparator(firstPart.charCodeAt(2))) ++slashCount;
+ else {
+ // We matched a UNC path in the first part
+ needsReplace = false;
+ }
+ }
+ }
+ }
+ }
+ let joined = paths.join("\\");
+ if (needsReplace) {
+ // Find any more consecutive slashes we need to replace
+ for(; slashCount < joined.length; ++slashCount){
+ if (!isPathSeparator(joined.charCodeAt(slashCount))) break;
+ }
+ // Replace the slashes if needed
+ if (slashCount >= 2) joined = `\\${joined.slice(slashCount)}`;
+ }
+ return normalize(joined);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return a `ParsedPath` object of the `path`.
+ *
+ * @example Usage
+ * ```ts
+ * import { parse } from "@std/path/windows/parse";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const parsed = parse("C:\\foo\\bar\\baz.ext");
+ * assertEquals(parsed, {
+ * root: "C:\\",
+ * dir: "C:\\foo\\bar",
+ * base: "baz.ext",
+ * ext: ".ext",
+ * name: "baz",
+ * });
+ * ```
+ *
+ * @param path The path to parse.
+ * @returns The `ParsedPath` object.
+ */ function parse(path) {
+ assertPath(path);
+ const ret = {
+ root: "",
+ dir: "",
+ base: "",
+ ext: "",
+ name: ""
+ };
+ const len = path.length;
+ if (len === 0) return ret;
+ let rootEnd = 0;
+ let code = path.charCodeAt(0);
+ // Try to match a root
+ if (len > 1) {
+ if (isPathSeparator(code)) {
+ // Possible UNC root
+ rootEnd = 1;
+ if (isPathSeparator(path.charCodeAt(1))) {
+ // Matched double path separator at beginning
+ let j = 2;
+ let last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ // Matched!
+ last = j;
+ // Match 1 or more path separators
+ for(; j < len; ++j){
+ if (!isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ // Matched!
+ last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j === len) {
+ // We matched a UNC root only
+ rootEnd = j;
+ } else if (j !== last) {
+ // We matched a UNC root with leftovers
+ rootEnd = j + 1;
+ }
+ }
+ }
+ }
+ } else if (isWindowsDeviceRoot(code)) {
+ // Possible device root
+ if (path.charCodeAt(1) === CHAR_COLON) {
+ rootEnd = 2;
+ if (len > 2) {
+ if (isPathSeparator(path.charCodeAt(2))) {
+ if (len === 3) {
+ // `path` contains just a drive root, exit early to avoid
+ // unnecessary work
+ ret.root = ret.dir = path;
+ ret.base = "\\";
+ return ret;
+ }
+ rootEnd = 3;
+ }
+ } else {
+ // `path` contains just a relative drive root, exit early to avoid
+ // unnecessary work
+ ret.root = ret.dir = path;
+ return ret;
+ }
+ }
+ }
+ } else if (isPathSeparator(code)) {
+ // `path` contains just a path separator, exit early to avoid
+ // unnecessary work
+ ret.root = ret.dir = path;
+ ret.base = "\\";
+ return ret;
+ }
+ if (rootEnd > 0) ret.root = path.slice(0, rootEnd);
+ let startDot = -1;
+ let startPart = rootEnd;
+ let end = -1;
+ let matchedSlash = true;
+ let i = path.length - 1;
+ // Track the state of characters (if any) we see before our first dot and
+ // after any path separator we find
+ let preDotState = 0;
+ // Get non-dir info
+ for(; i >= rootEnd; --i){
+ code = path.charCodeAt(i);
+ if (isPathSeparator(code)) {
+ // If we reached a path separator that was not part of a set of path
+ // separators at the end of the string, stop now
+ if (!matchedSlash) {
+ startPart = i + 1;
+ break;
+ }
+ continue;
+ }
+ if (end === -1) {
+ // We saw the first non-path separator, mark this as the end of our
+ // extension
+ matchedSlash = false;
+ end = i + 1;
+ }
+ if (code === CHAR_DOT) {
+ // If this is our first dot, mark it as the start of our extension
+ if (startDot === -1) startDot = i;
+ else if (preDotState !== 1) preDotState = 1;
+ } else if (startDot !== -1) {
+ // We saw a non-dot and non-path separator before our dot, so we should
+ // have a good chance at having a non-empty extension
+ preDotState = -1;
+ }
+ }
+ if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot
+ preDotState === 0 || // The (right-most) trimmed path component is exactly '..'
+ preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
+ if (end !== -1) {
+ ret.base = ret.name = path.slice(startPart, end);
+ }
+ } else {
+ ret.name = path.slice(startPart, startDot);
+ ret.base = path.slice(startPart, end);
+ ret.ext = path.slice(startDot, end);
+ }
+ // Fallback to '\' in case there is no basename
+ ret.base = ret.base || "\\";
+ // If the directory is the root, use the entire root as the `dir` including
+ // the trailing slash if any (`C:\abc` -> `C:\`). Otherwise, strip out the
+ // trailing slash (`C:\abc\def` -> `C:\abc`).
+ if (startPart > 0 && startPart !== rootEnd) {
+ ret.dir = path.slice(0, startPart - 1);
+ } else ret.dir = ret.root;
+ return ret;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Resolves path segments into a `path`.
+ *
+ * @example Usage
+ * ```ts
+ * import { resolve } from "@std/path/windows/resolve";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const resolved = resolve("C:\\foo\\bar", "..\\baz");
+ * assertEquals(resolved, "C:\\foo\\baz");
+ * ```
+ *
+ * @param pathSegments The path segments to process to path
+ * @returns The resolved path
+ */ function resolve(...pathSegments) {
+ let resolvedDevice = "";
+ let resolvedTail = "";
+ let resolvedAbsolute = false;
+ for(let i = pathSegments.length - 1; i >= -1; i--){
+ let path;
+ // deno-lint-ignore no-explicit-any
+ const { Deno } = globalThis;
+ if (i >= 0) {
+ path = pathSegments[i];
+ } else if (!resolvedDevice) {
+ if (typeof Deno?.cwd !== "function") {
+ throw new TypeError("Resolved a drive-letter-less path without a current working directory (CWD)");
+ }
+ path = Deno.cwd();
+ } else {
+ if (typeof Deno?.env?.get !== "function" || typeof Deno?.cwd !== "function") {
+ throw new TypeError("Resolved a relative path without a current working directory (CWD)");
+ }
+ path = Deno.cwd();
+ // Verify that a cwd was found and that it actually points
+ // to our drive. If not, default to the drive's root.
+ if (path === undefined || path.slice(0, 3).toLowerCase() !== `${resolvedDevice.toLowerCase()}\\`) {
+ path = `${resolvedDevice}\\`;
+ }
+ }
+ assertPath(path);
+ const len = path.length;
+ // Skip empty entries
+ if (len === 0) continue;
+ let rootEnd = 0;
+ let device = "";
+ let isAbsolute = false;
+ const code = path.charCodeAt(0);
+ // Try to match a root
+ if (len > 1) {
+ if (isPathSeparator(code)) {
+ // Possible UNC root
+ // If we started with a separator, we know we at least have an
+ // absolute path of some kind (UNC or otherwise)
+ isAbsolute = true;
+ if (isPathSeparator(path.charCodeAt(1))) {
+ // Matched double path separator at beginning
+ let j = 2;
+ let last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ const firstPart = path.slice(last, j);
+ // Matched!
+ last = j;
+ // Match 1 or more path separators
+ for(; j < len; ++j){
+ if (!isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ // Matched!
+ last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j === len) {
+ // We matched a UNC root only
+ device = `\\\\${firstPart}\\${path.slice(last)}`;
+ rootEnd = j;
+ } else if (j !== last) {
+ // We matched a UNC root with leftovers
+ device = `\\\\${firstPart}\\${path.slice(last, j)}`;
+ rootEnd = j;
+ }
+ }
+ }
+ } else {
+ rootEnd = 1;
+ }
+ } else if (isWindowsDeviceRoot(code)) {
+ // Possible device root
+ if (path.charCodeAt(1) === CHAR_COLON) {
+ device = path.slice(0, 2);
+ rootEnd = 2;
+ if (len > 2) {
+ if (isPathSeparator(path.charCodeAt(2))) {
+ // Treat separator following drive name as an absolute path
+ // indicator
+ isAbsolute = true;
+ rootEnd = 3;
+ }
+ }
+ }
+ }
+ } else if (isPathSeparator(code)) {
+ // `path` contains just a path separator
+ rootEnd = 1;
+ isAbsolute = true;
+ }
+ if (device.length > 0 && resolvedDevice.length > 0 && device.toLowerCase() !== resolvedDevice.toLowerCase()) {
+ continue;
+ }
+ if (resolvedDevice.length === 0 && device.length > 0) {
+ resolvedDevice = device;
+ }
+ if (!resolvedAbsolute) {
+ resolvedTail = `${path.slice(rootEnd)}\\${resolvedTail}`;
+ resolvedAbsolute = isAbsolute;
+ }
+ if (resolvedAbsolute && resolvedDevice.length > 0) break;
+ }
+ // At this point the path should be resolved to a full absolute path,
+ // but handle relative paths to be safe (might happen when Deno.cwd()
+ // fails)
+ // Normalize the tail path
+ resolvedTail = normalizeString(resolvedTail, !resolvedAbsolute, "\\", isPathSeparator);
+ return resolvedDevice + (resolvedAbsolute ? "\\" : "") + resolvedTail || ".";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArgs(from, to) {
+ assertPath(from);
+ assertPath(to);
+ if (from === to) return "";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the relative path from `from` to `to` based on current working directory.
+ *
+ * An example in windws, for instance:
+ * from = 'C:\\orandea\\test\\aaa'
+ * to = 'C:\\orandea\\impl\\bbb'
+ * The output of the function should be: '..\\..\\impl\\bbb'
+ *
+ * @example Usage
+ * ```ts
+ * import { relative } from "@std/path/windows/relative";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const relativePath = relative("C:\\foobar\\test\\aaa", "C:\\foobar\\impl\\bbb");
+ * assertEquals(relativePath, "..\\..\\impl\\bbb");
+ * ```
+ *
+ * @param from The path from which to calculate the relative path
+ * @param to The path to which to calculate the relative path
+ * @returns The relative path from `from` to `to`
+ */ function relative(from, to) {
+ assertArgs(from, to);
+ const fromOrig = resolve(from);
+ const toOrig = resolve(to);
+ if (fromOrig === toOrig) return "";
+ from = fromOrig.toLowerCase();
+ to = toOrig.toLowerCase();
+ if (from === to) return "";
+ // Trim any leading backslashes
+ let fromStart = 0;
+ let fromEnd = from.length;
+ for(; fromStart < fromEnd; ++fromStart){
+ if (from.charCodeAt(fromStart) !== CHAR_BACKWARD_SLASH) break;
+ }
+ // Trim trailing backslashes (applicable to UNC paths only)
+ for(; fromEnd - 1 > fromStart; --fromEnd){
+ if (from.charCodeAt(fromEnd - 1) !== CHAR_BACKWARD_SLASH) break;
+ }
+ const fromLen = fromEnd - fromStart;
+ // Trim any leading backslashes
+ let toStart = 0;
+ let toEnd = to.length;
+ for(; toStart < toEnd; ++toStart){
+ if (to.charCodeAt(toStart) !== CHAR_BACKWARD_SLASH) break;
+ }
+ // Trim trailing backslashes (applicable to UNC paths only)
+ for(; toEnd - 1 > toStart; --toEnd){
+ if (to.charCodeAt(toEnd - 1) !== CHAR_BACKWARD_SLASH) break;
+ }
+ const toLen = toEnd - toStart;
+ // Compare paths to find the longest common path from root
+ const length = fromLen < toLen ? fromLen : toLen;
+ let lastCommonSep = -1;
+ let i = 0;
+ for(; i <= length; ++i){
+ if (i === length) {
+ if (toLen > length) {
+ if (to.charCodeAt(toStart + i) === CHAR_BACKWARD_SLASH) {
+ // We get here if `from` is the exact base path for `to`.
+ // For example: from='C:\\foo\\bar'; to='C:\\foo\\bar\\baz'
+ return toOrig.slice(toStart + i + 1);
+ } else if (i === 2) {
+ // We get here if `from` is the device root.
+ // For example: from='C:\\'; to='C:\\foo'
+ return toOrig.slice(toStart + i);
+ }
+ }
+ if (fromLen > length) {
+ if (from.charCodeAt(fromStart + i) === CHAR_BACKWARD_SLASH) {
+ // We get here if `to` is the exact base path for `from`.
+ // For example: from='C:\\foo\\bar'; to='C:\\foo'
+ lastCommonSep = i;
+ } else if (i === 2) {
+ // We get here if `to` is the device root.
+ // For example: from='C:\\foo\\bar'; to='C:\\'
+ lastCommonSep = 3;
+ }
+ }
+ break;
+ }
+ const fromCode = from.charCodeAt(fromStart + i);
+ const toCode = to.charCodeAt(toStart + i);
+ if (fromCode !== toCode) break;
+ else if (fromCode === CHAR_BACKWARD_SLASH) lastCommonSep = i;
+ }
+ // We found a mismatch before the first common path separator was seen, so
+ // return the original `to`.
+ if (i !== length && lastCommonSep === -1) {
+ return toOrig;
+ }
+ let out = "";
+ if (lastCommonSep === -1) lastCommonSep = 0;
+ // Generate the relative path based on the path difference between `to` and
+ // `from`
+ for(i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i){
+ if (i === fromEnd || from.charCodeAt(i) === CHAR_BACKWARD_SLASH) {
+ if (out.length === 0) out += "..";
+ else out += "\\..";
+ }
+ }
+ // Lastly, append the rest of the destination (`to`) path that comes after
+ // the common path parts
+ if (out.length > 0) {
+ return out + toOrig.slice(toStart + lastCommonSep, toEnd);
+ } else {
+ toStart += lastCommonSep;
+ if (toOrig.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) ++toStart;
+ return toOrig.slice(toStart, toEnd);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+const WHITESPACE_ENCODINGS = {
+ "\u0009": "%09",
+ "\u000A": "%0A",
+ "\u000B": "%0B",
+ "\u000C": "%0C",
+ "\u000D": "%0D",
+ "\u0020": "%20"
+};
+function encodeWhitespace(string) {
+ return string.replaceAll(/[\s]/g, (c)=>{
+ return WHITESPACE_ENCODINGS[c] ?? c;
+ });
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Converts a path string to a file URL.
+ *
+ * @example Usage
+ * ```ts
+ * import { toFileUrl } from "@std/path/windows/to-file-url";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(toFileUrl("\\home\\foo"), new URL("file:///home/foo"));
+ * assertEquals(toFileUrl("C:\\Users\\foo"), new URL("file:///C:/Users/foo"));
+ * assertEquals(toFileUrl("\\\\127.0.0.1\\home\\foo"), new URL("file://127.0.0.1/home/foo"));
+ * ```
+ * @param path The path to convert.
+ * @returns The file URL.
+ */ function toFileUrl(path) {
+ if (!isAbsolute(path)) {
+ throw new TypeError(`Path must be absolute: received "${path}"`);
+ }
+ const [, hostname, pathname] = path.match(/^(?:[/\\]{2}([^/\\]+)(?=[/\\](?:[^/\\]|$)))?(.*)/);
+ const url = new URL("file:///");
+ url.pathname = encodeWhitespace(pathname.replace(/%/g, "%25"));
+ if (hostname !== undefined && hostname !== "localhost") {
+ url.hostname = hostname;
+ if (!url.hostname) {
+ throw new TypeError(`Invalid hostname: "${url.hostname}"`);
+ }
+ }
+ return url;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Resolves path to a namespace path
+ *
+ * @example Usage
+ * ```ts
+ * import { toNamespacedPath } from "@std/path/windows/to-namespaced-path";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const namespaced = toNamespacedPath("C:\\foo\\bar");
+ * assertEquals(namespaced, "\\\\?\\C:\\foo\\bar");
+ * ```
+ *
+ * @param path The path to resolve to namespaced path
+ * @returns The resolved namespaced path
+ */ function toNamespacedPath(path) {
+ // Note: this will *probably* throw somewhere.
+ if (typeof path !== "string") return path;
+ if (path.length === 0) return "";
+ const resolvedPath = resolve(path);
+ if (resolvedPath.length >= 3) {
+ if (resolvedPath.charCodeAt(0) === CHAR_BACKWARD_SLASH) {
+ // Possible UNC root
+ if (resolvedPath.charCodeAt(1) === CHAR_BACKWARD_SLASH) {
+ const code = resolvedPath.charCodeAt(2);
+ if (code !== CHAR_QUESTION_MARK && code !== CHAR_DOT) {
+ // Matched non-long UNC root, convert the path to a long UNC path
+ return `\\\\?\\UNC\\${resolvedPath.slice(2)}`;
+ }
+ }
+ } else if (isWindowsDeviceRoot(resolvedPath.charCodeAt(0))) {
+ // Possible device root
+ if (resolvedPath.charCodeAt(1) === CHAR_COLON && resolvedPath.charCodeAt(2) === CHAR_BACKWARD_SLASH) {
+ // Matched device root, convert the path to a long UNC path
+ return `\\\\?\\${resolvedPath}`;
+ }
+ }
+ }
+ return path;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function common$1(paths, sep) {
+ const [first = "", ...remaining] = paths;
+ const parts = first.split(sep);
+ let endOfPrefix = parts.length;
+ let append = "";
+ for (const path of remaining){
+ const compare = path.split(sep);
+ if (compare.length <= endOfPrefix) {
+ endOfPrefix = compare.length;
+ append = "";
+ }
+ for(let i = 0; i < endOfPrefix; i++){
+ if (compare[i] !== parts[i]) {
+ endOfPrefix = i;
+ append = i === 0 ? "" : sep;
+ break;
+ }
+ }
+ }
+ return parts.slice(0, endOfPrefix).join(sep) + append;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Determines the common path from a set of paths for Windows systems.
+ *
+ * @example Usage
+ * ```ts
+ * import { common } from "@std/path/windows/common";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = common([
+ * "C:\\foo\\bar",
+ * "C:\\foo\\baz",
+ * ]);
+ * assertEquals(path, "C:\\foo\\");
+ * ```
+ *
+ * @param paths The paths to compare.
+ * @returns The common path.
+ */ function common(paths) {
+ return common$1(paths, SEPARATOR);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Options for {@linkcode globToRegExp}, {@linkcode joinGlobs},
+ * {@linkcode normalizeGlob} and {@linkcode expandGlob}.
+ */ const REG_EXP_ESCAPE_CHARS = [
+ "!",
+ "$",
+ "(",
+ ")",
+ "*",
+ "+",
+ ".",
+ "=",
+ "?",
+ "[",
+ "\\",
+ "^",
+ "{",
+ "|"
+];
+const RANGE_ESCAPE_CHARS = [
+ "-",
+ "\\",
+ "]"
+];
+function _globToRegExp(c, glob, { extended = true, globstar: globstarOption = true, // os = osType,
+caseInsensitive = false } = {}) {
+ if (glob === "") {
+ return /(?!)/;
+ }
+ // Remove trailing separators.
+ let newLength = glob.length;
+ for(; newLength > 1 && c.seps.includes(glob[newLength - 1]); newLength--);
+ glob = glob.slice(0, newLength);
+ let regExpString = "";
+ // Terminates correctly. Trust that `j` is incremented every iteration.
+ for(let j = 0; j < glob.length;){
+ let segment = "";
+ const groupStack = [];
+ let inRange = false;
+ let inEscape = false;
+ let endsWithSep = false;
+ let i = j;
+ // Terminates with `i` at the non-inclusive end of the current segment.
+ for(; i < glob.length && !c.seps.includes(glob[i]); i++){
+ if (inEscape) {
+ inEscape = false;
+ const escapeChars = inRange ? RANGE_ESCAPE_CHARS : REG_EXP_ESCAPE_CHARS;
+ segment += escapeChars.includes(glob[i]) ? `\\${glob[i]}` : glob[i];
+ continue;
+ }
+ if (glob[i] === c.escapePrefix) {
+ inEscape = true;
+ continue;
+ }
+ if (glob[i] === "[") {
+ if (!inRange) {
+ inRange = true;
+ segment += "[";
+ if (glob[i + 1] === "!") {
+ i++;
+ segment += "^";
+ } else if (glob[i + 1] === "^") {
+ i++;
+ segment += "\\^";
+ }
+ continue;
+ } else if (glob[i + 1] === ":") {
+ let k = i + 1;
+ let value = "";
+ while(glob[k + 1] !== undefined && glob[k + 1] !== ":"){
+ value += glob[k + 1];
+ k++;
+ }
+ if (glob[k + 1] === ":" && glob[k + 2] === "]") {
+ i = k + 2;
+ if (value === "alnum") segment += "\\dA-Za-z";
+ else if (value === "alpha") segment += "A-Za-z";
+ else if (value === "ascii") segment += "\x00-\x7F";
+ else if (value === "blank") segment += "\t ";
+ else if (value === "cntrl") segment += "\x00-\x1F\x7F";
+ else if (value === "digit") segment += "\\d";
+ else if (value === "graph") segment += "\x21-\x7E";
+ else if (value === "lower") segment += "a-z";
+ else if (value === "print") segment += "\x20-\x7E";
+ else if (value === "punct") {
+ segment += "!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~";
+ } else if (value === "space") segment += "\\s\v";
+ else if (value === "upper") segment += "A-Z";
+ else if (value === "word") segment += "\\w";
+ else if (value === "xdigit") segment += "\\dA-Fa-f";
+ continue;
+ }
+ }
+ }
+ if (glob[i] === "]" && inRange) {
+ inRange = false;
+ segment += "]";
+ continue;
+ }
+ if (inRange) {
+ segment += glob[i];
+ continue;
+ }
+ if (glob[i] === ")" && groupStack.length > 0 && groupStack[groupStack.length - 1] !== "BRACE") {
+ segment += ")";
+ const type = groupStack.pop();
+ if (type === "!") {
+ segment += c.wildcard;
+ } else if (type !== "@") {
+ segment += type;
+ }
+ continue;
+ }
+ if (glob[i] === "|" && groupStack.length > 0 && groupStack[groupStack.length - 1] !== "BRACE") {
+ segment += "|";
+ continue;
+ }
+ if (glob[i] === "+" && extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("+");
+ segment += "(?:";
+ continue;
+ }
+ if (glob[i] === "@" && extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("@");
+ segment += "(?:";
+ continue;
+ }
+ if (glob[i] === "?") {
+ if (extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("?");
+ segment += "(?:";
+ } else {
+ segment += ".";
+ }
+ continue;
+ }
+ if (glob[i] === "!" && extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("!");
+ segment += "(?!";
+ continue;
+ }
+ if (glob[i] === "{") {
+ groupStack.push("BRACE");
+ segment += "(?:";
+ continue;
+ }
+ if (glob[i] === "}" && groupStack[groupStack.length - 1] === "BRACE") {
+ groupStack.pop();
+ segment += ")";
+ continue;
+ }
+ if (glob[i] === "," && groupStack[groupStack.length - 1] === "BRACE") {
+ segment += "|";
+ continue;
+ }
+ if (glob[i] === "*") {
+ if (extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("*");
+ segment += "(?:";
+ } else {
+ const prevChar = glob[i - 1];
+ let numStars = 1;
+ while(glob[i + 1] === "*"){
+ i++;
+ numStars++;
+ }
+ const nextChar = glob[i + 1];
+ if (globstarOption && numStars === 2 && [
+ ...c.seps,
+ undefined
+ ].includes(prevChar) && [
+ ...c.seps,
+ undefined
+ ].includes(nextChar)) {
+ segment += c.globstar;
+ endsWithSep = true;
+ } else {
+ segment += c.wildcard;
+ }
+ }
+ continue;
+ }
+ segment += REG_EXP_ESCAPE_CHARS.includes(glob[i]) ? `\\${glob[i]}` : glob[i];
+ }
+ // Check for unclosed groups or a dangling backslash.
+ if (groupStack.length > 0 || inRange || inEscape) {
+ // Parse failure. Take all characters from this segment literally.
+ segment = "";
+ for (const c of glob.slice(j, i)){
+ segment += REG_EXP_ESCAPE_CHARS.includes(c) ? `\\${c}` : c;
+ endsWithSep = false;
+ }
+ }
+ regExpString += segment;
+ if (!endsWithSep) {
+ regExpString += i < glob.length ? c.sep : c.sepMaybe;
+ endsWithSep = true;
+ }
+ // Terminates with `i` at the start of the next segment.
+ while(c.seps.includes(glob[i]))i++;
+ j = i;
+ }
+ regExpString = `^${regExpString}$`;
+ return new RegExp(regExpString, caseInsensitive ? "i" : "");
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+const constants = {
+ sep: "(?:\\\\|/)+",
+ sepMaybe: "(?:\\\\|/)*",
+ seps: [
+ "\\",
+ "/"
+ ],
+ globstar: "(?:[^\\\\/]*(?:\\\\|/|$)+)*",
+ wildcard: "[^\\\\/]*",
+ escapePrefix: "`"
+};
+/** Convert a glob string to a regular expression.
+ *
+ * Tries to match bash glob expansion as closely as possible.
+ *
+ * Basic glob syntax:
+ * - `*` - Matches everything without leaving the path segment.
+ * - `?` - Matches any single character.
+ * - `{foo,bar}` - Matches `foo` or `bar`.
+ * - `[abcd]` - Matches `a`, `b`, `c` or `d`.
+ * - `[a-d]` - Matches `a`, `b`, `c` or `d`.
+ * - `[!abcd]` - Matches any single character besides `a`, `b`, `c` or `d`.
+ * - `[[::]]` - Matches any character belonging to ``.
+ * - `[[:alnum:]]` - Matches any digit or letter.
+ * - `[[:digit:]abc]` - Matches any digit, `a`, `b` or `c`.
+ * - See https://facelessuser.github.io/wcmatch/glob/#posix-character-classes
+ * for a complete list of supported character classes.
+ * - `\` - Escapes the next character for an `os` other than `"windows"`.
+ * - \` - Escapes the next character for `os` set to `"windows"`.
+ * - `/` - Path separator.
+ * - `\` - Additional path separator only for `os` set to `"windows"`.
+ *
+ * Extended syntax:
+ * - Requires `{ extended: true }`.
+ * - `?(foo|bar)` - Matches 0 or 1 instance of `{foo,bar}`.
+ * - `@(foo|bar)` - Matches 1 instance of `{foo,bar}`. They behave the same.
+ * - `*(foo|bar)` - Matches _n_ instances of `{foo,bar}`.
+ * - `+(foo|bar)` - Matches _n > 0_ instances of `{foo,bar}`.
+ * - `!(foo|bar)` - Matches anything other than `{foo,bar}`.
+ * - See https://www.linuxjournal.com/content/bash-extended-globbing.
+ *
+ * Globstar syntax:
+ * - Requires `{ globstar: true }`.
+ * - `**` - Matches any number of any path segments.
+ * - Must comprise its entire path segment in the provided glob.
+ * - See https://www.linuxjournal.com/content/globstar-new-bash-globbing-option.
+ *
+ * Note the following properties:
+ * - The generated `RegExp` is anchored at both start and end.
+ * - Repeating and trailing separators are tolerated. Trailing separators in the
+ * provided glob have no meaning and are discarded.
+ * - Absolute globs will only match absolute paths, etc.
+ * - Empty globs will match nothing.
+ * - Any special glob syntax must be contained to one path segment. For example,
+ * `?(foo|bar/baz)` is invalid. The separator will take precedence and the
+ * first segment ends with an unclosed group.
+ * - If a path segment ends with unclosed groups or a dangling escape prefix, a
+ * parse error has occurred. Every character for that segment is taken
+ * literally in this event.
+ *
+ * Limitations:
+ * - A negative group like `!(foo|bar)` will wrongly be converted to a negative
+ * look-ahead followed by a wildcard. This means that `!(foo).js` will wrongly
+ * fail to match `foobar.js`, even though `foobar` is not `foo`. Effectively,
+ * `!(foo|bar)` is treated like `!(@(foo|bar)*)`. This will work correctly if
+ * the group occurs not nested at the end of the segment.
+ *
+ * @example Usage
+ * ```ts
+ * import { globToRegExp } from "@std/path/windows/glob-to-regexp";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(globToRegExp("*.js"), /^[^\\/]*\.js(?:\\|\/)*$/);
+ * ```
+ *
+ * @param glob Glob string to convert.
+ * @param options Conversion options.
+ * @returns The regular expression equivalent to the glob.
+ */ function globToRegExp(glob, options = {}) {
+ return _globToRegExp(constants, glob, options);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Test whether the given string is a glob.
+ *
+ * @example Usage
+ * ```ts
+ * import { isGlob } from "@std/path/is-glob";
+ * import { assert } from "@std/assert";
+ *
+ * assert(!isGlob("foo/bar/../baz"));
+ * assert(isGlob("foo/*ar/../baz"));
+ * ```
+ *
+ * @param str String to test.
+ * @returns `true` if the given string is a glob, otherwise `false`
+ */ function isGlob(str) {
+ const chars = {
+ "{": "}",
+ "(": ")",
+ "[": "]"
+ };
+ const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;
+ if (str === "") {
+ return false;
+ }
+ let match;
+ while(match = regex.exec(str)){
+ if (match[2]) return true;
+ let idx = match.index + match[0].length;
+ // if an open bracket/brace/paren is escaped,
+ // set the index to the next closing character
+ const open = match[1];
+ const close = open ? chars[open] : null;
+ if (open && close) {
+ const n = str.indexOf(close, idx);
+ if (n !== -1) {
+ idx = n + 1;
+ }
+ }
+ str = str.slice(idx);
+ }
+ return false;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Like normalize(), but doesn't collapse "**\/.." when `globstar` is true.
+ *
+ * @example Usage
+ * ```ts
+ * import { normalizeGlob } from "@std/path/windows/normalize-glob";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const normalized = normalizeGlob("**\\foo\\..\\bar", { globstar: true });
+ * assertEquals(normalized, "**\\bar");
+ * ```
+ *
+ * @param glob The glob pattern to normalize.
+ * @param options The options for glob pattern.
+ * @returns The normalized glob pattern.
+ */ function normalizeGlob(glob, { globstar = false } = {}) {
+ if (glob.match(/\0/g)) {
+ throw new Error(`Glob contains invalid characters: "${glob}"`);
+ }
+ if (!globstar) {
+ return normalize(glob);
+ }
+ const s = SEPARATOR_PATTERN.source;
+ const badParentPattern = new RegExp(`(?<=(${s}|^)\\*\\*${s})\\.\\.(?=${s}|$)`, "g");
+ return normalize(glob.replace(badParentPattern, "\0")).replace(/\0/g, "..");
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Like join(), but doesn't collapse "**\/.." when `globstar` is true.
+ *
+ * @example Usage
+ *
+ * ```ts
+ * import { joinGlobs } from "@std/path/windows/join-globs";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const joined = joinGlobs(["foo", "**", "bar"], { globstar: true });
+ * assertEquals(joined, "foo\\**\\bar");
+ * ```
+ *
+ * @param globs The globs to join.
+ * @param options The options for glob pattern.
+ * @returns The joined glob pattern.
+ */ function joinGlobs(globs, { extended = true, globstar = false } = {}) {
+ if (!globstar || globs.length === 0) {
+ return join(...globs);
+ }
+ let joined;
+ for (const glob of globs){
+ const path = glob;
+ if (path.length > 0) {
+ if (!joined) joined = path;
+ else joined += `${SEPARATOR}${path}`;
+ }
+ }
+ if (!joined) return ".";
+ return normalizeGlob(joined, {
+ extended,
+ globstar
+ });
+}
+
+exports.DELIMITER = DELIMITER;
+exports.SEPARATOR = SEPARATOR;
+exports.SEPARATOR_PATTERN = SEPARATOR_PATTERN;
+exports.basename = basename;
+exports.common = common;
+exports.dirname = dirname;
+exports.extname = extname;
+exports.format = format;
+exports.fromFileUrl = fromFileUrl;
+exports.globToRegExp = globToRegExp;
+exports.isAbsolute = isAbsolute;
+exports.isGlob = isGlob;
+exports.join = join;
+exports.joinGlobs = joinGlobs;
+exports.normalize = normalize;
+exports.normalizeGlob = normalizeGlob;
+exports.parse = parse;
+exports.relative = relative;
+exports.resolve = resolve;
+exports.toFileUrl = toFileUrl;
+exports.toNamespacedPath = toNamespacedPath;
diff --git a/node_modules/@eslint/config-array/dist/cjs/types.ts b/node_modules/@eslint/config-array/dist/cjs/types.ts
new file mode 100644
index 00000000..1af40113
--- /dev/null
+++ b/node_modules/@eslint/config-array/dist/cjs/types.ts
@@ -0,0 +1,24 @@
+/**
+ * @fileoverview Types for the config-array package.
+ * @author Nicholas C. Zakas
+ */
+
+export interface ConfigObject {
+ /**
+ * The files to include.
+ */
+ files?: string[];
+
+ /**
+ * The files to exclude.
+ */
+ ignores?: string[];
+
+ /**
+ * The name of the config object.
+ */
+ name?: string;
+
+ // may also have any number of other properties
+ [key: string]: unknown;
+}
diff --git a/node_modules/@eslint/config-array/dist/esm/index.d.ts b/node_modules/@eslint/config-array/dist/esm/index.d.ts
new file mode 100644
index 00000000..6fb977e0
--- /dev/null
+++ b/node_modules/@eslint/config-array/dist/esm/index.d.ts
@@ -0,0 +1,141 @@
+export { ObjectSchema } from "@eslint/object-schema";
+export type PropertyDefinition = import("@eslint/object-schema").PropertyDefinition;
+export type ObjectDefinition = import("@eslint/object-schema").ObjectDefinition;
+export type ConfigObject = import("./types.ts").ConfigObject;
+export type IMinimatchStatic = import("minimatch").IMinimatchStatic;
+export type IMinimatch = import("minimatch").IMinimatch;
+export type PathImpl = typeof import("@jsr/std__path");
+export type ObjectSchemaInstance = import("@eslint/object-schema").ObjectSchema;
+/**
+ * Represents an array of config objects and provides method for working with
+ * those config objects.
+ */
+export class ConfigArray extends Array {
+ /**
+ * Creates a new instance of ConfigArray.
+ * @param {Iterable|Function|Object} configs An iterable yielding config
+ * objects, or a config function, or a config object.
+ * @param {Object} options The options for the ConfigArray.
+ * @param {string} [options.basePath="/"] The absolute path of the config file directory.
+ * Defaults to `"/"`.
+ * @param {boolean} [options.normalized=false] Flag indicating if the
+ * configs have already been normalized.
+ * @param {Object} [options.schema] The additional schema
+ * definitions to use for the ConfigArray schema.
+ * @param {Array} [options.extraConfigTypes] List of config types supported.
+ */
+ constructor(configs: Iterable | Function | any, { basePath, normalized, schema: customSchema, extraConfigTypes, }?: {
+ basePath?: string;
+ normalized?: boolean;
+ schema?: any;
+ extraConfigTypes?: Array;
+ });
+ /**
+ * The path of the config file that this array was loaded from.
+ * This is used to calculate filename matches.
+ * @property basePath
+ * @type {string}
+ */
+ basePath: string;
+ /**
+ * The supported config types.
+ * @type {Array}
+ */
+ extraConfigTypes: Array;
+ /**
+ * Returns the `files` globs from every config object in the array.
+ * This can be used to determine which files will be matched by a
+ * config array or to use as a glob pattern when no patterns are provided
+ * for a command line interface.
+ * @returns {Array} An array of matchers.
+ */
+ get files(): (string | Function)[];
+ /**
+ * Returns ignore matchers that should always be ignored regardless of
+ * the matching `files` fields in any configs. This is necessary to mimic
+ * the behavior of things like .gitignore and .eslintignore, allowing a
+ * globbing operation to be faster.
+ * @returns {string[]} An array of string patterns and functions to be ignored.
+ */
+ get ignores(): string[];
+ /**
+ * Indicates if the config array has been normalized.
+ * @returns {boolean} True if the config array is normalized, false if not.
+ */
+ isNormalized(): boolean;
+ /**
+ * Normalizes a config array by flattening embedded arrays and executing
+ * config functions.
+ * @param {Object} [context] The context object for config functions.
+ * @returns {Promise} The current ConfigArray instance.
+ */
+ normalize(context?: any): Promise;
+ /**
+ * Normalizes a config array by flattening embedded arrays and executing
+ * config functions.
+ * @param {Object} [context] The context object for config functions.
+ * @returns {ConfigArray} The current ConfigArray instance.
+ */
+ normalizeSync(context?: any): ConfigArray;
+ /**
+ * Returns the config object for a given file path and a status that can be used to determine why a file has no config.
+ * @param {string} filePath The path of a file to get a config for.
+ * @returns {{ config?: Object, status: "ignored"|"external"|"unconfigured"|"matched" }}
+ * An object with an optional property `config` and property `status`.
+ * `config` is the config object for the specified file as returned by {@linkcode ConfigArray.getConfig},
+ * `status` a is one of the constants returned by {@linkcode ConfigArray.getConfigStatus}.
+ */
+ getConfigWithStatus(filePath: string): {
+ config?: any;
+ status: "ignored" | "external" | "unconfigured" | "matched";
+ };
+ /**
+ * Returns the config object for a given file path.
+ * @param {string} filePath The path of a file to get a config for.
+ * @returns {Object|undefined} The config object for this file or `undefined`.
+ */
+ getConfig(filePath: string): any | undefined;
+ /**
+ * Determines whether a file has a config or why it doesn't.
+ * @param {string} filePath The path of the file to check.
+ * @returns {"ignored"|"external"|"unconfigured"|"matched"} One of the following values:
+ * * `"ignored"`: the file is ignored
+ * * `"external"`: the file is outside the base path
+ * * `"unconfigured"`: the file is not matched by any config
+ * * `"matched"`: the file has a matching config
+ */
+ getConfigStatus(filePath: string): "ignored" | "external" | "unconfigured" | "matched";
+ /**
+ * Determines if the given filepath is ignored based on the configs.
+ * @param {string} filePath The path of a file to check.
+ * @returns {boolean} True if the path is ignored, false if not.
+ * @deprecated Use `isFileIgnored` instead.
+ */
+ isIgnored(filePath: string): boolean;
+ /**
+ * Determines if the given filepath is ignored based on the configs.
+ * @param {string} filePath The path of a file to check.
+ * @returns {boolean} True if the path is ignored, false if not.
+ */
+ isFileIgnored(filePath: string): boolean;
+ /**
+ * Determines if the given directory is ignored based on the configs.
+ * This checks only default `ignores` that don't have `files` in the
+ * same config. A pattern such as `/foo` be considered to ignore the directory
+ * while a pattern such as `/foo/**` is not considered to ignore the
+ * directory because it is matching files.
+ * @param {string} directoryPath The path of a directory to check.
+ * @returns {boolean} True if the directory is ignored, false if not. Will
+ * return true for any directory that is not inside of `basePath`.
+ * @throws {Error} When the `ConfigArray` is not normalized.
+ */
+ isDirectoryIgnored(directoryPath: string): boolean;
+ #private;
+}
+export namespace ConfigArraySymbol {
+ let isNormalized: symbol;
+ let configCache: symbol;
+ let schema: symbol;
+ let finalizeConfig: symbol;
+ let preprocessConfig: symbol;
+}
diff --git a/node_modules/@eslint/config-array/dist/esm/index.js b/node_modules/@eslint/config-array/dist/esm/index.js
new file mode 100644
index 00000000..1e68f33e
--- /dev/null
+++ b/node_modules/@eslint/config-array/dist/esm/index.js
@@ -0,0 +1,1279 @@
+// @ts-self-types="./index.d.ts"
+import * as posixPath from './std__path/posix.js';
+import * as windowsPath from './std__path/windows.js';
+import minimatch from 'minimatch';
+import createDebug from 'debug';
+import { ObjectSchema } from '@eslint/object-schema';
+export { ObjectSchema } from '@eslint/object-schema';
+
+/**
+ * @fileoverview ConfigSchema
+ * @author Nicholas C. Zakas
+ */
+
+//------------------------------------------------------------------------------
+// Types
+//------------------------------------------------------------------------------
+
+/** @typedef {import("@eslint/object-schema").PropertyDefinition} PropertyDefinition */
+/** @typedef {import("@eslint/object-schema").ObjectDefinition} ObjectDefinition */
+
+//------------------------------------------------------------------------------
+// Helpers
+//------------------------------------------------------------------------------
+
+/**
+ * A strategy that does nothing.
+ * @type {PropertyDefinition}
+ */
+const NOOP_STRATEGY = {
+ required: false,
+ merge() {
+ return undefined;
+ },
+ validate() {},
+};
+
+//------------------------------------------------------------------------------
+// Exports
+//------------------------------------------------------------------------------
+
+/**
+ * The base schema that every ConfigArray uses.
+ * @type {ObjectDefinition}
+ */
+const baseSchema = Object.freeze({
+ name: {
+ required: false,
+ merge() {
+ return undefined;
+ },
+ validate(value) {
+ if (typeof value !== "string") {
+ throw new TypeError("Property must be a string.");
+ }
+ },
+ },
+ files: NOOP_STRATEGY,
+ ignores: NOOP_STRATEGY,
+});
+
+/**
+ * @fileoverview ConfigSchema
+ * @author Nicholas C. Zakas
+ */
+
+//------------------------------------------------------------------------------
+// Types
+//------------------------------------------------------------------------------
+
+
+//------------------------------------------------------------------------------
+// Helpers
+//------------------------------------------------------------------------------
+
+/**
+ * Asserts that a given value is an array.
+ * @param {*} value The value to check.
+ * @returns {void}
+ * @throws {TypeError} When the value is not an array.
+ */
+function assertIsArray(value) {
+ if (!Array.isArray(value)) {
+ throw new TypeError("Expected value to be an array.");
+ }
+}
+
+/**
+ * Asserts that a given value is an array containing only strings and functions.
+ * @param {*} value The value to check.
+ * @returns {void}
+ * @throws {TypeError} When the value is not an array of strings and functions.
+ */
+function assertIsArrayOfStringsAndFunctions(value) {
+ assertIsArray(value);
+
+ if (
+ value.some(
+ item => typeof item !== "string" && typeof item !== "function",
+ )
+ ) {
+ throw new TypeError(
+ "Expected array to only contain strings and functions.",
+ );
+ }
+}
+
+/**
+ * Asserts that a given value is a non-empty array.
+ * @param {*} value The value to check.
+ * @returns {void}
+ * @throws {TypeError} When the value is not an array or an empty array.
+ */
+function assertIsNonEmptyArray(value) {
+ if (!Array.isArray(value) || value.length === 0) {
+ throw new TypeError("Expected value to be a non-empty array.");
+ }
+}
+
+//------------------------------------------------------------------------------
+// Exports
+//------------------------------------------------------------------------------
+
+/**
+ * The schema for `files` and `ignores` that every ConfigArray uses.
+ * @type {ObjectDefinition}
+ */
+const filesAndIgnoresSchema = Object.freeze({
+ files: {
+ required: false,
+ merge() {
+ return undefined;
+ },
+ validate(value) {
+ // first check if it's an array
+ assertIsNonEmptyArray(value);
+
+ // then check each member
+ value.forEach(item => {
+ if (Array.isArray(item)) {
+ assertIsArrayOfStringsAndFunctions(item);
+ } else if (
+ typeof item !== "string" &&
+ typeof item !== "function"
+ ) {
+ throw new TypeError(
+ "Items must be a string, a function, or an array of strings and functions.",
+ );
+ }
+ });
+ },
+ },
+ ignores: {
+ required: false,
+ merge() {
+ return undefined;
+ },
+ validate: assertIsArrayOfStringsAndFunctions,
+ },
+});
+
+/**
+ * @fileoverview ConfigArray
+ * @author Nicholas C. Zakas
+ */
+
+
+//------------------------------------------------------------------------------
+// Types
+//------------------------------------------------------------------------------
+
+/** @typedef {import("./types.ts").ConfigObject} ConfigObject */
+/** @typedef {import("minimatch").IMinimatchStatic} IMinimatchStatic */
+/** @typedef {import("minimatch").IMinimatch} IMinimatch */
+/** @typedef {import("@jsr/std__path")} PathImpl */
+
+/*
+ * This is a bit of a hack to make TypeScript happy with the Rollup-created
+ * CommonJS file. Rollup doesn't do object destructuring for imported files
+ * and instead imports the default via `require()`. This messes up type checking
+ * for `ObjectSchema`. To work around that, we just import the type manually
+ * and give it a different name to use in the JSDoc comments.
+ */
+/** @typedef {import("@eslint/object-schema").ObjectSchema} ObjectSchemaInstance */
+
+//------------------------------------------------------------------------------
+// Helpers
+//------------------------------------------------------------------------------
+
+const Minimatch = minimatch.Minimatch;
+const debug = createDebug("@eslint/config-array");
+
+/**
+ * A cache for minimatch instances.
+ * @type {Map}
+ */
+const minimatchCache = new Map();
+
+/**
+ * A cache for negated minimatch instances.
+ * @type {Map}
+ */
+const negatedMinimatchCache = new Map();
+
+/**
+ * Options to use with minimatch.
+ * @type {Object}
+ */
+const MINIMATCH_OPTIONS = {
+ // matchBase: true,
+ dot: true,
+ allowWindowsEscape: true,
+};
+
+/**
+ * The types of config objects that are supported.
+ * @type {Set}
+ */
+const CONFIG_TYPES = new Set(["array", "function"]);
+
+/**
+ * Fields that are considered metadata and not part of the config object.
+ * @type {Set}
+ */
+const META_FIELDS = new Set(["name"]);
+
+/**
+ * A schema containing just files and ignores for early validation.
+ * @type {ObjectSchemaInstance}
+ */
+const FILES_AND_IGNORES_SCHEMA = new ObjectSchema(filesAndIgnoresSchema);
+
+// Precomputed constant objects returned by `ConfigArray.getConfigWithStatus`.
+
+const CONFIG_WITH_STATUS_EXTERNAL = Object.freeze({ status: "external" });
+const CONFIG_WITH_STATUS_IGNORED = Object.freeze({ status: "ignored" });
+const CONFIG_WITH_STATUS_UNCONFIGURED = Object.freeze({
+ status: "unconfigured",
+});
+
+// Match two leading dots followed by a slash or the end of input.
+const EXTERNAL_PATH_REGEX = /^\.\.(?:\/|$)/u;
+
+/**
+ * Wrapper error for config validation errors that adds a name to the front of the
+ * error message.
+ */
+class ConfigError extends Error {
+ /**
+ * Creates a new instance.
+ * @param {string} name The config object name causing the error.
+ * @param {number} index The index of the config object in the array.
+ * @param {Object} options The options for the error.
+ * @param {Error} [options.cause] The error that caused this error.
+ * @param {string} [options.message] The message to use for the error.
+ */
+ constructor(name, index, { cause, message }) {
+ const finalMessage = message || cause.message;
+
+ super(`Config ${name}: ${finalMessage}`, { cause });
+
+ // copy over custom properties that aren't represented
+ if (cause) {
+ for (const key of Object.keys(cause)) {
+ if (!(key in this)) {
+ this[key] = cause[key];
+ }
+ }
+ }
+
+ /**
+ * The name of the error.
+ * @type {string}
+ * @readonly
+ */
+ this.name = "ConfigError";
+
+ /**
+ * The index of the config object in the array.
+ * @type {number}
+ * @readonly
+ */
+ this.index = index;
+ }
+}
+
+/**
+ * Gets the name of a config object.
+ * @param {ConfigObject} config The config object to get the name of.
+ * @returns {string} The name of the config object.
+ */
+function getConfigName(config) {
+ if (config && typeof config.name === "string" && config.name) {
+ return `"${config.name}"`;
+ }
+
+ return "(unnamed)";
+}
+
+/**
+ * Rethrows a config error with additional information about the config object.
+ * @param {object} config The config object to get the name of.
+ * @param {number} index The index of the config object in the array.
+ * @param {Error} error The error to rethrow.
+ * @throws {ConfigError} When the error is rethrown for a config.
+ */
+function rethrowConfigError(config, index, error) {
+ const configName = getConfigName(config);
+ throw new ConfigError(configName, index, { cause: error });
+}
+
+/**
+ * Shorthand for checking if a value is a string.
+ * @param {any} value The value to check.
+ * @returns {boolean} True if a string, false if not.
+ */
+function isString(value) {
+ return typeof value === "string";
+}
+
+/**
+ * Creates a function that asserts that the config is valid
+ * during normalization. This checks that the config is not nullish
+ * and that files and ignores keys of a config object are valid as per base schema.
+ * @param {Object} config The config object to check.
+ * @param {number} index The index of the config object in the array.
+ * @returns {void}
+ * @throws {ConfigError} If the files and ignores keys of a config object are not valid.
+ */
+function assertValidBaseConfig(config, index) {
+ if (config === null) {
+ throw new ConfigError(getConfigName(config), index, {
+ message: "Unexpected null config.",
+ });
+ }
+
+ if (config === undefined) {
+ throw new ConfigError(getConfigName(config), index, {
+ message: "Unexpected undefined config.",
+ });
+ }
+
+ if (typeof config !== "object") {
+ throw new ConfigError(getConfigName(config), index, {
+ message: "Unexpected non-object config.",
+ });
+ }
+
+ const validateConfig = {};
+
+ if ("files" in config) {
+ validateConfig.files = config.files;
+ }
+
+ if ("ignores" in config) {
+ validateConfig.ignores = config.ignores;
+ }
+
+ try {
+ FILES_AND_IGNORES_SCHEMA.validate(validateConfig);
+ } catch (validationError) {
+ rethrowConfigError(config, index, validationError);
+ }
+}
+
+/**
+ * Wrapper around minimatch that caches minimatch patterns for
+ * faster matching speed over multiple file path evaluations.
+ * @param {string} filepath The file path to match.
+ * @param {string} pattern The glob pattern to match against.
+ * @param {object} options The minimatch options to use.
+ * @returns
+ */
+function doMatch(filepath, pattern, options = {}) {
+ let cache = minimatchCache;
+
+ if (options.flipNegate) {
+ cache = negatedMinimatchCache;
+ }
+
+ let matcher = cache.get(pattern);
+
+ if (!matcher) {
+ matcher = new Minimatch(
+ pattern,
+ Object.assign({}, MINIMATCH_OPTIONS, options),
+ );
+ cache.set(pattern, matcher);
+ }
+
+ return matcher.match(filepath);
+}
+
+/**
+ * Normalizes a `ConfigArray` by flattening it and executing any functions
+ * that are found inside.
+ * @param {Array} items The items in a `ConfigArray`.
+ * @param {Object} context The context object to pass into any function
+ * found.
+ * @param {Array} extraConfigTypes The config types to check.
+ * @returns {Promise} A flattened array containing only config objects.
+ * @throws {TypeError} When a config function returns a function.
+ */
+async function normalize(items, context, extraConfigTypes) {
+ const allowFunctions = extraConfigTypes.includes("function");
+ const allowArrays = extraConfigTypes.includes("array");
+
+ async function* flatTraverse(array) {
+ for (let item of array) {
+ if (typeof item === "function") {
+ if (!allowFunctions) {
+ throw new TypeError("Unexpected function.");
+ }
+
+ item = item(context);
+ if (item.then) {
+ item = await item;
+ }
+ }
+
+ if (Array.isArray(item)) {
+ if (!allowArrays) {
+ throw new TypeError("Unexpected array.");
+ }
+ yield* flatTraverse(item);
+ } else if (typeof item === "function") {
+ throw new TypeError(
+ "A config function can only return an object or array.",
+ );
+ } else {
+ yield item;
+ }
+ }
+ }
+
+ /*
+ * Async iterables cannot be used with the spread operator, so we need to manually
+ * create the array to return.
+ */
+ const asyncIterable = await flatTraverse(items);
+ const configs = [];
+
+ for await (const config of asyncIterable) {
+ configs.push(config);
+ }
+
+ return configs;
+}
+
+/**
+ * Normalizes a `ConfigArray` by flattening it and executing any functions
+ * that are found inside.
+ * @param {Array} items The items in a `ConfigArray`.
+ * @param {Object} context The context object to pass into any function
+ * found.
+ * @param {Array} extraConfigTypes The config types to check.
+ * @returns {Array} A flattened array containing only config objects.
+ * @throws {TypeError} When a config function returns a function.
+ */
+function normalizeSync(items, context, extraConfigTypes) {
+ const allowFunctions = extraConfigTypes.includes("function");
+ const allowArrays = extraConfigTypes.includes("array");
+
+ function* flatTraverse(array) {
+ for (let item of array) {
+ if (typeof item === "function") {
+ if (!allowFunctions) {
+ throw new TypeError("Unexpected function.");
+ }
+
+ item = item(context);
+ if (item.then) {
+ throw new TypeError(
+ "Async config functions are not supported.",
+ );
+ }
+ }
+
+ if (Array.isArray(item)) {
+ if (!allowArrays) {
+ throw new TypeError("Unexpected array.");
+ }
+
+ yield* flatTraverse(item);
+ } else if (typeof item === "function") {
+ throw new TypeError(
+ "A config function can only return an object or array.",
+ );
+ } else {
+ yield item;
+ }
+ }
+ }
+
+ return [...flatTraverse(items)];
+}
+
+/**
+ * Determines if a given file path should be ignored based on the given
+ * matcher.
+ * @param {Array boolean)>} ignores The ignore patterns to check.
+ * @param {string} filePath The unprocessed file path to check.
+ * @param {string} relativeFilePath The path of the file to check relative to the base path,
+ * using forward slash (`"/"`) as a separator.
+ * @returns {boolean} True if the path should be ignored and false if not.
+ */
+function shouldIgnorePath(ignores, filePath, relativeFilePath) {
+ return ignores.reduce((ignored, matcher) => {
+ if (!ignored) {
+ if (typeof matcher === "function") {
+ return matcher(filePath);
+ }
+
+ // don't check negated patterns because we're not ignored yet
+ if (!matcher.startsWith("!")) {
+ return doMatch(relativeFilePath, matcher);
+ }
+
+ // otherwise we're still not ignored
+ return false;
+ }
+
+ // only need to check negated patterns because we're ignored
+ if (typeof matcher === "string" && matcher.startsWith("!")) {
+ return !doMatch(relativeFilePath, matcher, {
+ flipNegate: true,
+ });
+ }
+
+ return ignored;
+ }, false);
+}
+
+/**
+ * Determines if a given file path is matched by a config based on
+ * `ignores` only.
+ * @param {string} filePath The unprocessed file path to check.
+ * @param {string} relativeFilePath The path of the file to check relative to the base path,
+ * using forward slash (`"/"`) as a separator.
+ * @param {Object} config The config object to check.
+ * @returns {boolean} True if the file path is matched by the config,
+ * false if not.
+ */
+function pathMatchesIgnores(filePath, relativeFilePath, config) {
+ return (
+ Object.keys(config).filter(key => !META_FIELDS.has(key)).length > 1 &&
+ !shouldIgnorePath(config.ignores, filePath, relativeFilePath)
+ );
+}
+
+/**
+ * Determines if a given file path is matched by a config. If the config
+ * has no `files` field, then it matches; otherwise, if a `files` field
+ * is present then we match the globs in `files` and exclude any globs in
+ * `ignores`.
+ * @param {string} filePath The unprocessed file path to check.
+ * @param {string} relativeFilePath The path of the file to check relative to the base path,
+ * using forward slash (`"/"`) as a separator.
+ * @param {Object} config The config object to check.
+ * @returns {boolean} True if the file path is matched by the config,
+ * false if not.
+ */
+function pathMatches(filePath, relativeFilePath, config) {
+ // match both strings and functions
+ function match(pattern) {
+ if (isString(pattern)) {
+ return doMatch(relativeFilePath, pattern);
+ }
+
+ if (typeof pattern === "function") {
+ return pattern(filePath);
+ }
+
+ throw new TypeError(`Unexpected matcher type ${pattern}.`);
+ }
+
+ // check for all matches to config.files
+ let filePathMatchesPattern = config.files.some(pattern => {
+ if (Array.isArray(pattern)) {
+ return pattern.every(match);
+ }
+
+ return match(pattern);
+ });
+
+ /*
+ * If the file path matches the config.files patterns, then check to see
+ * if there are any files to ignore.
+ */
+ if (filePathMatchesPattern && config.ignores) {
+ filePathMatchesPattern = !shouldIgnorePath(
+ config.ignores,
+ filePath,
+ relativeFilePath,
+ );
+ }
+
+ return filePathMatchesPattern;
+}
+
+/**
+ * Ensures that a ConfigArray has been normalized.
+ * @param {ConfigArray} configArray The ConfigArray to check.
+ * @returns {void}
+ * @throws {Error} When the `ConfigArray` is not normalized.
+ */
+function assertNormalized(configArray) {
+ // TODO: Throw more verbose error
+ if (!configArray.isNormalized()) {
+ throw new Error(
+ "ConfigArray must be normalized to perform this operation.",
+ );
+ }
+}
+
+/**
+ * Ensures that config types are valid.
+ * @param {Array} extraConfigTypes The config types to check.
+ * @returns {void}
+ * @throws {Error} When the config types array is invalid.
+ */
+function assertExtraConfigTypes(extraConfigTypes) {
+ if (extraConfigTypes.length > 2) {
+ throw new TypeError(
+ "configTypes must be an array with at most two items.",
+ );
+ }
+
+ for (const configType of extraConfigTypes) {
+ if (!CONFIG_TYPES.has(configType)) {
+ throw new TypeError(
+ `Unexpected config type "${configType}" found. Expected one of: "object", "array", "function".`,
+ );
+ }
+ }
+}
+
+/**
+ * Returns path-handling implementations for Unix or Windows, depending on a given absolute path.
+ * @param {string} fileOrDirPath The absolute path to check.
+ * @returns {PathImpl} Path-handling implementations for the specified path.
+ * @throws An error is thrown if the specified argument is not an absolute path.
+ */
+function getPathImpl(fileOrDirPath) {
+ // Posix absolute paths always start with a slash.
+ if (fileOrDirPath.startsWith("/")) {
+ return posixPath;
+ }
+
+ // Windows absolute paths start with a letter followed by a colon and at least one backslash,
+ // or with two backslashes in the case of UNC paths.
+ // Forward slashed are automatically normalized to backslashes.
+ if (/^(?:[A-Za-z]:[/\\]|[/\\]{2})/u.test(fileOrDirPath)) {
+ return windowsPath;
+ }
+
+ throw new Error(
+ `Expected an absolute path but received "${fileOrDirPath}"`,
+ );
+}
+
+/**
+ * Converts a given path to a relative path with all separator characters replaced by forward slashes (`"/"`).
+ * @param {string} fileOrDirPath The unprocessed path to convert.
+ * @param {string} namespacedBasePath The namespaced base path of the directory to which the calculated path shall be relative.
+ * @param {PathImpl} path Path-handling implementations.
+ * @returns {string} A relative path with all separator characters replaced by forward slashes.
+ */
+function toRelativePath(fileOrDirPath, namespacedBasePath, path) {
+ const fullPath = path.resolve(namespacedBasePath, fileOrDirPath);
+ const namespacedFullPath = path.toNamespacedPath(fullPath);
+ const relativePath = path.relative(namespacedBasePath, namespacedFullPath);
+ return relativePath.replaceAll(path.SEPARATOR, "/");
+}
+
+//------------------------------------------------------------------------------
+// Public Interface
+//------------------------------------------------------------------------------
+
+const ConfigArraySymbol = {
+ isNormalized: Symbol("isNormalized"),
+ configCache: Symbol("configCache"),
+ schema: Symbol("schema"),
+ finalizeConfig: Symbol("finalizeConfig"),
+ preprocessConfig: Symbol("preprocessConfig"),
+};
+
+// used to store calculate data for faster lookup
+const dataCache = new WeakMap();
+
+/**
+ * Represents an array of config objects and provides method for working with
+ * those config objects.
+ */
+class ConfigArray extends Array {
+ /**
+ * The namespaced path of the config file directory.
+ * @type {string}
+ */
+ #namespacedBasePath;
+
+ /**
+ * Path-handling implementations.
+ * @type {PathImpl}
+ */
+ #path;
+
+ /**
+ * Creates a new instance of ConfigArray.
+ * @param {Iterable|Function|Object} configs An iterable yielding config
+ * objects, or a config function, or a config object.
+ * @param {Object} options The options for the ConfigArray.
+ * @param {string} [options.basePath="/"] The absolute path of the config file directory.
+ * Defaults to `"/"`.
+ * @param {boolean} [options.normalized=false] Flag indicating if the
+ * configs have already been normalized.
+ * @param {Object} [options.schema] The additional schema
+ * definitions to use for the ConfigArray schema.
+ * @param {Array} [options.extraConfigTypes] List of config types supported.
+ */
+ constructor(
+ configs,
+ {
+ basePath = "/",
+ normalized = false,
+ schema: customSchema,
+ extraConfigTypes = [],
+ } = {},
+ ) {
+ super();
+
+ /**
+ * Tracks if the array has been normalized.
+ * @property isNormalized
+ * @type {boolean}
+ * @private
+ */
+ this[ConfigArraySymbol.isNormalized] = normalized;
+
+ /**
+ * The schema used for validating and merging configs.
+ * @property schema
+ * @type {ObjectSchemaInstance}
+ * @private
+ */
+ this[ConfigArraySymbol.schema] = new ObjectSchema(
+ Object.assign({}, customSchema, baseSchema),
+ );
+
+ if (!isString(basePath) || !basePath) {
+ throw new TypeError("basePath must be a non-empty string");
+ }
+
+ /**
+ * The path of the config file that this array was loaded from.
+ * This is used to calculate filename matches.
+ * @property basePath
+ * @type {string}
+ */
+ this.basePath = basePath;
+
+ assertExtraConfigTypes(extraConfigTypes);
+
+ /**
+ * The supported config types.
+ * @type {Array}
+ */
+ this.extraConfigTypes = [...extraConfigTypes];
+ Object.freeze(this.extraConfigTypes);
+
+ /**
+ * A cache to store calculated configs for faster repeat lookup.
+ * @property configCache
+ * @type {Map}
+ * @private
+ */
+ this[ConfigArraySymbol.configCache] = new Map();
+
+ // init cache
+ dataCache.set(this, {
+ explicitMatches: new Map(),
+ directoryMatches: new Map(),
+ files: undefined,
+ ignores: undefined,
+ });
+
+ // load the configs into this array
+ if (Array.isArray(configs)) {
+ this.push(...configs);
+ } else {
+ this.push(configs);
+ }
+
+ // select path-handling implementations depending on the base path
+ this.#path = getPathImpl(basePath);
+
+ // On Windows, `path.relative()` returns an absolute path when given two paths on different drives.
+ // The namespaced base path is useful to make sure that calculated relative paths are always relative.
+ // On Unix, it is identical to the base path.
+ this.#namespacedBasePath = this.#path.toNamespacedPath(basePath);
+ }
+
+ /**
+ * Prevent normal array methods from creating a new `ConfigArray` instance.
+ * This is to ensure that methods such as `slice()` won't try to create a
+ * new instance of `ConfigArray` behind the scenes as doing so may throw
+ * an error due to the different constructor signature.
+ * @type {ArrayConstructor} The `Array` constructor.
+ */
+ static get [Symbol.species]() {
+ return Array;
+ }
+
+ /**
+ * Returns the `files` globs from every config object in the array.
+ * This can be used to determine which files will be matched by a
+ * config array or to use as a glob pattern when no patterns are provided
+ * for a command line interface.
+ * @returns {Array} An array of matchers.
+ */
+ get files() {
+ assertNormalized(this);
+
+ // if this data has been cached, retrieve it
+ const cache = dataCache.get(this);
+
+ if (cache.files) {
+ return cache.files;
+ }
+
+ // otherwise calculate it
+
+ const result = [];
+
+ for (const config of this) {
+ if (config.files) {
+ config.files.forEach(filePattern => {
+ result.push(filePattern);
+ });
+ }
+ }
+
+ // store result
+ cache.files = result;
+ dataCache.set(this, cache);
+
+ return result;
+ }
+
+ /**
+ * Returns ignore matchers that should always be ignored regardless of
+ * the matching `files` fields in any configs. This is necessary to mimic
+ * the behavior of things like .gitignore and .eslintignore, allowing a
+ * globbing operation to be faster.
+ * @returns {string[]} An array of string patterns and functions to be ignored.
+ */
+ get ignores() {
+ assertNormalized(this);
+
+ // if this data has been cached, retrieve it
+ const cache = dataCache.get(this);
+
+ if (cache.ignores) {
+ return cache.ignores;
+ }
+
+ // otherwise calculate it
+
+ const result = [];
+
+ for (const config of this) {
+ /*
+ * We only count ignores if there are no other keys in the object.
+ * In this case, it acts list a globally ignored pattern. If there
+ * are additional keys, then ignores act like exclusions.
+ */
+ if (
+ config.ignores &&
+ Object.keys(config).filter(key => !META_FIELDS.has(key))
+ .length === 1
+ ) {
+ result.push(...config.ignores);
+ }
+ }
+
+ // store result
+ cache.ignores = result;
+ dataCache.set(this, cache);
+
+ return result;
+ }
+
+ /**
+ * Indicates if the config array has been normalized.
+ * @returns {boolean} True if the config array is normalized, false if not.
+ */
+ isNormalized() {
+ return this[ConfigArraySymbol.isNormalized];
+ }
+
+ /**
+ * Normalizes a config array by flattening embedded arrays and executing
+ * config functions.
+ * @param {Object} [context] The context object for config functions.
+ * @returns {Promise} The current ConfigArray instance.
+ */
+ async normalize(context = {}) {
+ if (!this.isNormalized()) {
+ const normalizedConfigs = await normalize(
+ this,
+ context,
+ this.extraConfigTypes,
+ );
+ this.length = 0;
+ this.push(
+ ...normalizedConfigs.map(
+ this[ConfigArraySymbol.preprocessConfig].bind(this),
+ ),
+ );
+ this.forEach(assertValidBaseConfig);
+ this[ConfigArraySymbol.isNormalized] = true;
+
+ // prevent further changes
+ Object.freeze(this);
+ }
+
+ return this;
+ }
+
+ /**
+ * Normalizes a config array by flattening embedded arrays and executing
+ * config functions.
+ * @param {Object} [context] The context object for config functions.
+ * @returns {ConfigArray} The current ConfigArray instance.
+ */
+ normalizeSync(context = {}) {
+ if (!this.isNormalized()) {
+ const normalizedConfigs = normalizeSync(
+ this,
+ context,
+ this.extraConfigTypes,
+ );
+ this.length = 0;
+ this.push(
+ ...normalizedConfigs.map(
+ this[ConfigArraySymbol.preprocessConfig].bind(this),
+ ),
+ );
+ this.forEach(assertValidBaseConfig);
+ this[ConfigArraySymbol.isNormalized] = true;
+
+ // prevent further changes
+ Object.freeze(this);
+ }
+
+ return this;
+ }
+
+ /* eslint-disable class-methods-use-this -- Desired as instance methods */
+
+ /**
+ * Finalizes the state of a config before being cached and returned by
+ * `getConfig()`. Does nothing by default but is provided to be
+ * overridden by subclasses as necessary.
+ * @param {Object} config The config to finalize.
+ * @returns {Object} The finalized config.
+ */
+ [ConfigArraySymbol.finalizeConfig](config) {
+ return config;
+ }
+
+ /**
+ * Preprocesses a config during the normalization process. This is the
+ * method to override if you want to convert an array item before it is
+ * validated for the first time. For example, if you want to replace a
+ * string with an object, this is the method to override.
+ * @param {Object} config The config to preprocess.
+ * @returns {Object} The config to use in place of the argument.
+ */
+ [ConfigArraySymbol.preprocessConfig](config) {
+ return config;
+ }
+
+ /* eslint-enable class-methods-use-this -- Desired as instance methods */
+
+ /**
+ * Returns the config object for a given file path and a status that can be used to determine why a file has no config.
+ * @param {string} filePath The path of a file to get a config for.
+ * @returns {{ config?: Object, status: "ignored"|"external"|"unconfigured"|"matched" }}
+ * An object with an optional property `config` and property `status`.
+ * `config` is the config object for the specified file as returned by {@linkcode ConfigArray.getConfig},
+ * `status` a is one of the constants returned by {@linkcode ConfigArray.getConfigStatus}.
+ */
+ getConfigWithStatus(filePath) {
+ assertNormalized(this);
+
+ const cache = this[ConfigArraySymbol.configCache];
+
+ // first check the cache for a filename match to avoid duplicate work
+ if (cache.has(filePath)) {
+ return cache.get(filePath);
+ }
+
+ // check to see if the file is outside the base path
+
+ const relativeFilePath = toRelativePath(
+ filePath,
+ this.#namespacedBasePath,
+ this.#path,
+ );
+
+ if (EXTERNAL_PATH_REGEX.test(relativeFilePath)) {
+ debug(`No config for file ${filePath} outside of base path`);
+
+ // cache and return result
+ cache.set(filePath, CONFIG_WITH_STATUS_EXTERNAL);
+ return CONFIG_WITH_STATUS_EXTERNAL;
+ }
+
+ // next check to see if the file should be ignored
+
+ // check if this should be ignored due to its directory
+ if (this.isDirectoryIgnored(this.#path.dirname(filePath))) {
+ debug(`Ignoring ${filePath} based on directory pattern`);
+
+ // cache and return result
+ cache.set(filePath, CONFIG_WITH_STATUS_IGNORED);
+ return CONFIG_WITH_STATUS_IGNORED;
+ }
+
+ if (shouldIgnorePath(this.ignores, filePath, relativeFilePath)) {
+ debug(`Ignoring ${filePath} based on file pattern`);
+
+ // cache and return result
+ cache.set(filePath, CONFIG_WITH_STATUS_IGNORED);
+ return CONFIG_WITH_STATUS_IGNORED;
+ }
+
+ // filePath isn't automatically ignored, so try to construct config
+
+ const matchingConfigIndices = [];
+ let matchFound = false;
+ const universalPattern = /^\*$|\/\*{1,2}$/u;
+
+ this.forEach((config, index) => {
+ if (!config.files) {
+ if (!config.ignores) {
+ debug(`Universal config found for ${filePath}`);
+ matchingConfigIndices.push(index);
+ return;
+ }
+
+ if (pathMatchesIgnores(filePath, relativeFilePath, config)) {
+ debug(
+ `Matching config found for ${filePath} (based on ignores: ${config.ignores})`,
+ );
+ matchingConfigIndices.push(index);
+ return;
+ }
+
+ debug(
+ `Skipped config found for ${filePath} (based on ignores: ${config.ignores})`,
+ );
+ return;
+ }
+
+ /*
+ * If a config has a files pattern * or patterns ending in /** or /*,
+ * and the filePath only matches those patterns, then the config is only
+ * applied if there is another config where the filePath matches
+ * a file with a specific extensions such as *.js.
+ */
+
+ const universalFiles = config.files.filter(pattern =>
+ universalPattern.test(pattern),
+ );
+
+ // universal patterns were found so we need to check the config twice
+ if (universalFiles.length) {
+ debug("Universal files patterns found. Checking carefully.");
+
+ const nonUniversalFiles = config.files.filter(
+ pattern => !universalPattern.test(pattern),
+ );
+
+ // check that the config matches without the non-universal files first
+ if (
+ nonUniversalFiles.length &&
+ pathMatches(filePath, relativeFilePath, {
+ files: nonUniversalFiles,
+ ignores: config.ignores,
+ })
+ ) {
+ debug(`Matching config found for ${filePath}`);
+ matchingConfigIndices.push(index);
+ matchFound = true;
+ return;
+ }
+
+ // if there wasn't a match then check if it matches with universal files
+ if (
+ universalFiles.length &&
+ pathMatches(filePath, relativeFilePath, {
+ files: universalFiles,
+ ignores: config.ignores,
+ })
+ ) {
+ debug(`Matching config found for ${filePath}`);
+ matchingConfigIndices.push(index);
+ return;
+ }
+
+ // if we make here, then there was no match
+ return;
+ }
+
+ // the normal case
+ if (pathMatches(filePath, relativeFilePath, config)) {
+ debug(`Matching config found for ${filePath}`);
+ matchingConfigIndices.push(index);
+ matchFound = true;
+ }
+ });
+
+ // if matching both files and ignores, there will be no config to create
+ if (!matchFound) {
+ debug(`No matching configs found for ${filePath}`);
+
+ // cache and return result
+ cache.set(filePath, CONFIG_WITH_STATUS_UNCONFIGURED);
+ return CONFIG_WITH_STATUS_UNCONFIGURED;
+ }
+
+ // check to see if there is a config cached by indices
+ const indicesKey = matchingConfigIndices.toString();
+ let configWithStatus = cache.get(indicesKey);
+
+ if (configWithStatus) {
+ // also store for filename for faster lookup next time
+ cache.set(filePath, configWithStatus);
+
+ return configWithStatus;
+ }
+
+ // otherwise construct the config
+
+ // eslint-disable-next-line array-callback-return, consistent-return -- rethrowConfigError always throws an error
+ let finalConfig = matchingConfigIndices.reduce((result, index) => {
+ try {
+ return this[ConfigArraySymbol.schema].merge(
+ result,
+ this[index],
+ );
+ } catch (validationError) {
+ rethrowConfigError(this[index], index, validationError);
+ }
+ }, {});
+
+ finalConfig = this[ConfigArraySymbol.finalizeConfig](finalConfig);
+
+ configWithStatus = Object.freeze({
+ config: finalConfig,
+ status: "matched",
+ });
+ cache.set(filePath, configWithStatus);
+ cache.set(indicesKey, configWithStatus);
+
+ return configWithStatus;
+ }
+
+ /**
+ * Returns the config object for a given file path.
+ * @param {string} filePath The path of a file to get a config for.
+ * @returns {Object|undefined} The config object for this file or `undefined`.
+ */
+ getConfig(filePath) {
+ return this.getConfigWithStatus(filePath).config;
+ }
+
+ /**
+ * Determines whether a file has a config or why it doesn't.
+ * @param {string} filePath The path of the file to check.
+ * @returns {"ignored"|"external"|"unconfigured"|"matched"} One of the following values:
+ * * `"ignored"`: the file is ignored
+ * * `"external"`: the file is outside the base path
+ * * `"unconfigured"`: the file is not matched by any config
+ * * `"matched"`: the file has a matching config
+ */
+ getConfigStatus(filePath) {
+ return this.getConfigWithStatus(filePath).status;
+ }
+
+ /**
+ * Determines if the given filepath is ignored based on the configs.
+ * @param {string} filePath The path of a file to check.
+ * @returns {boolean} True if the path is ignored, false if not.
+ * @deprecated Use `isFileIgnored` instead.
+ */
+ isIgnored(filePath) {
+ return this.isFileIgnored(filePath);
+ }
+
+ /**
+ * Determines if the given filepath is ignored based on the configs.
+ * @param {string} filePath The path of a file to check.
+ * @returns {boolean} True if the path is ignored, false if not.
+ */
+ isFileIgnored(filePath) {
+ return this.getConfigStatus(filePath) === "ignored";
+ }
+
+ /**
+ * Determines if the given directory is ignored based on the configs.
+ * This checks only default `ignores` that don't have `files` in the
+ * same config. A pattern such as `/foo` be considered to ignore the directory
+ * while a pattern such as `/foo/**` is not considered to ignore the
+ * directory because it is matching files.
+ * @param {string} directoryPath The path of a directory to check.
+ * @returns {boolean} True if the directory is ignored, false if not. Will
+ * return true for any directory that is not inside of `basePath`.
+ * @throws {Error} When the `ConfigArray` is not normalized.
+ */
+ isDirectoryIgnored(directoryPath) {
+ assertNormalized(this);
+
+ const relativeDirectoryPath = toRelativePath(
+ directoryPath,
+ this.#namespacedBasePath,
+ this.#path,
+ );
+
+ // basePath directory can never be ignored
+ if (relativeDirectoryPath === "") {
+ return false;
+ }
+
+ if (EXTERNAL_PATH_REGEX.test(relativeDirectoryPath)) {
+ return true;
+ }
+
+ // first check the cache
+ const cache = dataCache.get(this).directoryMatches;
+
+ if (cache.has(relativeDirectoryPath)) {
+ return cache.get(relativeDirectoryPath);
+ }
+
+ const directoryParts = relativeDirectoryPath.split("/");
+ let relativeDirectoryToCheck = "";
+ let result;
+
+ /*
+ * In order to get the correct gitignore-style ignores, where an
+ * ignored parent directory cannot have any descendants unignored,
+ * we need to check every directory starting at the parent all
+ * the way down to the actual requested directory.
+ *
+ * We aggressively cache all of this info to make sure we don't
+ * have to recalculate everything for every call.
+ */
+ do {
+ relativeDirectoryToCheck += `${directoryParts.shift()}/`;
+
+ result = shouldIgnorePath(
+ this.ignores,
+ this.#path.join(this.basePath, relativeDirectoryToCheck),
+ relativeDirectoryToCheck,
+ );
+
+ cache.set(relativeDirectoryToCheck, result);
+ } while (!result && directoryParts.length);
+
+ // also cache the result for the requested path
+ cache.set(relativeDirectoryPath, result);
+
+ return result;
+ }
+}
+
+export { ConfigArray, ConfigArraySymbol };
diff --git a/node_modules/@eslint/config-array/dist/esm/std__path/posix.js b/node_modules/@eslint/config-array/dist/esm/std__path/posix.js
new file mode 100644
index 00000000..f9660969
--- /dev/null
+++ b/node_modules/@eslint/config-array/dist/esm/std__path/posix.js
@@ -0,0 +1,1301 @@
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+function assertPath(path) {
+ if (typeof path !== "string") {
+ throw new TypeError(`Path must be a string, received "${JSON.stringify(path)}"`);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function stripSuffix(name, suffix) {
+ if (suffix.length >= name.length) {
+ return name;
+ }
+ const lenDiff = name.length - suffix.length;
+ for(let i = suffix.length - 1; i >= 0; --i){
+ if (name.charCodeAt(lenDiff + i) !== suffix.charCodeAt(i)) {
+ return name;
+ }
+ }
+ return name.slice(0, -suffix.length);
+}
+function lastPathSegment(path, isSep, start = 0) {
+ let matchedNonSeparator = false;
+ let end = path.length;
+ for(let i = path.length - 1; i >= start; --i){
+ if (isSep(path.charCodeAt(i))) {
+ if (matchedNonSeparator) {
+ start = i + 1;
+ break;
+ }
+ } else if (!matchedNonSeparator) {
+ matchedNonSeparator = true;
+ end = i + 1;
+ }
+ }
+ return path.slice(start, end);
+}
+function assertArgs$1(path, suffix) {
+ assertPath(path);
+ if (path.length === 0) return path;
+ if (typeof suffix !== "string") {
+ throw new TypeError(`Suffix must be a string, received "${JSON.stringify(suffix)}"`);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+function stripTrailingSeparators(segment, isSep) {
+ if (segment.length <= 1) {
+ return segment;
+ }
+ let end = segment.length;
+ for(let i = segment.length - 1; i > 0; i--){
+ if (isSep(segment.charCodeAt(i))) {
+ end = i;
+ } else {
+ break;
+ }
+ }
+ return segment.slice(0, end);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+// Alphabet chars.
+// Non-alphabetic chars.
+const CHAR_DOT = 46; /* . */
+const CHAR_FORWARD_SLASH = 47; /* / */
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+function isPosixPathSeparator(code) {
+ return code === CHAR_FORWARD_SLASH;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the last portion of a `path`.
+ * Trailing directory separators are ignored, and optional suffix is removed.
+ *
+ * @example Usage
+ * ```ts
+ * import { basename } from "@std/path/posix/basename";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(basename("/home/user/Documents/"), "Documents");
+ * assertEquals(basename("/home/user/Documents/image.png"), "image.png");
+ * assertEquals(basename("/home/user/Documents/image.png", ".png"), "image");
+ * ```
+ *
+ * @example Working with URLs
+ *
+ * Note: This function doesn't automatically strip hash and query parts from
+ * URLs. If your URL contains a hash or query, remove them before passing the
+ * URL to the function. This can be done by passing the URL to `new URL(url)`,
+ * and setting the `hash` and `search` properties to empty strings.
+ *
+ * ```ts
+ * import { basename } from "@std/path/posix/basename";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(basename("https://deno.land/std/path/mod.ts"), "mod.ts");
+ * assertEquals(basename("https://deno.land/std/path/mod.ts", ".ts"), "mod");
+ * assertEquals(basename("https://deno.land/std/path/mod.ts?a=b"), "mod.ts?a=b");
+ * assertEquals(basename("https://deno.land/std/path/mod.ts#header"), "mod.ts#header");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `basename` from `@std/path/posix/unstable-basename`.
+ *
+ * @param path The path to extract the name from.
+ * @param suffix The suffix to remove from extracted name.
+ * @returns The extracted name.
+ */ function basename(path, suffix = "") {
+ assertArgs$1(path, suffix);
+ const lastSegment = lastPathSegment(path, isPosixPathSeparator);
+ const strippedSegment = stripTrailingSeparators(lastSegment, isPosixPathSeparator);
+ return suffix ? stripSuffix(strippedSegment, suffix) : strippedSegment;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * The character used to separate entries in the PATH environment variable.
+ */ const DELIMITER = ":";
+/**
+ * The character used to separate components of a file path.
+ */ const SEPARATOR = "/";
+/**
+ * A regular expression that matches one or more path separators.
+ */ const SEPARATOR_PATTERN = /\/+/;
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArg$3(path) {
+ assertPath(path);
+ if (path.length === 0) return ".";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the directory path of a `path`.
+ *
+ * @example Usage
+ * ```ts
+ * import { dirname } from "@std/path/posix/dirname";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(dirname("/home/user/Documents/"), "/home/user");
+ * assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
+ * ```
+ *
+ * @example Working with URLs
+ *
+ * ```ts
+ * import { dirname } from "@std/path/posix/dirname";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts?a=b"), "https://deno.land/std/path");
+ * assertEquals(dirname("https://deno.land/std/path/mod.ts#header"), "https://deno.land/std/path");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `dirname` from `@std/path/posix/unstable-dirname`.
+ *
+ * @param path The path to get the directory from.
+ * @returns The directory path.
+ */ function dirname(path) {
+ assertArg$3(path);
+ let end = -1;
+ let matchedNonSeparator = false;
+ for(let i = path.length - 1; i >= 1; --i){
+ if (isPosixPathSeparator(path.charCodeAt(i))) {
+ if (matchedNonSeparator) {
+ end = i;
+ break;
+ }
+ } else {
+ matchedNonSeparator = true;
+ }
+ }
+ // No matches. Fallback based on provided path:
+ //
+ // - leading slashes paths
+ // "/foo" => "/"
+ // "///foo" => "/"
+ // - no slash path
+ // "foo" => "."
+ if (end === -1) {
+ return isPosixPathSeparator(path.charCodeAt(0)) ? "/" : ".";
+ }
+ return stripTrailingSeparators(path.slice(0, end), isPosixPathSeparator);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the extension of the `path` with leading period.
+ *
+ * @example Usage
+ * ```ts
+ * import { extname } from "@std/path/posix/extname";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(extname("/home/user/Documents/file.ts"), ".ts");
+ * assertEquals(extname("/home/user/Documents/"), "");
+ * assertEquals(extname("/home/user/Documents/image.png"), ".png");
+ * ```
+ *
+ * @example Working with URLs
+ *
+ * Note: This function doesn't automatically strip hash and query parts from
+ * URLs. If your URL contains a hash or query, remove them before passing the
+ * URL to the function. This can be done by passing the URL to `new URL(url)`,
+ * and setting the `hash` and `search` properties to empty strings.
+ *
+ * ```ts
+ * import { extname } from "@std/path/posix/extname";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(extname("https://deno.land/std/path/mod.ts"), ".ts");
+ * assertEquals(extname("https://deno.land/std/path/mod.ts?a=b"), ".ts?a=b");
+ * assertEquals(extname("https://deno.land/std/path/mod.ts#header"), ".ts#header");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `extname` from `@std/path/posix/unstable-extname`.
+ *
+ * @param path The path to get the extension from.
+ * @returns The extension (ex. for `file.ts` returns `.ts`).
+ */ function extname(path) {
+ assertPath(path);
+ let startDot = -1;
+ let startPart = 0;
+ let end = -1;
+ let matchedSlash = true;
+ // Track the state of characters (if any) we see before our first dot and
+ // after any path separator we find
+ let preDotState = 0;
+ for(let i = path.length - 1; i >= 0; --i){
+ const code = path.charCodeAt(i);
+ if (isPosixPathSeparator(code)) {
+ // If we reached a path separator that was not part of a set of path
+ // separators at the end of the string, stop now
+ if (!matchedSlash) {
+ startPart = i + 1;
+ break;
+ }
+ continue;
+ }
+ if (end === -1) {
+ // We saw the first non-path separator, mark this as the end of our
+ // extension
+ matchedSlash = false;
+ end = i + 1;
+ }
+ if (code === CHAR_DOT) {
+ // If this is our first dot, mark it as the start of our extension
+ if (startDot === -1) startDot = i;
+ else if (preDotState !== 1) preDotState = 1;
+ } else if (startDot !== -1) {
+ // We saw a non-dot and non-path separator before our dot, so we should
+ // have a good chance at having a non-empty extension
+ preDotState = -1;
+ }
+ }
+ if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot
+ preDotState === 0 || // The (right-most) trimmed path component is exactly '..'
+ preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
+ return "";
+ }
+ return path.slice(startDot, end);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function _format(sep, pathObject) {
+ const dir = pathObject.dir || pathObject.root;
+ const base = pathObject.base || (pathObject.name ?? "") + (pathObject.ext ?? "");
+ if (!dir) return base;
+ if (base === sep) return dir;
+ if (dir === pathObject.root) return dir + base;
+ return dir + sep + base;
+}
+function assertArg$2(pathObject) {
+ if (pathObject === null || typeof pathObject !== "object") {
+ throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof pathObject}"`);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Generate a path from `ParsedPath` object.
+ *
+ * @example Usage
+ * ```ts
+ * import { format } from "@std/path/posix/format";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = format({
+ * root: "/",
+ * dir: "/path/dir",
+ * base: "file.txt",
+ * ext: ".txt",
+ * name: "file"
+ * });
+ * assertEquals(path, "/path/dir/file.txt");
+ * ```
+ *
+ * @param pathObject The path object to format.
+ * @returns The formatted path.
+ */ function format(pathObject) {
+ assertArg$2(pathObject);
+ return _format("/", pathObject);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArg$1(url) {
+ url = url instanceof URL ? url : new URL(url);
+ if (url.protocol !== "file:") {
+ throw new TypeError(`URL must be a file URL: received "${url.protocol}"`);
+ }
+ return url;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Converts a file URL to a path string.
+ *
+ * @example Usage
+ * ```ts
+ * import { fromFileUrl } from "@std/path/posix/from-file-url";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(fromFileUrl(new URL("file:///home/foo")), "/home/foo");
+ * ```
+ *
+ * @param url The file URL to convert.
+ * @returns The path string.
+ */ function fromFileUrl(url) {
+ url = assertArg$1(url);
+ return decodeURIComponent(url.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Verifies whether provided path is absolute.
+ *
+ * @example Usage
+ * ```ts
+ * import { isAbsolute } from "@std/path/posix/is-absolute";
+ * import { assert, assertFalse } from "@std/assert";
+ *
+ * assert(isAbsolute("/home/user/Documents/"));
+ * assertFalse(isAbsolute("home/user/Documents/"));
+ * ```
+ *
+ * @param path The path to verify.
+ * @returns Whether the path is absolute.
+ */ function isAbsolute(path) {
+ assertPath(path);
+ return path.length > 0 && isPosixPathSeparator(path.charCodeAt(0));
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArg(path) {
+ assertPath(path);
+ if (path.length === 0) return ".";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+// Resolves . and .. elements in a path with directory names
+function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
+ let res = "";
+ let lastSegmentLength = 0;
+ let lastSlash = -1;
+ let dots = 0;
+ let code;
+ for(let i = 0; i <= path.length; ++i){
+ if (i < path.length) code = path.charCodeAt(i);
+ else if (isPathSeparator(code)) break;
+ else code = CHAR_FORWARD_SLASH;
+ if (isPathSeparator(code)) {
+ if (lastSlash === i - 1 || dots === 1) ; else if (lastSlash !== i - 1 && dots === 2) {
+ if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== CHAR_DOT || res.charCodeAt(res.length - 2) !== CHAR_DOT) {
+ if (res.length > 2) {
+ const lastSlashIndex = res.lastIndexOf(separator);
+ if (lastSlashIndex === -1) {
+ res = "";
+ lastSegmentLength = 0;
+ } else {
+ res = res.slice(0, lastSlashIndex);
+ lastSegmentLength = res.length - 1 - res.lastIndexOf(separator);
+ }
+ lastSlash = i;
+ dots = 0;
+ continue;
+ } else if (res.length === 2 || res.length === 1) {
+ res = "";
+ lastSegmentLength = 0;
+ lastSlash = i;
+ dots = 0;
+ continue;
+ }
+ }
+ if (allowAboveRoot) {
+ if (res.length > 0) res += `${separator}..`;
+ else res = "..";
+ lastSegmentLength = 2;
+ }
+ } else {
+ if (res.length > 0) res += separator + path.slice(lastSlash + 1, i);
+ else res = path.slice(lastSlash + 1, i);
+ lastSegmentLength = i - lastSlash - 1;
+ }
+ lastSlash = i;
+ dots = 0;
+ } else if (code === CHAR_DOT && dots !== -1) {
+ ++dots;
+ } else {
+ dots = -1;
+ }
+ }
+ return res;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Normalize the `path`, resolving `'..'` and `'.'` segments.
+ * Note that resolving these segments does not necessarily mean that all will be eliminated.
+ * A `'..'` at the top-level will be preserved, and an empty path is canonically `'.'`.
+ *
+ * @example Usage
+ * ```ts
+ * import { normalize } from "@std/path/posix/normalize";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = normalize("/foo/bar//baz/asdf/quux/..");
+ * assertEquals(path, "/foo/bar/baz/asdf");
+ * ```
+ *
+ * @example Working with URLs
+ *
+ * Note: This function will remove the double slashes from a URL's scheme.
+ * Hence, do not pass a full URL to this function. Instead, pass the pathname of
+ * the URL.
+ *
+ * ```ts
+ * import { normalize } from "@std/path/posix/normalize";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const url = new URL("https://deno.land");
+ * url.pathname = normalize("//std//assert//.//mod.ts");
+ * assertEquals(url.href, "https://deno.land/std/assert/mod.ts");
+ *
+ * url.pathname = normalize("std/assert/../async/retry.ts");
+ * assertEquals(url.href, "https://deno.land/std/async/retry.ts");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `normalize` from `@std/path/posix/unstable-normalize`.
+ *
+ * @param path The path to normalize.
+ * @returns The normalized path.
+ */ function normalize(path) {
+ assertArg(path);
+ const isAbsolute = isPosixPathSeparator(path.charCodeAt(0));
+ const trailingSeparator = isPosixPathSeparator(path.charCodeAt(path.length - 1));
+ // Normalize the path
+ path = normalizeString(path, !isAbsolute, "/", isPosixPathSeparator);
+ if (path.length === 0 && !isAbsolute) path = ".";
+ if (path.length > 0 && trailingSeparator) path += "/";
+ if (isAbsolute) return `/${path}`;
+ return path;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Join all given a sequence of `paths`,then normalizes the resulting path.
+ *
+ * @example Usage
+ * ```ts
+ * import { join } from "@std/path/posix/join";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = join("/foo", "bar", "baz/asdf", "quux", "..");
+ * assertEquals(path, "/foo/bar/baz/asdf");
+ * ```
+ *
+ * @example Working with URLs
+ * ```ts
+ * import { join } from "@std/path/posix/join";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const url = new URL("https://deno.land");
+ * url.pathname = join("std", "path", "mod.ts");
+ * assertEquals(url.href, "https://deno.land/std/path/mod.ts");
+ *
+ * url.pathname = join("//std", "path/", "/mod.ts");
+ * assertEquals(url.href, "https://deno.land/std/path/mod.ts");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `join` from `@std/path/posix/unstable-join`.
+ *
+ * @param paths The paths to join.
+ * @returns The joined path.
+ */ function join(...paths) {
+ if (paths.length === 0) return ".";
+ paths.forEach((path)=>assertPath(path));
+ const joined = paths.filter((path)=>path.length > 0).join("/");
+ return joined === "" ? "." : normalize(joined);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return a `ParsedPath` object of the `path`.
+ *
+ * @example Usage
+ * ```ts
+ * import { parse } from "@std/path/posix/parse";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = parse("/home/user/file.txt");
+ * assertEquals(path, {
+ * root: "/",
+ * dir: "/home/user",
+ * base: "file.txt",
+ * ext: ".txt",
+ * name: "file"
+ * });
+ * ```
+ *
+ * @param path The path to parse.
+ * @returns The parsed path object.
+ */ function parse(path) {
+ assertPath(path);
+ const ret = {
+ root: "",
+ dir: "",
+ base: "",
+ ext: "",
+ name: ""
+ };
+ if (path.length === 0) return ret;
+ const isAbsolute = isPosixPathSeparator(path.charCodeAt(0));
+ let start;
+ if (isAbsolute) {
+ ret.root = "/";
+ start = 1;
+ } else {
+ start = 0;
+ }
+ let startDot = -1;
+ let startPart = 0;
+ let end = -1;
+ let matchedSlash = true;
+ let i = path.length - 1;
+ // Track the state of characters (if any) we see before our first dot and
+ // after any path separator we find
+ let preDotState = 0;
+ // Get non-dir info
+ for(; i >= start; --i){
+ const code = path.charCodeAt(i);
+ if (isPosixPathSeparator(code)) {
+ // If we reached a path separator that was not part of a set of path
+ // separators at the end of the string, stop now
+ if (!matchedSlash) {
+ startPart = i + 1;
+ break;
+ }
+ continue;
+ }
+ if (end === -1) {
+ // We saw the first non-path separator, mark this as the end of our
+ // extension
+ matchedSlash = false;
+ end = i + 1;
+ }
+ if (code === CHAR_DOT) {
+ // If this is our first dot, mark it as the start of our extension
+ if (startDot === -1) startDot = i;
+ else if (preDotState !== 1) preDotState = 1;
+ } else if (startDot !== -1) {
+ // We saw a non-dot and non-path separator before our dot, so we should
+ // have a good chance at having a non-empty extension
+ preDotState = -1;
+ }
+ }
+ if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot
+ preDotState === 0 || // The (right-most) trimmed path component is exactly '..'
+ preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
+ if (end !== -1) {
+ if (startPart === 0 && isAbsolute) {
+ ret.base = ret.name = path.slice(1, end);
+ } else {
+ ret.base = ret.name = path.slice(startPart, end);
+ }
+ }
+ // Fallback to '/' in case there is no basename
+ ret.base = ret.base || "/";
+ } else {
+ if (startPart === 0 && isAbsolute) {
+ ret.name = path.slice(1, startDot);
+ ret.base = path.slice(1, end);
+ } else {
+ ret.name = path.slice(startPart, startDot);
+ ret.base = path.slice(startPart, end);
+ }
+ ret.ext = path.slice(startDot, end);
+ }
+ if (startPart > 0) {
+ ret.dir = stripTrailingSeparators(path.slice(0, startPart - 1), isPosixPathSeparator);
+ } else if (isAbsolute) ret.dir = "/";
+ return ret;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Resolves path segments into a `path`.
+ *
+ * @example Usage
+ * ```ts
+ * import { resolve } from "@std/path/posix/resolve";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = resolve("/foo", "bar", "baz/asdf", "quux", "..");
+ * assertEquals(path, "/foo/bar/baz/asdf");
+ * ```
+ *
+ * @param pathSegments The path segments to resolve.
+ * @returns The resolved path.
+ */ function resolve(...pathSegments) {
+ let resolvedPath = "";
+ let resolvedAbsolute = false;
+ for(let i = pathSegments.length - 1; i >= -1 && !resolvedAbsolute; i--){
+ let path;
+ if (i >= 0) path = pathSegments[i];
+ else {
+ // deno-lint-ignore no-explicit-any
+ const { Deno } = globalThis;
+ if (typeof Deno?.cwd !== "function") {
+ throw new TypeError("Resolved a relative path without a current working directory (CWD)");
+ }
+ path = Deno.cwd();
+ }
+ assertPath(path);
+ // Skip empty entries
+ if (path.length === 0) {
+ continue;
+ }
+ resolvedPath = `${path}/${resolvedPath}`;
+ resolvedAbsolute = isPosixPathSeparator(path.charCodeAt(0));
+ }
+ // At this point the path should be resolved to a full absolute path, but
+ // handle relative paths to be safe (might happen when Deno.cwd() fails)
+ // Normalize the path
+ resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, "/", isPosixPathSeparator);
+ if (resolvedAbsolute) {
+ if (resolvedPath.length > 0) return `/${resolvedPath}`;
+ else return "/";
+ } else if (resolvedPath.length > 0) return resolvedPath;
+ else return ".";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArgs(from, to) {
+ assertPath(from);
+ assertPath(to);
+ if (from === to) return "";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the relative path from `from` to `to` based on current working directory.
+ *
+ * If `from` and `to` are the same, return an empty string.
+ *
+ * @example Usage
+ * ```ts
+ * import { relative } from "@std/path/posix/relative";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = relative("/data/orandea/test/aaa", "/data/orandea/impl/bbb");
+ * assertEquals(path, "../../impl/bbb");
+ * ```
+ *
+ * @param from The path to start from.
+ * @param to The path to reach.
+ * @returns The relative path.
+ */ function relative(from, to) {
+ assertArgs(from, to);
+ from = resolve(from);
+ to = resolve(to);
+ if (from === to) return "";
+ // Trim any leading backslashes
+ let fromStart = 1;
+ const fromEnd = from.length;
+ for(; fromStart < fromEnd; ++fromStart){
+ if (!isPosixPathSeparator(from.charCodeAt(fromStart))) break;
+ }
+ const fromLen = fromEnd - fromStart;
+ // Trim any leading backslashes
+ let toStart = 1;
+ const toEnd = to.length;
+ for(; toStart < toEnd; ++toStart){
+ if (!isPosixPathSeparator(to.charCodeAt(toStart))) break;
+ }
+ const toLen = toEnd - toStart;
+ // Compare paths to find the longest common path from root
+ const length = fromLen < toLen ? fromLen : toLen;
+ let lastCommonSep = -1;
+ let i = 0;
+ for(; i <= length; ++i){
+ if (i === length) {
+ if (toLen > length) {
+ if (isPosixPathSeparator(to.charCodeAt(toStart + i))) {
+ // We get here if `from` is the exact base path for `to`.
+ // For example: from='/foo/bar'; to='/foo/bar/baz'
+ return to.slice(toStart + i + 1);
+ } else if (i === 0) {
+ // We get here if `from` is the root
+ // For example: from='/'; to='/foo'
+ return to.slice(toStart + i);
+ }
+ } else if (fromLen > length) {
+ if (isPosixPathSeparator(from.charCodeAt(fromStart + i))) {
+ // We get here if `to` is the exact base path for `from`.
+ // For example: from='/foo/bar/baz'; to='/foo/bar'
+ lastCommonSep = i;
+ } else if (i === 0) {
+ // We get here if `to` is the root.
+ // For example: from='/foo'; to='/'
+ lastCommonSep = 0;
+ }
+ }
+ break;
+ }
+ const fromCode = from.charCodeAt(fromStart + i);
+ const toCode = to.charCodeAt(toStart + i);
+ if (fromCode !== toCode) break;
+ else if (isPosixPathSeparator(fromCode)) lastCommonSep = i;
+ }
+ let out = "";
+ // Generate the relative path based on the path difference between `to`
+ // and `from`
+ for(i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i){
+ if (i === fromEnd || isPosixPathSeparator(from.charCodeAt(i))) {
+ if (out.length === 0) out += "..";
+ else out += "/..";
+ }
+ }
+ // Lastly, append the rest of the destination (`to`) path that comes after
+ // the common path parts
+ if (out.length > 0) return out + to.slice(toStart + lastCommonSep);
+ else {
+ toStart += lastCommonSep;
+ if (isPosixPathSeparator(to.charCodeAt(toStart))) ++toStart;
+ return to.slice(toStart);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+const WHITESPACE_ENCODINGS = {
+ "\u0009": "%09",
+ "\u000A": "%0A",
+ "\u000B": "%0B",
+ "\u000C": "%0C",
+ "\u000D": "%0D",
+ "\u0020": "%20"
+};
+function encodeWhitespace(string) {
+ return string.replaceAll(/[\s]/g, (c)=>{
+ return WHITESPACE_ENCODINGS[c] ?? c;
+ });
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Converts a path string to a file URL.
+ *
+ * @example Usage
+ * ```ts
+ * import { toFileUrl } from "@std/path/posix/to-file-url";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(toFileUrl("/home/foo"), new URL("file:///home/foo"));
+ * assertEquals(toFileUrl("/home/foo bar"), new URL("file:///home/foo%20bar"));
+ * ```
+ *
+ * @param path The path to convert.
+ * @returns The file URL.
+ */ function toFileUrl(path) {
+ if (!isAbsolute(path)) {
+ throw new TypeError(`Path must be absolute: received "${path}"`);
+ }
+ const url = new URL("file:///");
+ url.pathname = encodeWhitespace(path.replace(/%/g, "%25").replace(/\\/g, "%5C"));
+ return url;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Converts a path to a namespaced path. This function returns the path as is on posix.
+ *
+ * @example Usage
+ * ```ts
+ * import { toNamespacedPath } from "@std/path/posix/to-namespaced-path";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(toNamespacedPath("/home/foo"), "/home/foo");
+ * ```
+ *
+ * @param path The path.
+ * @returns The namespaced path.
+ */ function toNamespacedPath(path) {
+ // Non-op on posix systems
+ return path;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function common$1(paths, sep) {
+ const [first = "", ...remaining] = paths;
+ const parts = first.split(sep);
+ let endOfPrefix = parts.length;
+ let append = "";
+ for (const path of remaining){
+ const compare = path.split(sep);
+ if (compare.length <= endOfPrefix) {
+ endOfPrefix = compare.length;
+ append = "";
+ }
+ for(let i = 0; i < endOfPrefix; i++){
+ if (compare[i] !== parts[i]) {
+ endOfPrefix = i;
+ append = i === 0 ? "" : sep;
+ break;
+ }
+ }
+ }
+ return parts.slice(0, endOfPrefix).join(sep) + append;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/** Determines the common path from a set of paths for POSIX systems.
+ *
+ * @example Usage
+ * ```ts
+ * import { common } from "@std/path/posix/common";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = common([
+ * "./deno/std/path/mod.ts",
+ * "./deno/std/fs/mod.ts",
+ * ]);
+ * assertEquals(path, "./deno/std/");
+ * ```
+ *
+ * @param paths The paths to compare.
+ * @returns The common path.
+ */ function common(paths) {
+ return common$1(paths, SEPARATOR);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Options for {@linkcode globToRegExp}, {@linkcode joinGlobs},
+ * {@linkcode normalizeGlob} and {@linkcode expandGlob}.
+ */ const REG_EXP_ESCAPE_CHARS = [
+ "!",
+ "$",
+ "(",
+ ")",
+ "*",
+ "+",
+ ".",
+ "=",
+ "?",
+ "[",
+ "\\",
+ "^",
+ "{",
+ "|"
+];
+const RANGE_ESCAPE_CHARS = [
+ "-",
+ "\\",
+ "]"
+];
+function _globToRegExp(c, glob, { extended = true, globstar: globstarOption = true, // os = osType,
+caseInsensitive = false } = {}) {
+ if (glob === "") {
+ return /(?!)/;
+ }
+ // Remove trailing separators.
+ let newLength = glob.length;
+ for(; newLength > 1 && c.seps.includes(glob[newLength - 1]); newLength--);
+ glob = glob.slice(0, newLength);
+ let regExpString = "";
+ // Terminates correctly. Trust that `j` is incremented every iteration.
+ for(let j = 0; j < glob.length;){
+ let segment = "";
+ const groupStack = [];
+ let inRange = false;
+ let inEscape = false;
+ let endsWithSep = false;
+ let i = j;
+ // Terminates with `i` at the non-inclusive end of the current segment.
+ for(; i < glob.length && !c.seps.includes(glob[i]); i++){
+ if (inEscape) {
+ inEscape = false;
+ const escapeChars = inRange ? RANGE_ESCAPE_CHARS : REG_EXP_ESCAPE_CHARS;
+ segment += escapeChars.includes(glob[i]) ? `\\${glob[i]}` : glob[i];
+ continue;
+ }
+ if (glob[i] === c.escapePrefix) {
+ inEscape = true;
+ continue;
+ }
+ if (glob[i] === "[") {
+ if (!inRange) {
+ inRange = true;
+ segment += "[";
+ if (glob[i + 1] === "!") {
+ i++;
+ segment += "^";
+ } else if (glob[i + 1] === "^") {
+ i++;
+ segment += "\\^";
+ }
+ continue;
+ } else if (glob[i + 1] === ":") {
+ let k = i + 1;
+ let value = "";
+ while(glob[k + 1] !== undefined && glob[k + 1] !== ":"){
+ value += glob[k + 1];
+ k++;
+ }
+ if (glob[k + 1] === ":" && glob[k + 2] === "]") {
+ i = k + 2;
+ if (value === "alnum") segment += "\\dA-Za-z";
+ else if (value === "alpha") segment += "A-Za-z";
+ else if (value === "ascii") segment += "\x00-\x7F";
+ else if (value === "blank") segment += "\t ";
+ else if (value === "cntrl") segment += "\x00-\x1F\x7F";
+ else if (value === "digit") segment += "\\d";
+ else if (value === "graph") segment += "\x21-\x7E";
+ else if (value === "lower") segment += "a-z";
+ else if (value === "print") segment += "\x20-\x7E";
+ else if (value === "punct") {
+ segment += "!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~";
+ } else if (value === "space") segment += "\\s\v";
+ else if (value === "upper") segment += "A-Z";
+ else if (value === "word") segment += "\\w";
+ else if (value === "xdigit") segment += "\\dA-Fa-f";
+ continue;
+ }
+ }
+ }
+ if (glob[i] === "]" && inRange) {
+ inRange = false;
+ segment += "]";
+ continue;
+ }
+ if (inRange) {
+ segment += glob[i];
+ continue;
+ }
+ if (glob[i] === ")" && groupStack.length > 0 && groupStack[groupStack.length - 1] !== "BRACE") {
+ segment += ")";
+ const type = groupStack.pop();
+ if (type === "!") {
+ segment += c.wildcard;
+ } else if (type !== "@") {
+ segment += type;
+ }
+ continue;
+ }
+ if (glob[i] === "|" && groupStack.length > 0 && groupStack[groupStack.length - 1] !== "BRACE") {
+ segment += "|";
+ continue;
+ }
+ if (glob[i] === "+" && extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("+");
+ segment += "(?:";
+ continue;
+ }
+ if (glob[i] === "@" && extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("@");
+ segment += "(?:";
+ continue;
+ }
+ if (glob[i] === "?") {
+ if (extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("?");
+ segment += "(?:";
+ } else {
+ segment += ".";
+ }
+ continue;
+ }
+ if (glob[i] === "!" && extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("!");
+ segment += "(?!";
+ continue;
+ }
+ if (glob[i] === "{") {
+ groupStack.push("BRACE");
+ segment += "(?:";
+ continue;
+ }
+ if (glob[i] === "}" && groupStack[groupStack.length - 1] === "BRACE") {
+ groupStack.pop();
+ segment += ")";
+ continue;
+ }
+ if (glob[i] === "," && groupStack[groupStack.length - 1] === "BRACE") {
+ segment += "|";
+ continue;
+ }
+ if (glob[i] === "*") {
+ if (extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("*");
+ segment += "(?:";
+ } else {
+ const prevChar = glob[i - 1];
+ let numStars = 1;
+ while(glob[i + 1] === "*"){
+ i++;
+ numStars++;
+ }
+ const nextChar = glob[i + 1];
+ if (globstarOption && numStars === 2 && [
+ ...c.seps,
+ undefined
+ ].includes(prevChar) && [
+ ...c.seps,
+ undefined
+ ].includes(nextChar)) {
+ segment += c.globstar;
+ endsWithSep = true;
+ } else {
+ segment += c.wildcard;
+ }
+ }
+ continue;
+ }
+ segment += REG_EXP_ESCAPE_CHARS.includes(glob[i]) ? `\\${glob[i]}` : glob[i];
+ }
+ // Check for unclosed groups or a dangling backslash.
+ if (groupStack.length > 0 || inRange || inEscape) {
+ // Parse failure. Take all characters from this segment literally.
+ segment = "";
+ for (const c of glob.slice(j, i)){
+ segment += REG_EXP_ESCAPE_CHARS.includes(c) ? `\\${c}` : c;
+ endsWithSep = false;
+ }
+ }
+ regExpString += segment;
+ if (!endsWithSep) {
+ regExpString += i < glob.length ? c.sep : c.sepMaybe;
+ endsWithSep = true;
+ }
+ // Terminates with `i` at the start of the next segment.
+ while(c.seps.includes(glob[i]))i++;
+ j = i;
+ }
+ regExpString = `^${regExpString}$`;
+ return new RegExp(regExpString, caseInsensitive ? "i" : "");
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+const constants = {
+ sep: "/+",
+ sepMaybe: "/*",
+ seps: [
+ "/"
+ ],
+ globstar: "(?:[^/]*(?:/|$)+)*",
+ wildcard: "[^/]*",
+ escapePrefix: "\\"
+};
+/** Convert a glob string to a regular expression.
+ *
+ * Tries to match bash glob expansion as closely as possible.
+ *
+ * Basic glob syntax:
+ * - `*` - Matches everything without leaving the path segment.
+ * - `?` - Matches any single character.
+ * - `{foo,bar}` - Matches `foo` or `bar`.
+ * - `[abcd]` - Matches `a`, `b`, `c` or `d`.
+ * - `[a-d]` - Matches `a`, `b`, `c` or `d`.
+ * - `[!abcd]` - Matches any single character besides `a`, `b`, `c` or `d`.
+ * - `[[::]]` - Matches any character belonging to ``.
+ * - `[[:alnum:]]` - Matches any digit or letter.
+ * - `[[:digit:]abc]` - Matches any digit, `a`, `b` or `c`.
+ * - See https://facelessuser.github.io/wcmatch/glob/#posix-character-classes
+ * for a complete list of supported character classes.
+ * - `\` - Escapes the next character for an `os` other than `"windows"`.
+ * - \` - Escapes the next character for `os` set to `"windows"`.
+ * - `/` - Path separator.
+ * - `\` - Additional path separator only for `os` set to `"windows"`.
+ *
+ * Extended syntax:
+ * - Requires `{ extended: true }`.
+ * - `?(foo|bar)` - Matches 0 or 1 instance of `{foo,bar}`.
+ * - `@(foo|bar)` - Matches 1 instance of `{foo,bar}`. They behave the same.
+ * - `*(foo|bar)` - Matches _n_ instances of `{foo,bar}`.
+ * - `+(foo|bar)` - Matches _n > 0_ instances of `{foo,bar}`.
+ * - `!(foo|bar)` - Matches anything other than `{foo,bar}`.
+ * - See https://www.linuxjournal.com/content/bash-extended-globbing.
+ *
+ * Globstar syntax:
+ * - Requires `{ globstar: true }`.
+ * - `**` - Matches any number of any path segments.
+ * - Must comprise its entire path segment in the provided glob.
+ * - See https://www.linuxjournal.com/content/globstar-new-bash-globbing-option.
+ *
+ * Note the following properties:
+ * - The generated `RegExp` is anchored at both start and end.
+ * - Repeating and trailing separators are tolerated. Trailing separators in the
+ * provided glob have no meaning and are discarded.
+ * - Absolute globs will only match absolute paths, etc.
+ * - Empty globs will match nothing.
+ * - Any special glob syntax must be contained to one path segment. For example,
+ * `?(foo|bar/baz)` is invalid. The separator will take precedence and the
+ * first segment ends with an unclosed group.
+ * - If a path segment ends with unclosed groups or a dangling escape prefix, a
+ * parse error has occurred. Every character for that segment is taken
+ * literally in this event.
+ *
+ * Limitations:
+ * - A negative group like `!(foo|bar)` will wrongly be converted to a negative
+ * look-ahead followed by a wildcard. This means that `!(foo).js` will wrongly
+ * fail to match `foobar.js`, even though `foobar` is not `foo`. Effectively,
+ * `!(foo|bar)` is treated like `!(@(foo|bar)*)`. This will work correctly if
+ * the group occurs not nested at the end of the segment.
+ *
+ * @example Usage
+ * ```ts
+ * import { globToRegExp } from "@std/path/posix/glob-to-regexp";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(globToRegExp("*.js"), /^[^/]*\.js\/*$/);
+ * ```
+ *
+ * @param glob Glob string to convert.
+ * @param options Conversion options.
+ * @returns The regular expression equivalent to the glob.
+ */ function globToRegExp(glob, options = {}) {
+ return _globToRegExp(constants, glob, options);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Test whether the given string is a glob.
+ *
+ * @example Usage
+ * ```ts
+ * import { isGlob } from "@std/path/is-glob";
+ * import { assert } from "@std/assert";
+ *
+ * assert(!isGlob("foo/bar/../baz"));
+ * assert(isGlob("foo/*ar/../baz"));
+ * ```
+ *
+ * @param str String to test.
+ * @returns `true` if the given string is a glob, otherwise `false`
+ */ function isGlob(str) {
+ const chars = {
+ "{": "}",
+ "(": ")",
+ "[": "]"
+ };
+ const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;
+ if (str === "") {
+ return false;
+ }
+ let match;
+ while(match = regex.exec(str)){
+ if (match[2]) return true;
+ let idx = match.index + match[0].length;
+ // if an open bracket/brace/paren is escaped,
+ // set the index to the next closing character
+ const open = match[1];
+ const close = open ? chars[open] : null;
+ if (open && close) {
+ const n = str.indexOf(close, idx);
+ if (n !== -1) {
+ idx = n + 1;
+ }
+ }
+ str = str.slice(idx);
+ }
+ return false;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Like normalize(), but doesn't collapse "**\/.." when `globstar` is true.
+ *
+ * @example Usage
+ * ```ts
+ * import { normalizeGlob } from "@std/path/posix/normalize-glob";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = normalizeGlob("foo/bar/../*", { globstar: true });
+ * assertEquals(path, "foo/*");
+ * ```
+ *
+ * @param glob The glob to normalize.
+ * @param options The options to use.
+ * @returns The normalized path.
+ */ function normalizeGlob(glob, { globstar = false } = {}) {
+ if (glob.match(/\0/g)) {
+ throw new Error(`Glob contains invalid characters: "${glob}"`);
+ }
+ if (!globstar) {
+ return normalize(glob);
+ }
+ const s = SEPARATOR_PATTERN.source;
+ const badParentPattern = new RegExp(`(?<=(${s}|^)\\*\\*${s})\\.\\.(?=${s}|$)`, "g");
+ return normalize(glob.replace(badParentPattern, "\0")).replace(/\0/g, "..");
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Like join(), but doesn't collapse "**\/.." when `globstar` is true.
+ *
+ * @example Usage
+ * ```ts
+ * import { joinGlobs } from "@std/path/posix/join-globs";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = joinGlobs(["foo", "bar", "**"], { globstar: true });
+ * assertEquals(path, "foo/bar/**");
+ * ```
+ *
+ * @param globs The globs to join.
+ * @param options The options to use.
+ * @returns The joined path.
+ */ function joinGlobs(globs, { extended = true, globstar = false } = {}) {
+ if (!globstar || globs.length === 0) {
+ return join(...globs);
+ }
+ let joined;
+ for (const glob of globs){
+ const path = glob;
+ if (path.length > 0) {
+ if (!joined) joined = path;
+ else joined += `${SEPARATOR}${path}`;
+ }
+ }
+ if (!joined) return ".";
+ return normalizeGlob(joined, {
+ extended,
+ globstar
+ });
+}
+
+export { DELIMITER, SEPARATOR, SEPARATOR_PATTERN, basename, common, dirname, extname, format, fromFileUrl, globToRegExp, isAbsolute, isGlob, join, joinGlobs, normalize, normalizeGlob, parse, relative, resolve, toFileUrl, toNamespacedPath };
diff --git a/node_modules/@eslint/config-array/dist/esm/std__path/windows.js b/node_modules/@eslint/config-array/dist/esm/std__path/windows.js
new file mode 100644
index 00000000..ae8759d8
--- /dev/null
+++ b/node_modules/@eslint/config-array/dist/esm/std__path/windows.js
@@ -0,0 +1,1647 @@
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+function assertPath(path) {
+ if (typeof path !== "string") {
+ throw new TypeError(`Path must be a string, received "${JSON.stringify(path)}"`);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function stripSuffix(name, suffix) {
+ if (suffix.length >= name.length) {
+ return name;
+ }
+ const lenDiff = name.length - suffix.length;
+ for(let i = suffix.length - 1; i >= 0; --i){
+ if (name.charCodeAt(lenDiff + i) !== suffix.charCodeAt(i)) {
+ return name;
+ }
+ }
+ return name.slice(0, -suffix.length);
+}
+function lastPathSegment(path, isSep, start = 0) {
+ let matchedNonSeparator = false;
+ let end = path.length;
+ for(let i = path.length - 1; i >= start; --i){
+ if (isSep(path.charCodeAt(i))) {
+ if (matchedNonSeparator) {
+ start = i + 1;
+ break;
+ }
+ } else if (!matchedNonSeparator) {
+ matchedNonSeparator = true;
+ end = i + 1;
+ }
+ }
+ return path.slice(start, end);
+}
+function assertArgs$1(path, suffix) {
+ assertPath(path);
+ if (path.length === 0) return path;
+ if (typeof suffix !== "string") {
+ throw new TypeError(`Suffix must be a string, received "${JSON.stringify(suffix)}"`);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+// Alphabet chars.
+const CHAR_UPPERCASE_A = 65; /* A */
+const CHAR_LOWERCASE_A = 97; /* a */
+const CHAR_UPPERCASE_Z = 90; /* Z */
+const CHAR_LOWERCASE_Z = 122; /* z */
+// Non-alphabetic chars.
+const CHAR_DOT = 46; /* . */
+const CHAR_FORWARD_SLASH = 47; /* / */
+const CHAR_BACKWARD_SLASH = 92; /* \ */
+const CHAR_COLON = 58; /* : */
+const CHAR_QUESTION_MARK = 63; /* ? */
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+function stripTrailingSeparators(segment, isSep) {
+ if (segment.length <= 1) {
+ return segment;
+ }
+ let end = segment.length;
+ for(let i = segment.length - 1; i > 0; i--){
+ if (isSep(segment.charCodeAt(i))) {
+ end = i;
+ } else {
+ break;
+ }
+ }
+ return segment.slice(0, end);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+function isPosixPathSeparator(code) {
+ return code === CHAR_FORWARD_SLASH;
+}
+function isPathSeparator(code) {
+ return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
+}
+function isWindowsDeviceRoot(code) {
+ return code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z || code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the last portion of a `path`.
+ * Trailing directory separators are ignored, and optional suffix is removed.
+ *
+ * @example Usage
+ * ```ts
+ * import { basename } from "@std/path/windows/basename";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(basename("C:\\user\\Documents\\"), "Documents");
+ * assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
+ * assertEquals(basename("C:\\user\\Documents\\image.png", ".png"), "image");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `basename` from `@std/path/windows/unstable-basename`.
+ *
+ * @param path The path to extract the name from.
+ * @param suffix The suffix to remove from extracted name.
+ * @returns The extracted name.
+ */ function basename(path, suffix = "") {
+ assertArgs$1(path, suffix);
+ // Check for a drive letter prefix so as not to mistake the following
+ // path separator as an extra separator at the end of the path that can be
+ // disregarded
+ let start = 0;
+ if (path.length >= 2) {
+ const drive = path.charCodeAt(0);
+ if (isWindowsDeviceRoot(drive)) {
+ if (path.charCodeAt(1) === CHAR_COLON) start = 2;
+ }
+ }
+ const lastSegment = lastPathSegment(path, isPathSeparator, start);
+ const strippedSegment = stripTrailingSeparators(lastSegment, isPathSeparator);
+ return suffix ? stripSuffix(strippedSegment, suffix) : strippedSegment;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * The character used to separate entries in the PATH environment variable.
+ */ const DELIMITER = ";";
+/**
+ * The character used to separate components of a file path.
+ */ const SEPARATOR = "\\";
+/**
+ * A regular expression that matches one or more path separators.
+ */ const SEPARATOR_PATTERN = /[\\/]+/;
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArg$3(path) {
+ assertPath(path);
+ if (path.length === 0) return ".";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the directory path of a `path`.
+ *
+ * @example Usage
+ * ```ts
+ * import { dirname } from "@std/path/windows/dirname";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const dir = dirname("C:\\foo\\bar\\baz.ext");
+ * assertEquals(dir, "C:\\foo\\bar");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `dirname` from `@std/path/windows/unstable-dirname`.
+ *
+ * @param path The path to get the directory from.
+ * @returns The directory path.
+ */ function dirname(path) {
+ assertArg$3(path);
+ const len = path.length;
+ let rootEnd = -1;
+ let end = -1;
+ let matchedSlash = true;
+ let offset = 0;
+ const code = path.charCodeAt(0);
+ // Try to match a root
+ if (len > 1) {
+ if (isPathSeparator(code)) {
+ // Possible UNC root
+ rootEnd = offset = 1;
+ if (isPathSeparator(path.charCodeAt(1))) {
+ // Matched double path separator at beginning
+ let j = 2;
+ let last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ // Matched!
+ last = j;
+ // Match 1 or more path separators
+ for(; j < len; ++j){
+ if (!isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ // Matched!
+ last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j === len) {
+ // We matched a UNC root only
+ return path;
+ }
+ if (j !== last) {
+ // We matched a UNC root with leftovers
+ // Offset by 1 to include the separator after the UNC root to
+ // treat it as a "normal root" on top of a (UNC) root
+ rootEnd = offset = j + 1;
+ }
+ }
+ }
+ }
+ } else if (isWindowsDeviceRoot(code)) {
+ // Possible device root
+ if (path.charCodeAt(1) === CHAR_COLON) {
+ rootEnd = offset = 2;
+ if (len > 2) {
+ if (isPathSeparator(path.charCodeAt(2))) rootEnd = offset = 3;
+ }
+ }
+ }
+ } else if (isPathSeparator(code)) {
+ // `path` contains just a path separator, exit early to avoid
+ // unnecessary work
+ return path;
+ }
+ for(let i = len - 1; i >= offset; --i){
+ if (isPathSeparator(path.charCodeAt(i))) {
+ if (!matchedSlash) {
+ end = i;
+ break;
+ }
+ } else {
+ // We saw the first non-path separator
+ matchedSlash = false;
+ }
+ }
+ if (end === -1) {
+ if (rootEnd === -1) return ".";
+ else end = rootEnd;
+ }
+ return stripTrailingSeparators(path.slice(0, end), isPosixPathSeparator);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the extension of the `path` with leading period.
+ *
+ * @example Usage
+ * ```ts
+ * import { extname } from "@std/path/windows/extname";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const ext = extname("file.ts");
+ * assertEquals(ext, ".ts");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `extname` from `@std/path/windows/unstable-extname`.
+ *
+ * @param path The path to get the extension from.
+ * @returns The extension of the `path`.
+ */ function extname(path) {
+ assertPath(path);
+ let start = 0;
+ let startDot = -1;
+ let startPart = 0;
+ let end = -1;
+ let matchedSlash = true;
+ // Track the state of characters (if any) we see before our first dot and
+ // after any path separator we find
+ let preDotState = 0;
+ // Check for a drive letter prefix so as not to mistake the following
+ // path separator as an extra separator at the end of the path that can be
+ // disregarded
+ if (path.length >= 2 && path.charCodeAt(1) === CHAR_COLON && isWindowsDeviceRoot(path.charCodeAt(0))) {
+ start = startPart = 2;
+ }
+ for(let i = path.length - 1; i >= start; --i){
+ const code = path.charCodeAt(i);
+ if (isPathSeparator(code)) {
+ // If we reached a path separator that was not part of a set of path
+ // separators at the end of the string, stop now
+ if (!matchedSlash) {
+ startPart = i + 1;
+ break;
+ }
+ continue;
+ }
+ if (end === -1) {
+ // We saw the first non-path separator, mark this as the end of our
+ // extension
+ matchedSlash = false;
+ end = i + 1;
+ }
+ if (code === CHAR_DOT) {
+ // If this is our first dot, mark it as the start of our extension
+ if (startDot === -1) startDot = i;
+ else if (preDotState !== 1) preDotState = 1;
+ } else if (startDot !== -1) {
+ // We saw a non-dot and non-path separator before our dot, so we should
+ // have a good chance at having a non-empty extension
+ preDotState = -1;
+ }
+ }
+ if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot
+ preDotState === 0 || // The (right-most) trimmed path component is exactly '..'
+ preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
+ return "";
+ }
+ return path.slice(startDot, end);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function _format(sep, pathObject) {
+ const dir = pathObject.dir || pathObject.root;
+ const base = pathObject.base || (pathObject.name ?? "") + (pathObject.ext ?? "");
+ if (!dir) return base;
+ if (base === sep) return dir;
+ if (dir === pathObject.root) return dir + base;
+ return dir + sep + base;
+}
+function assertArg$2(pathObject) {
+ if (pathObject === null || typeof pathObject !== "object") {
+ throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof pathObject}"`);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Generate a path from `ParsedPath` object.
+ *
+ * @example Usage
+ * ```ts
+ * import { format } from "@std/path/windows/format";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = format({
+ * root: "C:\\",
+ * dir: "C:\\path\\dir",
+ * base: "file.txt",
+ * ext: ".txt",
+ * name: "file"
+ * });
+ * assertEquals(path, "C:\\path\\dir\\file.txt");
+ * ```
+ *
+ * @param pathObject The path object to format.
+ * @returns The formatted path.
+ */ function format(pathObject) {
+ assertArg$2(pathObject);
+ return _format("\\", pathObject);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArg$1(url) {
+ url = url instanceof URL ? url : new URL(url);
+ if (url.protocol !== "file:") {
+ throw new TypeError(`URL must be a file URL: received "${url.protocol}"`);
+ }
+ return url;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Converts a file URL to a path string.
+ *
+ * @example Usage
+ * ```ts
+ * import { fromFileUrl } from "@std/path/windows/from-file-url";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(fromFileUrl("file:///home/foo"), "\\home\\foo");
+ * assertEquals(fromFileUrl("file:///C:/Users/foo"), "C:\\Users\\foo");
+ * assertEquals(fromFileUrl("file://localhost/home/foo"), "\\home\\foo");
+ * ```
+ *
+ * @param url The file URL to convert.
+ * @returns The path string.
+ */ function fromFileUrl(url) {
+ url = assertArg$1(url);
+ let path = decodeURIComponent(url.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
+ if (url.hostname !== "") {
+ // Note: The `URL` implementation guarantees that the drive letter and
+ // hostname are mutually exclusive. Otherwise it would not have been valid
+ // to append the hostname and path like this.
+ path = `\\\\${url.hostname}${path}`;
+ }
+ return path;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Verifies whether provided path is absolute.
+ *
+ * @example Usage
+ * ```ts
+ * import { isAbsolute } from "@std/path/windows/is-absolute";
+ * import { assert, assertFalse } from "@std/assert";
+ *
+ * assert(isAbsolute("C:\\foo\\bar"));
+ * assertFalse(isAbsolute("..\\baz"));
+ * ```
+ *
+ * @param path The path to verify.
+ * @returns `true` if the path is absolute, `false` otherwise.
+ */ function isAbsolute(path) {
+ assertPath(path);
+ const len = path.length;
+ if (len === 0) return false;
+ const code = path.charCodeAt(0);
+ if (isPathSeparator(code)) {
+ return true;
+ } else if (isWindowsDeviceRoot(code)) {
+ // Possible device root
+ if (len > 2 && path.charCodeAt(1) === CHAR_COLON) {
+ if (isPathSeparator(path.charCodeAt(2))) return true;
+ }
+ }
+ return false;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArg(path) {
+ assertPath(path);
+ if (path.length === 0) return ".";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// Copyright the Browserify authors. MIT License.
+// Ported from https://github.com/browserify/path-browserify/
+// This module is browser compatible.
+// Resolves . and .. elements in a path with directory names
+function normalizeString(path, allowAboveRoot, separator, isPathSeparator) {
+ let res = "";
+ let lastSegmentLength = 0;
+ let lastSlash = -1;
+ let dots = 0;
+ let code;
+ for(let i = 0; i <= path.length; ++i){
+ if (i < path.length) code = path.charCodeAt(i);
+ else if (isPathSeparator(code)) break;
+ else code = CHAR_FORWARD_SLASH;
+ if (isPathSeparator(code)) {
+ if (lastSlash === i - 1 || dots === 1) ; else if (lastSlash !== i - 1 && dots === 2) {
+ if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== CHAR_DOT || res.charCodeAt(res.length - 2) !== CHAR_DOT) {
+ if (res.length > 2) {
+ const lastSlashIndex = res.lastIndexOf(separator);
+ if (lastSlashIndex === -1) {
+ res = "";
+ lastSegmentLength = 0;
+ } else {
+ res = res.slice(0, lastSlashIndex);
+ lastSegmentLength = res.length - 1 - res.lastIndexOf(separator);
+ }
+ lastSlash = i;
+ dots = 0;
+ continue;
+ } else if (res.length === 2 || res.length === 1) {
+ res = "";
+ lastSegmentLength = 0;
+ lastSlash = i;
+ dots = 0;
+ continue;
+ }
+ }
+ if (allowAboveRoot) {
+ if (res.length > 0) res += `${separator}..`;
+ else res = "..";
+ lastSegmentLength = 2;
+ }
+ } else {
+ if (res.length > 0) res += separator + path.slice(lastSlash + 1, i);
+ else res = path.slice(lastSlash + 1, i);
+ lastSegmentLength = i - lastSlash - 1;
+ }
+ lastSlash = i;
+ dots = 0;
+ } else if (code === CHAR_DOT && dots !== -1) {
+ ++dots;
+ } else {
+ dots = -1;
+ }
+ }
+ return res;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Normalize the `path`, resolving `'..'` and `'.'` segments.
+ * Note that resolving these segments does not necessarily mean that all will be eliminated.
+ * A `'..'` at the top-level will be preserved, and an empty path is canonically `'.'`.
+ *
+ * @example Usage
+ * ```ts
+ * import { normalize } from "@std/path/windows/normalize";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const normalized = normalize("C:\\foo\\..\\bar");
+ * assertEquals(normalized, "C:\\bar");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `normalize` from `@std/path/windows/unstable-normalize`.
+ *
+ * @param path The path to normalize
+ * @returns The normalized path
+ */ function normalize(path) {
+ assertArg(path);
+ const len = path.length;
+ let rootEnd = 0;
+ let device;
+ let isAbsolute = false;
+ const code = path.charCodeAt(0);
+ // Try to match a root
+ if (len > 1) {
+ if (isPathSeparator(code)) {
+ // Possible UNC root
+ // If we started with a separator, we know we at least have an absolute
+ // path of some kind (UNC or otherwise)
+ isAbsolute = true;
+ if (isPathSeparator(path.charCodeAt(1))) {
+ // Matched double path separator at beginning
+ let j = 2;
+ let last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ const firstPart = path.slice(last, j);
+ // Matched!
+ last = j;
+ // Match 1 or more path separators
+ for(; j < len; ++j){
+ if (!isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ // Matched!
+ last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j === len) {
+ // We matched a UNC root only
+ // Return the normalized version of the UNC root since there
+ // is nothing left to process
+ return `\\\\${firstPart}\\${path.slice(last)}\\`;
+ } else if (j !== last) {
+ // We matched a UNC root with leftovers
+ device = `\\\\${firstPart}\\${path.slice(last, j)}`;
+ rootEnd = j;
+ }
+ }
+ }
+ } else {
+ rootEnd = 1;
+ }
+ } else if (isWindowsDeviceRoot(code)) {
+ // Possible device root
+ if (path.charCodeAt(1) === CHAR_COLON) {
+ device = path.slice(0, 2);
+ rootEnd = 2;
+ if (len > 2) {
+ if (isPathSeparator(path.charCodeAt(2))) {
+ // Treat separator following drive name as an absolute path
+ // indicator
+ isAbsolute = true;
+ rootEnd = 3;
+ }
+ }
+ }
+ }
+ } else if (isPathSeparator(code)) {
+ // `path` contains just a path separator, exit early to avoid unnecessary
+ // work
+ return "\\";
+ }
+ let tail;
+ if (rootEnd < len) {
+ tail = normalizeString(path.slice(rootEnd), !isAbsolute, "\\", isPathSeparator);
+ } else {
+ tail = "";
+ }
+ if (tail.length === 0 && !isAbsolute) tail = ".";
+ if (tail.length > 0 && isPathSeparator(path.charCodeAt(len - 1))) {
+ tail += "\\";
+ }
+ if (device === undefined) {
+ if (isAbsolute) {
+ if (tail.length > 0) return `\\${tail}`;
+ else return "\\";
+ }
+ return tail;
+ } else if (isAbsolute) {
+ if (tail.length > 0) return `${device}\\${tail}`;
+ else return `${device}\\`;
+ }
+ return device + tail;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Join all given a sequence of `paths`,then normalizes the resulting path.
+ *
+ * @example Usage
+ * ```ts
+ * import { join } from "@std/path/windows/join";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const joined = join("C:\\foo", "bar", "baz\\..");
+ * assertEquals(joined, "C:\\foo\\bar");
+ * ```
+ *
+ * Note: If you are working with file URLs,
+ * use the new version of `join` from `@std/path/windows/unstable-join`.
+ *
+ * @param paths The paths to join.
+ * @returns The joined path.
+ */ function join(...paths) {
+ paths.forEach((path)=>assertPath(path));
+ paths = paths.filter((path)=>path.length > 0);
+ if (paths.length === 0) return ".";
+ // Make sure that the joined path doesn't start with two slashes, because
+ // normalize() will mistake it for an UNC path then.
+ //
+ // This step is skipped when it is very clear that the user actually
+ // intended to point at an UNC path. This is assumed when the first
+ // non-empty string arguments starts with exactly two slashes followed by
+ // at least one more non-slash character.
+ //
+ // Note that for normalize() to treat a path as an UNC path it needs to
+ // have at least 2 components, so we don't filter for that here.
+ // This means that the user can use join to construct UNC paths from
+ // a server name and a share name; for example:
+ // path.join('//server', 'share') -> '\\\\server\\share\\'
+ let needsReplace = true;
+ let slashCount = 0;
+ const firstPart = paths[0];
+ if (isPathSeparator(firstPart.charCodeAt(0))) {
+ ++slashCount;
+ const firstLen = firstPart.length;
+ if (firstLen > 1) {
+ if (isPathSeparator(firstPart.charCodeAt(1))) {
+ ++slashCount;
+ if (firstLen > 2) {
+ if (isPathSeparator(firstPart.charCodeAt(2))) ++slashCount;
+ else {
+ // We matched a UNC path in the first part
+ needsReplace = false;
+ }
+ }
+ }
+ }
+ }
+ let joined = paths.join("\\");
+ if (needsReplace) {
+ // Find any more consecutive slashes we need to replace
+ for(; slashCount < joined.length; ++slashCount){
+ if (!isPathSeparator(joined.charCodeAt(slashCount))) break;
+ }
+ // Replace the slashes if needed
+ if (slashCount >= 2) joined = `\\${joined.slice(slashCount)}`;
+ }
+ return normalize(joined);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return a `ParsedPath` object of the `path`.
+ *
+ * @example Usage
+ * ```ts
+ * import { parse } from "@std/path/windows/parse";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const parsed = parse("C:\\foo\\bar\\baz.ext");
+ * assertEquals(parsed, {
+ * root: "C:\\",
+ * dir: "C:\\foo\\bar",
+ * base: "baz.ext",
+ * ext: ".ext",
+ * name: "baz",
+ * });
+ * ```
+ *
+ * @param path The path to parse.
+ * @returns The `ParsedPath` object.
+ */ function parse(path) {
+ assertPath(path);
+ const ret = {
+ root: "",
+ dir: "",
+ base: "",
+ ext: "",
+ name: ""
+ };
+ const len = path.length;
+ if (len === 0) return ret;
+ let rootEnd = 0;
+ let code = path.charCodeAt(0);
+ // Try to match a root
+ if (len > 1) {
+ if (isPathSeparator(code)) {
+ // Possible UNC root
+ rootEnd = 1;
+ if (isPathSeparator(path.charCodeAt(1))) {
+ // Matched double path separator at beginning
+ let j = 2;
+ let last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ // Matched!
+ last = j;
+ // Match 1 or more path separators
+ for(; j < len; ++j){
+ if (!isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ // Matched!
+ last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j === len) {
+ // We matched a UNC root only
+ rootEnd = j;
+ } else if (j !== last) {
+ // We matched a UNC root with leftovers
+ rootEnd = j + 1;
+ }
+ }
+ }
+ }
+ } else if (isWindowsDeviceRoot(code)) {
+ // Possible device root
+ if (path.charCodeAt(1) === CHAR_COLON) {
+ rootEnd = 2;
+ if (len > 2) {
+ if (isPathSeparator(path.charCodeAt(2))) {
+ if (len === 3) {
+ // `path` contains just a drive root, exit early to avoid
+ // unnecessary work
+ ret.root = ret.dir = path;
+ ret.base = "\\";
+ return ret;
+ }
+ rootEnd = 3;
+ }
+ } else {
+ // `path` contains just a relative drive root, exit early to avoid
+ // unnecessary work
+ ret.root = ret.dir = path;
+ return ret;
+ }
+ }
+ }
+ } else if (isPathSeparator(code)) {
+ // `path` contains just a path separator, exit early to avoid
+ // unnecessary work
+ ret.root = ret.dir = path;
+ ret.base = "\\";
+ return ret;
+ }
+ if (rootEnd > 0) ret.root = path.slice(0, rootEnd);
+ let startDot = -1;
+ let startPart = rootEnd;
+ let end = -1;
+ let matchedSlash = true;
+ let i = path.length - 1;
+ // Track the state of characters (if any) we see before our first dot and
+ // after any path separator we find
+ let preDotState = 0;
+ // Get non-dir info
+ for(; i >= rootEnd; --i){
+ code = path.charCodeAt(i);
+ if (isPathSeparator(code)) {
+ // If we reached a path separator that was not part of a set of path
+ // separators at the end of the string, stop now
+ if (!matchedSlash) {
+ startPart = i + 1;
+ break;
+ }
+ continue;
+ }
+ if (end === -1) {
+ // We saw the first non-path separator, mark this as the end of our
+ // extension
+ matchedSlash = false;
+ end = i + 1;
+ }
+ if (code === CHAR_DOT) {
+ // If this is our first dot, mark it as the start of our extension
+ if (startDot === -1) startDot = i;
+ else if (preDotState !== 1) preDotState = 1;
+ } else if (startDot !== -1) {
+ // We saw a non-dot and non-path separator before our dot, so we should
+ // have a good chance at having a non-empty extension
+ preDotState = -1;
+ }
+ }
+ if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot
+ preDotState === 0 || // The (right-most) trimmed path component is exactly '..'
+ preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
+ if (end !== -1) {
+ ret.base = ret.name = path.slice(startPart, end);
+ }
+ } else {
+ ret.name = path.slice(startPart, startDot);
+ ret.base = path.slice(startPart, end);
+ ret.ext = path.slice(startDot, end);
+ }
+ // Fallback to '\' in case there is no basename
+ ret.base = ret.base || "\\";
+ // If the directory is the root, use the entire root as the `dir` including
+ // the trailing slash if any (`C:\abc` -> `C:\`). Otherwise, strip out the
+ // trailing slash (`C:\abc\def` -> `C:\abc`).
+ if (startPart > 0 && startPart !== rootEnd) {
+ ret.dir = path.slice(0, startPart - 1);
+ } else ret.dir = ret.root;
+ return ret;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Resolves path segments into a `path`.
+ *
+ * @example Usage
+ * ```ts
+ * import { resolve } from "@std/path/windows/resolve";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const resolved = resolve("C:\\foo\\bar", "..\\baz");
+ * assertEquals(resolved, "C:\\foo\\baz");
+ * ```
+ *
+ * @param pathSegments The path segments to process to path
+ * @returns The resolved path
+ */ function resolve(...pathSegments) {
+ let resolvedDevice = "";
+ let resolvedTail = "";
+ let resolvedAbsolute = false;
+ for(let i = pathSegments.length - 1; i >= -1; i--){
+ let path;
+ // deno-lint-ignore no-explicit-any
+ const { Deno } = globalThis;
+ if (i >= 0) {
+ path = pathSegments[i];
+ } else if (!resolvedDevice) {
+ if (typeof Deno?.cwd !== "function") {
+ throw new TypeError("Resolved a drive-letter-less path without a current working directory (CWD)");
+ }
+ path = Deno.cwd();
+ } else {
+ if (typeof Deno?.env?.get !== "function" || typeof Deno?.cwd !== "function") {
+ throw new TypeError("Resolved a relative path without a current working directory (CWD)");
+ }
+ path = Deno.cwd();
+ // Verify that a cwd was found and that it actually points
+ // to our drive. If not, default to the drive's root.
+ if (path === undefined || path.slice(0, 3).toLowerCase() !== `${resolvedDevice.toLowerCase()}\\`) {
+ path = `${resolvedDevice}\\`;
+ }
+ }
+ assertPath(path);
+ const len = path.length;
+ // Skip empty entries
+ if (len === 0) continue;
+ let rootEnd = 0;
+ let device = "";
+ let isAbsolute = false;
+ const code = path.charCodeAt(0);
+ // Try to match a root
+ if (len > 1) {
+ if (isPathSeparator(code)) {
+ // Possible UNC root
+ // If we started with a separator, we know we at least have an
+ // absolute path of some kind (UNC or otherwise)
+ isAbsolute = true;
+ if (isPathSeparator(path.charCodeAt(1))) {
+ // Matched double path separator at beginning
+ let j = 2;
+ let last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ const firstPart = path.slice(last, j);
+ // Matched!
+ last = j;
+ // Match 1 or more path separators
+ for(; j < len; ++j){
+ if (!isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j < len && j !== last) {
+ // Matched!
+ last = j;
+ // Match 1 or more non-path separators
+ for(; j < len; ++j){
+ if (isPathSeparator(path.charCodeAt(j))) break;
+ }
+ if (j === len) {
+ // We matched a UNC root only
+ device = `\\\\${firstPart}\\${path.slice(last)}`;
+ rootEnd = j;
+ } else if (j !== last) {
+ // We matched a UNC root with leftovers
+ device = `\\\\${firstPart}\\${path.slice(last, j)}`;
+ rootEnd = j;
+ }
+ }
+ }
+ } else {
+ rootEnd = 1;
+ }
+ } else if (isWindowsDeviceRoot(code)) {
+ // Possible device root
+ if (path.charCodeAt(1) === CHAR_COLON) {
+ device = path.slice(0, 2);
+ rootEnd = 2;
+ if (len > 2) {
+ if (isPathSeparator(path.charCodeAt(2))) {
+ // Treat separator following drive name as an absolute path
+ // indicator
+ isAbsolute = true;
+ rootEnd = 3;
+ }
+ }
+ }
+ }
+ } else if (isPathSeparator(code)) {
+ // `path` contains just a path separator
+ rootEnd = 1;
+ isAbsolute = true;
+ }
+ if (device.length > 0 && resolvedDevice.length > 0 && device.toLowerCase() !== resolvedDevice.toLowerCase()) {
+ continue;
+ }
+ if (resolvedDevice.length === 0 && device.length > 0) {
+ resolvedDevice = device;
+ }
+ if (!resolvedAbsolute) {
+ resolvedTail = `${path.slice(rootEnd)}\\${resolvedTail}`;
+ resolvedAbsolute = isAbsolute;
+ }
+ if (resolvedAbsolute && resolvedDevice.length > 0) break;
+ }
+ // At this point the path should be resolved to a full absolute path,
+ // but handle relative paths to be safe (might happen when Deno.cwd()
+ // fails)
+ // Normalize the tail path
+ resolvedTail = normalizeString(resolvedTail, !resolvedAbsolute, "\\", isPathSeparator);
+ return resolvedDevice + (resolvedAbsolute ? "\\" : "") + resolvedTail || ".";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function assertArgs(from, to) {
+ assertPath(from);
+ assertPath(to);
+ if (from === to) return "";
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Return the relative path from `from` to `to` based on current working directory.
+ *
+ * An example in windws, for instance:
+ * from = 'C:\\orandea\\test\\aaa'
+ * to = 'C:\\orandea\\impl\\bbb'
+ * The output of the function should be: '..\\..\\impl\\bbb'
+ *
+ * @example Usage
+ * ```ts
+ * import { relative } from "@std/path/windows/relative";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const relativePath = relative("C:\\foobar\\test\\aaa", "C:\\foobar\\impl\\bbb");
+ * assertEquals(relativePath, "..\\..\\impl\\bbb");
+ * ```
+ *
+ * @param from The path from which to calculate the relative path
+ * @param to The path to which to calculate the relative path
+ * @returns The relative path from `from` to `to`
+ */ function relative(from, to) {
+ assertArgs(from, to);
+ const fromOrig = resolve(from);
+ const toOrig = resolve(to);
+ if (fromOrig === toOrig) return "";
+ from = fromOrig.toLowerCase();
+ to = toOrig.toLowerCase();
+ if (from === to) return "";
+ // Trim any leading backslashes
+ let fromStart = 0;
+ let fromEnd = from.length;
+ for(; fromStart < fromEnd; ++fromStart){
+ if (from.charCodeAt(fromStart) !== CHAR_BACKWARD_SLASH) break;
+ }
+ // Trim trailing backslashes (applicable to UNC paths only)
+ for(; fromEnd - 1 > fromStart; --fromEnd){
+ if (from.charCodeAt(fromEnd - 1) !== CHAR_BACKWARD_SLASH) break;
+ }
+ const fromLen = fromEnd - fromStart;
+ // Trim any leading backslashes
+ let toStart = 0;
+ let toEnd = to.length;
+ for(; toStart < toEnd; ++toStart){
+ if (to.charCodeAt(toStart) !== CHAR_BACKWARD_SLASH) break;
+ }
+ // Trim trailing backslashes (applicable to UNC paths only)
+ for(; toEnd - 1 > toStart; --toEnd){
+ if (to.charCodeAt(toEnd - 1) !== CHAR_BACKWARD_SLASH) break;
+ }
+ const toLen = toEnd - toStart;
+ // Compare paths to find the longest common path from root
+ const length = fromLen < toLen ? fromLen : toLen;
+ let lastCommonSep = -1;
+ let i = 0;
+ for(; i <= length; ++i){
+ if (i === length) {
+ if (toLen > length) {
+ if (to.charCodeAt(toStart + i) === CHAR_BACKWARD_SLASH) {
+ // We get here if `from` is the exact base path for `to`.
+ // For example: from='C:\\foo\\bar'; to='C:\\foo\\bar\\baz'
+ return toOrig.slice(toStart + i + 1);
+ } else if (i === 2) {
+ // We get here if `from` is the device root.
+ // For example: from='C:\\'; to='C:\\foo'
+ return toOrig.slice(toStart + i);
+ }
+ }
+ if (fromLen > length) {
+ if (from.charCodeAt(fromStart + i) === CHAR_BACKWARD_SLASH) {
+ // We get here if `to` is the exact base path for `from`.
+ // For example: from='C:\\foo\\bar'; to='C:\\foo'
+ lastCommonSep = i;
+ } else if (i === 2) {
+ // We get here if `to` is the device root.
+ // For example: from='C:\\foo\\bar'; to='C:\\'
+ lastCommonSep = 3;
+ }
+ }
+ break;
+ }
+ const fromCode = from.charCodeAt(fromStart + i);
+ const toCode = to.charCodeAt(toStart + i);
+ if (fromCode !== toCode) break;
+ else if (fromCode === CHAR_BACKWARD_SLASH) lastCommonSep = i;
+ }
+ // We found a mismatch before the first common path separator was seen, so
+ // return the original `to`.
+ if (i !== length && lastCommonSep === -1) {
+ return toOrig;
+ }
+ let out = "";
+ if (lastCommonSep === -1) lastCommonSep = 0;
+ // Generate the relative path based on the path difference between `to` and
+ // `from`
+ for(i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i){
+ if (i === fromEnd || from.charCodeAt(i) === CHAR_BACKWARD_SLASH) {
+ if (out.length === 0) out += "..";
+ else out += "\\..";
+ }
+ }
+ // Lastly, append the rest of the destination (`to`) path that comes after
+ // the common path parts
+ if (out.length > 0) {
+ return out + toOrig.slice(toStart + lastCommonSep, toEnd);
+ } else {
+ toStart += lastCommonSep;
+ if (toOrig.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) ++toStart;
+ return toOrig.slice(toStart, toEnd);
+ }
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+const WHITESPACE_ENCODINGS = {
+ "\u0009": "%09",
+ "\u000A": "%0A",
+ "\u000B": "%0B",
+ "\u000C": "%0C",
+ "\u000D": "%0D",
+ "\u0020": "%20"
+};
+function encodeWhitespace(string) {
+ return string.replaceAll(/[\s]/g, (c)=>{
+ return WHITESPACE_ENCODINGS[c] ?? c;
+ });
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Converts a path string to a file URL.
+ *
+ * @example Usage
+ * ```ts
+ * import { toFileUrl } from "@std/path/windows/to-file-url";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(toFileUrl("\\home\\foo"), new URL("file:///home/foo"));
+ * assertEquals(toFileUrl("C:\\Users\\foo"), new URL("file:///C:/Users/foo"));
+ * assertEquals(toFileUrl("\\\\127.0.0.1\\home\\foo"), new URL("file://127.0.0.1/home/foo"));
+ * ```
+ * @param path The path to convert.
+ * @returns The file URL.
+ */ function toFileUrl(path) {
+ if (!isAbsolute(path)) {
+ throw new TypeError(`Path must be absolute: received "${path}"`);
+ }
+ const [, hostname, pathname] = path.match(/^(?:[/\\]{2}([^/\\]+)(?=[/\\](?:[^/\\]|$)))?(.*)/);
+ const url = new URL("file:///");
+ url.pathname = encodeWhitespace(pathname.replace(/%/g, "%25"));
+ if (hostname !== undefined && hostname !== "localhost") {
+ url.hostname = hostname;
+ if (!url.hostname) {
+ throw new TypeError(`Invalid hostname: "${url.hostname}"`);
+ }
+ }
+ return url;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Resolves path to a namespace path
+ *
+ * @example Usage
+ * ```ts
+ * import { toNamespacedPath } from "@std/path/windows/to-namespaced-path";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const namespaced = toNamespacedPath("C:\\foo\\bar");
+ * assertEquals(namespaced, "\\\\?\\C:\\foo\\bar");
+ * ```
+ *
+ * @param path The path to resolve to namespaced path
+ * @returns The resolved namespaced path
+ */ function toNamespacedPath(path) {
+ // Note: this will *probably* throw somewhere.
+ if (typeof path !== "string") return path;
+ if (path.length === 0) return "";
+ const resolvedPath = resolve(path);
+ if (resolvedPath.length >= 3) {
+ if (resolvedPath.charCodeAt(0) === CHAR_BACKWARD_SLASH) {
+ // Possible UNC root
+ if (resolvedPath.charCodeAt(1) === CHAR_BACKWARD_SLASH) {
+ const code = resolvedPath.charCodeAt(2);
+ if (code !== CHAR_QUESTION_MARK && code !== CHAR_DOT) {
+ // Matched non-long UNC root, convert the path to a long UNC path
+ return `\\\\?\\UNC\\${resolvedPath.slice(2)}`;
+ }
+ }
+ } else if (isWindowsDeviceRoot(resolvedPath.charCodeAt(0))) {
+ // Possible device root
+ if (resolvedPath.charCodeAt(1) === CHAR_COLON && resolvedPath.charCodeAt(2) === CHAR_BACKWARD_SLASH) {
+ // Matched device root, convert the path to a long UNC path
+ return `\\\\?\\${resolvedPath}`;
+ }
+ }
+ }
+ return path;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+function common$1(paths, sep) {
+ const [first = "", ...remaining] = paths;
+ const parts = first.split(sep);
+ let endOfPrefix = parts.length;
+ let append = "";
+ for (const path of remaining){
+ const compare = path.split(sep);
+ if (compare.length <= endOfPrefix) {
+ endOfPrefix = compare.length;
+ append = "";
+ }
+ for(let i = 0; i < endOfPrefix; i++){
+ if (compare[i] !== parts[i]) {
+ endOfPrefix = i;
+ append = i === 0 ? "" : sep;
+ break;
+ }
+ }
+ }
+ return parts.slice(0, endOfPrefix).join(sep) + append;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Determines the common path from a set of paths for Windows systems.
+ *
+ * @example Usage
+ * ```ts
+ * import { common } from "@std/path/windows/common";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const path = common([
+ * "C:\\foo\\bar",
+ * "C:\\foo\\baz",
+ * ]);
+ * assertEquals(path, "C:\\foo\\");
+ * ```
+ *
+ * @param paths The paths to compare.
+ * @returns The common path.
+ */ function common(paths) {
+ return common$1(paths, SEPARATOR);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Options for {@linkcode globToRegExp}, {@linkcode joinGlobs},
+ * {@linkcode normalizeGlob} and {@linkcode expandGlob}.
+ */ const REG_EXP_ESCAPE_CHARS = [
+ "!",
+ "$",
+ "(",
+ ")",
+ "*",
+ "+",
+ ".",
+ "=",
+ "?",
+ "[",
+ "\\",
+ "^",
+ "{",
+ "|"
+];
+const RANGE_ESCAPE_CHARS = [
+ "-",
+ "\\",
+ "]"
+];
+function _globToRegExp(c, glob, { extended = true, globstar: globstarOption = true, // os = osType,
+caseInsensitive = false } = {}) {
+ if (glob === "") {
+ return /(?!)/;
+ }
+ // Remove trailing separators.
+ let newLength = glob.length;
+ for(; newLength > 1 && c.seps.includes(glob[newLength - 1]); newLength--);
+ glob = glob.slice(0, newLength);
+ let regExpString = "";
+ // Terminates correctly. Trust that `j` is incremented every iteration.
+ for(let j = 0; j < glob.length;){
+ let segment = "";
+ const groupStack = [];
+ let inRange = false;
+ let inEscape = false;
+ let endsWithSep = false;
+ let i = j;
+ // Terminates with `i` at the non-inclusive end of the current segment.
+ for(; i < glob.length && !c.seps.includes(glob[i]); i++){
+ if (inEscape) {
+ inEscape = false;
+ const escapeChars = inRange ? RANGE_ESCAPE_CHARS : REG_EXP_ESCAPE_CHARS;
+ segment += escapeChars.includes(glob[i]) ? `\\${glob[i]}` : glob[i];
+ continue;
+ }
+ if (glob[i] === c.escapePrefix) {
+ inEscape = true;
+ continue;
+ }
+ if (glob[i] === "[") {
+ if (!inRange) {
+ inRange = true;
+ segment += "[";
+ if (glob[i + 1] === "!") {
+ i++;
+ segment += "^";
+ } else if (glob[i + 1] === "^") {
+ i++;
+ segment += "\\^";
+ }
+ continue;
+ } else if (glob[i + 1] === ":") {
+ let k = i + 1;
+ let value = "";
+ while(glob[k + 1] !== undefined && glob[k + 1] !== ":"){
+ value += glob[k + 1];
+ k++;
+ }
+ if (glob[k + 1] === ":" && glob[k + 2] === "]") {
+ i = k + 2;
+ if (value === "alnum") segment += "\\dA-Za-z";
+ else if (value === "alpha") segment += "A-Za-z";
+ else if (value === "ascii") segment += "\x00-\x7F";
+ else if (value === "blank") segment += "\t ";
+ else if (value === "cntrl") segment += "\x00-\x1F\x7F";
+ else if (value === "digit") segment += "\\d";
+ else if (value === "graph") segment += "\x21-\x7E";
+ else if (value === "lower") segment += "a-z";
+ else if (value === "print") segment += "\x20-\x7E";
+ else if (value === "punct") {
+ segment += "!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~";
+ } else if (value === "space") segment += "\\s\v";
+ else if (value === "upper") segment += "A-Z";
+ else if (value === "word") segment += "\\w";
+ else if (value === "xdigit") segment += "\\dA-Fa-f";
+ continue;
+ }
+ }
+ }
+ if (glob[i] === "]" && inRange) {
+ inRange = false;
+ segment += "]";
+ continue;
+ }
+ if (inRange) {
+ segment += glob[i];
+ continue;
+ }
+ if (glob[i] === ")" && groupStack.length > 0 && groupStack[groupStack.length - 1] !== "BRACE") {
+ segment += ")";
+ const type = groupStack.pop();
+ if (type === "!") {
+ segment += c.wildcard;
+ } else if (type !== "@") {
+ segment += type;
+ }
+ continue;
+ }
+ if (glob[i] === "|" && groupStack.length > 0 && groupStack[groupStack.length - 1] !== "BRACE") {
+ segment += "|";
+ continue;
+ }
+ if (glob[i] === "+" && extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("+");
+ segment += "(?:";
+ continue;
+ }
+ if (glob[i] === "@" && extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("@");
+ segment += "(?:";
+ continue;
+ }
+ if (glob[i] === "?") {
+ if (extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("?");
+ segment += "(?:";
+ } else {
+ segment += ".";
+ }
+ continue;
+ }
+ if (glob[i] === "!" && extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("!");
+ segment += "(?!";
+ continue;
+ }
+ if (glob[i] === "{") {
+ groupStack.push("BRACE");
+ segment += "(?:";
+ continue;
+ }
+ if (glob[i] === "}" && groupStack[groupStack.length - 1] === "BRACE") {
+ groupStack.pop();
+ segment += ")";
+ continue;
+ }
+ if (glob[i] === "," && groupStack[groupStack.length - 1] === "BRACE") {
+ segment += "|";
+ continue;
+ }
+ if (glob[i] === "*") {
+ if (extended && glob[i + 1] === "(") {
+ i++;
+ groupStack.push("*");
+ segment += "(?:";
+ } else {
+ const prevChar = glob[i - 1];
+ let numStars = 1;
+ while(glob[i + 1] === "*"){
+ i++;
+ numStars++;
+ }
+ const nextChar = glob[i + 1];
+ if (globstarOption && numStars === 2 && [
+ ...c.seps,
+ undefined
+ ].includes(prevChar) && [
+ ...c.seps,
+ undefined
+ ].includes(nextChar)) {
+ segment += c.globstar;
+ endsWithSep = true;
+ } else {
+ segment += c.wildcard;
+ }
+ }
+ continue;
+ }
+ segment += REG_EXP_ESCAPE_CHARS.includes(glob[i]) ? `\\${glob[i]}` : glob[i];
+ }
+ // Check for unclosed groups or a dangling backslash.
+ if (groupStack.length > 0 || inRange || inEscape) {
+ // Parse failure. Take all characters from this segment literally.
+ segment = "";
+ for (const c of glob.slice(j, i)){
+ segment += REG_EXP_ESCAPE_CHARS.includes(c) ? `\\${c}` : c;
+ endsWithSep = false;
+ }
+ }
+ regExpString += segment;
+ if (!endsWithSep) {
+ regExpString += i < glob.length ? c.sep : c.sepMaybe;
+ endsWithSep = true;
+ }
+ // Terminates with `i` at the start of the next segment.
+ while(c.seps.includes(glob[i]))i++;
+ j = i;
+ }
+ regExpString = `^${regExpString}$`;
+ return new RegExp(regExpString, caseInsensitive ? "i" : "");
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+const constants = {
+ sep: "(?:\\\\|/)+",
+ sepMaybe: "(?:\\\\|/)*",
+ seps: [
+ "\\",
+ "/"
+ ],
+ globstar: "(?:[^\\\\/]*(?:\\\\|/|$)+)*",
+ wildcard: "[^\\\\/]*",
+ escapePrefix: "`"
+};
+/** Convert a glob string to a regular expression.
+ *
+ * Tries to match bash glob expansion as closely as possible.
+ *
+ * Basic glob syntax:
+ * - `*` - Matches everything without leaving the path segment.
+ * - `?` - Matches any single character.
+ * - `{foo,bar}` - Matches `foo` or `bar`.
+ * - `[abcd]` - Matches `a`, `b`, `c` or `d`.
+ * - `[a-d]` - Matches `a`, `b`, `c` or `d`.
+ * - `[!abcd]` - Matches any single character besides `a`, `b`, `c` or `d`.
+ * - `[[::]]` - Matches any character belonging to ``.
+ * - `[[:alnum:]]` - Matches any digit or letter.
+ * - `[[:digit:]abc]` - Matches any digit, `a`, `b` or `c`.
+ * - See https://facelessuser.github.io/wcmatch/glob/#posix-character-classes
+ * for a complete list of supported character classes.
+ * - `\` - Escapes the next character for an `os` other than `"windows"`.
+ * - \` - Escapes the next character for `os` set to `"windows"`.
+ * - `/` - Path separator.
+ * - `\` - Additional path separator only for `os` set to `"windows"`.
+ *
+ * Extended syntax:
+ * - Requires `{ extended: true }`.
+ * - `?(foo|bar)` - Matches 0 or 1 instance of `{foo,bar}`.
+ * - `@(foo|bar)` - Matches 1 instance of `{foo,bar}`. They behave the same.
+ * - `*(foo|bar)` - Matches _n_ instances of `{foo,bar}`.
+ * - `+(foo|bar)` - Matches _n > 0_ instances of `{foo,bar}`.
+ * - `!(foo|bar)` - Matches anything other than `{foo,bar}`.
+ * - See https://www.linuxjournal.com/content/bash-extended-globbing.
+ *
+ * Globstar syntax:
+ * - Requires `{ globstar: true }`.
+ * - `**` - Matches any number of any path segments.
+ * - Must comprise its entire path segment in the provided glob.
+ * - See https://www.linuxjournal.com/content/globstar-new-bash-globbing-option.
+ *
+ * Note the following properties:
+ * - The generated `RegExp` is anchored at both start and end.
+ * - Repeating and trailing separators are tolerated. Trailing separators in the
+ * provided glob have no meaning and are discarded.
+ * - Absolute globs will only match absolute paths, etc.
+ * - Empty globs will match nothing.
+ * - Any special glob syntax must be contained to one path segment. For example,
+ * `?(foo|bar/baz)` is invalid. The separator will take precedence and the
+ * first segment ends with an unclosed group.
+ * - If a path segment ends with unclosed groups or a dangling escape prefix, a
+ * parse error has occurred. Every character for that segment is taken
+ * literally in this event.
+ *
+ * Limitations:
+ * - A negative group like `!(foo|bar)` will wrongly be converted to a negative
+ * look-ahead followed by a wildcard. This means that `!(foo).js` will wrongly
+ * fail to match `foobar.js`, even though `foobar` is not `foo`. Effectively,
+ * `!(foo|bar)` is treated like `!(@(foo|bar)*)`. This will work correctly if
+ * the group occurs not nested at the end of the segment.
+ *
+ * @example Usage
+ * ```ts
+ * import { globToRegExp } from "@std/path/windows/glob-to-regexp";
+ * import { assertEquals } from "@std/assert";
+ *
+ * assertEquals(globToRegExp("*.js"), /^[^\\/]*\.js(?:\\|\/)*$/);
+ * ```
+ *
+ * @param glob Glob string to convert.
+ * @param options Conversion options.
+ * @returns The regular expression equivalent to the glob.
+ */ function globToRegExp(glob, options = {}) {
+ return _globToRegExp(constants, glob, options);
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Test whether the given string is a glob.
+ *
+ * @example Usage
+ * ```ts
+ * import { isGlob } from "@std/path/is-glob";
+ * import { assert } from "@std/assert";
+ *
+ * assert(!isGlob("foo/bar/../baz"));
+ * assert(isGlob("foo/*ar/../baz"));
+ * ```
+ *
+ * @param str String to test.
+ * @returns `true` if the given string is a glob, otherwise `false`
+ */ function isGlob(str) {
+ const chars = {
+ "{": "}",
+ "(": ")",
+ "[": "]"
+ };
+ const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;
+ if (str === "") {
+ return false;
+ }
+ let match;
+ while(match = regex.exec(str)){
+ if (match[2]) return true;
+ let idx = match.index + match[0].length;
+ // if an open bracket/brace/paren is escaped,
+ // set the index to the next closing character
+ const open = match[1];
+ const close = open ? chars[open] : null;
+ if (open && close) {
+ const n = str.indexOf(close, idx);
+ if (n !== -1) {
+ idx = n + 1;
+ }
+ }
+ str = str.slice(idx);
+ }
+ return false;
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Like normalize(), but doesn't collapse "**\/.." when `globstar` is true.
+ *
+ * @example Usage
+ * ```ts
+ * import { normalizeGlob } from "@std/path/windows/normalize-glob";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const normalized = normalizeGlob("**\\foo\\..\\bar", { globstar: true });
+ * assertEquals(normalized, "**\\bar");
+ * ```
+ *
+ * @param glob The glob pattern to normalize.
+ * @param options The options for glob pattern.
+ * @returns The normalized glob pattern.
+ */ function normalizeGlob(glob, { globstar = false } = {}) {
+ if (glob.match(/\0/g)) {
+ throw new Error(`Glob contains invalid characters: "${glob}"`);
+ }
+ if (!globstar) {
+ return normalize(glob);
+ }
+ const s = SEPARATOR_PATTERN.source;
+ const badParentPattern = new RegExp(`(?<=(${s}|^)\\*\\*${s})\\.\\.(?=${s}|$)`, "g");
+ return normalize(glob.replace(badParentPattern, "\0")).replace(/\0/g, "..");
+}
+
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// This module is browser compatible.
+/**
+ * Like join(), but doesn't collapse "**\/.." when `globstar` is true.
+ *
+ * @example Usage
+ *
+ * ```ts
+ * import { joinGlobs } from "@std/path/windows/join-globs";
+ * import { assertEquals } from "@std/assert";
+ *
+ * const joined = joinGlobs(["foo", "**", "bar"], { globstar: true });
+ * assertEquals(joined, "foo\\**\\bar");
+ * ```
+ *
+ * @param globs The globs to join.
+ * @param options The options for glob pattern.
+ * @returns The joined glob pattern.
+ */ function joinGlobs(globs, { extended = true, globstar = false } = {}) {
+ if (!globstar || globs.length === 0) {
+ return join(...globs);
+ }
+ let joined;
+ for (const glob of globs){
+ const path = glob;
+ if (path.length > 0) {
+ if (!joined) joined = path;
+ else joined += `${SEPARATOR}${path}`;
+ }
+ }
+ if (!joined) return ".";
+ return normalizeGlob(joined, {
+ extended,
+ globstar
+ });
+}
+
+export { DELIMITER, SEPARATOR, SEPARATOR_PATTERN, basename, common, dirname, extname, format, fromFileUrl, globToRegExp, isAbsolute, isGlob, join, joinGlobs, normalize, normalizeGlob, parse, relative, resolve, toFileUrl, toNamespacedPath };
diff --git a/node_modules/@eslint/config-array/dist/esm/types.d.ts b/node_modules/@eslint/config-array/dist/esm/types.d.ts
new file mode 100644
index 00000000..a495d940
--- /dev/null
+++ b/node_modules/@eslint/config-array/dist/esm/types.d.ts
@@ -0,0 +1,19 @@
+/**
+ * @fileoverview Types for the config-array package.
+ * @author Nicholas C. Zakas
+ */
+export interface ConfigObject {
+ /**
+ * The files to include.
+ */
+ files?: string[];
+ /**
+ * The files to exclude.
+ */
+ ignores?: string[];
+ /**
+ * The name of the config object.
+ */
+ name?: string;
+ [key: string]: unknown;
+}
diff --git a/node_modules/@eslint/config-array/dist/esm/types.ts b/node_modules/@eslint/config-array/dist/esm/types.ts
new file mode 100644
index 00000000..1af40113
--- /dev/null
+++ b/node_modules/@eslint/config-array/dist/esm/types.ts
@@ -0,0 +1,24 @@
+/**
+ * @fileoverview Types for the config-array package.
+ * @author Nicholas C. Zakas
+ */
+
+export interface ConfigObject {
+ /**
+ * The files to include.
+ */
+ files?: string[];
+
+ /**
+ * The files to exclude.
+ */
+ ignores?: string[];
+
+ /**
+ * The name of the config object.
+ */
+ name?: string;
+
+ // may also have any number of other properties
+ [key: string]: unknown;
+}
diff --git a/node_modules/@humanwhocodes/config-array/node_modules/brace-expansion/LICENSE b/node_modules/@eslint/config-array/node_modules/brace-expansion/LICENSE
similarity index 100%
rename from node_modules/@humanwhocodes/config-array/node_modules/brace-expansion/LICENSE
rename to node_modules/@eslint/config-array/node_modules/brace-expansion/LICENSE
diff --git a/node_modules/@humanwhocodes/config-array/node_modules/brace-expansion/README.md b/node_modules/@eslint/config-array/node_modules/brace-expansion/README.md
similarity index 100%
rename from node_modules/@humanwhocodes/config-array/node_modules/brace-expansion/README.md
rename to node_modules/@eslint/config-array/node_modules/brace-expansion/README.md
diff --git a/node_modules/@humanwhocodes/config-array/node_modules/brace-expansion/index.js b/node_modules/@eslint/config-array/node_modules/brace-expansion/index.js
similarity index 100%
rename from node_modules/@humanwhocodes/config-array/node_modules/brace-expansion/index.js
rename to node_modules/@eslint/config-array/node_modules/brace-expansion/index.js
diff --git a/node_modules/@humanwhocodes/config-array/node_modules/brace-expansion/package.json b/node_modules/@eslint/config-array/node_modules/brace-expansion/package.json
similarity index 100%
rename from node_modules/@humanwhocodes/config-array/node_modules/brace-expansion/package.json
rename to node_modules/@eslint/config-array/node_modules/brace-expansion/package.json
diff --git a/node_modules/@humanwhocodes/config-array/node_modules/minimatch/LICENSE b/node_modules/@eslint/config-array/node_modules/minimatch/LICENSE
similarity index 100%
rename from node_modules/@humanwhocodes/config-array/node_modules/minimatch/LICENSE
rename to node_modules/@eslint/config-array/node_modules/minimatch/LICENSE
diff --git a/node_modules/@humanwhocodes/config-array/node_modules/minimatch/README.md b/node_modules/@eslint/config-array/node_modules/minimatch/README.md
similarity index 100%
rename from node_modules/@humanwhocodes/config-array/node_modules/minimatch/README.md
rename to node_modules/@eslint/config-array/node_modules/minimatch/README.md
diff --git a/node_modules/@humanwhocodes/config-array/node_modules/minimatch/minimatch.js b/node_modules/@eslint/config-array/node_modules/minimatch/minimatch.js
similarity index 100%
rename from node_modules/@humanwhocodes/config-array/node_modules/minimatch/minimatch.js
rename to node_modules/@eslint/config-array/node_modules/minimatch/minimatch.js
diff --git a/node_modules/@humanwhocodes/config-array/node_modules/minimatch/package.json b/node_modules/@eslint/config-array/node_modules/minimatch/package.json
similarity index 100%
rename from node_modules/@humanwhocodes/config-array/node_modules/minimatch/package.json
rename to node_modules/@eslint/config-array/node_modules/minimatch/package.json
diff --git a/node_modules/@eslint/config-array/package.json b/node_modules/@eslint/config-array/package.json
new file mode 100644
index 00000000..299906b6
--- /dev/null
+++ b/node_modules/@eslint/config-array/package.json
@@ -0,0 +1,66 @@
+{
+ "name": "@eslint/config-array",
+ "version": "0.19.0",
+ "description": "General purpose glob-based configuration matching.",
+ "author": "Nicholas C. Zakas",
+ "type": "module",
+ "main": "dist/esm/index.js",
+ "types": "dist/esm/index.d.ts",
+ "exports": {
+ "require": {
+ "types": "./dist/cjs/index.d.cts",
+ "default": "./dist/cjs/index.cjs"
+ },
+ "import": {
+ "types": "./dist/esm/index.d.ts",
+ "default": "./dist/esm/index.js"
+ }
+ },
+ "files": [
+ "dist"
+ ],
+ "publishConfig": {
+ "access": "public"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/eslint/rewrite.git"
+ },
+ "bugs": {
+ "url": "https://github.com/eslint/rewrite/issues"
+ },
+ "homepage": "https://github.com/eslint/rewrite#readme",
+ "scripts": {
+ "build:dedupe-types": "node ../../tools/dedupe-types.js dist/cjs/index.cjs dist/esm/index.js",
+ "build:cts": "node -e \"fs.copyFileSync('dist/esm/index.d.ts', 'dist/cjs/index.d.cts')\"",
+ "build:std__path": "rollup -c rollup.std__path-config.js && node fix-std__path-imports",
+ "build": "rollup -c && npm run build:dedupe-types && tsc -p tsconfig.esm.json && npm run build:cts && npm run build:std__path",
+ "test:jsr": "npx jsr@latest publish --dry-run",
+ "pretest": "npm run build",
+ "test": "mocha tests/",
+ "test:coverage": "c8 npm test"
+ },
+ "keywords": [
+ "configuration",
+ "configarray",
+ "config file"
+ ],
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/object-schema": "^2.1.4",
+ "debug": "^4.3.1",
+ "minimatch": "^3.1.2"
+ },
+ "devDependencies": {
+ "@jsr/std__path": "^1.0.4",
+ "@types/minimatch": "^3.0.5",
+ "c8": "^9.1.0",
+ "mocha": "^10.4.0",
+ "rollup": "^4.16.2",
+ "rollup-plugin-copy": "^3.5.0",
+ "typescript": "^5.4.5"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+}
diff --git a/node_modules/@eslint/core/LICENSE b/node_modules/@eslint/core/LICENSE
new file mode 100644
index 00000000..261eeb9e
--- /dev/null
+++ b/node_modules/@eslint/core/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/node_modules/@eslint/core/README.md b/node_modules/@eslint/core/README.md
new file mode 100644
index 00000000..6a2576f5
--- /dev/null
+++ b/node_modules/@eslint/core/README.md
@@ -0,0 +1,29 @@
+# ESLint Core
+
+## Overview
+
+This package is the future home of the rewritten, runtime-agnostic ESLint core.
+
+Right now, it exports the core types necessary to implement language plugins.
+
+## License
+
+Apache 2.0
+
+
+
+
+## Sponsors
+
+The following companies, organizations, and individuals support ESLint's ongoing maintenance and development. [Become a Sponsor](https://eslint.org/donate)
+to get your logo on our READMEs and [website](https://eslint.org/sponsors).
+
+
Platinum Sponsors
+
Gold Sponsors
+
Silver Sponsors
+
Bronze Sponsors
+
+
Technology Sponsors
+Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.
+
+
diff --git a/node_modules/@eslint/core/dist/cjs/types.d.cts b/node_modules/@eslint/core/dist/cjs/types.d.cts
new file mode 100644
index 00000000..4ec26b9c
--- /dev/null
+++ b/node_modules/@eslint/core/dist/cjs/types.d.cts
@@ -0,0 +1,735 @@
+/**
+ * @fileoverview Shared types for ESLint Core.
+ */
+import { JSONSchema4 } from "json-schema";
+/**
+ * Represents an error inside of a file.
+ */
+export interface FileError {
+ message: string;
+ line: number;
+ column: number;
+ endLine?: number;
+ endColumn?: number;
+}
+/**
+ * Represents a problem found in a file.
+ */
+export interface FileProblem {
+ ruleId: string | null;
+ message: string;
+ loc: SourceLocation;
+}
+/**
+ * Represents the start and end coordinates of a node inside the source.
+ */
+export interface SourceLocation {
+ start: Position;
+ end: Position;
+}
+/**
+ * Represents the start and end coordinates of a node inside the source with an offset.
+ */
+export interface SourceLocationWithOffset {
+ start: PositionWithOffset;
+ end: PositionWithOffset;
+}
+/**
+ * Represents a location coordinate inside the source. ESLint-style formats
+ * have just `line` and `column` while others may have `offset` as well.
+ */
+export interface Position {
+ line: number;
+ column: number;
+}
+/**
+ * Represents a location coordinate inside the source with an offset.
+ */
+export interface PositionWithOffset extends Position {
+ offset: number;
+}
+/**
+ * Represents a range of characters in the source.
+ */
+export type SourceRange = [number, number];
+/**
+ * What the rule is responsible for finding:
+ * - `problem` means the rule has noticed a potential error.
+ * - `suggestion` means the rule suggests an alternate or better approach.
+ * - `layout` means the rule is looking at spacing, indentation, etc.
+ */
+export type RuleType = "problem" | "suggestion" | "layout";
+/**
+ * The type of fix the rule can provide:
+ * - `code` means the rule can fix syntax.
+ * - `whitespace` means the rule can fix spacing and indentation.
+ */
+export type RuleFixType = "code" | "whitespace";
+/**
+ * An object containing visitor information for a rule. Each method is either the
+ * name of a node type or a selector, or is a method that will be called at specific
+ * times during the traversal.
+ */
+export interface RuleVisitor {
+ /**
+ * Called for each node in the AST or at specific times during the traversal.
+ */
+ [key: string]: (...args: any[]) => void;
+}
+/**
+ * Rule meta information used for documentation.
+ */
+export interface RulesMetaDocs {
+ /**
+ * A short description of the rule.
+ */
+ description?: string | undefined;
+ /**
+ * The URL to the documentation for the rule.
+ */
+ url?: string | undefined;
+ /**
+ * The category the rule falls under.
+ * @deprecated No longer used.
+ */
+ category?: string | undefined;
+ /**
+ * Indicates if the rule is generally recommended for all users.
+ */
+ recommended?: boolean | undefined;
+}
+/**
+ * Meta information about a rule.
+ */
+export interface RulesMeta {
+ /**
+ * Properties that are used when documenting the rule.
+ */
+ docs?: (RulesMetaDocs & ExtRuleDocs) | undefined;
+ /**
+ * The type of rule.
+ */
+ type?: RuleType | undefined;
+ /**
+ * The schema for the rule options. Required if the rule has options.
+ */
+ schema?: JSONSchema4 | JSONSchema4[] | false | undefined;
+ /**
+ * The messages that the rule can report.
+ */
+ messages?: Record;
+ /**
+ * The deprecated rules for the rule.
+ */
+ deprecated?: boolean | undefined;
+ /**
+ * When a rule is deprecated, indicates the rule ID(s) that should be used instead.
+ */
+ replacedBy?: string[] | undefined;
+ /**
+ * Indicates if the rule is fixable, and if so, what type of fix it provides.
+ */
+ fixable?: RuleFixType | undefined;
+ /**
+ * Indicates if the rule may provide suggestions.
+ */
+ hasSuggestions?: boolean | undefined;
+}
+/**
+ * Generic type for `RuleContext`.
+ */
+export interface RuleContextTypeOptions {
+ LangOptions: LanguageOptions;
+ Code: SourceCode;
+ RuleOptions: unknown[];
+ Node: unknown;
+}
+/**
+ * Represents the context object that is passed to a rule. This object contains
+ * information about the current state of the linting process and is the rule's
+ * view into the outside world.
+ */
+export interface RuleContext {
+ /**
+ * The current working directory for the session.
+ */
+ cwd: string;
+ /**
+ * Returns the current working directory for the session.
+ * @deprecated Use `cwd` instead.
+ */
+ getCwd(): string;
+ /**
+ * The filename of the file being linted.
+ */
+ filename: string;
+ /**
+ * Returns the filename of the file being linted.
+ * @deprecated Use `filename` instead.
+ */
+ getFilename(): string;
+ /**
+ * The physical filename of the file being linted.
+ */
+ physicalFilename: string;
+ /**
+ * Returns the physical filename of the file being linted.
+ * @deprecated Use `physicalFilename` instead.
+ */
+ getPhysicalFilename(): string;
+ /**
+ * The source code object that the rule is running on.
+ */
+ sourceCode: Options["Code"];
+ /**
+ * Returns the source code object that the rule is running on.
+ * @deprecated Use `sourceCode` instead.
+ */
+ getSourceCode(): Options["Code"];
+ /**
+ * Shared settings for the configuration.
+ */
+ settings: SettingsConfig;
+ /**
+ * Parser-specific options for the configuration.
+ * @deprecated Use `languageOptions.parserOptions` instead.
+ */
+ parserOptions: Record;
+ /**
+ * The language options for the configuration.
+ */
+ languageOptions: Options["LangOptions"];
+ /**
+ * The CommonJS path to the parser used while parsing this file.
+ * @deprecated No longer used.
+ */
+ parserPath: string | undefined;
+ /**
+ * The rule ID.
+ */
+ id: string;
+ /**
+ * The rule's configured options.
+ */
+ options: Options["RuleOptions"];
+ /**
+ * The report function that the rule should use to report problems.
+ * @param violation The violation to report.
+ */
+ report(violation: ViolationReport): void;
+}
+/**
+ * Manager of text edits for a rule fix.
+ */
+export interface RuleTextEditor {
+ /**
+ * Inserts text after the specified node or token.
+ * @param syntaxElement The node or token to insert after.
+ * @param text The edit to insert after the node or token.
+ */
+ insertTextAfter(syntaxElement: EditableSyntaxElement, text: string): RuleTextEdit;
+ /**
+ * Inserts text after the specified range.
+ * @param range The range to insert after.
+ * @param text The edit to insert after the range.
+ */
+ insertTextAfterRange(range: SourceRange, text: string): RuleTextEdit;
+ /**
+ * Inserts text before the specified node or token.
+ * @param syntaxElement A syntax element with location information to insert before.
+ * @param text The edit to insert before the node or token.
+ */
+ insertTextBefore(syntaxElement: EditableSyntaxElement, text: string): RuleTextEdit;
+ /**
+ * Inserts text before the specified range.
+ * @param range The range to insert before.
+ * @param text The edit to insert before the range.
+ */
+ insertTextBeforeRange(range: SourceRange, text: string): RuleTextEdit;
+ /**
+ * Removes the specified node or token.
+ * @param syntaxElement A syntax element with location information to remove.
+ * @returns The edit to remove the node or token.
+ */
+ remove(syntaxElement: EditableSyntaxElement): RuleTextEdit;
+ /**
+ * Removes the specified range.
+ * @param range The range to remove.
+ * @returns The edit to remove the range.
+ */
+ removeRange(range: SourceRange): RuleTextEdit;
+ /**
+ * Replaces the specified node or token with the given text.
+ * @param syntaxElement A syntax element with location information to replace.
+ * @param text The text to replace the node or token with.
+ * @returns The edit to replace the node or token.
+ */
+ replaceText(syntaxElement: EditableSyntaxElement, text: string): RuleTextEdit;
+ /**
+ * Replaces the specified range with the given text.
+ * @param range The range to replace.
+ * @param text The text to replace the range with.
+ * @returns The edit to replace the range.
+ */
+ replaceTextRange(range: SourceRange, text: string): RuleTextEdit;
+}
+/**
+ * Represents a fix for a rule violation implemented as a text edit.
+ */
+export interface RuleTextEdit {
+ /**
+ * The range to replace.
+ */
+ range: SourceRange;
+ /**
+ * The text to insert.
+ */
+ text: string;
+}
+interface ViolationReportBase {
+ /**
+ * The type of node that the violation is for.
+ * @deprecated May be removed in the future.
+ */
+ nodeType?: string | undefined;
+ /**
+ * The data to insert into the message.
+ */
+ data?: Record | undefined;
+ /**
+ * The fix to be applied for the violation.
+ * @param fixer The text editor to apply the fix.
+ * @returns The fix(es) for the violation.
+ */
+ fix?(fixer: RuleTextEditor): RuleTextEdit | Iterable | null;
+ /**
+ * An array of suggested fixes for the problem. These fixes may change the
+ * behavior of the code, so they are not applied automatically.
+ */
+ suggest?: SuggestedEdit[];
+}
+type ViolationMessage = {
+ message: string;
+} | {
+ messageId: string;
+};
+type ViolationLocation = {
+ loc: SourceLocation;
+} | {
+ node: Node;
+};
+export type ViolationReport = ViolationReportBase & ViolationMessage & ViolationLocation;
+interface SuggestedEditBase {
+ /**
+ * The data to insert into the message.
+ */
+ data?: Record | undefined;
+ /**
+ * The fix to be applied for the suggestion.
+ * @param fixer The text editor to apply the fix.
+ * @returns The fix for the suggestion.
+ */
+ fix?(fixer: RuleTextEditor): RuleTextEdit | Iterable | null;
+}
+type SuggestionMessage = {
+ desc: string;
+} | {
+ messageId: string;
+};
+/**
+ * A suggested edit for a rule violation.
+ */
+export type SuggestedEdit = SuggestedEditBase & SuggestionMessage;
+/**
+ * Generic options for the `RuleDefinition` type.
+ */
+export interface RuleDefinitionTypeOptions {
+ LangOptions: LanguageOptions;
+ Code: SourceCode;
+ RuleOptions: unknown[];
+ Visitor: RuleVisitor;
+ Node: unknown;
+ MessageIds: string;
+ ExtRuleDocs: unknown;
+}
+/**
+ * The definition of an ESLint rule.
+ */
+export interface RuleDefinition {
+ /**
+ * The meta information for the rule.
+ */
+ meta?: RulesMeta;
+ /**
+ * Creates the visitor that ESLint uses to apply the rule during traversal.
+ * @param context The rule context.
+ * @returns The rule visitor.
+ */
+ create(context: RuleContext<{
+ LangOptions: Options["LangOptions"];
+ Code: Options["Code"];
+ RuleOptions: Options["RuleOptions"];
+ Node: Options["Node"];
+ }>): Options["Visitor"];
+}
+/**
+ * The human readable severity level used in a configuration.
+ */
+export type SeverityName = "off" | "warn" | "error";
+/**
+ * The numeric severity level for a rule.
+ *
+ * - `0` means off.
+ * - `1` means warn.
+ * - `2` means error.
+ */
+export type SeverityLevel = 0 | 1 | 2;
+/**
+ * The severity of a rule in a configuration.
+ */
+export type Severity = SeverityName | SeverityLevel;
+/**
+ * Represents the configuration options for the core linter.
+ */
+export interface LinterOptionsConfig {
+ /**
+ * Indicates whether or not inline configuration is evaluated.
+ */
+ noInlineConfig?: boolean;
+ /**
+ * Indicates what to do when an unused disable directive is found.
+ */
+ reportUnusedDisableDirectives?: boolean | Severity;
+}
+/**
+ * Shared settings that are accessible from within plugins.
+ */
+export type SettingsConfig = Record;
+/**
+ * The configuration for a rule.
+ */
+export type RuleConfig = Severity | [Severity, ...unknown[]];
+/**
+ * A collection of rules and their configurations.
+ */
+export type RulesConfig = Record;
+/**
+ * Generic options for the `Language` type.
+ */
+export interface LanguageTypeOptions {
+ LangOptions: LanguageOptions;
+ Code: SourceCode;
+ RootNode: unknown;
+ Node: unknown;
+}
+/**
+ * Represents a plugin language.
+ */
+export interface Language {
+ /**
+ * Indicates how ESLint should read the file.
+ */
+ fileType: "text";
+ /**
+ * First line number returned from the parser (text mode only).
+ */
+ lineStart: 0 | 1;
+ /**
+ * First column number returned from the parser (text mode only).
+ */
+ columnStart: 0 | 1;
+ /**
+ * The property to read the node type from. Used in selector querying.
+ */
+ nodeTypeKey: string;
+ /**
+ * The traversal path that tools should take when evaluating the AST
+ */
+ visitorKeys?: Record;
+ /**
+ * Default language options. User-defined options are merged with this object.
+ */
+ defaultLanguageOptions?: LanguageOptions;
+ /**
+ * Validates languageOptions for this language.
+ */
+ validateLanguageOptions(languageOptions: Options["LangOptions"]): void;
+ /**
+ * Normalizes languageOptions for this language.
+ */
+ normalizeLanguageOptions?(languageOptions: Options["LangOptions"]): Options["LangOptions"];
+ /**
+ * Helper for esquery that allows languages to match nodes against
+ * class. esquery currently has classes like `function` that will
+ * match all the various function nodes. This method allows languages
+ * to implement similar shorthands.
+ */
+ matchesSelectorClass?(className: string, node: Options["Node"], ancestry: Options["Node"][]): boolean;
+ /**
+ * Parses the given file input into its component parts. This file should not
+ * throws errors for parsing errors but rather should return any parsing
+ * errors as parse of the ParseResult object.
+ */
+ parse(file: File, context: LanguageContext): ParseResult;
+ /**
+ * Creates SourceCode object that ESLint uses to work with a file.
+ */
+ createSourceCode(file: File, input: OkParseResult, context: LanguageContext): Options["Code"];
+}
+/**
+ * Plugin-defined options for the language.
+ */
+export type LanguageOptions = Record;
+/**
+ * The context object that is passed to the language plugin methods.
+ */
+export interface LanguageContext {
+ languageOptions: LangOptions;
+}
+/**
+ * Represents a file read by ESLint.
+ */
+export interface File {
+ /**
+ * The path that ESLint uses for this file. May be a virtual path
+ * if it was returned by a processor.
+ */
+ path: string;
+ /**
+ * The path to the file on disk. This always maps directly to a file
+ * regardless of whether it was returned from a processor.
+ */
+ physicalPath: string;
+ /**
+ * Indicates if the original source contained a byte-order marker.
+ * ESLint strips the BOM from the `body`, but this info is needed
+ * to correctly apply autofixing.
+ */
+ bom: boolean;
+ /**
+ * The body of the file to parse.
+ */
+ body: string | Uint8Array;
+}
+/**
+ * Represents the successful result of parsing a file.
+ */
+export interface OkParseResult {
+ /**
+ * Indicates if the parse was successful. If true, the parse was successful
+ * and ESLint should continue on to create a SourceCode object and run rules;
+ * if false, ESLint should just report the error(s) without doing anything
+ * else.
+ */
+ ok: true;
+ /**
+ * The abstract syntax tree created by the parser. (only when ok: true)
+ */
+ ast: RootNode;
+ /**
+ * Any additional data that the parser wants to provide.
+ */
+ [key: string]: any;
+}
+/**
+ * Represents the unsuccessful result of parsing a file.
+ */
+export interface NotOkParseResult {
+ /**
+ * Indicates if the parse was successful. If true, the parse was successful
+ * and ESLint should continue on to create a SourceCode object and run rules;
+ * if false, ESLint should just report the error(s) without doing anything
+ * else.
+ */
+ ok: false;
+ /**
+ * Any parsing errors, whether fatal or not. (only when ok: false)
+ */
+ errors: FileError[];
+ /**
+ * Any additional data that the parser wants to provide.
+ */
+ [key: string]: any;
+}
+export type ParseResult = OkParseResult | NotOkParseResult;
+/**
+ * Represents inline configuration found in the source code.
+ */
+interface InlineConfigElement {
+ /**
+ * The location of the inline config element.
+ */
+ loc: SourceLocation;
+ /**
+ * The interpreted configuration from the inline config element.
+ */
+ config: {
+ rules: RulesConfig;
+ };
+}
+/**
+ * Generic options for the `SourceCodeBase` type.
+ */
+interface SourceCodeBaseTypeOptions {
+ LangOptions: LanguageOptions;
+ RootNode: unknown;
+ SyntaxElementWithLoc: unknown;
+ ConfigNode: unknown;
+}
+/**
+ * Represents the basic interface for a source code object.
+ */
+interface SourceCodeBase {
+ /**
+ * Root of the AST.
+ */
+ ast: Options["RootNode"];
+ /**
+ * The traversal path that tools should take when evaluating the AST.
+ * When present, this overrides the `visitorKeys` on the language for
+ * just this source code object.
+ */
+ visitorKeys?: Record;
+ /**
+ * Retrieves the equivalent of `loc` for a given node or token.
+ * @param syntaxElement The node or token to get the location for.
+ * @returns The location of the node or token.
+ */
+ getLoc(syntaxElement: Options["SyntaxElementWithLoc"]): SourceLocation;
+ /**
+ * Retrieves the equivalent of `range` for a given node or token.
+ * @param syntaxElement The node or token to get the range for.
+ * @returns The range of the node or token.
+ */
+ getRange(syntaxElement: Options["SyntaxElementWithLoc"]): SourceRange;
+ /**
+ * Traversal of AST.
+ */
+ traverse(): Iterable;
+ /**
+ * Applies language options passed in from the ESLint core.
+ */
+ applyLanguageOptions?(languageOptions: Options["LangOptions"]): void;
+ /**
+ * Return all of the inline areas where ESLint should be disabled/enabled
+ * along with any problems found in evaluating the directives.
+ */
+ getDisableDirectives?(): {
+ directives: Directive[];
+ problems: FileProblem[];
+ };
+ /**
+ * Returns an array of all inline configuration nodes found in the
+ * source code.
+ */
+ getInlineConfigNodes?(): Options["ConfigNode"][];
+ /**
+ * Applies configuration found inside of the source code. This method is only
+ * called when ESLint is running with inline configuration allowed.
+ */
+ applyInlineConfig?(): {
+ configs: InlineConfigElement[];
+ problems: FileProblem[];
+ };
+ /**
+ * Called by ESLint core to indicate that it has finished providing
+ * information. We now add in all the missing variables and ensure that
+ * state-changing methods cannot be called by rules.
+ * @returns {void}
+ */
+ finalize?(): void;
+}
+/**
+ * Represents the source of a text file being linted.
+ */
+export interface TextSourceCode extends SourceCodeBase {
+ /**
+ * The body of the file that you'd like rule developers to access.
+ */
+ text: string;
+}
+/**
+ * Represents the source of a binary file being linted.
+ */
+export interface BinarySourceCode extends SourceCodeBase {
+ /**
+ * The body of the file that you'd like rule developers to access.
+ */
+ body: Uint8Array;
+}
+export type SourceCode = TextSourceCode | BinarySourceCode;
+/**
+ * Represents a traversal step visiting the AST.
+ */
+export interface VisitTraversalStep {
+ kind: 1;
+ target: unknown;
+ phase: 1 | 2;
+ args: unknown[];
+}
+/**
+ * Represents a traversal step calling a function.
+ */
+export interface CallTraversalStep {
+ kind: 2;
+ target: string;
+ phase?: string;
+ args: unknown[];
+}
+export type TraversalStep = VisitTraversalStep | CallTraversalStep;
+/**
+ * The type of disable directive. This determines how ESLint will disable rules.
+ */
+export type DirectiveType = "disable" | "enable" | "disable-line" | "disable-next-line";
+/**
+ * Represents a disable directive.
+ */
+export interface Directive {
+ /**
+ * The type of directive.
+ */
+ type: DirectiveType;
+ /**
+ * The node of the directive. May be in the AST or a comment/token.
+ */
+ node: unknown;
+ /**
+ * The value of the directive.
+ */
+ value: string;
+ /**
+ * The justification for the directive.
+ */
+ justification?: string;
+}
+export {};
diff --git a/node_modules/@eslint/core/dist/esm/types.d.ts b/node_modules/@eslint/core/dist/esm/types.d.ts
new file mode 100644
index 00000000..4ec26b9c
--- /dev/null
+++ b/node_modules/@eslint/core/dist/esm/types.d.ts
@@ -0,0 +1,735 @@
+/**
+ * @fileoverview Shared types for ESLint Core.
+ */
+import { JSONSchema4 } from "json-schema";
+/**
+ * Represents an error inside of a file.
+ */
+export interface FileError {
+ message: string;
+ line: number;
+ column: number;
+ endLine?: number;
+ endColumn?: number;
+}
+/**
+ * Represents a problem found in a file.
+ */
+export interface FileProblem {
+ ruleId: string | null;
+ message: string;
+ loc: SourceLocation;
+}
+/**
+ * Represents the start and end coordinates of a node inside the source.
+ */
+export interface SourceLocation {
+ start: Position;
+ end: Position;
+}
+/**
+ * Represents the start and end coordinates of a node inside the source with an offset.
+ */
+export interface SourceLocationWithOffset {
+ start: PositionWithOffset;
+ end: PositionWithOffset;
+}
+/**
+ * Represents a location coordinate inside the source. ESLint-style formats
+ * have just `line` and `column` while others may have `offset` as well.
+ */
+export interface Position {
+ line: number;
+ column: number;
+}
+/**
+ * Represents a location coordinate inside the source with an offset.
+ */
+export interface PositionWithOffset extends Position {
+ offset: number;
+}
+/**
+ * Represents a range of characters in the source.
+ */
+export type SourceRange = [number, number];
+/**
+ * What the rule is responsible for finding:
+ * - `problem` means the rule has noticed a potential error.
+ * - `suggestion` means the rule suggests an alternate or better approach.
+ * - `layout` means the rule is looking at spacing, indentation, etc.
+ */
+export type RuleType = "problem" | "suggestion" | "layout";
+/**
+ * The type of fix the rule can provide:
+ * - `code` means the rule can fix syntax.
+ * - `whitespace` means the rule can fix spacing and indentation.
+ */
+export type RuleFixType = "code" | "whitespace";
+/**
+ * An object containing visitor information for a rule. Each method is either the
+ * name of a node type or a selector, or is a method that will be called at specific
+ * times during the traversal.
+ */
+export interface RuleVisitor {
+ /**
+ * Called for each node in the AST or at specific times during the traversal.
+ */
+ [key: string]: (...args: any[]) => void;
+}
+/**
+ * Rule meta information used for documentation.
+ */
+export interface RulesMetaDocs {
+ /**
+ * A short description of the rule.
+ */
+ description?: string | undefined;
+ /**
+ * The URL to the documentation for the rule.
+ */
+ url?: string | undefined;
+ /**
+ * The category the rule falls under.
+ * @deprecated No longer used.
+ */
+ category?: string | undefined;
+ /**
+ * Indicates if the rule is generally recommended for all users.
+ */
+ recommended?: boolean | undefined;
+}
+/**
+ * Meta information about a rule.
+ */
+export interface RulesMeta {
+ /**
+ * Properties that are used when documenting the rule.
+ */
+ docs?: (RulesMetaDocs & ExtRuleDocs) | undefined;
+ /**
+ * The type of rule.
+ */
+ type?: RuleType | undefined;
+ /**
+ * The schema for the rule options. Required if the rule has options.
+ */
+ schema?: JSONSchema4 | JSONSchema4[] | false | undefined;
+ /**
+ * The messages that the rule can report.
+ */
+ messages?: Record;
+ /**
+ * The deprecated rules for the rule.
+ */
+ deprecated?: boolean | undefined;
+ /**
+ * When a rule is deprecated, indicates the rule ID(s) that should be used instead.
+ */
+ replacedBy?: string[] | undefined;
+ /**
+ * Indicates if the rule is fixable, and if so, what type of fix it provides.
+ */
+ fixable?: RuleFixType | undefined;
+ /**
+ * Indicates if the rule may provide suggestions.
+ */
+ hasSuggestions?: boolean | undefined;
+}
+/**
+ * Generic type for `RuleContext`.
+ */
+export interface RuleContextTypeOptions {
+ LangOptions: LanguageOptions;
+ Code: SourceCode;
+ RuleOptions: unknown[];
+ Node: unknown;
+}
+/**
+ * Represents the context object that is passed to a rule. This object contains
+ * information about the current state of the linting process and is the rule's
+ * view into the outside world.
+ */
+export interface RuleContext {
+ /**
+ * The current working directory for the session.
+ */
+ cwd: string;
+ /**
+ * Returns the current working directory for the session.
+ * @deprecated Use `cwd` instead.
+ */
+ getCwd(): string;
+ /**
+ * The filename of the file being linted.
+ */
+ filename: string;
+ /**
+ * Returns the filename of the file being linted.
+ * @deprecated Use `filename` instead.
+ */
+ getFilename(): string;
+ /**
+ * The physical filename of the file being linted.
+ */
+ physicalFilename: string;
+ /**
+ * Returns the physical filename of the file being linted.
+ * @deprecated Use `physicalFilename` instead.
+ */
+ getPhysicalFilename(): string;
+ /**
+ * The source code object that the rule is running on.
+ */
+ sourceCode: Options["Code"];
+ /**
+ * Returns the source code object that the rule is running on.
+ * @deprecated Use `sourceCode` instead.
+ */
+ getSourceCode(): Options["Code"];
+ /**
+ * Shared settings for the configuration.
+ */
+ settings: SettingsConfig;
+ /**
+ * Parser-specific options for the configuration.
+ * @deprecated Use `languageOptions.parserOptions` instead.
+ */
+ parserOptions: Record;
+ /**
+ * The language options for the configuration.
+ */
+ languageOptions: Options["LangOptions"];
+ /**
+ * The CommonJS path to the parser used while parsing this file.
+ * @deprecated No longer used.
+ */
+ parserPath: string | undefined;
+ /**
+ * The rule ID.
+ */
+ id: string;
+ /**
+ * The rule's configured options.
+ */
+ options: Options["RuleOptions"];
+ /**
+ * The report function that the rule should use to report problems.
+ * @param violation The violation to report.
+ */
+ report(violation: ViolationReport): void;
+}
+/**
+ * Manager of text edits for a rule fix.
+ */
+export interface RuleTextEditor {
+ /**
+ * Inserts text after the specified node or token.
+ * @param syntaxElement The node or token to insert after.
+ * @param text The edit to insert after the node or token.
+ */
+ insertTextAfter(syntaxElement: EditableSyntaxElement, text: string): RuleTextEdit;
+ /**
+ * Inserts text after the specified range.
+ * @param range The range to insert after.
+ * @param text The edit to insert after the range.
+ */
+ insertTextAfterRange(range: SourceRange, text: string): RuleTextEdit;
+ /**
+ * Inserts text before the specified node or token.
+ * @param syntaxElement A syntax element with location information to insert before.
+ * @param text The edit to insert before the node or token.
+ */
+ insertTextBefore(syntaxElement: EditableSyntaxElement, text: string): RuleTextEdit;
+ /**
+ * Inserts text before the specified range.
+ * @param range The range to insert before.
+ * @param text The edit to insert before the range.
+ */
+ insertTextBeforeRange(range: SourceRange, text: string): RuleTextEdit;
+ /**
+ * Removes the specified node or token.
+ * @param syntaxElement A syntax element with location information to remove.
+ * @returns The edit to remove the node or token.
+ */
+ remove(syntaxElement: EditableSyntaxElement): RuleTextEdit;
+ /**
+ * Removes the specified range.
+ * @param range The range to remove.
+ * @returns The edit to remove the range.
+ */
+ removeRange(range: SourceRange): RuleTextEdit;
+ /**
+ * Replaces the specified node or token with the given text.
+ * @param syntaxElement A syntax element with location information to replace.
+ * @param text The text to replace the node or token with.
+ * @returns The edit to replace the node or token.
+ */
+ replaceText(syntaxElement: EditableSyntaxElement, text: string): RuleTextEdit;
+ /**
+ * Replaces the specified range with the given text.
+ * @param range The range to replace.
+ * @param text The text to replace the range with.
+ * @returns The edit to replace the range.
+ */
+ replaceTextRange(range: SourceRange, text: string): RuleTextEdit;
+}
+/**
+ * Represents a fix for a rule violation implemented as a text edit.
+ */
+export interface RuleTextEdit {
+ /**
+ * The range to replace.
+ */
+ range: SourceRange;
+ /**
+ * The text to insert.
+ */
+ text: string;
+}
+interface ViolationReportBase {
+ /**
+ * The type of node that the violation is for.
+ * @deprecated May be removed in the future.
+ */
+ nodeType?: string | undefined;
+ /**
+ * The data to insert into the message.
+ */
+ data?: Record | undefined;
+ /**
+ * The fix to be applied for the violation.
+ * @param fixer The text editor to apply the fix.
+ * @returns The fix(es) for the violation.
+ */
+ fix?(fixer: RuleTextEditor): RuleTextEdit | Iterable | null;
+ /**
+ * An array of suggested fixes for the problem. These fixes may change the
+ * behavior of the code, so they are not applied automatically.
+ */
+ suggest?: SuggestedEdit[];
+}
+type ViolationMessage = {
+ message: string;
+} | {
+ messageId: string;
+};
+type ViolationLocation = {
+ loc: SourceLocation;
+} | {
+ node: Node;
+};
+export type ViolationReport = ViolationReportBase & ViolationMessage & ViolationLocation;
+interface SuggestedEditBase {
+ /**
+ * The data to insert into the message.
+ */
+ data?: Record | undefined;
+ /**
+ * The fix to be applied for the suggestion.
+ * @param fixer The text editor to apply the fix.
+ * @returns The fix for the suggestion.
+ */
+ fix?(fixer: RuleTextEditor): RuleTextEdit | Iterable | null;
+}
+type SuggestionMessage = {
+ desc: string;
+} | {
+ messageId: string;
+};
+/**
+ * A suggested edit for a rule violation.
+ */
+export type SuggestedEdit = SuggestedEditBase & SuggestionMessage;
+/**
+ * Generic options for the `RuleDefinition` type.
+ */
+export interface RuleDefinitionTypeOptions {
+ LangOptions: LanguageOptions;
+ Code: SourceCode;
+ RuleOptions: unknown[];
+ Visitor: RuleVisitor;
+ Node: unknown;
+ MessageIds: string;
+ ExtRuleDocs: unknown;
+}
+/**
+ * The definition of an ESLint rule.
+ */
+export interface RuleDefinition {
+ /**
+ * The meta information for the rule.
+ */
+ meta?: RulesMeta;
+ /**
+ * Creates the visitor that ESLint uses to apply the rule during traversal.
+ * @param context The rule context.
+ * @returns The rule visitor.
+ */
+ create(context: RuleContext<{
+ LangOptions: Options["LangOptions"];
+ Code: Options["Code"];
+ RuleOptions: Options["RuleOptions"];
+ Node: Options["Node"];
+ }>): Options["Visitor"];
+}
+/**
+ * The human readable severity level used in a configuration.
+ */
+export type SeverityName = "off" | "warn" | "error";
+/**
+ * The numeric severity level for a rule.
+ *
+ * - `0` means off.
+ * - `1` means warn.
+ * - `2` means error.
+ */
+export type SeverityLevel = 0 | 1 | 2;
+/**
+ * The severity of a rule in a configuration.
+ */
+export type Severity = SeverityName | SeverityLevel;
+/**
+ * Represents the configuration options for the core linter.
+ */
+export interface LinterOptionsConfig {
+ /**
+ * Indicates whether or not inline configuration is evaluated.
+ */
+ noInlineConfig?: boolean;
+ /**
+ * Indicates what to do when an unused disable directive is found.
+ */
+ reportUnusedDisableDirectives?: boolean | Severity;
+}
+/**
+ * Shared settings that are accessible from within plugins.
+ */
+export type SettingsConfig = Record;
+/**
+ * The configuration for a rule.
+ */
+export type RuleConfig = Severity | [Severity, ...unknown[]];
+/**
+ * A collection of rules and their configurations.
+ */
+export type RulesConfig = Record;
+/**
+ * Generic options for the `Language` type.
+ */
+export interface LanguageTypeOptions {
+ LangOptions: LanguageOptions;
+ Code: SourceCode;
+ RootNode: unknown;
+ Node: unknown;
+}
+/**
+ * Represents a plugin language.
+ */
+export interface Language {
+ /**
+ * Indicates how ESLint should read the file.
+ */
+ fileType: "text";
+ /**
+ * First line number returned from the parser (text mode only).
+ */
+ lineStart: 0 | 1;
+ /**
+ * First column number returned from the parser (text mode only).
+ */
+ columnStart: 0 | 1;
+ /**
+ * The property to read the node type from. Used in selector querying.
+ */
+ nodeTypeKey: string;
+ /**
+ * The traversal path that tools should take when evaluating the AST
+ */
+ visitorKeys?: Record;
+ /**
+ * Default language options. User-defined options are merged with this object.
+ */
+ defaultLanguageOptions?: LanguageOptions;
+ /**
+ * Validates languageOptions for this language.
+ */
+ validateLanguageOptions(languageOptions: Options["LangOptions"]): void;
+ /**
+ * Normalizes languageOptions for this language.
+ */
+ normalizeLanguageOptions?(languageOptions: Options["LangOptions"]): Options["LangOptions"];
+ /**
+ * Helper for esquery that allows languages to match nodes against
+ * class. esquery currently has classes like `function` that will
+ * match all the various function nodes. This method allows languages
+ * to implement similar shorthands.
+ */
+ matchesSelectorClass?(className: string, node: Options["Node"], ancestry: Options["Node"][]): boolean;
+ /**
+ * Parses the given file input into its component parts. This file should not
+ * throws errors for parsing errors but rather should return any parsing
+ * errors as parse of the ParseResult object.
+ */
+ parse(file: File, context: LanguageContext): ParseResult;
+ /**
+ * Creates SourceCode object that ESLint uses to work with a file.
+ */
+ createSourceCode(file: File, input: OkParseResult, context: LanguageContext): Options["Code"];
+}
+/**
+ * Plugin-defined options for the language.
+ */
+export type LanguageOptions = Record;
+/**
+ * The context object that is passed to the language plugin methods.
+ */
+export interface LanguageContext {
+ languageOptions: LangOptions;
+}
+/**
+ * Represents a file read by ESLint.
+ */
+export interface File {
+ /**
+ * The path that ESLint uses for this file. May be a virtual path
+ * if it was returned by a processor.
+ */
+ path: string;
+ /**
+ * The path to the file on disk. This always maps directly to a file
+ * regardless of whether it was returned from a processor.
+ */
+ physicalPath: string;
+ /**
+ * Indicates if the original source contained a byte-order marker.
+ * ESLint strips the BOM from the `body`, but this info is needed
+ * to correctly apply autofixing.
+ */
+ bom: boolean;
+ /**
+ * The body of the file to parse.
+ */
+ body: string | Uint8Array;
+}
+/**
+ * Represents the successful result of parsing a file.
+ */
+export interface OkParseResult {
+ /**
+ * Indicates if the parse was successful. If true, the parse was successful
+ * and ESLint should continue on to create a SourceCode object and run rules;
+ * if false, ESLint should just report the error(s) without doing anything
+ * else.
+ */
+ ok: true;
+ /**
+ * The abstract syntax tree created by the parser. (only when ok: true)
+ */
+ ast: RootNode;
+ /**
+ * Any additional data that the parser wants to provide.
+ */
+ [key: string]: any;
+}
+/**
+ * Represents the unsuccessful result of parsing a file.
+ */
+export interface NotOkParseResult {
+ /**
+ * Indicates if the parse was successful. If true, the parse was successful
+ * and ESLint should continue on to create a SourceCode object and run rules;
+ * if false, ESLint should just report the error(s) without doing anything
+ * else.
+ */
+ ok: false;
+ /**
+ * Any parsing errors, whether fatal or not. (only when ok: false)
+ */
+ errors: FileError[];
+ /**
+ * Any additional data that the parser wants to provide.
+ */
+ [key: string]: any;
+}
+export type ParseResult = OkParseResult | NotOkParseResult;
+/**
+ * Represents inline configuration found in the source code.
+ */
+interface InlineConfigElement {
+ /**
+ * The location of the inline config element.
+ */
+ loc: SourceLocation;
+ /**
+ * The interpreted configuration from the inline config element.
+ */
+ config: {
+ rules: RulesConfig;
+ };
+}
+/**
+ * Generic options for the `SourceCodeBase` type.
+ */
+interface SourceCodeBaseTypeOptions {
+ LangOptions: LanguageOptions;
+ RootNode: unknown;
+ SyntaxElementWithLoc: unknown;
+ ConfigNode: unknown;
+}
+/**
+ * Represents the basic interface for a source code object.
+ */
+interface SourceCodeBase {
+ /**
+ * Root of the AST.
+ */
+ ast: Options["RootNode"];
+ /**
+ * The traversal path that tools should take when evaluating the AST.
+ * When present, this overrides the `visitorKeys` on the language for
+ * just this source code object.
+ */
+ visitorKeys?: Record;
+ /**
+ * Retrieves the equivalent of `loc` for a given node or token.
+ * @param syntaxElement The node or token to get the location for.
+ * @returns The location of the node or token.
+ */
+ getLoc(syntaxElement: Options["SyntaxElementWithLoc"]): SourceLocation;
+ /**
+ * Retrieves the equivalent of `range` for a given node or token.
+ * @param syntaxElement The node or token to get the range for.
+ * @returns The range of the node or token.
+ */
+ getRange(syntaxElement: Options["SyntaxElementWithLoc"]): SourceRange;
+ /**
+ * Traversal of AST.
+ */
+ traverse(): Iterable;
+ /**
+ * Applies language options passed in from the ESLint core.
+ */
+ applyLanguageOptions?(languageOptions: Options["LangOptions"]): void;
+ /**
+ * Return all of the inline areas where ESLint should be disabled/enabled
+ * along with any problems found in evaluating the directives.
+ */
+ getDisableDirectives?(): {
+ directives: Directive[];
+ problems: FileProblem[];
+ };
+ /**
+ * Returns an array of all inline configuration nodes found in the
+ * source code.
+ */
+ getInlineConfigNodes?(): Options["ConfigNode"][];
+ /**
+ * Applies configuration found inside of the source code. This method is only
+ * called when ESLint is running with inline configuration allowed.
+ */
+ applyInlineConfig?(): {
+ configs: InlineConfigElement[];
+ problems: FileProblem[];
+ };
+ /**
+ * Called by ESLint core to indicate that it has finished providing
+ * information. We now add in all the missing variables and ensure that
+ * state-changing methods cannot be called by rules.
+ * @returns {void}
+ */
+ finalize?(): void;
+}
+/**
+ * Represents the source of a text file being linted.
+ */
+export interface TextSourceCode extends SourceCodeBase {
+ /**
+ * The body of the file that you'd like rule developers to access.
+ */
+ text: string;
+}
+/**
+ * Represents the source of a binary file being linted.
+ */
+export interface BinarySourceCode extends SourceCodeBase {
+ /**
+ * The body of the file that you'd like rule developers to access.
+ */
+ body: Uint8Array;
+}
+export type SourceCode = TextSourceCode | BinarySourceCode;
+/**
+ * Represents a traversal step visiting the AST.
+ */
+export interface VisitTraversalStep {
+ kind: 1;
+ target: unknown;
+ phase: 1 | 2;
+ args: unknown[];
+}
+/**
+ * Represents a traversal step calling a function.
+ */
+export interface CallTraversalStep {
+ kind: 2;
+ target: string;
+ phase?: string;
+ args: unknown[];
+}
+export type TraversalStep = VisitTraversalStep | CallTraversalStep;
+/**
+ * The type of disable directive. This determines how ESLint will disable rules.
+ */
+export type DirectiveType = "disable" | "enable" | "disable-line" | "disable-next-line";
+/**
+ * Represents a disable directive.
+ */
+export interface Directive {
+ /**
+ * The type of directive.
+ */
+ type: DirectiveType;
+ /**
+ * The node of the directive. May be in the AST or a comment/token.
+ */
+ node: unknown;
+ /**
+ * The value of the directive.
+ */
+ value: string;
+ /**
+ * The justification for the directive.
+ */
+ justification?: string;
+}
+export {};
diff --git a/node_modules/@eslint/core/package.json b/node_modules/@eslint/core/package.json
new file mode 100644
index 00000000..797e3a65
--- /dev/null
+++ b/node_modules/@eslint/core/package.json
@@ -0,0 +1,45 @@
+{
+ "name": "@eslint/core",
+ "version": "0.9.0",
+ "description": "Runtime-agnostic core of ESLint",
+ "type": "module",
+ "types": "./dist/esm/types.d.ts",
+ "exports": {
+ "types": {
+ "import": "./dist/esm/types.d.ts",
+ "require": "./dist/cjs/types.d.cts"
+ }
+ },
+ "files": [
+ "dist"
+ ],
+ "publishConfig": {
+ "access": "public"
+ },
+ "scripts": {
+ "build:cts": "node -e \"fs.cpSync('dist/esm/types.d.ts', 'dist/cjs/types.d.cts')\"",
+ "build": "tsc && npm run build:cts",
+ "test:jsr": "npx jsr@latest publish --dry-run"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/eslint/rewrite.git"
+ },
+ "keywords": [
+ "eslint",
+ "core"
+ ],
+ "author": "Nicholas C. Zakas",
+ "license": "Apache-2.0",
+ "bugs": {
+ "url": "https://github.com/eslint/rewrite/issues"
+ },
+ "homepage": "https://github.com/eslint/rewrite#readme",
+ "devDependencies": {
+ "json-schema": "^0.4.0",
+ "typescript": "^5.4.5"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+}
diff --git a/node_modules/@eslint/eslintrc/README.md b/node_modules/@eslint/eslintrc/README.md
index 7641c741..cdcf0a63 100644
--- a/node_modules/@eslint/eslintrc/README.md
+++ b/node_modules/@eslint/eslintrc/README.md
@@ -33,14 +33,14 @@ const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname, // optional; default: process.cwd()
resolvePluginsRelativeTo: __dirname, // optional
- recommendedConfig: js.configs.recommended, // optional
- allConfig: js.configs.all, // optional
+ recommendedConfig: js.configs.recommended, // optional unless you're using "eslint:recommended"
+ allConfig: js.configs.all, // optional unless you're using "eslint:all"
});
export default [
// mimic ESLintRC-style extends
- ...compat.extends("standard", "example"),
+ ...compat.extends("standard", "example", "plugin:react/recommended"),
// mimic environments
...compat.env({
@@ -49,11 +49,11 @@ export default [
}),
// mimic plugins
- ...compat.plugins("airbnb", "react"),
+ ...compat.plugins("jsx-a11y", "react"),
// translate an entire config
...compat.config({
- plugins: ["airbnb", "react"],
+ plugins: ["jsx-a11y", "react"],
extends: "standard",
env: {
es2020: true,
@@ -77,14 +77,14 @@ const js = require("@eslint/js");
const compat = new FlatCompat({
baseDirectory: __dirname, // optional; default: process.cwd()
resolvePluginsRelativeTo: __dirname, // optional
- recommendedConfig: js.configs.recommended, // optional
- allConfig: js.configs.all, // optional
+ recommendedConfig: js.configs.recommended, // optional unless using "eslint:recommended"
+ allConfig: js.configs.all, // optional unless using "eslint:all"
});
module.exports = [
// mimic ESLintRC-style extends
- ...compat.extends("standard", "example"),
+ ...compat.extends("standard", "example", "plugin:react/recommended"),
// mimic environments
...compat.env({
@@ -93,11 +93,11 @@ module.exports = [
}),
// mimic plugins
- ...compat.plugins("airbnb", "react"),
+ ...compat.plugins("jsx-a11y", "react"),
// translate an entire config
...compat.config({
- plugins: ["airbnb", "react"],
+ plugins: ["jsx-a11y", "react"],
extends: "standard",
env: {
es2020: true,
@@ -110,6 +110,17 @@ module.exports = [
];
```
+## Troubleshooting
+
+**TypeError: Missing parameter 'recommendedConfig' in FlatCompat constructor**
+
+The `recommendedConfig` option is required when any config uses `eslint:recommended`, including any config in an `extends` clause. To fix this, follow the example above using `@eslint/js` to provide the `eslint:recommended` config.
+
+**TypeError: Missing parameter 'allConfig' in FlatCompat constructor**
+
+The `allConfig` option is required when any config uses `eslint:all`, including any config in an `extends` clause. To fix this, follow the example above using `@eslint/js` to provide the `eslint:all` config.
+
+
## License
MIT License
diff --git a/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs b/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs
index 64e66666..c0414cfd 100644
--- a/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs
+++ b/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs
@@ -387,6 +387,63 @@ var ajvOrig = (additionalOptions = {}) => {
return ajv;
};
+/**
+ * @fileoverview Applies default rule options
+ * @author JoshuaKGoldberg
+ */
+
+/**
+ * Check if the variable contains an object strictly rejecting arrays
+ * @param {unknown} value an object
+ * @returns {boolean} Whether value is an object
+ */
+function isObjectNotArray(value) {
+ return typeof value === "object" && value !== null && !Array.isArray(value);
+}
+
+/**
+ * Deeply merges second on top of first, creating a new {} object if needed.
+ * @param {T} first Base, default value.
+ * @param {U} second User-specified value.
+ * @returns {T | U | (T & U)} Merged equivalent of second on top of first.
+ */
+function deepMergeObjects(first, second) {
+ if (second === void 0) {
+ return first;
+ }
+
+ if (!isObjectNotArray(first) || !isObjectNotArray(second)) {
+ return second;
+ }
+
+ const result = { ...first, ...second };
+
+ for (const key of Object.keys(second)) {
+ if (Object.prototype.propertyIsEnumerable.call(first, key)) {
+ result[key] = deepMergeObjects(first[key], second[key]);
+ }
+ }
+
+ return result;
+}
+
+/**
+ * Deeply merges second on top of first, creating a new [] array if needed.
+ * @param {T[] | undefined} first Base, default values.
+ * @param {U[] | undefined} second User-specified values.
+ * @returns {(T | U | (T & U))[]} Merged equivalent of second on top of first.
+ */
+function deepMergeArrays(first, second) {
+ if (!first || !second) {
+ return second || first || [];
+ }
+
+ return [
+ ...first.map((value, i) => deepMergeObjects(value, second[i])),
+ ...second.slice(first.length)
+ ];
+}
+
/**
* @fileoverview Defines a schema for configs.
* @author Sylvan Mably
@@ -697,6 +754,13 @@ const severityMap = {
const validated = new WeakSet();
+// JSON schema that disallows passing any options
+const noOptionsSchema = Object.freeze({
+ type: "array",
+ minItems: 0,
+ maxItems: 0
+});
+
//-----------------------------------------------------------------------------
// Exports
//-----------------------------------------------------------------------------
@@ -708,17 +772,36 @@ class ConfigValidator {
/**
* Gets a complete options schema for a rule.
- * @param {{create: Function, schema: (Array|null)}} rule A new-style rule object
- * @returns {Object} JSON Schema for the rule's options.
+ * @param {Rule} rule A rule object
+ * @throws {TypeError} If `meta.schema` is specified but is not an array, object or `false`.
+ * @returns {Object|null} JSON Schema for the rule's options.
+ * `null` if rule wasn't passed or its `meta.schema` is `false`.
*/
getRuleOptionsSchema(rule) {
if (!rule) {
return null;
}
- const schema = rule.schema || rule.meta && rule.meta.schema;
+ if (!rule.meta) {
+ return { ...noOptionsSchema }; // default if `meta.schema` is not specified
+ }
+
+ const schema = rule.meta.schema;
+
+ if (typeof schema === "undefined") {
+ return { ...noOptionsSchema }; // default if `meta.schema` is not specified
+ }
+
+ // `schema:false` is an allowed explicit opt-out of options validation for the rule
+ if (schema === false) {
+ return null;
+ }
+
+ if (typeof schema !== "object" || schema === null) {
+ throw new TypeError("Rule's `meta.schema` must be an array or object");
+ }
- // Given a tuple of schemas, insert warning level at the beginning
+ // ESLint-specific array form needs to be converted into a valid JSON Schema definition
if (Array.isArray(schema)) {
if (schema.length) {
return {
@@ -728,16 +811,13 @@ class ConfigValidator {
maxItems: schema.length
};
}
- return {
- type: "array",
- minItems: 0,
- maxItems: 0
- };
+ // `schema:[]` is an explicit way to specify that the rule does not accept any options
+ return { ...noOptionsSchema };
}
- // Given a full schema, leave it alone
- return schema || null;
+ // `schema: