Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2024-12-03 18:37:29 +00:00
parent 49f7b34c3d
commit 5261a1223f
1640 changed files with 174830 additions and 182292 deletions

32
node_modules/browserslist/index.d.ts generated vendored
View file

@ -124,7 +124,9 @@ declare namespace browserslist {
let cache: {
[feature: string]: {
[name: string]: 'y' | 'n'
[name: string]: {
[version: string]: string
}
}
}
@ -164,6 +166,17 @@ declare namespace browserslist {
opts?: browserslist.Options
): Query[]
/**
* Return queries for specific file inside the project.
*
* ```js
* browserslist.loadConfig({
* file: process.cwd()
* }) ?? browserslist.defaults
* ```
*/
function loadConfig(options: LoadConfigOptions): string[] | undefined
function clearCaches(): void
function parseConfig(string: string): Config
@ -172,13 +185,25 @@ declare namespace browserslist {
function findConfig(...pathSegments: string[]): Config | undefined
function findConfigFile(...pathSegments: string[]): string | undefined
interface LoadConfigOptions {
/**
* Path to config file
* */
config?: string
/**
* Path to file inside the project to find Browserslist config
* in closest folder
*/
path?: string
/**
* Environment to choose part of config.
*/
env?: string
}
function loadConfig(options: LoadConfigOptions): string[] | undefined
}
declare global {
@ -191,6 +216,7 @@ declare global {
BROWSERSLIST_ENV?: string
BROWSERSLIST_IGNORE_OLD_DATA?: string
BROWSERSLIST_STATS?: string
BROWSERSLIST_ROOT_PATH?: string
}
}
}