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:
2026-02-09 14:36:26 +01:00
parent eab4419e12
commit ad2014b7b2
586 changed files with 58986 additions and 25205 deletions

View File

@@ -35,8 +35,9 @@ var windowsPath__namespace = /*#__PURE__*/_interopNamespaceDefault(windowsPath);
// 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
@@ -200,10 +201,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
@@ -212,7 +215,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
@@ -1146,7 +1149,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;
}
@@ -1158,7 +1162,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;
}

View File

@@ -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.cts").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.cts";
import minimatch from 'minimatch';
import { ObjectSchema } from '@eslint/object-schema';

View File

@@ -1,3 +1,4 @@
// @ts-nocheck
'use strict';
// Copyright 2018-2025 the Deno authors. MIT license.
@@ -1223,7 +1224,7 @@ const constants = {
"(": ")",
"[": "]"
};
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
if (str === "") {
return false;
}

View File

@@ -1,3 +1,4 @@
// @ts-nocheck
'use strict';
// Copyright 2018-2025 the Deno authors. MIT license.
@@ -1564,7 +1565,7 @@ const constants = {
"(": ")",
"[": "]"
};
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
if (str === "") {
return false;
}

View File

@@ -1,29 +0,0 @@
/**
* @fileoverview Types for the config-array package.
* @author Nicholas C. Zakas
*/
export interface ConfigObject {
/**
* The base path for files and ignores.
*/
basePath?: string;
/**
* 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;
}