Update Bot (j'ai plus le repo sur GitHub)
Qui c'est la conne qui a delete le repo sur GitHub? C'EST MOIIIII
This commit is contained in:
18
node_modules/@eslint/config-array/dist/esm/index.d.ts
generated
vendored
18
node_modules/@eslint/config-array/dist/esm/index.d.ts
generated
vendored
@@ -1,17 +1,15 @@
|
||||
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;
|
||||
export type PropertyDefinition = $eslintobjectschema.PropertyDefinition;
|
||||
export type ObjectDefinition = $eslintobjectschema.ObjectDefinition;
|
||||
export type ConfigObject = $typests.ConfigObject;
|
||||
export type IMinimatchStatic = minimatch.IMinimatchStatic;
|
||||
export type IMinimatch = minimatch.IMinimatch;
|
||||
export type ObjectSchemaInstance = ObjectSchema;
|
||||
/**
|
||||
* Represents an array of config objects and provides method for working with
|
||||
* those config objects.
|
||||
*/
|
||||
export class ConfigArray extends Array<any> {
|
||||
[x: symbol]: (config: any) => any;
|
||||
/**
|
||||
* Creates a new instance of ConfigArray.
|
||||
* @param {Iterable|Function|Object} configs An iterable yielding config
|
||||
@@ -141,3 +139,7 @@ export namespace ConfigArraySymbol {
|
||||
let finalizeConfig: symbol;
|
||||
let preprocessConfig: symbol;
|
||||
}
|
||||
import type * as $eslintobjectschema from "@eslint/object-schema";
|
||||
import type * as $typests from "./types.ts";
|
||||
import minimatch from 'minimatch';
|
||||
import { ObjectSchema } from '@eslint/object-schema';
|
||||
|
||||
23
node_modules/@eslint/config-array/dist/esm/index.js
generated
vendored
23
node_modules/@eslint/config-array/dist/esm/index.js
generated
vendored
@@ -15,8 +15,9 @@ export { ObjectSchema } from '@eslint/object-schema';
|
||||
// Types
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
/** @typedef {import("@eslint/object-schema").PropertyDefinition} PropertyDefinition */
|
||||
/** @typedef {import("@eslint/object-schema").ObjectDefinition} ObjectDefinition */
|
||||
/** @import * as $eslintobjectschema from "@eslint/object-schema"; */
|
||||
/** @typedef {$eslintobjectschema.PropertyDefinition} PropertyDefinition */
|
||||
/** @typedef {$eslintobjectschema.ObjectDefinition} ObjectDefinition */
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Helpers
|
||||
@@ -180,10 +181,12 @@ const filesAndIgnoresSchema = Object.freeze({
|
||||
// Types
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
/** @typedef {import("./types.ts").ConfigObject} ConfigObject */
|
||||
/** @typedef {import("minimatch").IMinimatchStatic} IMinimatchStatic */
|
||||
/** @typedef {import("minimatch").IMinimatch} IMinimatch */
|
||||
/** @typedef {import("@jsr/std__path")} PathImpl */
|
||||
/** @import * as $typests from "./types.ts"; */
|
||||
/** @typedef {$typests.ConfigObject} ConfigObject */
|
||||
/** @import * as $minimatch from "minimatch"; */
|
||||
/** @typedef {$minimatch.IMinimatchStatic} IMinimatchStatic */
|
||||
/** @typedef {$minimatch.IMinimatch} IMinimatch */
|
||||
/** @import * as PathImpl from "@jsr/std__path" */
|
||||
|
||||
/*
|
||||
* This is a bit of a hack to make TypeScript happy with the Rollup-created
|
||||
@@ -192,7 +195,7 @@ const filesAndIgnoresSchema = Object.freeze({
|
||||
* 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 */
|
||||
/** @typedef {ObjectSchema} ObjectSchemaInstance */
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Helpers
|
||||
@@ -1126,7 +1129,8 @@ class ConfigArray extends Array {
|
||||
* @param {Object} config The config to finalize.
|
||||
* @returns {Object} The finalized config.
|
||||
*/
|
||||
[ConfigArraySymbol.finalizeConfig](config) {
|
||||
// Cast key to `never` to prevent TypeScript from adding the signature `[x: symbol]: (config: any) => any` to the type of the class.
|
||||
[/** @type {never} */ (ConfigArraySymbol.finalizeConfig)](config) {
|
||||
return config;
|
||||
}
|
||||
|
||||
@@ -1138,7 +1142,8 @@ class ConfigArray extends Array {
|
||||
* @param {Object} config The config to preprocess.
|
||||
* @returns {Object} The config to use in place of the argument.
|
||||
*/
|
||||
[ConfigArraySymbol.preprocessConfig](config) {
|
||||
// Cast key to `never` to prevent TypeScript from adding the signature `[x: symbol]: (config: any) => any` to the type of the class.
|
||||
[/** @type {never} */ (ConfigArraySymbol.preprocessConfig)](config) {
|
||||
return config;
|
||||
}
|
||||
|
||||
|
||||
3
node_modules/@eslint/config-array/dist/esm/std__path/posix.js
generated
vendored
3
node_modules/@eslint/config-array/dist/esm/std__path/posix.js
generated
vendored
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// Copyright 2018-2025 the Deno authors. MIT license.
|
||||
// Copyright the Browserify authors. MIT License.
|
||||
function assertPath(path) {
|
||||
@@ -1221,7 +1222,7 @@ const constants = {
|
||||
"(": ")",
|
||||
"[": "]"
|
||||
};
|
||||
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;
|
||||
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
|
||||
if (str === "") {
|
||||
return false;
|
||||
}
|
||||
|
||||
3
node_modules/@eslint/config-array/dist/esm/std__path/windows.js
generated
vendored
3
node_modules/@eslint/config-array/dist/esm/std__path/windows.js
generated
vendored
@@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// Copyright 2018-2025 the Deno authors. MIT license.
|
||||
// Copyright the Browserify authors. MIT License.
|
||||
function assertPath(path) {
|
||||
@@ -1562,7 +1563,7 @@ const constants = {
|
||||
"(": ")",
|
||||
"[": "]"
|
||||
};
|
||||
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;
|
||||
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
|
||||
if (str === "") {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user