diff --git a/.circleci/config.yml b/.circleci/config.yml index 101727543..e0cb7db7a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ aliases: - &run-unit-tests run: name: Test - command: npm run test -- --runInBand --no-cache + command: npm run test jobs: build: @@ -51,6 +51,19 @@ jobs: command: npm run clean - *run-unit-tests + e2e_tests: + working_directory: ~/nest + docker: + - image: cimg/node:24.13.0 + steps: + - checkout + - *restore-cache + - *install-deps + - *build-packages + - run: + name: E2E tests + command: npm run test:e2e + workflows: version: 2 build-and-test: @@ -59,3 +72,6 @@ workflows: - unit_tests: requires: - build + - e2e_tests: + requires: + - build diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 4dc5d0cff..000000000 --- a/.eslintignore +++ /dev/null @@ -1,4 +0,0 @@ -*.d.ts -src/**/*.test.ts -src/**/files/** -test/** diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index d9702ef50..000000000 --- a/.eslintrc.js +++ /dev/null @@ -1,25 +0,0 @@ -module.exports = { - parser: '@typescript-eslint/parser', - parserOptions: { - project: 'tsconfig.json', - sourceType: 'module', - }, - plugins: ['@typescript-eslint/eslint-plugin'], - extends: [ - 'plugin:@typescript-eslint/eslint-recommended', - 'plugin:@typescript-eslint/recommended', - 'prettier' - ], - root: true, - env: { - node: true, - jest: true, - }, - rules: { - '@typescript-eslint/interface-name-prefix': 'off', - '@typescript-eslint/explicit-function-return-type': 'off', - '@typescript-eslint/no-explicit-any': 'off', - '@typescript-eslint/no-use-before-define': 'off', - '@typescript-eslint/no-non-null-assertion': 'off', - }, -}; diff --git a/.oxlintrc.json b/.oxlintrc.json new file mode 100644 index 000000000..259a99c56 --- /dev/null +++ b/.oxlintrc.json @@ -0,0 +1,9 @@ +{ + "ignorePatterns": ["**/*.js", "**/*.d.ts", "node_modules/", "dist/", "test/"], + "rules": { + "no-unused-vars": [ + "warn", + { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" } + ] + } +} diff --git a/actions/abstract.action.ts b/actions/abstract.action.ts index 70355adf8..94a48e6e2 100644 --- a/actions/abstract.action.ts +++ b/actions/abstract.action.ts @@ -1,9 +1,3 @@ -import { Input } from '../commands'; - export abstract class AbstractAction { - public abstract handle( - inputs?: Input[], - options?: Input[], - extraFlags?: string[], - ): Promise; + public abstract handle(context?: any): Promise; } diff --git a/actions/add.action.ts b/actions/add.action.ts index dba13cdbc..09fe2f4b8 100644 --- a/actions/add.action.ts +++ b/actions/add.action.ts @@ -1,48 +1,41 @@ import { red } from 'ansis'; -import { Input } from '../commands'; -import { getValueOrDefault } from '../lib/compiler/helpers/get-value-or-default'; +import { AddCommandContext } from '../commands/index.js'; +import { getValueOrDefault } from '../lib/compiler/helpers/get-value-or-default.js'; import { AbstractPackageManager, PackageManagerFactory, -} from '../lib/package-managers'; +} from '../lib/package-managers/index.js'; import { AbstractCollection, CollectionFactory, SchematicOption, -} from '../lib/schematics'; -import { MESSAGES } from '../lib/ui'; -import { loadConfiguration } from '../lib/utils/load-configuration'; +} from '../lib/schematics/index.js'; +import { MESSAGES } from '../lib/ui/index.js'; +import { loadConfiguration } from '../lib/utils/load-configuration.js'; import { askForProjectName, - hasValidOptionFlag, moveDefaultProjectToStart, shouldAskForProject, -} from '../lib/utils/project-utils'; -import { AbstractAction } from './abstract.action'; +} from '../lib/utils/project-utils.js'; +import { AbstractAction } from './abstract.action.js'; const schematicName = 'nest-add'; export class AddAction extends AbstractAction { - public async handle(inputs: Input[], options: Input[], extraFlags: string[]) { - const libraryName = this.getLibraryName(inputs); + public async handle(context: AddCommandContext) { + const libraryName = context.library; const packageName = this.getPackageName(libraryName); const collectionName = this.getCollectionName(libraryName, packageName); const tagName = this.getTagName(packageName); - const skipInstall = hasValidOptionFlag('skip-install', options); const packageInstallSuccess = - skipInstall || (await this.installPackage(collectionName, tagName)); + context.skipInstall || + (await this.installPackage(collectionName, tagName)); if (packageInstallSuccess) { - const sourceRootOption: Input = await this.getSourceRoot( - inputs.concat(options), - ); - options.push(sourceRootOption); - - await this.addLibrary(collectionName, options, extraFlags); + const sourceRoot = await this.getSourceRoot(context.project); + await this.addLibrary(collectionName, sourceRoot, context.extraFlags); } else { console.error( - red( - MESSAGES.LIBRARY_INSTALLATION_FAILED_BAD_PACKAGE(libraryName), - ), + red(MESSAGES.LIBRARY_INSTALLATION_FAILED_BAD_PACKAGE(libraryName)), ); throw new Error( MESSAGES.LIBRARY_INSTALLATION_FAILED_BAD_PACKAGE(libraryName), @@ -50,21 +43,18 @@ export class AddAction extends AbstractAction { } } - private async getSourceRoot(inputs: Input[]): Promise { + private async getSourceRoot(project?: string): Promise { const configuration = await loadConfiguration(); const configurationProjects = configuration.projects; - const appName = inputs.find((option) => option.name === 'project')! - .value as string; - - let sourceRoot = appName - ? getValueOrDefault(configuration, 'sourceRoot', appName) + let sourceRoot = project + ? getValueOrDefault(configuration, 'sourceRoot', project) : configuration.sourceRoot; const shouldAsk = shouldAskForProject( schematicName, configurationProjects, - appName, + project ?? '', ); if (shouldAsk) { const defaultLabel = ' [ Default ]'; @@ -90,12 +80,12 @@ export class AddAction extends AbstractAction { MESSAGES.LIBRARY_PROJECT_SELECTION_QUESTION, projects, )) as string; - const project = selectedProject.replace(defaultLabel, ''); - if (project !== configuration.sourceRoot) { - sourceRoot = configurationProjects[project].sourceRoot; + const projectName = selectedProject.replace(defaultLabel, ''); + if (projectName !== configuration.sourceRoot) { + sourceRoot = configurationProjects[projectName].sourceRoot; } } - return { name: 'sourceRoot', value: sourceRoot }; + return sourceRoot; } private async installPackage( @@ -108,7 +98,7 @@ export class AddAction extends AbstractAction { try { installResult = await manager.addProduction([collectionName], tagName); } catch (error) { - if (error && error.message) { + if (error instanceof Error) { console.error(red(error.message)); } } @@ -117,17 +107,12 @@ export class AddAction extends AbstractAction { private async addLibrary( collectionName: string, - options: Input[], + sourceRoot: string, extraFlags: string[], ) { console.info(MESSAGES.LIBRARY_INSTALLATION_STARTS); const schematicOptions: SchematicOption[] = []; - schematicOptions.push( - new SchematicOption( - 'sourceRoot', - options.find((option) => option.name === 'sourceRoot')!.value as string, - ), - ); + schematicOptions.push(new SchematicOption('sourceRoot', sourceRoot)); const extraFlagsString = extraFlags ? extraFlags.join(' ') : undefined; try { @@ -139,24 +124,13 @@ export class AddAction extends AbstractAction { extraFlagsString, ); } catch (error) { - if (error && error.message) { + if (error instanceof Error) { console.error(red(error.message)); - return Promise.reject(); } + throw error; } } - private getLibraryName(inputs: Input[]): string { - const libraryInput: Input = inputs.find( - (input) => input.name === 'library', - ) as Input; - - if (!libraryInput) { - throw new Error('No library found in command input'); - } - return libraryInput.value as string; - } - private getPackageName(library: string): string { return library.startsWith('@') ? library.split('/', 2).join('/') @@ -173,8 +147,13 @@ export class AddAction extends AbstractAction { } private getTagName(packageName: string): string { - return packageName.startsWith('@') + // For scoped packages like "@scope/pkg@1.0.0", split('@', 3) yields + // ["", "scope/pkg", "1.0.0"]. For "@scope/pkg" with no version, + // the tag slot is undefined. Fall back to an empty string so the + // return type stays string and installPackage can substitute "latest". + const tag = packageName.startsWith('@') ? packageName.split('@', 3)[2] : packageName.split('@', 2)[1]; + return tag ?? ''; } } diff --git a/actions/build.action.ts b/actions/build.action.ts index ab14235ce..f8171c826 100644 --- a/actions/build.action.ts +++ b/actions/build.action.ts @@ -1,30 +1,36 @@ +import { createRequire } from 'module'; import { red } from 'ansis'; import { join } from 'path'; -import * as ts from 'typescript'; -import { Input } from '../commands'; -import { AssetsManager } from '../lib/compiler/assets-manager'; -import { deleteOutDirIfEnabled } from '../lib/compiler/helpers/delete-out-dir'; -import { getBuilder } from '../lib/compiler/helpers/get-builder'; -import { getTscConfigPath } from '../lib/compiler/helpers/get-tsc-config.path'; -import { getValueOrDefault } from '../lib/compiler/helpers/get-value-or-default'; -import { getWebpackConfigPath } from '../lib/compiler/helpers/get-webpack-config-path'; -import { TsConfigProvider } from '../lib/compiler/helpers/tsconfig-provider'; -import { PluginsLoader } from '../lib/compiler/plugins/plugins-loader'; -import { TypeScriptBinaryLoader } from '../lib/compiler/typescript-loader'; +import type * as ts from 'typescript'; +import { BuildCommandContext } from '../commands/index.js'; +import { AssetsManager } from '../lib/compiler/assets-manager.js'; +import { deleteOutDirIfEnabled } from '../lib/compiler/helpers/delete-out-dir.js'; +import { getBuilder } from '../lib/compiler/helpers/get-builder.js'; +import { getEffectiveRootDir } from '../lib/compiler/helpers/get-effective-root-dir.js'; +import { getRspackConfigPath } from '../lib/compiler/helpers/get-rspack-config-path.js'; +import { getTscConfigPath } from '../lib/compiler/helpers/get-tsc-config.path.js'; +import { getValueOrDefault } from '../lib/compiler/helpers/get-value-or-default.js'; +import { getWebpackConfigPath } from '../lib/compiler/helpers/get-webpack-config-path.js'; +import { TsConfigProvider } from '../lib/compiler/helpers/tsconfig-provider.js'; +import { PluginsLoader } from '../lib/compiler/plugins/plugins-loader.js'; +import { TypeScriptBinaryLoader } from '../lib/compiler/typescript-loader.js'; import { Configuration, ConfigurationLoader, NestConfigurationLoader, -} from '../lib/configuration'; +} from '../lib/configuration/index.js'; import { defaultOutDir, + defaultRspackConfigFilename, defaultWebpackConfigFilename, -} from '../lib/configuration/defaults'; -import { FileSystemReader } from '../lib/readers'; -import { ERROR_PREFIX, INFO_PREFIX } from '../lib/ui'; -import { isModuleAvailable } from '../lib/utils/is-module-available'; -import { AbstractAction } from './abstract.action'; -import webpack = require('webpack'); +} from '../lib/configuration/defaults.js'; +import { FileSystemReader } from '../lib/readers/index.js'; +import { ERROR_PREFIX, INFO_PREFIX } from '../lib/ui/index.js'; +import { isModuleAvailable } from '../lib/utils/is-module-available.js'; +import { AbstractAction } from './abstract.action.js'; +import type webpack from 'webpack'; + +const require = createRequire(import.meta.url); export class BuildAction extends AbstractAction { protected readonly pluginsLoader = new PluginsLoader(); @@ -36,29 +42,13 @@ export class BuildAction extends AbstractAction { ); protected readonly assetsManager = new AssetsManager(); - public async handle(commandInputs: Input[], commandOptions: Input[]) { + public async handle(context: any) { + const { apps, watch, watchAssets } = context as BuildCommandContext; try { - const watchModeOption = commandOptions.find( - (option) => option.name === 'watch', - ); - const watchMode = !!(watchModeOption && watchModeOption.value); - - const watchAssetsModeOption = commandOptions.find( - (option) => option.name === 'watchAssets', - ); - const watchAssetsMode = !!( - watchAssetsModeOption && watchAssetsModeOption.value - ); - - await this.runBuild( - commandInputs, - commandOptions, - watchMode, - watchAssetsMode, - ); + await this.runBuild(apps, context, watch, watchAssets); } catch (err) { if (err instanceof Error) { - console.log(`\n${ERROR_PREFIX} ${err.message}\n`); + console.error(`\n${ERROR_PREFIX} ${err.message}\n`); } else { console.error(`\n${red(err)}\n`); } @@ -67,58 +57,47 @@ export class BuildAction extends AbstractAction { } public async runBuild( - commandInputs: Input[], - commandOptions: Input[], + apps: (string | undefined)[], + options: Record, watchMode: boolean, watchAssetsMode: boolean, isDebugEnabled = false, onSuccess?: () => void, ) { - const configFileName = commandOptions.find( - (option) => option.name === 'config', - )!.value as string; + const configFileName = options.config as string | undefined; const configuration = await this.loader.load(configFileName); - const buildAll = commandOptions.find((opt) => opt.name === 'all')?.value; let appNames: (string | undefined)[]; - if (buildAll) { - // If the "all" flag is set, we need to build all projects in a monorepo. + if (options.all) { appNames = []; - if (configuration.projects) { appNames.push(...Object.keys(configuration.projects)); } } else { - appNames = commandInputs - .filter((input) => input.name === 'app') - .map((input) => input.value) as string[]; + appNames = apps; } if (appNames.length === 0) { - // If there are no projects, use "undefined" to build the default project. appNames.push(undefined); } - for (const appName of appNames) { - const pathToTsconfig = getTscConfigPath( - configuration, - commandOptions, - appName, - ); - const { options: tsOptions } = + const buildApp = async (appName: string | undefined) => { + const pathToTsconfig = getTscConfigPath(configuration, options, appName); + const { options: tsOptions, fileNames: tsFileNames } = this.tsConfigProvider.getByConfigFilename(pathToTsconfig); const outDir = tsOptions.outDir || defaultOutDir; + const tsRootDir = getEffectiveRootDir(tsOptions.rootDir, tsFileNames); const isWebpackEnabled = getValueOrDefault( configuration, 'compilerOptions.webpack', appName, 'webpack', - commandOptions, + options, ); const builder = isWebpackEnabled ? { type: 'webpack' } - : getBuilder(configuration, commandOptions, appName); + : getBuilder(configuration, options, appName); await deleteOutDirIfEnabled(configuration, appName, outDir, tsOptions); this.assetsManager.copyAssets( @@ -126,14 +105,17 @@ export class BuildAction extends AbstractAction { appName, outDir, watchAssetsMode, + onSuccess, + tsRootDir, ); + this.warnOnIgnoredLibraryAssets(configuration, appName); const typeCheck = getValueOrDefault( configuration, 'compilerOptions.typeCheck', appName, 'typeCheck', - commandOptions, + options, ); if (typeCheck && builder.type !== 'swc') { console.warn( @@ -142,11 +124,25 @@ export class BuildAction extends AbstractAction { ); } + const emitDeclarations = getValueOrDefault( + configuration, + 'compilerOptions.emitDeclarations', + appName, + 'emitDeclarations', + options, + ); + if (emitDeclarations && builder.type !== 'swc') { + console.warn( + INFO_PREFIX + + ` "emitDeclarations" will not have any effect when "builder" is not "swc".`, + ); + } + switch (builder.type) { case 'tsc': await this.runTsc( watchMode, - commandOptions, + options, configuration, pathToTsconfig, appName, @@ -157,7 +153,18 @@ export class BuildAction extends AbstractAction { await this.runWebpack( configuration, appName, - commandOptions, + options, + pathToTsconfig, + isDebugEnabled, + watchMode, + onSuccess, + ); + break; + case 'rspack': + await this.runRspack( + configuration, + appName, + options, pathToTsconfig, isDebugEnabled, watchMode, @@ -170,12 +177,27 @@ export class BuildAction extends AbstractAction { appName, pathToTsconfig, watchMode, - commandOptions, + options, tsOptions, + emitDeclarations, onSuccess, ); break; } + }; + + const parallel = options.parallel; + if (parallel && appNames.length > 1) { + const concurrency = + typeof parallel === 'number' ? parallel : appNames.length; + for (let i = 0; i < appNames.length; i += concurrency) { + const chunk = appNames.slice(i, i + concurrency); + await Promise.all(chunk.map((appName) => buildApp(appName))); + } + } else { + for (const appName of appNames) { + await buildApp(appName); + } } } @@ -184,12 +206,14 @@ export class BuildAction extends AbstractAction { appName: string | undefined, pathToTsconfig: string, watchMode: boolean, - options: Input[], + options: Record, tsOptions: ts.CompilerOptions, + emitDeclarations: boolean, onSuccess: (() => void) | undefined, ) { - const { SwcCompiler } = await import('../lib/compiler/swc/swc-compiler'); + const { SwcCompiler } = await import('../lib/compiler/swc/swc-compiler.js'); const swc = new SwcCompiler(this.pluginsLoader); + const isSilent = !!options.silent; await swc.run( configuration, @@ -204,8 +228,10 @@ export class BuildAction extends AbstractAction { 'typeCheck', options, ), + emitDeclarations, tsOptions, assetsManager: this.assetsManager, + silent: isSilent, }, onSuccess, ); @@ -214,19 +240,18 @@ export class BuildAction extends AbstractAction { private async runWebpack( configuration: Required, appName: string | undefined, - commandOptions: Input[], + options: Record, pathToTsconfig: string, debug: boolean, watchMode: boolean, onSuccess: (() => void) | undefined, ) { - const { WebpackCompiler } = await import( - '../lib/compiler/webpack-compiler' - ); + const { WebpackCompiler } = + await import('../lib/compiler/webpack-compiler.js'); const webpackCompiler = new WebpackCompiler(this.pluginsLoader); const webpackPath = - getWebpackConfigPath(configuration, commandOptions, appName) ?? + getWebpackConfigPath(configuration, options, appName) ?? defaultWebpackConfigFilename; const webpackConfigFactoryOrConfig = this.getWebpackConfigFactoryByPath( @@ -239,7 +264,7 @@ export class BuildAction extends AbstractAction { pathToTsconfig, appName, { - inputs: commandOptions, + options, webpackConfigFactoryOrConfig, debug, watchMode, @@ -251,23 +276,20 @@ export class BuildAction extends AbstractAction { private async runTsc( watchMode: boolean, - options: Input[], + options: Record, configuration: Required, pathToTsconfig: string, appName: string | undefined, onSuccess: (() => void) | undefined, ) { if (watchMode) { - const { WatchCompiler } = await import('../lib/compiler/watch-compiler'); + const { WatchCompiler } = await import('../lib/compiler/watch-compiler.js'); const watchCompiler = new WatchCompiler( this.pluginsLoader, this.tsConfigProvider, this.tsLoader, ); - const isPreserveWatchOutputEnabled = options.find( - (option) => - option.name === 'preserveWatchOutput' && option.value === true, - )?.value as boolean | undefined; + const isPreserveWatchOutputEnabled = !!options.preserveWatchOutput; watchCompiler.run( configuration, @@ -277,7 +299,7 @@ export class BuildAction extends AbstractAction { onSuccess, ); } else { - const { Compiler } = await import('../lib/compiler/compiler'); + const { Compiler } = await import('../lib/compiler/compiler.js'); const compiler = new Compiler( this.pluginsLoader, this.tsConfigProvider, @@ -305,8 +327,82 @@ export class BuildAction extends AbstractAction { const pathToWebpackFile = join(process.cwd(), webpackPath); const isWebpackFileAvailable = isModuleAvailable(pathToWebpackFile); if (!isWebpackFileAvailable && webpackPath === defaultPath) { - return ({}) => ({}); + return (_config: webpack.Configuration) => ({}); } return require(pathToWebpackFile); } + + private async runRspack( + configuration: Required, + appName: string | undefined, + options: Record, + pathToTsconfig: string, + debug: boolean, + watchMode: boolean, + onSuccess: (() => void) | undefined, + ) { + const { RspackCompiler } = await import('../lib/compiler/rspack-compiler.js'); + const rspackCompiler = new RspackCompiler(this.pluginsLoader); + + const rspackPath = + getRspackConfigPath(configuration, options, appName) ?? + defaultRspackConfigFilename; + + const rspackConfigFactoryOrConfig = this.getRspackConfigFactoryByPath( + rspackPath, + defaultRspackConfigFilename, + ); + + return rspackCompiler.run( + configuration, + pathToTsconfig, + appName, + { + options, + rspackConfigFactoryOrConfig, + debug, + watchMode, + assetsManager: this.assetsManager, + }, + onSuccess, + ); + } + + private getRspackConfigFactoryByPath( + rspackPath: string, + defaultPath: string, + ): (config: Record, rspackRef: any) => Record { + const pathToRspackFile = join(process.cwd(), rspackPath); + const isRspackFileAvailable = isModuleAvailable(pathToRspackFile); + if (!isRspackFileAvailable && rspackPath === defaultPath) { + return (_config: Record) => ({}); + } + return require(pathToRspackFile); + } + + private warnOnIgnoredLibraryAssets( + configuration: Required, + appName: string | undefined, + ) { + if (!configuration.projects) { + return; + } + for (const [projectName, project] of Object.entries( + configuration.projects, + )) { + if (projectName === appName) { + continue; + } + if ( + project.type === 'library' && + project.compilerOptions?.assets?.length + ) { + console.warn( + INFO_PREFIX + + ` Assets configured for library "${projectName}" will not be copied during application build.` + + ` Build the library separately or move assets to the application configuration.`, + ); + } + } + } } diff --git a/actions/generate.action.ts b/actions/generate.action.ts index c8afb8fdc..9f7537a85 100644 --- a/actions/generate.action.ts +++ b/actions/generate.action.ts @@ -1,15 +1,15 @@ import { red } from 'ansis'; import * as path from 'path'; -import { Input } from '../commands'; -import { getValueOrDefault } from '../lib/compiler/helpers/get-value-or-default'; +import { GenerateCommandContext } from '../commands/index.js'; +import { getValueOrDefault } from '../lib/compiler/helpers/get-value-or-default.js'; import { AbstractCollection, Collection, CollectionFactory, SchematicOption, -} from '../lib/schematics'; -import { MESSAGES } from '../lib/ui'; -import { loadConfiguration } from '../lib/utils/load-configuration'; +} from '../lib/schematics/index.js'; +import { MESSAGES } from '../lib/ui/index.js'; +import { loadConfiguration } from '../lib/utils/load-configuration.js'; import { askForProjectName, getSpecFileSuffix, @@ -17,35 +17,28 @@ import { shouldAskForProject, shouldGenerateFlat, shouldGenerateSpec, -} from '../lib/utils/project-utils'; -import { AbstractAction } from './abstract.action'; -import { assertNonArray } from '../lib/utils/type-assertions'; +} from '../lib/utils/project-utils.js'; +import { AbstractAction } from './abstract.action.js'; export class GenerateAction extends AbstractAction { - public async handle(inputs: Input[], options: Input[]) { - await generateFiles(inputs.concat(options)); + public async handle(context: GenerateCommandContext) { + await generateFiles(context); } } -const generateFiles = async (inputs: Input[]) => { +const generateFiles = async (context: GenerateCommandContext) => { const configuration = await loadConfiguration(); - const collectionOption = inputs.find( - (option) => option.name === 'collection', - )!.value as string; - const schematic = inputs.find((option) => option.name === 'schematic')! - .value as string; - const appName = inputs.find((option) => option.name === 'project')! - .value as string; - const spec = inputs.find((option) => option.name === 'spec'); - const flat = inputs.find((option) => option.name === 'flat'); - const specFileSuffix = inputs.find( - (option) => option.name === 'specFileSuffix', - ); + const collectionOption = context.collection; + const schematic = context.schematic; + const appName = context.project ?? ''; + const specFileSuffix = context.specFileSuffix; const collection: AbstractCollection = CollectionFactory.create( collectionOption || configuration.collection || Collection.NESTJS, ); - const schematicOptions: SchematicOption[] = mapSchematicOptions(inputs); + + const schematicOptions: SchematicOption[] = + mapContextToSchematicOptions(context); schematicOptions.push( new SchematicOption('language', configuration.language), ); @@ -55,16 +48,18 @@ const generateFiles = async (inputs: Input[]) => { ? getValueOrDefault(configuration, 'sourceRoot', appName) : configuration.sourceRoot; - const specValue = spec!.value as boolean; - const flatValue = !!flat?.value; - const specFileSuffixValue = specFileSuffix!.value as string; - const specOptions = spec!.options as any; + const specValue = + typeof context.spec === 'boolean' ? context.spec : context.spec.value; + const specPassedAsInput = + typeof context.spec === 'boolean' ? false : context.spec.passedAsInput; + const flatValue = context.flat !== undefined ? !!context.flat : false; + const specFileSuffixValue = specFileSuffix as string; let generateSpec = shouldGenerateSpec( configuration, schematic, appName, specValue, - specOptions.passedAsInput, + specPassedAsInput, ); let generateFlat = shouldGenerateFlat(configuration, appName, flatValue); let generateSpecFileSuffix = getSpecFileSuffix( @@ -111,7 +106,7 @@ const generateFiles = async (inputs: Input[]) => { schematic, selectedProjectName, specValue, - specOptions.passedAsInput, + specPassedAsInput, ); generateFlat = shouldGenerateFlat( configuration, @@ -136,12 +131,12 @@ const generateFiles = async (inputs: Input[]) => { schematicOptions.push( new SchematicOption('specFileSuffix', generateSpecFileSuffix), ); + schematicOptions.push(new SchematicOption('format', context.format)); try { - const schematicInput = inputs.find((input) => input.name === 'schematic'); - if (!schematicInput) { + if (!schematic) { throw new Error('Unable to find a schematic for this configuration'); } - await collection.execute(schematicInput.value as string, schematicOptions); + await collection.execute(schematic, schematicOptions); } catch (error) { if (error && error.message) { console.error(red(error.message)); @@ -149,14 +144,27 @@ const generateFiles = async (inputs: Input[]) => { } }; -const mapSchematicOptions = (inputs: Input[]): SchematicOption[] => { - const excludedInputNames = ['schematic', 'spec', 'flat', 'specFileSuffix']; +const mapContextToSchematicOptions = ( + context: GenerateCommandContext, +): SchematicOption[] => { const options: SchematicOption[] = []; - inputs.forEach((input) => { - if (!excludedInputNames.includes(input.name) && input.value !== undefined) { - assertNonArray(input.value); - options.push(new SchematicOption(input.name, input.value)); - } - }); + // Only include fields that schematics expect; exclude those handled separately + if (context.name !== undefined) + options.push(new SchematicOption('name', context.name)); + if (context.path !== undefined) + options.push(new SchematicOption('path', context.path)); + if (context.dryRun) + options.push(new SchematicOption('dry-run', true)); + if (context.collection !== undefined) + options.push(new SchematicOption('collection', context.collection)); + if (context.project !== undefined) + options.push(new SchematicOption('project', context.project)); + if (context.skipImport !== undefined) + options.push(new SchematicOption('skipImport', context.skipImport)); + if (context.type !== undefined) + options.push(new SchematicOption('type', context.type)); + if (context.crud === true) + options.push(new SchematicOption('crud', true)); + // 'schematic', 'spec', 'flat', 'specFileSuffix' are handled separately return options; }; diff --git a/actions/index.ts b/actions/index.ts index bc3eb35bd..437ac6187 100644 --- a/actions/index.ts +++ b/actions/index.ts @@ -1,7 +1,7 @@ -export * from './abstract.action'; -export * from './build.action'; -export * from './generate.action'; -export * from './info.action'; -export * from './new.action'; -export * from './start.action'; -export * from './add.action'; +export * from './abstract.action.js'; +export * from './build.action.js'; +export * from './generate.action.js'; +export * from './info.action.js'; +export * from './new.action.js'; +export * from './start.action.js'; +export * from './add.action.js'; diff --git a/actions/info.action.ts b/actions/info.action.ts index 71ef7bfd0..9e222f6ef 100644 --- a/actions/info.action.ts +++ b/actions/info.action.ts @@ -1,14 +1,21 @@ import { blue, bold, green, red, yellow } from 'ansis'; import { readFileSync } from 'fs'; +import { createRequire } from 'module'; import { platform, release } from 'os'; import { join } from 'path'; +import { fileURLToPath } from 'url'; +import { dirname } from 'path'; import { AbstractPackageManager, PackageManagerFactory, -} from '../lib/package-managers'; -import { BANNER, MESSAGES } from '../lib/ui'; -import { AbstractAction } from './abstract.action'; -import osName from '../lib/utils/os-info.utils'; +} from '../lib/package-managers/index.js'; +import { BANNER, MESSAGES } from '../lib/ui/index.js'; +import osName from '../lib/utils/os-info.utils.js'; +import { AbstractAction } from './abstract.action.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); +const require = createRequire(import.meta.url); interface LockfileDependency { version: string; @@ -63,42 +70,32 @@ export class InfoAction extends AbstractAction { await this.displayPackageManagerVersion(); } - async displayPackageManagerVersion() { + private async displayPackageManagerVersion() { try { const version: string = await this.manager.version(); - console.info( - `${this.manager.name} Version :`, - blue(version), - '\n', - ); + console.info(`${this.manager.name} Version :`, blue(version), '\n'); } catch { - console.error( - `${this.manager.name} Version :`, - red`Unknown`, - '\n', - ); + console.error(`${this.manager.name} Version :`, red`Unknown`, '\n'); } } - async displayNestInformation(): Promise { + private async displayNestInformation(): Promise { this.displayCliVersion(); console.info(green`[Nest Platform Information]`); await this.displayNestInformationFromPackage(); } - async displayNestInformationFromPackage(): Promise { + private async displayNestInformationFromPackage(): Promise { try { const dependencies: PackageJsonDependencies = this.readProjectPackageDependencies(); this.displayNestVersions(dependencies); - } catch (err) { - console.error( - red(MESSAGES.NEST_INFORMATION_PACKAGE_MANAGER_FAILED), - ); + } catch { + console.error(red(MESSAGES.NEST_INFORMATION_PACKAGE_MANAGER_FAILED)); } } - displayCliVersion(): void { + private displayCliVersion(): void { console.info(green`[Nest CLI]`); console.info( 'Nest CLI Version :', @@ -110,7 +107,7 @@ export class InfoAction extends AbstractAction { ); } - readProjectPackageDependencies(): PackageJsonDependencies { + private readProjectPackageDependencies(): PackageJsonDependencies { const buffer = readFileSync(join(process.cwd(), 'package.json')); const pack = JSON.parse(buffer.toString()); const dependencies = { ...pack.dependencies, ...pack.devDependencies }; @@ -122,8 +119,16 @@ export class InfoAction extends AbstractAction { return dependencies; } - displayNestVersions(dependencies: PackageJsonDependencies) { + private displayNestVersions(dependencies: PackageJsonDependencies) { const nestDependencies = this.buildNestVersionsMessage(dependencies); + if (nestDependencies.length === 0) { + // No @nestjs/* packages declared in this package.json. Surfacing this + // explicitly is much more useful than letting `format([])` throw and + // showing the generic "cannot read your project package.json" error, + // which is misleading when the file was actually read successfully. + console.info('No @nestjs/* dependencies were found in package.json.'); + return; + } nestDependencies.forEach((dependency) => console.info(dependency.name, blue(dependency.value)), ); @@ -131,7 +136,7 @@ export class InfoAction extends AbstractAction { this.displayWarningMessage(nestDependencies); } - displayWarningMessage(nestDependencies: NestDependency[]) { + private displayWarningMessage(nestDependencies: NestDependency[]) { try { const warnings = this.buildNestVersionsWarningMessage(nestDependencies); const majorVersions = Object.keys(warnings); @@ -161,7 +166,7 @@ export class InfoAction extends AbstractAction { } } - buildNestVersionsWarningMessage( + private buildNestVersionsWarningMessage( nestDependencies: NestDependency[], ): NestDependencyWarnings { const unsortedWarnings = nestDependencies.reduce( @@ -211,14 +216,14 @@ export class InfoAction extends AbstractAction { ); } - buildNestVersionsMessage( + private buildNestVersionsMessage( dependencies: PackageJsonDependencies, ): NestDependency[] { const nestDependencies = this.collectNestDependencies(dependencies); return this.format(nestDependencies); } - collectNestDependencies( + private collectNestDependencies( dependencies: PackageJsonDependencies, ): NestDependency[] { const nestDependencies: NestDependency[] = []; @@ -240,26 +245,20 @@ export class InfoAction extends AbstractAction { return nestDependencies; } - format(dependencies: NestDependency[]): NestDependency[] { + private format(dependencies: NestDependency[]): NestDependency[] { + if (dependencies.length === 0) { + return dependencies; + } const sorted = dependencies.sort( (dependencyA, dependencyB) => dependencyB.name.length - dependencyA.name.length, ); const length = sorted[0].name.length; sorted.forEach((dependency) => { - if (dependency.name.length < length) { - dependency.name = this.rightPad(dependency.name, length); - } + dependency.name = dependency.name.padEnd(length); dependency.name = dependency.name.concat(' :'); - dependency.value = dependency.value.replace(/(\^|\~)/, ''); + dependency.value = dependency.value.replace(/([\^~])/, ''); }); return sorted; } - - rightPad(name: string, length: number): string { - while (name.length < length) { - name = name.concat(' '); - } - return name; - } } diff --git a/actions/new.action.ts b/actions/new.action.ts index 240b94209..0c1dee807 100644 --- a/actions/new.action.ts +++ b/actions/new.action.ts @@ -1,61 +1,40 @@ import { input, select } from '@inquirer/prompts'; -import * as ansis from 'ansis'; +import ansis, { type AnsiColors, type AnsiStyles } from 'ansis'; import { execSync } from 'child_process'; import * as fs from 'fs'; -import { Answers } from 'inquirer'; import { join } from 'path'; -import { Input } from '../commands'; -import { defaultGitIgnore } from '../lib/configuration/defaults'; +import { NewCommandContext } from '../commands/index.js'; +import { defaultGitIgnore } from '../lib/configuration/defaults.js'; import { AbstractPackageManager, PackageManager, PackageManagerFactory, -} from '../lib/package-managers'; -import { generateInput, generateSelect } from '../lib/questions/questions'; -import { GitRunner } from '../lib/runners/git.runner'; +} from '../lib/package-managers/index.js'; +import { generateInput, generateSelect } from '../lib/questions/questions.js'; +import { GitRunner } from '../lib/runners/git.runner.js'; import { AbstractCollection, Collection, CollectionFactory, SchematicOption, -} from '../lib/schematics'; -import { EMOJIS, MESSAGES } from '../lib/ui'; -import { normalizeToKebabOrSnakeCase } from '../lib/utils/formatting'; -import { gracefullyExitOnPromptError } from '../lib/utils/gracefully-exit-on-prompt-error'; -import { AbstractAction } from './abstract.action'; -import { assertNonArray } from '../lib/utils/type-assertions'; +} from '../lib/schematics/index.js'; +import { EMOJIS, MESSAGES } from '../lib/ui/index.js'; +import { normalizeToKebabOrSnakeCase } from '../lib/utils/formatting.js'; +import { gracefullyExitOnPromptError } from '../lib/utils/gracefully-exit-on-prompt-error.js'; +import { AbstractAction } from './abstract.action.js'; export class NewAction extends AbstractAction { - public async handle(inputs: Input[], options: Input[]) { - const directoryOption = options.find( - (option) => option.name === 'directory', - ); - const dryRunOption = options.find((option) => option.name === 'dry-run'); - const isDryRunEnabled = dryRunOption && dryRunOption.value; + public async handle(context: NewCommandContext) { + await askForMissingInformation(context); + await generateApplicationFiles(context).catch(exit); - await askForMissingInformation(inputs, options); - await generateApplicationFiles(inputs, options).catch(exit); + const projectDirectory = getProjectDirectory(context); - const shouldSkipInstall = options.some( - (option) => option.name === 'skip-install' && option.value === true, - ); - const shouldSkipGit = options.some( - (option) => option.name === 'skip-git' && option.value === true, - ); - const projectDirectory = getProjectDirectory( - getApplicationNameInput(inputs)!, - directoryOption, - ); - - if (!shouldSkipInstall) { - await installPackages( - options, - isDryRunEnabled as boolean, - projectDirectory, - ); + if (!context.skipInstall) { + await installPackages(context, projectDirectory); } - if (!isDryRunEnabled) { - if (!shouldSkipGit) { + if (!context.dryRun) { + if (!context.skipGit) { await initializeGitRepository(projectDirectory); await createGitIgnoreFile(projectDirectory); } @@ -66,92 +45,77 @@ export class NewAction extends AbstractAction { } } -const getApplicationNameInput = (inputs: Input[]) => - inputs.find((input) => input.name === 'name'); - -const getPackageManagerInput = (inputs: Input[]) => - inputs.find((options) => options.name === 'packageManager'); - -const getProjectDirectory = ( - applicationName: Input, - directoryOption?: Input, -): string => { +const getProjectDirectory = (context: NewCommandContext): string => { return ( - (directoryOption && (directoryOption.value as string)) || - normalizeToKebabOrSnakeCase(applicationName.value as string) + context.directory || normalizeToKebabOrSnakeCase(context.name as string) ); }; -const askForMissingInformation = async (inputs: Input[], options: Input[]) => { +const askForMissingInformation = async (context: NewCommandContext) => { console.info(MESSAGES.PROJECT_INFORMATION_START); console.info(); - const nameInput = getApplicationNameInput(inputs); - if (!nameInput!.value) { + if (!context.name) { const message = MESSAGES.PROJECT_NAME_QUESTION; const question = generateInput('name', message)('nest-app'); - const answer = await input(question).catch(gracefullyExitOnPromptError); - replaceInputMissingInformation(inputs, { name: 'name', value: answer }); - } - - const packageManagerInput = getPackageManagerInput(options); - - if (!packageManagerInput!.value) { - const answer = await askForPackageManager(); - replaceInputMissingInformation(options, { - name: 'packageManager', - value: answer, - }); + context.name = (await input(question).catch( + gracefullyExitOnPromptError, + )) as string | undefined; } -}; - -const replaceInputMissingInformation = ( - inputs: Input[], - answer: Answers, -): void => { - const input = inputs.find((input) => input.name === answer.name); - if (input) { - input.value = input.value !== undefined ? input.value : answer.value; + if (!context.packageManager) { + context.packageManager = (await askForPackageManager()) as string; } }; -const generateApplicationFiles = async (args: Input[], options: Input[]) => { - const collectionName = options.find( - (option) => option.name === 'collection' && option.value != null, - )!.value; +const generateApplicationFiles = async (context: NewCommandContext) => { const collection: AbstractCollection = CollectionFactory.create( - (collectionName as Collection) || Collection.NESTJS, - ); - const schematicOptions: SchematicOption[] = mapSchematicOptions( - args.concat(options), + (context.collection as Collection) || Collection.NESTJS, ); + const schematicOptions: SchematicOption[] = + mapContextToSchematicOptions(context); await collection.execute('application', schematicOptions); console.info(); }; -const mapSchematicOptions = (options: Input[]): SchematicOption[] => { - return options.reduce( - (schematicOptions: SchematicOption[], option: Input) => { - if (option.name !== 'skip-install') { - assertNonArray(option.value); - schematicOptions.push(new SchematicOption(option.name, option.value)); - } - return schematicOptions; - }, - [], - ); +const mapContextToSchematicOptions = ( + context: NewCommandContext, +): SchematicOption[] => { + const options: SchematicOption[] = []; + + if (context.name !== undefined) + options.push(new SchematicOption('name', context.name)); + if (context.directory !== undefined) + options.push(new SchematicOption('directory', context.directory)); + + if (context.dryRun) + options.push(new SchematicOption('dry-run', true)); + options.push(new SchematicOption('skip-git', context.skipGit)); + options.push(new SchematicOption('strict', context.strict)); + + if (context.skipTests) { + options.push(new SchematicOption('spec', false)); + } + + if (context.packageManager !== undefined) + options.push(new SchematicOption('packageManager', context.packageManager)); + if (context.collection !== undefined) + options.push(new SchematicOption('collection', context.collection)); + + options.push(new SchematicOption('language', context.language)); + options.push(new SchematicOption('format', context.format)); + // note: skip-install is intentionally excluded — not sent to schematics + return options; }; const installPackages = async ( - options: Input[], - dryRunMode: boolean, + context: NewCommandContext, installDirectory: string, ) => { - const inputPackageManager = getPackageManagerInput(options)!.value as string; + const inputPackageManager = context.packageManager as string; let packageManager: AbstractPackageManager; - if (dryRunMode) { + if (context.dryRun) { console.info(); console.info(ansis.green(MESSAGES.DRY_RUN_MODE)); console.info(); @@ -161,7 +125,7 @@ const installPackages = async ( packageManager = PackageManagerFactory.create(inputPackageManager); await packageManager.install(installDirectory, inputPackageManager); } catch (error) { - if (error && error.message) { + if (error instanceof Error) { console.error(ansis.red(error.message)); } } @@ -170,7 +134,12 @@ const installPackages = async ( const askForPackageManager = async () => { const question = generateSelect('packageManager')( MESSAGES.PACKAGE_MANAGER_QUESTION, - )([PackageManager.NPM, PackageManager.YARN, PackageManager.PNPM]); + )([ + PackageManager.NPM, + PackageManager.YARN, + PackageManager.PNPM, + PackageManager.BUN, + ]); return select(question).catch(gracefullyExitOnPromptError); }; @@ -222,20 +191,28 @@ const printCollective = () => { }; const print = - (color: string | null = null) => + (color: AnsiColors | AnsiStyles | null = null) => (str = '') => { const terminalCols = retrieveCols(); - const strLength = str.replace(/\u001b\[[0-9]{2}m/g, '').length; + // eslint-disable-next-line no-control-regex + const strLength = str.replace(/\x1b\[[0-9]+m/g, '').length; const leftPaddingLength = Math.floor((terminalCols - strLength) / 2); const leftPadding = ' '.repeat(Math.max(leftPaddingLength, 0)); if (color) { - str = (ansis as any)[color](str); + str = ansis[color](str); } console.log(leftPadding, str); }; export const retrieveCols = () => { const defaultCols = 80; + // Prefer process.stdout.columns: it works on every platform (including + // Windows, where `tput` is not available by default) and reflects the + // actual terminal size instead of always falling back to the default. + const stdoutCols = process.stdout.columns; + if (typeof stdoutCols === 'number' && stdoutCols > 0) { + return stdoutCols; + } try { const terminalCols = execSync('tput cols', { stdio: ['pipe', 'pipe', 'ignore'], @@ -246,17 +223,6 @@ export const retrieveCols = () => { } }; -const fileExists = (path: string) => { - try { - fs.accessSync(path); - return true; - } catch (err: any) { - if (err.code === 'ENOENT') { - return false; - } - - throw err; - } -}; +const fileExists = (path: string) => fs.existsSync(path); export const exit = () => process.exit(1); diff --git a/actions/start.action.ts b/actions/start.action.ts index 949eb4acc..4f8176135 100644 --- a/actions/start.action.ts +++ b/actions/start.action.ts @@ -1,49 +1,31 @@ import { red } from 'ansis'; -import { spawn, SpawnOptions } from 'child_process'; +import { ChildProcess, spawn, SpawnOptions } from 'child_process'; import * as fs from 'fs'; import { join } from 'path'; -import { Input } from '../commands'; -import { getTscConfigPath } from '../lib/compiler/helpers/get-tsc-config.path'; -import { getValueOrDefault } from '../lib/compiler/helpers/get-value-or-default'; +import { StartCommandContext } from '../commands/index.js'; +import { getTscConfigPath } from '../lib/compiler/helpers/get-tsc-config.path.js'; +import { getValueOrDefault } from '../lib/compiler/helpers/get-value-or-default.js'; import { defaultConfiguration, defaultOutDir, -} from '../lib/configuration/defaults'; -import { ERROR_PREFIX } from '../lib/ui'; -import { treeKillSync as killProcessSync } from '../lib/utils/tree-kill'; -import { assertNonArray } from '../lib/utils/type-assertions'; -import { BuildAction } from './build.action'; +} from '../lib/configuration/defaults.js'; +import { ERROR_PREFIX } from '../lib/ui/index.js'; +import { treeKillSync as killProcessSync } from '../lib/utils/tree-kill.js'; +import { assertNonArray } from '../lib/utils/type-assertions.js'; +import { BuildAction } from './build.action.js'; export class StartAction extends BuildAction { - public async handle(commandInputs: Input[], commandOptions: Input[]) { + public async handle(context: StartCommandContext) { try { - const configFileName = commandOptions.find( - (option) => option.name === 'config', - )!.value as string; + const configFileName = context.config; const configuration = await this.loader.load(configFileName); - const appName = commandInputs.find((input) => input.name === 'app')! - .value as string; + const appName = context.app; - const pathToTsconfig = getTscConfigPath( - configuration, - commandOptions, - appName, - ); + const pathToTsconfig = getTscConfigPath(configuration, context, appName); - const debugModeOption = commandOptions.find( - (option) => option.name === 'debug', - ); - const watchModeOption = commandOptions.find( - (option) => option.name === 'watch', - ); - const isWatchEnabled = !!(watchModeOption && watchModeOption.value); - const watchAssetsModeOption = commandOptions.find( - (option) => option.name === 'watchAssets', - ); - const isWatchAssetsEnabled = !!( - watchAssetsModeOption && watchAssetsModeOption.value - ); - const debugFlag = debugModeOption && debugModeOption.value; + const isWatchEnabled = !!context.watch; + const isWatchAssetsEnabled = !!context.watchAssets; + const debugFlag = context.debug; assertNonArray(debugFlag); const binaryToRun = getValueOrDefault( @@ -51,7 +33,7 @@ export class StartAction extends BuildAction { 'exec', appName, 'exec', - commandOptions, + context, defaultConfiguration.exec, ); @@ -63,7 +45,7 @@ export class StartAction extends BuildAction { 'entryFile', appName, 'entryFile', - commandOptions, + context, defaultConfiguration.entryFile, ); const sourceRoot = getValueOrDefault( @@ -71,19 +53,12 @@ export class StartAction extends BuildAction { 'sourceRoot', appName, 'sourceRoot', - commandOptions, + context, defaultConfiguration.sourceRoot, ); - const shellOption = commandOptions.find( - (option) => option.name === 'shell', - ); - const useShell = !!shellOption?.value; - - const envFileOption = commandOptions.find( - (option) => option.name === 'envFile', - ); - const envFile = (envFileOption?.value ?? []) as string[]; + const useShell = !!context.shell; + const envFile = context.envFile ?? []; const onSuccess = this.createOnSuccessHook( entryFile, @@ -99,8 +74,8 @@ export class StartAction extends BuildAction { ); await this.runBuild( - commandInputs, - commandOptions, + appName ? [appName] : [], + context, isWatchEnabled, isWatchAssetsEnabled, !!debugFlag, @@ -108,14 +83,14 @@ export class StartAction extends BuildAction { ); } catch (err) { if (err instanceof Error) { - console.log(`\n${ERROR_PREFIX} ${err.message}\n`); + console.error(`\n${ERROR_PREFIX} ${err.message}\n`); } else { console.error(`\n${red(err)}\n`); } } } - public createOnSuccessHook( + private createOnSuccessHook( entryFile: string, sourceRoot: string, debugFlag: boolean | string | undefined, @@ -127,10 +102,10 @@ export class StartAction extends BuildAction { watch?: boolean; }, ) { - let childProcessRef: any; + let childProcessRef: ChildProcess | undefined; process.on( 'exit', - () => childProcessRef && killProcessSync(childProcessRef.pid), + () => childProcessRef && killProcessSync(childProcessRef.pid!), ); return () => { @@ -151,8 +126,8 @@ export class StartAction extends BuildAction { childProcessRef.on('exit', () => (childProcessRef = undefined)); }); - childProcessRef.stdin && childProcessRef.stdin.pause(); - killProcessSync(childProcessRef.pid); + (childProcessRef.stdin as NodeJS.ReadableStream | null)?.pause?.(); + killProcessSync(childProcessRef.pid!); } else { childProcessRef = this.spawnChildProcess( entryFile, @@ -215,7 +190,7 @@ export class StartAction extends BuildAction { const envFileNodeArgs = options.envFile.map( (envFilePath) => `--env-file=${envFilePath}`, ); - processArgs.unshift(envFileNodeArgs.join(' ')); + processArgs.unshift(...envFileNodeArgs); } processArgs.unshift('--enable-source-maps'); diff --git a/bin/nest.ts b/bin/nest.ts index be55959f3..d863b3c0f 100644 --- a/bin/nest.ts +++ b/bin/nest.ts @@ -1,14 +1,17 @@ #!/usr/bin/env node -import * as commander from 'commander'; -import { CommanderStatic } from 'commander'; -import { CommandLoader } from '../commands'; +import { Command } from 'commander'; +import { createRequire } from 'module'; +import { CommandLoader } from '../commands/index.js'; import { loadLocalBinCommandLoader, localBinExists, -} from '../lib/utils/local-binaries'; +} from '../lib/utils/local-binaries.js'; + +const require = createRequire(import.meta.url); const bootstrap = async () => { - const program: CommanderStatic = commander; + const program = new Command(); + (program as any).__nestCliEsm = true; program .version( require('../package.json').version, @@ -19,12 +22,12 @@ const bootstrap = async () => { .helpOption('-h, --help', 'Output usage information.'); if (localBinExists()) { - const localCommandLoader = loadLocalBinCommandLoader(); + const localCommandLoader = await loadLocalBinCommandLoader(); await localCommandLoader.load(program); } else { await CommandLoader.load(program); } - await commander.parseAsync(process.argv); + await program.parseAsync(process.argv); if (!process.argv.slice(2).length) { program.outputHelp(); diff --git a/commands/abstract.command.ts b/commands/abstract.command.ts index 97969b2c0..258c29820 100644 --- a/commands/abstract.command.ts +++ b/commands/abstract.command.ts @@ -1,8 +1,8 @@ -import { CommanderStatic } from 'commander'; -import { AbstractAction } from '../actions/abstract.action'; +import { Command } from 'commander'; +import { AbstractAction } from '../actions/abstract.action.js'; export abstract class AbstractCommand { constructor(protected action: AbstractAction) {} - public abstract load(program: CommanderStatic): void; + public abstract load(program: Command): void; } diff --git a/commands/add.command.ts b/commands/add.command.ts index a2006dbef..590099a80 100644 --- a/commands/add.command.ts +++ b/commands/add.command.ts @@ -1,10 +1,10 @@ -import { Command, CommanderStatic } from 'commander'; -import { getRemainingFlags } from '../lib/utils/remaining-flags'; -import { AbstractCommand } from './abstract.command'; -import { Input } from './command.input'; +import { Command } from 'commander'; +import { getRemainingFlags } from '../lib/utils/remaining-flags.js'; +import { AbstractCommand } from './abstract.command.js'; +import { AddCommandContext } from './context/index.js'; export class AddCommand extends AbstractCommand { - public load(program: CommanderStatic): void { + public load(program: Command): void { program .command('add ') .allowUnknownOption() @@ -16,22 +16,18 @@ export class AddCommand extends AbstractCommand { .option('-s, --skip-install', 'Skip package installation.', false) .option('-p, --project [project]', 'Project in which to generate files.') .usage(' [options] [library-specific-options]') - .action(async (library: string, command: Command) => { - const options: Input[] = []; - options.push({ name: 'dry-run', value: !!command.dryRun }); - options.push({ name: 'skip-install', value: command.skipInstall }); - options.push({ - name: 'project', - value: command.project, - }); + .action(async (library: string, options: Record) => { + const context: AddCommandContext = { + library, + dryRun: !!options.dryRun, + skipInstall: options.skipInstall, + project: options.project, + extraFlags: getRemainingFlags(program), + }; - const inputs: Input[] = []; - inputs.push({ name: 'library', value: library }); - - const flags = getRemainingFlags(program); try { - await this.action.handle(inputs, options, flags); - } catch (err) { + await this.action.handle(context); + } catch { process.exit(1); } }); diff --git a/commands/build.command.ts b/commands/build.command.ts index 65de4053b..746a1301f 100644 --- a/commands/build.command.ts +++ b/commands/build.command.ts @@ -1,93 +1,92 @@ -import { Command, CommanderStatic } from 'commander'; -import { ERROR_PREFIX } from '../lib/ui'; -import { AbstractCommand } from './abstract.command'; -import { Input } from './command.input'; +import { Command } from 'commander'; +import { ERROR_PREFIX } from '../lib/ui/index.js'; +import { AbstractCommand } from './abstract.command.js'; +import { BuildCommandContext } from './context/index.js'; export class BuildCommand extends AbstractCommand { - public load(program: CommanderStatic): void { + public load(program: Command): void { program .command('build [apps...]') .option('-c, --config [path]', 'Path to nest-cli configuration file.') .option('-p, --path [path]', 'Path to tsconfig file.') .option('-w, --watch', 'Run in watch mode (live-reload).') - .option('-b, --builder [name]', 'Builder to be used (tsc, webpack, swc).') + .option( + '-b, --builder [name]', + 'Builder to be used (tsc, webpack, swc, rspack).', + ) .option('--watchAssets', 'Watch non-ts (e.g., .graphql) files mode.') .option( '--webpack', 'Use webpack for compilation (deprecated option, use --builder instead).', ) - .option('--type-check', 'Enable type checking (when SWC is used).') + .option( + '--type-check', + 'Enable type checking (when SWC is used).', + () => true, + ) + .option( + '--no-type-check', + 'Disable type checking (when SWC is used).', + () => false, + ) + .option( + '--emit-declarations', + 'Emit declaration files (.d.ts) when using SWC builder.', + ) + .option('--silent', 'Suppress informational compiler logs.') .option('--webpackPath [path]', 'Path to webpack configuration.') + .option('--rspackPath [path]', 'Path to rspack configuration.') .option('--tsc', 'Use typescript compiler for compilation.') .option( '--preserveWatchOutput', 'Use "preserveWatchOutput" option when using tsc watch mode.', ) .option('--all', 'Build all projects in a monorepo.') + .option( + '--parallel [concurrency]', + 'Build projects in parallel (with --all). Optionally limit concurrency.', + ) .description('Build Nest application.') - .action(async (apps: string[], command: Command) => { - const options: Input[] = []; - - options.push({ - name: 'config', - value: command.config, - }); + .action(async (apps: string[], options: Record) => { + const isWebpackEnabled = options.tsc ? false : options.webpack; - const isWebpackEnabled = command.tsc ? false : command.webpack; - options.push({ name: 'webpack', value: isWebpackEnabled }); - options.push({ name: 'watch', value: !!command.watch }); - options.push({ name: 'watchAssets', value: !!command.watchAssets }); - options.push({ - name: 'path', - value: command.path, - }); - options.push({ - name: 'webpackPath', - value: command.webpackPath, - }); - - const availableBuilders = ['tsc', 'webpack', 'swc']; - if (command.builder && !availableBuilders.includes(command.builder)) { + const availableBuilders = ['tsc', 'webpack', 'swc', 'rspack']; + if (options.builder && !availableBuilders.includes(options.builder)) { console.error( ERROR_PREFIX + ` Invalid builder option: ${ - command.builder + options.builder }. Available builders: ${availableBuilders.join(', ')}`, ); return; } - options.push({ - name: 'builder', - value: command.builder, - }); - - options.push({ - name: 'typeCheck', - value: command.typeCheck, - }); - options.push({ - name: 'preserveWatchOutput', - value: - !!command.preserveWatchOutput && - !!command.watch && + const context: BuildCommandContext = { + apps: apps.length > 0 ? apps : [], + config: options.config, + webpack: isWebpackEnabled, + watch: !!options.watch, + watchAssets: !!options.watchAssets, + path: options.path, + webpackPath: options.webpackPath, + rspackPath: options.rspackPath, + builder: options.builder, + typeCheck: options.typeCheck, + emitDeclarations: !!options.emitDeclarations, + silent: !!options.silent, + preserveWatchOutput: + !!options.preserveWatchOutput && + !!options.watch && !isWebpackEnabled, - }); - - options.push({ name: 'all', value: !!command.all }); - - const inputs: Input[] = apps.map((app) => ({ - name: 'app', - value: app, - })); - - // Handle the default project for `nest build` with no args - // The action instance will pick up the default project when value is `undefined` - if (inputs.length === 0) { - inputs.push({ name: 'app', value: undefined! }); - } + all: !!options.all, + parallel: options.parallel === true + ? true + : options.parallel + ? parseInt(options.parallel, 10) + : undefined, + }; - await this.action.handle(inputs, options); + await this.action.handle(context); }); } } diff --git a/commands/command.loader.ts b/commands/command.loader.ts index a241c96ad..3a018dfe8 100644 --- a/commands/command.loader.ts +++ b/commands/command.loader.ts @@ -1,5 +1,5 @@ import { red } from 'ansis'; -import { CommanderStatic } from 'commander'; +import { Command } from 'commander'; import { AddAction, BuildAction, @@ -7,16 +7,27 @@ import { InfoAction, NewAction, StartAction, -} from '../actions'; -import { ERROR_PREFIX } from '../lib/ui'; -import { AddCommand } from './add.command'; -import { BuildCommand } from './build.command'; -import { GenerateCommand } from './generate.command'; -import { InfoCommand } from './info.command'; -import { NewCommand } from './new.command'; -import { StartCommand } from './start.command'; +} from '../actions/index.js'; +import { ERROR_PREFIX } from '../lib/ui/index.js'; +import { AddCommand } from './add.command.js'; +import { BuildCommand } from './build.command.js'; +import { GenerateCommand } from './generate.command.js'; +import { InfoCommand } from './info.command.js'; +import { NewCommand } from './new.command.js'; +import { StartCommand } from './start.command.js'; + export class CommandLoader { - public static async load(program: CommanderStatic): Promise { + public static async load(program: Command): Promise { + if (!(program as any).__nestCliEsm) { + console.error( + `\n${ERROR_PREFIX} The globally installed ${red('@nestjs/cli')} is outdated and ` + + 'incompatible with the local version (which requires ESM).\n' + + 'Please upgrade your global installation:\n\n' + + ` ${red('npm i -g @nestjs/cli')}\n`, + ); + process.exit(1); + } + new NewCommand(new NewAction()).load(program); new BuildCommand(new BuildAction()).load(program); new StartCommand(new StartAction()).load(program); @@ -27,15 +38,13 @@ export class CommandLoader { this.handleInvalidCommand(program); } - private static handleInvalidCommand(program: CommanderStatic) { + private static handleInvalidCommand(program: Command) { program.on('command:*', () => { console.error( `\n${ERROR_PREFIX} Invalid command: ${red`%s`}`, program.args.join(' '), ); - console.log( - `See ${red`--help`} for a list of available commands.\n`, - ); + console.error(`See ${red`--help`} for a list of available commands.\n`); process.exit(1); }); } diff --git a/commands/context/add.context.ts b/commands/context/add.context.ts new file mode 100644 index 000000000..93c0e7da5 --- /dev/null +++ b/commands/context/add.context.ts @@ -0,0 +1,7 @@ +export interface AddCommandContext { + library: string; + dryRun: boolean; + skipInstall: boolean; + project?: string; + extraFlags: string[]; +} diff --git a/commands/context/build.context.ts b/commands/context/build.context.ts new file mode 100644 index 000000000..c3f0c98ef --- /dev/null +++ b/commands/context/build.context.ts @@ -0,0 +1,17 @@ +export interface BuildCommandContext { + apps: string[]; + config?: string; + webpack?: boolean; + watch: boolean; + watchAssets: boolean; + path?: string; + webpackPath?: string; + rspackPath?: string; + builder?: string; + typeCheck?: boolean; + emitDeclarations?: boolean; + silent?: boolean; + preserveWatchOutput: boolean; + all: boolean; + parallel?: number | boolean; +} diff --git a/commands/context/generate.context.ts b/commands/context/generate.context.ts new file mode 100644 index 000000000..85fdc62b5 --- /dev/null +++ b/commands/context/generate.context.ts @@ -0,0 +1,15 @@ +export interface GenerateCommandContext { + schematic: string; + name?: string; + path?: string; + dryRun: boolean; + flat?: boolean; + spec: boolean | { value: boolean; passedAsInput: boolean }; + specFileSuffix?: string; + collection?: string; + project?: string; + skipImport: boolean; + format: boolean; + type?: string; + crud?: boolean; +} diff --git a/commands/context/index.ts b/commands/context/index.ts new file mode 100644 index 000000000..e5b5739ee --- /dev/null +++ b/commands/context/index.ts @@ -0,0 +1,5 @@ +export * from './add.context.js'; +export * from './build.context.js'; +export * from './generate.context.js'; +export * from './new.context.js'; +export * from './start.context.js'; diff --git a/commands/context/new.context.ts b/commands/context/new.context.ts new file mode 100644 index 000000000..ede944b0d --- /dev/null +++ b/commands/context/new.context.ts @@ -0,0 +1,13 @@ +export interface NewCommandContext { + name?: string; + directory?: string; + dryRun: boolean; + skipGit: boolean; + skipInstall: boolean; + skipTests: boolean; + packageManager?: string; + language: string; + collection: string; + strict: boolean; + format: boolean; +} diff --git a/commands/context/start.context.ts b/commands/context/start.context.ts new file mode 100644 index 000000000..f2c00ee65 --- /dev/null +++ b/commands/context/start.context.ts @@ -0,0 +1,22 @@ +export interface StartCommandContext { + app?: string; + config?: string; + webpack?: boolean; + watch: boolean; + watchAssets: boolean; + path?: string; + webpackPath?: string; + rspackPath?: string; + builder?: string; + typeCheck?: boolean; + emitDeclarations?: boolean; + silent?: boolean; + preserveWatchOutput: boolean; + debug?: boolean | string; + exec?: string; + sourceRoot?: string; + entryFile?: string; + shell: boolean; + envFile: string[]; + extraFlags: string[]; +} diff --git a/commands/generate.command.ts b/commands/generate.command.ts index 3aed5b8dd..823f84b27 100644 --- a/commands/generate.command.ts +++ b/commands/generate.command.ts @@ -1,15 +1,17 @@ import { bold, cyan, green } from 'ansis'; -import * as Table from 'cli-table3'; -import { Command, CommanderStatic } from 'commander'; -import { AbstractCollection, CollectionFactory } from '../lib/schematics'; -import { Schematic } from '../lib/schematics/nest.collection'; -import { exitIfExtraArgs } from '../lib/utils/extra-args-warning'; -import { loadConfiguration } from '../lib/utils/load-configuration'; -import { AbstractCommand } from './abstract.command'; -import { Input } from './command.input'; +import Table from 'cli-table3'; +import { Command } from 'commander'; +import { + AbstractCollection, + CollectionFactory, +} from '../lib/schematics/index.js'; +import { Schematic } from '../lib/schematics/nest.collection.js'; +import { loadConfiguration } from '../lib/utils/load-configuration.js'; +import { AbstractCommand } from './abstract.command.js'; +import { GenerateCommandContext } from './context/index.js'; export class GenerateCommand extends AbstractCommand { - public async load(program: CommanderStatic): Promise { + public async load(program: Command): Promise { program .command('generate [name] [path]') .alias('g') @@ -35,13 +37,14 @@ export class GenerateCommand extends AbstractCommand { () => { return { value: true, passedAsInput: true }; }, - true, + { value: true, passedAsInput: false }, ) .option( '--spec-file-suffix [suffix]', 'Use a custom suffix for spec files.', ) .option('--skip-import', 'Skip importing', () => true, false) + .option('--format', 'Format generated files using Prettier.', false) .option('--no-spec', 'Disable spec files generation.', () => { return { value: false, passedAsInput: true }; }) @@ -49,73 +52,35 @@ export class GenerateCommand extends AbstractCommand { '-c, --collection [collectionName]', 'Schematics collection to use.', ) - .option('--type ', 'Transport layer type (rest, graphql, microservice)') + .option( + '--type ', + 'Transport layer type (rest, graphql, microservice)', + ) .option('--crud [value]', 'Generate CRUD entry points') .action( async ( schematic: string, name: string, path: string, - command: Command, + options: Record, ) => { - exitIfExtraArgs(command, 3); - - const options: Input[] = []; - options.push({ name: 'dry-run', value: !!command.dryRun }); - - if (command.flat !== undefined) { - options.push({ name: 'flat', value: command.flat }); - } - - options.push({ - name: 'spec', - value: - typeof command.spec === 'boolean' - ? command.spec - : command.spec.value, - options: { - passedAsInput: - typeof command.spec === 'boolean' - ? false - : command.spec.passedAsInput, - }, - }); - options.push({ - name: 'specFileSuffix', - value: command.specFileSuffix, - }); - options.push({ - name: 'collection', - value: command.collection, - }); - options.push({ - name: 'project', - value: command.project, - }); - - options.push({ - name: 'skipImport', - value: command.skipImport, - }); - - options.push({ - name: 'type', - value: command.type, - }); - - if (command.crud !== undefined) { - options.push({ - name: 'crud', - value: command.crud === true || command.crud === 'true', - }); - } - - const inputs: Input[] = []; - inputs.push({ name: 'schematic', value: schematic }); - inputs.push({ name: 'name', value: name }); - inputs.push({ name: 'path', value: path }); + const context: GenerateCommandContext = { + schematic, + name, + path, + dryRun: !!options.dryRun, + flat: options.flat, + spec: options.spec, + specFileSuffix: options.specFileSuffix, + collection: options.collection, + project: options.project, + skipImport: options.skipImport, + format: options.format === true, + type: options.type, + crud: options.crud === true ? true : undefined, + }; - await this.action.handle(inputs, options); + await this.action.handle(context); }, ); } @@ -143,7 +108,7 @@ export class GenerateCommand extends AbstractCommand { 'right-mid': '', }, }; - const table: any = new Table(tableConfig); + const table = new Table(tableConfig); for (const schematic of schematics) { table.push([ green(schematic.name), diff --git a/commands/index.ts b/commands/index.ts index 8047da9f2..8b310120d 100644 --- a/commands/index.ts +++ b/commands/index.ts @@ -1,2 +1,3 @@ -export * from './command.loader'; -export * from './command.input'; +export * from './command.input.js'; +export * from './command.loader.js'; +export * from './context/index.js'; diff --git a/commands/info.command.ts b/commands/info.command.ts index 7946bbf8f..2b06c0d39 100644 --- a/commands/info.command.ts +++ b/commands/info.command.ts @@ -1,9 +1,9 @@ -import { Command, CommanderStatic } from 'commander'; -import { exitIfExtraArgs } from '../lib/utils/extra-args-warning'; -import { AbstractCommand } from './abstract.command'; +import { Command } from 'commander'; +import { exitIfExtraArgs } from '../lib/utils/extra-args-warning.js'; +import { AbstractCommand } from './abstract.command.js'; export class InfoCommand extends AbstractCommand { - public load(program: CommanderStatic) { + public load(program: Command) { program .command('info') .alias('i') diff --git a/commands/new.command.ts b/commands/new.command.ts index 3f0ac7223..03d25227e 100644 --- a/commands/new.command.ts +++ b/commands/new.command.ts @@ -1,11 +1,10 @@ -import { Command, CommanderStatic } from 'commander'; -import { Collection } from '../lib/schematics'; -import { exitIfExtraArgs } from '../lib/utils/extra-args-warning'; -import { AbstractCommand } from './abstract.command'; -import { Input } from './command.input'; +import { Command } from 'commander'; +import { Collection } from '../lib/schematics/index.js'; +import { AbstractCommand } from './abstract.command.js'; +import { NewCommandContext } from './context/index.js'; export class NewCommand extends AbstractCommand { - public load(program: CommanderStatic) { + public load(program: Command) { program .command('new [name]') .alias('n') @@ -33,51 +32,52 @@ export class NewCommand extends AbstractCommand { Collection.NESTJS, ) .option('--strict', 'Enables strict mode in TypeScript.', false) - .action(async (name: string, command: Command) => { - exitIfExtraArgs(command, 1); - - const options: Input[] = []; + .option( + '-t, --skip-tests', + 'Do not generate testing files for the new project.', + false, + ) + .option('--format', 'Format generated files using Prettier.', false) + .action(async (name: string, options: Record) => { const availableLanguages = ['js', 'ts', 'javascript', 'typescript']; - options.push({ name: 'directory', value: command.directory }); - options.push({ name: 'dry-run', value: command.dryRun }); - options.push({ name: 'skip-git', value: command.skipGit }); - options.push({ name: 'skip-install', value: command.skipInstall }); - options.push({ name: 'strict', value: command.strict }); - options.push({ - name: 'packageManager', - value: command.packageManager, - }); - options.push({ name: 'collection', value: command.collection }); - if (!!command.language) { - const lowercasedLanguage = command.language.toLowerCase(); + let language = options.language; + if (language) { + const lowercasedLanguage = language.toLowerCase(); const langMatch = availableLanguages.includes(lowercasedLanguage); if (!langMatch) { throw new Error( - `Invalid language "${command.language}" selected. Available languages are "typescript" or "javascript"`, + `Invalid language "${language}" selected. Available languages are "typescript" or "javascript"`, ); } switch (lowercasedLanguage) { case 'javascript': - command.language = 'js'; + language = 'js'; break; case 'typescript': - command.language = 'ts'; + language = 'ts'; break; default: - command.language = lowercasedLanguage; + language = lowercasedLanguage; break; } } - options.push({ - name: 'language', - value: command.language, - }); - const inputs: Input[] = []; - inputs.push({ name: 'name', value: name }); + const context: NewCommandContext = { + name, + directory: options.directory, + dryRun: options.dryRun, + skipGit: options.skipGit, + skipInstall: options.skipInstall, + skipTests: options.skipTests, + packageManager: options.packageManager, + language, + collection: options.collection, + strict: options.strict, + format: options.format === true, + }; - await this.action.handle(inputs, options); + await this.action.handle(context); }); } } diff --git a/commands/start.command.ts b/commands/start.command.ts index 51db914ad..165f499fd 100644 --- a/commands/start.command.ts +++ b/commands/start.command.ts @@ -1,11 +1,11 @@ -import { Command, CommanderStatic } from 'commander'; -import { ERROR_PREFIX } from '../lib/ui'; -import { getRemainingFlags } from '../lib/utils/remaining-flags'; -import { AbstractCommand } from './abstract.command'; -import { Input } from './command.input'; +import { Command } from 'commander'; +import { ERROR_PREFIX } from '../lib/ui/index.js'; +import { getRemainingFlags } from '../lib/utils/remaining-flags.js'; +import { AbstractCommand } from './abstract.command.js'; +import { StartCommandContext } from './context/index.js'; export class StartCommand extends AbstractCommand { - public load(program: CommanderStatic): void { + public load(program: Command): void { const collect = (value: any, previous: any) => { return previous.concat([value]); }; @@ -16,7 +16,10 @@ export class StartCommand extends AbstractCommand { .option('-c, --config [path]', 'Path to nest-cli configuration file.') .option('-p, --path [path]', 'Path to tsconfig file.') .option('-w, --watch', 'Run in watch mode (live-reload).') - .option('-b, --builder [name]', 'Builder to be used (tsc, webpack, swc).') + .option( + '-b, --builder [name]', + 'Builder to be used (tsc, webpack, swc, rspack).', + ) .option('--watchAssets', 'Watch non-ts (e.g., .graphql) files mode.') .option( '-d, --debug [hostport] ', @@ -27,7 +30,22 @@ export class StartCommand extends AbstractCommand { 'Use webpack for compilation (deprecated option, use --builder instead).', ) .option('--webpackPath [path]', 'Path to webpack configuration.') - .option('--type-check', 'Enable type checking (when SWC is used).') + .option('--rspackPath [path]', 'Path to rspack configuration.') + .option( + '--type-check', + 'Enable type checking (when SWC is used).', + () => true, + ) + .option( + '--no-type-check', + 'Disable type checking (when SWC is used).', + () => false, + ) + .option( + '--emit-declarations', + 'Emit declaration files (.d.ts) when using SWC builder.', + ) + .option('--silent', 'Suppress informational compiler logs.') .option('--tsc', 'Use typescript compiler for compilation.') .option( '--sourceRoot [sourceRoot]', @@ -55,82 +73,49 @@ export class StartCommand extends AbstractCommand { [], ) .description('Run Nest application.') - .action(async (app: string, command: Command) => { - const options: Input[] = []; - - options.push({ - name: 'config', - value: command.config, - }); - - const isWebpackEnabled = command.tsc ? false : command.webpack; - options.push({ name: 'webpack', value: isWebpackEnabled }); - options.push({ name: 'debug', value: command.debug }); - options.push({ name: 'watch', value: !!command.watch }); - options.push({ name: 'watchAssets', value: !!command.watchAssets }); - options.push({ - name: 'path', - value: command.path, - }); - options.push({ - name: 'webpackPath', - value: command.webpackPath, - }); - options.push({ - name: 'exec', - value: command.exec, - }); - options.push({ - name: 'sourceRoot', - value: command.sourceRoot, - }); - options.push({ - name: 'entryFile', - value: command.entryFile, - }); - options.push({ - name: 'preserveWatchOutput', - value: - !!command.preserveWatchOutput && - !!command.watch && - !isWebpackEnabled, - }); - options.push({ - name: 'shell', - value: !!command.shell, - }); - options.push({ - name: 'envFile', - value: command.envFile, - }); + .action(async (app: string, options: Record) => { + const isWebpackEnabled = options.tsc ? false : options.webpack; - const availableBuilders = ['tsc', 'webpack', 'swc']; - if (command.builder && !availableBuilders.includes(command.builder)) { + const availableBuilders = ['tsc', 'webpack', 'swc', 'rspack']; + if (options.builder && !availableBuilders.includes(options.builder)) { console.error( ERROR_PREFIX + ` Invalid builder option: ${ - command.builder + options.builder }. Available builders: ${availableBuilders.join(', ')}`, ); return; } - options.push({ - name: 'builder', - value: command.builder, - }); - - options.push({ - name: 'typeCheck', - value: command.typeCheck, - }); - const inputs: Input[] = []; - inputs.push({ name: 'app', value: app }); - const flags = getRemainingFlags(program); + const context: StartCommandContext = { + app, + config: options.config, + webpack: isWebpackEnabled, + watch: !!options.watch, + watchAssets: !!options.watchAssets, + path: options.path, + webpackPath: options.webpackPath, + rspackPath: options.rspackPath, + builder: options.builder, + typeCheck: options.typeCheck, + emitDeclarations: !!options.emitDeclarations, + silent: !!options.silent, + preserveWatchOutput: + !!options.preserveWatchOutput && + !!options.watch && + !isWebpackEnabled, + debug: options.debug, + exec: options.exec, + sourceRoot: options.sourceRoot, + entryFile: options.entryFile, + shell: !!options.shell, + envFile: options.envFile ?? [], + extraFlags: getRemainingFlags(program), + }; try { - await this.action.handle(inputs, options, flags); - } catch (err) { + await this.action.handle(context); + } catch { process.exit(1); } }); diff --git a/gulpfile.js b/gulpfile.js deleted file mode 100644 index a0962e1a3..000000000 --- a/gulpfile.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; -/** - * Load the TypeScript compiler, then load the TypeScript gulpfile which simply loads all - * the tasks. The tasks are really inside tools/gulp/tasks. - */ - -const path = require('path'); - -const projectDir = __dirname; -const tsconfigPath = path.join(projectDir, 'tools/gulp/tsconfig.json'); - -require('ts-node').register({ - project: tsconfigPath -}); - -require('./tools/gulp/gulpfile'); \ No newline at end of file diff --git a/lib/compiler/assets-manager.ts b/lib/compiler/assets-manager.ts index 076d3679d..66fc146bd 100644 --- a/lib/compiler/assets-manager.ts +++ b/lib/compiler/assets-manager.ts @@ -7,34 +7,26 @@ import { Asset, AssetEntry, Configuration, -} from '../configuration'; -import { copyPathResolve } from './helpers/copy-path-resolve'; -import { getValueOrDefault } from './helpers/get-value-or-default'; +} from '../configuration/index.js'; +import { copyPathResolve } from './helpers/copy-path-resolve.js'; +import { getValueOrDefault } from './helpers/get-value-or-default.js'; + +const ASSET_CHANGE_RESTART_DEBOUNCE_MS = 150; export class AssetsManager { private watchAssetsKeyValue: { [key: string]: boolean } = {}; private watchers: chokidar.FSWatcher[] = []; - private actionInProgress = false; + private watcherReadyPromises: Promise[] = []; /** - * Using on `nest build` to close file watch or the build process will not end - * Interval like process - * If no action has been taken recently close watchers - * If action has been taken recently flag and try again + * Using on `nest build` to close file watch or the build process will not end. + * Waits for all watchers to complete their initial scan before closing them, + * ensuring all assets are copied regardless of system speed. */ public closeWatchers() { - // Consider adjusting this for larger files - const timeoutMs = 500; - const closeFn = () => { - if (this.actionInProgress) { - this.actionInProgress = false; - setTimeout(closeFn, timeoutMs); - } else { - this.watchers.forEach((watcher) => watcher.close()); - } - }; - - setTimeout(closeFn, timeoutMs); + Promise.all(this.watcherReadyPromises).then(() => { + this.watchers.forEach((watcher) => watcher.close()); + }); } public copyAssets( @@ -42,6 +34,8 @@ export class AssetsManager { appName: string | undefined, outDir: string, watchAssetsMode: boolean, + onSuccess?: () => void, + rootDir?: string, ) { const assets = getValueOrDefault( @@ -50,7 +44,20 @@ export class AssetsManager { appName, ) || []; - if (assets.length <= 0) { + const includeLibraryAssets = + getValueOrDefault( + configuration, + 'compilerOptions.includeLibraryAssets', + appName, + ) || []; + + const libraryAssets = this.collectLibraryAssets( + configuration, + includeLibraryAssets, + outDir, + ); + + if (assets.length <= 0 && libraryAssets.length <= 0) { return; } @@ -58,6 +65,14 @@ export class AssetsManager { let sourceRoot = getValueOrDefault(configuration, 'sourceRoot', appName); sourceRoot = join(process.cwd(), sourceRoot); + // The asset path stripping must mirror how the TypeScript compiler emits + // files. When the effective rootDir (either explicit or computed from + // input files) differs from the configured `sourceRoot` — typically the + // case when `--path` points at a tsconfig with a different rootDir — we + // use that rootDir instead so copied assets stay aligned with the + // emitted JavaScript output. See nestjs/nest-cli#3387. + const stripRoot = rootDir ? join(rootDir) : sourceRoot; + const filesToCopy = assets.map((item) => { let includePath = typeof item === 'string' ? item : item.include!; let excludePath = @@ -77,6 +92,8 @@ export class AssetsManager { }; }); + const allFilesToCopy = [...filesToCopy, ...libraryAssets]; + const isWatchEnabled = getValueOrDefault( configuration, @@ -84,27 +101,85 @@ export class AssetsManager { appName, ) || watchAssetsMode; - for (const item of filesToCopy) { + // Debounce onSuccess so that a burst of asset changes (e.g. a git + // checkout touching many files at once) only triggers a single restart. + let debouncedOnSuccess: (() => void) | undefined; + if (onSuccess) { + let pending: NodeJS.Timeout | undefined; + debouncedOnSuccess = () => { + if (pending) { + clearTimeout(pending); + } + pending = setTimeout(() => { + pending = undefined; + onSuccess(); + }, ASSET_CHANGE_RESTART_DEBOUNCE_MS); + }; + } + + for (const item of allFilesToCopy) { + // Library assets carry their own `_sourceRoot` so the per-library + // directory layout is preserved verbatim. For application assets we + // strip relative to the effective tsconfig rootDir (falls back to + // sourceRoot when no rootDir is supplied or computable). + const itemSourceRoot = (item as any)._sourceRoot || stripRoot; const option: ActionOnFile = { action: 'change', item, path: '', - sourceRoot, + sourceRoot: itemSourceRoot, watchAssetsMode: isWatchEnabled, }; if (isWatchEnabled || item.watchAssets) { + const matchedPaths = sync(item.glob, { + ignore: item.exclude, + dot: true, + }); + + // Chokidar does not emit the 'ready' event when given an empty + // array of paths, which causes closeWatchers() to hang forever + // on Promise.all(watcherReadyPromises). Skip the watcher and + // warn the user so the build can finish normally. + if (matchedPaths.length === 0) { + console.warn( + `No files matched the asset pattern "${item.glob}". ` + + `Skipping watcher for this entry.`, + ); + continue; + } + + let ready = false; // prettier-ignore const watcher = chokidar - .watch(sync(item.glob, { - ignore: item.exclude, - dot: true, - })) - .on('add', (path: string) => this.actionOnFile({ ...option, path, action: 'change' })) - .on('change', (path: string) => this.actionOnFile({ ...option, path, action: 'change' })) - .on('unlink', (path: string) => this.actionOnFile({ ...option, path, action: 'unlink' })); + .watch(matchedPaths) + .on('add', (path: string) => { + this.actionOnFile({ ...option, path, action: 'change' }); + if (ready && debouncedOnSuccess) { + debouncedOnSuccess(); + } + }) + .on('change', (path: string) => { + this.actionOnFile({ ...option, path, action: 'change' }); + if (ready && debouncedOnSuccess) { + debouncedOnSuccess(); + } + }) + .on('unlink', (path: string) => { + this.actionOnFile({ ...option, path, action: 'unlink' }); + if (ready && debouncedOnSuccess) { + debouncedOnSuccess(); + } + }); + + watcher.on('ready', () => { + ready = true; + }); this.watchers.push(watcher); + this.watcherReadyPromises.push( + new Promise((resolve) => watcher.on('ready', resolve)), + ); } else { const matchedPaths = sync(item.glob, { ignore: item.exclude, @@ -128,11 +203,67 @@ export class AssetsManager { } } catch (err) { throw new Error( - `An error occurred during the assets copying process. ${err.message}`, + `An error occurred during the assets copying process. ${(err as Error).message}`, + { cause: err }, ); } } + private collectLibraryAssets( + configuration: Required, + libraryNames: string[], + outDir: string, + ): AssetEntry[] { + if (!libraryNames.length || !configuration.projects) { + return []; + } + + const result: AssetEntry[] = []; + + for (const libName of libraryNames) { + const libProject = configuration.projects[libName]; + if (!libProject) { + continue; + } + + const libAssets = libProject.compilerOptions?.assets as + | Asset[] + | undefined; + if (!libAssets || libAssets.length <= 0) { + continue; + } + + const libSourceRoot = join( + process.cwd(), + libProject.sourceRoot || libProject.root || '', + ); + + for (const item of libAssets) { + let includePath = typeof item === 'string' ? item : item.include!; + let excludePath = + typeof item !== 'string' && item.exclude ? item.exclude : undefined; + + includePath = join(libSourceRoot, includePath).replace(/\\/g, '/'); + excludePath = excludePath + ? join(libSourceRoot, excludePath).replace(/\\/g, '/') + : undefined; + + const entry: AssetEntry & { _sourceRoot?: string } = { + outDir: typeof item !== 'string' ? item.outDir || outDir : outDir, + glob: includePath, + exclude: excludePath, + flat: typeof item !== 'string' ? item.flat : undefined, + watchAssets: typeof item !== 'string' ? item.watchAssets : undefined, + _sourceRoot: libSourceRoot, + }; + + result.push(entry); + } + } + + return result; + } + private actionOnFile(option: ActionOnFile) { const { action, item, path, sourceRoot, watchAssetsMode } = option; const isWatchEnabled = watchAssetsMode || item.watchAssets; @@ -144,8 +275,6 @@ export class AssetsManager { } // Set path value to true for watching the first time this.watchAssetsKeyValue[assetCheckKey] = true; - // Set action to true to avoid watches getting cutoff - this.actionInProgress = true; const dest = copyPathResolve( path, diff --git a/lib/compiler/base-compiler.ts b/lib/compiler/base-compiler.ts index 9c5b46913..c814cdd06 100644 --- a/lib/compiler/base-compiler.ts +++ b/lib/compiler/base-compiler.ts @@ -1,7 +1,7 @@ import { dirname, join, normalize, relative } from 'path'; -import { Configuration } from '../configuration'; -import { getValueOrDefault } from './helpers/get-value-or-default'; -import { PluginsLoader } from './plugins/plugins-loader'; +import { Configuration } from '../configuration/index.js'; +import { getValueOrDefault } from './helpers/get-value-or-default.js'; +import { PluginsLoader } from './plugins/plugins-loader.js'; export abstract class BaseCompiler> { constructor(private readonly pluginsLoader: PluginsLoader) {} @@ -12,9 +12,9 @@ export abstract class BaseCompiler> { appName: string | undefined, extras?: T, onSuccess?: () => void, - ): any; + ): void | Promise; - public loadPlugins( + protected loadPlugins( configuration: Required, tsConfigPath: string, appName: string | undefined, @@ -34,7 +34,7 @@ export abstract class BaseCompiler> { return plugins; } - public getPathToSource( + protected getPathToSource( configuration: Required, tsConfigPath: string, appName: string | undefined, diff --git a/lib/compiler/compiler.ts b/lib/compiler/compiler.ts index 48b2aa54f..12e6a3b0f 100644 --- a/lib/compiler/compiler.ts +++ b/lib/compiler/compiler.ts @@ -1,10 +1,10 @@ import * as ts from 'typescript'; -import { Configuration } from '../configuration'; -import { BaseCompiler } from './base-compiler'; -import { TsConfigProvider } from './helpers/tsconfig-provider'; -import { tsconfigPathsBeforeHookFactory } from './hooks/tsconfig-paths.hook'; -import { PluginsLoader } from './plugins/plugins-loader'; -import { TypeScriptBinaryLoader } from './typescript-loader'; +import { Configuration } from '../configuration/index.js'; +import { BaseCompiler } from './base-compiler.js'; +import { TsConfigProvider } from './helpers/tsconfig-provider.js'; +import { tsconfigPathsBeforeHookFactory } from './hooks/tsconfig-paths.hook.js'; +import { PluginsLoader } from './plugins/plugins-loader.js'; +import { TypeScriptBinaryLoader } from './typescript-loader.js'; export class Compiler extends BaseCompiler { constructor( @@ -19,7 +19,7 @@ export class Compiler extends BaseCompiler { configuration: Required, tsConfigPath: string, appName: string | undefined, - _extras: any, + _extras: unknown, onSuccess?: () => void, ) { const tsBinary = this.typescriptLoader.load(); diff --git a/lib/compiler/defaults/rspack-defaults.ts b/lib/compiler/defaults/rspack-defaults.ts new file mode 100644 index 000000000..0b791199b --- /dev/null +++ b/lib/compiler/defaults/rspack-defaults.ts @@ -0,0 +1,193 @@ +import { builtinModules, createRequire } from 'module'; +import { join } from 'path'; +import type { TsconfigPathsPlugin as TsconfigPathsPluginType } from 'tsconfig-paths-webpack-plugin'; +import type nodeExternals from 'webpack-node-externals'; +import { defaultTsconfigFilename } from '../../configuration/defaults.js'; +import { appendTsExtension } from '../helpers/append-extension.js'; +import { MultiNestCompilerPlugins } from '../plugins/plugins-loader.js'; + +const require = createRequire(import.meta.url); + +function loadRspackDeps() { + try { + const rspack = require('@rspack/core'); + const externals = require('webpack-node-externals') as typeof nodeExternals; + const { TsconfigPathsPlugin } = + require('tsconfig-paths-webpack-plugin') as { + TsconfigPathsPlugin: typeof TsconfigPathsPluginType; + }; + return { nodeExternals: externals, TsconfigPathsPlugin, rspack }; + } catch (e: any) { + const pkg = + e?.message?.match?.(/Cannot find.*'([^']+)'/)?.[1] ?? + 'webpack-node-externals'; + throw new Error( + `The "${pkg}" package is required when using the rspack compiler but could not be found. ` + + `Please install it:\n\n npm install --save-dev @rspack/core webpack-node-externals tsconfig-paths-webpack-plugin\n`, + ); + } +} + +export const rspackDefaultsFactory = ( + sourceRoot: string, + relativeSourceRoot: string, + entryFilename: string, + isDebugEnabled = false, + tsConfigFile = defaultTsconfigFilename, + plugins: MultiNestCompilerPlugins, + isEsm = false, +): Record => { + const { nodeExternals: externals, TsconfigPathsPlugin } = loadRspackDeps(); + + const isPluginRegistered = isAnyPluginRegistered(plugins); + + const rspackConfiguration: Record = { + entry: appendTsExtension(join(sourceRoot, entryFilename)), + devtool: isDebugEnabled ? 'inline-source-map' : false, + target: 'node', + output: { + filename: join(relativeSourceRoot, `${entryFilename}.js`).replace( + /\\/g, + '/', + ), + ...(isEsm && { + module: true, + library: { type: 'module' }, + chunkFormat: 'module', + chunkLoading: 'import', + }), + }, + ...(isEsm && { + experiments: { outputModule: true, topLevelAwait: true }, + }), + ignoreWarnings: [/^(?!CriticalDependenciesWarning$)/], + externals: [ + externals(isEsm ? { importType: 'module' } : {}) as any, + ...(isEsm + ? [ + ({ request }: { request?: string }, callback: Function) => { + if (!request) return callback(); + const bare = request.startsWith('node:') + ? request.slice(5) + : request; + if (builtinModules.includes(bare)) { + return callback(null, `module ${request}`); + } + callback(); + }, + ] + : []), + ], + externalsPresets: { node: !isEsm }, + module: { + rules: [ + { + test: /\.tsx?$/, + use: [ + { + loader: 'builtin:swc-loader', + options: { + jsc: { + parser: { + syntax: 'typescript', + decorators: true, + }, + transform: { + legacyDecorator: true, + decoratorMetadata: true, + }, + target: 'es2021', + }, + sourceMaps: isDebugEnabled, + }, + }, + ], + exclude: /node_modules/, + ...(isEsm && { type: 'javascript/esm' as const }), + }, + ], + }, + resolve: { + extensions: ['.tsx', '.ts', '.js'], + ...(isEsm && { + extensionAlias: { + '.js': ['.ts', '.js'], + '.mjs': ['.mts', '.mjs'], + }, + }), + tsConfig: tsConfigFile, + plugins: [ + new TsconfigPathsPlugin({ + configFile: tsConfigFile, + }), + ], + }, + mode: 'none', + optimization: { + nodeEnv: false, + }, + node: { + __filename: false, + __dirname: false, + }, + plugins: [], + }; + + // rspack has built-in IgnorePlugin (compatible with webpack's) + try { + const rspack = require('@rspack/core'); + rspackConfiguration.plugins!.push( + new rspack.IgnorePlugin({ + checkResource(resource: any) { + const lazyImports = [ + '@nestjs/microservices', + '@nestjs/microservices/microservices-module', + '@nestjs/websockets/socket-module', + 'class-validator', + 'class-transformer', + 'class-transformer/storage', + ]; + if (!lazyImports.includes(resource)) { + return false; + } + try { + require.resolve(resource, { + paths: [process.cwd()], + }); + } catch { + return true; + } + return false; + }, + }), + ); + } catch { + // @rspack/core not available, skip IgnorePlugin + } + + if (!isPluginRegistered) { + try { + const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); + rspackConfiguration.plugins!.push( + new ForkTsCheckerWebpackPlugin({ + typescript: { + configFile: tsConfigFile, + }, + }), + ); + } catch { + // fork-ts-checker-webpack-plugin not available, skip + } + } + + return rspackConfiguration; +}; + +function isAnyPluginRegistered(plugins: MultiNestCompilerPlugins) { + return ( + (plugins.afterHooks && plugins.afterHooks.length > 0) || + (plugins.beforeHooks && plugins.beforeHooks.length > 0) || + (plugins.afterDeclarationsHooks && + plugins.afterDeclarationsHooks.length > 0) + ); +} diff --git a/lib/compiler/defaults/swc-defaults.ts b/lib/compiler/defaults/swc-defaults.ts index 5d031244e..4c5d210de 100644 --- a/lib/compiler/defaults/swc-defaults.ts +++ b/lib/compiler/defaults/swc-defaults.ts @@ -1,5 +1,5 @@ import * as ts from 'typescript'; -import { Configuration } from '../../configuration'; +import { Configuration } from '../../configuration/index.js'; export const swcDefaultsFactory = ( tsOptions?: ts.CompilerOptions, diff --git a/lib/compiler/defaults/webpack-defaults.ts b/lib/compiler/defaults/webpack-defaults.ts index 4c5232b72..2ba850609 100644 --- a/lib/compiler/defaults/webpack-defaults.ts +++ b/lib/compiler/defaults/webpack-defaults.ts @@ -1,10 +1,31 @@ +import { createRequire } from 'module'; import { join } from 'path'; -import { TsconfigPathsPlugin } from 'tsconfig-paths-webpack-plugin'; -import { defaultTsconfigFilename } from '../../configuration/defaults'; -import { appendTsExtension } from '../helpers/append-extension'; -import { MultiNestCompilerPlugins } from '../plugins/plugins-loader'; -import webpack = require('webpack'); -import nodeExternals = require('webpack-node-externals'); +import type { TsconfigPathsPlugin as TsconfigPathsPluginType } from 'tsconfig-paths-webpack-plugin'; +import type webpack from 'webpack'; +import type nodeExternals from 'webpack-node-externals'; +import { defaultTsconfigFilename } from '../../configuration/defaults.js'; +import { appendTsExtension } from '../helpers/append-extension.js'; +import { MultiNestCompilerPlugins } from '../plugins/plugins-loader.js'; + +const require = createRequire(import.meta.url); + +function loadWebpackDeps() { + try { + const wp = require('webpack') as typeof webpack; + const externals = require('webpack-node-externals') as typeof nodeExternals; + const { TsconfigPathsPlugin } = + require('tsconfig-paths-webpack-plugin') as { + TsconfigPathsPlugin: typeof TsconfigPathsPluginType; + }; + return { webpack: wp, nodeExternals: externals, TsconfigPathsPlugin }; + } catch (e: any) { + const pkg = e?.message?.match?.(/Cannot find.*'([^']+)'/)?.[1] ?? 'webpack'; + throw new Error( + `The "${pkg}" package is required when using the webpack compiler but could not be found. ` + + `Please install it:\n\n npm install --save-dev webpack webpack-node-externals tsconfig-paths-webpack-plugin ts-loader fork-ts-checker-webpack-plugin\n`, + ); + } +} export const webpackDefaultsFactory = ( sourceRoot: string, @@ -14,16 +35,25 @@ export const webpackDefaultsFactory = ( tsConfigFile = defaultTsconfigFilename, plugins: MultiNestCompilerPlugins, ): webpack.Configuration => { + const { + webpack: wp, + nodeExternals: externals, + TsconfigPathsPlugin, + } = loadWebpackDeps(); + const isPluginRegistered = isAnyPluginRegistered(plugins); const webpackConfiguration: webpack.Configuration = { entry: appendTsExtension(join(sourceRoot, entryFilename)), devtool: isDebugEnabled ? 'inline-source-map' : false, target: 'node', output: { - filename: join(relativeSourceRoot, `${entryFilename}.js`), + filename: join(relativeSourceRoot, `${entryFilename}.js`).replace( + /\\/g, + '/', + ), }, ignoreWarnings: [/^(?!CriticalDependenciesWarning$)/], - externals: [nodeExternals() as any], + externals: [externals() as any], externalsPresets: { node: true }, module: { rules: [ @@ -66,7 +96,7 @@ export const webpackDefaultsFactory = ( __dirname: false, }, plugins: [ - new webpack.IgnorePlugin({ + new wp.IgnorePlugin({ checkResource(resource: any) { const lazyImports = [ '@nestjs/microservices', @@ -83,7 +113,7 @@ export const webpackDefaultsFactory = ( require.resolve(resource, { paths: [process.cwd()], }); - } catch (err) { + } catch { return true; } return false; @@ -93,7 +123,6 @@ export const webpackDefaultsFactory = ( }; if (!isPluginRegistered) { - // eslint-disable-next-line @typescript-eslint/no-var-requires const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); webpackConfiguration.plugins!.push( diff --git a/lib/compiler/helpers/delete-out-dir.ts b/lib/compiler/helpers/delete-out-dir.ts index e8f34a573..4f3e7608c 100644 --- a/lib/compiler/helpers/delete-out-dir.ts +++ b/lib/compiler/helpers/delete-out-dir.ts @@ -1,7 +1,7 @@ import { rm } from 'fs/promises'; import * as ts from 'typescript'; -import { Configuration } from '../../configuration'; -import { getValueOrDefault } from './get-value-or-default'; +import { Configuration } from '../../configuration/index.js'; +import { getValueOrDefault } from './get-value-or-default.js'; export async function deleteOutDirIfEnabled( configuration: Required, diff --git a/lib/compiler/helpers/get-builder.ts b/lib/compiler/helpers/get-builder.ts index 4d087d462..f118e9a85 100644 --- a/lib/compiler/helpers/get-builder.ts +++ b/lib/compiler/helpers/get-builder.ts @@ -1,6 +1,5 @@ -import { Input } from '../../../commands'; -import { Builder, Configuration } from '../../configuration'; -import { getValueOrDefault } from './get-value-or-default'; +import { Builder, Configuration } from '../../configuration/index.js'; +import { getValueOrDefault } from './get-value-or-default.js'; /** * Returns the builder to use for the given application. @@ -11,7 +10,7 @@ import { getValueOrDefault } from './get-value-or-default'; */ export function getBuilder( configuration: Required, - cmdOptions: Input[], + cmdOptions: Record, appName: string | undefined, ) { const builderValue = getValueOrDefault( diff --git a/lib/compiler/helpers/get-effective-root-dir.ts b/lib/compiler/helpers/get-effective-root-dir.ts new file mode 100644 index 000000000..ecf328897 --- /dev/null +++ b/lib/compiler/helpers/get-effective-root-dir.ts @@ -0,0 +1,59 @@ +import { dirname, isAbsolute, normalize, resolve, sep } from 'path'; + +/** + * Computes the effective TypeScript rootDir for an emit, mirroring how the + * TypeScript compiler determines it when `rootDir` is not set in tsconfig. + * + * When `rootDir` is explicitly configured, its absolute, normalized form is + * returned. Otherwise the longest common parent directory of the input file + * list is used (the same heuristic TypeScript applies through + * `Program#getCommonSourceDirectory`). + * + * Returns `undefined` if no rootDir can be determined (e.g. no input files). + * + * @param explicitRootDir Value of `compilerOptions.rootDir` from tsconfig, if any. + * @param fileNames List of TypeScript input files (absolute paths). + * @param cwd Current working directory used to resolve relative paths. + */ +export function getEffectiveRootDir( + explicitRootDir: string | undefined, + fileNames: readonly string[] | undefined, + cwd: string = process.cwd(), +): string | undefined { + if (explicitRootDir) { + return normalize( + isAbsolute(explicitRootDir) + ? explicitRootDir + : resolve(cwd, explicitRootDir), + ); + } + + if (!fileNames || fileNames.length === 0) { + return undefined; + } + + const absolutePaths = fileNames.map((file) => + normalize(isAbsolute(file) ? file : resolve(cwd, file)), + ); + + let commonDir = dirname(absolutePaths[0]); + for (let i = 1; i < absolutePaths.length; i++) { + commonDir = commonParentDir(commonDir, dirname(absolutePaths[i])); + if (!commonDir) { + return undefined; + } + } + return commonDir; +} + +function commonParentDir(a: string, b: string): string { + const aSegments = a.split(sep); + const bSegments = b.split(sep); + const length = Math.min(aSegments.length, bSegments.length); + + let i = 0; + while (i < length && aSegments[i] === bSegments[i]) { + i++; + } + return aSegments.slice(0, i).join(sep); +} diff --git a/lib/compiler/helpers/get-rspack-config-path.ts b/lib/compiler/helpers/get-rspack-config-path.ts new file mode 100644 index 000000000..5d3f54187 --- /dev/null +++ b/lib/compiler/helpers/get-rspack-config-path.ts @@ -0,0 +1,32 @@ +import { Builder, Configuration } from '../../configuration/index.js'; +import { getValueOrDefault } from './get-value-or-default.js'; + +/** + * Returns the path to the rspack configuration file to use for the given application. + * CLI option `rspackPath` takes precedence over the configuration file. + * @param configuration Configuration object. + * @param cmdOptions Command line options. + * @param appName Application name. + * @returns The path to the rspack configuration file to use. + */ +export function getRspackConfigPath( + configuration: Required, + cmdOptions: Record, + appName: string | undefined, +) { + if (cmdOptions?.rspackPath) { + return cmdOptions.rspackPath as string; + } + + const builder = getValueOrDefault( + configuration, + 'compilerOptions.builder', + appName, + ); + + const rspackPath = + typeof builder === 'object' && builder?.type === 'rspack' + ? builder.options?.configPath + : undefined; + return rspackPath; +} diff --git a/lib/compiler/helpers/get-tsc-config.path.ts b/lib/compiler/helpers/get-tsc-config.path.ts index 7162e1ca5..ba995d3e6 100644 --- a/lib/compiler/helpers/get-tsc-config.path.ts +++ b/lib/compiler/helpers/get-tsc-config.path.ts @@ -1,7 +1,6 @@ -import { Input } from '../../../commands'; -import { Builder, Configuration } from '../../configuration'; -import { getDefaultTsconfigPath } from '../../utils/get-default-tsconfig-path'; -import { getValueOrDefault } from './get-value-or-default'; +import { Builder, Configuration } from '../../configuration/index.js'; +import { getDefaultTsconfigPath } from '../../utils/get-default-tsconfig-path.js'; +import { getValueOrDefault } from './get-value-or-default.js'; /** * Returns the path to the tsc configuration file to use for the given application. @@ -12,7 +11,7 @@ import { getValueOrDefault } from './get-value-or-default'; */ export function getTscConfigPath( configuration: Required, - cmdOptions: Input[], + cmdOptions: Record, appName: string | undefined, ) { let tsconfigPath = getValueOrDefault( diff --git a/lib/compiler/helpers/get-value-or-default.ts b/lib/compiler/helpers/get-value-or-default.ts index 9b0b71c14..6e3089ed1 100644 --- a/lib/compiler/helpers/get-value-or-default.ts +++ b/lib/compiler/helpers/get-value-or-default.ts @@ -1,5 +1,4 @@ -import { Input } from '../../../commands'; -import { Configuration } from '../../configuration'; +import { Configuration } from '../../configuration/index.js'; export function getValueOrDefault( configuration: Required, @@ -13,12 +12,12 @@ export function getValueOrDefault( | 'sourceRoot' | 'exec' | 'builder' - | 'typeCheck', - options: Input[] = [], + | 'typeCheck' + | 'emitDeclarations', + options: Record = {}, defaultValue?: T, ): T { - const item = options.find((option) => option.name === key); - const origValue = item && (item.value as unknown as T); + const origValue = key != null ? (options[key] as unknown as T) : undefined; if (origValue !== undefined && origValue !== null) { return origValue as T; } diff --git a/lib/compiler/helpers/get-webpack-config-path.ts b/lib/compiler/helpers/get-webpack-config-path.ts index d8bd5d6fb..ecb4d02d5 100644 --- a/lib/compiler/helpers/get-webpack-config-path.ts +++ b/lib/compiler/helpers/get-webpack-config-path.ts @@ -1,6 +1,5 @@ -import { Input } from '../../../commands'; -import { Builder, Configuration } from '../../configuration'; -import { getValueOrDefault } from './get-value-or-default'; +import { Builder, Configuration } from '../../configuration/index.js'; +import { getValueOrDefault } from './get-value-or-default.js'; /** * Returns the path to the webpack configuration file to use for the given application. @@ -11,7 +10,7 @@ import { getValueOrDefault } from './get-value-or-default'; */ export function getWebpackConfigPath( configuration: Required, - cmdOptions: Input[], + cmdOptions: Record, appName: string | undefined, ) { let webpackPath = getValueOrDefault( diff --git a/lib/compiler/helpers/tsconfig-provider.ts b/lib/compiler/helpers/tsconfig-provider.ts index 49dbf0bf7..db7a30014 100644 --- a/lib/compiler/helpers/tsconfig-provider.ts +++ b/lib/compiler/helpers/tsconfig-provider.ts @@ -1,8 +1,8 @@ import { existsSync } from 'fs'; import { join } from 'path'; import * as ts from 'typescript'; -import { CLI_ERRORS } from '../../ui'; -import { TypeScriptBinaryLoader } from '../typescript-loader'; +import { CLI_ERRORS } from '../../ui/index.js'; +import { TypeScriptBinaryLoader } from '../typescript-loader.js'; export class TsConfigProvider { constructor(private readonly typescriptLoader: TypeScriptBinaryLoader) {} @@ -18,7 +18,12 @@ export class TsConfigProvider { undefined!, tsBinary.sys as unknown as ts.ParseConfigFileHost, ); - const { options, fileNames, projectReferences } = parsedCmd!; + if (!parsedCmd) { + throw new Error( + `Could not parse TypeScript configuration file "${configFilename}". Please, ensure that the file contains valid JSON and compiler options.`, + ); + } + const { options, fileNames, projectReferences } = parsedCmd; return { options, fileNames, projectReferences }; } } diff --git a/lib/compiler/hooks/tsconfig-paths.hook.ts b/lib/compiler/hooks/tsconfig-paths.hook.ts index fed8b4d8b..2a0d0f629 100644 --- a/lib/compiler/hooks/tsconfig-paths.hook.ts +++ b/lib/compiler/hooks/tsconfig-paths.hook.ts @@ -1,8 +1,10 @@ -import * as os from 'os'; +import { createRequire } from 'module'; import { dirname, posix } from 'path'; +import * as tsPaths from 'tsconfig-paths'; import * as ts from 'typescript'; -import { TypeScriptBinaryLoader } from '../typescript-loader'; -import tsPaths = require('tsconfig-paths'); +import { TypeScriptBinaryLoader } from '../typescript-loader.js'; + +const require = createRequire(import.meta.url); export function tsconfigPathsBeforeHookFactory( compilerOptions: ts.CompilerOptions, @@ -86,19 +88,21 @@ function getNotAliasedPath( if (!result) { return; } - if (os.platform() === 'win32') { + if (process.platform === 'win32') { result = result.replace(/\\/g, '/'); } try { // Installed packages (node modules) should take precedence over root files with the same name. // Ref: https://github.com/nestjs/nest-cli/issues/838 const packagePath = require.resolve(text, { - paths: [process.cwd(), ...module.paths], + paths: [process.cwd(), ...(require.resolve.paths(text) ?? [])], }); if (packagePath) { return text; } - } catch {} + } catch { + // package resolution failed, fall through to relative path + } const resolvedPath = posix.relative(dirname(sf.fileName), result) || './'; return resolvedPath[0] === '.' ? resolvedPath : './' + resolvedPath; diff --git a/lib/compiler/plugins/plugin-metadata-generator.ts b/lib/compiler/plugins/plugin-metadata-generator.ts index 156f843da..0172d0f7b 100644 --- a/lib/compiler/plugins/plugin-metadata-generator.ts +++ b/lib/compiler/plugins/plugin-metadata-generator.ts @@ -2,11 +2,132 @@ import * as ts from 'typescript'; import { DeepPluginMeta, ReadonlyVisitor, -} from '../interfaces/readonly-visitor.interface'; -import { FOUND_NO_ISSUES_GENERATING_METADATA } from '../swc/constants'; -import { TypeCheckerHost } from '../swc/type-checker-host'; -import { TypeScriptBinaryLoader } from '../typescript-loader'; -import { PluginMetadataPrinter } from './plugin-metadata-printer'; +} from '../interfaces/readonly-visitor.interface.js'; +import { FOUND_NO_ISSUES_GENERATING_METADATA } from '../swc/constants.js'; +import { TypeCheckerHost } from '../swc/type-checker-host.js'; +import { TypeScriptBinaryLoader } from '../typescript-loader.js'; +import { PluginMetadataPrinter } from './plugin-metadata-printer.js'; + +/** + * Returns `true` when the consuming project uses an ESM-style module + * resolution strategy (`node16` / `nodenext`). Under those resolution + * modes, dynamic `import()` specifiers MUST include the file extension + * (typically `.js`) for the runtime resolver to find the module. Without + * the extension, executing the generated metadata file fails with + * `ERR_MODULE_NOT_FOUND`, and TypeScript reports a diagnostic. + */ +export function requiresExplicitImportExtensions( + options: ts.CompilerOptions, + tsBinary: typeof ts, +): boolean { + const moduleResolution = options.moduleResolution; + return ( + moduleResolution === tsBinary.ModuleResolutionKind.Node16 || + moduleResolution === tsBinary.ModuleResolutionKind.NodeNext + ); +} + +const RELATIVE_PATH_RE = /^\.\.?\//; +// Any common JS/TS-style extension that the user could have authored or +// that our rewrite would have already produced. Prevents double-appending. +const HAS_KNOWN_EXTENSION_RE = /\.(m?js|c?js|m?ts|c?ts|json|node)$/i; + +/** + * Returns the same import path with `.js` appended when (and only when) + * the path is relative and does not already end in a recognized + * extension. Bare specifiers (e.g. `@nestjs/common`) and absolute paths + * are returned unchanged because the caller's resolver handles them. + */ +export function appendJsExtensionIfMissing(importPath: string): string { + if (!RELATIVE_PATH_RE.test(importPath)) { + return importPath; + } + if (HAS_KNOWN_EXTENSION_RE.test(importPath)) { + return importPath; + } + return `${importPath}.js`; +} + +/** + * Rewrites a single `await import("...")`-style string by appending the + * `.js` extension to the inner specifier when it is a relative path + * without an extension. Used to patch the visitor-supplied `typeImports` + * map values. + */ +export function rewriteAsyncImportString(target: string): string { + return target.replace( + /import\((['"])((?:\\\1|(?!\1).)*)\1\)/g, + (match, quote, specifier) => + `import(${quote}${appendJsExtensionIfMissing(specifier)}${quote})`, + ); +} + +/** + * Walks the given `ts.CallExpression` tree and rewrites every dynamic + * `import("...")` whose specifier is a relative path missing an + * extension. Returns a new node when changes are required, or the input + * node unchanged otherwise. + */ +export function rewriteImportExpressionForNodeNext( + expression: ts.CallExpression, + tsBinary: typeof ts, +): ts.CallExpression { + const visit = (node: ts.Node): ts.Node => { + if ( + tsBinary.isCallExpression(node) && + node.expression.kind === tsBinary.SyntaxKind.ImportKeyword && + node.arguments.length > 0 && + tsBinary.isStringLiteralLike(node.arguments[0]) + ) { + const original = (node.arguments[0] as ts.StringLiteralLike).text; + const rewritten = appendJsExtensionIfMissing(original); + if (rewritten !== original) { + const updatedArgs = [ + tsBinary.factory.createStringLiteral(rewritten), + ...node.arguments.slice(1), + ]; + return tsBinary.factory.updateCallExpression( + node, + node.expression, + node.typeArguments, + updatedArgs, + ); + } + } + return tsBinary.visitEachChild(node, visit, undefined as any); + }; + return visit(expression) as ts.CallExpression; +} + +/** + * Recursively walks the collected plugin metadata, rewriting every + * dynamic `import("./relative")` call expression to include the `.js` + * extension required by node16 / nodenext module resolution. + */ +export function rewriteCollectedMetadataForNodeNext( + metadata: Record< + string, + Record> + >, + tsBinary: typeof ts, +): void { + for (const visitorKey of Object.keys(metadata)) { + const sections = metadata[visitorKey]; + for (const sectionKey of Object.keys(sections)) { + const tuples = sections[sectionKey]; + if (!Array.isArray(tuples)) { + continue; + } + for (let i = 0; i < tuples.length; i++) { + const [importExpr, meta] = tuples[i]; + tuples[i] = [ + rewriteImportExpressionForNodeNext(importExpr, tsBinary), + meta, + ]; + } + } + } +} export interface PluginMetadataGenerateOptions { /** @@ -150,6 +271,26 @@ export class PluginMetadataGenerator { ...visitor.typeImports, }; }); + + // Under `node16` / `nodenext` module resolution, dynamic `import()` + // specifiers must include explicit file extensions. The visitors emit + // bare relative specifiers (e.g. `import("./hello.dto")`), which are + // valid under classic / node10 resolution but break compilation and + // runtime under nodenext. When the consuming project uses an ESM-style + // resolver, rewrite both the metadata import call expressions and the + // typeImports map values to include the `.js` extension. See #3364. + if ( + requiresExplicitImportExtensions( + programRef.getCompilerOptions(), + this.tsBinary, + ) + ) { + rewriteCollectedMetadataForNodeNext(collectedMetadata, this.tsBinary); + for (const key of Object.keys(typeImports)) { + typeImports[key] = rewriteAsyncImportString(typeImports[key]); + } + } + this.pluginMetadataPrinter.print( collectedMetadata, typeImports, diff --git a/lib/compiler/plugins/plugin-metadata-printer.ts b/lib/compiler/plugins/plugin-metadata-printer.ts index 3fbbabf78..a1adc3176 100644 --- a/lib/compiler/plugins/plugin-metadata-printer.ts +++ b/lib/compiler/plugins/plugin-metadata-printer.ts @@ -1,7 +1,7 @@ import { writeFileSync } from 'fs'; import { join } from 'path'; import * as ts from 'typescript'; -import { DeepPluginMeta } from '../interfaces/readonly-visitor.interface'; +import { DeepPluginMeta } from '../interfaces/readonly-visitor.interface.js'; const SERIALIZED_METADATA_FILENAME = 'metadata.ts'; const TYPE_IMPORT_VARIABLE_NAME = 't'; diff --git a/lib/compiler/plugins/plugins-loader.ts b/lib/compiler/plugins/plugins-loader.ts index 1819707b2..43c7145ad 100644 --- a/lib/compiler/plugins/plugins-loader.ts +++ b/lib/compiler/plugins/plugins-loader.ts @@ -1,7 +1,10 @@ +import { createRequire } from 'module'; import { join } from 'path'; import * as ts from 'typescript'; -import { CLI_ERRORS } from '../../ui'; -import { ReadonlyVisitor } from '../interfaces/readonly-visitor.interface'; +import { CLI_ERRORS } from '../../ui/index.js'; +import { ReadonlyVisitor } from '../interfaces/readonly-visitor.interface.js'; + +const require = createRequire(import.meta.url); const PLUGIN_ENTRY_FILENAME = 'plugin'; @@ -10,7 +13,7 @@ type PluginEntry = string | PluginAndOptions; type PluginOptions = Record; interface PluginAndOptions { - name: 'string'; + name: string; options: PluginOptions; } @@ -92,7 +95,7 @@ export class PluginsLoader { private resolvePluginReferences(pluginNames: string[]): NestCompilerPlugin[] { const nodeModulePaths = [ join(process.cwd(), 'node_modules'), - ...module.paths, + ...(require.resolve.paths('typescript') ?? []), ]; return pluginNames.map((item) => { @@ -105,12 +108,14 @@ export class PluginsLoader { }, ); return require(binaryPath); - } catch {} + } catch { + // entry-point resolution failed, try bare module resolve + } const binaryPath = require.resolve(item, { paths: nodeModulePaths }); return require(binaryPath); } catch (e) { - throw new Error(`"${item}" plugin is not installed.`); + throw new Error(`"${item}" plugin is not installed.`, { cause: e }); } }); } diff --git a/lib/compiler/rspack-compiler.ts b/lib/compiler/rspack-compiler.ts new file mode 100644 index 000000000..e1ecdb8a3 --- /dev/null +++ b/lib/compiler/rspack-compiler.ts @@ -0,0 +1,179 @@ +import { existsSync } from 'fs'; +import { createRequire } from 'module'; +import { join } from 'path'; +import { Configuration } from '../configuration/index.js'; +import { INFO_PREFIX } from '../ui/index.js'; +import { isEsmProject } from '../utils/is-esm-project.js'; +import { AssetsManager } from './assets-manager.js'; +import { BaseCompiler } from './base-compiler.js'; +import { rspackDefaultsFactory } from './defaults/rspack-defaults.js'; +import { getValueOrDefault } from './helpers/get-value-or-default.js'; +import { PluginsLoader } from './plugins/plugins-loader.js'; + +const require = createRequire(import.meta.url); + +type RspackConfigFactory = ( + config: Record, + rspackRef: any, +) => Record; + +type RspackConfigFactoryOrConfig = RspackConfigFactory | Record; + +type RspackCompilerExtras = { + options: Record; + assetsManager: AssetsManager; + rspackConfigFactoryOrConfig: + | RspackConfigFactoryOrConfig + | RspackConfigFactoryOrConfig[]; + debug?: boolean; + watchMode?: boolean; +}; + +export class RspackCompiler extends BaseCompiler { + constructor(pluginsLoader: PluginsLoader) { + super(pluginsLoader); + } + + public run( + configuration: Required, + tsConfigPath: string, + appName: string | undefined, + extras: RspackCompilerExtras, + onSuccess?: () => void, + ) { + const cwd = process.cwd(); + const configPath = join(cwd, tsConfigPath!); + if (!existsSync(configPath)) { + throw new Error( + `Could not find TypeScript configuration file "${tsConfigPath!}".`, + ); + } + + const plugins = this.loadPlugins(configuration, tsConfigPath, appName); + const pathToSource = this.getPathToSource( + configuration, + tsConfigPath, + appName, + ); + + const entryFile = getValueOrDefault( + configuration, + 'entryFile', + appName, + 'entryFile', + extras.options, + ); + const entryFileRoot = + getValueOrDefault(configuration, 'root', appName) || ''; + const defaultOptions = rspackDefaultsFactory( + pathToSource, + entryFileRoot, + entryFile, + extras.debug ?? false, + tsConfigPath, + plugins, + isEsmProject(), + ); + + let rspack: any; + try { + rspack = require('@rspack/core'); + } catch { + throw new Error( + '@rspack/core is not installed. To use the rspack compiler, install the required packages:\n\n' + + ' npm install --save-dev @rspack/core webpack-node-externals tsconfig-paths-webpack-plugin\n', + ); + } + + let compiler: any; + let watchOptions: any; + let watch: boolean | undefined; + + if (Array.isArray(extras.rspackConfigFactoryOrConfig)) { + const rspackConfigurations = extras.rspackConfigFactoryOrConfig.map( + (configOrFactory) => { + const unwrappedConfig = + typeof configOrFactory !== 'function' + ? configOrFactory + : configOrFactory(defaultOptions, rspack); + return { + ...defaultOptions, + mode: extras.watchMode ? 'development' : defaultOptions.mode, + ...unwrappedConfig, + }; + }, + ); + compiler = rspack.rspack(rspackConfigurations); + watchOptions = rspackConfigurations.map( + (config: any) => config.watchOptions || {}, + ); + watch = rspackConfigurations.some((config: any) => config.watch); + } else { + const projectRspackOptions = + typeof extras.rspackConfigFactoryOrConfig !== 'function' + ? extras.rspackConfigFactoryOrConfig + : extras.rspackConfigFactoryOrConfig(defaultOptions, rspack); + const rspackConfiguration = { + ...defaultOptions, + mode: extras.watchMode ? 'development' : defaultOptions.mode, + ...projectRspackOptions, + }; + compiler = rspack.rspack(rspackConfiguration); + watchOptions = rspackConfiguration.watchOptions; + watch = rspackConfiguration.watch; + } + + const afterCallback = this.createAfterCallback( + onSuccess, + extras.assetsManager, + extras.watchMode ?? false, + watch, + ); + + if (extras.watchMode || watch) { + compiler.hooks.watchRun.tapAsync( + 'Rebuild info', + (params: any, callback: () => void) => { + console.log(`\n${INFO_PREFIX} Rspack is building your sources...\n`); + callback(); + }, + ); + compiler.watch(watchOptions! || {}, afterCallback); + } else { + compiler.run(afterCallback); + } + } + + private createAfterCallback( + onSuccess: (() => void) | undefined, + assetsManager: AssetsManager, + watchMode: boolean, + watch: boolean | undefined, + ) { + return (err: Error | null | undefined, stats: any | undefined) => { + if (err && stats === undefined) { + // Could not complete the compilation + // The error caught is most likely thrown by underlying tasks + console.log(err); + return process.exit(1); + } + const statsOutput = stats!.toString({ + chunks: false, + colors: true, + modules: false, + assets: false, + }); + if (!err && !stats!.hasErrors()) { + if (!onSuccess) { + assetsManager.closeWatchers(); + } else { + onSuccess(); + } + } else if (!watchMode && !watch) { + console.log(statsOutput); + return process.exit(1); + } + console.log(statsOutput); + }; + } +} diff --git a/lib/compiler/swc/constants.ts b/lib/compiler/swc/constants.ts index 16653fd68..ddb8e7065 100644 --- a/lib/compiler/swc/constants.ts +++ b/lib/compiler/swc/constants.ts @@ -3,9 +3,6 @@ import { bgCyan, bgGreen, bgRed, cyan, green, red } from 'ansis'; export const TSC_NO_ERRORS_MESSAGE = 'Found 0 errors. Watching for file changes.'; -export const TSC_COMPILATION_STARTED_MESSAGE = - 'Starting compilation in watch mode...'; - export const SWC_LOG_PREFIX = cyan('> ') + bgCyan.bold(' SWC '); export const TSC_LOG_PREFIX = cyan('> ') + bgCyan.bold(' TSC '); diff --git a/lib/compiler/swc/forked-type-checker.ts b/lib/compiler/swc/forked-type-checker.ts index d55beeca8..26d2e1ab3 100644 --- a/lib/compiler/swc/forked-type-checker.ts +++ b/lib/compiler/swc/forked-type-checker.ts @@ -1,15 +1,15 @@ import * as ts from 'typescript'; -import { Configuration } from '../../configuration'; -import { ERROR_PREFIX } from '../../ui'; -import { BaseCompiler } from '../base-compiler'; -import { PluginMetadataGenerator } from '../plugins/plugin-metadata-generator'; -import { PluginsLoader } from '../plugins/plugins-loader'; +import { Configuration } from '../../configuration/index.js'; +import { ERROR_PREFIX } from '../../ui/index.js'; +import { BaseCompiler } from '../base-compiler.js'; +import { PluginMetadataGenerator } from '../plugins/plugin-metadata-generator.js'; +import { PluginsLoader } from '../plugins/plugins-loader.js'; import { FOUND_NO_ISSUES_GENERATING_METADATA, FOUND_NO_ISSUES_METADATA_GENERATION_SKIPPED, -} from './constants'; -import { SwcCompilerExtras } from './swc-compiler'; -import { TypeCheckerHost } from './type-checker-host'; +} from './constants.js'; +import { SwcCompilerExtras } from './swc-compiler.js'; +import { TypeCheckerHost } from './type-checker-host.js'; const [tsConfigPath, appName, sourceRoot, plugins] = process.argv.slice(2); diff --git a/lib/compiler/swc/swc-compiler.ts b/lib/compiler/swc/swc-compiler.ts index 73ab5282b..6493c609e 100644 --- a/lib/compiler/swc/swc-compiler.ts +++ b/lib/compiler/swc/swc-compiler.ts @@ -1,32 +1,40 @@ import { cyan } from 'ansis'; -import { fork } from 'child_process'; +import { fork, spawnSync } from 'child_process'; import * as chokidar from 'chokidar'; import { readFileSync } from 'fs'; import { stat } from 'fs/promises'; +import { createRequire } from 'module'; import * as path from 'path'; -import { isAbsolute, join } from 'path'; +import { dirname, isAbsolute, join } from 'path'; import * as ts from 'typescript'; -import { Configuration } from '../../configuration'; -import { ERROR_PREFIX } from '../../ui'; -import { treeKillSync } from '../../utils/tree-kill'; -import { AssetsManager } from '../assets-manager'; -import { BaseCompiler } from '../base-compiler'; -import { swcDefaultsFactory } from '../defaults/swc-defaults'; -import { getValueOrDefault } from '../helpers/get-value-or-default'; -import { PluginMetadataGenerator } from '../plugins/plugin-metadata-generator'; -import { PluginsLoader } from '../plugins/plugins-loader'; +import { fileURLToPath } from 'url'; +import { Configuration } from '../../configuration/index.js'; +import { ERROR_PREFIX } from '../../ui/index.js'; +import { treeKillSync } from '../../utils/tree-kill.js'; +import { AssetsManager } from '../assets-manager.js'; +import { BaseCompiler } from '../base-compiler.js'; +import { swcDefaultsFactory } from '../defaults/swc-defaults.js'; +import { getValueOrDefault } from '../helpers/get-value-or-default.js'; +import { PluginMetadataGenerator } from '../plugins/plugin-metadata-generator.js'; +import { PluginsLoader } from '../plugins/plugins-loader.js'; import { FOUND_NO_ISSUES_GENERATING_METADATA, FOUND_NO_ISSUES_METADATA_GENERATION_SKIPPED, SWC_LOG_PREFIX, -} from './constants'; -import { TypeCheckerHost } from './type-checker-host'; +} from './constants.js'; +import { TypeCheckerHost } from './type-checker-host.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); +const require = createRequire(import.meta.url); export type SwcCompilerExtras = { watch: boolean; typeCheck: boolean; + emitDeclarations: boolean; assetsManager: AssetsManager; tsOptions: ts.CompilerOptions; + silent?: boolean; }; export class SwcCompiler extends BaseCompiler { @@ -57,6 +65,10 @@ export class SwcCompiler extends BaseCompiler { } await this.runSwc(swcOptions, extras, swcrcFilePath); + if (extras.emitDeclarations) { + this.emitDeclarations(tsConfigPath); + } + if (onSuccess) { onSuccess(); @@ -69,6 +81,11 @@ export class SwcCompiler extends BaseCompiler { await this.runTypeChecker(configuration, tsConfigPath, appName, extras); } await this.runSwc(swcOptions, extras, swcrcFilePath); + + if (extras.emitDeclarations) { + this.emitDeclarations(tsConfigPath); + } + if (onSuccess) { onSuccess(); } @@ -77,6 +94,30 @@ export class SwcCompiler extends BaseCompiler { } } + private emitDeclarations(tsConfigPath: string) { + process.nextTick(() => + console.log(SWC_LOG_PREFIX, cyan('Emitting declaration files...')), + ); + + const tscPath = join(process.cwd(), 'node_modules', '.bin', 'tsc'); + const result = spawnSync( + tscPath, + ['--emitDeclarationOnly', '-p', tsConfigPath], + { + cwd: process.cwd(), + stdio: 'inherit', + shell: true, + }, + ); + + if (result.status !== 0) { + console.error( + ERROR_PREFIX + + ' Failed to emit declaration files. Please ensure "declaration" is enabled in your tsconfig.', + ); + } + } + private runTypeChecker( configuration: Required, tsConfigPath: string, @@ -156,7 +197,9 @@ export class SwcCompiler extends BaseCompiler { extras: SwcCompilerExtras, swcrcFilePath?: string, ) { - process.nextTick(() => console.log(SWC_LOG_PREFIX, cyan('Running...'))); + if (this.shouldLogSwcStatus(extras)) { + process.nextTick(() => console.log(SWC_LOG_PREFIX, cyan('Running...'))); + } const swcCli = this.loadSwcCliBinary(); const swcRcFile = await this.getSwcRcFileContentIfExists(swcrcFilePath); @@ -195,10 +238,18 @@ export class SwcCompiler extends BaseCompiler { await swcCli.default(swcCliOpts); } + private shouldLogSwcStatus(extras: SwcCompilerExtras): boolean { + if (extras.silent) { + return false; + } + const npmLogLevel = process.env.npm_config_loglevel?.toLowerCase(); + return npmLogLevel !== 'silent'; + } + private loadSwcCliBinary() { try { return require('@swc/cli/lib/swc/dir'); - } catch (err) { + } catch { console.error( ERROR_PREFIX + ' Failed to load "@swc/cli" and/or "@swc/core" required packages. Please, make sure to install them as development dependencies.', @@ -212,7 +263,7 @@ export class SwcCompiler extends BaseCompiler { return JSON.parse( readFileSync(join(process.cwd(), swcrcFilePath ?? '.swcrc'), 'utf8'), ); - } catch (err) { + } catch { if (swcrcFilePath !== undefined) { console.error( ERROR_PREFIX + @@ -243,7 +294,7 @@ export class SwcCompiler extends BaseCompiler { const merged = { ...target }; for (const key in source) { - if (source.hasOwnProperty(key)) { + if (Object.hasOwn(source, key)) { if (key in target) { merged[key] = this.deepMerge(target[key], source[key]); } else { diff --git a/lib/compiler/swc/type-checker-host.ts b/lib/compiler/swc/type-checker-host.ts index 0ac3af345..13fa3f23e 100644 --- a/lib/compiler/swc/type-checker-host.ts +++ b/lib/compiler/swc/type-checker-host.ts @@ -1,13 +1,13 @@ import { red } from 'ansis'; -import * as ora from 'ora'; +import ora from 'ora'; import * as ts from 'typescript'; -import { TsConfigProvider } from '../helpers/tsconfig-provider'; -import { TypeScriptBinaryLoader } from '../typescript-loader'; +import { TsConfigProvider } from '../helpers/tsconfig-provider.js'; +import { TypeScriptBinaryLoader } from '../typescript-loader.js'; import { INITIALIZING_TYPE_CHECKER, TSC_LOG_ERROR_PREFIX, TSC_NO_ERRORS_MESSAGE, -} from './constants'; +} from './constants.js'; export interface TypeCheckerHostRunOptions { watch?: boolean; @@ -45,8 +45,13 @@ export class TypeCheckerHost { return; } spinner.start(); - this.runOnce(tsconfigPath, tsBinary, options); - spinner.succeed(); + try { + this.runOnce(tsconfigPath, tsBinary, options); + spinner.succeed(); + } catch (err) { + spinner.fail(); + throw err; + } } private runInWatchMode( @@ -63,7 +68,10 @@ export class TypeCheckerHost { const reportWatchStatusCallback = (diagnostic: ts.Diagnostic) => { if (diagnostic.messageText !== TSC_NO_ERRORS_MESSAGE) { if ((diagnostic.messageText as string)?.includes('Found')) { - console.log(TSC_LOG_ERROR_PREFIX, red(diagnostic.messageText.toString())); + console.error( + TSC_LOG_ERROR_PREFIX, + red(diagnostic.messageText.toString()), + ); } return; } @@ -118,14 +126,17 @@ export class TypeCheckerHost { getNewLine: () => tsBinary.sys.newLine, }; - console.log(); - console.log( + const formattedDiagnostics = tsBinary.formatDiagnosticsWithColorAndContext( diagnostics, formatDiagnosticsHost, - ), + ); + + console.log(); + console.log(formattedDiagnostics); + throw new Error( + `Found ${diagnostics.length} type error(s) during compilation.`, ); - process.exit(1); } options.onTypeCheck?.(programRef); } diff --git a/lib/compiler/typescript-loader.ts b/lib/compiler/typescript-loader.ts index 7f616d1e3..93c8560cb 100644 --- a/lib/compiler/typescript-loader.ts +++ b/lib/compiler/typescript-loader.ts @@ -1,5 +1,8 @@ +import { createRequire } from 'module'; import * as ts from 'typescript'; +const require = createRequire(import.meta.url); + export class TypeScriptBinaryLoader { private tsBinary?: typeof ts; @@ -12,7 +15,6 @@ export class TypeScriptBinaryLoader { const tsBinaryPath = require.resolve('typescript', { paths: [process.cwd(), ...this.getModulePaths()], }); - // eslint-disable-next-line @typescript-eslint/no-var-requires const tsBinary = require(tsBinaryPath); this.tsBinary = tsBinary; return tsBinary; @@ -24,7 +26,7 @@ export class TypeScriptBinaryLoader { } public getModulePaths() { - const modulePaths = module.paths.slice(2, module.paths.length); + const modulePaths = require.resolve.paths('typescript') ?? []; const packageDeps = modulePaths.slice(0, 3); return [ ...packageDeps.reverse(), diff --git a/lib/compiler/watch-compiler.ts b/lib/compiler/watch-compiler.ts index 79936a238..7611d6797 100644 --- a/lib/compiler/watch-compiler.ts +++ b/lib/compiler/watch-compiler.ts @@ -1,19 +1,19 @@ import * as ts from 'typescript'; -import { Configuration } from '../configuration'; -import { CLI_ERRORS } from '../ui/errors'; -import { BaseCompiler } from './base-compiler'; -import { getValueOrDefault } from './helpers/get-value-or-default'; +import { Configuration } from '../configuration/index.js'; +import { CLI_ERRORS } from '../ui/errors.js'; +import { BaseCompiler } from './base-compiler.js'; +import { getValueOrDefault } from './helpers/get-value-or-default.js'; import { displayManualRestartTip, listenForManualRestart, -} from './helpers/manual-restart'; -import { TsConfigProvider } from './helpers/tsconfig-provider'; -import { tsconfigPathsBeforeHookFactory } from './hooks/tsconfig-paths.hook'; +} from './helpers/manual-restart.js'; +import { TsConfigProvider } from './helpers/tsconfig-provider.js'; +import { tsconfigPathsBeforeHookFactory } from './hooks/tsconfig-paths.hook.js'; import { MultiNestCompilerPlugins, PluginsLoader, -} from './plugins/plugins-loader'; -import { TypeScriptBinaryLoader } from './typescript-loader'; +} from './plugins/plugins-loader.js'; +import { TypeScriptBinaryLoader } from './typescript-loader.js'; type TypescriptWatchCompilerExtras = { /** diff --git a/lib/compiler/webpack-compiler.ts b/lib/compiler/webpack-compiler.ts index 4a65b95a2..2978e5ad4 100644 --- a/lib/compiler/webpack-compiler.ts +++ b/lib/compiler/webpack-compiler.ts @@ -1,14 +1,33 @@ import { existsSync } from 'fs'; +import { createRequire } from 'module'; import { join } from 'path'; -import { Input } from '../../commands'; -import { Configuration } from '../configuration'; -import { INFO_PREFIX } from '../ui'; -import { AssetsManager } from './assets-manager'; -import { BaseCompiler } from './base-compiler'; -import { webpackDefaultsFactory } from './defaults/webpack-defaults'; -import { getValueOrDefault } from './helpers/get-value-or-default'; -import { PluginsLoader } from './plugins/plugins-loader'; -import webpack = require('webpack'); +import { Configuration } from '../configuration/index.js'; +import { INFO_PREFIX } from '../ui/index.js'; +import { isEsmProject } from '../utils/is-esm-project.js'; +import { AssetsManager } from './assets-manager.js'; +import { BaseCompiler } from './base-compiler.js'; +import { webpackDefaultsFactory } from './defaults/webpack-defaults.js'; +import { getValueOrDefault } from './helpers/get-value-or-default.js'; +import { PluginsLoader } from './plugins/plugins-loader.js'; +import type webpack from 'webpack'; + +const WEBPACK_DEPRECATION_MSG = + 'The webpack compiler is deprecated and will be removed in a future major version. ' + + 'Please migrate to rspack (--builder rspack). ' + + 'See https://docs.nestjs.com/cli/usages#build for details.'; + +const require = createRequire(import.meta.url); + +function loadWebpack(): typeof webpack { + try { + return require('webpack'); + } catch { + throw new Error( + 'webpack is not installed. To use the webpack compiler, install the required packages:\n\n' + + ' npm install --save-dev webpack webpack-node-externals tsconfig-paths-webpack-plugin ts-loader\n', + ); + } +} type WebpackConfigFactory = ( config: webpack.Configuration, @@ -20,7 +39,7 @@ type WebpackConfigFactoryOrConfig = | webpack.Configuration; type WebpackCompilerExtras = { - inputs: Input[]; + options: Record; assetsManager: AssetsManager; webpackConfigFactoryOrConfig: | WebpackConfigFactoryOrConfig @@ -61,10 +80,21 @@ export class WebpackCompiler extends BaseCompiler { 'entryFile', appName, 'entryFile', - extras.inputs, + extras.options, ); const entryFileRoot = getValueOrDefault(configuration, 'root', appName) || ''; + + if (isEsmProject()) { + throw new Error( + 'The webpack compiler does not support ESM projects ("type": "module" in package.json). ' + + 'Please use rspack instead by setting "builder": "rspack" in your nest-cli.json compilerOptions, ' + + 'or use --builder rspack on the command line.', + ); + } + + console.warn(`\n${INFO_PREFIX} ${WEBPACK_DEPRECATION_MSG}\n`); + const defaultOptions = webpackDefaultsFactory( pathToSource, entryFileRoot, @@ -74,6 +104,8 @@ export class WebpackCompiler extends BaseCompiler { plugins, ); + const wp = loadWebpack(); + let compiler: webpack.Compiler | webpack.MultiCompiler; let watchOptions: | Parameters[0] @@ -86,7 +118,7 @@ export class WebpackCompiler extends BaseCompiler { const unwrappedConfig = typeof configOrFactory !== 'function' ? configOrFactory - : configOrFactory(defaultOptions, webpack); + : configOrFactory(defaultOptions, wp); return { ...defaultOptions, mode: extras.watchMode ? 'development' : defaultOptions.mode, @@ -94,7 +126,7 @@ export class WebpackCompiler extends BaseCompiler { }; }, ); - compiler = webpack(webpackConfigurations); + compiler = wp(webpackConfigurations); watchOptions = webpackConfigurations.map( (config) => config.watchOptions || {}, ); @@ -103,13 +135,13 @@ export class WebpackCompiler extends BaseCompiler { const projectWebpackOptions = typeof extras.webpackConfigFactoryOrConfig !== 'function' ? extras.webpackConfigFactoryOrConfig - : extras.webpackConfigFactoryOrConfig(defaultOptions, webpack); + : extras.webpackConfigFactoryOrConfig(defaultOptions, wp); const webpackConfiguration = { ...defaultOptions, mode: extras.watchMode ? 'development' : defaultOptions.mode, ...projectWebpackOptions, }; - compiler = webpack(webpackConfiguration); + compiler = wp(webpackConfiguration); watchOptions = webpackConfiguration.watchOptions; watch = webpackConfiguration.watch; } diff --git a/lib/configuration/configuration.loader.ts b/lib/configuration/configuration.loader.ts index 3dc84c76e..eb6a58eea 100644 --- a/lib/configuration/configuration.loader.ts +++ b/lib/configuration/configuration.loader.ts @@ -1,4 +1,4 @@ -import { Configuration } from './configuration'; +import { Configuration } from './configuration.js'; export interface ConfigurationLoader { load( diff --git a/lib/configuration/configuration.ts b/lib/configuration/configuration.ts index 8508a4357..2d90ebff7 100644 --- a/lib/configuration/configuration.ts +++ b/lib/configuration/configuration.ts @@ -31,17 +31,25 @@ export interface WebpackBuilderOptions { configPath?: string; } +export interface RspackBuilderOptions { + configPath?: string; +} + export interface TscBuilderOptions { configPath?: string; } -export type BuilderVariant = 'tsc' | 'swc' | 'webpack'; +export type BuilderVariant = 'tsc' | 'swc' | 'webpack' | 'rspack'; export type Builder = | BuilderVariant | { type: 'webpack'; options?: WebpackBuilderOptions; } + | { + type: 'rspack'; + options?: RspackBuilderOptions; + } | { type: 'swc'; options?: SwcBuilderOptions; @@ -66,11 +74,17 @@ export interface CompilerOptions { deleteOutDir?: boolean; manualRestart?: boolean; builder?: Builder; + emitDeclarations?: boolean; + /** + * List of library project names whose assets should also be copied + * when building this application. + */ + includeLibraryAssets?: string[]; } export interface PluginOptions { name: string; - options: Record[]; + options: Record; } export interface GenerateOptions { @@ -90,7 +104,6 @@ export interface ProjectConfiguration { } export interface Configuration { - [key: string]: any; language?: string; collection?: string; sourceRoot?: string; diff --git a/lib/configuration/defaults.ts b/lib/configuration/defaults.ts index 9aac1fb51..f8c140ce1 100644 --- a/lib/configuration/defaults.ts +++ b/lib/configuration/defaults.ts @@ -1,5 +1,5 @@ -import { getDefaultTsconfigPath } from '../utils/get-default-tsconfig-path'; -import { Configuration } from './configuration'; +import { getDefaultTsconfigPath } from '../utils/get-default-tsconfig-path.js'; +import { Configuration } from './configuration.js'; export const defaultConfiguration: Required = { language: 'ts', @@ -26,6 +26,7 @@ export const defaultConfiguration: Required = { export const defaultTsconfigFilename = getDefaultTsconfigPath(); export const defaultWebpackConfigFilename = 'webpack.config.js'; +export const defaultRspackConfigFilename = 'rspack.config.js'; export const defaultOutDir = 'dist'; export const defaultGitIgnore = `# compiled output /dist diff --git a/lib/configuration/index.ts b/lib/configuration/index.ts index c43ad155d..5887c2aed 100644 --- a/lib/configuration/index.ts +++ b/lib/configuration/index.ts @@ -1,3 +1,3 @@ -export * from './configuration.loader'; -export * from './nest-configuration.loader'; -export * from './configuration'; +export * from './configuration.loader.js'; +export * from './nest-configuration.loader.js'; +export * from './configuration.js'; diff --git a/lib/configuration/nest-configuration.loader.ts b/lib/configuration/nest-configuration.loader.ts index 822b26318..1e574639b 100644 --- a/lib/configuration/nest-configuration.loader.ts +++ b/lib/configuration/nest-configuration.loader.ts @@ -1,13 +1,13 @@ -import { Reader, ReaderFileLackPermissionsError } from '../readers'; -import { Configuration } from './configuration'; -import { ConfigurationLoader } from './configuration.loader'; -import { defaultConfiguration } from './defaults'; +import { Reader, ReaderFileLackPermissionsError } from '../readers/index.js'; +import { Configuration } from './configuration.js'; +import { ConfigurationLoader } from './configuration.loader.js'; +import { defaultConfiguration } from './defaults.js'; /** * A cache table that maps some reader (by its name along with the config path) * to a loaded configuration. * This was added because several commands relies on the app's config in order - * to generate some dynanmic content prior running the command itself. + * to generate some dynamic content prior running the command itself. */ const loadedConfigsCache = new Map>(); @@ -21,14 +21,11 @@ export class NestConfigurationLoader implements ConfigurationLoader { return cachedConfig; } - let loadedConfig: Required | undefined; + let loadedConfig: Required = defaultConfiguration; const contentOrError = name ? this.reader.read(name) - : this.reader.readAnyOf([ - 'nest-cli.json', - '.nest-cli.json', - ]); + : this.reader.readAnyOf(['nest-cli.json', '.nest-cli.json']); if (contentOrError) { const isMissingPermissionsError = @@ -39,26 +36,25 @@ export class NestConfigurationLoader implements ConfigurationLoader { } const fileConfig = JSON.parse(contentOrError); + loadedConfig = { + ...defaultConfiguration, + ...fileConfig, + }; if (fileConfig.compilerOptions) { - loadedConfig = { - ...defaultConfiguration, - ...fileConfig, - compilerOptions: { - ...defaultConfiguration.compilerOptions, - ...fileConfig.compilerOptions, - }, + loadedConfig.compilerOptions = { + ...defaultConfiguration.compilerOptions, + ...fileConfig.compilerOptions, }; - } else { - loadedConfig = { - ...defaultConfiguration, - ...fileConfig, + } + if (fileConfig.generateOptions) { + loadedConfig.generateOptions = { + ...defaultConfiguration.generateOptions, + ...fileConfig.generateOptions, }; } - } else { - loadedConfig = defaultConfiguration; } - loadedConfigsCache.set(cacheEntryKey, loadedConfig!); - return loadedConfig!; + loadedConfigsCache.set(cacheEntryKey, loadedConfig); + return loadedConfig; } } diff --git a/lib/package-managers/abstract.package-manager.ts b/lib/package-managers/abstract.package-manager.ts index cd9ed6628..28c465f05 100644 --- a/lib/package-managers/abstract.package-manager.ts +++ b/lib/package-managers/abstract.package-manager.ts @@ -1,12 +1,12 @@ import { bold, gray, red } from 'ansis'; -import { readFile } from 'fs'; -import * as ora from 'ora'; +import { readFile } from 'fs/promises'; +import ora from 'ora'; import { join } from 'path'; -import { AbstractRunner } from '../runners/abstract.runner'; -import { MESSAGES } from '../ui'; -import { normalizeToKebabOrSnakeCase } from '../utils/formatting'; -import { PackageManagerCommands } from './package-manager-commands'; -import { ProjectDependency } from './project.dependency'; +import { AbstractRunner } from '../runners/abstract.runner.js'; +import { MESSAGES } from '../ui/index.js'; +import { normalizeToKebabOrSnakeCase } from '../utils/formatting.js'; +import { PackageManagerCommands } from './package-manager-commands.js'; +import { ProjectDependency } from './project.dependency.js'; export abstract class AbstractPackageManager { constructor(protected runner: AbstractRunner) {} @@ -42,11 +42,7 @@ export abstract class AbstractPackageManager { const commandArgs = this.cli.install; const commandToRun = this.runner.rawFullCommand(commandArgs); console.error( - red( - MESSAGES.PACKAGE_MANAGER_INSTALLATION_FAILED( - bold(commandToRun), - ), - ), + red(MESSAGES.PACKAGE_MANAGER_INSTALLATION_FAILED(bold(commandToRun))), ); } } @@ -100,7 +96,8 @@ export abstract class AbstractPackageManager { public async getProduction(): Promise { const packageJsonContent = await this.readPackageJson(); - const packageJsonDependencies: any = packageJsonContent.dependencies; + const packageJsonDependencies: Record = + packageJsonContent.dependencies ?? {}; const dependencies = []; for (const [name, version] of Object.entries(packageJsonDependencies)) { @@ -112,7 +109,8 @@ export abstract class AbstractPackageManager { public async getDevelopment(): Promise { const packageJsonContent = await this.readPackageJson(); - const packageJsonDevDependencies: any = packageJsonContent.devDependencies; + const packageJsonDevDependencies: Record = + packageJsonContent.devDependencies ?? {}; const dependencies = []; for (const [name, version] of Object.entries(packageJsonDevDependencies)) { @@ -122,19 +120,12 @@ export abstract class AbstractPackageManager { return dependencies as ProjectDependency[]; } - private async readPackageJson(): Promise { - return new Promise((resolve, reject) => { - readFile( - join(process.cwd(), 'package.json'), - (error: NodeJS.ErrnoException | null, buffer: Buffer) => { - if (error !== undefined && error !== null) { - reject(error); - } else { - resolve(JSON.parse(buffer.toString())); - } - }, - ); - }); + private async readPackageJson(): Promise<{ + dependencies?: Record; + devDependencies?: Record; + }> { + const buffer = await readFile(join(process.cwd(), 'package.json')); + return JSON.parse(buffer.toString()); } public async updateProduction(dependencies: string[]) { @@ -177,7 +168,7 @@ export abstract class AbstractPackageManager { await this.delete(commandArguments); } - public async delete(commandArguments: string) { + private async delete(commandArguments: string) { const collect = true; await this.runner.run(commandArguments, collect); } diff --git a/lib/package-managers/bun.package-manager.ts b/lib/package-managers/bun.package-manager.ts new file mode 100644 index 000000000..6cd242937 --- /dev/null +++ b/lib/package-managers/bun.package-manager.ts @@ -0,0 +1,27 @@ +import { Runner, RunnerFactory } from '../runners/index.js'; +import { BunRunner } from '../runners/bun.runner.js'; +import { AbstractPackageManager } from './abstract.package-manager.js'; +import { PackageManager } from './package-manager.js'; +import { PackageManagerCommands } from './package-manager-commands.js'; + +export class BunPackageManager extends AbstractPackageManager { + constructor() { + super(RunnerFactory.create(Runner.BUN) as BunRunner); + } + + public get name() { + return PackageManager.BUN.toUpperCase(); + } + + get cli(): PackageManagerCommands { + return { + install: 'install', + add: 'add', + update: 'update', + remove: 'remove', + saveFlag: '--save', + saveDevFlag: '--dev', + silentFlag: '--silent', + }; + } +} diff --git a/lib/package-managers/index.ts b/lib/package-managers/index.ts index 9ada765f3..99820302c 100644 --- a/lib/package-managers/index.ts +++ b/lib/package-managers/index.ts @@ -1,8 +1,9 @@ -export * from './package-manager'; -export * from './package-manager.factory'; -export * from './abstract.package-manager'; -export * from './npm.package-manager'; -export * from './yarn.package-manager'; -export * from './pnpm.package-manager'; -export * from './project.dependency'; -export * from './package-manager-commands'; +export * from './package-manager.js'; +export * from './package-manager.factory.js'; +export * from './abstract.package-manager.js'; +export * from './npm.package-manager.js'; +export * from './yarn.package-manager.js'; +export * from './pnpm.package-manager.js'; +export * from './bun.package-manager.js'; +export * from './project.dependency.js'; +export * from './package-manager-commands.js'; diff --git a/lib/package-managers/npm.package-manager.ts b/lib/package-managers/npm.package-manager.ts index 180e6fe16..66637559b 100644 --- a/lib/package-managers/npm.package-manager.ts +++ b/lib/package-managers/npm.package-manager.ts @@ -1,8 +1,8 @@ -import { Runner, RunnerFactory } from '../runners'; -import { NpmRunner } from '../runners/npm.runner'; -import { AbstractPackageManager } from './abstract.package-manager'; -import { PackageManager } from './package-manager'; -import { PackageManagerCommands } from './package-manager-commands'; +import { Runner, RunnerFactory } from '../runners/index.js'; +import { NpmRunner } from '../runners/npm.runner.js'; +import { AbstractPackageManager } from './abstract.package-manager.js'; +import { PackageManager } from './package-manager.js'; +import { PackageManagerCommands } from './package-manager-commands.js'; export class NpmPackageManager extends AbstractPackageManager { constructor() { diff --git a/lib/package-managers/package-manager.factory.ts b/lib/package-managers/package-manager.factory.ts index ea3dd7561..441c0a8c9 100644 --- a/lib/package-managers/package-manager.factory.ts +++ b/lib/package-managers/package-manager.factory.ts @@ -1,9 +1,10 @@ import * as fs from 'fs'; -import { AbstractPackageManager } from './abstract.package-manager'; -import { NpmPackageManager } from './npm.package-manager'; -import { PackageManager } from './package-manager'; -import { YarnPackageManager } from './yarn.package-manager'; -import { PnpmPackageManager } from './pnpm.package-manager'; +import { AbstractPackageManager } from './abstract.package-manager.js'; +import { NpmPackageManager } from './npm.package-manager.js'; +import { PackageManager } from './package-manager.js'; +import { YarnPackageManager } from './yarn.package-manager.js'; +import { PnpmPackageManager } from './pnpm.package-manager.js'; +import { BunPackageManager } from './bun.package-manager.js'; export class PackageManagerFactory { public static create(name: PackageManager | string): AbstractPackageManager { @@ -14,6 +15,8 @@ export class PackageManagerFactory { return new YarnPackageManager(); case PackageManager.PNPM: return new PnpmPackageManager(); + case PackageManager.BUN: + return new BunPackageManager(); default: throw new Error(`Package manager ${name} is not managed.`); } @@ -35,8 +38,15 @@ export class PackageManagerFactory { return this.create(PackageManager.PNPM); } + const hasBunLockFile = ['bun.lock', 'bun.lockb'].some((lockFile) => + files.includes(lockFile), + ); + if (hasBunLockFile) { + return this.create(PackageManager.BUN); + } + return this.create(DEFAULT_PACKAGE_MANAGER); - } catch (error) { + } catch { return this.create(DEFAULT_PACKAGE_MANAGER); } } diff --git a/lib/package-managers/package-manager.ts b/lib/package-managers/package-manager.ts index 7d2b857d2..3a692c2f1 100644 --- a/lib/package-managers/package-manager.ts +++ b/lib/package-managers/package-manager.ts @@ -2,4 +2,5 @@ export enum PackageManager { NPM = 'npm', YARN = 'yarn', PNPM = 'pnpm', + BUN = 'bun', } diff --git a/lib/package-managers/pnpm.package-manager.ts b/lib/package-managers/pnpm.package-manager.ts index 43367c675..eba66202e 100644 --- a/lib/package-managers/pnpm.package-manager.ts +++ b/lib/package-managers/pnpm.package-manager.ts @@ -1,8 +1,8 @@ -import { Runner, RunnerFactory } from '../runners'; -import { PnpmRunner } from '../runners/pnpm.runner'; -import { AbstractPackageManager } from './abstract.package-manager'; -import { PackageManager } from './package-manager'; -import { PackageManagerCommands } from './package-manager-commands'; +import { Runner, RunnerFactory } from '../runners/index.js'; +import { PnpmRunner } from '../runners/pnpm.runner.js'; +import { AbstractPackageManager } from './abstract.package-manager.js'; +import { PackageManager } from './package-manager.js'; +import { PackageManagerCommands } from './package-manager-commands.js'; export class PnpmPackageManager extends AbstractPackageManager { constructor() { diff --git a/lib/package-managers/yarn.package-manager.ts b/lib/package-managers/yarn.package-manager.ts index 4048e8180..824fd312a 100644 --- a/lib/package-managers/yarn.package-manager.ts +++ b/lib/package-managers/yarn.package-manager.ts @@ -1,8 +1,8 @@ -import { Runner, RunnerFactory } from '../runners'; -import { YarnRunner } from '../runners/yarn.runner'; -import { AbstractPackageManager } from './abstract.package-manager'; -import { PackageManager } from './package-manager'; -import { PackageManagerCommands } from './package-manager-commands'; +import { Runner, RunnerFactory } from '../runners/index.js'; +import { YarnRunner } from '../runners/yarn.runner.js'; +import { AbstractPackageManager } from './abstract.package-manager.js'; +import { PackageManager } from './package-manager.js'; +import { PackageManagerCommands } from './package-manager-commands.js'; export class YarnPackageManager extends AbstractPackageManager { constructor() { diff --git a/lib/questions/questions.ts b/lib/questions/questions.ts index 6483859d5..b5b15f890 100644 --- a/lib/questions/questions.ts +++ b/lib/questions/questions.ts @@ -1,5 +1,5 @@ export const generateInput = (name: string, message: string) => { - return (defaultAnswer: string): any => ({ + return (defaultAnswer: string) => ({ name, message, default: defaultAnswer, diff --git a/lib/readers/file-system.reader.ts b/lib/readers/file-system.reader.ts index dde20717a..442e90549 100644 --- a/lib/readers/file-system.reader.ts +++ b/lib/readers/file-system.reader.ts @@ -1,6 +1,6 @@ import * as fs from 'fs'; import * as path from 'path'; -import { Reader, ReaderFileLackPermissionsError } from './reader'; +import { Reader, ReaderFileLackPermissionsError } from './reader.js'; export class FileSystemReader implements Reader { constructor(private readonly directory: string) {} diff --git a/lib/readers/index.ts b/lib/readers/index.ts index e72278381..f5ff9d55b 100644 --- a/lib/readers/index.ts +++ b/lib/readers/index.ts @@ -1,2 +1,2 @@ -export * from './reader'; -export * from './file-system.reader'; +export * from './reader.js'; +export * from './file-system.reader.js'; diff --git a/lib/runners/abstract.runner.ts b/lib/runners/abstract.runner.ts index 13efdeede..9a75f6412 100644 --- a/lib/runners/abstract.runner.ts +++ b/lib/runners/abstract.runner.ts @@ -1,7 +1,6 @@ import { red } from 'ansis'; import { ChildProcess, spawn, SpawnOptions } from 'child_process'; -import { platform } from 'os'; -import { MESSAGES } from '../ui'; +import { MESSAGES } from '../ui/index.js'; export class AbstractRunner { constructor( @@ -15,30 +14,39 @@ export class AbstractRunner { cwd: string = process.cwd(), ): Promise { const args: string[] = [command]; - const isWindows = platform() === 'win32'; const options: SpawnOptions = { cwd, stdio: collect ? 'pipe' : 'inherit', shell: true, }; return new Promise((resolve, reject) => { - const command = [this.binary, ...this.args, ...args].join(' '); - const child: ChildProcess = spawn(command, options); + const fullCommand = [this.binary, ...this.args, ...args].join(' '); + const child: ChildProcess = spawn(fullCommand, options); if (collect) { - child.stdout!.on('data', (data) => - resolve(data.toString().replace(/\r\n|\n/, '')), - ); + const chunks: Buffer[] = []; + child.stdout!.on('data', (data) => chunks.push(data)); + child.on('close', (code) => { + if (code === 0) { + resolve( + Buffer.concat(chunks) + .toString() + .replace(/\r\n|\n/g, ''), + ); + } else { + console.error(red(MESSAGES.RUNNER_EXECUTION_ERROR(fullCommand))); + reject(); + } + }); + } else { + child.on('close', (code) => { + if (code === 0) { + resolve(null); + } else { + console.error(red(MESSAGES.RUNNER_EXECUTION_ERROR(fullCommand))); + reject(); + } + }); } - child.on('close', (code) => { - if (code === 0) { - resolve(null); - } else { - console.error( - red(MESSAGES.RUNNER_EXECUTION_ERROR(`${this.binary} ${command}`)), - ); - reject(); - } - }); }); } diff --git a/lib/runners/bun.runner.ts b/lib/runners/bun.runner.ts new file mode 100644 index 000000000..1211dbe7b --- /dev/null +++ b/lib/runners/bun.runner.ts @@ -0,0 +1,7 @@ +import { AbstractRunner } from './abstract.runner.js'; + +export class BunRunner extends AbstractRunner { + constructor() { + super('bun'); + } +} diff --git a/lib/runners/git.runner.ts b/lib/runners/git.runner.ts index 669c97582..2e1c7b0d6 100644 --- a/lib/runners/git.runner.ts +++ b/lib/runners/git.runner.ts @@ -1,4 +1,4 @@ -import { AbstractRunner } from './abstract.runner'; +import { AbstractRunner } from './abstract.runner.js'; export class GitRunner extends AbstractRunner { constructor() { diff --git a/lib/runners/index.ts b/lib/runners/index.ts index bc9417eaf..86a7be2da 100644 --- a/lib/runners/index.ts +++ b/lib/runners/index.ts @@ -1,3 +1,3 @@ -export * from './runner'; -export * from './runner.factory'; -export * from './abstract.runner'; +export * from './runner.js'; +export * from './runner.factory.js'; +export * from './abstract.runner.js'; diff --git a/lib/runners/npm.runner.ts b/lib/runners/npm.runner.ts index c75eb8789..e49dbae32 100644 --- a/lib/runners/npm.runner.ts +++ b/lib/runners/npm.runner.ts @@ -1,4 +1,4 @@ -import { AbstractRunner } from './abstract.runner'; +import { AbstractRunner } from './abstract.runner.js'; export class NpmRunner extends AbstractRunner { constructor() { diff --git a/lib/runners/pnpm.runner.ts b/lib/runners/pnpm.runner.ts index 9cd6f4ed0..c45b61b7e 100644 --- a/lib/runners/pnpm.runner.ts +++ b/lib/runners/pnpm.runner.ts @@ -1,4 +1,4 @@ -import { AbstractRunner } from './abstract.runner'; +import { AbstractRunner } from './abstract.runner.js'; export class PnpmRunner extends AbstractRunner { constructor() { diff --git a/lib/runners/runner.factory.ts b/lib/runners/runner.factory.ts index 9b2045f02..19f1bfa2b 100644 --- a/lib/runners/runner.factory.ts +++ b/lib/runners/runner.factory.ts @@ -1,9 +1,10 @@ import { yellow } from 'ansis'; -import { NpmRunner } from './npm.runner'; -import { Runner } from './runner'; -import { SchematicRunner } from './schematic.runner'; -import { YarnRunner } from './yarn.runner'; -import { PnpmRunner } from './pnpm.runner'; +import { NpmRunner } from './npm.runner.js'; +import { PnpmRunner } from './pnpm.runner.js'; +import { Runner } from './runner.js'; +import { SchematicRunner } from './schematic.runner.js'; +import { YarnRunner } from './yarn.runner.js'; +import { BunRunner } from './bun.runner.js'; export class RunnerFactory { public static create(runner: Runner) { @@ -20,8 +21,11 @@ export class RunnerFactory { case Runner.PNPM: return new PnpmRunner(); + case Runner.BUN: + return new BunRunner(); + default: - console.info(yellow`[WARN] Unsupported runner: ${runner}`); + throw new Error(`Unsupported runner: ${runner}`); } } } diff --git a/lib/runners/runner.ts b/lib/runners/runner.ts index 74b5c2eae..fffaae2ca 100644 --- a/lib/runners/runner.ts +++ b/lib/runners/runner.ts @@ -3,4 +3,5 @@ export enum Runner { NPM, YARN, PNPM, + BUN, } diff --git a/lib/runners/schematic.runner.ts b/lib/runners/schematic.runner.ts index 916bfa78d..024007306 100644 --- a/lib/runners/schematic.runner.ts +++ b/lib/runners/schematic.runner.ts @@ -1,4 +1,7 @@ -import { AbstractRunner } from './abstract.runner'; +import { createRequire } from 'module'; +import { AbstractRunner } from './abstract.runner.js'; + +const require = createRequire(import.meta.url); export class SchematicRunner extends AbstractRunner { constructor() { @@ -6,7 +9,7 @@ export class SchematicRunner extends AbstractRunner { } public static getModulePaths() { - return module.paths; + return require.resolve.paths('@angular-devkit/schematics-cli') ?? []; } public static findClosestSchematicsBinary(): string { diff --git a/lib/runners/yarn.runner.ts b/lib/runners/yarn.runner.ts index 09f45d734..9101ac449 100644 --- a/lib/runners/yarn.runner.ts +++ b/lib/runners/yarn.runner.ts @@ -1,4 +1,4 @@ -import { AbstractRunner } from './abstract.runner'; +import { AbstractRunner } from './abstract.runner.js'; export class YarnRunner extends AbstractRunner { constructor() { diff --git a/lib/schematics/abstract.collection.ts b/lib/schematics/abstract.collection.ts index bf268583d..a460e4ee7 100644 --- a/lib/schematics/abstract.collection.ts +++ b/lib/schematics/abstract.collection.ts @@ -1,6 +1,6 @@ -import { AbstractRunner } from '../runners'; -import { Schematic } from './nest.collection'; -import { SchematicOption } from './schematic.option'; +import { AbstractRunner } from '../runners/index.js'; +import { Schematic } from './nest.collection.js'; +import { SchematicOption } from './schematic.option.js'; export abstract class AbstractCollection { constructor( diff --git a/lib/schematics/collection.factory.ts b/lib/schematics/collection.factory.ts index b942f947a..5a28bfee9 100644 --- a/lib/schematics/collection.factory.ts +++ b/lib/schematics/collection.factory.ts @@ -1,9 +1,9 @@ -import { Runner, RunnerFactory } from '../runners'; -import { SchematicRunner } from '../runners/schematic.runner'; -import { AbstractCollection } from './abstract.collection'; -import { Collection } from './collection'; -import { CustomCollection } from './custom.collection'; -import { NestCollection } from './nest.collection'; +import { Runner, RunnerFactory } from '../runners/index.js'; +import { SchematicRunner } from '../runners/schematic.runner.js'; +import { AbstractCollection } from './abstract.collection.js'; +import { Collection } from './collection.js'; +import { CustomCollection } from './custom.collection.js'; +import { NestCollection } from './nest.collection.js'; export class CollectionFactory { public static create(collection: Collection | string): AbstractCollection { diff --git a/lib/schematics/custom.collection.ts b/lib/schematics/custom.collection.ts index 719799f3d..ef72a51d2 100644 --- a/lib/schematics/custom.collection.ts +++ b/lib/schematics/custom.collection.ts @@ -1,6 +1,6 @@ -import { NodeWorkflow } from '@angular-devkit/schematics/tools'; -import { AbstractCollection } from './abstract.collection'; -import { Schematic } from './nest.collection'; +import { NodeWorkflow } from '@angular-devkit/schematics/tools/index.js'; +import { AbstractCollection } from './abstract.collection.js'; +import { Schematic } from './nest.collection.js'; export interface CollectionSchematic { schema: string; diff --git a/lib/schematics/index.ts b/lib/schematics/index.ts index 745bfefb7..6e8b4a6fd 100644 --- a/lib/schematics/index.ts +++ b/lib/schematics/index.ts @@ -1,4 +1,4 @@ -export * from './collection'; -export * from './collection.factory'; -export * from './schematic.option'; -export * from './abstract.collection'; +export * from './collection.js'; +export * from './collection.factory.js'; +export * from './schematic.option.js'; +export * from './abstract.collection.js'; diff --git a/lib/schematics/nest.collection.ts b/lib/schematics/nest.collection.ts index c3eaf05c5..7a80f7f1f 100644 --- a/lib/schematics/nest.collection.ts +++ b/lib/schematics/nest.collection.ts @@ -1,6 +1,6 @@ -import { AbstractRunner } from '../runners'; -import { AbstractCollection } from './abstract.collection'; -import { SchematicOption } from './schematic.option'; +import { AbstractRunner } from '../runners/index.js'; +import { AbstractCollection } from './abstract.collection.js'; +import { SchematicOption } from './schematic.option.js'; export interface Schematic { name: string; diff --git a/lib/schematics/schematic.option.ts b/lib/schematics/schematic.option.ts index 51b603df6..bff86a299 100644 --- a/lib/schematics/schematic.option.ts +++ b/lib/schematics/schematic.option.ts @@ -1,4 +1,4 @@ -import { normalizeToKebabOrSnakeCase } from '../utils/formatting'; +import { normalizeToKebabOrSnakeCase } from '../utils/formatting.js'; export class SchematicOption { constructor( @@ -21,7 +21,7 @@ export class SchematicOption { } } else if (typeof this.value === 'boolean') { const str = this.normalizedName; - return this.value ? `--${str}` : `--no-${str}`; + return this.value ? `--${str}` : `--${str}=false`; } else { return `--${this.normalizedName}=${this.value}`; } diff --git a/lib/ui/index.ts b/lib/ui/index.ts index e30878f50..d024bfd2b 100644 --- a/lib/ui/index.ts +++ b/lib/ui/index.ts @@ -1,5 +1,5 @@ -export * from './banner'; -export * from './emojis'; -export * from './errors'; -export * from './messages'; -export * from './prefixes'; +export * from './banner.js'; +export * from './emojis.js'; +export * from './errors.js'; +export * from './messages.js'; +export * from './prefixes.js'; diff --git a/lib/ui/messages.ts b/lib/ui/messages.ts index e2b63000e..4fea74606 100644 --- a/lib/ui/messages.ts +++ b/lib/ui/messages.ts @@ -1,5 +1,5 @@ import { green } from 'ansis'; -import { EMOJIS } from './emojis'; +import { EMOJIS } from './emojis.js'; export const MESSAGES = { PROJECT_NAME_QUESTION: 'What name would you like to use for the new project?', diff --git a/lib/utils/extra-args-warning.ts b/lib/utils/extra-args-warning.ts index 080c7071f..e18102b24 100644 --- a/lib/utils/extra-args-warning.ts +++ b/lib/utils/extra-args-warning.ts @@ -1,5 +1,5 @@ import { Command } from 'commander'; -import { ERROR_PREFIX } from '../ui'; +import { ERROR_PREFIX } from '../ui/index.js'; /** * Checks if extra positional arguments were passed to a command diff --git a/lib/utils/is-esm-project.ts b/lib/utils/is-esm-project.ts new file mode 100644 index 000000000..3e3536399 --- /dev/null +++ b/lib/utils/is-esm-project.ts @@ -0,0 +1,16 @@ +import { readFileSync } from 'fs'; +import { join } from 'path'; + +/** + * Detect whether the target project uses ESM output. + * Checks the project's package.json for `"type": "module"`. + */ +export function isEsmProject(cwd: string = process.cwd()): boolean { + try { + const raw = readFileSync(join(cwd, 'package.json'), 'utf-8'); + const pkg = JSON.parse(raw); + return pkg.type === 'module'; + } catch { + return false; + } +} diff --git a/lib/utils/is-module-available.ts b/lib/utils/is-module-available.ts index 2fa008d0f..4a73211a5 100644 --- a/lib/utils/is-module-available.ts +++ b/lib/utils/is-module-available.ts @@ -1,3 +1,7 @@ +import { createRequire } from 'module'; + +const require = createRequire(import.meta.url); + export function isModuleAvailable(path: string): boolean { try { require.resolve(path); diff --git a/lib/utils/load-configuration.ts b/lib/utils/load-configuration.ts index 6b4251f17..957acd381 100644 --- a/lib/utils/load-configuration.ts +++ b/lib/utils/load-configuration.ts @@ -1,6 +1,6 @@ -import { Configuration, ConfigurationLoader } from '../configuration'; -import { NestConfigurationLoader } from '../configuration/nest-configuration.loader'; -import { FileSystemReader } from '../readers'; +import { Configuration, ConfigurationLoader } from '../configuration/index.js'; +import { NestConfigurationLoader } from '../configuration/nest-configuration.loader.js'; +import { FileSystemReader } from '../readers/index.js'; export async function loadConfiguration(): Promise> { const loader: ConfigurationLoader = new NestConfigurationLoader( diff --git a/lib/utils/local-binaries.ts b/lib/utils/local-binaries.ts index 78367782a..819e924dd 100644 --- a/lib/utils/local-binaries.ts +++ b/lib/utils/local-binaries.ts @@ -1,6 +1,7 @@ import { existsSync } from 'fs'; -import { join, posix } from 'path'; -import { CommandLoader } from '../../commands'; +import { join } from 'path'; +import { pathToFileURL } from 'url'; +import { CommandLoader } from '../../commands/index.js'; const localBinPathSegments = [process.cwd(), 'node_modules', '@nestjs', 'cli']; @@ -8,8 +9,8 @@ export function localBinExists() { return existsSync(join(...localBinPathSegments)); } -export function loadLocalBinCommandLoader(): typeof CommandLoader { - // eslint-disable-next-line @typescript-eslint/no-var-requires - const commandsFile = require(posix.join(...localBinPathSegments, 'commands')); +export async function loadLocalBinCommandLoader(): Promise { + const commandsPath = join(...localBinPathSegments, 'commands', 'index.js'); + const commandsFile = await import(pathToFileURL(commandsPath).href); return commandsFile.CommandLoader; } diff --git a/lib/utils/project-utils.ts b/lib/utils/project-utils.ts index 07ba54519..2557b96bb 100644 --- a/lib/utils/project-utils.ts +++ b/lib/utils/project-utils.ts @@ -1,9 +1,8 @@ import { select } from '@inquirer/prompts'; -import { Input } from '../../commands'; -import { getValueOrDefault } from '../compiler/helpers/get-value-or-default'; -import { Configuration, ProjectConfiguration } from '../configuration'; -import { generateSelect } from '../questions/questions'; -import { gracefullyExitOnPromptError } from './gracefully-exit-on-prompt-error'; +import { getValueOrDefault } from '../compiler/helpers/get-value-or-default.js'; +import { Configuration, ProjectConfiguration } from '../configuration/index.js'; +import { generateSelect } from '../questions/questions.js'; +import { gracefullyExitOnPromptError } from './gracefully-exit-on-prompt-error.js'; export function shouldAskForProject( schematic: string, @@ -136,14 +135,3 @@ export function moveDefaultProjectToStart( projects.unshift(defaultProjectName); return projects; } - -export function hasValidOptionFlag( - queriedOptionName: string, - options: Input[], - queriedValue: string | number | boolean = true, -): boolean { - return options.some( - (option: Input) => - option.name === queriedOptionName && option.value === queriedValue, - ); -} diff --git a/lib/utils/remaining-flags.ts b/lib/utils/remaining-flags.ts index 533a5ca82..cd40c4c8e 100644 --- a/lib/utils/remaining-flags.ts +++ b/lib/utils/remaining-flags.ts @@ -1,7 +1,7 @@ -import { CommanderStatic } from 'commander'; +import { Command } from 'commander'; -export function getRemainingFlags(cli: CommanderStatic) { - const rawArgs = [...cli.rawArgs]; +export function getRemainingFlags(cli: Command) { + const rawArgs = [...(cli as any).rawArgs]; return rawArgs .splice( Math.max( @@ -22,7 +22,7 @@ export function getRemainingFlags(cli: CommanderStatic) { const previousKey = camelCase( prevKeyRaw.replace(/--/g, '').replace('no', ''), ); - if (cli[previousKey] === item) { + if (cli.getOptionValue(previousKey) === item) { return false; } } @@ -40,7 +40,10 @@ export function getRemainingFlags(cli: CommanderStatic) { */ function camelCase(flag: string) { - return flag.split('-').reduce((str, word) => { - return str + word[0].toUpperCase() + word.slice(1); - }); + return flag + .split('-') + .filter((word) => word.length > 0) + .reduce((str, word) => { + return str + word[0].toUpperCase() + word.slice(1); + }); } diff --git a/lib/utils/tree-kill.ts b/lib/utils/tree-kill.ts index 7ba9edd77..c4a899ec6 100644 --- a/lib/utils/tree-kill.ts +++ b/lib/utils/tree-kill.ts @@ -6,8 +6,8 @@ export function treeKillSync(pid: number, signal?: string | number): void { return; } - const childs = getAllChilds(pid); - childs.forEach(function (pid) { + const children = getAllChildren(pid); + children.forEach(function (pid) { killPid(pid, signal); }); @@ -48,7 +48,7 @@ function getAllPid(): { }); } -function getAllChilds(pid: number) { +function getAllChildren(pid: number) { const allpid = getAllPid(); const ppidHash: { diff --git a/package-lock.json b/package-lock.json index 50c66ce03..0c1648e08 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,119 +1,115 @@ { "name": "@nestjs/cli", - "version": "11.0.21", + "version": "12.0.0-alpha.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@nestjs/cli", - "version": "11.0.21", + "version": "12.0.0-alpha.5", "license": "MIT", "dependencies": { - "@angular-devkit/core": "19.2.24", - "@angular-devkit/schematics": "19.2.24", - "@angular-devkit/schematics-cli": "19.2.24", - "@inquirer/prompts": "7.10.1", - "@nestjs/schematics": "^11.0.1", + "@angular-devkit/core": "21.2.1", + "@angular-devkit/schematics": "21.2.1", + "@angular-devkit/schematics-cli": "21.2.1", + "@inquirer/prompts": "8.3.0", + "@nestjs/schematics": "^12.0.0-alpha.0", "ansis": "4.2.0", - "chokidar": "4.0.3", + "chokidar": "5.0.0", "cli-table3": "0.6.5", - "commander": "4.1.1", - "fork-ts-checker-webpack-plugin": "9.1.0", + "commander": "14.0.3", "glob": "13.0.6", - "node-emoji": "1.11.0", - "ora": "5.4.1", + "node-emoji": "2.2.0", + "ora": "9.3.0", "tsconfig-paths": "4.2.0", - "tsconfig-paths-webpack-plugin": "4.2.0", - "typescript": "5.9.3", - "webpack": "5.106.0", - "webpack-node-externals": "3.0.0" + "typescript": "~6.0.2" }, "bin": { "nest": "bin/nest.js" }, "devDependencies": { - "@commitlint/cli": "20.5.0", - "@commitlint/config-angular": "20.5.0", - "@swc/cli": "0.7.10", - "@swc/core": "1.15.11", - "@types/inquirer": "9.0.9", - "@types/jest": "29.5.14", - "@types/node": "24.12.2", - "@types/node-emoji": "1.8.2", + "@commitlint/cli": "20.4.3", + "@commitlint/config-angular": "20.4.3", + "@rspack/core": "^1.7.7", + "@swc/cli": "0.8.0", + "@swc/core": "1.15.18", + "@types/node": "25.3.5", "@types/webpack-node-externals": "3.0.4", - "@typescript-eslint/eslint-plugin": "8.58.1", - "@typescript-eslint/parser": "8.58.1", "delete-empty": "3.0.0", - "eslint": "10.2.0", - "eslint-config-prettier": "10.1.8", + "fork-ts-checker-webpack-plugin": "9.1.0", "gulp": "5.0.1", "gulp-clean": "0.4.0", "husky": "9.1.7", - "jest": "29.7.0", - "lint-staged": "16.4.0", - "prettier": "3.8.2", + "lint-staged": "16.3.2", + "oxlint": "1.58.0", + "prettier": "3.8.1", "release-it": "19.2.4", - "ts-jest": "29.4.9", - "ts-loader": "9.5.7", - "ts-node": "10.9.2" + "ts-loader": "9.5.4", + "tsconfig-paths-webpack-plugin": "4.2.0", + "vitest": "4.0.18", + "webpack": "5.105.4", + "webpack-node-externals": "3.0.0" }, "engines": { "node": ">= 20.11" }, "peerDependencies": { - "@swc/cli": "^0.1.62 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0", - "@swc/core": "^1.3.62" + "@rspack/core": "^1.7.7", + "@swc/cli": "^0.8.0", + "@swc/core": "^1.15.18", + "fork-ts-checker-webpack-plugin": "^9.1.0", + "ts-loader": "^9.5.4", + "tsconfig-paths-webpack-plugin": "^4.2.0", + "webpack": "^5.105.4", + "webpack-node-externals": "^3.0.0" }, "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, "@swc/cli": { "optional": true }, "@swc/core": { "optional": true + }, + "fork-ts-checker-webpack-plugin": { + "optional": true + }, + "ts-loader": { + "optional": true + }, + "tsconfig-paths-webpack-plugin": { + "optional": true + }, + "webpack": { + "optional": true + }, + "webpack-node-externals": { + "optional": true } } }, - "node_modules/@aashutoshrathi/word-wrap": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", - "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", - "dev": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@angular-devkit/core": { - "version": "19.2.24", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-19.2.24.tgz", - "integrity": "sha512-Kd49warf6U/EyWe5BszF/eebN3zQ3bk7tgfEljAw8q/rX95UUtriJubWvp6pgzHfzBA4jwq8f+QiNZB8eBEXPA==", + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-21.2.1.tgz", + "integrity": "sha512-TpXGjERqVPN8EPt7LdmWAwh0oNQ/6uWFutzGZiXhJy81n1zb1O1XrqhRAmvP1cAo5O+na6IV2JkkCmxL6F8GUg==", + "license": "MIT", "dependencies": { "ajv": "8.18.0", "ajv-formats": "3.0.1", "jsonc-parser": "3.3.1", - "picomatch": "4.0.4", - "rxjs": "7.8.1", - "source-map": "0.7.4" + "picomatch": "4.0.3", + "rxjs": "7.8.2", + "source-map": "0.7.6" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "node": "^20.19.0 || ^22.12.0 || >=24.0.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, "peerDependencies": { - "chokidar": "^4.0.0" + "chokidar": "^5.0.0" }, "peerDependenciesMeta": { "chokidar": { @@ -142,9 +138,10 @@ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, "node_modules/@angular-devkit/core/node_modules/picomatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", - "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "license": "MIT", "engines": { "node": ">=12" }, @@ -153,58 +150,53 @@ } }, "node_modules/@angular-devkit/schematics": { - "version": "19.2.24", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-19.2.24.tgz", - "integrity": "sha512-lnw+ZM1Io+cJAkReC0NPDjqObL8NtKzKIkdgEEKC8CUmkhurYhedbicN8Y8NYHgG1uLd2GozW3+/QqPRZaN+Lw==", + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-21.2.1.tgz", + "integrity": "sha512-CWoamHaasAHMjHcYqxbj0tMnoXxdGotcAz2SpiuWtH28Lnf5xfbTaJn/lwdMP8Wdh4tgA+uYh2l45A5auCwmkw==", + "license": "MIT", "dependencies": { - "@angular-devkit/core": "19.2.24", + "@angular-devkit/core": "21.2.1", "jsonc-parser": "3.3.1", - "magic-string": "0.30.17", - "ora": "5.4.1", - "rxjs": "7.8.1" + "magic-string": "0.30.21", + "ora": "9.3.0", + "rxjs": "7.8.2" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "node": "^20.19.0 || ^22.12.0 || >=24.0.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, "node_modules/@angular-devkit/schematics-cli": { - "version": "19.2.24", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics-cli/-/schematics-cli-19.2.24.tgz", - "integrity": "sha512-bsStZQG67J1HBqTmWxtIcobvgrn32L4UOdL7hGyOru5VxDWPNA8pRnDYavT3hnJeBkJYPoQIw8u7Dm0ecoQprw==", - "dependencies": { - "@angular-devkit/core": "19.2.24", - "@angular-devkit/schematics": "19.2.24", - "@inquirer/prompts": "7.3.2", - "ansi-colors": "4.1.3", - "symbol-observable": "4.0.0", - "yargs-parser": "21.1.1" + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics-cli/-/schematics-cli-21.2.1.tgz", + "integrity": "sha512-5uEyqfCfh5QCI0XfzWkxeR9IWFs06Qtxjpgx1EF5sLL0TpCOAVngU70DVCJMNQoNITdtDIYS2TxBXWXiFfILdw==", + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "21.2.1", + "@angular-devkit/schematics": "21.2.1", + "@inquirer/prompts": "7.10.1" }, "bin": { "schematics": "bin/schematics.js" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "node": "^20.19.0 || ^22.12.0 || >=24.0.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, - "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/prompts": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.3.2.tgz", - "integrity": "sha512-G1ytyOoHh5BphmEBxSwALin3n1KGNYB6yImbICcRQdzXfOGbuJ9Jske/Of5Sebk339NSGGNfUshnzK8YWkTPsQ==", - "dependencies": { - "@inquirer/checkbox": "^4.1.2", - "@inquirer/confirm": "^5.1.6", - "@inquirer/editor": "^4.2.7", - "@inquirer/expand": "^4.0.9", - "@inquirer/input": "^4.1.6", - "@inquirer/number": "^3.0.9", - "@inquirer/password": "^4.0.9", - "@inquirer/rawlist": "^4.0.9", - "@inquirer/search": "^3.0.9", - "@inquirer/select": "^4.0.9" + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/checkbox": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.2.tgz", + "integrity": "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==", + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { "node": ">=18" @@ -218,298 +210,310 @@ } } }, - "node_modules/@angular-devkit/schematics-cli/node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/confirm": { + "version": "5.1.21", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.21.tgz", + "integrity": "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==", + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, "engines": { - "node": ">=12" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@babel/code-frame": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", - "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/editor": { + "version": "4.2.23", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.23.tgz", + "integrity": "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==", + "license": "MIT", "dependencies": { - "@babel/highlight": "^7.22.13", - "chalk": "^2.4.2" + "@inquirer/core": "^10.3.2", + "@inquirer/external-editor": "^1.0.3", + "@inquirer/type": "^3.0.10" }, "engines": { - "node": ">=6.9.0" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@babel/code-frame/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/expand": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.23.tgz", + "integrity": "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==", + "license": "MIT", "dependencies": { - "color-convert": "^1.9.0" + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { - "node": ">=4" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@babel/code-frame/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/external-editor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", + "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", + "license": "MIT", "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "chardet": "^2.1.1", + "iconv-lite": "^0.7.0" }, "engines": { - "node": ">=4" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@babel/code-frame/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/input": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.1.tgz", + "integrity": "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==", + "license": "MIT", "dependencies": { - "has-flag": "^3.0.0" + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" }, "engines": { - "node": ">=4" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@babel/compat-data": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.2.tgz", - "integrity": "sha512-0S9TQMmDHlqAZ2ITT95irXKfxN9bncq8ZCoJhun3nHL/lLUxd2NKBJYoNGWH7S0hz6fRQwWlAWn/ILM0C70KZQ==", - "dev": true, + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/number": { + "version": "3.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.23.tgz", + "integrity": "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==", + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, "engines": { - "node": ">=6.9.0" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@babel/core": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.2.tgz", - "integrity": "sha512-n7s51eWdaWZ3vGT2tD4T7J6eJs3QoBXydv7vkUM06Bf1cbVD2Kc2UrkzhiQwobfV7NwOnQXYL7UBJ5VPU+RGoQ==", - "dev": true, + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/password": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.23.tgz", + "integrity": "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==", + "license": "MIT", "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.23.0", - "@babel/helper-compilation-targets": "^7.22.15", - "@babel/helper-module-transforms": "^7.23.0", - "@babel/helpers": "^7.23.2", - "@babel/parser": "^7.23.0", - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.2", - "@babel/types": "^7.23.0", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" }, "engines": { - "node": ">=6.9.0" + "node": ">=18" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/core/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@babel/generator": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", - "dev": true, + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/prompts": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.10.1.tgz", + "integrity": "sha512-Dx/y9bCQcXLI5ooQ5KyvA4FTgeo2jYj/7plWfV5Ak5wDPKQZgudKez2ixyfz7tKXzcJciTxqLeK7R9HItwiByg==", + "license": "MIT", "dependencies": { - "@babel/types": "^7.23.0", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", - "jsesc": "^2.5.1" + "@inquirer/checkbox": "^4.3.2", + "@inquirer/confirm": "^5.1.21", + "@inquirer/editor": "^4.2.23", + "@inquirer/expand": "^4.0.23", + "@inquirer/input": "^4.3.1", + "@inquirer/number": "^3.0.23", + "@inquirer/password": "^4.0.23", + "@inquirer/rawlist": "^4.1.11", + "@inquirer/search": "^3.2.2", + "@inquirer/select": "^4.4.2" }, "engines": { - "node": ">=6.9.0" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz", - "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==", - "dev": true, + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/rawlist": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.11.tgz", + "integrity": "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==", + "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-validator-option": "^7.22.15", - "browserslist": "^4.21.9", - "lru-cache": "^5.1.1", - "semver": "^6.3.1" + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { - "node": ">=6.9.0" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dev": true, - "dependencies": { - "yallist": "^3.0.2" - } - }, - "node_modules/@babel/helper-compilation-targets/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/helper-compilation-targets/node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true - }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", - "dev": true, + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/search": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.2.tgz", + "integrity": "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==", + "license": "MIT", "dependencies": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" + "node": ">=18" }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", - "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.15" + "peerDependencies": { + "@types/node": ">=18" }, - "engines": { - "node": ">=6.9.0" + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.0.tgz", - "integrity": "sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw==", - "dev": true, + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/select": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.2.tgz", + "integrity": "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==", + "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-simple-access": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.20" + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { - "node": ">=6.9.0" + "node": ">=18" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", - "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", + "node_modules/@babel/code-frame": { + "version": "7.22.13", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", + "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", "dev": true, + "dependencies": { + "@babel/highlight": "^7.22.13", + "chalk": "^2.4.2" + }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-simple-access": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "node_modules/@babel/code-frame/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "dependencies": { - "@babel/types": "^7.22.5" + "color-convert": "^1.9.0" }, "engines": { - "node": ">=6.9.0" + "node": ">=4" } }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "node_modules/@babel/code-frame/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "dependencies": { - "@babel/types": "^7.22.5" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" }, "engines": { - "node": ">=6.9.0" + "node": ">=4" } }, - "node_modules/@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "node_modules/@babel/code-frame/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, "engines": { - "node": ">=6.9.0" + "node": ">=4" } }, "node_modules/@babel/helper-validator-identifier": { "version": "7.22.20", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz", - "integrity": "sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.2.tgz", - "integrity": "sha512-lzchcp8SjTSVe/fPmLwtWVBFC7+Tbn8LGHDVfDp9JGxpAY5opSaEFgt8UQvrnECWOTdji2mOWMz1rOhkHscmGQ==", "dev": true, - "dependencies": { - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.2", - "@babel/types": "^7.23.0" - }, "engines": { "node": ">=6.9.0" } @@ -518,6 +522,7 @@ "version": "7.22.20", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", + "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", @@ -531,6 +536,7 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, "dependencies": { "color-convert": "^1.9.0" }, @@ -542,6 +548,7 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -555,266 +562,14 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/parser": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", - "dev": true, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-bigint": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", - "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", - "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz", - "integrity": "sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz", - "integrity": "sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", - "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.23.0", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.0", - "@babel/types": "^7.23.0", - "debug": "^4.1.0", - "globals": "^11.1.0" + "has-flag": "^3.0.0" }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse/node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, "engines": { "node": ">=4" } }, - "node_modules/@babel/types": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", - "dev": true, - "dependencies": { - "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.20", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@bcoe/v8-coverage": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true - }, "node_modules/@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", @@ -825,16 +580,17 @@ } }, "node_modules/@commitlint/cli": { - "version": "20.5.0", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-20.5.0.tgz", - "integrity": "sha512-yNkyN/tuKTJS3wdVfsZ2tXDM4G4Gi7z+jW54Cki8N8tZqwKBltbIvUUrSbT4hz1bhW/h0CdR+5sCSpXD+wMKaQ==", + "version": "20.4.3", + "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-20.4.3.tgz", + "integrity": "sha512-Z37EMoDT7+Upg500vlr/vZrgRsb6Xc5JAA3Tv7BYbobnN/ZpqUeZnSLggBg2+1O+NptRDtyujr2DD1CPV2qwhA==", "dev": true, + "license": "MIT", "dependencies": { - "@commitlint/format": "^20.5.0", - "@commitlint/lint": "^20.5.0", - "@commitlint/load": "^20.5.0", - "@commitlint/read": "^20.5.0", - "@commitlint/types": "^20.5.0", + "@commitlint/format": "^20.4.3", + "@commitlint/lint": "^20.4.3", + "@commitlint/load": "^20.4.3", + "@commitlint/read": "^20.4.3", + "@commitlint/types": "^20.4.3", "tinyexec": "^1.0.0", "yargs": "^17.0.0" }, @@ -855,10 +611,11 @@ } }, "node_modules/@commitlint/config-angular": { - "version": "20.5.0", - "resolved": "https://registry.npmjs.org/@commitlint/config-angular/-/config-angular-20.5.0.tgz", - "integrity": "sha512-AZ8foxHb8VBCpZywnIFxpXgrK6VMizZ957vlz8UEyaMZEzvP0F+RtQmTijHnVPaPVk/scS6EDp0/1sy1UszXoQ==", + "version": "20.4.3", + "resolved": "https://registry.npmjs.org/@commitlint/config-angular/-/config-angular-20.4.3.tgz", + "integrity": "sha512-WawaRHilu/5ezf1YicqpQcWNzBY+Yn/+plHl2ZTN+9sdItrZSmC1oVeg4tSKeJPLFky2aFBp6rhs1y65uu83gA==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/config-angular-type-enum": "^20.0.0" }, @@ -1172,319 +929,524 @@ } } }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", - "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "node_modules/@emnapi/core": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz", + "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==", "dev": true, + "license": "MIT", + "optional": true, "dependencies": { - "@jridgewell/trace-mapping": "0.3.9" - }, - "engines": { - "node": ">=12" + "@emnapi/wasi-threads": "1.2.1", + "tslib": "^2.4.0" } }, - "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { - "version": "0.3.9", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", - "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "node_modules/@emnapi/runtime": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz", + "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==", "dev": true, + "license": "MIT", + "optional": true, "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" + "tslib": "^2.4.0" } }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", - "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", + "node_modules/@emnapi/wasi-threads": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz", + "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==", "dev": true, + "license": "MIT", + "optional": true, "dependencies": { - "eslint-visitor-keys": "^3.4.3" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + "tslib": "^2.4.0" } }, - "node_modules/@eslint-community/regexpp": { - "version": "4.12.2", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", - "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", + "node_modules/@esbuild/aix-ppc64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz", + "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==", + "cpu": [ + "ppc64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + "node": ">=18" } }, - "node_modules/@eslint/config-array": { - "version": "0.23.4", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.4.tgz", - "integrity": "sha512-lf19F24LSMfF8weXvW5QEtnLqW70u7kgit5e9PSx0MsHAFclGd1T9ynvWEMDT1w5J4Qt54tomGeAhdoAku1Xow==", + "node_modules/@esbuild/android-arm": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz", + "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "@eslint/object-schema": "^3.0.4", - "debug": "^4.3.1", - "minimatch": "^10.2.4" - }, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" + "node": ">=18" } }, - "node_modules/@eslint/config-array/node_modules/balanced-match": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", - "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "node_modules/@esbuild/android-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz", + "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==", + "cpu": [ + "arm64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "18 || 20 || >=22" + "node": ">=18" } }, - "node_modules/@eslint/config-array/node_modules/brace-expansion": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", - "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", + "node_modules/@esbuild/android-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz", + "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "balanced-match": "^4.0.2" - }, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "18 || 20 || >=22" + "node": ">=18" } }, - "node_modules/@eslint/config-array/node_modules/minimatch": { - "version": "10.2.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", - "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", + "node_modules/@esbuild/darwin-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz", + "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "brace-expansion": "^5.0.5" - }, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=18" } }, - "node_modules/@eslint/config-helpers": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.5.4.tgz", - "integrity": "sha512-jJhqiY3wPMlWWO3370M86CPJ7pt8GmEwSLglMfQhjXal07RCvhmU0as4IuUEW5SJeunfItiEetHmSxCCe9lDBg==", + "node_modules/@esbuild/darwin-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz", + "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@eslint/core": "^1.2.0" - }, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" + "node": ">=18" } }, - "node_modules/@eslint/core": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.0.tgz", - "integrity": "sha512-8FTGbNzTvmSlc4cZBaShkC6YvFMG0riksYWRFKXztqVdXaQbcZLXlFbSpC05s70sGEsXAw0qwhx69JiW7hQS7A==", + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz", + "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.15" - }, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" + "node": ">=18" } }, - "node_modules/@eslint/object-schema": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.4.tgz", - "integrity": "sha512-55lO/7+Yp0ISKRP0PsPtNTeNGapXaO085aELZmWCVc5SH3jfrqpuU6YgOdIxMS99ZHkQN1cXKE+cdIqwww9ptw==", + "node_modules/@esbuild/freebsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz", + "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==", + "cpu": [ + "x64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" + "node": ">=18" } }, - "node_modules/@eslint/plugin-kit": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.0.tgz", - "integrity": "sha512-ejvBr8MQCbVsWNZnCwDXjUKq40MDmHalq7cJ6e9s/qzTUFIIo/afzt1Vui9T97FM/V/pN4YsFVoed5NIa96RDg==", + "node_modules/@esbuild/linux-arm": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz", + "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "@eslint/core": "^1.2.0", - "levn": "^0.4.1" - }, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" + "node": ">=18" } }, - "node_modules/@gulpjs/messages": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@gulpjs/messages/-/messages-1.1.0.tgz", - "integrity": "sha512-Ys9sazDatyTgZVb4xPlDufLweJ/Os2uHWOv+Caxvy2O85JcnT4M3vc73bi8pdLWlv3fdWQz3pdI9tVwo8rQQSg==", + "node_modules/@esbuild/linux-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz", + "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==", + "cpu": [ + "arm64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=10.13.0" + "node": ">=18" } }, - "node_modules/@gulpjs/to-absolute-glob": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@gulpjs/to-absolute-glob/-/to-absolute-glob-4.0.0.tgz", - "integrity": "sha512-kjotm7XJrJ6v+7knhPaRgaT6q8F8K2jiafwYdNHLzmV0uGLuZY43FK6smNSHUPrhq5kX2slCUy+RGG/xGqmIKA==", + "node_modules/@esbuild/linux-ia32": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz", + "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==", + "cpu": [ + "ia32" + ], "dev": true, - "dependencies": { - "is-negated-glob": "^1.0.0" - }, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=10.13.0" + "node": ">=18" } }, - "node_modules/@humanfs/core": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", - "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "node_modules/@esbuild/linux-loong64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz", + "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==", + "cpu": [ + "loong64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=18.18.0" + "node": ">=18" } }, - "node_modules/@humanfs/node": { - "version": "0.16.6", - "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", - "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", + "node_modules/@esbuild/linux-mips64el": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz", + "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==", + "cpu": [ + "mips64el" + ], "dev": true, - "dependencies": { - "@humanfs/core": "^0.19.1", - "@humanwhocodes/retry": "^0.3.0" - }, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=18.18.0" + "node": ">=18" } }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "node_modules/@esbuild/linux-ppc64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz", + "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==", + "cpu": [ + "ppc64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=12.22" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" + "node": ">=18" } }, - "node_modules/@humanwhocodes/retry": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", - "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "node_modules/@esbuild/linux-riscv64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz", + "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==", + "cpu": [ + "riscv64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=18.18" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" + "node": ">=18" } }, - "node_modules/@inquirer/ansi": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz", - "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==", + "node_modules/@esbuild/linux-s390x": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz", + "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { "node": ">=18" } }, - "node_modules/@inquirer/checkbox": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.2.tgz", - "integrity": "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==", - "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - }, + "node_modules/@esbuild/linux-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz", + "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } } }, - "node_modules/@inquirer/confirm": { - "version": "5.1.21", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.21.tgz", - "integrity": "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" - }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz", + "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], "engines": { "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } } }, - "node_modules/@inquirer/core": { - "version": "10.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.2.tgz", - "integrity": "sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A==", - "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "cli-width": "^4.1.0", - "mute-stream": "^2.0.0", - "signal-exit": "^4.1.0", - "wrap-ansi": "^6.2.0", - "yoctocolors-cjs": "^2.1.3" - }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz", + "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], "engines": { "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } } }, - "node_modules/@inquirer/core/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz", + "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=18" } }, - "node_modules/@inquirer/editor": { - "version": "4.2.23", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.23.tgz", - "integrity": "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==", + "node_modules/@esbuild/openbsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz", + "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz", + "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz", + "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz", + "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz", + "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz", + "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@gulpjs/messages": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@gulpjs/messages/-/messages-1.1.0.tgz", + "integrity": "sha512-Ys9sazDatyTgZVb4xPlDufLweJ/Os2uHWOv+Caxvy2O85JcnT4M3vc73bi8pdLWlv3fdWQz3pdI9tVwo8rQQSg==", + "dev": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/@gulpjs/to-absolute-glob": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@gulpjs/to-absolute-glob/-/to-absolute-glob-4.0.0.tgz", + "integrity": "sha512-kjotm7XJrJ6v+7knhPaRgaT6q8F8K2jiafwYdNHLzmV0uGLuZY43FK6smNSHUPrhq5kX2slCUy+RGG/xGqmIKA==", + "dev": true, "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/external-editor": "^1.0.3", - "@inquirer/type": "^3.0.10" + "is-negated-glob": "^1.0.0" }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/@inquirer/ansi": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz", + "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==", "engines": { "node": ">=18" + } + }, + "node_modules/@inquirer/checkbox": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-5.1.3.tgz", + "integrity": "sha512-+G7I8CT+EHv/hasNfUl3P37DVoMoZfpA+2FXmM54dA8MxYle1YqucxbacxHalw1iAFSdKNEDTGNV7F+j1Ldqcg==", + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^2.0.5", + "@inquirer/core": "^11.1.8", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1495,17 +1457,31 @@ } } }, - "node_modules/@inquirer/expand": { - "version": "4.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.23.tgz", - "integrity": "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==", + "node_modules/@inquirer/checkbox/node_modules/@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==", + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + } + }, + "node_modules/@inquirer/checkbox/node_modules/@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1516,16 +1492,22 @@ } } }, - "node_modules/@inquirer/external-editor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", - "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", - "dependencies": { - "chardet": "^2.1.1", - "iconv-lite": "^0.7.0" - }, + "node_modules/@inquirer/checkbox/node_modules/@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==", + "license": "MIT", "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + } + }, + "node_modules/@inquirer/checkbox/node_modules/@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==", + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1536,24 +1518,38 @@ } } }, - "node_modules/@inquirer/figures": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", - "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==", + "node_modules/@inquirer/checkbox/node_modules/mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", + "license": "ISC", "engines": { - "node": ">=18" + "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/@inquirer/input": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.1.tgz", - "integrity": "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==", + "node_modules/@inquirer/checkbox/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@inquirer/confirm": { + "version": "6.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.0.11.tgz", + "integrity": "sha512-pTpHjg0iEIRMYV/7oCZUMf27/383E6Wyhfc/MY+AVQGEoUobffIYWOK9YLP2XFRGz/9i6WlTQh1CkFVIo2Y7XA==", + "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1564,16 +1560,31 @@ } } }, - "node_modules/@inquirer/number": { - "version": "3.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.23.tgz", - "integrity": "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==", + "node_modules/@inquirer/confirm/node_modules/@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==", + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + } + }, + "node_modules/@inquirer/confirm/node_modules/@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1584,17 +1595,22 @@ } } }, - "node_modules/@inquirer/password": { - "version": "4.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.23.tgz", - "integrity": "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==", - "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" - }, + "node_modules/@inquirer/confirm/node_modules/@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==", + "license": "MIT", "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + } + }, + "node_modules/@inquirer/confirm/node_modules/@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==", + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1605,41 +1621,39 @@ } } }, - "node_modules/@inquirer/prompts": { - "version": "7.10.1", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.10.1.tgz", - "integrity": "sha512-Dx/y9bCQcXLI5ooQ5KyvA4FTgeo2jYj/7plWfV5Ak5wDPKQZgudKez2ixyfz7tKXzcJciTxqLeK7R9HItwiByg==", - "dependencies": { - "@inquirer/checkbox": "^4.3.2", - "@inquirer/confirm": "^5.1.21", - "@inquirer/editor": "^4.2.23", - "@inquirer/expand": "^4.0.23", - "@inquirer/input": "^4.3.1", - "@inquirer/number": "^3.0.23", - "@inquirer/password": "^4.0.23", - "@inquirer/rawlist": "^4.1.11", - "@inquirer/search": "^3.2.2", - "@inquirer/select": "^4.4.2" - }, + "node_modules/@inquirer/confirm/node_modules/mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", + "license": "ISC", "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" + "node": "^20.17.0 || >=22.9.0" + } + }, + "node_modules/@inquirer/confirm/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@inquirer/rawlist": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.11.tgz", - "integrity": "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==", + "node_modules/@inquirer/core": { + "version": "10.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.2.tgz", + "integrity": "sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A==", "dependencies": { - "@inquirer/core": "^10.3.2", + "@inquirer/ansi": "^1.0.2", + "@inquirer/figures": "^1.0.15", "@inquirer/type": "^3.0.10", + "cli-width": "^4.1.0", + "mute-stream": "^2.0.0", + "signal-exit": "^4.1.0", + "wrap-ansi": "^6.2.0", "yoctocolors-cjs": "^2.1.3" }, "engines": { @@ -1654,18 +1668,29 @@ } } }, - "node_modules/@inquirer/search": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.2.tgz", - "integrity": "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==", + "node_modules/@inquirer/core/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@inquirer/editor": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-5.1.0.tgz", + "integrity": "sha512-6wlkYl65Qfayy48gPCfU4D7li6KCAGN79mLXa/tYHZH99OfZ820yY+HA+DgE88r8YwwgeuY6PQgNqMeK6LuMmw==", + "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" + "@inquirer/core": "^11.1.8", + "@inquirer/external-editor": "^3.0.0", + "@inquirer/type": "^4.0.5" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1676,19 +1701,31 @@ } } }, - "node_modules/@inquirer/select": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.2.tgz", - "integrity": "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==", + "node_modules/@inquirer/editor/node_modules/@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==", + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + } + }, + "node_modules/@inquirer/editor/node_modules/@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "license": "MIT", "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1699,12 +1736,22 @@ } } }, - "node_modules/@inquirer/type": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", - "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==", + "node_modules/@inquirer/editor/node_modules/@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==", + "license": "MIT", "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + } + }, + "node_modules/@inquirer/editor/node_modules/@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==", + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -1715,3226 +1762,3253 @@ } } }, - "node_modules/@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", - "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", - "dev": true, - "dependencies": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" - }, + "node_modules/@inquirer/editor/node_modules/mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", + "license": "ISC", "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, - "dependencies": { - "sprintf-js": "~1.0.2" + "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { + "node_modules/@inquirer/editor/node_modules/signal-exit": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", "engines": { - "node": ">=8" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dev": true, + "node_modules/@inquirer/expand": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-5.0.12.tgz", + "integrity": "sha512-vOfrB33b7YIZfDauXS8vNNz2Z86FozTZLIt7e+7/dCaPJ1RXZsHCuI9TlcERzEUq57vkM+UdnBgxP0rFd23JYQ==", + "license": "MIT", "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, + "node_modules/@inquirer/expand/node_modules/@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==", + "license": "MIT", "engines": { - "node": ">=8" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, + "node_modules/@inquirer/expand/node_modules/@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "license": "MIT", "dependencies": { - "p-try": "^2.0.0" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" }, "engines": { - "node": ">=6" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, + "node_modules/@inquirer/expand/node_modules/@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==", + "license": "MIT", "engines": { - "node": ">=8" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "dev": true, + "node_modules/@inquirer/expand/node_modules/@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==", + "license": "MIT", "engines": { - "node": ">=8" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@jest/console": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", - "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0" - }, + "node_modules/@inquirer/expand/node_modules/mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", + "license": "ISC", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/@jest/core": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", - "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", - "dev": true, + "node_modules/@inquirer/expand/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@inquirer/external-editor": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-3.0.0.tgz", + "integrity": "sha512-lDSwMgg+M5rq6JKBYaJwSX6T9e/HK2qqZ1oxmOwn4AQoJE5D+7TumsxLGC02PWS//rkIVqbZv3XA3ejsc9FYvg==", + "license": "MIT", "dependencies": { - "@jest/console": "^29.7.0", - "@jest/reporters": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.7.0", - "jest-config": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-resolve-dependencies": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "jest-watcher": "^29.7.0", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-ansi": "^6.0.0" + "chardet": "^2.1.1", + "iconv-lite": "^0.7.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + "@types/node": ">=18" }, "peerDependenciesMeta": { - "node-notifier": { + "@types/node": { "optional": true } } }, - "node_modules/@jest/environment": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", - "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", - "dev": true, - "dependencies": { - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0" - }, + "node_modules/@inquirer/figures": { + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", + "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=18" } }, - "node_modules/@jest/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", - "dev": true, + "node_modules/@inquirer/input": { + "version": "5.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-5.0.11.tgz", + "integrity": "sha512-twUWidn4ocPO8qi6fRM7tNWt7W1FOnOZqQ+/+PsfLUacMR5rFLDPK9ql0nBPwxi0oELbo8T5NhRs8B2+qQEqFQ==", + "license": "MIT", "dependencies": { - "expect": "^29.7.0", - "jest-snapshot": "^29.7.0" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@jest/expect-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", - "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", - "dev": true, - "dependencies": { - "jest-get-type": "^29.6.3" - }, + "node_modules/@inquirer/input/node_modules/@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==", + "license": "MIT", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@jest/fake-timers": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", - "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", - "dev": true, + "node_modules/@inquirer/input/node_modules/@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", - "@sinonjs/fake-timers": "^10.0.2", - "@types/node": "*", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@jest/globals": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", - "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/types": "^29.6.3", - "jest-mock": "^29.7.0" - }, + "node_modules/@inquirer/input/node_modules/@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==", + "license": "MIT", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@jest/reporters": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", - "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", - "dev": true, - "dependencies": { - "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "@types/node": "*", - "chalk": "^4.0.0", - "collect-v8-coverage": "^1.0.0", - "exit": "^0.1.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-instrument": "^6.0.0", - "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^4.0.0", - "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "slash": "^3.0.0", - "string-length": "^4.0.1", - "strip-ansi": "^6.0.0", - "v8-to-istanbul": "^9.0.1" - }, + "node_modules/@inquirer/input/node_modules/@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==", + "license": "MIT", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + "@types/node": ">=18" }, "peerDependenciesMeta": { - "node-notifier": { + "@types/node": { "optional": true } } }, - "node_modules/@jest/reporters/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, + "node_modules/@inquirer/input/node_modules/mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", + "license": "ISC", "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/@jest/reporters/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, + "node_modules/@inquirer/input/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/reporters/node_modules/jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", - "dev": true, - "dependencies": { - "@types/node": "*", - "jest-util": "^29.7.0", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" + "node": ">=14" }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@jest/reporters/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, + "node_modules/@inquirer/number": { + "version": "4.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-4.0.11.tgz", + "integrity": "sha512-Vscmim9TCksQsfjPtka/JwPUcbLhqWYrgfPf1cHrCm24X/F2joFwnageD50yMKsaX14oNGOyKf/RNXAFkNjWpA==", + "license": "MIT", "dependencies": { - "has-flag": "^4.0.0" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, "engines": { - "node": ">=10" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@jest/schemas": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", - "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", - "dev": true, - "dependencies": { - "@sinclair/typebox": "^0.27.8" - }, + "node_modules/@inquirer/number/node_modules/@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==", + "license": "MIT", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@jest/source-map": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", - "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", - "dev": true, + "node_modules/@inquirer/number/node_modules/@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "license": "MIT", "dependencies": { - "@jridgewell/trace-mapping": "^0.3.18", - "callsites": "^3.0.0", - "graceful-fs": "^4.2.9" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@jest/test-result": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", - "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "collect-v8-coverage": "^1.0.0" - }, + "node_modules/@inquirer/number/node_modules/@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==", + "license": "MIT", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@jest/test-sequencer": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", - "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", - "dev": true, - "dependencies": { - "@jest/test-result": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "slash": "^3.0.0" + "node_modules/@inquirer/number/node_modules/@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==", + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, + "peerDependencies": { + "@types/node": ">=18" }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/number/node_modules/mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", + "license": "ISC", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/@jest/transform": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", - "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "babel-plugin-istanbul": "^6.1.1", - "chalk": "^4.0.0", - "convert-source-map": "^2.0.0", - "fast-json-stable-stringify": "^2.1.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "micromatch": "^4.0.4", - "pirates": "^4.0.4", - "slash": "^3.0.0", - "write-file-atomic": "^4.0.2" - }, + "node_modules/@inquirer/number/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@jest/transform/node_modules/write-file-atomic": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", - "dev": true, + "node_modules/@inquirer/password": { + "version": "5.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-5.0.11.tgz", + "integrity": "sha512-9KZFeRaNHIcejtPb0wN4ddFc7EvobVoAFa049eS3LrDZFxI8O7xUXiITEOinBzkZFAIwY5V4yzQae/QfO9cbbg==", + "license": "MIT", "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" + "@inquirer/ansi": "^2.0.5", + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@jest/types": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", - "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", - "dev": true, - "dependencies": { - "@jest/schemas": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^17.0.8", - "chalk": "^4.0.0" - }, + "node_modules/@inquirer/password/node_modules/@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==", + "license": "MIT", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", - "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", + "node_modules/@inquirer/password/node_modules/@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "license": "MIT", "dependencies": { - "@jridgewell/set-array": "^1.2.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.24" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" }, "engines": { - "node": ">=6.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "node_modules/@inquirer/password/node_modules/@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==", + "license": "MIT", "engines": { - "node": ">=6.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@jridgewell/set-array": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", - "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "node_modules/@inquirer/password/node_modules/@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==", + "license": "MIT", "engines": { - "node": ">=6.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@jridgewell/source-map": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", - "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25" + "node_modules/@inquirer/password/node_modules/mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", + "license": "ISC", + "engines": { + "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.25", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", - "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" + "node_modules/@inquirer/password/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@nestjs/schematics": { - "version": "11.0.10", - "resolved": "https://registry.npmjs.org/@nestjs/schematics/-/schematics-11.0.10.tgz", - "integrity": "sha512-q9lr0wGwgBHLarD4uno3XiW4JX60WPlg2VTgbqPHl/6bT4u1IEEzj+q9Tad3bVnqL5mlDF3vrZ2tj+x13CJpmw==", + "node_modules/@inquirer/prompts": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-8.3.0.tgz", + "integrity": "sha512-JAj66kjdH/F1+B7LCigjARbwstt3SNUOSzMdjpsvwJmzunK88gJeXmcm95L9nw1KynvFVuY4SzXh/3Y0lvtgSg==", + "license": "MIT", "dependencies": { - "@angular-devkit/core": "19.2.23", - "@angular-devkit/schematics": "19.2.23", - "comment-json": "4.6.2", - "jsonc-parser": "3.3.1", - "pluralize": "8.0.0" + "@inquirer/checkbox": "^5.1.0", + "@inquirer/confirm": "^6.0.8", + "@inquirer/editor": "^5.0.8", + "@inquirer/expand": "^5.0.8", + "@inquirer/input": "^5.0.8", + "@inquirer/number": "^4.0.8", + "@inquirer/password": "^5.0.8", + "@inquirer/rawlist": "^5.2.4", + "@inquirer/search": "^4.1.4", + "@inquirer/select": "^5.1.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { - "typescript": ">=4.8.2" + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@nestjs/schematics/node_modules/@angular-devkit/core": { - "version": "19.2.23", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-19.2.23.tgz", - "integrity": "sha512-RazHPQkUEsNU/OZ75w9UeHxGFMthRiuAW2B/uA7eXExBj/1meHrrBfoCA56ujW2GUxVjRtSrMjylKh4R4meiYA==", + "node_modules/@inquirer/rawlist": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-5.2.7.tgz", + "integrity": "sha512-AqRMiD9+uE1lskDPrdqHwrV/EUmxKEBLX44SR7uxK3vD2413AmVfE5EQaPeNzYf5Pq5SitHJDYUFVF0poIr09w==", + "license": "MIT", "dependencies": { - "ajv": "8.18.0", - "ajv-formats": "3.0.1", - "jsonc-parser": "3.3.1", - "picomatch": "4.0.4", - "rxjs": "7.8.1", - "source-map": "0.7.4" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { - "chokidar": "^4.0.0" + "@types/node": ">=18" }, "peerDependenciesMeta": { - "chokidar": { + "@types/node": { "optional": true } } }, - "node_modules/@nestjs/schematics/node_modules/@angular-devkit/schematics": { - "version": "19.2.23", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-19.2.23.tgz", - "integrity": "sha512-Jzs7YM4X6azmHU7Mw5tQSPMuvaqYS8SLnZOJbtiXCy1JyuW9bm/WBBecNHMiuZ8LHXKhvQ6AVX1tKrzF6uiDmw==", - "dependencies": { - "@angular-devkit/core": "19.2.23", - "jsonc-parser": "3.3.1", - "magic-string": "0.30.17", - "ora": "5.4.1", - "rxjs": "7.8.1" - }, + "node_modules/@inquirer/rawlist/node_modules/@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==", + "license": "MIT", "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@nestjs/schematics/node_modules/ajv": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", - "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", + "node_modules/@inquirer/rawlist/node_modules/@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "license": "MIT", "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/@nestjs/schematics/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, - "node_modules/@nestjs/schematics/node_modules/picomatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", - "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", "engines": { - "node": ">=12" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/@nodeutils/defaults-deep": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@nodeutils/defaults-deep/-/defaults-deep-1.1.0.tgz", - "integrity": "sha512-gG44cwQovaOFdSR02jR9IhVRpnDP64VN6JdjYJTfNz4J4fWn7TQnmrf22nSjRqlwlxPcW8PL/L3KbJg3tdwvpg==", - "dev": true, - "dependencies": { - "lodash": "^4.15.0" + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@octokit/auth-token": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz", - "integrity": "sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==", - "dev": true, + "node_modules/@inquirer/rawlist/node_modules/@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==", + "license": "MIT", "engines": { - "node": ">= 20" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@octokit/core": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.6.tgz", - "integrity": "sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==", - "dev": true, - "dependencies": { - "@octokit/auth-token": "^6.0.0", - "@octokit/graphql": "^9.0.3", - "@octokit/request": "^10.0.6", - "@octokit/request-error": "^7.0.2", - "@octokit/types": "^16.0.0", - "before-after-hook": "^4.0.0", - "universal-user-agent": "^7.0.0" - }, + "node_modules/@inquirer/rawlist/node_modules/@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==", + "license": "MIT", "engines": { - "node": ">= 20" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@octokit/endpoint": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.2.tgz", - "integrity": "sha512-4zCpzP1fWc7QlqunZ5bSEjxc6yLAlRTnDwKtgXfcI/FxxGoqedDG8V2+xJ60bV2kODqcGB+nATdtap/XYq2NZQ==", - "dev": true, - "dependencies": { - "@octokit/types": "^16.0.0", - "universal-user-agent": "^7.0.2" - }, + "node_modules/@inquirer/rawlist/node_modules/mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", + "license": "ISC", "engines": { - "node": ">= 20" + "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/@octokit/graphql": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-9.0.3.tgz", - "integrity": "sha512-grAEuupr/C1rALFnXTv6ZQhFuL1D8G5y8CN04RgrO4FIPMrtm+mcZzFG7dcBm+nq+1ppNixu+Jd78aeJOYxlGA==", - "dev": true, - "dependencies": { - "@octokit/request": "^10.0.6", - "@octokit/types": "^16.0.0", - "universal-user-agent": "^7.0.0" - }, + "node_modules/@inquirer/rawlist/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", "engines": { - "node": ">= 20" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@octokit/openapi-types": { - "version": "27.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-27.0.0.tgz", - "integrity": "sha512-whrdktVs1h6gtR+09+QsNk2+FO+49j6ga1c55YZudfEG+oKJVvJLQi3zkOm5JjiUXAagWK2tI2kTGKJ2Ys7MGA==", - "dev": true - }, - "node_modules/@octokit/plugin-paginate-rest": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-14.0.0.tgz", - "integrity": "sha512-fNVRE7ufJiAA3XUrha2omTA39M6IXIc6GIZLvlbsm8QOQCYvpq/LkMNGyFlB1d8hTDzsAXa3OKtybdMAYsV/fw==", - "dev": true, + "node_modules/@inquirer/search": { + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-4.1.7.tgz", + "integrity": "sha512-1y7+0N65AWk5RdlXH/Kn13txf3IjIQ7OEfhCEkDTU+h5wKMLq8DUF3P6z+/kLSxDGDtQT1dRBWEUC3o/VvImsQ==", + "license": "MIT", "dependencies": { - "@octokit/types": "^16.0.0" + "@inquirer/core": "^11.1.8", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5" }, "engines": { - "node": ">= 20" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { - "@octokit/core": ">=6" + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@octokit/plugin-request-log": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-6.0.0.tgz", - "integrity": "sha512-UkOzeEN3W91/eBq9sPZNQ7sUBvYCqYbrrD8gTbBuGtHEuycE4/awMXcYvx6sVYo7LypPhmQwwpUe4Yyu4QZN5Q==", - "dev": true, + "node_modules/@inquirer/search/node_modules/@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==", + "license": "MIT", "engines": { - "node": ">= 20" - }, - "peerDependencies": { - "@octokit/core": ">=6" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-17.0.0.tgz", - "integrity": "sha512-B5yCyIlOJFPqUUeiD0cnBJwWJO8lkJs5d8+ze9QDP6SvfiXSz1BF+91+0MeI1d2yxgOhU/O+CvtiZ9jSkHhFAw==", - "dev": true, + "node_modules/@inquirer/search/node_modules/@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "license": "MIT", "dependencies": { - "@octokit/types": "^16.0.0" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" }, "engines": { - "node": ">= 20" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/@octokit/request": { - "version": "10.0.7", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.7.tgz", - "integrity": "sha512-v93h0i1yu4idj8qFPZwjehoJx4j3Ntn+JhXsdJrG9pYaX6j/XRz2RmasMUHtNgQD39nrv/VwTWSqK0RNXR8upA==", - "dev": true, - "dependencies": { - "@octokit/endpoint": "^11.0.2", - "@octokit/request-error": "^7.0.2", - "@octokit/types": "^16.0.0", - "fast-content-type-parse": "^3.0.0", - "universal-user-agent": "^7.0.2" + "@types/node": ">=18" }, - "engines": { - "node": ">= 20" + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@octokit/request-error": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.1.0.tgz", - "integrity": "sha512-KMQIfq5sOPpkQYajXHwnhjCC0slzCNScLHs9JafXc4RAJI+9f+jNDlBNaIMTvazOPLgb4BnlhGJOTbnN0wIjPw==", - "dev": true, - "dependencies": { - "@octokit/types": "^16.0.0" - }, + "node_modules/@inquirer/search/node_modules/@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==", + "license": "MIT", "engines": { - "node": ">= 20" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@octokit/rest": { - "version": "22.0.1", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-22.0.1.tgz", - "integrity": "sha512-Jzbhzl3CEexhnivb1iQ0KJ7s5vvjMWcmRtq5aUsKmKDrRW6z3r84ngmiFKFvpZjpiU/9/S6ITPFRpn5s/3uQJw==", - "dev": true, - "dependencies": { - "@octokit/core": "^7.0.6", - "@octokit/plugin-paginate-rest": "^14.0.0", - "@octokit/plugin-request-log": "^6.0.0", - "@octokit/plugin-rest-endpoint-methods": "^17.0.0" - }, + "node_modules/@inquirer/search/node_modules/@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==", + "license": "MIT", "engines": { - "node": ">= 20" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@octokit/types": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-16.0.0.tgz", - "integrity": "sha512-sKq+9r1Mm4efXW1FCk7hFSeJo4QKreL/tTbR0rz/qx/r1Oa2VV83LTA/H/MuCOX7uCIJmQVRKBcbmWoySjAnSg==", - "dev": true, - "dependencies": { - "@octokit/openapi-types": "^27.0.0" + "node_modules/@inquirer/search/node_modules/mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", + "license": "ISC", + "engines": { + "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/@phun-ky/typeof": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@phun-ky/typeof/-/typeof-2.0.3.tgz", - "integrity": "sha512-oeQJs1aa8Ghke8JIK9yuq/+KjMiaYeDZ38jx7MhkXncXlUKjqQ3wEm2X3qCKyjo+ZZofZj+WsEEiqkTtRuE2xQ==", - "dev": true, + "node_modules/@inquirer/search/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", "engines": { - "node": "^20.9.0 || >=22.0.0", - "npm": ">=10.8.2" + "node": ">=14" }, "funding": { - "url": "https://github.com/phun-ky/typeof?sponsor=1" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@sec-ant/readable-stream": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", - "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", - "dev": true - }, - "node_modules/@simple-libs/child-process-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@simple-libs/child-process-utils/-/child-process-utils-1.0.2.tgz", - "integrity": "sha512-/4R8QKnd/8agJynkNdJmNw2MBxuFTRcNFnE5Sg/G+jkSsV8/UBgULMzhizWWW42p8L5H7flImV2ATi79Ove2Tw==", - "dev": true, + "node_modules/@inquirer/select": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-5.1.3.tgz", + "integrity": "sha512-zYyqWgGQi3NhBcNq4Isc5rB3oEdQEh1Q/EcAnOW0FK4MpnXWkvSBYgA4cYrTM4A9UB573omouZbnL9JJ74Mq3A==", + "license": "MIT", "dependencies": { - "@simple-libs/stream-utils": "^1.2.0" + "@inquirer/ansi": "^2.0.5", + "@inquirer/core": "^11.1.8", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, - "funding": { - "url": "https://ko-fi.com/dangreen" - } - }, - "node_modules/@simple-libs/stream-utils": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@simple-libs/stream-utils/-/stream-utils-1.2.0.tgz", - "integrity": "sha512-KxXvfapcixpz6rVEB6HPjOUZT22yN6v0vI0urQSk1L8MlEWPDFCZkhw2xmkyoTGYeFw7tWTZd7e3lVzRZRN/EA==", - "dev": true, - "engines": { - "node": ">=18" + "peerDependencies": { + "@types/node": ">=18" }, - "funding": { - "url": "https://ko-fi.com/dangreen" + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@sinclair/typebox": { - "version": "0.27.8", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", - "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", - "dev": true - }, - "node_modules/@sindresorhus/is": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-5.6.0.tgz", - "integrity": "sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==", - "dev": true, + "node_modules/@inquirer/select/node_modules/@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==", + "license": "MIT", "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sindresorhus/is?sponsor=1" - } - }, - "node_modules/@sinonjs/commons": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", - "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", - "dev": true, - "dependencies": { - "type-detect": "4.0.8" - } - }, - "node_modules/@sinonjs/fake-timers": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", - "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", - "dev": true, - "dependencies": { - "@sinonjs/commons": "^3.0.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@swc/cli": { - "version": "0.7.10", - "resolved": "https://registry.npmjs.org/@swc/cli/-/cli-0.7.10.tgz", - "integrity": "sha512-QQ36Q1VwGTT2YzvMeNe/j1x4DKS277DscNhWc57dIwQn//C+zAgvuSupMB/XkmYqPKQX+8hjn5/cHRJrMvWy0Q==", - "dev": true, + "node_modules/@inquirer/select/node_modules/@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "license": "MIT", "dependencies": { - "@swc/counter": "^0.1.3", - "@xhmikosr/bin-wrapper": "^13.0.5", - "commander": "^8.3.0", - "minimatch": "^9.0.3", - "piscina": "^4.3.1", - "semver": "^7.3.8", - "slash": "3.0.0", - "source-map": "^0.7.3", - "tinyglobby": "^0.2.13" - }, - "bin": { - "spack": "bin/spack.js", - "swc": "bin/swc.js", - "swcx": "bin/swcx.js" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" }, "engines": { - "node": ">= 16.14.0" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { - "@swc/core": "^1.2.66", - "chokidar": "^4.0.1" + "@types/node": ">=18" }, "peerDependenciesMeta": { - "chokidar": { + "@types/node": { "optional": true } } }, - "node_modules/@swc/cli/node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/@swc/cli/node_modules/commander": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", - "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", - "dev": true, - "engines": { - "node": ">= 12" - } - }, - "node_modules/@swc/cli/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, + "node_modules/@inquirer/select/node_modules/@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==", + "license": "MIT", "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, - "node_modules/@swc/core": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.15.11.tgz", - "integrity": "sha512-iLmLTodbYxU39HhMPaMUooPwO/zqJWvsqkrXv1ZI38rMb048p6N7qtAtTp37sw9NzSrvH6oli8EdDygo09IZ/w==", - "dev": true, - "hasInstallScript": true, - "dependencies": { - "@swc/counter": "^0.1.3", - "@swc/types": "^0.1.25" - }, + "node_modules/@inquirer/select/node_modules/@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==", + "license": "MIT", "engines": { - "node": ">=10" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/swc" - }, - "optionalDependencies": { - "@swc/core-darwin-arm64": "1.15.11", - "@swc/core-darwin-x64": "1.15.11", - "@swc/core-linux-arm-gnueabihf": "1.15.11", - "@swc/core-linux-arm64-gnu": "1.15.11", - "@swc/core-linux-arm64-musl": "1.15.11", - "@swc/core-linux-x64-gnu": "1.15.11", - "@swc/core-linux-x64-musl": "1.15.11", - "@swc/core-win32-arm64-msvc": "1.15.11", - "@swc/core-win32-ia32-msvc": "1.15.11", - "@swc/core-win32-x64-msvc": "1.15.11" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { - "@swc/helpers": ">=0.5.17" + "@types/node": ">=18" }, "peerDependenciesMeta": { - "@swc/helpers": { + "@types/node": { "optional": true } } }, - "node_modules/@swc/core-darwin-arm64": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.15.11.tgz", - "integrity": "sha512-QoIupRWVH8AF1TgxYyeA5nS18dtqMuxNwchjBIwJo3RdwLEFiJq6onOx9JAxHtuPwUkIVuU2Xbp+jCJ7Vzmgtg==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], + "node_modules/@inquirer/select/node_modules/mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", + "license": "ISC", "engines": { - "node": ">=10" + "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/@swc/core-darwin-x64": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.15.11.tgz", - "integrity": "sha512-S52Gu1QtPSfBYDiejlcfp9GlN+NjTZBRRNsz8PNwBgSE626/FUf2PcllVUix7jqkoMC+t0rS8t+2/aSWlMuQtA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], + "node_modules/@inquirer/select/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", "engines": { - "node": ">=10" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@swc/core-linux-arm-gnueabihf": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.15.11.tgz", - "integrity": "sha512-lXJs8oXo6Z4yCpimpQ8vPeCjkgoHu5NoMvmJZ8qxDyU99KVdg6KwU9H79vzrmB+HfH+dCZ7JGMqMF//f8Cfvdg==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], + "node_modules/@inquirer/type": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", + "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==", "engines": { - "node": ">=10" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/@swc/core-linux-arm64-gnu": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.15.11.tgz", - "integrity": "sha512-chRsz1K52/vj8Mfq/QOugVphlKPWlMh10V99qfH41hbGvwAU6xSPd681upO4bKiOr9+mRIZZW+EfJqY42ZzRyA==", - "cpu": [ - "arm64" - ], + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", "dev": true, - "optional": true, - "os": [ - "linux" - ], + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, "engines": { - "node": ">=10" + "node": ">=6.0.0" } }, - "node_modules/@swc/core-linux-arm64-musl": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.15.11.tgz", - "integrity": "sha512-PYftgsTaGnfDK4m6/dty9ryK1FbLk+LosDJ/RJR2nkXGc8rd+WenXIlvHjWULiBVnS1RsjHHOXmTS4nDhe0v0w==", - "cpu": [ - "arm64" - ], + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", + "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", "dev": true, - "optional": true, - "os": [ - "linux" - ], "engines": { - "node": ">=10" + "node": ">=6.0.0" } }, - "node_modules/@swc/core-linux-x64-gnu": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.15.11.tgz", - "integrity": "sha512-DKtnJKIHiZdARyTKiX7zdRjiDS1KihkQWatQiCHMv+zc2sfwb4Glrodx2VLOX4rsa92NLR0Sw8WLcPEMFY1szQ==", - "cpu": [ - "x64" - ], + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true, - "optional": true, - "os": [ - "linux" - ], "engines": { - "node": ">=10" + "node": ">=6.0.0" } }, - "node_modules/@swc/core-linux-x64-musl": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.15.11.tgz", - "integrity": "sha512-mUjjntHj4+8WBaiDe5UwRNHuEzLjIWBTSGTw0JT9+C9/Yyuh4KQqlcEQ3ro6GkHmBGXBFpGIj/o5VMyRWfVfWw==", - "cpu": [ - "x64" - ], + "node_modules/@jridgewell/source-map": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", + "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=10" + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" } }, - "node_modules/@swc/core-win32-arm64-msvc": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.15.11.tgz", - "integrity": "sha512-ZkNNG5zL49YpaFzfl6fskNOSxtcZ5uOYmWBkY4wVAvgbSAQzLRVBp+xArGWh2oXlY/WgL99zQSGTv7RI5E6nzA==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=10" - } + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "license": "MIT" }, - "node_modules/@swc/core-win32-ia32-msvc": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.15.11.tgz", - "integrity": "sha512-6XnzORkZCQzvTQ6cPrU7iaT9+i145oLwnin8JrfsLG41wl26+5cNQ2XV3zcbrnFEV6esjOceom9YO1w9mGJByw==", - "cpu": [ - "ia32" - ], + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=10" + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "node_modules/@swc/core-win32-x64-msvc": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.15.11.tgz", - "integrity": "sha512-IQ2n6af7XKLL6P1gIeZACskSxK8jWtoKpJWLZmdXTDj1MGzktUy4i+FvpdtxFmJWNavRWH1VmTr6kAubRDHeKw==", - "cpu": [ - "x64" - ], + "node_modules/@module-federation/error-codes": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@module-federation/error-codes/-/error-codes-0.22.0.tgz", + "integrity": "sha512-xF9SjnEy7vTdx+xekjPCV5cIHOGCkdn3pIxo9vU7gEZMIw0SvAEdsy6Uh17xaCpm8V0FWvR0SZoK9Ik6jGOaug==", "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=10" - } - }, - "node_modules/@swc/counter": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", - "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==", - "dev": true + "license": "MIT" }, - "node_modules/@swc/types": { - "version": "0.1.25", - "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.25.tgz", - "integrity": "sha512-iAoY/qRhNH8a/hBvm3zKj9qQ4oc2+3w1unPJa2XvTK3XjeLXtzcCingVPw/9e5mn1+0yPqxcBGp9Jf0pkfMb1g==", + "node_modules/@module-federation/runtime": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@module-federation/runtime/-/runtime-0.22.0.tgz", + "integrity": "sha512-38g5iPju2tPC3KHMPxRKmy4k4onNp6ypFPS1eKGsNLUkXgHsPMBFqAjDw96iEcjri91BrahG4XcdyKi97xZzlA==", "dev": true, + "license": "MIT", "dependencies": { - "@swc/counter": "^0.1.3" + "@module-federation/error-codes": "0.22.0", + "@module-federation/runtime-core": "0.22.0", + "@module-federation/sdk": "0.22.0" } }, - "node_modules/@szmarczak/http-timer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-5.0.1.tgz", - "integrity": "sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==", + "node_modules/@module-federation/runtime-core": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@module-federation/runtime-core/-/runtime-core-0.22.0.tgz", + "integrity": "sha512-GR1TcD6/s7zqItfhC87zAp30PqzvceoeDGYTgF3Vx2TXvsfDrhP6Qw9T4vudDQL3uJRne6t7CzdT29YyVxlgIA==", "dev": true, + "license": "MIT", "dependencies": { - "defer-to-connect": "^2.0.1" - }, - "engines": { - "node": ">=14.16" + "@module-federation/error-codes": "0.22.0", + "@module-federation/sdk": "0.22.0" } }, - "node_modules/@tokenizer/token": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", - "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==", - "dev": true - }, - "node_modules/@tootallnate/quickjs-emscripten": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", - "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", - "dev": true - }, - "node_modules/@tsconfig/node10": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", - "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==", - "dev": true - }, - "node_modules/@tsconfig/node12": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", - "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", - "dev": true - }, - "node_modules/@tsconfig/node14": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", - "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", - "dev": true - }, - "node_modules/@tsconfig/node16": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", - "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", - "dev": true - }, - "node_modules/@types/babel__core": { - "version": "7.20.3", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.3.tgz", - "integrity": "sha512-54fjTSeSHwfan8AyHWrKbfBWiEUrNTZsUwPTDSNaaP1QDQIZbeNUg3a59E9D+375MzUw/x1vx2/0F5LBz+AeYA==", + "node_modules/@module-federation/runtime-tools": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@module-federation/runtime-tools/-/runtime-tools-0.22.0.tgz", + "integrity": "sha512-4ScUJ/aUfEernb+4PbLdhM/c60VHl698Gn1gY21m9vyC1Ucn69fPCA1y2EwcCB7IItseRMoNhdcWQnzt/OPCNA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/parser": "^7.20.7", - "@babel/types": "^7.20.7", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" + "@module-federation/runtime": "0.22.0", + "@module-federation/webpack-bundler-runtime": "0.22.0" } }, - "node_modules/@types/babel__generator": { - "version": "7.6.6", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.6.tgz", - "integrity": "sha512-66BXMKb/sUWbMdBNdMvajU7i/44RkrA3z/Yt1c7R5xejt8qh84iU54yUWCtm0QwGJlDcf/gg4zd/x4mpLAlb/w==", + "node_modules/@module-federation/sdk": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@module-federation/sdk/-/sdk-0.22.0.tgz", + "integrity": "sha512-x4aFNBKn2KVQRuNVC5A7SnrSCSqyfIWmm1DvubjbO9iKFe7ith5niw8dqSFBekYBg2Fwy+eMg4sEFNVvCAdo6g==", "dev": true, - "dependencies": { - "@babel/types": "^7.0.0" - } + "license": "MIT" }, - "node_modules/@types/babel__template": { - "version": "7.4.3", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.3.tgz", - "integrity": "sha512-ciwyCLeuRfxboZ4isgdNZi/tkt06m8Tw6uGbBSBgWrnnZGNXiEyM27xc/PjXGQLqlZ6ylbgHMnm7ccF9tCkOeQ==", + "node_modules/@module-federation/webpack-bundler-runtime": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@module-federation/webpack-bundler-runtime/-/webpack-bundler-runtime-0.22.0.tgz", + "integrity": "sha512-aM8gCqXu+/4wBmJtVeMeeMN5guw3chf+2i6HajKtQv7SJfxV/f4IyNQJUeUQu9HfiAZHjqtMV5Lvq/Lvh8LdyA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" + "@module-federation/runtime": "0.22.0", + "@module-federation/sdk": "0.22.0" } }, - "node_modules/@types/babel__traverse": { - "version": "7.20.3", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.3.tgz", - "integrity": "sha512-Lsh766rGEFbaxMIDH7Qa+Yha8cMVI3qAK6CHt3OR0YfxOIn5Z54iHiyDRycHrBqeIiqGa20Kpsv1cavfBKkRSw==", + "node_modules/@napi-rs/wasm-runtime": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.7.tgz", + "integrity": "sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==", "dev": true, + "license": "MIT", + "optional": true, "dependencies": { - "@babel/types": "^7.20.7" + "@emnapi/core": "^1.5.0", + "@emnapi/runtime": "^1.5.0", + "@tybys/wasm-util": "^0.10.1" } }, - "node_modules/@types/color-name": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", - "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==" - }, - "node_modules/@types/eslint": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", - "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", - "dependencies": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "node_modules/@types/eslint-scope": { - "version": "3.7.7", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", - "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", - "dependencies": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, - "node_modules/@types/esrecurse": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", - "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", - "dev": true - }, - "node_modules/@types/estree": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", - "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==" - }, - "node_modules/@types/graceful-fs": { - "version": "4.1.8", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.8.tgz", - "integrity": "sha512-NhRH7YzWq8WiNKVavKPBmtLYZHxNY19Hh+az28O/phfp68CF45pMFud+ZzJ8ewnxnC5smIdF3dqFeiSUQ5I+pw==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/http-cache-semantics": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz", - "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==", - "dev": true - }, - "node_modules/@types/inquirer": { - "version": "9.0.9", - "resolved": "https://registry.npmjs.org/@types/inquirer/-/inquirer-9.0.9.tgz", - "integrity": "sha512-/mWx5136gts2Z2e5izdoRCo46lPp5TMs9R15GTSsgg/XnZyxDWVqoVU3R9lWnccKpqwsJLvRoxbCjoJtZB7DSw==", - "dev": true, - "dependencies": { - "@types/through": "*", - "rxjs": "^7.2.0" - } - }, - "node_modules/@types/istanbul-lib-coverage": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", - "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", - "dev": true - }, - "node_modules/@types/istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", - "dev": true, + "node_modules/@nestjs/schematics": { + "version": "12.0.0-alpha.7", + "resolved": "https://registry.npmjs.org/@nestjs/schematics/-/schematics-12.0.0-alpha.7.tgz", + "integrity": "sha512-uEZbBXKUtlPyXWQYG5AUFP7MsDBgOiCHrX8IuR/epW2OqHR1782fLwTx1h05Qnh1kl+ldI2wNUbF4Q1hk1yM6Q==", + "license": "MIT", "dependencies": { - "@types/istanbul-lib-coverage": "*" + "@angular-devkit/core": "21.2.1", + "@angular-devkit/schematics": "21.2.1", + "comment-json": "4.6.2", + "jsonc-parser": "3.3.1", + "pluralize": "8.0.0" + }, + "peerDependencies": { + "typescript": ">=5.9.3" } }, - "node_modules/@types/istanbul-reports": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", - "integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", + "node_modules/@nodeutils/defaults-deep": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@nodeutils/defaults-deep/-/defaults-deep-1.1.0.tgz", + "integrity": "sha512-gG44cwQovaOFdSR02jR9IhVRpnDP64VN6JdjYJTfNz4J4fWn7TQnmrf22nSjRqlwlxPcW8PL/L3KbJg3tdwvpg==", "dev": true, "dependencies": { - "@types/istanbul-lib-report": "*" + "lodash": "^4.15.0" } }, - "node_modules/@types/jest": { - "version": "29.5.14", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz", - "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==", + "node_modules/@octokit/auth-token": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz", + "integrity": "sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==", "dev": true, - "dependencies": { - "expect": "^29.0.0", - "pretty-format": "^29.0.0" - } - }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" - }, - "node_modules/@types/node": { - "version": "24.12.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.2.tgz", - "integrity": "sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==", - "dependencies": { - "undici-types": "~7.16.0" + "engines": { + "node": ">= 20" } }, - "node_modules/@types/node-emoji": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/@types/node-emoji/-/node-emoji-1.8.2.tgz", - "integrity": "sha512-PfF1qL/9veo8BSHLV84C9ORNr3lHSlnWJ6yU8OdNufoftajeWHTLVbGHvp2B7e7DPDS9gMs6cfeSsqo5rqSitg==", - "dev": true - }, - "node_modules/@types/parse-path": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@types/parse-path/-/parse-path-7.0.3.tgz", - "integrity": "sha512-LriObC2+KYZD3FzCrgWGv/qufdUy4eXrxcLgQMfYXgPbLIecKIsVBaQgUPmxSSLcjmYbDTQbMgr6qr6l/eb7Bg==", - "dev": true - }, - "node_modules/@types/stack-utils": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", - "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", - "dev": true - }, - "node_modules/@types/through": { - "version": "0.0.30", - "resolved": "https://registry.npmjs.org/@types/through/-/through-0.0.30.tgz", - "integrity": "sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg==", + "node_modules/@octokit/core": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.6.tgz", + "integrity": "sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==", "dev": true, "dependencies": { - "@types/node": "*" + "@octokit/auth-token": "^6.0.0", + "@octokit/graphql": "^9.0.3", + "@octokit/request": "^10.0.6", + "@octokit/request-error": "^7.0.2", + "@octokit/types": "^16.0.0", + "before-after-hook": "^4.0.0", + "universal-user-agent": "^7.0.0" + }, + "engines": { + "node": ">= 20" } }, - "node_modules/@types/webpack-node-externals": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/webpack-node-externals/-/webpack-node-externals-3.0.4.tgz", - "integrity": "sha512-8Z3/edqxE3RRlOJwKSgOFxLZRt/i1qFlv/Bi308ZUKo9jh8oGngd9r8GR0ZNKW5AEJq8QNQE3b17CwghTjQ0Uw==", + "node_modules/@octokit/endpoint": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.2.tgz", + "integrity": "sha512-4zCpzP1fWc7QlqunZ5bSEjxc6yLAlRTnDwKtgXfcI/FxxGoqedDG8V2+xJ60bV2kODqcGB+nATdtap/XYq2NZQ==", "dev": true, "dependencies": { - "@types/node": "*", - "webpack": "^5" + "@octokit/types": "^16.0.0", + "universal-user-agent": "^7.0.2" + }, + "engines": { + "node": ">= 20" } }, - "node_modules/@types/yargs": { - "version": "17.0.17", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.17.tgz", - "integrity": "sha512-72bWxFKTK6uwWJAVT+3rF6Jo6RTojiJ27FQo8Rf60AL+VZbzoVPnMFhKsUnbjR8A3BTCYQ7Mv3hnl8T0A+CX9g==", + "node_modules/@octokit/graphql": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-9.0.3.tgz", + "integrity": "sha512-grAEuupr/C1rALFnXTv6ZQhFuL1D8G5y8CN04RgrO4FIPMrtm+mcZzFG7dcBm+nq+1ppNixu+Jd78aeJOYxlGA==", "dev": true, "dependencies": { - "@types/yargs-parser": "*" + "@octokit/request": "^10.0.6", + "@octokit/types": "^16.0.0", + "universal-user-agent": "^7.0.0" + }, + "engines": { + "node": ">= 20" } }, - "node_modules/@types/yargs-parser": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", - "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", + "node_modules/@octokit/openapi-types": { + "version": "27.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-27.0.0.tgz", + "integrity": "sha512-whrdktVs1h6gtR+09+QsNk2+FO+49j6ga1c55YZudfEG+oKJVvJLQi3zkOm5JjiUXAagWK2tI2kTGKJ2Ys7MGA==", "dev": true }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.58.1.tgz", - "integrity": "sha512-eSkwoemjo76bdXl2MYqtxg51HNwUSkWfODUOQ3PaTLZGh9uIWWFZIjyjaJnex7wXDu+TRx+ATsnSxdN9YWfRTQ==", + "node_modules/@octokit/plugin-paginate-rest": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-14.0.0.tgz", + "integrity": "sha512-fNVRE7ufJiAA3XUrha2omTA39M6IXIc6GIZLvlbsm8QOQCYvpq/LkMNGyFlB1d8hTDzsAXa3OKtybdMAYsV/fw==", "dev": true, "dependencies": { - "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.58.1", - "@typescript-eslint/type-utils": "8.58.1", - "@typescript-eslint/utils": "8.58.1", - "@typescript-eslint/visitor-keys": "8.58.1", - "ignore": "^7.0.5", - "natural-compare": "^1.4.0", - "ts-api-utils": "^2.5.0" + "@octokit/types": "^16.0.0" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "node": ">= 20" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.58.1", - "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", - "typescript": ">=4.8.4 <6.1.0" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", - "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", - "dev": true, - "engines": { - "node": ">= 4" + "@octokit/core": ">=6" } }, - "node_modules/@typescript-eslint/parser": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.58.1.tgz", - "integrity": "sha512-gGkiNMPqerb2cJSVcruigx9eHBlLG14fSdPdqMoOcBfh+vvn4iCq2C8MzUB89PrxOXk0y3GZ1yIWb9aOzL93bw==", + "node_modules/@octokit/plugin-request-log": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-6.0.0.tgz", + "integrity": "sha512-UkOzeEN3W91/eBq9sPZNQ7sUBvYCqYbrrD8gTbBuGtHEuycE4/awMXcYvx6sVYo7LypPhmQwwpUe4Yyu4QZN5Q==", "dev": true, - "dependencies": { - "@typescript-eslint/scope-manager": "8.58.1", - "@typescript-eslint/types": "8.58.1", - "@typescript-eslint/typescript-estree": "8.58.1", - "@typescript-eslint/visitor-keys": "8.58.1", - "debug": "^4.4.3" - }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "node": ">= 20" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", - "typescript": ">=4.8.4 <6.1.0" + "@octokit/core": ">=6" } }, - "node_modules/@typescript-eslint/project-service": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.58.1.tgz", - "integrity": "sha512-gfQ8fk6cxhtptek+/8ZIqw8YrRW5048Gug8Ts5IYcMLCw18iUgrZAEY/D7s4hkI0FxEfGakKuPK/XUMPzPxi5g==", + "node_modules/@octokit/plugin-rest-endpoint-methods": { + "version": "17.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-17.0.0.tgz", + "integrity": "sha512-B5yCyIlOJFPqUUeiD0cnBJwWJO8lkJs5d8+ze9QDP6SvfiXSz1BF+91+0MeI1d2yxgOhU/O+CvtiZ9jSkHhFAw==", "dev": true, "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.58.1", - "@typescript-eslint/types": "^8.58.1", - "debug": "^4.4.3" + "@octokit/types": "^16.0.0" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "node": ">= 20" }, "peerDependencies": { - "typescript": ">=4.8.4 <6.1.0" + "@octokit/core": ">=6" } }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.58.1.tgz", - "integrity": "sha512-TPYUEqJK6avLcEjumWsIuTpuYODTTDAtoMdt8ZZa93uWMTX13Nb8L5leSje1NluammvU+oI3QRr5lLXPgihX3w==", + "node_modules/@octokit/request": { + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.7.tgz", + "integrity": "sha512-v93h0i1yu4idj8qFPZwjehoJx4j3Ntn+JhXsdJrG9pYaX6j/XRz2RmasMUHtNgQD39nrv/VwTWSqK0RNXR8upA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.58.1", - "@typescript-eslint/visitor-keys": "8.58.1" + "@octokit/endpoint": "^11.0.2", + "@octokit/request-error": "^7.0.2", + "@octokit/types": "^16.0.0", + "fast-content-type-parse": "^3.0.0", + "universal-user-agent": "^7.0.2" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "node": ">= 20" } }, - "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.58.1.tgz", - "integrity": "sha512-JAr2hOIct2Q+qk3G+8YFfqkqi7sC86uNryT+2i5HzMa2MPjw4qNFvtjnw1IiA1rP7QhNKVe21mSSLaSjwA1Olw==", + "node_modules/@octokit/request-error": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.1.0.tgz", + "integrity": "sha512-KMQIfq5sOPpkQYajXHwnhjCC0slzCNScLHs9JafXc4RAJI+9f+jNDlBNaIMTvazOPLgb4BnlhGJOTbnN0wIjPw==", "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "dependencies": { + "@octokit/types": "^16.0.0" }, - "peerDependencies": { - "typescript": ">=4.8.4 <6.1.0" + "engines": { + "node": ">= 20" } }, - "node_modules/@typescript-eslint/type-utils": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.58.1.tgz", - "integrity": "sha512-HUFxvTJVroT+0rXVJC7eD5zol6ID+Sn5npVPWoFuHGg9Ncq5Q4EYstqR+UOqaNRFXi5TYkpXXkLhoCHe3G0+7w==", + "node_modules/@octokit/rest": { + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-22.0.1.tgz", + "integrity": "sha512-Jzbhzl3CEexhnivb1iQ0KJ7s5vvjMWcmRtq5aUsKmKDrRW6z3r84ngmiFKFvpZjpiU/9/S6ITPFRpn5s/3uQJw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.58.1", - "@typescript-eslint/typescript-estree": "8.58.1", - "@typescript-eslint/utils": "8.58.1", - "debug": "^4.4.3", - "ts-api-utils": "^2.5.0" + "@octokit/core": "^7.0.6", + "@octokit/plugin-paginate-rest": "^14.0.0", + "@octokit/plugin-request-log": "^6.0.0", + "@octokit/plugin-rest-endpoint-methods": "^17.0.0" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", - "typescript": ">=4.8.4 <6.1.0" + "node": ">= 20" } }, - "node_modules/@typescript-eslint/types": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.58.1.tgz", - "integrity": "sha512-io/dV5Aw5ezwzfPBBWLoT+5QfVtP8O7q4Kftjn5azJ88bYyp/ZMCsyW1lpKK46EXJcaYMZ1JtYj+s/7TdzmQMw==", + "node_modules/@octokit/types": { + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-16.0.0.tgz", + "integrity": "sha512-sKq+9r1Mm4efXW1FCk7hFSeJo4QKreL/tTbR0rz/qx/r1Oa2VV83LTA/H/MuCOX7uCIJmQVRKBcbmWoySjAnSg==", "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "dependencies": { + "@octokit/openapi-types": "^27.0.0" } }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.58.1.tgz", - "integrity": "sha512-w4w7WR7GHOjqqPnvAYbazq+Y5oS68b9CzasGtnd6jIeOIeKUzYzupGTB2T4LTPSv4d+WPeccbxuneTFHYgAAWg==", + "node_modules/@oxlint/binding-android-arm-eabi": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm-eabi/-/binding-android-arm-eabi-1.58.0.tgz", + "integrity": "sha512-1T7UN3SsWWxpWyWGn1cT3ASNJOo+pI3eUkmEl7HgtowapcV8kslYpFQcYn431VuxghXakPNlbjRwhqmR37PFOg==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "@typescript-eslint/project-service": "8.58.1", - "@typescript-eslint/tsconfig-utils": "8.58.1", - "@typescript-eslint/types": "8.58.1", - "@typescript-eslint/visitor-keys": "8.58.1", - "debug": "^4.4.3", - "minimatch": "^10.2.2", - "semver": "^7.7.3", - "tinyglobby": "^0.2.15", - "ts-api-utils": "^2.5.0" - }, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "typescript": ">=4.8.4 <6.1.0" + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", - "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "node_modules/@oxlint/binding-android-arm64": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm64/-/binding-android-arm64-1.58.0.tgz", + "integrity": "sha512-GryzujxuiRv2YFF7bRy8mKcxlbuAN+euVUtGJt9KKbLT8JBUIosamVhcthLh+VEr6KE6cjeVMAQxKAzJcoN7dg==", + "cpu": [ + "arm64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "18 || 20 || >=22" + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", - "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", + "node_modules/@oxlint/binding-darwin-arm64": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-arm64/-/binding-darwin-arm64-1.58.0.tgz", + "integrity": "sha512-7/bRSJIwl4GxeZL9rPZ11anNTyUO9epZrfEJH/ZMla3+/gbQ6xZixh9nOhsZ0QwsTW7/5J2A/fHbD1udC5DQQA==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "balanced-match": "^4.0.2" - }, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": "18 || 20 || >=22" + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "10.2.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", - "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", + "node_modules/@oxlint/binding-darwin-x64": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-x64/-/binding-darwin-x64-1.58.0.tgz", + "integrity": "sha512-EqdtJSiHweS2vfILNrpyJ6HUwpEq2g7+4Zx1FPi4hu3Hu7tC3znF6ufbXO8Ub2LD4mGgznjI7kSdku9NDD1Mkg==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "brace-expansion": "^5.0.5" - }, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@typescript-eslint/utils": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.58.1.tgz", - "integrity": "sha512-Ln8R0tmWC7pTtLOzgJzYTXSCjJ9rDNHAqTaVONF4FEi2qwce8mD9iSOxOpLFFvWp/wBFlew0mjM1L1ihYWfBdQ==", + "node_modules/@oxlint/binding-freebsd-x64": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-freebsd-x64/-/binding-freebsd-x64-1.58.0.tgz", + "integrity": "sha512-VQt5TH4M42mY20F545G637RKxV/yjwVtKk2vfXuazfReSIiuvWBnv+FVSvIV5fKVTJNjt3GSJibh6JecbhGdBw==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.58.1", - "@typescript-eslint/types": "8.58.1", - "@typescript-eslint/typescript-estree": "8.58.1" - }, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", - "typescript": ">=4.8.4 <6.1.0" + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.58.1.tgz", - "integrity": "sha512-y+vH7QE8ycjoa0bWciFg7OpFcipUuem1ujhrdLtq1gByKwfbC7bPeKsiny9e0urg93DqwGcHey+bGRKCnF1nZQ==", + "node_modules/@oxlint/binding-linux-arm-gnueabihf": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.58.0.tgz", + "integrity": "sha512-fBYcj4ucwpAtjJT3oeBdFBYKvNyjRSK+cyuvBOTQjh0jvKp4yeA4S/D0IsCHus/VPaNG5L48qQkh+Vjy3HL2/Q==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.58.1", - "eslint-visitor-keys": "^5.0.0" - }, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", - "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "node_modules/@oxlint/binding-linux-arm-musleabihf": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-1.58.0.tgz", + "integrity": "sha512-0BeuFfwlUHlJ1xpEdSD1YO3vByEFGPg36uLjK1JgFaxFb4W6w17F8ET8sz5cheZ4+x5f2xzdnRrrWv83E3Yd8g==", + "cpu": [ + "arm" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@webassemblyjs/ast": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz", - "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==", - "dependencies": { - "@webassemblyjs/helper-numbers": "1.13.2", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2" - } - }, - "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz", - "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==" - }, - "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz", - "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==" - }, - "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz", - "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==" - }, - "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz", - "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==", - "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.13.2", - "@webassemblyjs/helper-api-error": "1.13.2", - "@xtuc/long": "4.2.2" + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz", - "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==" - }, - "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz", - "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-buffer": "1.14.1", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/wasm-gen": "1.14.1" + "node_modules/@oxlint/binding-linux-arm64-gnu": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.58.0.tgz", + "integrity": "sha512-TXlZgnPTlxrQzxG9ZXU7BNwx1Ilrr17P3GwZY0If2EzrinqRH3zXPc3HrRcBJgcsoZNMuNL5YivtkJYgp467UQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@webassemblyjs/ieee754": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz", - "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==", - "dependencies": { - "@xtuc/ieee754": "^1.2.0" + "node_modules/@oxlint/binding-linux-arm64-musl": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.58.0.tgz", + "integrity": "sha512-zSoYRo5dxHLcUx93Stl2hW3hSNjPt99O70eRVWt5A1zwJ+FPjeCCANCD2a9R4JbHsdcl11TIQOjyigcRVOH2mw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@webassemblyjs/leb128": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz", - "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==", - "dependencies": { - "@xtuc/long": "4.2.2" + "node_modules/@oxlint/binding-linux-ppc64-gnu": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.58.0.tgz", + "integrity": "sha512-NQ0U/lqxH2/VxBYeAIvMNUK1y0a1bJ3ZicqkF2c6wfakbEciP9jvIE4yNzCFpZaqeIeRYaV7AVGqEO1yrfVPjA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@webassemblyjs/utf8": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz", - "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==" - }, - "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz", - "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-buffer": "1.14.1", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/helper-wasm-section": "1.14.1", - "@webassemblyjs/wasm-gen": "1.14.1", - "@webassemblyjs/wasm-opt": "1.14.1", - "@webassemblyjs/wasm-parser": "1.14.1", - "@webassemblyjs/wast-printer": "1.14.1" + "node_modules/@oxlint/binding-linux-riscv64-gnu": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-1.58.0.tgz", + "integrity": "sha512-X9J+kr3gIC9FT8GuZt0ekzpNUtkBVzMVU4KiKDSlocyQuEgi3gBbXYN8UkQiV77FTusLDPsovjo95YedHr+3yg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz", - "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/ieee754": "1.13.2", - "@webassemblyjs/leb128": "1.13.2", - "@webassemblyjs/utf8": "1.13.2" + "node_modules/@oxlint/binding-linux-riscv64-musl": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-1.58.0.tgz", + "integrity": "sha512-CDze3pi1OO3Wvb/QsXjmLEY4XPKGM6kIo82ssNOgmcl1IdndF9VSGAE38YLhADWmOac7fjqhBw82LozuUVxD0Q==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz", - "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-buffer": "1.14.1", - "@webassemblyjs/wasm-gen": "1.14.1", - "@webassemblyjs/wasm-parser": "1.14.1" + "node_modules/@oxlint/binding-linux-s390x-gnu": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.58.0.tgz", + "integrity": "sha512-b/89glbxFaEAcA6Uf1FvCNecBJEgcUTsV1quzrqXM/o4R1M4u+2KCVuyGCayN2UpsRWtGGLb+Ver0tBBpxaPog==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz", - "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-api-error": "1.13.2", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/ieee754": "1.13.2", - "@webassemblyjs/leb128": "1.13.2", - "@webassemblyjs/utf8": "1.13.2" + "node_modules/@oxlint/binding-linux-x64-gnu": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.58.0.tgz", + "integrity": "sha512-0/yYpkq9VJFCEcuRlrViGj8pJUFFvNS4EkEREaN7CB1EcLXJIaVSSa5eCihwBGXtOZxhnblWgxks9juRdNQI7w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@webassemblyjs/wast-printer": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz", - "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@xtuc/long": "4.2.2" + "node_modules/@oxlint/binding-linux-x64-musl": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-musl/-/binding-linux-x64-musl-1.58.0.tgz", + "integrity": "sha512-hr6FNvmcAXiH+JxSvaJ4SJ1HofkdqEElXICW9sm3/Rd5eC3t7kzvmLyRAB3NngKO2wzXRCAm4Z/mGWfrsS4X8w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@xhmikosr/archive-type": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@xhmikosr/archive-type/-/archive-type-7.0.0.tgz", - "integrity": "sha512-sIm84ZneCOJuiy3PpWR5bxkx3HaNt1pqaN+vncUBZIlPZCq8ASZH+hBVdu5H8znR7qYC6sKwx+ie2Q7qztJTxA==", + "node_modules/@oxlint/binding-openharmony-arm64": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-openharmony-arm64/-/binding-openharmony-arm64-1.58.0.tgz", + "integrity": "sha512-R+O368VXgRql1K6Xar+FEo7NEwfo13EibPMoTv3sesYQedRXd6m30Dh/7lZMxnrQVFfeo4EOfYIP4FpcgWQNHg==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "file-type": "^19.0.0" - }, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], "engines": { - "node": "^14.14.0 || >=16.0.0" + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@xhmikosr/bin-check": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@xhmikosr/bin-check/-/bin-check-7.0.3.tgz", - "integrity": "sha512-4UnCLCs8DB+itHJVkqFp9Zjg+w/205/J2j2wNBsCEAm/BuBmtua2hhUOdAMQE47b1c7P9Xmddj0p+X1XVsfHsA==", + "node_modules/@oxlint/binding-win32-arm64-msvc": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.58.0.tgz", + "integrity": "sha512-Q0FZiAY/3c4YRj4z3h9K1PgaByrifrfbBoODSeX7gy97UtB7pySPUQfC2B/GbxWU6k7CzQrRy5gME10PltLAFQ==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "execa": "^5.1.1", - "isexe": "^2.0.0" - }, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">=18" + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@xhmikosr/bin-wrapper": { - "version": "13.0.5", - "resolved": "https://registry.npmjs.org/@xhmikosr/bin-wrapper/-/bin-wrapper-13.0.5.tgz", - "integrity": "sha512-DT2SAuHDeOw0G5bs7wZbQTbf4hd8pJ14tO0i4cWhRkIJfgRdKmMfkDilpaJ8uZyPA0NVRwasCNAmMJcWA67osw==", + "node_modules/@oxlint/binding-win32-ia32-msvc": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.58.0.tgz", + "integrity": "sha512-Y8FKBABrSPp9H0QkRLHDHOSUgM/309a3IvOVgPcVxYcX70wxJrk608CuTg7w+C6vEd724X5wJoNkBcGYfH7nNQ==", + "cpu": [ + "ia32" + ], "dev": true, - "dependencies": { - "@xhmikosr/bin-check": "^7.0.3", - "@xhmikosr/downloader": "^15.0.1", - "@xhmikosr/os-filter-obj": "^3.0.0", - "bin-version-check": "^5.1.0" - }, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">=18" + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@xhmikosr/decompress": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/@xhmikosr/decompress/-/decompress-10.0.1.tgz", - "integrity": "sha512-6uHnEEt5jv9ro0CDzqWlFgPycdE+H+kbJnwyxgZregIMLQ7unQSCNVsYG255FoqU8cP46DyggI7F7LohzEl8Ag==", + "node_modules/@oxlint/binding-win32-x64-msvc": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.58.0.tgz", + "integrity": "sha512-bCn5rbiz5My+Bj7M09sDcnqW0QJyINRVxdZ65x1/Y2tGrMwherwK/lpk+HRQCKvXa8pcaQdF5KY5j54VGZLwNg==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@xhmikosr/decompress-tar": "^8.0.1", - "@xhmikosr/decompress-tarbz2": "^8.0.1", - "@xhmikosr/decompress-targz": "^8.0.1", - "@xhmikosr/decompress-unzip": "^7.0.0", - "graceful-fs": "^4.2.11", - "make-dir": "^4.0.0", - "strip-dirs": "^3.0.0" - }, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">=18" + "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@xhmikosr/decompress-tar": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-tar/-/decompress-tar-8.0.1.tgz", - "integrity": "sha512-dpEgs0cQKJ2xpIaGSO0hrzz3Kt8TQHYdizHsgDtLorWajuHJqxzot9Hbi0huRxJuAGG2qiHSQkwyvHHQtlE+fg==", + "node_modules/@phun-ky/typeof": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@phun-ky/typeof/-/typeof-2.0.3.tgz", + "integrity": "sha512-oeQJs1aa8Ghke8JIK9yuq/+KjMiaYeDZ38jx7MhkXncXlUKjqQ3wEm2X3qCKyjo+ZZofZj+WsEEiqkTtRuE2xQ==", "dev": true, - "dependencies": { - "file-type": "^19.0.0", - "is-stream": "^2.0.1", - "tar-stream": "^3.1.7" - }, "engines": { - "node": ">=18" - } - }, - "node_modules/@xhmikosr/decompress-tarbz2": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-tarbz2/-/decompress-tarbz2-8.0.1.tgz", - "integrity": "sha512-OF+6DysDZP5YTDO8uHuGG6fMGZjc+HszFPBkVltjoje2Cf60hjBg/YP5OQndW1hfwVWOdP7f3CnJiPZHJUTtEg==", - "dev": true, - "dependencies": { - "@xhmikosr/decompress-tar": "^8.0.1", - "file-type": "^19.0.0", - "is-stream": "^2.0.1", - "seek-bzip": "^2.0.0", - "unbzip2-stream": "^1.4.3" + "node": "^20.9.0 || >=22.0.0", + "npm": ">=10.8.2" }, - "engines": { - "node": ">=18" + "funding": { + "url": "https://github.com/phun-ky/typeof?sponsor=1" } }, - "node_modules/@xhmikosr/decompress-targz": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-targz/-/decompress-targz-8.0.1.tgz", - "integrity": "sha512-mvy5AIDIZjQ2IagMI/wvauEiSNHhu/g65qpdM4EVoYHUJBAmkQWqcPJa8Xzi1aKVTmOA5xLJeDk7dqSjlHq8Mg==", + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.1.tgz", + "integrity": "sha512-d6FinEBLdIiK+1uACUttJKfgZREXrF0Qc2SmLII7W2AD8FfiZ9Wjd+rD/iRuf5s5dWrr1GgwXCvPqOuDquOowA==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "@xhmikosr/decompress-tar": "^8.0.1", - "file-type": "^19.0.0", - "is-stream": "^2.0.1" - }, - "engines": { - "node": ">=18" - } + "license": "MIT", + "optional": true, + "os": [ + "android" + ] }, - "node_modules/@xhmikosr/decompress-unzip": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-unzip/-/decompress-unzip-7.0.0.tgz", - "integrity": "sha512-GQMpzIpWTsNr6UZbISawsGI0hJ4KA/mz5nFq+cEoPs12UybAqZWKbyIaZZyLbJebKl5FkLpsGBkrplJdjvUoSQ==", + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.1.tgz", + "integrity": "sha512-YjG/EwIDvvYI1YvYbHvDz/BYHtkY4ygUIXHnTdLhG+hKIQFBiosfWiACWortsKPKU/+dUwQQCKQM3qrDe8c9BA==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "file-type": "^19.0.0", - "get-stream": "^6.0.1", - "yauzl": "^3.1.2" - }, - "engines": { - "node": ">=18" - } + "license": "MIT", + "optional": true, + "os": [ + "android" + ] }, - "node_modules/@xhmikosr/downloader": { - "version": "15.0.1", - "resolved": "https://registry.npmjs.org/@xhmikosr/downloader/-/downloader-15.0.1.tgz", - "integrity": "sha512-fiuFHf3Dt6pkX8HQrVBsK0uXtkgkVlhrZEh8b7VgoDqFf+zrgFBPyrwCqE/3nDwn3hLeNz+BsrS7q3mu13Lp1g==", + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.1.tgz", + "integrity": "sha512-mjCpF7GmkRtSJwon+Rq1N8+pI+8l7w5g9Z3vWj4T7abguC4Czwi3Yu/pFaLvA3TTeMVjnu3ctigusqWUfjZzvw==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@xhmikosr/archive-type": "^7.0.0", - "@xhmikosr/decompress": "^10.0.1", - "content-disposition": "^0.5.4", - "defaults": "^3.0.0", - "ext-name": "^5.0.0", - "file-type": "^19.0.0", - "filenamify": "^6.0.0", - "get-stream": "^6.0.1", - "got": "^13.0.0" - }, - "engines": { - "node": ">=18" - } + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] }, - "node_modules/@xhmikosr/downloader/node_modules/defaults": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-3.0.0.tgz", - "integrity": "sha512-RsqXDEAALjfRTro+IFNKpcPCt0/Cy2FqHSIlnomiJp9YGadpQnrtbRpSgN2+np21qHcIKiva4fiOQGjS9/qR/A==", + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.1.tgz", + "integrity": "sha512-haZ7hJ1JT4e9hqkoT9R/19XW2QKqjfJVv+i5AGg57S+nLk9lQnJ1F/eZloRO3o9Scy9CM3wQ9l+dkXtcBgN5Ew==", + "cpu": [ + "x64" + ], "dev": true, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] }, - "node_modules/@xhmikosr/os-filter-obj": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@xhmikosr/os-filter-obj/-/os-filter-obj-3.0.0.tgz", - "integrity": "sha512-siPY6BD5dQ2SZPl3I0OZBHL27ZqZvLEosObsZRQ1NUB8qcxegwt0T9eKtV96JMFQpIz1elhkzqOg4c/Ri6Dp9A==", + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.1.tgz", + "integrity": "sha512-czw90wpQq3ZsAVBlinZjAYTKduOjTywlG7fEeWKUA7oCmpA8xdTkxZZlwNJKWqILlq0wehoZcJYfBvOyhPTQ6w==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "arch": "^3.0.0" - }, - "engines": { - "node": "^14.14.0 || >=16.0.0" - } + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] }, - "node_modules/@xtuc/ieee754": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==" + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.1.tgz", + "integrity": "sha512-KVB2rqsxTHuBtfOeySEyzEOB7ltlB/ux38iu2rBQzkjbwRVlkhAGIEDiiYnO2kFOkJp+Z7pUXKyrRRFuFUKt+g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] }, - "node_modules/@xtuc/long": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.1.tgz", + "integrity": "sha512-L+34Qqil+v5uC0zEubW7uByo78WOCIrBvci69E7sFASRl0X7b/MB6Cqd1lky/CtcSVTydWa2WZwFuWexjS5o6g==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/acorn": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz", - "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.1.tgz", + "integrity": "sha512-n83O8rt4v34hgFzlkb1ycniJh7IR5RCIqt6mz1VRJD6pmhRi0CXdmfnLu9dIUS6buzh60IvACM842Ffb3xd6Gg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/acorn-import-phases": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz", - "integrity": "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==", - "engines": { - "node": ">=10.13.0" - }, - "peerDependencies": { - "acorn": "^8.14.0" - } + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.1.tgz", + "integrity": "sha512-Nql7sTeAzhTAja3QXeAI48+/+GjBJ+QmAH13snn0AJSNL50JsDqotyudHyMbO2RbJkskbMbFJfIJKWA6R1LCJQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.1.tgz", + "integrity": "sha512-+pUymDhd0ys9GcKZPPWlFiZ67sTWV5UU6zOJat02M1+PiuSGDziyRuI/pPue3hoUwm2uGfxdL+trT6Z9rxnlMA==", + "cpu": [ + "arm64" + ], "dev": true, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/acorn-walk": { - "version": "8.3.3", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", - "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.1.tgz", + "integrity": "sha512-VSvgvQeIcsEvY4bKDHEDWcpW4Yw7BtlKG1GUT4FzBUlEKQK0rWHYBqQt6Fm2taXS+1bXvJT6kICu5ZwqKCnvlQ==", + "cpu": [ + "loong64" + ], "dev": true, - "dependencies": { - "acorn": "^8.11.0" - }, - "engines": { - "node": ">=0.4.0" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/agent-base": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", - "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", + "node_modules/@rollup/rollup-linux-loong64-musl": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.1.tgz", + "integrity": "sha512-4LqhUomJqwe641gsPp6xLfhqWMbQV04KtPp7/dIp0nzPxAkNY1AbwL5W0MQpcalLYk07vaW9Kp1PBhdpZYYcEw==", + "cpu": [ + "loong64" + ], "dev": true, - "engines": { - "node": ">= 14" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/ajv": { - "version": "6.14.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", - "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.1.tgz", + "integrity": "sha512-tLQQ9aPvkBxOc/EUT6j3pyeMD6Hb8QF2BTBnCQWP/uu1lhc9AIrIjKnLYMEroIz/JvtGYgI9dF3AxHZNaEH0rw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/ajv-formats": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", - "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } + "node_modules/@rollup/rollup-linux-ppc64-musl": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.1.tgz", + "integrity": "sha512-RMxFhJwc9fSXP6PqmAz4cbv3kAyvD1etJFjTx4ONqFP9DkTkXsAMU4v3Vyc5BgzC+anz7nS/9tp4obsKfqkDHg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.1.tgz", + "integrity": "sha512-QKgFl+Yc1eEk6MmOBfRHYF6lTxiiiV3/z/BRrbSiW2I7AFTXoBFvdMEyglohPj//2mZS4hDOqeB0H1ACh3sBbg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.1.tgz", + "integrity": "sha512-RAjXjP/8c6ZtzatZcA1RaQr6O1TRhzC+adn8YZDnChliZHviqIjmvFwHcxi4JKPSDAt6Uhf/7vqcBzQJy0PDJg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.1.tgz", + "integrity": "sha512-wcuocpaOlaL1COBYiA89O6yfjlp3RwKDeTIA0hM7OpmhR1Bjo9j31G1uQVpDlTvwxGn2nQs65fBFL5UFd76FcQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.1.tgz", + "integrity": "sha512-77PpsFQUCOiZR9+LQEFg9GClyfkNXj1MP6wRnzYs0EeWbPcHs02AXu4xuUbM1zhwn3wqaizle3AEYg5aeoohhg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.1.tgz", + "integrity": "sha512-5cIATbk5vynAjqqmyBjlciMJl1+R/CwX9oLk/EyiFXDWd95KpHdrOJT//rnUl4cUcskrd0jCCw3wpZnhIHdD9w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-openbsd-x64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.1.tgz", + "integrity": "sha512-cl0w09WsCi17mcmWqqglez9Gk8isgeWvoUZ3WiJFYSR3zjBQc2J5/ihSjpl+VLjPqjQ/1hJRcqBfLjssREQILw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ] + }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.1.tgz", + "integrity": "sha512-4Cv23ZrONRbNtbZa37mLSueXUCtN7MXccChtKpUnQNgF010rjrjfHx3QxkS2PI7LqGT5xXyYs1a7LbzAwT0iCA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.1.tgz", + "integrity": "sha512-i1okWYkA4FJICtr7KpYzFpRTHgy5jdDbZiWfvny21iIKky5YExiDXP+zbXzm3dUcFpkEeYNHgQ5fuG236JPq0g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.1.tgz", + "integrity": "sha512-u09m3CuwLzShA0EYKMNiFgcjjzwqtUMLmuCJLeZWjjOYA3IT2Di09KaxGBTP9xVztWyIWjVdsB2E9goMjZvTQg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.1.tgz", + "integrity": "sha512-k+600V9Zl1CM7eZxJgMyTUzmrmhB/0XZnF4pRypKAlAgxmedUA+1v9R+XOFv56W4SlHEzfeMtzujLJD22Uz5zg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.1.tgz", + "integrity": "sha512-lWMnixq/QzxyhTV6NjQJ4SFo1J6PvOX8vUx5Wb4bBPsEb+8xZ89Bz6kOXpfXj9ak9AHTQVQzlgzBEc1SyM27xQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rspack/binding": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding/-/binding-1.7.11.tgz", + "integrity": "sha512-2MGdy2s2HimsDT444Bp5XnALzNRxuBNc7y0JzyuqKbHBywd4x2NeXyhWXXoxufaCFu5PBc9Qq9jyfjW2Aeh06Q==", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "@rspack/binding-darwin-arm64": "1.7.11", + "@rspack/binding-darwin-x64": "1.7.11", + "@rspack/binding-linux-arm64-gnu": "1.7.11", + "@rspack/binding-linux-arm64-musl": "1.7.11", + "@rspack/binding-linux-x64-gnu": "1.7.11", + "@rspack/binding-linux-x64-musl": "1.7.11", + "@rspack/binding-wasm32-wasi": "1.7.11", + "@rspack/binding-win32-arm64-msvc": "1.7.11", + "@rspack/binding-win32-ia32-msvc": "1.7.11", + "@rspack/binding-win32-x64-msvc": "1.7.11" + } + }, + "node_modules/@rspack/binding-darwin-arm64": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-arm64/-/binding-darwin-arm64-1.7.11.tgz", + "integrity": "sha512-oduECiZVqbO5zlVw+q7Vy65sJFth99fWPTyucwvLJJtJkPL5n17Uiql2cYP6Ijn0pkqtf1SXgK8WjiKLG5bIig==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rspack/binding-darwin-x64": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-x64/-/binding-darwin-x64-1.7.11.tgz", + "integrity": "sha512-a1+TtTE9ap6RalgFi7FGIgkJP6O4Vy6ctv+9WGJy53E4kuqHR0RygzaiVxCI/GMc/vBT9vY23hyrpWb3d1vtXA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rspack/binding-linux-arm64-gnu": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.7.11.tgz", + "integrity": "sha512-P0QrGRPbTWu6RKWfN0bDtbnEps3rXH0MWIMreZABoUrVmNQKtXR6e73J3ub6a+di5s2+K0M2LJ9Bh2/H4UsDUA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rspack/binding-linux-arm64-musl": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.7.11.tgz", + "integrity": "sha512-6ky7R43VMjWwmx3Yx7Jl7faLBBMAgMDt+/bN35RgwjiPgsIByz65EwytUVuW9rikB43BGHvA/eqlnjLrUzNBqw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rspack/binding-linux-x64-gnu": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.7.11.tgz", + "integrity": "sha512-cuOJMfCOvb2Wgsry5enXJ3iT1FGUjdPqtGUBVupQlEG4ntSYsQ2PtF4wIDVasR3wdxC5nQbipOrDiN/u6fYsdQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rspack/binding-linux-x64-musl": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-musl/-/binding-linux-x64-musl-1.7.11.tgz", + "integrity": "sha512-CoK37hva4AmHGh3VCsQXmGr40L36m1/AdnN5LEjUX6kx5rEH7/1nEBN6Ii72pejqDVvk9anEROmPDiPw10tpFg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rspack/binding-wasm32-wasi": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-wasm32-wasi/-/binding-wasm32-wasi-1.7.11.tgz", + "integrity": "sha512-OtrmnPUVJMxjNa3eDMfHyPdtlLRmmp/aIm0fQHlAOATbZvlGm12q7rhPW5BXTu1yh+1rQ1/uqvz+SzKEZXuJaQ==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "@napi-rs/wasm-runtime": "1.0.7" } }, - "node_modules/ajv-formats/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + "node_modules/@rspack/binding-win32-arm64-msvc": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.7.11.tgz", + "integrity": "sha512-lObFW6e5lCWNgTBNwT//yiEDbsxm9QG4BYUojqeXxothuzJ/L6ibXz6+gLMvbOvLGV3nKgkXmx8GvT9WDKR0mA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rspack/binding-win32-ia32-msvc": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.7.11.tgz", + "integrity": "sha512-0pYGnZd8PPqNR68zQ8skamqNAXEA1sUfXuAdYcknIIRq2wsbiwFzIc0Pov1cIfHYab37G7sSIPBiOUdOWF5Ivw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rspack/binding-win32-x64-msvc": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.7.11.tgz", + "integrity": "sha512-EeQXayoQk/uBkI3pdoXfQBXNIUrADq56L3s/DFyM2pJeUDrWmhfIw2UFIGkYPTMSCo8F2JcdcGM32FGJrSnU0Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] }, - "node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "node_modules/@rspack/core": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/core/-/core-1.7.11.tgz", + "integrity": "sha512-rsD9b+Khmot5DwCMiB3cqTQo53ioPG3M/A7BySu8+0+RS7GCxKm+Z+mtsjtG/vsu4Tn2tcqCdZtA3pgLoJB+ew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@module-federation/runtime-tools": "0.22.0", + "@rspack/binding": "1.7.11", + "@rspack/lite-tapable": "1.1.0" + }, + "engines": { + "node": ">=18.12.0" + }, "peerDependencies": { - "ajv": "^6.9.1" + "@swc/helpers": ">=0.5.1" + }, + "peerDependenciesMeta": { + "@swc/helpers": { + "optional": true + } } }, - "node_modules/ansi-colors": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", - "engines": { - "node": ">=6" - } + "node_modules/@rspack/lite-tapable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rspack/lite-tapable/-/lite-tapable-1.1.0.tgz", + "integrity": "sha512-E2B0JhYFmVAwdDiG14+DW0Di4Ze4Jg10Pc4/lILUrd5DRCaklduz2OvJ5HYQ6G+hd+WTzqQb3QnDNfK4yvAFYw==", + "dev": true, + "license": "MIT" }, - "node_modules/ansi-cyan": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ansi-cyan/-/ansi-cyan-0.1.1.tgz", - "integrity": "sha1-U4rlKK+JgvKK4w2G8vF0VtJgmHM=", + "node_modules/@sec-ant/readable-stream": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", + "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", + "dev": true + }, + "node_modules/@simple-libs/child-process-utils": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@simple-libs/child-process-utils/-/child-process-utils-1.0.2.tgz", + "integrity": "sha512-/4R8QKnd/8agJynkNdJmNw2MBxuFTRcNFnE5Sg/G+jkSsV8/UBgULMzhizWWW42p8L5H7flImV2ATi79Ove2Tw==", "dev": true, "dependencies": { - "ansi-wrap": "0.1.0" + "@simple-libs/stream-utils": "^1.2.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=18" + }, + "funding": { + "url": "https://ko-fi.com/dangreen" } }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "node_modules/@simple-libs/stream-utils": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@simple-libs/stream-utils/-/stream-utils-1.2.0.tgz", + "integrity": "sha512-KxXvfapcixpz6rVEB6HPjOUZT22yN6v0vI0urQSk1L8MlEWPDFCZkhw2xmkyoTGYeFw7tWTZd7e3lVzRZRN/EA==", "dev": true, - "dependencies": { - "type-fest": "^0.21.3" - }, "engines": { - "node": ">=8" + "node": ">=18" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://ko-fi.com/dangreen" } }, - "node_modules/ansi-escapes/node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "node_modules/@sindresorhus/is": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-5.6.0.tgz", + "integrity": "sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==", "dev": true, "engines": { - "node": ">=10" + "node": ">=14.16" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sindresorhus/is?sponsor=1" } }, - "node_modules/ansi-gray": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ansi-gray/-/ansi-gray-0.1.1.tgz", - "integrity": "sha1-KWLPVOyXksSFEKPetSRDaGHvclE=", + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@swc/cli": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@swc/cli/-/cli-0.8.0.tgz", + "integrity": "sha512-vzUkYzlqLe9dC+B0ZIH62CzfSZOCTjIsmquYyyyi45JCm1xmRfLDKeEeMrEPPyTWnEEN84e4iVd49Tgqa+2GaA==", "dev": true, + "license": "MIT", "dependencies": { - "ansi-wrap": "0.1.0" + "@swc/counter": "^0.1.3", + "@xhmikosr/bin-wrapper": "^13.0.5", + "commander": "^8.3.0", + "minimatch": "^9.0.3", + "piscina": "^4.3.1", + "semver": "^7.3.8", + "slash": "3.0.0", + "source-map": "^0.7.3", + "tinyglobby": "^0.2.13" + }, + "bin": { + "spack": "bin/spack.js", + "swc": "bin/swc.js", + "swcx": "bin/swcx.js" }, "engines": { - "node": ">=0.10.0" + "node": ">= 20.19.0" + }, + "peerDependencies": { + "@swc/core": "^1.2.66", + "chokidar": "^5.0.0" + }, + "peerDependenciesMeta": { + "chokidar": { + "optional": true + } } }, - "node_modules/ansi-red": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ansi-red/-/ansi-red-0.1.1.tgz", - "integrity": "sha1-jGOPnRCAgAo1PJwoyKgcpHBdlGw=", + "node_modules/@swc/cli/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dev": true, "dependencies": { - "ansi-wrap": "0.1.0" - }, - "engines": { - "node": ">=0.10.0" + "balanced-match": "^1.0.0" } }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "node_modules/@swc/cli/node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "dev": true, "engines": { - "node": ">=8" + "node": ">= 12" } }, - "node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "node_modules/@swc/cli/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, "engines": { - "node": ">=12" + "node": ">=16 || 14 >=14.17" }, "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/ansi-wrap": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/ansi-wrap/-/ansi-wrap-0.1.0.tgz", - "integrity": "sha1-qCJQ3bABXponyoLoLqYDu/pF768=", + "node_modules/@swc/core": { + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.15.18.tgz", + "integrity": "sha512-z87aF9GphWp//fnkRsqvtY+inMVPgYW3zSlXH1kJFvRT5H/wiAn+G32qW5l3oEk63KSF1x3Ov0BfHCObAmT8RA==", "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@swc/counter": "^0.1.3", + "@swc/types": "^0.1.25" + }, "engines": { - "node": ">=0.10.0" + "node": ">=10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/swc" + }, + "optionalDependencies": { + "@swc/core-darwin-arm64": "1.15.18", + "@swc/core-darwin-x64": "1.15.18", + "@swc/core-linux-arm-gnueabihf": "1.15.18", + "@swc/core-linux-arm64-gnu": "1.15.18", + "@swc/core-linux-arm64-musl": "1.15.18", + "@swc/core-linux-x64-gnu": "1.15.18", + "@swc/core-linux-x64-musl": "1.15.18", + "@swc/core-win32-arm64-msvc": "1.15.18", + "@swc/core-win32-ia32-msvc": "1.15.18", + "@swc/core-win32-x64-msvc": "1.15.18" + }, + "peerDependencies": { + "@swc/helpers": ">=0.5.17" + }, + "peerDependenciesMeta": { + "@swc/helpers": { + "optional": true + } } }, - "node_modules/ansis": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/ansis/-/ansis-4.2.0.tgz", - "integrity": "sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig==", + "node_modules/@swc/core-darwin-arm64": { + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.15.18.tgz", + "integrity": "sha512-+mIv7uBuSaywN3C9LNuWaX1jJJ3SKfiJuE6Lr3bd+/1Iv8oMU7oLBjYMluX1UrEPzwN2qCdY6Io0yVicABoCwQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=14" + "node": ">=10" } }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "node_modules/@swc/core-darwin-x64": { + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.15.18.tgz", + "integrity": "sha512-wZle0eaQhnzxWX5V/2kEOI6Z9vl/lTFEC6V4EWcn+5pDjhemCpQv9e/TDJ0GIoiClX8EDWRvuZwh+Z3dhL1NAg==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">= 8" + "node": ">=10" } }, - "node_modules/arch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/arch/-/arch-3.0.0.tgz", - "integrity": "sha512-AmIAC+Wtm2AU8lGfTtHsw0Y9Qtftx2YXEEtiBP10xFUtMOA+sHHx6OAddyL52mUKh1vsXQ6/w1mVDptZCyUt4Q==", + "node_modules/@swc/core-linux-arm-gnueabihf": { + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.15.18.tgz", + "integrity": "sha512-ao61HGXVqrJFHAcPtF4/DegmwEkVCo4HApnotLU8ognfmU8x589z7+tcf3hU+qBiU1WOXV5fQX6W9Nzs6hjxDw==", + "cpu": [ + "arm" + ], "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/arg": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", - "dev": true - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } }, - "node_modules/arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "node_modules/@swc/core-linux-arm64-gnu": { + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.15.18.tgz", + "integrity": "sha512-3xnctOBLIq3kj8PxOCgPrGjBLP/kNOddr6f5gukYt/1IZxsITQaU9TDyjeX6jG+FiCIHjCuWuffsyQDL5Ew1bg==", + "cpu": [ + "arm64" + ], "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/array-each": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz", - "integrity": "sha512-zHjL5SZa68hkKHBFBK6DJCTtr9sfTCPCaph/L7tMSLcTFgy+zX7E+6q5UArbtOtMBCtxdICpfTCspRse+ywyXA==", + "node_modules/@swc/core-linux-arm64-musl": { + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.15.18.tgz", + "integrity": "sha512-0a+Lix+FSSHBSBOA0XznCcHo5/1nA6oLLjcnocvzXeqtdjnPb+SvchItHI+lfeiuj1sClYPDvPMLSLyXFaiIKw==", + "cpu": [ + "arm64" + ], "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/array-ify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", - "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", - "dev": true - }, - "node_modules/array-slice": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz", - "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==", + "node_modules/@swc/core-linux-x64-gnu": { + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.15.18.tgz", + "integrity": "sha512-wG9J8vReUlpaHz4KOD/5UE1AUgirimU4UFT9oZmupUDEofxJKYb1mTA/DrMj0s78bkBiNI+7Fo2EgPuvOJfuAA==", + "cpu": [ + "x64" + ], "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=0.10.0" + "node": ">=10" } }, - "node_modules/array-timsort": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-timsort/-/array-timsort-1.0.3.tgz", - "integrity": "sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==" - }, - "node_modules/ast-types": { - "version": "0.13.4", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", - "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", + "node_modules/@swc/core-linux-x64-musl": { + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.15.18.tgz", + "integrity": "sha512-4nwbVvCphKzicwNWRmvD5iBaZj8JYsRGa4xOxJmOyHlMDpsvvJ2OR2cODlvWyGFH6BYL1MfIAK3qph3hp0Az6g==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "tslib": "^2.0.1" - }, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=4" + "node": ">=10" } }, - "node_modules/async-done": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/async-done/-/async-done-2.0.0.tgz", - "integrity": "sha512-j0s3bzYq9yKIVLKGE/tWlCpa3PfFLcrDZLTSVdnnCTGagXuXBJO4SsY9Xdk/fQBirCkH4evW5xOeJXqlAQFdsw==", + "node_modules/@swc/core-win32-arm64-msvc": { + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.15.18.tgz", + "integrity": "sha512-zk0RYO+LjiBCat2RTMHzAWaMky0cra9loH4oRrLKLLNuL+jarxKLFDA8xTZWEkCPLjUTwlRN7d28eDLLMgtUcQ==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "end-of-stream": "^1.4.4", - "once": "^1.4.0", - "stream-exhaust": "^1.0.2" - }, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">= 10.13.0" + "node": ">=10" } }, - "node_modules/async-retry": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/async-retry/-/async-retry-1.3.3.tgz", - "integrity": "sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==", + "node_modules/@swc/core-win32-ia32-msvc": { + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.15.18.tgz", + "integrity": "sha512-yVuTrZ0RccD5+PEkpcLOBAuPbYBXS6rslENvIXfvJGXSdX5QGi1ehC4BjAMl5FkKLiam4kJECUI0l7Hq7T1vwg==", + "cpu": [ + "ia32" + ], "dev": true, - "dependencies": { - "retry": "0.13.1" + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=10" } }, - "node_modules/async-settle": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/async-settle/-/async-settle-2.0.0.tgz", - "integrity": "sha512-Obu/KE8FurfQRN6ODdHN9LuXqwC+JFIM9NRyZqJJ4ZfLJmIYN9Rg0/kb+wF70VV5+fJusTMQlJ1t5rF7J/ETdg==", + "node_modules/@swc/core-win32-x64-msvc": { + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.15.18.tgz", + "integrity": "sha512-7NRmE4hmUQNCbYU3Hn9Tz57mK9Qq4c97ZS+YlamlK6qG9Fb5g/BB3gPDe0iLlJkns/sYv2VWSkm8c3NmbEGjbg==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "async-done": "^2.0.0" - }, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">= 10.13.0" + "node": ">=10" } }, - "node_modules/b4a": { - "version": "1.6.7", - "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz", - "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==", + "node_modules/@swc/counter": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", + "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==", "dev": true }, - "node_modules/babel-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", - "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", + "node_modules/@swc/types": { + "version": "0.1.25", + "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.25.tgz", + "integrity": "sha512-iAoY/qRhNH8a/hBvm3zKj9qQ4oc2+3w1unPJa2XvTK3XjeLXtzcCingVPw/9e5mn1+0yPqxcBGp9Jf0pkfMb1g==", "dev": true, "dependencies": { - "@jest/transform": "^29.7.0", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.6.3", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.8.0" + "@swc/counter": "^0.1.3" } }, - "node_modules/babel-plugin-istanbul": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", + "node_modules/@szmarczak/http-timer": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-5.0.1.tgz", + "integrity": "sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-instrument": "^5.0.4", - "test-exclude": "^6.0.0" + "defer-to-connect": "^2.0.1" }, "engines": { - "node": ">=8" + "node": ">=14.16" } }, - "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=8" - } + "node_modules/@tokenizer/token": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", + "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==", + "dev": true }, - "node_modules/babel-plugin-istanbul/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "node_modules/@tootallnate/quickjs-emscripten": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", + "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", + "dev": true + }, + "node_modules/@tybys/wasm-util": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz", + "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==", "dev": true, - "bin": { - "semver": "bin/semver.js" + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" } }, - "node_modules/babel-plugin-jest-hoist": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", - "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", + "node_modules/@types/chai": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz", + "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.1.14", - "@types/babel__traverse": "^7.0.6" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "@types/deep-eql": "*", + "assertion-error": "^2.0.1" } }, - "node_modules/babel-preset-current-node-syntax": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", - "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", - "dev": true, - "dependencies": { - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-bigint": "^7.8.3", - "@babel/plugin-syntax-class-properties": "^7.8.3", - "@babel/plugin-syntax-import-meta": "^7.8.3", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.8.3", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-top-level-await": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } + "node_modules/@types/color-name": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", + "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", + "dev": true + }, + "node_modules/@types/deep-eql": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz", + "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==", + "dev": true, + "license": "MIT" }, - "node_modules/babel-preset-jest": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", - "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", + "node_modules/@types/eslint": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", + "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", "dev": true, "dependencies": { - "babel-plugin-jest-hoist": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "@types/estree": "*", + "@types/json-schema": "*" } }, - "node_modules/bach": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/bach/-/bach-2.0.1.tgz", - "integrity": "sha512-A7bvGMGiTOxGMpNupYl9HQTf0FFDNF4VCmks4PJpFyN1AX2pdKuxuwdvUz2Hu388wcgp+OvGFNsumBfFNkR7eg==", + "node_modules/@types/eslint-scope": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", "dev": true, "dependencies": { - "async-done": "^2.0.0", - "async-settle": "^2.0.0", - "now-and-later": "^3.0.0" - }, - "engines": { - "node": ">=10.13.0" + "@types/eslint": "*", + "@types/estree": "*" } }, - "node_modules/balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" - }, - "node_modules/bare-events": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.2.2.tgz", - "integrity": "sha512-h7z00dWdG0PYOQEvChhOSWvOfkIKsdZGkWr083FgN/HyoQuebSew/cgirYqh9SCuy/hRvxc5Vy6Fw8xAmYHLkQ==", - "dev": true, - "optional": true + "node_modules/@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "dev": true }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] + "node_modules/@types/http-cache-semantics": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz", + "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==", + "dev": true }, - "node_modules/baseline-browser-mapping": { - "version": "2.9.13", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.13.tgz", - "integrity": "sha512-WhtvB2NG2wjr04+h77sg3klAIwrgOqnjS49GGudnUPGFFgg7G17y7Qecqp+2Dr5kUDxNRBca0SK7cG8JwzkWDQ==", - "bin": { - "baseline-browser-mapping": "dist/cli.js" - } + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true }, - "node_modules/basic-ftp": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", - "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", + "node_modules/@types/node": { + "version": "25.3.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.3.5.tgz", + "integrity": "sha512-oX8xrhvpiyRCQkG1MFchB09f+cXftgIXb3a7UUa4Y3wpmZPw5tyZGTLWhlESOLq1Rq6oDlc8npVU2/9xiCuXMA==", "dev": true, - "engines": { - "node": ">=10.0.0" + "license": "MIT", + "dependencies": { + "undici-types": "~7.18.0" } }, - "node_modules/before-after-hook": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz", - "integrity": "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==", + "node_modules/@types/parse-path": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@types/parse-path/-/parse-path-7.0.3.tgz", + "integrity": "sha512-LriObC2+KYZD3FzCrgWGv/qufdUy4eXrxcLgQMfYXgPbLIecKIsVBaQgUPmxSSLcjmYbDTQbMgr6qr6l/eb7Bg==", "dev": true }, - "node_modules/bin-version": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/bin-version/-/bin-version-6.0.0.tgz", - "integrity": "sha512-nk5wEsP4RiKjG+vF+uG8lFsEn4d7Y6FVDamzzftSunXOoOcOOkzcWdKVlGgFFwlUQCj63SgnUkLLGF8v7lufhw==", + "node_modules/@types/webpack-node-externals": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/webpack-node-externals/-/webpack-node-externals-3.0.4.tgz", + "integrity": "sha512-8Z3/edqxE3RRlOJwKSgOFxLZRt/i1qFlv/Bi308ZUKo9jh8oGngd9r8GR0ZNKW5AEJq8QNQE3b17CwghTjQ0Uw==", "dev": true, "dependencies": { - "execa": "^5.0.0", - "find-versions": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "@types/node": "*", + "webpack": "^5" } }, - "node_modules/bin-version-check": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/bin-version-check/-/bin-version-check-5.1.0.tgz", - "integrity": "sha512-bYsvMqJ8yNGILLz1KP9zKLzQ6YpljV3ln1gqhuLkUtyfGi3qXKGuK2p+U4NAvjVFzDFiBBtOpCOSFNuYYEGZ5g==", + "node_modules/@vitest/expect": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.0.18.tgz", + "integrity": "sha512-8sCWUyckXXYvx4opfzVY03EOiYVxyNrHS5QxX3DAIi5dpJAAkyJezHCP77VMX4HKA2LDT/Jpfo8i2r5BE3GnQQ==", "dev": true, + "license": "MIT", "dependencies": { - "bin-version": "^6.0.0", - "semver": "^7.5.3", - "semver-truncate": "^3.0.0" - }, - "engines": { - "node": ">=12" + "@standard-schema/spec": "^1.0.0", + "@types/chai": "^5.2.2", + "@vitest/spy": "4.0.18", + "@vitest/utils": "4.0.18", + "chai": "^6.2.1", + "tinyrainbow": "^3.0.3" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://opencollective.com/vitest" } }, - "node_modules/binary-extensions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", - "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "node_modules/@vitest/mocker": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.0.18.tgz", + "integrity": "sha512-HhVd0MDnzzsgevnOWCBj5Otnzobjy5wLBe4EdeeFGv8luMsGcYqDuFRMcttKWZA5vVO8RFjexVovXvAM4JoJDQ==", "dev": true, - "engines": { - "node": ">=8" + "license": "MIT", + "dependencies": { + "@vitest/spy": "4.0.18", + "estree-walker": "^3.0.3", + "magic-string": "^0.30.21" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "msw": "^2.4.9", + "vite": "^6.0.0 || ^7.0.0-0" + }, + "peerDependenciesMeta": { + "msw": { + "optional": true + }, + "vite": { + "optional": true + } } }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "node_modules/@vitest/pretty-format": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.0.18.tgz", + "integrity": "sha512-P24GK3GulZWC5tz87ux0m8OADrQIUVDPIjjj65vBXYG17ZeU3qD7r+MNZ1RNv4l8CGU2vtTRqixrOi9fYk/yKw==", + "dev": true, + "license": "MIT", "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" + "tinyrainbow": "^3.0.3" + }, + "funding": { + "url": "https://opencollective.com/vitest" } }, - "node_modules/bl/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "node_modules/@vitest/runner": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.0.18.tgz", + "integrity": "sha512-rpk9y12PGa22Jg6g5M3UVVnTS7+zycIGk9ZNGN+m6tZHKQb7jrP7/77WfZy13Y/EUDd52NDsLRQhYKtv7XfPQw==", + "dev": true, + "license": "MIT", "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" + "@vitest/utils": "4.0.18", + "pathe": "^2.0.3" }, - "engines": { - "node": ">= 6" + "funding": { + "url": "https://opencollective.com/vitest" } }, - "node_modules/bl/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/bl/node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "node_modules/@vitest/snapshot": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.0.18.tgz", + "integrity": "sha512-PCiV0rcl7jKQjbgYqjtakly6T1uwv/5BQ9SwBLekVg/EaYeQFPiXcgrC2Y7vDMA8dM1SUEAEV82kgSQIlXNMvA==", + "dev": true, + "license": "MIT", "dependencies": { - "safe-buffer": "~5.2.0" + "@vitest/pretty-format": "4.0.18", + "magic-string": "^0.30.21", + "pathe": "^2.0.3" + }, + "funding": { + "url": "https://opencollective.com/vitest" } }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "node_modules/@vitest/spy": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.0.18.tgz", + "integrity": "sha512-cbQt3PTSD7P2OARdVW3qWER5EGq7PHlvE+QfzSC0lbwO+xnt7+XH06ZzFjFRgzUX//JmpxrCu92VdwvEPlWSNw==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://opencollective.com/vitest" } }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "node_modules/@vitest/utils": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.0.18.tgz", + "integrity": "sha512-msMRKLMVLWygpK3u2Hybgi4MNjcYJvwTb0Ru09+fOyCXIgT5raYP041DRRdiJiI3k/2U6SEbAETB3YtBrUkCFA==", "dev": true, + "license": "MIT", "dependencies": { - "fill-range": "^7.1.1" + "@vitest/pretty-format": "4.0.18", + "tinyrainbow": "^3.0.3" }, - "engines": { - "node": ">=8" + "funding": { + "url": "https://opencollective.com/vitest" } }, - "node_modules/browserslist": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz", - "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], + "node_modules/@webassemblyjs/ast": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz", + "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==", + "dev": true, "dependencies": { - "baseline-browser-mapping": "^2.9.0", - "caniuse-lite": "^1.0.30001759", - "electron-to-chromium": "^1.5.263", - "node-releases": "^2.0.27", - "update-browserslist-db": "^1.2.0" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + "@webassemblyjs/helper-numbers": "1.13.2", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2" } }, - "node_modules/bs-logger": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", - "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz", + "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz", + "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz", + "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz", + "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==", "dev": true, "dependencies": { - "fast-json-stable-stringify": "2.x" - }, - "engines": { - "node": ">= 6" + "@webassemblyjs/floating-point-hex-parser": "1.13.2", + "@webassemblyjs/helper-api-error": "1.13.2", + "@xtuc/long": "4.2.2" } }, - "node_modules/bser": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz", + "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz", + "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==", "dev": true, "dependencies": { - "node-int64": "^0.4.0" + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/wasm-gen": "1.14.1" } }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], + "node_modules/@webassemblyjs/ieee754": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz", + "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==", + "dev": true, "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" + "@xtuc/ieee754": "^1.2.0" } }, - "node_modules/buffer-crc32": { - "version": "0.2.13", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "node_modules/@webassemblyjs/leb128": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz", + "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==", "dev": true, - "engines": { - "node": "*" + "dependencies": { + "@xtuc/long": "4.2.2" } }, - "node_modules/buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" + "node_modules/@webassemblyjs/utf8": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz", + "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==", + "dev": true }, - "node_modules/bundle-name": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", - "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz", + "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/helper-wasm-section": "1.14.1", + "@webassemblyjs/wasm-gen": "1.14.1", + "@webassemblyjs/wasm-opt": "1.14.1", + "@webassemblyjs/wasm-parser": "1.14.1", + "@webassemblyjs/wast-printer": "1.14.1" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz", + "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==", "dev": true, "dependencies": { - "run-applescript": "^7.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/ieee754": "1.13.2", + "@webassemblyjs/leb128": "1.13.2", + "@webassemblyjs/utf8": "1.13.2" } }, - "node_modules/c12": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/c12/-/c12-3.3.3.tgz", - "integrity": "sha512-750hTRvgBy5kcMNPdh95Qo+XUBeGo8C7nsKSmedDmaQI+E0r82DwHeM6vBewDe4rGFbnxoa4V9pw+sPh5+Iz8Q==", + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz", + "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==", "dev": true, "dependencies": { - "chokidar": "^5.0.0", - "confbox": "^0.2.2", - "defu": "^6.1.4", - "dotenv": "^17.2.3", - "exsolve": "^1.0.8", - "giget": "^2.0.0", - "jiti": "^2.6.1", - "ohash": "^2.0.11", - "pathe": "^2.0.3", - "perfect-debounce": "^2.0.0", - "pkg-types": "^2.3.0", - "rc9": "^2.1.2" - }, - "peerDependencies": { - "magicast": "*" - }, - "peerDependenciesMeta": { - "magicast": { - "optional": true - } + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/wasm-gen": "1.14.1", + "@webassemblyjs/wasm-parser": "1.14.1" } }, - "node_modules/c12/node_modules/chokidar": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", - "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz", + "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==", "dev": true, "dependencies": { - "readdirp": "^5.0.0" - }, - "engines": { - "node": ">= 20.19.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-api-error": "1.13.2", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/ieee754": "1.13.2", + "@webassemblyjs/leb128": "1.13.2", + "@webassemblyjs/utf8": "1.13.2" } }, - "node_modules/c12/node_modules/readdirp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.0.0.tgz", - "integrity": "sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==", + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz", + "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==", "dev": true, - "engines": { - "node": ">= 20.19.0" - }, - "funding": { - "type": "individual", - "url": "https://paulmillr.com/funding/" + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@xtuc/long": "4.2.2" } }, - "node_modules/cacheable-lookup": { + "node_modules/@xhmikosr/archive-type": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz", - "integrity": "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==", + "resolved": "https://registry.npmjs.org/@xhmikosr/archive-type/-/archive-type-7.0.0.tgz", + "integrity": "sha512-sIm84ZneCOJuiy3PpWR5bxkx3HaNt1pqaN+vncUBZIlPZCq8ASZH+hBVdu5H8znR7qYC6sKwx+ie2Q7qztJTxA==", "dev": true, + "dependencies": { + "file-type": "^19.0.0" + }, "engines": { - "node": ">=14.16" + "node": "^14.14.0 || >=16.0.0" } }, - "node_modules/cacheable-request": { - "version": "10.2.14", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.14.tgz", - "integrity": "sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==", + "node_modules/@xhmikosr/bin-check": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@xhmikosr/bin-check/-/bin-check-7.0.3.tgz", + "integrity": "sha512-4UnCLCs8DB+itHJVkqFp9Zjg+w/205/J2j2wNBsCEAm/BuBmtua2hhUOdAMQE47b1c7P9Xmddj0p+X1XVsfHsA==", "dev": true, "dependencies": { - "@types/http-cache-semantics": "^4.0.2", - "get-stream": "^6.0.1", - "http-cache-semantics": "^4.1.1", - "keyv": "^4.5.3", - "mimic-response": "^4.0.0", - "normalize-url": "^8.0.0", - "responselike": "^3.0.0" + "execa": "^5.1.1", + "isexe": "^2.0.0" }, "engines": { - "node": ">=14.16" - } - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "engines": { - "node": ">=6" + "node": ">=18" } }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "node_modules/@xhmikosr/bin-wrapper": { + "version": "13.0.5", + "resolved": "https://registry.npmjs.org/@xhmikosr/bin-wrapper/-/bin-wrapper-13.0.5.tgz", + "integrity": "sha512-DT2SAuHDeOw0G5bs7wZbQTbf4hd8pJ14tO0i4cWhRkIJfgRdKmMfkDilpaJ8uZyPA0NVRwasCNAmMJcWA67osw==", "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001763", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001763.tgz", - "integrity": "sha512-mh/dGtq56uN98LlNX9qdbKnzINhX0QzhiWBFEkFfsFO4QyCvL8YegrJAazCwXIeqkIob8BlZPGM3xdnY+sgmvQ==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ] - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "@xhmikosr/bin-check": "^7.0.3", + "@xhmikosr/downloader": "^15.0.1", + "@xhmikosr/os-filter-obj": "^3.0.0", + "bin-version-check": "^5.1.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "node": ">=18" } }, - "node_modules/chalk/node_modules/ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "node_modules/@xhmikosr/decompress": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@xhmikosr/decompress/-/decompress-10.0.1.tgz", + "integrity": "sha512-6uHnEEt5jv9ro0CDzqWlFgPycdE+H+kbJnwyxgZregIMLQ7unQSCNVsYG255FoqU8cP46DyggI7F7LohzEl8Ag==", + "dev": true, "dependencies": { - "@types/color-name": "^1.1.1", - "color-convert": "^2.0.1" + "@xhmikosr/decompress-tar": "^8.0.1", + "@xhmikosr/decompress-tarbz2": "^8.0.1", + "@xhmikosr/decompress-targz": "^8.0.1", + "@xhmikosr/decompress-unzip": "^7.0.0", + "graceful-fs": "^4.2.11", + "make-dir": "^4.0.0", + "strip-dirs": "^3.0.0" }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "node": ">=18" } }, - "node_modules/chalk/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "node_modules/@xhmikosr/decompress-tar": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-tar/-/decompress-tar-8.0.1.tgz", + "integrity": "sha512-dpEgs0cQKJ2xpIaGSO0hrzz3Kt8TQHYdizHsgDtLorWajuHJqxzot9Hbi0huRxJuAGG2qiHSQkwyvHHQtlE+fg==", + "dev": true, "dependencies": { - "color-name": "~1.1.4" + "file-type": "^19.0.0", + "is-stream": "^2.0.1", + "tar-stream": "^3.1.7" }, "engines": { - "node": ">=7.0.0" + "node": ">=18" } }, - "node_modules/chalk/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/char-regex": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", - "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "node_modules/@xhmikosr/decompress-tarbz2": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-tarbz2/-/decompress-tarbz2-8.0.1.tgz", + "integrity": "sha512-OF+6DysDZP5YTDO8uHuGG6fMGZjc+HszFPBkVltjoje2Cf60hjBg/YP5OQndW1hfwVWOdP7f3CnJiPZHJUTtEg==", "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/chardet": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.1.tgz", - "integrity": "sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==" - }, - "node_modules/chokidar": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", - "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", - "license": "MIT", "dependencies": { - "readdirp": "^4.0.1" + "@xhmikosr/decompress-tar": "^8.0.1", + "file-type": "^19.0.0", + "is-stream": "^2.0.1", + "seek-bzip": "^2.0.0", + "unbzip2-stream": "^1.4.3" }, "engines": { - "node": ">= 14.16.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" + "node": ">=18" } }, - "node_modules/chrome-trace-event": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", - "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", + "node_modules/@xhmikosr/decompress-targz": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-targz/-/decompress-targz-8.0.1.tgz", + "integrity": "sha512-mvy5AIDIZjQ2IagMI/wvauEiSNHhu/g65qpdM4EVoYHUJBAmkQWqcPJa8Xzi1aKVTmOA5xLJeDk7dqSjlHq8Mg==", + "dev": true, + "dependencies": { + "@xhmikosr/decompress-tar": "^8.0.1", + "file-type": "^19.0.0", + "is-stream": "^2.0.1" + }, "engines": { - "node": ">=6.0" + "node": ">=18" } }, - "node_modules/ci-info": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.2.0.tgz", - "integrity": "sha512-dVqRX7fLUm8J6FgHJ418XuIgDLZDkYcDFTeL6TA2gt5WlIZUQrrH6EZrNClwT/H0FateUsZkGIOPRrLbP+PR9A==", - "dev": true - }, - "node_modules/citty": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/citty/-/citty-0.1.6.tgz", - "integrity": "sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==", + "node_modules/@xhmikosr/decompress-unzip": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-unzip/-/decompress-unzip-7.0.0.tgz", + "integrity": "sha512-GQMpzIpWTsNr6UZbISawsGI0hJ4KA/mz5nFq+cEoPs12UybAqZWKbyIaZZyLbJebKl5FkLpsGBkrplJdjvUoSQ==", "dev": true, "dependencies": { - "consola": "^3.2.3" + "file-type": "^19.0.0", + "get-stream": "^6.0.1", + "yauzl": "^3.1.2" + }, + "engines": { + "node": ">=18" } }, - "node_modules/cjs-module-lexer": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", - "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", - "dev": true - }, - "node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "node_modules/@xhmikosr/downloader": { + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/@xhmikosr/downloader/-/downloader-15.0.1.tgz", + "integrity": "sha512-fiuFHf3Dt6pkX8HQrVBsK0uXtkgkVlhrZEh8b7VgoDqFf+zrgFBPyrwCqE/3nDwn3hLeNz+BsrS7q3mu13Lp1g==", + "dev": true, "dependencies": { - "restore-cursor": "^3.1.0" + "@xhmikosr/archive-type": "^7.0.0", + "@xhmikosr/decompress": "^10.0.1", + "content-disposition": "^0.5.4", + "defaults": "^3.0.0", + "ext-name": "^5.0.0", + "file-type": "^19.0.0", + "filenamify": "^6.0.0", + "get-stream": "^6.0.1", + "got": "^13.0.0" }, "engines": { - "node": ">=8" + "node": ">=18" } }, - "node_modules/cli-spinners": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "node_modules/@xhmikosr/downloader/node_modules/defaults": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-3.0.0.tgz", + "integrity": "sha512-RsqXDEAALjfRTro+IFNKpcPCt0/Cy2FqHSIlnomiJp9YGadpQnrtbRpSgN2+np21qHcIKiva4fiOQGjS9/qR/A==", + "dev": true, "engines": { - "node": ">=6" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/cli-table3": { - "version": "0.6.5", - "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.5.tgz", - "integrity": "sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==", + "node_modules/@xhmikosr/os-filter-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@xhmikosr/os-filter-obj/-/os-filter-obj-3.0.0.tgz", + "integrity": "sha512-siPY6BD5dQ2SZPl3I0OZBHL27ZqZvLEosObsZRQ1NUB8qcxegwt0T9eKtV96JMFQpIz1elhkzqOg4c/Ri6Dp9A==", + "dev": true, "dependencies": { - "string-width": "^4.2.0" + "arch": "^3.0.0" }, "engines": { - "node": "10.* || >= 12.*" - }, - "optionalDependencies": { - "@colors/colors": "1.5.0" + "node": "^14.14.0 || >=16.0.0" } }, - "node_modules/cli-truncate": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-5.1.0.tgz", - "integrity": "sha512-7JDGG+4Zp0CsknDCedl0DYdaeOhc46QNpXi3NLQblkZpXXgA6LncLDUUyvrjSvZeF3VRQa+KiMGomazQrC1V8g==", + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true + }, + "node_modules/acorn": { + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz", + "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", "dev": true, - "dependencies": { - "slice-ansi": "^7.1.0", - "string-width": "^8.0.0" + "bin": { + "acorn": "bin/acorn" }, "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.4.0" } }, - "node_modules/cli-truncate/node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", + "node_modules/acorn-import-phases": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz", + "integrity": "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==", "dev": true, "engines": { - "node": ">=12" + "node": ">=10.13.0" }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "peerDependencies": { + "acorn": "^8.14.0" } }, - "node_modules/cli-truncate/node_modules/string-width": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.1.0.tgz", - "integrity": "sha512-Kxl3KJGb/gxkaUMOjRsQ8IrXiGW75O4E3RPjFIINOVH8AMl2SQ/yWdTzWwF3FevIX9LcMAjJW+GRwAlAbTSXdg==", + "node_modules/agent-base": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", + "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", "dev": true, - "dependencies": { - "get-east-asian-width": "^1.3.0", - "strip-ansi": "^7.1.0" - }, "engines": { - "node": ">=20" + "node": ">= 14" + } + }, + "node_modules/ajv": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", + "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/cli-truncate/node_modules/strip-ansi": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", - "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", - "dev": true, + "node_modules/ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", "dependencies": { - "ansi-regex": "^6.0.1" + "ajv": "^8.0.0" }, - "engines": { - "node": ">=12" + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-formats/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" }, "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/cli-width": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", - "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", + "node_modules/ajv-formats/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "dev": true, "engines": { - "node": ">= 12" + "node": ">=6" } }, - "node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "node_modules/ansi-cyan": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ansi-cyan/-/ansi-cyan-0.1.1.tgz", + "integrity": "sha1-U4rlKK+JgvKK4w2G8vF0VtJgmHM=", "dev": true, "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" + "ansi-wrap": "0.1.0" + }, + "engines": { + "node": ">=0.10.0" } }, - "node_modules/cliui/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "node_modules/ansi-gray": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ansi-gray/-/ansi-gray-0.1.1.tgz", + "integrity": "sha1-KWLPVOyXksSFEKPetSRDaGHvclE=", "dev": true, "dependencies": { - "color-convert": "^2.0.1" + "ansi-wrap": "0.1.0" }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "node": ">=0.10.0" } }, - "node_modules/cliui/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "node_modules/ansi-red": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ansi-red/-/ansi-red-0.1.1.tgz", + "integrity": "sha1-jGOPnRCAgAo1PJwoyKgcpHBdlGw=", "dev": true, "dependencies": { - "color-name": "~1.1.4" + "ansi-wrap": "0.1.0" }, "engines": { - "node": ">=7.0.0" + "node": ">=0.10.0" } }, - "node_modules/cliui/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/cliui/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, "engines": { - "node": ">=10" + "node": ">=12" }, "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "node_modules/ansi-wrap": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/ansi-wrap/-/ansi-wrap-0.1.0.tgz", + "integrity": "sha1-qCJQ3bABXponyoLoLqYDu/pF768=", + "dev": true, "engines": { - "node": ">=0.8" + "node": ">=0.10.0" } }, - "node_modules/clone-buffer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz", - "integrity": "sha1-4+JbIHrE5wGvch4staFnksrD3Fg=", + "node_modules/ansis": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/ansis/-/ansis-4.2.0.tgz", + "integrity": "sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig==", + "engines": { + "node": ">=14" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, "engines": { - "node": ">= 0.10" + "node": ">= 8" } }, - "node_modules/clone-stats": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz", - "integrity": "sha1-s3gt/4u1R04Yuba/D9/ngvh3doA=", + "node_modules/arch": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/arch/-/arch-3.0.0.tgz", + "integrity": "sha512-AmIAC+Wtm2AU8lGfTtHsw0Y9Qtftx2YXEEtiBP10xFUtMOA+sHHx6OAddyL52mUKh1vsXQ6/w1mVDptZCyUt4Q==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, - "node_modules/cloneable-readable": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/cloneable-readable/-/cloneable-readable-1.1.3.tgz", - "integrity": "sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ==", + "node_modules/arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", "dev": true, - "dependencies": { - "inherits": "^2.0.1", - "process-nextick-args": "^2.0.0", - "readable-stream": "^2.3.5" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", + "node_modules/array-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz", + "integrity": "sha512-zHjL5SZa68hkKHBFBK6DJCTtr9sfTCPCaph/L7tMSLcTFgy+zX7E+6q5UArbtOtMBCtxdICpfTCspRse+ywyXA==", "dev": true, "engines": { - "iojs": ">= 1.0.0", - "node": ">= 0.12.0" + "node": ">=0.10.0" } }, - "node_modules/collect-v8-coverage": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", - "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", + "node_modules/array-ify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", + "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", "dev": true }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" - }, - "node_modules/color-support": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", + "node_modules/array-slice": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz", + "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==", "dev": true, - "bin": { - "color-support": "bin.js" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/colorette": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", - "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", - "dev": true + "node_modules/array-timsort": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-timsort/-/array-timsort-1.0.3.tgz", + "integrity": "sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==" }, - "node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "node_modules/assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "dev": true, + "license": "MIT", "engines": { - "node": ">= 6" + "node": ">=12" } }, - "node_modules/comment-json": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/comment-json/-/comment-json-4.6.2.tgz", - "integrity": "sha512-R2rze/hDX30uul4NZoIZ76ImSJLFxn/1/ZxtKC1L77y2X1k+yYu1joKbAtMA2Fg3hZrTOiw0I5mwVMo0cf250w==", + "node_modules/ast-types": { + "version": "0.13.4", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", + "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", + "dev": true, "dependencies": { - "array-timsort": "^1.0.3", - "esprima": "^4.0.1" + "tslib": "^2.0.1" }, "engines": { - "node": ">= 6" + "node": ">=4" } }, - "node_modules/compare-func": { + "node_modules/async-done": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", + "resolved": "https://registry.npmjs.org/async-done/-/async-done-2.0.0.tgz", + "integrity": "sha512-j0s3bzYq9yKIVLKGE/tWlCpa3PfFLcrDZLTSVdnnCTGagXuXBJO4SsY9Xdk/fQBirCkH4evW5xOeJXqlAQFdsw==", "dev": true, "dependencies": { - "array-ify": "^1.0.0", - "dot-prop": "^5.1.0" + "end-of-stream": "^1.4.4", + "once": "^1.4.0", + "stream-exhaust": "^1.0.2" + }, + "engines": { + "node": ">= 10.13.0" } }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "node_modules/confbox": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.2.2.tgz", - "integrity": "sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==", - "dev": true + "node_modules/async-retry": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/async-retry/-/async-retry-1.3.3.tgz", + "integrity": "sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==", + "dev": true, + "dependencies": { + "retry": "0.13.1" + } }, - "node_modules/consola": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz", - "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==", + "node_modules/async-settle": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/async-settle/-/async-settle-2.0.0.tgz", + "integrity": "sha512-Obu/KE8FurfQRN6ODdHN9LuXqwC+JFIM9NRyZqJJ4ZfLJmIYN9Rg0/kb+wF70VV5+fJusTMQlJ1t5rF7J/ETdg==", "dev": true, + "dependencies": { + "async-done": "^2.0.0" + }, "engines": { - "node": "^14.18.0 || >=16.10.0" + "node": ">= 10.13.0" } }, - "node_modules/content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "node_modules/b4a": { + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz", + "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==", + "dev": true + }, + "node_modules/bach": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/bach/-/bach-2.0.1.tgz", + "integrity": "sha512-A7bvGMGiTOxGMpNupYl9HQTf0FFDNF4VCmks4PJpFyN1AX2pdKuxuwdvUz2Hu388wcgp+OvGFNsumBfFNkR7eg==", "dev": true, "dependencies": { - "safe-buffer": "5.2.1" + "async-done": "^2.0.0", + "async-settle": "^2.0.0", + "now-and-later": "^3.0.0" }, "engines": { - "node": ">= 0.6" + "node": ">=10.13.0" } }, - "node_modules/content-disposition/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "node_modules/balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "node_modules/bare-events": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.2.2.tgz", + "integrity": "sha512-h7z00dWdG0PYOQEvChhOSWvOfkIKsdZGkWr083FgN/HyoQuebSew/cgirYqh9SCuy/hRvxc5Vy6Fw8xAmYHLkQ==", + "dev": true, + "optional": true + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", "dev": true, "funding": [ { @@ -4951,1658 +5025,1539 @@ } ] }, - "node_modules/conventional-changelog-angular": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-8.3.1.tgz", - "integrity": "sha512-6gfI3otXK5Ph5DfCOI1dblr+kN3FAm5a97hYoQkqNZxOaYa5WKfXH+AnpsmS+iUH2mgVC2Cg2Qw9m5OKcmNrIg==", + "node_modules/baseline-browser-mapping": { + "version": "2.9.13", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.13.tgz", + "integrity": "sha512-WhtvB2NG2wjr04+h77sg3klAIwrgOqnjS49GGudnUPGFFgg7G17y7Qecqp+2Dr5kUDxNRBca0SK7cG8JwzkWDQ==", "dev": true, - "dependencies": { - "compare-func": "^2.0.0" - }, - "engines": { - "node": ">=18" + "bin": { + "baseline-browser-mapping": "dist/cli.js" } }, - "node_modules/conventional-commits-parser": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-6.4.0.tgz", - "integrity": "sha512-tvRg7FIBNlyPzjdG8wWRlPHQJJHI7DylhtRGeU9Lq+JuoPh5BKpPRX83ZdLrvXuOSu5Eo/e7SzOQhU4Hd2Miuw==", + "node_modules/basic-ftp": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", + "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", "dev": true, - "dependencies": { - "@simple-libs/stream-utils": "^1.2.0", - "meow": "^13.0.0" - }, - "bin": { - "conventional-commits-parser": "dist/cli/index.js" - }, "engines": { - "node": ">=18" + "node": ">=10.0.0" } }, - "node_modules/convert-source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "node_modules/before-after-hook": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz", + "integrity": "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==", "dev": true }, - "node_modules/copy-props": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/copy-props/-/copy-props-4.0.0.tgz", - "integrity": "sha512-bVWtw1wQLzzKiYROtvNlbJgxgBYt2bMJpkCbKmXM3xyijvcjjWXEk5nyrrT3bgJ7ODb19ZohE2T0Y3FgNPyoTw==", + "node_modules/bin-version": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/bin-version/-/bin-version-6.0.0.tgz", + "integrity": "sha512-nk5wEsP4RiKjG+vF+uG8lFsEn4d7Y6FVDamzzftSunXOoOcOOkzcWdKVlGgFFwlUQCj63SgnUkLLGF8v7lufhw==", "dev": true, "dependencies": { - "each-props": "^3.0.0", - "is-plain-object": "^5.0.0" + "execa": "^5.0.0", + "find-versions": "^5.0.0" }, "engines": { - "node": ">= 10.13.0" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", - "dev": true - }, - "node_modules/cosmiconfig": { - "version": "8.3.6", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", - "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", + "node_modules/bin-version-check": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/bin-version-check/-/bin-version-check-5.1.0.tgz", + "integrity": "sha512-bYsvMqJ8yNGILLz1KP9zKLzQ6YpljV3ln1gqhuLkUtyfGi3qXKGuK2p+U4NAvjVFzDFiBBtOpCOSFNuYYEGZ5g==", + "dev": true, "dependencies": { - "import-fresh": "^3.3.0", - "js-yaml": "^4.1.0", - "parse-json": "^5.2.0", - "path-type": "^4.0.0" + "bin-version": "^6.0.0", + "semver": "^7.5.3", + "semver-truncate": "^3.0.0" }, "engines": { - "node": ">=14" + "node": ">=12" }, "funding": { - "url": "https://github.com/sponsors/d-fischer" - }, - "peerDependencies": { - "typescript": ">=4.9.5" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/cosmiconfig-typescript-loader": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-6.1.0.tgz", - "integrity": "sha512-tJ1w35ZRUiM5FeTzT7DtYWAFFv37ZLqSRkGi2oeCK1gPhvaWjkAtfXvLmvE1pRfxxp9aQo6ba/Pvg1dKj05D4g==", + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", "dev": true, - "dependencies": { - "jiti": "^2.4.1" - }, "engines": { - "node": ">=v18" + "node": ">=8" }, - "peerDependencies": { - "@types/node": "*", - "cosmiconfig": ">=9", - "typescript": ">=5" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/create-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", - "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "prompts": "^2.0.1" - }, - "bin": { - "create-jest": "bin/create-jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "node_modules/create-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", - "dev": true - }, - "node_modules/cross-spawn": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" + "fill-range": "^7.1.1" }, "engines": { - "node": ">= 8" + "node": ">=8" } }, - "node_modules/cross-spawn/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "node_modules/browserslist": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz", + "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "dependencies": { - "isexe": "^2.0.0" + "baseline-browser-mapping": "^2.9.0", + "caniuse-lite": "^1.0.30001759", + "electron-to-chromium": "^1.5.263", + "node-releases": "^2.0.27", + "update-browserslist-db": "^1.2.0" }, "bin": { - "node-which": "bin/node-which" + "browserslist": "cli.js" }, "engines": { - "node": ">= 8" + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, - "node_modules/data-uri-to-buffer": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", - "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", "dev": true, "engines": { - "node": ">= 14" + "node": "*" } }, - "node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "node_modules/buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "node_modules/bundle-name": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", + "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", "dev": true, "dependencies": { - "ms": "^2.1.3" + "run-applescript": "^7.0.0" }, "engines": { - "node": ">=6.0" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/c12": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/c12/-/c12-3.3.3.tgz", + "integrity": "sha512-750hTRvgBy5kcMNPdh95Qo+XUBeGo8C7nsKSmedDmaQI+E0r82DwHeM6vBewDe4rGFbnxoa4V9pw+sPh5+Iz8Q==", + "dev": true, + "dependencies": { + "chokidar": "^5.0.0", + "confbox": "^0.2.2", + "defu": "^6.1.4", + "dotenv": "^17.2.3", + "exsolve": "^1.0.8", + "giget": "^2.0.0", + "jiti": "^2.6.1", + "ohash": "^2.0.11", + "pathe": "^2.0.3", + "perfect-debounce": "^2.0.0", + "pkg-types": "^2.3.0", + "rc9": "^2.1.2" + }, + "peerDependencies": { + "magicast": "*" }, "peerDependenciesMeta": { - "supports-color": { + "magicast": { "optional": true } } }, - "node_modules/decompress-response": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", - "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", + "node_modules/cacheable-lookup": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz", + "integrity": "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==", + "dev": true, + "engines": { + "node": ">=14.16" + } + }, + "node_modules/cacheable-request": { + "version": "10.2.14", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.14.tgz", + "integrity": "sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==", "dev": true, "dependencies": { - "mimic-response": "^3.1.0" + "@types/http-cache-semantics": "^4.0.2", + "get-stream": "^6.0.1", + "http-cache-semantics": "^4.1.1", + "keyv": "^4.5.3", + "mimic-response": "^4.0.0", + "normalize-url": "^8.0.0", + "responselike": "^3.0.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=14.16" } }, - "node_modules/decompress-response/node_modules/mimic-response": { + "node_modules/callsites": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", - "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=6" } }, - "node_modules/dedent": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.1.tgz", - "integrity": "sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==", + "node_modules/caniuse-lite": { + "version": "1.0.30001763", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001763.tgz", + "integrity": "sha512-mh/dGtq56uN98LlNX9qdbKnzINhX0QzhiWBFEkFfsFO4QyCvL8YegrJAazCwXIeqkIob8BlZPGM3xdnY+sgmvQ==", "dev": true, - "peerDependencies": { - "babel-plugin-macros": "^3.1.0" - }, - "peerDependenciesMeta": { - "babel-plugin-macros": { - "optional": true + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } - } - }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true + ] }, - "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "node_modules/chai": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/chai/-/chai-6.2.2.tgz", + "integrity": "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=0.10.0" + "node": ">=18" } }, - "node_modules/default-browser": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.2.1.tgz", - "integrity": "sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==", + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "dependencies": { - "bundle-name": "^4.1.0", - "default-browser-id": "^5.0.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, "engines": { - "node": ">=18" + "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/default-browser-id": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.0.tgz", - "integrity": "sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==", + "node_modules/chalk/node_modules/ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", "dev": true, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/defaults": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", - "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", "dependencies": { - "clone": "^1.0.2" - } - }, - "node_modules/defer-to-connect": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", - "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/define-lazy-prop": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", - "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", - "dev": true, + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + }, "engines": { - "node": ">=12" + "node": ">=8" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/defu": { - "version": "6.1.4", - "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.4.tgz", - "integrity": "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==", - "dev": true - }, - "node_modules/degenerator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", - "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", + "node_modules/chalk/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "dependencies": { - "ast-types": "^0.13.4", - "escodegen": "^2.1.0", - "esprima": "^4.0.1" + "color-name": "~1.1.4" }, "engines": { - "node": ">= 14" + "node": ">=7.0.0" } }, - "node_modules/delete-empty": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/delete-empty/-/delete-empty-3.0.0.tgz", - "integrity": "sha512-ZUyiwo76W+DYnKsL3Kim6M/UOavPdBJgDYWOmuQhYaZvJH0AXAHbUNyEDtRbBra8wqqr686+63/0azfEk1ebUQ==", - "dev": true, - "dependencies": { - "ansi-colors": "^4.1.0", - "minimist": "^1.2.0", - "path-starts-with": "^2.0.0", - "rimraf": "^2.6.2" - }, - "bin": { - "delete-empty": "bin/cli.js" - }, + "node_modules/chalk/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/char-regex": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", "engines": { "node": ">=10" } }, - "node_modules/delete-empty/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, + "node_modules/chardet": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.1.tgz", + "integrity": "sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==", + "license": "MIT" + }, + "node_modules/chokidar": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", + "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", + "license": "MIT", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "readdirp": "^5.0.0" }, "engines": { - "node": "*" + "node": ">= 20.19.0" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://paulmillr.com/funding/" } }, - "node_modules/delete-empty/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "node_modules/chrome-trace-event": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", + "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" + "engines": { + "node": ">=6.0" } }, - "node_modules/destr": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/destr/-/destr-2.0.5.tgz", - "integrity": "sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==", - "dev": true - }, - "node_modules/detect-file": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", - "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==", + "node_modules/citty": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/citty/-/citty-0.1.6.tgz", + "integrity": "sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==", "dev": true, - "engines": { - "node": ">=0.10.0" + "dependencies": { + "consola": "^3.2.3" } }, - "node_modules/detect-newline": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", - "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", - "dev": true, + "node_modules/cli-cursor": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", + "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", + "license": "MIT", + "dependencies": { + "restore-cursor": "^5.0.0" + }, "engines": { - "node": ">=8" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true, + "node_modules/cli-spinners": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-3.4.0.tgz", + "integrity": "sha512-bXfOC4QcT1tKXGorxL3wbJm6XJPDqEnij2gQ2m7ESQuE+/z9YFIWnl/5RpTiKWbMq3EVKR4fRLJGn6DVfu0mpw==", + "license": "MIT", "engines": { - "node": ">=0.3.1" + "node": ">=18.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/diff-sequences": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", - "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", - "dev": true, + "node_modules/cli-table3": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.5.tgz", + "integrity": "sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==", + "dependencies": { + "string-width": "^4.2.0" + }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "10.* || >= 12.*" + }, + "optionalDependencies": { + "@colors/colors": "1.5.0" } }, - "node_modules/dot-prop": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "node_modules/cli-truncate": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-5.1.0.tgz", + "integrity": "sha512-7JDGG+4Zp0CsknDCedl0DYdaeOhc46QNpXi3NLQblkZpXXgA6LncLDUUyvrjSvZeF3VRQa+KiMGomazQrC1V8g==", "dev": true, "dependencies": { - "is-obj": "^2.0.0" + "slice-ansi": "^7.1.0", + "string-width": "^8.0.0" }, "engines": { - "node": ">=8" + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/dotenv": { - "version": "17.2.3", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.2.3.tgz", - "integrity": "sha512-JVUnt+DUIzu87TABbhPmNfVdBDt18BLOWjMUFJMSi/Qqg7NTYtabbvSNJGOJ7afbRuv9D/lngizHtP7QyLQ+9w==", + "node_modules/cli-truncate/node_modules/ansi-regex": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", "dev": true, "engines": { "node": ">=12" }, "funding": { - "url": "https://dotenvx.com" + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, - "node_modules/each-props": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/each-props/-/each-props-3.0.0.tgz", - "integrity": "sha512-IYf1hpuWrdzse/s/YJOrFmU15lyhSzxelNVAHTEG3DtP4QsLTWZUzcUL3HMXmKQxXpa4EIrBPpwRgj0aehdvAw==", + "node_modules/cli-truncate/node_modules/string-width": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.1.0.tgz", + "integrity": "sha512-Kxl3KJGb/gxkaUMOjRsQ8IrXiGW75O4E3RPjFIINOVH8AMl2SQ/yWdTzWwF3FevIX9LcMAjJW+GRwAlAbTSXdg==", "dev": true, "dependencies": { - "is-plain-object": "^5.0.0", - "object.defaults": "^1.1.0" + "get-east-asian-width": "^1.3.0", + "strip-ansi": "^7.1.0" }, "engines": { - "node": ">= 10.13.0" + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/electron-to-chromium": { - "version": "1.5.267", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.267.tgz", - "integrity": "sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==" - }, - "node_modules/emittery": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", - "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", + "node_modules/cli-truncate/node_modules/strip-ansi": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", + "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, "engines": { "node": ">=12" }, "funding": { - "url": "https://github.com/sindresorhus/emittery?sponsor=1" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, - "dependencies": { - "once": "^1.4.0" + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/enhanced-resolve": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.20.0.tgz", - "integrity": "sha512-/ce7+jQ1PQ6rVXwe+jKEg5hW5ciicHwIQUagZkp6IufBoY3YDgdTTY1azVs0qoRgVmvsNB+rbjLJxDAeHHtwsQ==", - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.3.0" - }, + "node_modules/cli-width": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", + "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", "engines": { - "node": ">=10.13.0" + "node": ">= 12" } }, - "node_modules/env-paths": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, - "engines": { - "node": ">=6" + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" } }, - "node_modules/environment": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", - "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", + "node_modules/cliui/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, "engines": { - "node": ">=18" + "node": ">=8" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "node_modules/cliui/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/es-module-lexer": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.0.0.tgz", - "integrity": "sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==" - }, - "node_modules/escalade": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", - "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "color-name": "~1.1.4" + }, "engines": { - "node": ">=6" + "node": ">=7.0.0" } }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "engines": { - "node": ">=0.8.0" - } + "node_modules/cliui/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true }, - "node_modules/escodegen": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", - "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" }, "engines": { - "node": ">=6.0" + "node": ">=10" }, - "optionalDependencies": { - "source-map": "~0.6.1" + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/escodegen/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "node_modules/clone-buffer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz", + "integrity": "sha1-4+JbIHrE5wGvch4staFnksrD3Fg=", "dev": true, "engines": { - "node": ">=4.0" + "node": ">= 0.10" } }, - "node_modules/escodegen/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "node_modules/clone-stats": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz", + "integrity": "sha1-s3gt/4u1R04Yuba/D9/ngvh3doA=", + "dev": true + }, + "node_modules/cloneable-readable": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/cloneable-readable/-/cloneable-readable-1.1.3.tgz", + "integrity": "sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ==", "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" + "dependencies": { + "inherits": "^2.0.1", + "process-nextick-args": "^2.0.0", + "readable-stream": "^2.3.5" } }, - "node_modules/eslint": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.2.0.tgz", - "integrity": "sha512-+L0vBFYGIpSNIt/KWTpFonPrqYvgKw1eUI5Vn7mEogrQcWtWYtNQ7dNqC+px/J0idT3BAkiWrhfS7k+Tum8TUA==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.8.0", - "@eslint-community/regexpp": "^4.12.2", - "@eslint/config-array": "^0.23.4", - "@eslint/config-helpers": "^0.5.4", - "@eslint/core": "^1.2.0", - "@eslint/plugin-kit": "^0.7.0", - "@humanfs/node": "^0.16.6", - "@humanwhocodes/module-importer": "^1.0.1", - "@humanwhocodes/retry": "^0.4.2", - "@types/estree": "^1.0.6", - "ajv": "^6.14.0", - "cross-spawn": "^7.0.6", - "debug": "^4.3.2", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^9.1.2", - "eslint-visitor-keys": "^5.0.1", - "espree": "^11.2.0", - "esquery": "^1.7.0", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^8.0.0", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "ignore": "^5.2.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "minimatch": "^10.2.4", - "natural-compare": "^1.4.0", - "optionator": "^0.9.3" - }, - "bin": { - "eslint": "bin/eslint.js" - }, - "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" - }, - "funding": { - "url": "https://eslint.org/donate" - }, - "peerDependencies": { - "jiti": "*" - }, - "peerDependenciesMeta": { - "jiti": { - "optional": true - } + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" } }, - "node_modules/eslint-config-prettier": { - "version": "10.1.8", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz", - "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/color-support": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", + "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", "dev": true, "bin": { - "eslint-config-prettier": "bin/cli.js" - }, - "funding": { - "url": "https://opencollective.com/eslint-config-prettier" - }, - "peerDependencies": { - "eslint": ">=7.0.0" + "color-support": "bin.js" } }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, + "node_modules/colorette": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", + "dev": true + }, + "node_modules/commander": { + "version": "14.0.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", + "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==", + "license": "MIT", "engines": { - "node": ">=8.0.0" + "node": ">=20" } }, - "node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node_modules/comment-json": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/comment-json/-/comment-json-4.6.2.tgz", + "integrity": "sha512-R2rze/hDX30uul4NZoIZ76ImSJLFxn/1/ZxtKC1L77y2X1k+yYu1joKbAtMA2Fg3hZrTOiw0I5mwVMo0cf250w==", + "dependencies": { + "array-timsort": "^1.0.3", + "esprima": "^4.0.1" }, - "funding": { - "url": "https://opencollective.com/eslint" + "engines": { + "node": ">= 6" } }, - "node_modules/eslint/node_modules/@humanwhocodes/retry": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", - "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "node_modules/compare-func": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", + "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", "dev": true, - "engines": { - "node": ">=18.18" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" + "dependencies": { + "array-ify": "^1.0.0", + "dot-prop": "^5.1.0" } }, - "node_modules/eslint/node_modules/balanced-match": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", - "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "node_modules/confbox": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.2.2.tgz", + "integrity": "sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==", + "dev": true + }, + "node_modules/consola": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz", + "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==", "dev": true, "engines": { - "node": "18 || 20 || >=22" + "node": "^14.18.0 || >=16.10.0" } }, - "node_modules/eslint/node_modules/brace-expansion": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", - "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", "dev": true, "dependencies": { - "balanced-match": "^4.0.2" + "safe-buffer": "5.2.1" }, "engines": { - "node": "18 || 20 || >=22" + "node": ">= 0.6" } }, - "node_modules/eslint/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "node_modules/content-disposition/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, - "node_modules/eslint/node_modules/eslint-scope": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", - "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==", + "node_modules/conventional-changelog-angular": { + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-8.3.1.tgz", + "integrity": "sha512-6gfI3otXK5Ph5DfCOI1dblr+kN3FAm5a97hYoQkqNZxOaYa5WKfXH+AnpsmS+iUH2mgVC2Cg2Qw9m5OKcmNrIg==", "dev": true, "dependencies": { - "@types/esrecurse": "^4.3.1", - "@types/estree": "^1.0.8", - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" + "compare-func": "^2.0.0" }, "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" - }, - "funding": { - "url": "https://opencollective.com/eslint" + "node": ">=18" } }, - "node_modules/eslint/node_modules/eslint-visitor-keys": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", - "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "node_modules/conventional-commits-parser": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-6.4.0.tgz", + "integrity": "sha512-tvRg7FIBNlyPzjdG8wWRlPHQJJHI7DylhtRGeU9Lq+JuoPh5BKpPRX83ZdLrvXuOSu5Eo/e7SzOQhU4Hd2Miuw==", "dev": true, - "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" + "dependencies": { + "@simple-libs/stream-utils": "^1.2.0", + "meow": "^13.0.0" + }, + "bin": { + "conventional-commits-parser": "dist/cli/index.js" }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, "engines": { - "node": ">=4.0" + "node": ">=18" } }, - "node_modules/eslint/node_modules/minimatch": { - "version": "10.2.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", - "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "node_modules/copy-props": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/copy-props/-/copy-props-4.0.0.tgz", + "integrity": "sha512-bVWtw1wQLzzKiYROtvNlbJgxgBYt2bMJpkCbKmXM3xyijvcjjWXEk5nyrrT3bgJ7ODb19ZohE2T0Y3FgNPyoTw==", "dev": true, "dependencies": { - "brace-expansion": "^5.0.5" + "each-props": "^3.0.0", + "is-plain-object": "^5.0.0" }, "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">= 10.13.0" } }, - "node_modules/espree": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", - "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==", + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "dev": true + }, + "node_modules/cosmiconfig": { + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", + "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", "dev": true, "dependencies": { - "acorn": "^8.16.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^5.0.1" + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" }, "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" + "node": ">=14" }, "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/espree/node_modules/eslint-visitor-keys": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", - "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", - "dev": true, - "engines": { - "node": "^20.19.0 || ^22.13.0 || >=24" + "url": "https://github.com/sponsors/d-fischer" }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" + "peerDependencies": { + "typescript": ">=4.9.5" }, - "engines": { - "node": ">=4" + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/esquery": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", - "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", + "node_modules/cosmiconfig-typescript-loader": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-6.1.0.tgz", + "integrity": "sha512-tJ1w35ZRUiM5FeTzT7DtYWAFFv37ZLqSRkGi2oeCK1gPhvaWjkAtfXvLmvE1pRfxxp9aQo6ba/Pvg1dKj05D4g==", "dev": true, "dependencies": { - "estraverse": "^5.1.0" + "jiti": "^2.4.1" }, "engines": { - "node": ">=0.10" + "node": ">=v18" + }, + "peerDependencies": { + "@types/node": "*", + "cosmiconfig": ">=9", + "typescript": ">=5" } }, - "node_modules/esquery/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dependencies": { - "estraverse": "^5.2.0" + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" }, "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse/node_modules/estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "engines": { - "node": ">=4.0" + "node": ">= 8" } }, - "node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "node_modules/cross-spawn/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, "engines": { - "node": ">=4.0" + "node": ">= 8" } }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "node_modules/data-uri-to-buffer": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", + "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">= 14" } }, - "node_modules/eta": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/eta/-/eta-4.5.0.tgz", - "integrity": "sha512-qifAYjuW5AM1eEEIsFnOwB+TGqu6ynU3OKj9WbUTOtUBHFPZqL03XUW34kbp3zm19Ald+U8dEyRXaVsUck+Y1g==", + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "dev": true, - "engines": { - "node": ">=20" + "dependencies": { + "ms": "^2.1.3" }, - "funding": { - "url": "https://github.com/bgub/eta?sponsor=1" - } - }, - "node_modules/eventemitter3": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", - "dev": true - }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "engines": { - "node": ">=0.8.x" + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "node_modules/decompress-response": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", + "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", "dev": true, "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" + "mimic-response": "^3.1.0" }, "engines": { "node": ">=10" }, "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", + "node_modules/decompress-response/node_modules/mimic-response": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", + "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", "dev": true, "engines": { - "node": ">= 0.8.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/expand-tilde": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", - "integrity": "sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==", + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", "dev": true, - "dependencies": { - "homedir-polyfill": "^1.0.1" - }, "engines": { "node": ">=0.10.0" } }, - "node_modules/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", + "node_modules/default-browser": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.2.1.tgz", + "integrity": "sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==", "dev": true, "dependencies": { - "@jest/expect-utils": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0" + "bundle-name": "^4.1.0", + "default-browser-id": "^5.0.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/exsolve": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/exsolve/-/exsolve-1.0.8.tgz", - "integrity": "sha512-LmDxfWXwcTArk8fUEnOfSZpHOJ6zOMUJKOtFLFqJLoKJetuQG874Uc7/Kki7zFLzYybmZhp1M7+98pfMqeX8yA==", - "dev": true - }, - "node_modules/ext-list": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/ext-list/-/ext-list-2.2.2.tgz", - "integrity": "sha512-u+SQgsubraE6zItfVA0tBuCBhfU9ogSRnsvygI7wht9TS510oLkBRXBsqopeUG/GBOIQyKZO9wjTqIu/sf5zFA==", - "dev": true, - "dependencies": { - "mime-db": "^1.28.0" + "node": ">=18" }, - "engines": { - "node": ">=0.10.0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/ext-name": { + "node_modules/default-browser-id": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ext-name/-/ext-name-5.0.0.tgz", - "integrity": "sha512-yblEwXAbGv1VQDmow7s38W77hzAgJAO50ztBLMcUyUBfxv1HC+LGwtiEN+Co6LtlqT/5uwVOxsD4TNIilWhwdQ==", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.0.tgz", + "integrity": "sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==", "dev": true, - "dependencies": { - "ext-list": "^2.0.0", - "sort-keys-length": "^1.0.0" - }, "engines": { - "node": ">=4" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", - "dev": true - }, - "node_modules/fancy-log": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.3.tgz", - "integrity": "sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==", + "node_modules/defer-to-connect": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", + "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==", "dev": true, - "dependencies": { - "ansi-gray": "^0.1.1", - "color-support": "^1.1.3", - "parse-node-version": "^1.0.0", - "time-stamp": "^1.0.0" - }, "engines": { - "node": ">= 0.10" + "node": ">=10" } }, - "node_modules/fast-content-type-parse": { + "node_modules/define-lazy-prop": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-3.0.0.tgz", - "integrity": "sha512-ZvLdcY8P+N8mGQJahJV5G4U88CSvT1rP8ApL6uETe88MBXrBHAkZlSEySdUlyztF7ccb+Znos3TFqaepHxdhBg==", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ] - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "node_modules/fast-fifo": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", - "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", - "dev": true - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "node_modules/defu": { + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.4.tgz", + "integrity": "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==", "dev": true }, - "node_modules/fast-uri": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", - "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==" - }, - "node_modules/fastest-levenshtein": { - "version": "1.0.16", - "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", - "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", + "node_modules/degenerator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", + "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", "dev": true, + "dependencies": { + "ast-types": "^0.13.4", + "escodegen": "^2.1.0", + "esprima": "^4.0.1" + }, "engines": { - "node": ">= 4.9.1" + "node": ">= 14" } }, - "node_modules/fastq": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", - "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "node_modules/delete-empty": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/delete-empty/-/delete-empty-3.0.0.tgz", + "integrity": "sha512-ZUyiwo76W+DYnKsL3Kim6M/UOavPdBJgDYWOmuQhYaZvJH0AXAHbUNyEDtRbBra8wqqr686+63/0azfEk1ebUQ==", "dev": true, "dependencies": { - "reusify": "^1.0.4" + "ansi-colors": "^4.1.0", + "minimist": "^1.2.0", + "path-starts-with": "^2.0.0", + "rimraf": "^2.6.2" + }, + "bin": { + "delete-empty": "bin/cli.js" + }, + "engines": { + "node": ">=10" } }, - "node_modules/fb-watchman": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", - "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", + "node_modules/delete-empty/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, "dependencies": { - "bser": "2.1.1" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/file-entry-cache": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", - "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "node_modules/delete-empty/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", "dev": true, "dependencies": { - "flat-cache": "^4.0.0" + "glob": "^7.1.3" }, - "engines": { - "node": ">=16.0.0" + "bin": { + "rimraf": "bin.js" } }, - "node_modules/file-type": { - "version": "19.6.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-19.6.0.tgz", - "integrity": "sha512-VZR5I7k5wkD0HgFnMsq5hOsSc710MJMu5Nc5QYsbe38NN5iPV/XTObYLc/cpttRTf6lX538+5uO1ZQRhYibiZQ==", + "node_modules/destr": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/destr/-/destr-2.0.5.tgz", + "integrity": "sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==", + "dev": true + }, + "node_modules/detect-file": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", + "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==", "dev": true, - "dependencies": { - "get-stream": "^9.0.1", - "strtok3": "^9.0.1", - "token-types": "^6.0.0", - "uint8array-extras": "^1.3.0" - }, "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sindresorhus/file-type?sponsor=1" + "node": ">=0.10.0" } }, - "node_modules/file-type/node_modules/get-stream": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", - "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", + "node_modules/dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", "dev": true, "dependencies": { - "@sec-ant/readable-stream": "^0.4.1", - "is-stream": "^4.0.1" + "is-obj": "^2.0.0" }, "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, - "node_modules/file-type/node_modules/is-stream": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", - "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", + "node_modules/dotenv": { + "version": "17.2.3", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.2.3.tgz", + "integrity": "sha512-JVUnt+DUIzu87TABbhPmNfVdBDt18BLOWjMUFJMSi/Qqg7NTYtabbvSNJGOJ7afbRuv9D/lngizHtP7QyLQ+9w==", "dev": true, "engines": { - "node": ">=18" + "node": ">=12" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://dotenvx.com" } }, - "node_modules/filename-reserved-regex": { + "node_modules/each-props": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-3.0.0.tgz", - "integrity": "sha512-hn4cQfU6GOT/7cFHXBqeBg2TbrMBgdD0kcjLhvSQYYwm3s4B6cjvBfb7nBALJLAXqmU5xajSa7X2NnUud/VCdw==", + "resolved": "https://registry.npmjs.org/each-props/-/each-props-3.0.0.tgz", + "integrity": "sha512-IYf1hpuWrdzse/s/YJOrFmU15lyhSzxelNVAHTEG3DtP4QsLTWZUzcUL3HMXmKQxXpa4EIrBPpwRgj0aehdvAw==", "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "dependencies": { + "is-plain-object": "^5.0.0", + "object.defaults": "^1.1.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">= 10.13.0" } }, - "node_modules/filenamify": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/filenamify/-/filenamify-6.0.0.tgz", - "integrity": "sha512-vqIlNogKeyD3yzrm0yhRMQg8hOVwYcYRfjEoODd49iCprMn4HL85gK3HcykQE53EPIpX3HcAbGA5ELQv216dAQ==", + "node_modules/electron-to-chromium": { + "version": "1.5.267", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.267.tgz", + "integrity": "sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/emojilib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/emojilib/-/emojilib-2.4.0.tgz", + "integrity": "sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==", + "license": "MIT" + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", "dev": true, "dependencies": { - "filename-reserved-regex": "^3.0.0" - }, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "once": "^1.4.0" } }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "node_modules/enhanced-resolve": { + "version": "5.20.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.20.0.tgz", + "integrity": "sha512-/ce7+jQ1PQ6rVXwe+jKEg5hW5ciicHwIQUagZkp6IufBoY3YDgdTTY1azVs0qoRgVmvsNB+rbjLJxDAeHHtwsQ==", "dev": true, "dependencies": { - "to-regex-range": "^5.0.1" + "graceful-fs": "^4.2.4", + "tapable": "^2.3.0" }, "engines": { - "node": ">=8" + "node": ">=10.13.0" } }, - "node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", "dev": true, - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=6" } }, - "node_modules/find-versions": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-5.1.0.tgz", - "integrity": "sha512-+iwzCJ7C5v5KgcBuueqVoNiHVoQpwiUK5XFLjf0affFTep+Wcw93tPvmb8tqujDNmzhBDPddnWV/qgWSXgq+Hg==", + "node_modules/environment": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", + "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", "dev": true, - "dependencies": { - "semver-regex": "^4.0.5" - }, "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/findup-sync": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-5.0.0.tgz", - "integrity": "sha512-MzwXju70AuyflbgeOhzvQWAvvQdo1XL0A9bVvlXsYcFEBM87WR4OakL4OfZq+QRmr+duJubio+UtNQCPsVESzQ==", + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "dev": true, "dependencies": { - "detect-file": "^1.0.0", - "is-glob": "^4.0.3", - "micromatch": "^4.0.4", - "resolve-dir": "^1.0.1" - }, - "engines": { - "node": ">= 10.13.0" + "is-arrayish": "^0.2.1" } }, - "node_modules/fined": { + "node_modules/es-module-lexer": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fined/-/fined-2.0.0.tgz", - "integrity": "sha512-OFRzsL6ZMHz5s0JrsEr+TpdGNCtrVtnuG3x1yzGNiQHT0yaDnXAj8V/lWcpJVrnoDpcwXcASxAZYbuXda2Y82A==", - "dev": true, - "dependencies": { - "expand-tilde": "^2.0.2", - "is-plain-object": "^5.0.0", - "object.defaults": "^1.1.0", - "object.pick": "^1.3.0", - "parse-filepath": "^1.0.2" - }, - "engines": { - "node": ">= 10.13.0" - } + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.0.0.tgz", + "integrity": "sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==", + "dev": true }, - "node_modules/flagged-respawn": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-2.0.0.tgz", - "integrity": "sha512-Gq/a6YCi8zexmGHMuJwahTGzXlAZAOsbCVKduWXC6TlLCjjFRlExMJc4GC2NYPYZ0r/brw9P7CpRgQmlPVeOoA==", + "node_modules/esbuild": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz", + "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==", "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, "engines": { - "node": ">= 10.13.0" + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.12", + "@esbuild/android-arm": "0.25.12", + "@esbuild/android-arm64": "0.25.12", + "@esbuild/android-x64": "0.25.12", + "@esbuild/darwin-arm64": "0.25.12", + "@esbuild/darwin-x64": "0.25.12", + "@esbuild/freebsd-arm64": "0.25.12", + "@esbuild/freebsd-x64": "0.25.12", + "@esbuild/linux-arm": "0.25.12", + "@esbuild/linux-arm64": "0.25.12", + "@esbuild/linux-ia32": "0.25.12", + "@esbuild/linux-loong64": "0.25.12", + "@esbuild/linux-mips64el": "0.25.12", + "@esbuild/linux-ppc64": "0.25.12", + "@esbuild/linux-riscv64": "0.25.12", + "@esbuild/linux-s390x": "0.25.12", + "@esbuild/linux-x64": "0.25.12", + "@esbuild/netbsd-arm64": "0.25.12", + "@esbuild/netbsd-x64": "0.25.12", + "@esbuild/openbsd-arm64": "0.25.12", + "@esbuild/openbsd-x64": "0.25.12", + "@esbuild/openharmony-arm64": "0.25.12", + "@esbuild/sunos-x64": "0.25.12", + "@esbuild/win32-arm64": "0.25.12", + "@esbuild/win32-ia32": "0.25.12", + "@esbuild/win32-x64": "0.25.12" } }, - "node_modules/flat-cache": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", - "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true, - "dependencies": { - "flatted": "^3.2.9", - "keyv": "^4.5.4" - }, "engines": { - "node": ">=16" + "node": ">=6" } }, - "node_modules/flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", - "dev": true - }, - "node_modules/for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=0.8.0" } }, - "node_modules/for-own": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz", - "integrity": "sha512-0OABksIGrxKK8K4kynWkQ7y1zounQxP+CWnyclVwj81KW3vlLlGUx57DKGcP/LH216GzqnstnPocF16Nxs0Ycg==", + "node_modules/escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", "dev": true, "dependencies": { - "for-in": "^1.0.1" + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" }, "engines": { - "node": ">=0.10.0" + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" } }, - "node_modules/fork-ts-checker-webpack-plugin": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-9.1.0.tgz", - "integrity": "sha512-mpafl89VFPJmhnJ1ssH+8wmM2b50n+Rew5x42NeI2U78aRWgtkEtGmctp7iT16UjquJTjorEmIfESj3DxdW84Q==", - "dependencies": { - "@babel/code-frame": "^7.16.7", - "chalk": "^4.1.2", - "chokidar": "^4.0.1", - "cosmiconfig": "^8.2.0", - "deepmerge": "^4.2.2", - "fs-extra": "^10.0.0", - "memfs": "^3.4.1", - "minimatch": "^3.0.4", - "node-abort-controller": "^3.0.1", - "schema-utils": "^3.1.1", - "semver": "^7.3.5", - "tapable": "^2.2.1" - }, + "node_modules/escodegen/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, "engines": { - "node": ">=14.21.3" - }, - "peerDependencies": { - "typescript": ">3.6.0", - "webpack": "^5.11.0" + "node": ">=4.0" } }, - "node_modules/form-data-encoder": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz", - "integrity": "sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==", + "node_modules/escodegen/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, + "optional": true, "engines": { - "node": ">= 14.17" + "node": ">=0.10.0" } }, - "node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" }, "engines": { - "node": ">=12" + "node": ">=8.0.0" } }, - "node_modules/fs-extra/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, "engines": { - "node": ">= 10.0.0" + "node": ">=4" } }, - "node_modules/fs-mkdirp-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fs-mkdirp-stream/-/fs-mkdirp-stream-2.0.1.tgz", - "integrity": "sha512-UTOY+59K6IA94tec8Wjqm0FSh5OVudGNB0NL/P6fB3HiE3bYOY3VYBGijsnOHNkQSwC1FKkU77pmq7xp9CskLw==", + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, "dependencies": { - "graceful-fs": "^4.2.8", - "streamx": "^2.12.0" + "estraverse": "^5.2.0" }, "engines": { - "node": ">=10.13.0" + "node": ">=4.0" } }, - "node_modules/fs-monkey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.3.tgz", - "integrity": "sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q==" - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + "node": ">=4.0" } }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=4.0" } }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", "dev": true, - "engines": { - "node": ">=6.9.0" + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" } }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true, "engines": { - "node": "6.* || 8.* || >= 10.*" + "node": ">=0.10.0" } }, - "node_modules/get-east-asian-width": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.4.0.tgz", - "integrity": "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==", + "node_modules/eta": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/eta/-/eta-4.5.0.tgz", + "integrity": "sha512-qifAYjuW5AM1eEEIsFnOwB+TGqu6ynU3OKj9WbUTOtUBHFPZqL03XUW34kbp3zm19Ald+U8dEyRXaVsUck+Y1g==", "dev": true, "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/bgub/eta?sponsor=1" } }, - "node_modules/get-package-type": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "node_modules/eventemitter3": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", + "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", + "dev": true + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "dev": true, "engines": { - "node": ">=8.0.0" + "node": ">=0.8.x" } }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, "engines": { "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/get-uri": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.4.tgz", - "integrity": "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ==", + "node_modules/expand-tilde": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", + "integrity": "sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==", "dev": true, "dependencies": { - "basic-ftp": "^5.0.2", - "data-uri-to-buffer": "^6.0.2", - "debug": "^4.3.4" + "homedir-polyfill": "^1.0.1" }, "engines": { - "node": ">= 14" - } - }, - "node_modules/giget": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/giget/-/giget-2.0.0.tgz", - "integrity": "sha512-L5bGsVkxJbJgdnwyuheIunkGatUF/zssUoxxjACCseZYAVbaqdh9Tsmmlkl8vYan09H7sbvKt4pS8GqKLBrEzA==", - "dev": true, - "dependencies": { - "citty": "^0.1.6", - "consola": "^3.4.0", - "defu": "^6.1.4", - "node-fetch-native": "^1.6.6", - "nypm": "^0.6.0", - "pathe": "^2.0.3" - }, - "bin": { - "giget": "dist/cli.mjs" + "node": ">=0.10.0" } }, - "node_modules/git-raw-commits": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-5.0.1.tgz", - "integrity": "sha512-Y+csSm2GD/PCSh6Isd/WiMjNAydu0VBiG9J7EdQsNA5P9uXvLayqjmTsNlK5Gs9IhblFZqOU0yid5Il5JPoLiQ==", + "node_modules/expect-type": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.3.0.tgz", + "integrity": "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==", "dev": true, - "dependencies": { - "@conventional-changelog/git-client": "^2.6.0", - "meow": "^13.0.0" - }, - "bin": { - "git-raw-commits": "src/cli.js" - }, + "license": "Apache-2.0", "engines": { - "node": ">=18" + "node": ">=12.0.0" } }, - "node_modules/git-up": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/git-up/-/git-up-8.1.1.tgz", - "integrity": "sha512-FDenSF3fVqBYSaJoYy1KSc2wosx0gCvKP+c+PRBht7cAaiCeQlBtfBDX9vgnNOHmdePlSFITVcn4pFfcgNvx3g==", - "dev": true, - "dependencies": { - "is-ssh": "^1.4.0", - "parse-url": "^9.2.0" - } + "node_modules/exsolve": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/exsolve/-/exsolve-1.0.8.tgz", + "integrity": "sha512-LmDxfWXwcTArk8fUEnOfSZpHOJ6zOMUJKOtFLFqJLoKJetuQG874Uc7/Kki7zFLzYybmZhp1M7+98pfMqeX8yA==", + "dev": true }, - "node_modules/git-url-parse": { - "version": "16.1.0", - "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-16.1.0.tgz", - "integrity": "sha512-cPLz4HuK86wClEW7iDdeAKcCVlWXmrLpb2L+G9goW0Z1dtpNS6BXXSOckUTlJT/LDQViE1QZKstNORzHsLnobw==", + "node_modules/ext-list": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/ext-list/-/ext-list-2.2.2.tgz", + "integrity": "sha512-u+SQgsubraE6zItfVA0tBuCBhfU9ogSRnsvygI7wht9TS510oLkBRXBsqopeUG/GBOIQyKZO9wjTqIu/sf5zFA==", "dev": true, "dependencies": { - "git-up": "^8.1.0" - } - }, - "node_modules/glob": { - "version": "13.0.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", - "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", - "dependencies": { - "minimatch": "^10.2.2", - "minipass": "^7.1.3", - "path-scurry": "^2.0.2" + "mime-db": "^1.28.0" }, "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=0.10.0" } }, - "node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "node_modules/ext-name": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ext-name/-/ext-name-5.0.0.tgz", + "integrity": "sha512-yblEwXAbGv1VQDmow7s38W77hzAgJAO50ztBLMcUyUBfxv1HC+LGwtiEN+Co6LtlqT/5uwVOxsD4TNIilWhwdQ==", "dev": true, "dependencies": { - "is-glob": "^4.0.3" + "ext-list": "^2.0.0", + "sort-keys-length": "^1.0.0" }, "engines": { - "node": ">=10.13.0" + "node": ">=4" } }, - "node_modules/glob-stream": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-8.0.3.tgz", - "integrity": "sha512-fqZVj22LtFJkHODT+M4N1RJQ3TjnnQhfE9GwZI8qXscYarnhpip70poMldRnP8ipQ/w0B621kOhfc53/J9bd/A==", + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "node_modules/fancy-log": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.3.tgz", + "integrity": "sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==", "dev": true, "dependencies": { - "@gulpjs/to-absolute-glob": "^4.0.0", - "anymatch": "^3.1.3", - "fastq": "^1.13.0", - "glob-parent": "^6.0.2", - "is-glob": "^4.0.3", - "is-negated-glob": "^1.0.0", - "normalize-path": "^3.0.0", - "streamx": "^2.12.5" + "ansi-gray": "^0.1.1", + "color-support": "^1.1.3", + "parse-node-version": "^1.0.0", + "time-stamp": "^1.0.0" }, "engines": { - "node": ">=10.13.0" + "node": ">= 0.10" } }, - "node_modules/glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" + "node_modules/fast-content-type-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-3.0.0.tgz", + "integrity": "sha512-ZvLdcY8P+N8mGQJahJV5G4U88CSvT1rP8ApL6uETe88MBXrBHAkZlSEySdUlyztF7ccb+Znos3TFqaepHxdhBg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ] + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/fast-fifo": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", + "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", + "dev": true + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-string-truncated-width": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz", + "integrity": "sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==", + "license": "MIT" }, - "node_modules/glob-watcher": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-6.0.0.tgz", - "integrity": "sha512-wGM28Ehmcnk2NqRORXFOTOR064L4imSw3EeOqU5bIwUf62eXGwg89WivH6VMahL8zlQHeodzvHpXplrqzrz3Nw==", - "dev": true, + "node_modules/fast-string-width": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-string-width/-/fast-string-width-3.0.2.tgz", + "integrity": "sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==", + "license": "MIT", "dependencies": { - "async-done": "^2.0.0", - "chokidar": "^3.5.3" - }, - "engines": { - "node": ">= 10.13.0" + "fast-string-truncated-width": "^3.0.2" } }, - "node_modules/glob-watcher/node_modules/chokidar": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", - "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", - "dev": true, + "node_modules/fast-uri": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", + "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==" + }, + "node_modules/fast-wrap-ansi": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/fast-wrap-ansi/-/fast-wrap-ansi-0.2.0.tgz", + "integrity": "sha512-rLV8JHxTyhVmFYhBJuMujcrHqOT2cnO5Zxj37qROj23CP39GXubJRBUFF0z8KFK77Uc0SukZUf7JZhsVEQ6n8w==", + "license": "MIT", "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" + "fast-string-width": "^3.0.2" } }, - "node_modules/glob-watcher/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "node_modules/fastest-levenshtein": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", + "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, "engines": { - "node": ">= 6" + "node": ">= 4.9.1" } }, - "node_modules/glob-watcher/node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "node_modules/fastq": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", "dev": true, "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" + "reusify": "^1.0.4" } }, - "node_modules/glob/node_modules/balanced-match": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", - "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", "engines": { - "node": "18 || 20 || >=22" - } - }, - "node_modules/glob/node_modules/brace-expansion": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz", - "integrity": "sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==", - "dependencies": { - "balanced-match": "^4.0.2" + "node": ">=12.0.0" }, - "engines": { - "node": "18 || 20 || >=22" + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } } }, - "node_modules/glob/node_modules/minimatch": { - "version": "10.2.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz", - "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==", + "node_modules/file-type": { + "version": "19.6.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-19.6.0.tgz", + "integrity": "sha512-VZR5I7k5wkD0HgFnMsq5hOsSc710MJMu5Nc5QYsbe38NN5iPV/XTObYLc/cpttRTf6lX538+5uO1ZQRhYibiZQ==", + "dev": true, "dependencies": { - "brace-expansion": "^5.0.2" + "get-stream": "^9.0.1", + "strtok3": "^9.0.1", + "token-types": "^6.0.0", + "uint8array-extras": "^1.3.0" }, "engines": { - "node": "18 || 20 || >=22" + "node": ">=18" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://github.com/sindresorhus/file-type?sponsor=1" } }, - "node_modules/global-directory": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz", - "integrity": "sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==", + "node_modules/file-type/node_modules/get-stream": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", + "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", "dev": true, "dependencies": { - "ini": "4.1.1" + "@sec-ant/readable-stream": "^0.4.1", + "is-stream": "^4.0.1" }, "engines": { "node": ">=18" @@ -6611,1592 +6566,1578 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/global-directory/node_modules/ini": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz", - "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==", + "node_modules/file-type/node_modules/is-stream": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", + "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", "dev": true, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/global-modules": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", - "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", - "dev": true, - "dependencies": { - "global-prefix": "^1.0.1", - "is-windows": "^1.0.1", - "resolve-dir": "^1.0.0" + "node": ">=18" }, - "engines": { - "node": ">=0.10.0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/global-prefix": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", - "integrity": "sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==", + "node_modules/filename-reserved-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-3.0.0.tgz", + "integrity": "sha512-hn4cQfU6GOT/7cFHXBqeBg2TbrMBgdD0kcjLhvSQYYwm3s4B6cjvBfb7nBALJLAXqmU5xajSa7X2NnUud/VCdw==", "dev": true, - "dependencies": { - "expand-tilde": "^2.0.2", - "homedir-polyfill": "^1.0.1", - "ini": "^1.3.4", - "is-windows": "^1.0.1", - "which": "^1.2.14" - }, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/glogg": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/glogg/-/glogg-2.2.0.tgz", - "integrity": "sha512-eWv1ds/zAlz+M1ioHsyKJomfY7jbDDPpwSkv14KQj89bycx1nvK5/2Cj/T9g7kzJcX5Bc7Yv22FjfBZS/jl94A==", - "dev": true, - "dependencies": { - "sparkles": "^2.1.0" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, - "engines": { - "node": ">= 10.13.0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/got": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/got/-/got-13.0.0.tgz", - "integrity": "sha512-XfBk1CxOOScDcMr9O1yKkNaQyy865NbYs+F7dr4H0LZMVgCj2Le59k6PqbNHoL5ToeaEQUYh6c6yMfVcc6SJxA==", + "node_modules/filenamify": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/filenamify/-/filenamify-6.0.0.tgz", + "integrity": "sha512-vqIlNogKeyD3yzrm0yhRMQg8hOVwYcYRfjEoODd49iCprMn4HL85gK3HcykQE53EPIpX3HcAbGA5ELQv216dAQ==", "dev": true, "dependencies": { - "@sindresorhus/is": "^5.2.0", - "@szmarczak/http-timer": "^5.0.1", - "cacheable-lookup": "^7.0.0", - "cacheable-request": "^10.2.8", - "decompress-response": "^6.0.0", - "form-data-encoder": "^2.1.2", - "get-stream": "^6.0.1", - "http2-wrapper": "^2.1.10", - "lowercase-keys": "^3.0.0", - "p-cancelable": "^3.0.0", - "responselike": "^3.0.0" + "filename-reserved-regex": "^3.0.0" }, "engines": { "node": ">=16" }, "funding": { - "url": "https://github.com/sindresorhus/got?sponsor=1" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" - }, - "node_modules/gulp": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/gulp/-/gulp-5.0.1.tgz", - "integrity": "sha512-PErok3DZSA5WGMd6XXV3IRNO0mlB+wW3OzhFJLEec1jSERg2j1bxJ6e5Fh6N6fn3FH2T9AP4UYNb/pYlADB9sA==", - "dev": true, - "dependencies": { - "glob-watcher": "^6.0.0", - "gulp-cli": "^3.1.0", - "undertaker": "^2.0.0", - "vinyl-fs": "^4.0.2" - }, - "bin": { - "gulp": "bin/gulp.js" - }, - "engines": { - "node": ">=10.13.0" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/gulp-clean": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.4.0.tgz", - "integrity": "sha512-DARK8rNMo4lHOFLGTiHEJdf19GuoBDHqGUaypz+fOhrvOs3iFO7ntdYtdpNxv+AzSJBx/JfypF0yEj9ks1IStQ==", + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "dependencies": { - "fancy-log": "^1.3.2", - "plugin-error": "^0.1.2", - "rimraf": "^2.6.2", - "through2": "^2.0.3", - "vinyl": "^2.1.0" + "to-regex-range": "^5.0.1" }, "engines": { - "node": ">=0.9" + "node": ">=8" } }, - "node_modules/gulp-clean/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "node_modules/find-versions": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-5.1.0.tgz", + "integrity": "sha512-+iwzCJ7C5v5KgcBuueqVoNiHVoQpwiUK5XFLjf0affFTep+Wcw93tPvmb8tqujDNmzhBDPddnWV/qgWSXgq+Hg==", + "dev": true, + "dependencies": { + "semver-regex": "^4.0.5" }, "engines": { - "node": "*" + "node": ">=12" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/gulp-clean/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "node_modules/findup-sync": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-5.0.0.tgz", + "integrity": "sha512-MzwXju70AuyflbgeOhzvQWAvvQdo1XL0A9bVvlXsYcFEBM87WR4OakL4OfZq+QRmr+duJubio+UtNQCPsVESzQ==", "dev": true, "dependencies": { - "glob": "^7.1.3" + "detect-file": "^1.0.0", + "is-glob": "^4.0.3", + "micromatch": "^4.0.4", + "resolve-dir": "^1.0.1" }, - "bin": { - "rimraf": "bin.js" + "engines": { + "node": ">= 10.13.0" } }, - "node_modules/gulp-cli": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/gulp-cli/-/gulp-cli-3.1.0.tgz", - "integrity": "sha512-zZzwlmEsTfXcxRKiCHsdyjZZnFvXWM4v1NqBJSYbuApkvVKivjcmOS2qruAJ+PkEHLFavcDKH40DPc1+t12a9Q==", + "node_modules/fined": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fined/-/fined-2.0.0.tgz", + "integrity": "sha512-OFRzsL6ZMHz5s0JrsEr+TpdGNCtrVtnuG3x1yzGNiQHT0yaDnXAj8V/lWcpJVrnoDpcwXcASxAZYbuXda2Y82A==", "dev": true, "dependencies": { - "@gulpjs/messages": "^1.1.0", - "chalk": "^4.1.2", - "copy-props": "^4.0.0", - "gulplog": "^2.2.0", - "interpret": "^3.1.1", - "liftoff": "^5.0.1", - "mute-stdout": "^2.0.0", - "replace-homedir": "^2.0.0", - "semver-greatest-satisfied-range": "^2.0.0", - "string-width": "^4.2.3", - "v8flags": "^4.0.0", - "yargs": "^16.2.0" - }, - "bin": { - "gulp": "bin/gulp.js" + "expand-tilde": "^2.0.2", + "is-plain-object": "^5.0.0", + "object.defaults": "^1.1.0", + "object.pick": "^1.3.0", + "parse-filepath": "^1.0.2" }, "engines": { - "node": ">=10.13.0" + "node": ">= 10.13.0" } }, - "node_modules/gulp-cli/node_modules/interpret": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", - "integrity": "sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==", + "node_modules/flagged-respawn": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-2.0.0.tgz", + "integrity": "sha512-Gq/a6YCi8zexmGHMuJwahTGzXlAZAOsbCVKduWXC6TlLCjjFRlExMJc4GC2NYPYZ0r/brw9P7CpRgQmlPVeOoA==", "dev": true, "engines": { - "node": ">=10.13.0" + "node": ">= 10.13.0" } }, - "node_modules/gulp-cli/node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "node_modules/for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/for-own": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz", + "integrity": "sha512-0OABksIGrxKK8K4kynWkQ7y1zounQxP+CWnyclVwj81KW3vlLlGUx57DKGcP/LH216GzqnstnPocF16Nxs0Ycg==", "dev": true, "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" + "for-in": "^1.0.1" }, "engines": { - "node": ">=10" + "node": ">=0.10.0" } }, - "node_modules/gulplog": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/gulplog/-/gulplog-2.2.0.tgz", - "integrity": "sha512-V2FaKiOhpR3DRXZuYdRLn/qiY0yI5XmqbTKrYbdemJ+xOh2d2MOweI/XFgMzd/9+1twdvMwllnZbWZNJ+BOm4A==", + "node_modules/fork-ts-checker-webpack-plugin": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-9.1.0.tgz", + "integrity": "sha512-mpafl89VFPJmhnJ1ssH+8wmM2b50n+Rew5x42NeI2U78aRWgtkEtGmctp7iT16UjquJTjorEmIfESj3DxdW84Q==", "dev": true, "dependencies": { - "glogg": "^2.2.0" + "@babel/code-frame": "^7.16.7", + "chalk": "^4.1.2", + "chokidar": "^4.0.1", + "cosmiconfig": "^8.2.0", + "deepmerge": "^4.2.2", + "fs-extra": "^10.0.0", + "memfs": "^3.4.1", + "minimatch": "^3.0.4", + "node-abort-controller": "^3.0.1", + "schema-utils": "^3.1.1", + "semver": "^7.3.5", + "tapable": "^2.2.1" }, "engines": { - "node": ">= 10.13.0" + "node": ">=14.21.3" + }, + "peerDependencies": { + "typescript": ">3.6.0", + "webpack": "^5.11.0" } }, - "node_modules/handlebars": { - "version": "4.7.9", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz", - "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==", + "node_modules/fork-ts-checker-webpack-plugin/node_modules/chokidar": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", "dev": true, + "license": "MIT", "dependencies": { - "minimist": "^1.2.5", - "neo-async": "^2.6.2", - "source-map": "^0.6.1", - "wordwrap": "^1.0.0" + "readdirp": "^4.0.1" }, - "bin": { - "handlebars": "bin/handlebars" + "engines": { + "node": ">= 14.16.0" }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/fork-ts-checker-webpack-plugin/node_modules/readdirp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=0.4.7" + "node": ">= 14.18.0" }, - "optionalDependencies": { - "uglify-js": "^3.1.4" + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" } }, - "node_modules/handlebars/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "node_modules/form-data-encoder": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz", + "integrity": "sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">= 14.17" } }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "node_modules/fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, "dependencies": { - "function-bind": "^1.1.1" + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" }, "engines": { - "node": ">= 0.4.0" + "node": ">=12" } }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "node_modules/fs-extra/node_modules/universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true, "engines": { - "node": ">=4" + "node": ">= 10.0.0" } }, - "node_modules/homedir-polyfill": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", - "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", + "node_modules/fs-mkdirp-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fs-mkdirp-stream/-/fs-mkdirp-stream-2.0.1.tgz", + "integrity": "sha512-UTOY+59K6IA94tec8Wjqm0FSh5OVudGNB0NL/P6fB3HiE3bYOY3VYBGijsnOHNkQSwC1FKkU77pmq7xp9CskLw==", "dev": true, "dependencies": { - "parse-passwd": "^1.0.0" + "graceful-fs": "^4.2.8", + "streamx": "^2.12.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=10.13.0" } }, - "node_modules/html-escaper": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "node_modules/fs-monkey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.3.tgz", + "integrity": "sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q==", "dev": true }, - "node_modules/http-cache-semantics": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", - "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, - "node_modules/http-proxy-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", - "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-east-asian-width": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.5.0.tgz", + "integrity": "sha512-CQ+bEO+Tva/qlmw24dCejulK5pMzVnUOFOijVogd3KQs07HnRIgp8TGipvCCRT06xeYEbpbgwaCxglFyiuIcmA==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-uri": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.4.tgz", + "integrity": "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ==", "dev": true, "dependencies": { - "agent-base": "^7.1.0", + "basic-ftp": "^5.0.2", + "data-uri-to-buffer": "^6.0.2", "debug": "^4.3.4" }, "engines": { "node": ">= 14" } }, - "node_modules/http2-wrapper": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.1.tgz", - "integrity": "sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ==", + "node_modules/giget": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/giget/-/giget-2.0.0.tgz", + "integrity": "sha512-L5bGsVkxJbJgdnwyuheIunkGatUF/zssUoxxjACCseZYAVbaqdh9Tsmmlkl8vYan09H7sbvKt4pS8GqKLBrEzA==", "dev": true, "dependencies": { - "quick-lru": "^5.1.1", - "resolve-alpn": "^1.2.0" + "citty": "^0.1.6", + "consola": "^3.4.0", + "defu": "^6.1.4", + "node-fetch-native": "^1.6.6", + "nypm": "^0.6.0", + "pathe": "^2.0.3" }, - "engines": { - "node": ">=10.19.0" + "bin": { + "giget": "dist/cli.mjs" } }, - "node_modules/https-proxy-agent": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", - "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "node_modules/git-raw-commits": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-5.0.1.tgz", + "integrity": "sha512-Y+csSm2GD/PCSh6Isd/WiMjNAydu0VBiG9J7EdQsNA5P9uXvLayqjmTsNlK5Gs9IhblFZqOU0yid5Il5JPoLiQ==", "dev": true, "dependencies": { - "agent-base": "^7.1.2", - "debug": "4" + "@conventional-changelog/git-client": "^2.6.0", + "meow": "^13.0.0" + }, + "bin": { + "git-raw-commits": "src/cli.js" }, "engines": { - "node": ">= 14" + "node": ">=18" } }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "node_modules/git-up": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/git-up/-/git-up-8.1.1.tgz", + "integrity": "sha512-FDenSF3fVqBYSaJoYy1KSc2wosx0gCvKP+c+PRBht7cAaiCeQlBtfBDX9vgnNOHmdePlSFITVcn4pFfcgNvx3g==", "dev": true, - "engines": { - "node": ">=10.17.0" + "dependencies": { + "is-ssh": "^1.4.0", + "parse-url": "^9.2.0" } }, - "node_modules/husky": { - "version": "9.1.7", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", - "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==", + "node_modules/git-url-parse": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-16.1.0.tgz", + "integrity": "sha512-cPLz4HuK86wClEW7iDdeAKcCVlWXmrLpb2L+G9goW0Z1dtpNS6BXXSOckUTlJT/LDQViE1QZKstNORzHsLnobw==", "dev": true, - "bin": { - "husky": "bin.js" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" + "dependencies": { + "git-up": "^8.1.0" } }, - "node_modules/iconv-lite": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz", - "integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==", + "node_modules/glob": { + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" }, "engines": { - "node": ">=0.10.0" + "node": "18 || 20 || >=22" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, "engines": { - "node": ">= 4" + "node": ">=10.13.0" } }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "node_modules/glob-stream": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-8.0.3.tgz", + "integrity": "sha512-fqZVj22LtFJkHODT+M4N1RJQ3TjnnQhfE9GwZI8qXscYarnhpip70poMldRnP8ipQ/w0B621kOhfc53/J9bd/A==", + "dev": true, "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" + "@gulpjs/to-absolute-glob": "^4.0.0", + "anymatch": "^3.1.3", + "fastq": "^1.13.0", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "is-negated-glob": "^1.0.0", + "normalize-path": "^3.0.0", + "streamx": "^2.12.5" }, "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=10.13.0" } }, - "node_modules/import-fresh/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "engines": { - "node": ">=4" - } + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true }, - "node_modules/import-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "node_modules/glob-watcher": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-6.0.0.tgz", + "integrity": "sha512-wGM28Ehmcnk2NqRORXFOTOR064L4imSw3EeOqU5bIwUf62eXGwg89WivH6VMahL8zlQHeodzvHpXplrqzrz3Nw==", "dev": true, "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" + "async-done": "^2.0.0", + "chokidar": "^3.5.3" }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">= 10.13.0" } }, - "node_modules/import-meta-resolve": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz", - "integrity": "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==", + "node_modules/glob-watcher/node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", "dev": true, + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" } }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "node_modules/glob-watcher/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, "engines": { - "node": ">=0.8.19" + "node": ">= 6" } }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "node_modules/glob-watcher/node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "dev": true, "dependencies": { - "once": "^1.3.0", - "wrappy": "1" + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" } }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true + "node_modules/glob/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "engines": { + "node": "18 || 20 || >=22" + } }, - "node_modules/inquirer": { - "version": "12.11.1", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-12.11.1.tgz", - "integrity": "sha512-9VF7mrY+3OmsAfjH3yKz/pLbJ5z22E23hENKw3/LNSaA/sAt3v49bDRY+Ygct1xwuKT+U+cBfTzjCPySna69Qw==", - "dev": true, + "node_modules/glob/node_modules/brace-expansion": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz", + "integrity": "sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==", "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/prompts": "^7.10.1", - "@inquirer/type": "^3.0.10", - "mute-stream": "^2.0.0", - "run-async": "^4.0.6", - "rxjs": "^7.8.2" + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "10.2.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz", + "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==", + "dependencies": { + "brace-expansion": "^5.0.2" }, "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" + "node": "18 || 20 || >=22" }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/inquirer/node_modules/rxjs": { - "version": "7.8.2", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", - "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "node_modules/global-directory": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz", + "integrity": "sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==", "dev": true, "dependencies": { - "tslib": "^2.1.0" + "ini": "4.1.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/inspect-with-kind": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/inspect-with-kind/-/inspect-with-kind-1.0.5.tgz", - "integrity": "sha512-MAQUJuIo7Xqk8EVNP+6d3CKq9c80hi4tjIbIAT6lmGW9W6WzlHiu9PS8uSuUYU+Do+j1baiFp3H25XEVxDIG2g==", + "node_modules/global-directory/node_modules/ini": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz", + "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==", "dev": true, - "dependencies": { - "kind-of": "^6.0.2" + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/ip-address": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", - "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", + "node_modules/global-modules": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", + "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", "dev": true, "dependencies": { - "jsbn": "1.1.0", - "sprintf-js": "^1.1.3" + "global-prefix": "^1.0.1", + "is-windows": "^1.0.1", + "resolve-dir": "^1.0.0" }, "engines": { - "node": ">= 12" + "node": ">=0.10.0" } }, - "node_modules/ip-address/node_modules/sprintf-js": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", - "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==", - "dev": true - }, - "node_modules/is-absolute": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", - "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", + "node_modules/global-prefix": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", + "integrity": "sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==", "dev": true, "dependencies": { - "is-relative": "^1.0.0", - "is-windows": "^1.0.1" + "expand-tilde": "^2.0.2", + "homedir-polyfill": "^1.0.1", + "ini": "^1.3.4", + "is-windows": "^1.0.1", + "which": "^1.2.14" }, "engines": { "node": ">=0.10.0" } }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "node_modules/glogg": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/glogg/-/glogg-2.2.0.tgz", + "integrity": "sha512-eWv1ds/zAlz+M1ioHsyKJomfY7jbDDPpwSkv14KQj89bycx1nvK5/2Cj/T9g7kzJcX5Bc7Yv22FjfBZS/jl94A==", "dev": true, "dependencies": { - "binary-extensions": "^2.0.0" + "sparkles": "^2.1.0" }, "engines": { - "node": ">=8" + "node": ">= 10.13.0" } }, - "node_modules/is-core-module": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", - "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", + "node_modules/got": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/got/-/got-13.0.0.tgz", + "integrity": "sha512-XfBk1CxOOScDcMr9O1yKkNaQyy865NbYs+F7dr4H0LZMVgCj2Le59k6PqbNHoL5ToeaEQUYh6c6yMfVcc6SJxA==", "dev": true, "dependencies": { - "has": "^1.0.3" + "@sindresorhus/is": "^5.2.0", + "@szmarczak/http-timer": "^5.0.1", + "cacheable-lookup": "^7.0.0", + "cacheable-request": "^10.2.8", + "decompress-response": "^6.0.0", + "form-data-encoder": "^2.1.2", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^3.0.0" + }, + "engines": { + "node": ">=16" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sindresorhus/got?sponsor=1" } }, - "node_modules/is-docker": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", - "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, + "node_modules/gulp": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/gulp/-/gulp-5.0.1.tgz", + "integrity": "sha512-PErok3DZSA5WGMd6XXV3IRNO0mlB+wW3OzhFJLEec1jSERg2j1bxJ6e5Fh6N6fn3FH2T9AP4UYNb/pYlADB9sA==", "dev": true, + "dependencies": { + "glob-watcher": "^6.0.0", + "gulp-cli": "^3.1.0", + "undertaker": "^2.0.0", + "vinyl-fs": "^4.0.2" + }, "bin": { - "is-docker": "cli.js" + "gulp": "bin/gulp.js" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=10.13.0" } }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "node_modules/gulp-clean": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/gulp-clean/-/gulp-clean-0.4.0.tgz", + "integrity": "sha512-DARK8rNMo4lHOFLGTiHEJdf19GuoBDHqGUaypz+fOhrvOs3iFO7ntdYtdpNxv+AzSJBx/JfypF0yEj9ks1IStQ==", "dev": true, + "dependencies": { + "fancy-log": "^1.3.2", + "plugin-error": "^0.1.2", + "rimraf": "^2.6.2", + "through2": "^2.0.3", + "vinyl": "^2.1.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">=0.9" } }, - "node_modules/is-fullwidth-code-point": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz", - "integrity": "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==", + "node_modules/gulp-clean/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, "dependencies": { - "get-east-asian-width": "^1.3.1" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" }, "engines": { - "node": ">=18" + "node": "*" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/is-generator-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", - "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", + "node_modules/gulp-clean/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", "dev": true, - "engines": { - "node": ">=6" + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" } }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "node_modules/gulp-cli": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/gulp-cli/-/gulp-cli-3.1.0.tgz", + "integrity": "sha512-zZzwlmEsTfXcxRKiCHsdyjZZnFvXWM4v1NqBJSYbuApkvVKivjcmOS2qruAJ+PkEHLFavcDKH40DPc1+t12a9Q==", "dev": true, "dependencies": { - "is-extglob": "^2.1.1" + "@gulpjs/messages": "^1.1.0", + "chalk": "^4.1.2", + "copy-props": "^4.0.0", + "gulplog": "^2.2.0", + "interpret": "^3.1.1", + "liftoff": "^5.0.1", + "mute-stdout": "^2.0.0", + "replace-homedir": "^2.0.0", + "semver-greatest-satisfied-range": "^2.0.0", + "string-width": "^4.2.3", + "v8flags": "^4.0.0", + "yargs": "^16.2.0" + }, + "bin": { + "gulp": "bin/gulp.js" }, "engines": { - "node": ">=0.10.0" + "node": ">=10.13.0" } }, - "node_modules/is-inside-container": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", - "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "node_modules/gulp-cli/node_modules/interpret": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", + "integrity": "sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==", + "dev": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/gulp-cli/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, "dependencies": { - "is-docker": "^3.0.0" - }, - "bin": { - "is-inside-container": "cli.js" + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" }, "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=10" } }, - "node_modules/is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "node_modules/gulplog": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/gulplog/-/gulplog-2.2.0.tgz", + "integrity": "sha512-V2FaKiOhpR3DRXZuYdRLn/qiY0yI5XmqbTKrYbdemJ+xOh2d2MOweI/XFgMzd/9+1twdvMwllnZbWZNJ+BOm4A==", + "dev": true, + "dependencies": { + "glogg": "^2.2.0" + }, "engines": { - "node": ">=8" + "node": ">= 10.13.0" } }, - "node_modules/is-negated-glob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-negated-glob/-/is-negated-glob-1.0.0.tgz", - "integrity": "sha512-czXVVn/QEmgvej1f50BZ648vUI+em0xqMq2Sn+QncCLN4zj1UAxlT+kw/6ggQTOaZPd1HqKQGEqbpQVtJucWug==", + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dev": true, + "dependencies": { + "function-bind": "^1.1.1" + }, "engines": { - "node": ">=0.10.0" + "node": ">= 0.4.0" } }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, "engines": { - "node": ">=0.12.0" + "node": ">=4" } }, - "node_modules/is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "node_modules/homedir-polyfill": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", + "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", "dev": true, + "dependencies": { + "parse-passwd": "^1.0.0" + }, "engines": { - "node": ">=8" + "node": ">=0.10.0" } }, - "node_modules/is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", + "node_modules/http-cache-semantics": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", + "dev": true + }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", "dev": true, + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, "engines": { - "node": ">=0.10.0" + "node": ">= 14" } }, - "node_modules/is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "node_modules/http2-wrapper": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.1.tgz", + "integrity": "sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ==", "dev": true, + "dependencies": { + "quick-lru": "^5.1.1", + "resolve-alpn": "^1.2.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">=10.19.0" } }, - "node_modules/is-relative": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", - "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", "dev": true, "dependencies": { - "is-unc-path": "^1.0.0" + "agent-base": "^7.1.2", + "debug": "4" }, "engines": { - "node": ">=0.10.0" + "node": ">= 14" } }, - "node_modules/is-ssh": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.1.tgz", - "integrity": "sha512-JNeu1wQsHjyHgn9NcWTaXq6zWSR6hqE0++zhfZlkFBbScNkyvxCdeV8sRkSBaeLKxmbpR21brail63ACNxJ0Tg==", + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true, - "dependencies": { - "protocols": "^2.0.1" + "engines": { + "node": ">=10.17.0" } }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "node_modules/husky": { + "version": "9.1.7", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", + "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==", "dev": true, + "bin": { + "husky": "bin.js" + }, "engines": { - "node": ">=8" + "node": ">=18" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/typicode" } }, - "node_modules/is-unc-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", - "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", - "dev": true, + "node_modules/iconv-lite": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz", + "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==", + "license": "MIT", "dependencies": { - "unc-path-regex": "^0.1.2" + "safer-buffer": ">= 2.1.2 < 3.0.0" }, "engines": { "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, - "node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, "engines": { - "node": ">=10" + "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-valid-glob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-valid-glob/-/is-valid-glob-1.0.0.tgz", - "integrity": "sha1-Kb8+/3Ab4tTTFdusw5vDn+j2Aao=", + "node_modules/import-fresh/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, - "node_modules/is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "node_modules/import-meta-resolve": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz", + "integrity": "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==", "dev": true, - "engines": { - "node": ">=0.10.0" + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/is-wsl": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", - "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "dev": true, "dependencies": { - "is-inside-container": "^1.0.0" - }, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "once": "^1.3.0", + "wrappy": "1" } }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "dev": true }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/issue-parser": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.1.tgz", - "integrity": "sha512-3YZcUUR2Wt1WsapF+S/WiA2WmlW0cWAoPccMqne7AxEBhCdFeTPjfv/Axb8V2gyCgY3nRw+ksZ3xSUX+R47iAg==", + "node_modules/inquirer": { + "version": "12.11.1", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-12.11.1.tgz", + "integrity": "sha512-9VF7mrY+3OmsAfjH3yKz/pLbJ5z22E23hENKw3/LNSaA/sAt3v49bDRY+Ygct1xwuKT+U+cBfTzjCPySna69Qw==", "dev": true, "dependencies": { - "lodash.capitalize": "^4.2.1", - "lodash.escaperegexp": "^4.1.2", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.uniqby": "^4.7.0" + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/prompts": "^7.10.1", + "@inquirer/type": "^3.0.10", + "mute-stream": "^2.0.0", + "run-async": "^4.0.6", + "rxjs": "^7.8.2" }, "engines": { - "node": "^18.17 || >=20.6.1" - } - }, - "node_modules/istanbul-lib-coverage": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", - "dev": true, - "engines": { - "node": ">=8" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/istanbul-lib-instrument": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.1.tgz", - "integrity": "sha512-EAMEJBsYuyyztxMxW3g7ugGPkrZsV57v0Hmv3mm1uQsmB+QnZuepg731CRaIgeUVSdmsTngOkSnauNF8p7FIhA==", + "node_modules/inquirer/node_modules/@inquirer/checkbox": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.2.tgz", + "integrity": "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^7.5.4" + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { - "node": ">=10" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/istanbul-lib-report": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", - "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", + "node_modules/inquirer/node_modules/@inquirer/confirm": { + "version": "5.1.21", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.21.tgz", + "integrity": "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==", "dev": true, + "license": "MIT", "dependencies": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^4.0.0", - "supports-color": "^7.1.0" + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" }, "engines": { - "node": ">=10" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/istanbul-lib-source-maps": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", - "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "node_modules/inquirer/node_modules/@inquirer/editor": { + "version": "4.2.23", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.23.tgz", + "integrity": "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==", "dev": true, + "license": "MIT", "dependencies": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" + "@inquirer/core": "^10.3.2", + "@inquirer/external-editor": "^1.0.3", + "@inquirer/type": "^3.0.10" }, "engines": { - "node": ">=10" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/istanbul-lib-source-maps/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "node_modules/inquirer/node_modules/@inquirer/expand": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.23.tgz", + "integrity": "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==", "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, "engines": { - "node": ">=0.10.0" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/istanbul-reports": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", - "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==", + "node_modules/inquirer/node_modules/@inquirer/external-editor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", + "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", "dev": true, + "license": "MIT", "dependencies": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" + "chardet": "^2.1.1", + "iconv-lite": "^0.7.0" }, "engines": { - "node": ">=8" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", - "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", + "node_modules/inquirer/node_modules/@inquirer/input": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.1.tgz", + "integrity": "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/core": "^29.7.0", - "@jest/types": "^29.6.3", - "import-local": "^3.0.2", - "jest-cli": "^29.7.0" - }, - "bin": { - "jest": "bin/jest.js" + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=18" }, "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + "@types/node": ">=18" }, "peerDependenciesMeta": { - "node-notifier": { + "@types/node": { "optional": true } } }, - "node_modules/jest-changed-files": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", - "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", + "node_modules/inquirer/node_modules/@inquirer/number": { + "version": "3.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.23.tgz", + "integrity": "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==", "dev": true, + "license": "MIT", "dependencies": { - "execa": "^5.0.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0" + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/jest-circus": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", - "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", + "node_modules/inquirer/node_modules/@inquirer/password": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.23.tgz", + "integrity": "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "co": "^4.6.0", - "dedent": "^1.0.0", - "is-generator-fn": "^2.0.0", - "jest-each": "^29.7.0", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0", - "pretty-format": "^29.7.0", - "pure-rand": "^6.0.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-cli": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", - "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", - "dev": true, - "dependencies": { - "@jest/core": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "create-jest": "^29.7.0", - "exit": "^0.1.2", - "import-local": "^3.0.2", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "yargs": "^17.3.1" - }, - "bin": { - "jest": "bin/jest.js" + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=18" }, "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + "@types/node": ">=18" }, "peerDependenciesMeta": { - "node-notifier": { + "@types/node": { "optional": true } } }, - "node_modules/jest-config": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", - "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", + "node_modules/inquirer/node_modules/@inquirer/prompts": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.10.1.tgz", + "integrity": "sha512-Dx/y9bCQcXLI5ooQ5KyvA4FTgeo2jYj/7plWfV5Ak5wDPKQZgudKez2ixyfz7tKXzcJciTxqLeK7R9HItwiByg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-jest": "^29.7.0", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-circus": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "micromatch": "^4.0.4", - "parse-json": "^5.2.0", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-json-comments": "^3.1.1" + "@inquirer/checkbox": "^4.3.2", + "@inquirer/confirm": "^5.1.21", + "@inquirer/editor": "^4.2.23", + "@inquirer/expand": "^4.0.23", + "@inquirer/input": "^4.3.1", + "@inquirer/number": "^3.0.23", + "@inquirer/password": "^4.0.23", + "@inquirer/rawlist": "^4.1.11", + "@inquirer/search": "^3.2.2", + "@inquirer/select": "^4.4.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=18" }, "peerDependencies": { - "@types/node": "*", - "ts-node": ">=9.0.0" + "@types/node": ">=18" }, "peerDependenciesMeta": { "@types/node": { "optional": true - }, - "ts-node": { - "optional": true } } }, - "node_modules/jest-config/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "node_modules/inquirer/node_modules/@inquirer/rawlist": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.11.tgz", + "integrity": "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==", "dev": true, + "license": "MIT", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { - "node": "*" + "node": ">=18" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/jest-diff": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", - "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", + "node_modules/inquirer/node_modules/@inquirer/search": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.2.tgz", + "integrity": "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==", "dev": true, + "license": "MIT", "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/jest-docblock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", - "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", + "node_modules/inquirer/node_modules/@inquirer/select": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.2.tgz", + "integrity": "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==", "dev": true, + "license": "MIT", "dependencies": { - "detect-newline": "^3.0.0" + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/jest-each": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", - "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", + "node_modules/inspect-with-kind": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/inspect-with-kind/-/inspect-with-kind-1.0.5.tgz", + "integrity": "sha512-MAQUJuIo7Xqk8EVNP+6d3CKq9c80hi4tjIbIAT6lmGW9W6WzlHiu9PS8uSuUYU+Do+j1baiFp3H25XEVxDIG2g==", "dev": true, "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "jest-util": "^29.7.0", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "kind-of": "^6.0.2" } }, - "node_modules/jest-environment-node": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", - "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", + "node_modules/ip-address": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", + "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", "dev": true, "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">= 12" } }, - "node_modules/jest-get-type": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", - "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } + "node_modules/ip-address/node_modules/sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==", + "dev": true }, - "node_modules/jest-haste-map": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", - "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", + "node_modules/is-absolute": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", + "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/graceful-fs": "^4.1.3", - "@types/node": "*", - "anymatch": "^3.0.3", - "fb-watchman": "^2.0.0", - "graceful-fs": "^4.2.9", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "micromatch": "^4.0.4", - "walker": "^1.0.8" + "dependencies": { + "is-relative": "^1.0.0", + "is-windows": "^1.0.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "optionalDependencies": { - "fsevents": "^2.3.2" + "node": ">=0.10.0" } }, - "node_modules/jest-haste-map/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, "engines": { "node": ">=8" } }, - "node_modules/jest-haste-map/node_modules/jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", + "node_modules/is-core-module": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", + "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", "dev": true, "dependencies": { - "@types/node": "*", - "jest-util": "^29.7.0", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" + "has": "^1.0.3" }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/jest-haste-map/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", "dev": true, - "dependencies": { - "has-flag": "^4.0.0" + "bin": { + "is-docker": "cli.js" }, "engines": { - "node": ">=10" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/jest-leak-detector": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", - "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", "dev": true, - "dependencies": { - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=0.10.0" } }, - "node_modules/jest-matcher-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", - "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", + "node_modules/is-fullwidth-code-point": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz", + "integrity": "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==", "dev": true, "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" + "get-east-asian-width": "^1.3.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/jest-message-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", - "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" + "is-extglob": "^2.1.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=0.10.0" } }, - "node_modules/jest-mock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", - "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", "dev": true, "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-util": "^29.7.0" + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/jest-pnp-resolver": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", - "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", - "dev": true, + "node_modules/is-interactive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", + "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", + "license": "MIT", "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jest-resolve": "*" + "node": ">=12" }, - "peerDependenciesMeta": { - "jest-resolve": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/jest-regex-util": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", - "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", + "node_modules/is-negated-glob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-negated-glob/-/is-negated-glob-1.0.0.tgz", + "integrity": "sha512-czXVVn/QEmgvej1f50BZ648vUI+em0xqMq2Sn+QncCLN4zj1UAxlT+kw/6ggQTOaZPd1HqKQGEqbpQVtJucWug==", "dev": true, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=0.10.0" } }, - "node_modules/jest-resolve": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", - "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "resolve": "^1.20.0", - "resolve.exports": "^2.0.0", - "slash": "^3.0.0" - }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=0.12.0" } }, - "node_modules/jest-resolve-dependencies": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", - "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", + "node_modules/is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", "dev": true, - "dependencies": { - "jest-regex-util": "^29.6.3", - "jest-snapshot": "^29.7.0" - }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=8" } }, - "node_modules/jest-runner": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", - "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/environment": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "graceful-fs": "^4.2.9", - "jest-docblock": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-leak-detector": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-resolve": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-util": "^29.7.0", - "jest-watcher": "^29.7.0", - "jest-worker": "^29.7.0", - "p-limit": "^3.1.0", - "source-map-support": "0.5.13" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runner/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "node_modules/is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", "dev": true, "engines": { - "node": ">=8" + "node": ">=0.10.0" } }, - "node_modules/jest-runner/node_modules/jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", + "node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", "dev": true, - "dependencies": { - "@types/node": "*", - "jest-util": "^29.7.0", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=0.10.0" } }, - "node_modules/jest-runner/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "node_modules/is-relative": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", + "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", "dev": true, + "dependencies": { + "is-unc-path": "^1.0.0" + }, "engines": { "node": ">=0.10.0" } }, - "node_modules/jest-runner/node_modules/source-map-support": { - "version": "0.5.13", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", - "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", + "node_modules/is-ssh": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.1.tgz", + "integrity": "sha512-JNeu1wQsHjyHgn9NcWTaXq6zWSR6hqE0++zhfZlkFBbScNkyvxCdeV8sRkSBaeLKxmbpR21brail63ACNxJ0Tg==", "dev": true, "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" + "protocols": "^2.0.1" } }, - "node_modules/jest-runner/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, "engines": { - "node": ">=10" + "node": ">=8" }, "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/jest-runtime": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", - "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/globals": "^29.7.0", - "@jest/source-map": "^29.6.3", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "cjs-module-lexer": "^1.0.0", - "collect-v8-coverage": "^1.0.0", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0", - "strip-bom": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runtime/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "node_modules/is-unc-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", + "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", "dev": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "unc-path-regex": "^0.1.2" }, "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=0.10.0" } }, - "node_modules/jest-runtime/node_modules/strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true, + "node_modules/is-unicode-supported": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", + "license": "MIT", "engines": { - "node": ">=8" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/jest-snapshot": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", - "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@babel/generator": "^7.7.2", - "@babel/plugin-syntax-jsx": "^7.7.2", - "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0", - "chalk": "^4.0.0", - "expect": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "natural-compare": "^1.4.0", - "pretty-format": "^29.7.0", - "semver": "^7.5.3" - }, + "node_modules/is-valid-glob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-valid-glob/-/is-valid-glob-1.0.0.tgz", + "integrity": "sha1-Kb8+/3Ab4tTTFdusw5vDn+j2Aao=", + "dev": true, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=0.10.0" } }, - "node_modules/jest-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", - "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=0.10.0" } }, - "node_modules/jest-validate": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", - "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", + "node_modules/is-wsl": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", + "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", "dev": true, "dependencies": { - "@jest/types": "^29.6.3", - "camelcase": "^6.2.0", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "leven": "^3.1.0", - "pretty-format": "^29.7.0" + "is-inside-container": "^1.0.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/jest-validate/node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", "dev": true, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, - "node_modules/jest-watcher": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", - "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", + "node_modules/issue-parser": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.1.tgz", + "integrity": "sha512-3YZcUUR2Wt1WsapF+S/WiA2WmlW0cWAoPccMqne7AxEBhCdFeTPjfv/Axb8V2gyCgY3nRw+ksZ3xSUX+R47iAg==", "dev": true, "dependencies": { - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "jest-util": "^29.7.0", - "string-length": "^4.0.1" + "lodash.capitalize": "^4.2.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.uniqby": "^4.7.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.17 || >=20.6.1" } }, "node_modules/jest-worker": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, "dependencies": { "@types/node": "*", "merge-stream": "^2.0.0", @@ -8210,6 +8151,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, "engines": { "node": ">=8" } @@ -8218,6 +8160,7 @@ "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -8240,12 +8183,14 @@ "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true }, "node_modules/js-yaml": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "dev": true, "dependencies": { "argparse": "^2.0.1" }, @@ -8259,18 +8204,6 @@ "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", "dev": true }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/json-buffer": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", @@ -8280,17 +8213,13 @@ "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, "node_modules/json5": { @@ -8313,6 +8242,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.0.1.tgz", "integrity": "sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg==", + "dev": true, "dependencies": { "universalify": "^1.0.0" }, @@ -8338,15 +8268,6 @@ "node": ">=0.10.0" } }, - "node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/last-run": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/last-run/-/last-run-2.0.0.tgz", @@ -8365,28 +8286,6 @@ "node": ">=10.13.0" } }, - "node_modules/leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, "node_modules/liftoff": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-5.0.1.tgz", @@ -8408,19 +8307,21 @@ "node_modules/lines-and-columns": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "dev": true }, "node_modules/lint-staged": { - "version": "16.4.0", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-16.4.0.tgz", - "integrity": "sha512-lBWt8hujh/Cjysw5GYVmZpFHXDCgZzhrOm8vbcUdobADZNOK/bRshr2kM3DfgrrtR1DQhfupW9gnIXOfiFi+bw==", + "version": "16.3.2", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-16.3.2.tgz", + "integrity": "sha512-xKqhC2AeXLwiAHXguxBjuChoTTWFC6Pees0SHPwOpwlvI3BH7ZADFPddAdN3pgo3aiKgPUx/bxE78JfUnxQnlg==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^14.0.3", "listr2": "^9.0.5", - "picomatch": "^4.0.3", + "micromatch": "^4.0.8", "string-argv": "^0.3.2", - "tinyexec": "^1.0.4", + "tinyexec": "^1.0.2", "yaml": "^2.8.2" }, "bin": { @@ -8433,27 +8334,6 @@ "url": "https://opencollective.com/lint-staged" } }, - "node_modules/lint-staged/node_modules/commander": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", - "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==", - "dev": true, - "engines": { - "node": ">=20" - } - }, - "node_modules/lint-staged/node_modules/picomatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", - "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, "node_modules/lint-staged/node_modules/tinyexec": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.0.4.tgz", @@ -8551,6 +8431,7 @@ "version": "4.3.1", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.1.tgz", "integrity": "sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==", + "dev": true, "engines": { "node": ">=6.11.5" }, @@ -8559,25 +8440,11 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, "node_modules/lodash.camelcase": { "version": "4.3.0", @@ -8615,12 +8482,6 @@ "integrity": "sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==", "dev": true }, - "node_modules/lodash.memoize": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", - "dev": true - }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", @@ -8658,15 +8519,16 @@ "dev": true }, "node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-7.0.1.tgz", + "integrity": "sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==", + "license": "MIT", "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" + "is-unicode-supported": "^2.0.0", + "yoctocolors": "^2.1.1" }, "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -8718,70 +8580,12 @@ "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, - "node_modules/log-update/node_modules/cli-cursor": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", - "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", - "dev": true, - "dependencies": { - "restore-cursor": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/log-update/node_modules/emoji-regex": { "version": "10.4.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", "dev": true }, - "node_modules/log-update/node_modules/onetime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", - "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", - "dev": true, - "dependencies": { - "mimic-function": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/restore-cursor": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", - "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", - "dev": true, - "dependencies": { - "onetime": "^7.0.0", - "signal-exit": "^4.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/log-update/node_modules/string-width": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", @@ -8864,11 +8668,12 @@ } }, "node_modules/magic-string": { - "version": "0.30.17", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", - "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "license": "MIT", "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0" + "@jridgewell/sourcemap-codec": "^1.5.5" } }, "node_modules/make-dir": { @@ -8886,21 +8691,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true - }, - "node_modules/makeerror": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", - "dev": true, - "dependencies": { - "tmpl": "1.0.5" - } - }, "node_modules/map-cache": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", @@ -8914,6 +8704,7 @@ "version": "3.4.13", "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.13.tgz", "integrity": "sha512-omTM41g3Skpvx5dSYeZIbXKcXoAVc/AoMNwn9TKx++L/gaen/+4TTttmu8ZSch5vfVJ8uJvGbroTsIlslRg6lg==", + "dev": true, "dependencies": { "fs-monkey": "^1.0.3" }, @@ -8936,7 +8727,8 @@ "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true }, "node_modules/micromatch": { "version": "4.0.8", @@ -8955,6 +8747,7 @@ "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, "engines": { "node": ">= 0.6" } @@ -8963,6 +8756,7 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, "dependencies": { "mime-db": "1.52.0" }, @@ -8974,6 +8768,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, "engines": { "node": ">=6" } @@ -8982,7 +8777,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", - "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -9006,6 +8801,7 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -9052,16 +8848,30 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", - "dev": true + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } }, "node_modules/neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true }, "node_modules/netmask": { "version": "2.0.2", @@ -9117,7 +8927,8 @@ "node_modules/node-abort-controller": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.1.1.tgz", - "integrity": "sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==" + "integrity": "sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==", + "dev": true }, "node_modules/node-addon-api": { "version": "3.2.1", @@ -9127,11 +8938,30 @@ "optional": true }, "node_modules/node-emoji": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz", - "integrity": "sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.2.0.tgz", + "integrity": "sha512-Z3lTE9pLaJF47NyMhd4ww1yFTAP8YhYI8SleJiHzM46Fgpm5cnNzSl9XfzFNqbaz+VlJrIj3fXQ4DeN1Rjm6cw==", + "license": "MIT", "dependencies": { - "lodash": "^4.17.21" + "@sindresorhus/is": "^4.6.0", + "char-regex": "^1.0.2", + "emojilib": "^2.4.0", + "skin-tone": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/node-emoji/node_modules/@sindresorhus/is": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", + "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" } }, "node_modules/node-fetch-native": { @@ -9152,16 +8982,11 @@ "node-gyp-build-test": "build-test.js" } }, - "node_modules/node-int64": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", - "dev": true - }, "node_modules/node-releases": { "version": "2.0.27", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz", - "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==" + "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==", + "dev": true }, "node_modules/normalize-path": { "version": "3.0.0", @@ -9254,6 +9079,17 @@ "node": ">=0.10.0" } }, + "node_modules/obug": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/obug/-/obug-2.1.1.tgz", + "integrity": "sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==", + "dev": true, + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT" + }, "node_modules/ohash": { "version": "2.0.11", "resolved": "https://registry.npmjs.org/ohash/-/ohash-2.0.11.tgz", @@ -9273,6 +9109,7 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, "dependencies": { "mimic-fn": "^2.1.0" }, @@ -9301,43 +9138,93 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", - "dev": true, + "node_modules/ora": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/ora/-/ora-9.3.0.tgz", + "integrity": "sha512-lBX72MWFduWEf7v7uWf5DHp9Jn5BI8bNPGuFgtXMmr2uDz2Gz2749y3am3agSDdkhHPHYmmxEGSKH85ZLGzgXw==", + "license": "MIT", "dependencies": { - "@aashutoshrathi/word-wrap": "^1.2.3", - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" + "chalk": "^5.6.2", + "cli-cursor": "^5.0.0", + "cli-spinners": "^3.2.0", + "is-interactive": "^2.0.0", + "is-unicode-supported": "^2.1.0", + "log-symbols": "^7.0.1", + "stdin-discarder": "^0.3.1", + "string-width": "^8.1.0" }, "engines": { - "node": ">= 0.8.0" + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "node_modules/ora/node_modules/ansi-regex": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ora/node_modules/chalk": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/ora/node_modules/stdin-discarder": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.3.2.tgz", + "integrity": "sha512-eCPu1qRxPVkl5605OTWF8Wz40b4Mf45NY5LQmVPQ599knfs5QhASUm9GbJ5BDMDOXgrnh0wyEdvzmL//YMlw0A==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora/node_modules/string-width": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.0.tgz", + "integrity": "sha512-6hJPQ8N0V0P3SNmP6h2J99RLuzrWz2gvT7VnK5tKvrNqJoyS9W4/Fb8mo31UiPvy00z7DQXkP2hnKBVav76thw==", + "license": "MIT", + "dependencies": { + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora/node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "license": "MIT", "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" + "ansi-regex": "^6.2.2" }, "engines": { - "node": ">=10" + "node": ">=12" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/os-name": { @@ -9356,52 +9243,58 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/p-cancelable": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz", - "integrity": "sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==", - "dev": true, - "engines": { - "node": ">=12.20" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "node_modules/oxlint": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.58.0.tgz", + "integrity": "sha512-t4s9leczDMqlvOSjnbCQe7gtoLkWgBGZ7sBdCJ9EOj5IXFSG/X7OAzK4yuH4iW+4cAYe8kLFbC8tuYMwWZm+Cg==", "dev": true, - "dependencies": { - "yocto-queue": "^0.1.0" + "license": "MIT", + "bin": { + "oxlint": "bin/oxlint" }, "engines": { - "node": ">=10" + "node": "^20.19.0 || >=22.12.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dev": true, - "dependencies": { - "p-limit": "^3.0.2" + "url": "https://github.com/sponsors/Boshen" }, - "engines": { - "node": ">=10" + "optionalDependencies": { + "@oxlint/binding-android-arm-eabi": "1.58.0", + "@oxlint/binding-android-arm64": "1.58.0", + "@oxlint/binding-darwin-arm64": "1.58.0", + "@oxlint/binding-darwin-x64": "1.58.0", + "@oxlint/binding-freebsd-x64": "1.58.0", + "@oxlint/binding-linux-arm-gnueabihf": "1.58.0", + "@oxlint/binding-linux-arm-musleabihf": "1.58.0", + "@oxlint/binding-linux-arm64-gnu": "1.58.0", + "@oxlint/binding-linux-arm64-musl": "1.58.0", + "@oxlint/binding-linux-ppc64-gnu": "1.58.0", + "@oxlint/binding-linux-riscv64-gnu": "1.58.0", + "@oxlint/binding-linux-riscv64-musl": "1.58.0", + "@oxlint/binding-linux-s390x-gnu": "1.58.0", + "@oxlint/binding-linux-x64-gnu": "1.58.0", + "@oxlint/binding-linux-x64-musl": "1.58.0", + "@oxlint/binding-openharmony-arm64": "1.58.0", + "@oxlint/binding-win32-arm64-msvc": "1.58.0", + "@oxlint/binding-win32-ia32-msvc": "1.58.0", + "@oxlint/binding-win32-x64-msvc": "1.58.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "oxlint-tsgolint": ">=0.18.0" + }, + "peerDependenciesMeta": { + "oxlint-tsgolint": { + "optional": true + } } }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "node_modules/p-cancelable": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz", + "integrity": "sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==", "dev": true, "engines": { - "node": ">=6" + "node": ">=12.20" } }, "node_modules/pac-proxy-agent": { @@ -9440,6 +9333,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, "dependencies": { "callsites": "^3.0.0" }, @@ -9465,6 +9359,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -9518,15 +9413,6 @@ "node": ">=14.13.0" } }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", @@ -9600,6 +9486,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, "engines": { "node": ">=8" } @@ -9638,7 +9525,8 @@ "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==" + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true }, "node_modules/picomatch": { "version": "2.3.1", @@ -9652,15 +9540,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/pirates": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", - "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, "node_modules/piscina": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/piscina/-/piscina-4.3.1.tgz", @@ -9670,70 +9549,6 @@ "nice-napi": "^1.0.2" } }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/pkg-dir/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/pkg-types": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-2.3.0.tgz", @@ -9821,20 +9636,41 @@ "node": ">=4" } }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "node_modules/postcss": { + "version": "8.5.10", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.10.tgz", + "integrity": "sha512-pMMHxBOZKFU6HgAZ4eyGnwXF/EvPGGqUr0MnZ5+99485wwW41kW91A4LOGxSHhgugZmSChL5AlElNdwlNgcnLQ==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, "engines": { - "node": ">= 0.8.0" + "node": "^10 || ^12 || >=14" } }, "node_modules/prettier": { - "version": "3.8.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.2.tgz", - "integrity": "sha512-8c3mgTe0ASwWAJK+78dpviD+A8EqhndQPUBpNUIPt6+xWlIigCwfN01lWr9MAede4uqXGTEKeQWTvzb3vjia0Q==", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", + "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==", "dev": true, + "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, @@ -9845,51 +9681,12 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, - "node_modules/pretty-format": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", - "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", - "dev": true, - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/process-nextick-args": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", "dev": true }, - "node_modules/prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/protocols": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.2.tgz", @@ -9934,26 +9731,11 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, "engines": { "node": ">=6" } }, - "node_modules/pure-rand": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.4.tgz", - "integrity": "sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/dubzzz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fast-check" - } - ] - }, "node_modules/queue-tick": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", @@ -9982,12 +9764,6 @@ "destr": "^2.0.3" } }, - "node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", - "dev": true - }, "node_modules/readable-stream": { "version": "2.3.5", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.5.tgz", @@ -10004,11 +9780,12 @@ } }, "node_modules/readdirp": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.2.tgz", - "integrity": "sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.0.0.tgz", + "integrity": "sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==", + "license": "MIT", "engines": { - "node": ">= 14.16.0" + "node": ">= 20.19.0" }, "funding": { "type": "individual", @@ -10113,73 +9890,6 @@ "node": ">=8" } }, - "node_modules/release-it/node_modules/cli-cursor": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", - "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", - "dev": true, - "dependencies": { - "restore-cursor": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/release-it/node_modules/cli-spinners": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-3.4.0.tgz", - "integrity": "sha512-bXfOC4QcT1tKXGorxL3wbJm6XJPDqEnij2gQ2m7ESQuE+/z9YFIWnl/5RpTiKWbMq3EVKR4fRLJGn6DVfu0mpw==", - "dev": true, - "engines": { - "node": ">=18.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/release-it/node_modules/is-interactive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", - "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/release-it/node_modules/is-unicode-supported": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", - "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", - "dev": true, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/release-it/node_modules/log-symbols": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-7.0.1.tgz", - "integrity": "sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==", - "dev": true, - "dependencies": { - "is-unicode-supported": "^2.0.0", - "yoctocolors": "^2.1.1" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/release-it/node_modules/mime-db": { "version": "1.54.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", @@ -10205,21 +9915,6 @@ "url": "https://opencollective.com/express" } }, - "node_modules/release-it/node_modules/onetime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", - "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", - "dev": true, - "dependencies": { - "mimic-function": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/release-it/node_modules/ora": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/ora/-/ora-9.0.0.tgz", @@ -10233,44 +9928,16 @@ "is-unicode-supported": "^2.1.0", "log-symbols": "^7.0.1", "stdin-discarder": "^0.2.2", - "string-width": "^8.1.0", - "strip-ansi": "^7.1.2" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/release-it/node_modules/restore-cursor": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", - "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", - "dev": true, - "dependencies": { - "onetime": "^7.0.0", - "signal-exit": "^4.1.0" + "string-width": "^8.1.0", + "strip-ansi": "^7.1.2" }, "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/release-it/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/release-it/node_modules/string-width": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.1.0.tgz", @@ -10371,18 +10038,6 @@ "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==", "dev": true }, - "node_modules/resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "dependencies": { - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/resolve-dir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", @@ -10417,15 +10072,6 @@ "node": ">= 10.13.0" } }, - "node_modules/resolve.exports": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", - "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", - "dev": true, - "engines": { - "node": ">=10" - } - }, "node_modules/responselike": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/responselike/-/responselike-3.0.0.tgz", @@ -10442,15 +10088,46 @@ } }, "node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", + "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", + "license": "MIT", "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" + "onetime": "^7.0.0", + "signal-exit": "^4.1.0" }, "engines": { - "node": ">=8" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/restore-cursor/node_modules/onetime": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", + "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", + "license": "MIT", + "dependencies": { + "mimic-function": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/restore-cursor/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/retry": { @@ -10478,6 +10155,51 @@ "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", "dev": true }, + "node_modules/rollup": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.1.tgz", + "integrity": "sha512-VmtB2rFU/GroZ4oL8+ZqXgSA38O6GR8KSIvWmEFv63pQ0G6KaBH9s07PO8XTXP4vI+3UJUEypOfjkGfmSBBR0w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.8" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.60.1", + "@rollup/rollup-android-arm64": "4.60.1", + "@rollup/rollup-darwin-arm64": "4.60.1", + "@rollup/rollup-darwin-x64": "4.60.1", + "@rollup/rollup-freebsd-arm64": "4.60.1", + "@rollup/rollup-freebsd-x64": "4.60.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.60.1", + "@rollup/rollup-linux-arm-musleabihf": "4.60.1", + "@rollup/rollup-linux-arm64-gnu": "4.60.1", + "@rollup/rollup-linux-arm64-musl": "4.60.1", + "@rollup/rollup-linux-loong64-gnu": "4.60.1", + "@rollup/rollup-linux-loong64-musl": "4.60.1", + "@rollup/rollup-linux-ppc64-gnu": "4.60.1", + "@rollup/rollup-linux-ppc64-musl": "4.60.1", + "@rollup/rollup-linux-riscv64-gnu": "4.60.1", + "@rollup/rollup-linux-riscv64-musl": "4.60.1", + "@rollup/rollup-linux-s390x-gnu": "4.60.1", + "@rollup/rollup-linux-x64-gnu": "4.60.1", + "@rollup/rollup-linux-x64-musl": "4.60.1", + "@rollup/rollup-openbsd-x64": "4.60.1", + "@rollup/rollup-openharmony-arm64": "4.60.1", + "@rollup/rollup-win32-arm64-msvc": "4.60.1", + "@rollup/rollup-win32-ia32-msvc": "4.60.1", + "@rollup/rollup-win32-x64-gnu": "4.60.1", + "@rollup/rollup-win32-x64-msvc": "4.60.1", + "fsevents": "~2.3.2" + } + }, "node_modules/run-applescript": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.0.0.tgz", @@ -10500,9 +10222,10 @@ } }, "node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" } @@ -10522,6 +10245,7 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, "dependencies": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -10561,6 +10285,7 @@ "version": "7.7.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "dev": true, "bin": { "semver": "bin/semver.js" }, @@ -10628,17 +10353,31 @@ "node": ">=8" } }, + "node_modules/siginfo": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz", + "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==", + "dev": true, + "license": "ISC" + }, "node_modules/signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - }, - "node_modules/sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true }, + "node_modules/skin-tone": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/skin-tone/-/skin-tone-2.0.0.tgz", + "integrity": "sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==", + "license": "MIT", + "dependencies": { + "unicode-emoji-modifier-base": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -10727,17 +10466,29 @@ } }, "node_modules/source-map": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "version": "0.7.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz", + "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==", + "license": "BSD-3-Clause", "engines": { - "node": ">= 8" + "node": ">= 12" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" } }, "node_modules/source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -10747,6 +10498,7 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -10760,32 +10512,19 @@ "node": ">= 10.13.0" } }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true - }, - "node_modules/stack-utils": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", + "node_modules/stackback": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", + "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==", "dev": true, - "dependencies": { - "escape-string-regexp": "^2.0.0" - }, - "engines": { - "node": ">=10" - } + "license": "MIT" }, - "node_modules/stack-utils/node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "node_modules/std-env": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz", + "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==", "dev": true, - "engines": { - "node": ">=8" - } + "license": "MIT" }, "node_modules/stdin-discarder": { "version": "0.2.2", @@ -10845,19 +10584,6 @@ "node": ">=0.6.19" } }, - "node_modules/string-length": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", - "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", - "dev": true, - "dependencies": { - "char-regex": "^1.0.2", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", @@ -10917,18 +10643,6 @@ "node": ">=6" } }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/strtok3": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-9.0.1.tgz", @@ -10950,6 +10664,7 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "dev": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -10961,6 +10676,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, "engines": { "node": ">=8" } @@ -10984,18 +10700,11 @@ "semver": "bin/semver.js" } }, - "node_modules/symbol-observable": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-4.0.0.tgz", - "integrity": "sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==", - "engines": { - "node": ">=0.10" - } - }, "node_modules/tapable": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.0.tgz", "integrity": "sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==", + "dev": true, "engines": { "node": ">=6" }, @@ -11028,6 +10737,7 @@ "version": "5.39.0", "resolved": "https://registry.npmjs.org/terser/-/terser-5.39.0.tgz", "integrity": "sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw==", + "dev": true, "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -11045,6 +10755,7 @@ "version": "5.4.0", "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.4.0.tgz", "integrity": "sha512-Bn5vxm48flOIfkdl5CaD2+1CiUVbonWQ3KQPyP7/EuIl9Gbzq/gQFOzaMFUEgVjB1396tcK0SG8XcNJ/2kDH8g==", + "dev": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", "jest-worker": "^27.4.5", @@ -11077,6 +10788,7 @@ "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -11092,6 +10804,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, "dependencies": { "ajv": "^8.0.0" }, @@ -11108,6 +10821,7 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, "dependencies": { "fast-deep-equal": "^3.1.3" }, @@ -11118,12 +10832,14 @@ "node_modules/terser-webpack-plugin/node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true }, "node_modules/terser-webpack-plugin/node_modules/schema-utils": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.0.tgz", "integrity": "sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g==", + "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", "ajv": "^8.9.0", @@ -11141,41 +10857,8 @@ "node_modules/terser/node_modules/commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - }, - "node_modules/test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", - "dev": true, - "dependencies": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/test-exclude/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true }, "node_modules/through": { "version": "2.3.8", @@ -11226,6 +10909,13 @@ "node": ">=0.10.0" } }, + "node_modules/tinybench": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", + "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==", + "dev": true, + "license": "MIT" + }, "node_modules/tinyexec": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz", @@ -11248,23 +10938,6 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/tinyglobby/node_modules/fdir": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", - "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", - "dev": true, - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, "node_modules/tinyglobby/node_modules/picomatch": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", @@ -11277,19 +10950,14 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/tmpl": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "dev": true - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "node_modules/tinyrainbow": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.1.0.tgz", + "integrity": "sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==", "dev": true, + "license": "MIT", "engines": { - "node": ">=4" + "node": ">=14.0.0" } }, "node_modules/to-regex-range": { @@ -11328,101 +10996,17 @@ "engines": { "node": ">=14.16" }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/Borewit" - } - }, - "node_modules/ts-api-utils": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", - "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", - "dev": true, - "engines": { - "node": ">=18.12" - }, - "peerDependencies": { - "typescript": ">=4.8.4" - } - }, - "node_modules/ts-jest": { - "version": "29.4.9", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.4.9.tgz", - "integrity": "sha512-LTb9496gYPMCqjeDLdPrKuXtncudeV1yRZnF4Wo5l3SFi0RYEnYRNgMrFIdg+FHvfzjCyQk1cLncWVqiSX+EvQ==", - "dev": true, - "dependencies": { - "bs-logger": "^0.2.6", - "fast-json-stable-stringify": "^2.1.0", - "handlebars": "^4.7.9", - "json5": "^2.2.3", - "lodash.memoize": "^4.1.2", - "make-error": "^1.3.6", - "semver": "^7.7.4", - "type-fest": "^4.41.0", - "yargs-parser": "^21.1.1" - }, - "bin": { - "ts-jest": "cli.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0" - }, - "peerDependencies": { - "@babel/core": ">=7.0.0-beta.0 <8", - "@jest/transform": "^29.0.0 || ^30.0.0", - "@jest/types": "^29.0.0 || ^30.0.0", - "babel-jest": "^29.0.0 || ^30.0.0", - "jest": "^29.0.0 || ^30.0.0", - "jest-util": "^29.0.0 || ^30.0.0", - "typescript": ">=4.3 <7" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@jest/transform": { - "optional": true - }, - "@jest/types": { - "optional": true - }, - "babel-jest": { - "optional": true - }, - "esbuild": { - "optional": true - }, - "jest-util": { - "optional": true - } - } - }, - "node_modules/ts-jest/node_modules/semver": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", - "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ts-jest/node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, - "engines": { - "node": ">=12" + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" } }, "node_modules/ts-loader": { - "version": "9.5.7", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.5.7.tgz", - "integrity": "sha512-/ZNrKgA3K3PtpMYOC71EeMWIloGw3IYEa5/t1cyz2r5/PyUwTXGzYJvcD3kfUvmhlfpz1rhV8B2O6IVTQ0avsg==", + "version": "9.5.4", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.5.4.tgz", + "integrity": "sha512-nCz0rEwunlTZiy6rXFByQU1kVVpCIgUpc/psFiKVrUwrizdnIbRFu8w7bxhUF0X613DYwT4XzrZHpVyMe758hQ==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.1.0", "enhanced-resolve": "^5.0.0", @@ -11438,49 +11022,6 @@ "webpack": "^5.0.0" } }, - "node_modules/ts-node": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", - "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", - "dev": true, - "dependencies": { - "@cspotcode/source-map-support": "^0.8.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.1", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-esm": "dist/bin-esm.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } - } - }, "node_modules/tsconfig-paths": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", @@ -11498,6 +11039,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.2.0.tgz", "integrity": "sha512-zbem3rfRS8BgeNK50Zz5SIQgXzLafiHjOwUAvk/38/o1jHn/V5QAgVUcz884or7WYcPaH3N2CIfUc2u0ul7UcA==", + "dev": true, "dependencies": { "chalk": "^4.1.0", "enhanced-resolve": "^5.7.0", @@ -11513,43 +11055,11 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, - "node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/type-fest": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", - "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", - "dev": true, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/typescript": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -11558,19 +11068,6 @@ "node": ">=14.17" } }, - "node_modules/uglify-js": { - "version": "3.19.3", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", - "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", - "dev": true, - "optional": true, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/uint8array-extras": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-1.4.0.tgz", @@ -11645,9 +11142,20 @@ } }, "node_modules/undici-types": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", - "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==" + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz", + "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==", + "dev": true, + "license": "MIT" + }, + "node_modules/unicode-emoji-modifier-base": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz", + "integrity": "sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==", + "license": "MIT", + "engines": { + "node": ">=4" + } }, "node_modules/universal-user-agent": { "version": "7.0.3", @@ -11659,6 +11167,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==", + "dev": true, "engines": { "node": ">= 10.0.0" } @@ -11667,6 +11176,7 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", + "dev": true, "funding": [ { "type": "opencollective", @@ -11696,6 +11206,7 @@ "version": "4.2.2", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "dev": true, "dependencies": { "punycode": "^2.1.0" } @@ -11712,28 +11223,9 @@ "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "node_modules/v8-compile-cache-lib": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", - "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, - "node_modules/v8-to-istanbul": { - "version": "9.1.3", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.3.tgz", - "integrity": "sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.12", - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^2.0.0" - }, - "engines": { - "node": ">=10.12.0" - } - }, "node_modules/v8flags": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-4.0.1.tgz", @@ -12024,19 +11516,207 @@ "node": ">=0.8" } }, - "node_modules/walker": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", + "node_modules/vite": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.2.tgz", + "integrity": "sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.25.0", + "fdir": "^6.4.4", + "picomatch": "^4.0.2", + "postcss": "^8.5.3", + "rollup": "^4.34.9", + "tinyglobby": "^0.2.13" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "jiti": ">=1.21.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/vite/node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/vitest": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.0.18.tgz", + "integrity": "sha512-hOQuK7h0FGKgBAas7v0mSAsnvrIgAvWmRFjmzpJ7SwFHH3g1k2u37JtYwOwmEKhK6ZO3v9ggDBBm0La1LCK4uQ==", "dev": true, + "license": "MIT", "dependencies": { - "makeerror": "1.0.12" + "@vitest/expect": "4.0.18", + "@vitest/mocker": "4.0.18", + "@vitest/pretty-format": "4.0.18", + "@vitest/runner": "4.0.18", + "@vitest/snapshot": "4.0.18", + "@vitest/spy": "4.0.18", + "@vitest/utils": "4.0.18", + "es-module-lexer": "^1.7.0", + "expect-type": "^1.2.2", + "magic-string": "^0.30.21", + "obug": "^2.1.1", + "pathe": "^2.0.3", + "picomatch": "^4.0.3", + "std-env": "^3.10.0", + "tinybench": "^2.9.0", + "tinyexec": "^1.0.2", + "tinyglobby": "^0.2.15", + "tinyrainbow": "^3.0.3", + "vite": "^6.0.0 || ^7.0.0", + "why-is-node-running": "^2.3.0" + }, + "bin": { + "vitest": "vitest.mjs" + }, + "engines": { + "node": "^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@edge-runtime/vm": "*", + "@opentelemetry/api": "^1.9.0", + "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0", + "@vitest/browser-playwright": "4.0.18", + "@vitest/browser-preview": "4.0.18", + "@vitest/browser-webdriverio": "4.0.18", + "@vitest/ui": "4.0.18", + "happy-dom": "*", + "jsdom": "*" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@opentelemetry/api": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser-playwright": { + "optional": true + }, + "@vitest/browser-preview": { + "optional": true + }, + "@vitest/browser-webdriverio": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + } + } + }, + "node_modules/vitest/node_modules/es-module-lexer": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz", + "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==", + "dev": true, + "license": "MIT" + }, + "node_modules/vitest/node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/vitest/node_modules/tinyexec": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.1.1.tgz", + "integrity": "sha512-VKS/ZaQhhkKFMANmAOhhXVoIfBXblQxGX1myCQ2faQrfmobMftXeJPcZGp0gS07ocvGJWDLZGyOZDadDBqYIJg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" } }, "node_modules/watchpack": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.5.1.tgz", "integrity": "sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg==", + "dev": true, "dependencies": { "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.1.2" @@ -12045,18 +11725,12 @@ "node": ">=10.13.0" } }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", - "dependencies": { - "defaults": "^1.0.3" - } - }, "node_modules/webpack": { - "version": "5.106.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.106.0.tgz", - "integrity": "sha512-Pkx5joZ9RrdgO5LBkyX1L2ZAJeK/Taz3vqZ9CbcP0wS5LEMx5QkKsEwLl29QJfihZ+DKRBFldzy1O30pJ1MDpA==", + "version": "5.105.4", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.105.4.tgz", + "integrity": "sha512-jTywjboN9aHxFlToqb0K0Zs9SbBoW4zRUlGzI2tYNxVYcEi/IPpn+Xi4ye5jTLvX2YeLuic/IvxNot+Q1jMoOw==", + "dev": true, + "license": "MIT", "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.8", @@ -12104,6 +11778,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/webpack-node-externals/-/webpack-node-externals-3.0.0.tgz", "integrity": "sha512-LnL6Z3GGDPht/AigwRh2dvL9PQPFQ8skEpVrWZXLWBYmqcaojHNN0onvHzie6rq7EWKrrBfPYqNEzTJgiwEQDQ==", + "dev": true, "engines": { "node": ">=6" } @@ -12112,6 +11787,7 @@ "version": "3.3.4", "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.3.4.tgz", "integrity": "sha512-7tP1PdV4vF+lYPnkMR0jMY5/la2ub5Fc/8VQrrU+lXkiM6C4TjVfGw7iKfyhnTQOsD+6Q/iKw0eFciziRgD58Q==", + "dev": true, "engines": { "node": ">=10.13.0" } @@ -12120,6 +11796,7 @@ "version": "8.18.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", + "dev": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -12135,6 +11812,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, "dependencies": { "ajv": "^8.0.0" }, @@ -12151,6 +11829,7 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, "dependencies": { "fast-deep-equal": "^3.1.3" }, @@ -12161,12 +11840,14 @@ "node_modules/webpack/node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true }, "node_modules/webpack/node_modules/schema-utils": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.3.tgz", "integrity": "sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==", + "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", "ajv": "^8.9.0", @@ -12193,6 +11874,23 @@ "which": "bin/which" } }, + "node_modules/why-is-node-running": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz", + "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "siginfo": "^2.0.0", + "stackback": "0.0.2" + }, + "bin": { + "why-is-node-running": "cli.js" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/wildcard-match": { "version": "5.1.4", "resolved": "https://registry.npmjs.org/wildcard-match/-/wildcard-match-5.1.4.tgz", @@ -12348,12 +12046,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", - "dev": true - }, "node_modules/wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -12500,32 +12192,10 @@ "node": ">=12" } }, - "node_modules/yn": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/yoctocolors": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.1.2.tgz", "integrity": "sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug==", - "dev": true, "engines": { "node": ">=18" }, @@ -12546,33 +12216,17 @@ } }, "dependencies": { - "@aashutoshrathi/word-wrap": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", - "dev": true - }, - "@ampproject/remapping": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", - "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", - "dev": true, - "requires": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, "@angular-devkit/core": { - "version": "19.2.24", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-19.2.24.tgz", - "integrity": "sha512-Kd49warf6U/EyWe5BszF/eebN3zQ3bk7tgfEljAw8q/rX95UUtriJubWvp6pgzHfzBA4jwq8f+QiNZB8eBEXPA==", + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-21.2.1.tgz", + "integrity": "sha512-TpXGjERqVPN8EPt7LdmWAwh0oNQ/6uWFutzGZiXhJy81n1zb1O1XrqhRAmvP1cAo5O+na6IV2JkkCmxL6F8GUg==", "requires": { "ajv": "8.18.0", "ajv-formats": "3.0.1", "jsonc-parser": "3.3.1", - "picomatch": "4.0.4", - "rxjs": "7.8.1", - "source-map": "0.7.4" + "picomatch": "4.0.3", + "rxjs": "7.8.2", + "source-map": "0.7.6" }, "dependencies": { "ajv": { @@ -12592,58 +12246,161 @@ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, "picomatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", - "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==" + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==" } } }, "@angular-devkit/schematics": { - "version": "19.2.24", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-19.2.24.tgz", - "integrity": "sha512-lnw+ZM1Io+cJAkReC0NPDjqObL8NtKzKIkdgEEKC8CUmkhurYhedbicN8Y8NYHgG1uLd2GozW3+/QqPRZaN+Lw==", + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-21.2.1.tgz", + "integrity": "sha512-CWoamHaasAHMjHcYqxbj0tMnoXxdGotcAz2SpiuWtH28Lnf5xfbTaJn/lwdMP8Wdh4tgA+uYh2l45A5auCwmkw==", "requires": { - "@angular-devkit/core": "19.2.24", + "@angular-devkit/core": "21.2.1", "jsonc-parser": "3.3.1", - "magic-string": "0.30.17", - "ora": "5.4.1", - "rxjs": "7.8.1" + "magic-string": "0.30.21", + "ora": "9.3.0", + "rxjs": "7.8.2" } }, "@angular-devkit/schematics-cli": { - "version": "19.2.24", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics-cli/-/schematics-cli-19.2.24.tgz", - "integrity": "sha512-bsStZQG67J1HBqTmWxtIcobvgrn32L4UOdL7hGyOru5VxDWPNA8pRnDYavT3hnJeBkJYPoQIw8u7Dm0ecoQprw==", - "requires": { - "@angular-devkit/core": "19.2.24", - "@angular-devkit/schematics": "19.2.24", - "@inquirer/prompts": "7.3.2", - "ansi-colors": "4.1.3", - "symbol-observable": "4.0.0", - "yargs-parser": "21.1.1" + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics-cli/-/schematics-cli-21.2.1.tgz", + "integrity": "sha512-5uEyqfCfh5QCI0XfzWkxeR9IWFs06Qtxjpgx1EF5sLL0TpCOAVngU70DVCJMNQoNITdtDIYS2TxBXWXiFfILdw==", + "requires": { + "@angular-devkit/core": "21.2.1", + "@angular-devkit/schematics": "21.2.1", + "@inquirer/prompts": "7.10.1" }, "dependencies": { + "@inquirer/checkbox": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.2.tgz", + "integrity": "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==", + "requires": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + } + }, + "@inquirer/confirm": { + "version": "5.1.21", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.21.tgz", + "integrity": "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==", + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + } + }, + "@inquirer/editor": { + "version": "4.2.23", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.23.tgz", + "integrity": "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==", + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/external-editor": "^1.0.3", + "@inquirer/type": "^3.0.10" + } + }, + "@inquirer/expand": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.23.tgz", + "integrity": "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==", + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + } + }, + "@inquirer/external-editor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", + "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", + "requires": { + "chardet": "^2.1.1", + "iconv-lite": "^0.7.0" + } + }, + "@inquirer/input": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.1.tgz", + "integrity": "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==", + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + } + }, + "@inquirer/number": { + "version": "3.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.23.tgz", + "integrity": "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==", + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + } + }, + "@inquirer/password": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.23.tgz", + "integrity": "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==", + "requires": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + } + }, "@inquirer/prompts": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.3.2.tgz", - "integrity": "sha512-G1ytyOoHh5BphmEBxSwALin3n1KGNYB6yImbICcRQdzXfOGbuJ9Jske/Of5Sebk339NSGGNfUshnzK8YWkTPsQ==", + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.10.1.tgz", + "integrity": "sha512-Dx/y9bCQcXLI5ooQ5KyvA4FTgeo2jYj/7plWfV5Ak5wDPKQZgudKez2ixyfz7tKXzcJciTxqLeK7R9HItwiByg==", "requires": { - "@inquirer/checkbox": "^4.1.2", - "@inquirer/confirm": "^5.1.6", - "@inquirer/editor": "^4.2.7", - "@inquirer/expand": "^4.0.9", - "@inquirer/input": "^4.1.6", - "@inquirer/number": "^3.0.9", - "@inquirer/password": "^4.0.9", - "@inquirer/rawlist": "^4.0.9", - "@inquirer/search": "^3.0.9", - "@inquirer/select": "^4.0.9" + "@inquirer/checkbox": "^4.3.2", + "@inquirer/confirm": "^5.1.21", + "@inquirer/editor": "^4.2.23", + "@inquirer/expand": "^4.0.23", + "@inquirer/input": "^4.3.1", + "@inquirer/number": "^3.0.23", + "@inquirer/password": "^4.0.23", + "@inquirer/rawlist": "^4.1.11", + "@inquirer/search": "^3.2.2", + "@inquirer/select": "^4.4.2" } }, - "yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" + "@inquirer/rawlist": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.11.tgz", + "integrity": "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==", + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + } + }, + "@inquirer/search": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.2.tgz", + "integrity": "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==", + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + } + }, + "@inquirer/select": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.2.tgz", + "integrity": "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==", + "requires": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + } } } }, @@ -12651,6 +12408,7 @@ "version": "7.22.13", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", + "dev": true, "requires": { "@babel/highlight": "^7.22.13", "chalk": "^2.4.2" @@ -12660,6 +12418,7 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, "requires": { "color-convert": "^1.9.0" } @@ -12668,6 +12427,7 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -12678,200 +12438,24 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "@babel/compat-data": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.2.tgz", - "integrity": "sha512-0S9TQMmDHlqAZ2ITT95irXKfxN9bncq8ZCoJhun3nHL/lLUxd2NKBJYoNGWH7S0hz6fRQwWlAWn/ILM0C70KZQ==", - "dev": true - }, - "@babel/core": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.2.tgz", - "integrity": "sha512-n7s51eWdaWZ3vGT2tD4T7J6eJs3QoBXydv7vkUM06Bf1cbVD2Kc2UrkzhiQwobfV7NwOnQXYL7UBJ5VPU+RGoQ==", - "dev": true, - "requires": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.23.0", - "@babel/helper-compilation-targets": "^7.22.15", - "@babel/helper-module-transforms": "^7.23.0", - "@babel/helpers": "^7.23.2", - "@babel/parser": "^7.23.0", - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.2", - "@babel/types": "^7.23.0", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "dependencies": { - "semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true - } - } - }, - "@babel/generator": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", - "dev": true, - "requires": { - "@babel/types": "^7.23.0", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", - "jsesc": "^2.5.1" - } - }, - "@babel/helper-compilation-targets": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz", - "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-validator-option": "^7.22.15", - "browserslist": "^4.21.9", - "lru-cache": "^5.1.1", - "semver": "^6.3.1" - }, - "dependencies": { - "lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, "requires": { - "yallist": "^3.0.2" + "has-flag": "^3.0.0" } - }, - "semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true - }, - "yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true } } }, - "@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", - "dev": true - }, - "@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", - "dev": true, - "requires": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" - } - }, - "@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, - "requires": { - "@babel/types": "^7.22.5" - } - }, - "@babel/helper-module-imports": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", - "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", - "dev": true, - "requires": { - "@babel/types": "^7.22.15" - } - }, - "@babel/helper-module-transforms": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.0.tgz", - "integrity": "sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw==", - "dev": true, - "requires": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-simple-access": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.20" - } - }, - "@babel/helper-plugin-utils": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", - "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", - "dev": true - }, - "@babel/helper-simple-access": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", - "dev": true, - "requires": { - "@babel/types": "^7.22.5" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", - "dev": true, - "requires": { - "@babel/types": "^7.22.5" - } - }, - "@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", - "dev": true - }, "@babel/helper-validator-identifier": { "version": "7.22.20", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==" - }, - "@babel/helper-validator-option": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz", - "integrity": "sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", "dev": true }, - "@babel/helpers": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.2.tgz", - "integrity": "sha512-lzchcp8SjTSVe/fPmLwtWVBFC7+Tbn8LGHDVfDp9JGxpAY5opSaEFgt8UQvrnECWOTdji2mOWMz1rOhkHscmGQ==", - "dev": true, - "requires": { - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.2", - "@babel/types": "^7.23.0" - } - }, "@babel/highlight": { "version": "7.22.20", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", + "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", @@ -12882,6 +12466,7 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, "requires": { "color-convert": "^1.9.0" } @@ -12890,6 +12475,7 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -12900,198 +12486,13 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, "requires": { "has-flag": "^3.0.0" } } } }, - "@babel/parser": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", - "dev": true - }, - "@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-bigint": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", - "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.12.13" - } - }, - "@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", - "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-jsx": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz", - "integrity": "sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.22.5" - } - }, - "@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-typescript": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz", - "integrity": "sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.22.5" - } - }, - "@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" - } - }, - "@babel/traverse": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", - "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.23.0", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.0", - "@babel/types": "^7.23.0", - "debug": "^4.1.0", - "globals": "^11.1.0" - }, - "dependencies": { - "globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true - } - } - }, - "@babel/types": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", - "dev": true, - "requires": { - "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.20", - "to-fast-properties": "^2.0.0" - } - }, - "@bcoe/v8-coverage": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true - }, "@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", @@ -13099,16 +12500,16 @@ "optional": true }, "@commitlint/cli": { - "version": "20.5.0", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-20.5.0.tgz", - "integrity": "sha512-yNkyN/tuKTJS3wdVfsZ2tXDM4G4Gi7z+jW54Cki8N8tZqwKBltbIvUUrSbT4hz1bhW/h0CdR+5sCSpXD+wMKaQ==", + "version": "20.4.3", + "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-20.4.3.tgz", + "integrity": "sha512-Z37EMoDT7+Upg500vlr/vZrgRsb6Xc5JAA3Tv7BYbobnN/ZpqUeZnSLggBg2+1O+NptRDtyujr2DD1CPV2qwhA==", "dev": true, "requires": { - "@commitlint/format": "^20.5.0", - "@commitlint/lint": "^20.5.0", - "@commitlint/load": "^20.5.0", - "@commitlint/read": "^20.5.0", - "@commitlint/types": "^20.5.0", + "@commitlint/format": "^20.4.3", + "@commitlint/lint": "^20.4.3", + "@commitlint/load": "^20.4.3", + "@commitlint/read": "^20.4.3", + "@commitlint/types": "^20.4.3", "tinyexec": "^1.0.0", "yargs": "^17.0.0" }, @@ -13122,9 +12523,9 @@ } }, "@commitlint/config-angular": { - "version": "20.5.0", - "resolved": "https://registry.npmjs.org/@commitlint/config-angular/-/config-angular-20.5.0.tgz", - "integrity": "sha512-AZ8foxHb8VBCpZywnIFxpXgrK6VMizZ957vlz8UEyaMZEzvP0F+RtQmTijHnVPaPVk/scS6EDp0/1sy1UszXoQ==", + "version": "20.4.3", + "resolved": "https://registry.npmjs.org/@commitlint/config-angular/-/config-angular-20.4.3.tgz", + "integrity": "sha512-WawaRHilu/5ezf1YicqpQcWNzBY+Yn/+plHl2ZTN+9sdItrZSmC1oVeg4tSKeJPLFky2aFBp6rhs1y65uu83gA==", "dev": true, "requires": { "@commitlint/config-angular-type-enum": "^20.0.0" @@ -13349,118 +12750,224 @@ "resolved": "https://registry.npmjs.org/@conventional-changelog/git-client/-/git-client-2.6.0.tgz", "integrity": "sha512-T+uPDciKf0/ioNNDpMGc8FDsehJClZP0yR3Q5MN6wE/Y/1QZ7F+80OgznnTCOlMEG4AV0LvH2UJi3C/nBnaBUg==", "dev": true, - "requires": { - "@simple-libs/child-process-utils": "^1.0.0", - "@simple-libs/stream-utils": "^1.2.0", - "semver": "^7.5.2" - } + "requires": { + "@simple-libs/child-process-utils": "^1.0.0", + "@simple-libs/stream-utils": "^1.2.0", + "semver": "^7.5.2" + } + }, + "@emnapi/core": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz", + "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==", + "dev": true, + "optional": true, + "requires": { + "@emnapi/wasi-threads": "1.2.1", + "tslib": "^2.4.0" + } + }, + "@emnapi/runtime": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz", + "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==", + "dev": true, + "optional": true, + "requires": { + "tslib": "^2.4.0" + } + }, + "@emnapi/wasi-threads": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz", + "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==", + "dev": true, + "optional": true, + "requires": { + "tslib": "^2.4.0" + } + }, + "@esbuild/aix-ppc64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz", + "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==", + "dev": true, + "optional": true + }, + "@esbuild/android-arm": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz", + "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==", + "dev": true, + "optional": true + }, + "@esbuild/android-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz", + "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==", + "dev": true, + "optional": true + }, + "@esbuild/android-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz", + "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz", + "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz", + "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz", + "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz", + "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz", + "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz", + "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ia32": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz", + "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==", + "dev": true, + "optional": true + }, + "@esbuild/linux-loong64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz", + "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==", + "dev": true, + "optional": true + }, + "@esbuild/linux-mips64el": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz", + "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ppc64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz", + "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==", + "dev": true, + "optional": true + }, + "@esbuild/linux-riscv64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz", + "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==", + "dev": true, + "optional": true + }, + "@esbuild/linux-s390x": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz", + "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz", + "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==", + "dev": true, + "optional": true }, - "@cspotcode/source-map-support": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", - "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "@esbuild/netbsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz", + "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==", "dev": true, - "requires": { - "@jridgewell/trace-mapping": "0.3.9" - }, - "dependencies": { - "@jridgewell/trace-mapping": { - "version": "0.3.9", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", - "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", - "dev": true, - "requires": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - } - } + "optional": true }, - "@eslint-community/eslint-utils": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", - "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", + "@esbuild/netbsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz", + "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==", "dev": true, - "requires": { - "eslint-visitor-keys": "^3.4.3" - } + "optional": true }, - "@eslint-community/regexpp": { - "version": "4.12.2", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", - "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", - "dev": true + "@esbuild/openbsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz", + "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==", + "dev": true, + "optional": true }, - "@eslint/config-array": { - "version": "0.23.4", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.4.tgz", - "integrity": "sha512-lf19F24LSMfF8weXvW5QEtnLqW70u7kgit5e9PSx0MsHAFclGd1T9ynvWEMDT1w5J4Qt54tomGeAhdoAku1Xow==", + "@esbuild/openbsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz", + "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==", "dev": true, - "requires": { - "@eslint/object-schema": "^3.0.4", - "debug": "^4.3.1", - "minimatch": "^10.2.4" - }, - "dependencies": { - "balanced-match": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", - "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", - "dev": true - }, - "brace-expansion": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", - "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", - "dev": true, - "requires": { - "balanced-match": "^4.0.2" - } - }, - "minimatch": { - "version": "10.2.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", - "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", - "dev": true, - "requires": { - "brace-expansion": "^5.0.5" - } - } - } + "optional": true }, - "@eslint/config-helpers": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.5.4.tgz", - "integrity": "sha512-jJhqiY3wPMlWWO3370M86CPJ7pt8GmEwSLglMfQhjXal07RCvhmU0as4IuUEW5SJeunfItiEetHmSxCCe9lDBg==", + "@esbuild/openharmony-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz", + "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==", "dev": true, - "requires": { - "@eslint/core": "^1.2.0" - } + "optional": true }, - "@eslint/core": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.0.tgz", - "integrity": "sha512-8FTGbNzTvmSlc4cZBaShkC6YvFMG0riksYWRFKXztqVdXaQbcZLXlFbSpC05s70sGEsXAw0qwhx69JiW7hQS7A==", + "@esbuild/sunos-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz", + "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==", "dev": true, - "requires": { - "@types/json-schema": "^7.0.15" - } + "optional": true }, - "@eslint/object-schema": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.4.tgz", - "integrity": "sha512-55lO/7+Yp0ISKRP0PsPtNTeNGapXaO085aELZmWCVc5SH3jfrqpuU6YgOdIxMS99ZHkQN1cXKE+cdIqwww9ptw==", - "dev": true + "@esbuild/win32-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz", + "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==", + "dev": true, + "optional": true }, - "@eslint/plugin-kit": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.0.tgz", - "integrity": "sha512-ejvBr8MQCbVsWNZnCwDXjUKq40MDmHalq7cJ6e9s/qzTUFIIo/afzt1Vui9T97FM/V/pN4YsFVoed5NIa96RDg==", + "@esbuild/win32-ia32": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz", + "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==", "dev": true, - "requires": { - "@eslint/core": "^1.2.0", - "levn": "^0.4.1" - } + "optional": true + }, + "@esbuild/win32-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz", + "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==", + "dev": true, + "optional": true }, "@gulpjs/messages": { "version": "1.1.0", @@ -13477,58 +12984,111 @@ "is-negated-glob": "^1.0.0" } }, - "@humanfs/core": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", - "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", - "dev": true - }, - "@humanfs/node": { - "version": "0.16.6", - "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", - "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", - "dev": true, - "requires": { - "@humanfs/core": "^0.19.1", - "@humanwhocodes/retry": "^0.3.0" - } - }, - "@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", - "dev": true - }, - "@humanwhocodes/retry": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", - "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", - "dev": true - }, "@inquirer/ansi": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz", "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==" }, "@inquirer/checkbox": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.2.tgz", - "integrity": "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-5.1.3.tgz", + "integrity": "sha512-+G7I8CT+EHv/hasNfUl3P37DVoMoZfpA+2FXmM54dA8MxYle1YqucxbacxHalw1iAFSdKNEDTGNV7F+j1Ldqcg==", "requires": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" + "@inquirer/ansi": "^2.0.5", + "@inquirer/core": "^11.1.8", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5" + }, + "dependencies": { + "@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==" + }, + "@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "requires": { + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" + } + }, + "@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==" + }, + "@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==" + }, + "mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==" + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } } }, "@inquirer/confirm": { - "version": "5.1.21", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.21.tgz", - "integrity": "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==", + "version": "6.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.0.11.tgz", + "integrity": "sha512-pTpHjg0iEIRMYV/7oCZUMf27/383E6Wyhfc/MY+AVQGEoUobffIYWOK9YLP2XFRGz/9i6WlTQh1CkFVIo2Y7XA==", "requires": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" + }, + "dependencies": { + "@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==" + }, + "@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "requires": { + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" + } + }, + "@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==" + }, + "@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==" + }, + "mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==" + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } } }, "@inquirer/core": { @@ -13554,479 +13114,451 @@ } }, "@inquirer/editor": { - "version": "4.2.23", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.23.tgz", - "integrity": "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==", - "requires": { - "@inquirer/core": "^10.3.2", - "@inquirer/external-editor": "^1.0.3", - "@inquirer/type": "^3.0.10" - } - }, - "@inquirer/expand": { - "version": "4.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.23.tgz", - "integrity": "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==", - "requires": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - } - }, - "@inquirer/external-editor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", - "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", - "requires": { - "chardet": "^2.1.1", - "iconv-lite": "^0.7.0" - } - }, - "@inquirer/figures": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", - "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==" - }, - "@inquirer/input": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.1.tgz", - "integrity": "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==", - "requires": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" - } - }, - "@inquirer/number": { - "version": "3.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.23.tgz", - "integrity": "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==", - "requires": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" - } - }, - "@inquirer/password": { - "version": "4.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.23.tgz", - "integrity": "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==", - "requires": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" - } - }, - "@inquirer/prompts": { - "version": "7.10.1", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.10.1.tgz", - "integrity": "sha512-Dx/y9bCQcXLI5ooQ5KyvA4FTgeo2jYj/7plWfV5Ak5wDPKQZgudKez2ixyfz7tKXzcJciTxqLeK7R9HItwiByg==", - "requires": { - "@inquirer/checkbox": "^4.3.2", - "@inquirer/confirm": "^5.1.21", - "@inquirer/editor": "^4.2.23", - "@inquirer/expand": "^4.0.23", - "@inquirer/input": "^4.3.1", - "@inquirer/number": "^3.0.23", - "@inquirer/password": "^4.0.23", - "@inquirer/rawlist": "^4.1.11", - "@inquirer/search": "^3.2.2", - "@inquirer/select": "^4.4.2" - } - }, - "@inquirer/rawlist": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.11.tgz", - "integrity": "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==", - "requires": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - } - }, - "@inquirer/search": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.2.tgz", - "integrity": "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==", - "requires": { - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - } - }, - "@inquirer/select": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.2.tgz", - "integrity": "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==", - "requires": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - } - }, - "@inquirer/type": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", - "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==", - "requires": {} - }, - "@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", - "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", - "dev": true, + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-5.1.0.tgz", + "integrity": "sha512-6wlkYl65Qfayy48gPCfU4D7li6KCAGN79mLXa/tYHZH99OfZ820yY+HA+DgE88r8YwwgeuY6PQgNqMeK6LuMmw==", "requires": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" + "@inquirer/core": "^11.1.8", + "@inquirer/external-editor": "^3.0.0", + "@inquirer/type": "^4.0.5" }, "dependencies": { - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, + "@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==" + }, + "@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", "requires": { - "sprintf-js": "~1.0.2" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" } }, - "find-up": { + "@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==" + }, + "@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==" + }, + "mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==" + }, + "signal-exit": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } + } + }, + "@inquirer/expand": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-5.0.12.tgz", + "integrity": "sha512-vOfrB33b7YIZfDauXS8vNNz2Z86FozTZLIt7e+7/dCaPJ1RXZsHCuI9TlcERzEUq57vkM+UdnBgxP0rFd23JYQ==", + "requires": { + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" + }, + "dependencies": { + "@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==" }, - "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dev": true, + "@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" } }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } + "@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==" }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } + "@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==" + }, + "mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==" }, - "p-locate": { + "signal-exit": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" } } }, - "@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "dev": true - }, - "@jest/console": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", - "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", - "dev": true, - "requires": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0" - } - }, - "@jest/core": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", - "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", - "dev": true, - "requires": { - "@jest/console": "^29.7.0", - "@jest/reporters": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.7.0", - "jest-config": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-resolve-dependencies": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "jest-watcher": "^29.7.0", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "@jest/environment": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", - "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", - "dev": true, - "requires": { - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0" - } - }, - "@jest/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", - "dev": true, - "requires": { - "expect": "^29.7.0", - "jest-snapshot": "^29.7.0" - } - }, - "@jest/expect-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", - "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", - "dev": true, + "@inquirer/external-editor": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-3.0.0.tgz", + "integrity": "sha512-lDSwMgg+M5rq6JKBYaJwSX6T9e/HK2qqZ1oxmOwn4AQoJE5D+7TumsxLGC02PWS//rkIVqbZv3XA3ejsc9FYvg==", "requires": { - "jest-get-type": "^29.6.3" + "chardet": "^2.1.1", + "iconv-lite": "^0.7.2" } }, - "@jest/fake-timers": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", - "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", - "dev": true, - "requires": { - "@jest/types": "^29.6.3", - "@sinonjs/fake-timers": "^10.0.2", - "@types/node": "*", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - } + "@inquirer/figures": { + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", + "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==" }, - "@jest/globals": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", - "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", - "dev": true, + "@inquirer/input": { + "version": "5.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-5.0.11.tgz", + "integrity": "sha512-twUWidn4ocPO8qi6fRM7tNWt7W1FOnOZqQ+/+PsfLUacMR5rFLDPK9ql0nBPwxi0oELbo8T5NhRs8B2+qQEqFQ==", "requires": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/types": "^29.6.3", - "jest-mock": "^29.7.0" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" + }, + "dependencies": { + "@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==" + }, + "@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "requires": { + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" + } + }, + "@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==" + }, + "@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==" + }, + "mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==" + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } } }, - "@jest/reporters": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", - "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", - "dev": true, + "@inquirer/number": { + "version": "4.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-4.0.11.tgz", + "integrity": "sha512-Vscmim9TCksQsfjPtka/JwPUcbLhqWYrgfPf1cHrCm24X/F2joFwnageD50yMKsaX14oNGOyKf/RNXAFkNjWpA==", "requires": { - "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "@types/node": "*", - "chalk": "^4.0.0", - "collect-v8-coverage": "^1.0.0", - "exit": "^0.1.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-instrument": "^6.0.0", - "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^4.0.0", - "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "slash": "^3.0.0", - "string-length": "^4.0.1", - "strip-ansi": "^6.0.0", - "v8-to-istanbul": "^9.0.1" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, "dependencies": { - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, + "@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==" + }, + "@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" } }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true + "@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==" }, - "jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", - "dev": true, - "requires": { - "@types/node": "*", - "jest-util": "^29.7.0", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - } + "@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==" }, - "supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } + "mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==" + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" } } }, - "@jest/schemas": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", - "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", - "dev": true, + "@inquirer/password": { + "version": "5.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-5.0.11.tgz", + "integrity": "sha512-9KZFeRaNHIcejtPb0wN4ddFc7EvobVoAFa049eS3LrDZFxI8O7xUXiITEOinBzkZFAIwY5V4yzQae/QfO9cbbg==", "requires": { - "@sinclair/typebox": "^0.27.8" + "@inquirer/ansi": "^2.0.5", + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" + }, + "dependencies": { + "@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==" + }, + "@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "requires": { + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" + } + }, + "@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==" + }, + "@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==" + }, + "mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==" + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } } }, - "@jest/source-map": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", - "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", - "dev": true, + "@inquirer/prompts": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-8.3.0.tgz", + "integrity": "sha512-JAj66kjdH/F1+B7LCigjARbwstt3SNUOSzMdjpsvwJmzunK88gJeXmcm95L9nw1KynvFVuY4SzXh/3Y0lvtgSg==", "requires": { - "@jridgewell/trace-mapping": "^0.3.18", - "callsites": "^3.0.0", - "graceful-fs": "^4.2.9" + "@inquirer/checkbox": "^5.1.0", + "@inquirer/confirm": "^6.0.8", + "@inquirer/editor": "^5.0.8", + "@inquirer/expand": "^5.0.8", + "@inquirer/input": "^5.0.8", + "@inquirer/number": "^4.0.8", + "@inquirer/password": "^5.0.8", + "@inquirer/rawlist": "^5.2.4", + "@inquirer/search": "^4.1.4", + "@inquirer/select": "^5.1.0" } }, - "@jest/test-result": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", - "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", - "dev": true, + "@inquirer/rawlist": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-5.2.7.tgz", + "integrity": "sha512-AqRMiD9+uE1lskDPrdqHwrV/EUmxKEBLX44SR7uxK3vD2413AmVfE5EQaPeNzYf5Pq5SitHJDYUFVF0poIr09w==", "requires": { - "@jest/console": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "collect-v8-coverage": "^1.0.0" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" + }, + "dependencies": { + "@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==" + }, + "@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "requires": { + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" + } + }, + "@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==" + }, + "@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==" + }, + "mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==" + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } } }, - "@jest/test-sequencer": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", - "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", - "dev": true, + "@inquirer/search": { + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-4.1.7.tgz", + "integrity": "sha512-1y7+0N65AWk5RdlXH/Kn13txf3IjIQ7OEfhCEkDTU+h5wKMLq8DUF3P6z+/kLSxDGDtQT1dRBWEUC3o/VvImsQ==", "requires": { - "@jest/test-result": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "slash": "^3.0.0" + "@inquirer/core": "^11.1.8", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5" + }, + "dependencies": { + "@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==" + }, + "@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", + "requires": { + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" + } + }, + "@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==" + }, + "@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==" + }, + "mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==" + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } } }, - "@jest/transform": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", - "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", - "dev": true, + "@inquirer/select": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-5.1.3.tgz", + "integrity": "sha512-zYyqWgGQi3NhBcNq4Isc5rB3oEdQEh1Q/EcAnOW0FK4MpnXWkvSBYgA4cYrTM4A9UB573omouZbnL9JJ74Mq3A==", "requires": { - "@babel/core": "^7.11.6", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "babel-plugin-istanbul": "^6.1.1", - "chalk": "^4.0.0", - "convert-source-map": "^2.0.0", - "fast-json-stable-stringify": "^2.1.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "micromatch": "^4.0.4", - "pirates": "^4.0.4", - "slash": "^3.0.0", - "write-file-atomic": "^4.0.2" + "@inquirer/ansi": "^2.0.5", + "@inquirer/core": "^11.1.8", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5" }, "dependencies": { - "write-file-atomic": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", - "dev": true, + "@inquirer/ansi": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==" + }, + "@inquirer/core": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", "requires": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" } + }, + "@inquirer/figures": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==" + }, + "@inquirer/type": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==" + }, + "mute-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==" + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" } } }, - "@jest/types": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", - "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", - "dev": true, - "requires": { - "@jest/schemas": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^17.0.8", - "chalk": "^4.0.0" - } + "@inquirer/type": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", + "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==" }, "@jridgewell/gen-mapping": { "version": "0.3.8", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", + "dev": true, "requires": { "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -14036,94 +13568,115 @@ "@jridgewell/resolve-uri": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==" + "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "dev": true }, "@jridgewell/set-array": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", - "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==" + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "dev": true }, "@jridgewell/source-map": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", + "dev": true, "requires": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25" } }, "@jridgewell/sourcemap-codec": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==" }, "@jridgewell/trace-mapping": { "version": "0.3.25", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dev": true, "requires": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "@module-federation/error-codes": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@module-federation/error-codes/-/error-codes-0.22.0.tgz", + "integrity": "sha512-xF9SjnEy7vTdx+xekjPCV5cIHOGCkdn3pIxo9vU7gEZMIw0SvAEdsy6Uh17xaCpm8V0FWvR0SZoK9Ik6jGOaug==", + "dev": true + }, + "@module-federation/runtime": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@module-federation/runtime/-/runtime-0.22.0.tgz", + "integrity": "sha512-38g5iPju2tPC3KHMPxRKmy4k4onNp6ypFPS1eKGsNLUkXgHsPMBFqAjDw96iEcjri91BrahG4XcdyKi97xZzlA==", + "dev": true, + "requires": { + "@module-federation/error-codes": "0.22.0", + "@module-federation/runtime-core": "0.22.0", + "@module-federation/sdk": "0.22.0" + } + }, + "@module-federation/runtime-core": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@module-federation/runtime-core/-/runtime-core-0.22.0.tgz", + "integrity": "sha512-GR1TcD6/s7zqItfhC87zAp30PqzvceoeDGYTgF3Vx2TXvsfDrhP6Qw9T4vudDQL3uJRne6t7CzdT29YyVxlgIA==", + "dev": true, + "requires": { + "@module-federation/error-codes": "0.22.0", + "@module-federation/sdk": "0.22.0" + } + }, + "@module-federation/runtime-tools": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@module-federation/runtime-tools/-/runtime-tools-0.22.0.tgz", + "integrity": "sha512-4ScUJ/aUfEernb+4PbLdhM/c60VHl698Gn1gY21m9vyC1Ucn69fPCA1y2EwcCB7IItseRMoNhdcWQnzt/OPCNA==", + "dev": true, + "requires": { + "@module-federation/runtime": "0.22.0", + "@module-federation/webpack-bundler-runtime": "0.22.0" + } + }, + "@module-federation/sdk": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@module-federation/sdk/-/sdk-0.22.0.tgz", + "integrity": "sha512-x4aFNBKn2KVQRuNVC5A7SnrSCSqyfIWmm1DvubjbO9iKFe7ith5niw8dqSFBekYBg2Fwy+eMg4sEFNVvCAdo6g==", + "dev": true + }, + "@module-federation/webpack-bundler-runtime": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/@module-federation/webpack-bundler-runtime/-/webpack-bundler-runtime-0.22.0.tgz", + "integrity": "sha512-aM8gCqXu+/4wBmJtVeMeeMN5guw3chf+2i6HajKtQv7SJfxV/f4IyNQJUeUQu9HfiAZHjqtMV5Lvq/Lvh8LdyA==", + "dev": true, + "requires": { + "@module-federation/runtime": "0.22.0", + "@module-federation/sdk": "0.22.0" + } + }, + "@napi-rs/wasm-runtime": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.7.tgz", + "integrity": "sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==", + "dev": true, + "optional": true, + "requires": { + "@emnapi/core": "^1.5.0", + "@emnapi/runtime": "^1.5.0", + "@tybys/wasm-util": "^0.10.1" + } + }, "@nestjs/schematics": { - "version": "11.0.10", - "resolved": "https://registry.npmjs.org/@nestjs/schematics/-/schematics-11.0.10.tgz", - "integrity": "sha512-q9lr0wGwgBHLarD4uno3XiW4JX60WPlg2VTgbqPHl/6bT4u1IEEzj+q9Tad3bVnqL5mlDF3vrZ2tj+x13CJpmw==", + "version": "12.0.0-alpha.7", + "resolved": "https://registry.npmjs.org/@nestjs/schematics/-/schematics-12.0.0-alpha.7.tgz", + "integrity": "sha512-uEZbBXKUtlPyXWQYG5AUFP7MsDBgOiCHrX8IuR/epW2OqHR1782fLwTx1h05Qnh1kl+ldI2wNUbF4Q1hk1yM6Q==", "requires": { - "@angular-devkit/core": "19.2.23", - "@angular-devkit/schematics": "19.2.23", - "comment-json": "4.6.2", - "jsonc-parser": "3.3.1", - "pluralize": "8.0.0" - }, - "dependencies": { - "@angular-devkit/core": { - "version": "19.2.23", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-19.2.23.tgz", - "integrity": "sha512-RazHPQkUEsNU/OZ75w9UeHxGFMthRiuAW2B/uA7eXExBj/1meHrrBfoCA56ujW2GUxVjRtSrMjylKh4R4meiYA==", - "requires": { - "ajv": "8.18.0", - "ajv-formats": "3.0.1", - "jsonc-parser": "3.3.1", - "picomatch": "4.0.4", - "rxjs": "7.8.1", - "source-map": "0.7.4" - } - }, - "@angular-devkit/schematics": { - "version": "19.2.23", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-19.2.23.tgz", - "integrity": "sha512-Jzs7YM4X6azmHU7Mw5tQSPMuvaqYS8SLnZOJbtiXCy1JyuW9bm/WBBecNHMiuZ8LHXKhvQ6AVX1tKrzF6uiDmw==", - "requires": { - "@angular-devkit/core": "19.2.23", - "jsonc-parser": "3.3.1", - "magic-string": "0.30.17", - "ora": "5.4.1", - "rxjs": "7.8.1" - } - }, - "ajv": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", - "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", - "requires": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, - "picomatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", - "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==" - } + "@angular-devkit/core": "21.2.1", + "@angular-devkit/schematics": "21.2.1", + "comment-json": "4.6.2", + "jsonc-parser": "3.3.1", + "pluralize": "8.0.0" } }, "@nodeutils/defaults-deep": { @@ -14196,8 +13749,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-6.0.0.tgz", "integrity": "sha512-UkOzeEN3W91/eBq9sPZNQ7sUBvYCqYbrrD8gTbBuGtHEuycE4/awMXcYvx6sVYo7LypPhmQwwpUe4Yyu4QZN5Q==", - "dev": true, - "requires": {} + "dev": true }, "@octokit/plugin-rest-endpoint-methods": { "version": "17.0.0", @@ -14251,12 +13803,428 @@ "@octokit/openapi-types": "^27.0.0" } }, + "@oxlint/binding-android-arm-eabi": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm-eabi/-/binding-android-arm-eabi-1.58.0.tgz", + "integrity": "sha512-1T7UN3SsWWxpWyWGn1cT3ASNJOo+pI3eUkmEl7HgtowapcV8kslYpFQcYn431VuxghXakPNlbjRwhqmR37PFOg==", + "dev": true, + "optional": true + }, + "@oxlint/binding-android-arm64": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm64/-/binding-android-arm64-1.58.0.tgz", + "integrity": "sha512-GryzujxuiRv2YFF7bRy8mKcxlbuAN+euVUtGJt9KKbLT8JBUIosamVhcthLh+VEr6KE6cjeVMAQxKAzJcoN7dg==", + "dev": true, + "optional": true + }, + "@oxlint/binding-darwin-arm64": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-arm64/-/binding-darwin-arm64-1.58.0.tgz", + "integrity": "sha512-7/bRSJIwl4GxeZL9rPZ11anNTyUO9epZrfEJH/ZMla3+/gbQ6xZixh9nOhsZ0QwsTW7/5J2A/fHbD1udC5DQQA==", + "dev": true, + "optional": true + }, + "@oxlint/binding-darwin-x64": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-x64/-/binding-darwin-x64-1.58.0.tgz", + "integrity": "sha512-EqdtJSiHweS2vfILNrpyJ6HUwpEq2g7+4Zx1FPi4hu3Hu7tC3znF6ufbXO8Ub2LD4mGgznjI7kSdku9NDD1Mkg==", + "dev": true, + "optional": true + }, + "@oxlint/binding-freebsd-x64": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-freebsd-x64/-/binding-freebsd-x64-1.58.0.tgz", + "integrity": "sha512-VQt5TH4M42mY20F545G637RKxV/yjwVtKk2vfXuazfReSIiuvWBnv+FVSvIV5fKVTJNjt3GSJibh6JecbhGdBw==", + "dev": true, + "optional": true + }, + "@oxlint/binding-linux-arm-gnueabihf": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.58.0.tgz", + "integrity": "sha512-fBYcj4ucwpAtjJT3oeBdFBYKvNyjRSK+cyuvBOTQjh0jvKp4yeA4S/D0IsCHus/VPaNG5L48qQkh+Vjy3HL2/Q==", + "dev": true, + "optional": true + }, + "@oxlint/binding-linux-arm-musleabihf": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-1.58.0.tgz", + "integrity": "sha512-0BeuFfwlUHlJ1xpEdSD1YO3vByEFGPg36uLjK1JgFaxFb4W6w17F8ET8sz5cheZ4+x5f2xzdnRrrWv83E3Yd8g==", + "dev": true, + "optional": true + }, + "@oxlint/binding-linux-arm64-gnu": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.58.0.tgz", + "integrity": "sha512-TXlZgnPTlxrQzxG9ZXU7BNwx1Ilrr17P3GwZY0If2EzrinqRH3zXPc3HrRcBJgcsoZNMuNL5YivtkJYgp467UQ==", + "dev": true, + "optional": true + }, + "@oxlint/binding-linux-arm64-musl": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.58.0.tgz", + "integrity": "sha512-zSoYRo5dxHLcUx93Stl2hW3hSNjPt99O70eRVWt5A1zwJ+FPjeCCANCD2a9R4JbHsdcl11TIQOjyigcRVOH2mw==", + "dev": true, + "optional": true + }, + "@oxlint/binding-linux-ppc64-gnu": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.58.0.tgz", + "integrity": "sha512-NQ0U/lqxH2/VxBYeAIvMNUK1y0a1bJ3ZicqkF2c6wfakbEciP9jvIE4yNzCFpZaqeIeRYaV7AVGqEO1yrfVPjA==", + "dev": true, + "optional": true + }, + "@oxlint/binding-linux-riscv64-gnu": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-1.58.0.tgz", + "integrity": "sha512-X9J+kr3gIC9FT8GuZt0ekzpNUtkBVzMVU4KiKDSlocyQuEgi3gBbXYN8UkQiV77FTusLDPsovjo95YedHr+3yg==", + "dev": true, + "optional": true + }, + "@oxlint/binding-linux-riscv64-musl": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-1.58.0.tgz", + "integrity": "sha512-CDze3pi1OO3Wvb/QsXjmLEY4XPKGM6kIo82ssNOgmcl1IdndF9VSGAE38YLhADWmOac7fjqhBw82LozuUVxD0Q==", + "dev": true, + "optional": true + }, + "@oxlint/binding-linux-s390x-gnu": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.58.0.tgz", + "integrity": "sha512-b/89glbxFaEAcA6Uf1FvCNecBJEgcUTsV1quzrqXM/o4R1M4u+2KCVuyGCayN2UpsRWtGGLb+Ver0tBBpxaPog==", + "dev": true, + "optional": true + }, + "@oxlint/binding-linux-x64-gnu": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.58.0.tgz", + "integrity": "sha512-0/yYpkq9VJFCEcuRlrViGj8pJUFFvNS4EkEREaN7CB1EcLXJIaVSSa5eCihwBGXtOZxhnblWgxks9juRdNQI7w==", + "dev": true, + "optional": true + }, + "@oxlint/binding-linux-x64-musl": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-musl/-/binding-linux-x64-musl-1.58.0.tgz", + "integrity": "sha512-hr6FNvmcAXiH+JxSvaJ4SJ1HofkdqEElXICW9sm3/Rd5eC3t7kzvmLyRAB3NngKO2wzXRCAm4Z/mGWfrsS4X8w==", + "dev": true, + "optional": true + }, + "@oxlint/binding-openharmony-arm64": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-openharmony-arm64/-/binding-openharmony-arm64-1.58.0.tgz", + "integrity": "sha512-R+O368VXgRql1K6Xar+FEo7NEwfo13EibPMoTv3sesYQedRXd6m30Dh/7lZMxnrQVFfeo4EOfYIP4FpcgWQNHg==", + "dev": true, + "optional": true + }, + "@oxlint/binding-win32-arm64-msvc": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.58.0.tgz", + "integrity": "sha512-Q0FZiAY/3c4YRj4z3h9K1PgaByrifrfbBoODSeX7gy97UtB7pySPUQfC2B/GbxWU6k7CzQrRy5gME10PltLAFQ==", + "dev": true, + "optional": true + }, + "@oxlint/binding-win32-ia32-msvc": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.58.0.tgz", + "integrity": "sha512-Y8FKBABrSPp9H0QkRLHDHOSUgM/309a3IvOVgPcVxYcX70wxJrk608CuTg7w+C6vEd724X5wJoNkBcGYfH7nNQ==", + "dev": true, + "optional": true + }, + "@oxlint/binding-win32-x64-msvc": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.58.0.tgz", + "integrity": "sha512-bCn5rbiz5My+Bj7M09sDcnqW0QJyINRVxdZ65x1/Y2tGrMwherwK/lpk+HRQCKvXa8pcaQdF5KY5j54VGZLwNg==", + "dev": true, + "optional": true + }, "@phun-ky/typeof": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@phun-ky/typeof/-/typeof-2.0.3.tgz", "integrity": "sha512-oeQJs1aa8Ghke8JIK9yuq/+KjMiaYeDZ38jx7MhkXncXlUKjqQ3wEm2X3qCKyjo+ZZofZj+WsEEiqkTtRuE2xQ==", "dev": true }, + "@rollup/rollup-android-arm-eabi": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.1.tgz", + "integrity": "sha512-d6FinEBLdIiK+1uACUttJKfgZREXrF0Qc2SmLII7W2AD8FfiZ9Wjd+rD/iRuf5s5dWrr1GgwXCvPqOuDquOowA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-android-arm64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.1.tgz", + "integrity": "sha512-YjG/EwIDvvYI1YvYbHvDz/BYHtkY4ygUIXHnTdLhG+hKIQFBiosfWiACWortsKPKU/+dUwQQCKQM3qrDe8c9BA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-darwin-arm64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.1.tgz", + "integrity": "sha512-mjCpF7GmkRtSJwon+Rq1N8+pI+8l7w5g9Z3vWj4T7abguC4Czwi3Yu/pFaLvA3TTeMVjnu3ctigusqWUfjZzvw==", + "dev": true, + "optional": true + }, + "@rollup/rollup-darwin-x64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.1.tgz", + "integrity": "sha512-haZ7hJ1JT4e9hqkoT9R/19XW2QKqjfJVv+i5AGg57S+nLk9lQnJ1F/eZloRO3o9Scy9CM3wQ9l+dkXtcBgN5Ew==", + "dev": true, + "optional": true + }, + "@rollup/rollup-freebsd-arm64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.1.tgz", + "integrity": "sha512-czw90wpQq3ZsAVBlinZjAYTKduOjTywlG7fEeWKUA7oCmpA8xdTkxZZlwNJKWqILlq0wehoZcJYfBvOyhPTQ6w==", + "dev": true, + "optional": true + }, + "@rollup/rollup-freebsd-x64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.1.tgz", + "integrity": "sha512-KVB2rqsxTHuBtfOeySEyzEOB7ltlB/ux38iu2rBQzkjbwRVlkhAGIEDiiYnO2kFOkJp+Z7pUXKyrRRFuFUKt+g==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.1.tgz", + "integrity": "sha512-L+34Qqil+v5uC0zEubW7uByo78WOCIrBvci69E7sFASRl0X7b/MB6Cqd1lky/CtcSVTydWa2WZwFuWexjS5o6g==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-arm-musleabihf": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.1.tgz", + "integrity": "sha512-n83O8rt4v34hgFzlkb1ycniJh7IR5RCIqt6mz1VRJD6pmhRi0CXdmfnLu9dIUS6buzh60IvACM842Ffb3xd6Gg==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-arm64-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.1.tgz", + "integrity": "sha512-Nql7sTeAzhTAja3QXeAI48+/+GjBJ+QmAH13snn0AJSNL50JsDqotyudHyMbO2RbJkskbMbFJfIJKWA6R1LCJQ==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-arm64-musl": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.1.tgz", + "integrity": "sha512-+pUymDhd0ys9GcKZPPWlFiZ67sTWV5UU6zOJat02M1+PiuSGDziyRuI/pPue3hoUwm2uGfxdL+trT6Z9rxnlMA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-loong64-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.1.tgz", + "integrity": "sha512-VSvgvQeIcsEvY4bKDHEDWcpW4Yw7BtlKG1GUT4FzBUlEKQK0rWHYBqQt6Fm2taXS+1bXvJT6kICu5ZwqKCnvlQ==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-loong64-musl": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.1.tgz", + "integrity": "sha512-4LqhUomJqwe641gsPp6xLfhqWMbQV04KtPp7/dIp0nzPxAkNY1AbwL5W0MQpcalLYk07vaW9Kp1PBhdpZYYcEw==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-ppc64-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.1.tgz", + "integrity": "sha512-tLQQ9aPvkBxOc/EUT6j3pyeMD6Hb8QF2BTBnCQWP/uu1lhc9AIrIjKnLYMEroIz/JvtGYgI9dF3AxHZNaEH0rw==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-ppc64-musl": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.1.tgz", + "integrity": "sha512-RMxFhJwc9fSXP6PqmAz4cbv3kAyvD1etJFjTx4ONqFP9DkTkXsAMU4v3Vyc5BgzC+anz7nS/9tp4obsKfqkDHg==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-riscv64-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.1.tgz", + "integrity": "sha512-QKgFl+Yc1eEk6MmOBfRHYF6lTxiiiV3/z/BRrbSiW2I7AFTXoBFvdMEyglohPj//2mZS4hDOqeB0H1ACh3sBbg==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-riscv64-musl": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.1.tgz", + "integrity": "sha512-RAjXjP/8c6ZtzatZcA1RaQr6O1TRhzC+adn8YZDnChliZHviqIjmvFwHcxi4JKPSDAt6Uhf/7vqcBzQJy0PDJg==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-s390x-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.1.tgz", + "integrity": "sha512-wcuocpaOlaL1COBYiA89O6yfjlp3RwKDeTIA0hM7OpmhR1Bjo9j31G1uQVpDlTvwxGn2nQs65fBFL5UFd76FcQ==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-x64-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.1.tgz", + "integrity": "sha512-77PpsFQUCOiZR9+LQEFg9GClyfkNXj1MP6wRnzYs0EeWbPcHs02AXu4xuUbM1zhwn3wqaizle3AEYg5aeoohhg==", + "dev": true, + "optional": true + }, + "@rollup/rollup-linux-x64-musl": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.1.tgz", + "integrity": "sha512-5cIATbk5vynAjqqmyBjlciMJl1+R/CwX9oLk/EyiFXDWd95KpHdrOJT//rnUl4cUcskrd0jCCw3wpZnhIHdD9w==", + "dev": true, + "optional": true + }, + "@rollup/rollup-openbsd-x64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.1.tgz", + "integrity": "sha512-cl0w09WsCi17mcmWqqglez9Gk8isgeWvoUZ3WiJFYSR3zjBQc2J5/ihSjpl+VLjPqjQ/1hJRcqBfLjssREQILw==", + "dev": true, + "optional": true + }, + "@rollup/rollup-openharmony-arm64": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.1.tgz", + "integrity": "sha512-4Cv23ZrONRbNtbZa37mLSueXUCtN7MXccChtKpUnQNgF010rjrjfHx3QxkS2PI7LqGT5xXyYs1a7LbzAwT0iCA==", + "dev": true, + "optional": true + }, + "@rollup/rollup-win32-arm64-msvc": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.1.tgz", + "integrity": "sha512-i1okWYkA4FJICtr7KpYzFpRTHgy5jdDbZiWfvny21iIKky5YExiDXP+zbXzm3dUcFpkEeYNHgQ5fuG236JPq0g==", + "dev": true, + "optional": true + }, + "@rollup/rollup-win32-ia32-msvc": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.1.tgz", + "integrity": "sha512-u09m3CuwLzShA0EYKMNiFgcjjzwqtUMLmuCJLeZWjjOYA3IT2Di09KaxGBTP9xVztWyIWjVdsB2E9goMjZvTQg==", + "dev": true, + "optional": true + }, + "@rollup/rollup-win32-x64-gnu": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.1.tgz", + "integrity": "sha512-k+600V9Zl1CM7eZxJgMyTUzmrmhB/0XZnF4pRypKAlAgxmedUA+1v9R+XOFv56W4SlHEzfeMtzujLJD22Uz5zg==", + "dev": true, + "optional": true + }, + "@rollup/rollup-win32-x64-msvc": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.1.tgz", + "integrity": "sha512-lWMnixq/QzxyhTV6NjQJ4SFo1J6PvOX8vUx5Wb4bBPsEb+8xZ89Bz6kOXpfXj9ak9AHTQVQzlgzBEc1SyM27xQ==", + "dev": true, + "optional": true + }, + "@rspack/binding": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding/-/binding-1.7.11.tgz", + "integrity": "sha512-2MGdy2s2HimsDT444Bp5XnALzNRxuBNc7y0JzyuqKbHBywd4x2NeXyhWXXoxufaCFu5PBc9Qq9jyfjW2Aeh06Q==", + "dev": true, + "requires": { + "@rspack/binding-darwin-arm64": "1.7.11", + "@rspack/binding-darwin-x64": "1.7.11", + "@rspack/binding-linux-arm64-gnu": "1.7.11", + "@rspack/binding-linux-arm64-musl": "1.7.11", + "@rspack/binding-linux-x64-gnu": "1.7.11", + "@rspack/binding-linux-x64-musl": "1.7.11", + "@rspack/binding-wasm32-wasi": "1.7.11", + "@rspack/binding-win32-arm64-msvc": "1.7.11", + "@rspack/binding-win32-ia32-msvc": "1.7.11", + "@rspack/binding-win32-x64-msvc": "1.7.11" + } + }, + "@rspack/binding-darwin-arm64": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-arm64/-/binding-darwin-arm64-1.7.11.tgz", + "integrity": "sha512-oduECiZVqbO5zlVw+q7Vy65sJFth99fWPTyucwvLJJtJkPL5n17Uiql2cYP6Ijn0pkqtf1SXgK8WjiKLG5bIig==", + "dev": true, + "optional": true + }, + "@rspack/binding-darwin-x64": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-x64/-/binding-darwin-x64-1.7.11.tgz", + "integrity": "sha512-a1+TtTE9ap6RalgFi7FGIgkJP6O4Vy6ctv+9WGJy53E4kuqHR0RygzaiVxCI/GMc/vBT9vY23hyrpWb3d1vtXA==", + "dev": true, + "optional": true + }, + "@rspack/binding-linux-arm64-gnu": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.7.11.tgz", + "integrity": "sha512-P0QrGRPbTWu6RKWfN0bDtbnEps3rXH0MWIMreZABoUrVmNQKtXR6e73J3ub6a+di5s2+K0M2LJ9Bh2/H4UsDUA==", + "dev": true, + "optional": true + }, + "@rspack/binding-linux-arm64-musl": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.7.11.tgz", + "integrity": "sha512-6ky7R43VMjWwmx3Yx7Jl7faLBBMAgMDt+/bN35RgwjiPgsIByz65EwytUVuW9rikB43BGHvA/eqlnjLrUzNBqw==", + "dev": true, + "optional": true + }, + "@rspack/binding-linux-x64-gnu": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.7.11.tgz", + "integrity": "sha512-cuOJMfCOvb2Wgsry5enXJ3iT1FGUjdPqtGUBVupQlEG4ntSYsQ2PtF4wIDVasR3wdxC5nQbipOrDiN/u6fYsdQ==", + "dev": true, + "optional": true + }, + "@rspack/binding-linux-x64-musl": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-musl/-/binding-linux-x64-musl-1.7.11.tgz", + "integrity": "sha512-CoK37hva4AmHGh3VCsQXmGr40L36m1/AdnN5LEjUX6kx5rEH7/1nEBN6Ii72pejqDVvk9anEROmPDiPw10tpFg==", + "dev": true, + "optional": true + }, + "@rspack/binding-wasm32-wasi": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-wasm32-wasi/-/binding-wasm32-wasi-1.7.11.tgz", + "integrity": "sha512-OtrmnPUVJMxjNa3eDMfHyPdtlLRmmp/aIm0fQHlAOATbZvlGm12q7rhPW5BXTu1yh+1rQ1/uqvz+SzKEZXuJaQ==", + "dev": true, + "optional": true, + "requires": { + "@napi-rs/wasm-runtime": "1.0.7" + } + }, + "@rspack/binding-win32-arm64-msvc": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.7.11.tgz", + "integrity": "sha512-lObFW6e5lCWNgTBNwT//yiEDbsxm9QG4BYUojqeXxothuzJ/L6ibXz6+gLMvbOvLGV3nKgkXmx8GvT9WDKR0mA==", + "dev": true, + "optional": true + }, + "@rspack/binding-win32-ia32-msvc": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.7.11.tgz", + "integrity": "sha512-0pYGnZd8PPqNR68zQ8skamqNAXEA1sUfXuAdYcknIIRq2wsbiwFzIc0Pov1cIfHYab37G7sSIPBiOUdOWF5Ivw==", + "dev": true, + "optional": true + }, + "@rspack/binding-win32-x64-msvc": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.7.11.tgz", + "integrity": "sha512-EeQXayoQk/uBkI3pdoXfQBXNIUrADq56L3s/DFyM2pJeUDrWmhfIw2UFIGkYPTMSCo8F2JcdcGM32FGJrSnU0Q==", + "dev": true, + "optional": true + }, + "@rspack/core": { + "version": "1.7.11", + "resolved": "https://registry.npmjs.org/@rspack/core/-/core-1.7.11.tgz", + "integrity": "sha512-rsD9b+Khmot5DwCMiB3cqTQo53ioPG3M/A7BySu8+0+RS7GCxKm+Z+mtsjtG/vsu4Tn2tcqCdZtA3pgLoJB+ew==", + "dev": true, + "requires": { + "@module-federation/runtime-tools": "0.22.0", + "@rspack/binding": "1.7.11", + "@rspack/lite-tapable": "1.1.0" + } + }, + "@rspack/lite-tapable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rspack/lite-tapable/-/lite-tapable-1.1.0.tgz", + "integrity": "sha512-E2B0JhYFmVAwdDiG14+DW0Di4Ze4Jg10Pc4/lILUrd5DRCaklduz2OvJ5HYQ6G+hd+WTzqQb3QnDNfK4yvAFYw==", + "dev": true + }, "@sec-ant/readable-stream": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", @@ -14278,40 +14246,22 @@ "integrity": "sha512-KxXvfapcixpz6rVEB6HPjOUZT22yN6v0vI0urQSk1L8MlEWPDFCZkhw2xmkyoTGYeFw7tWTZd7e3lVzRZRN/EA==", "dev": true }, - "@sinclair/typebox": { - "version": "0.27.8", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", - "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", - "dev": true - }, "@sindresorhus/is": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-5.6.0.tgz", "integrity": "sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==", "dev": true }, - "@sinonjs/commons": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", - "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", - "dev": true, - "requires": { - "type-detect": "4.0.8" - } - }, - "@sinonjs/fake-timers": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", - "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", - "dev": true, - "requires": { - "@sinonjs/commons": "^3.0.0" - } + "@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "dev": true }, "@swc/cli": { - "version": "0.7.10", - "resolved": "https://registry.npmjs.org/@swc/cli/-/cli-0.7.10.tgz", - "integrity": "sha512-QQ36Q1VwGTT2YzvMeNe/j1x4DKS277DscNhWc57dIwQn//C+zAgvuSupMB/XkmYqPKQX+8hjn5/cHRJrMvWy0Q==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@swc/cli/-/cli-0.8.0.tgz", + "integrity": "sha512-vzUkYzlqLe9dC+B0ZIH62CzfSZOCTjIsmquYyyyi45JCm1xmRfLDKeEeMrEPPyTWnEEN84e4iVd49Tgqa+2GaA==", "dev": true, "requires": { "@swc/counter": "^0.1.3", @@ -14352,92 +14302,92 @@ } }, "@swc/core": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.15.11.tgz", - "integrity": "sha512-iLmLTodbYxU39HhMPaMUooPwO/zqJWvsqkrXv1ZI38rMb048p6N7qtAtTp37sw9NzSrvH6oli8EdDygo09IZ/w==", - "dev": true, - "requires": { - "@swc/core-darwin-arm64": "1.15.11", - "@swc/core-darwin-x64": "1.15.11", - "@swc/core-linux-arm-gnueabihf": "1.15.11", - "@swc/core-linux-arm64-gnu": "1.15.11", - "@swc/core-linux-arm64-musl": "1.15.11", - "@swc/core-linux-x64-gnu": "1.15.11", - "@swc/core-linux-x64-musl": "1.15.11", - "@swc/core-win32-arm64-msvc": "1.15.11", - "@swc/core-win32-ia32-msvc": "1.15.11", - "@swc/core-win32-x64-msvc": "1.15.11", + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.15.18.tgz", + "integrity": "sha512-z87aF9GphWp//fnkRsqvtY+inMVPgYW3zSlXH1kJFvRT5H/wiAn+G32qW5l3oEk63KSF1x3Ov0BfHCObAmT8RA==", + "dev": true, + "requires": { + "@swc/core-darwin-arm64": "1.15.18", + "@swc/core-darwin-x64": "1.15.18", + "@swc/core-linux-arm-gnueabihf": "1.15.18", + "@swc/core-linux-arm64-gnu": "1.15.18", + "@swc/core-linux-arm64-musl": "1.15.18", + "@swc/core-linux-x64-gnu": "1.15.18", + "@swc/core-linux-x64-musl": "1.15.18", + "@swc/core-win32-arm64-msvc": "1.15.18", + "@swc/core-win32-ia32-msvc": "1.15.18", + "@swc/core-win32-x64-msvc": "1.15.18", "@swc/counter": "^0.1.3", "@swc/types": "^0.1.25" } }, "@swc/core-darwin-arm64": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.15.11.tgz", - "integrity": "sha512-QoIupRWVH8AF1TgxYyeA5nS18dtqMuxNwchjBIwJo3RdwLEFiJq6onOx9JAxHtuPwUkIVuU2Xbp+jCJ7Vzmgtg==", + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.15.18.tgz", + "integrity": "sha512-+mIv7uBuSaywN3C9LNuWaX1jJJ3SKfiJuE6Lr3bd+/1Iv8oMU7oLBjYMluX1UrEPzwN2qCdY6Io0yVicABoCwQ==", "dev": true, "optional": true }, "@swc/core-darwin-x64": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.15.11.tgz", - "integrity": "sha512-S52Gu1QtPSfBYDiejlcfp9GlN+NjTZBRRNsz8PNwBgSE626/FUf2PcllVUix7jqkoMC+t0rS8t+2/aSWlMuQtA==", + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.15.18.tgz", + "integrity": "sha512-wZle0eaQhnzxWX5V/2kEOI6Z9vl/lTFEC6V4EWcn+5pDjhemCpQv9e/TDJ0GIoiClX8EDWRvuZwh+Z3dhL1NAg==", "dev": true, "optional": true }, "@swc/core-linux-arm-gnueabihf": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.15.11.tgz", - "integrity": "sha512-lXJs8oXo6Z4yCpimpQ8vPeCjkgoHu5NoMvmJZ8qxDyU99KVdg6KwU9H79vzrmB+HfH+dCZ7JGMqMF//f8Cfvdg==", + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.15.18.tgz", + "integrity": "sha512-ao61HGXVqrJFHAcPtF4/DegmwEkVCo4HApnotLU8ognfmU8x589z7+tcf3hU+qBiU1WOXV5fQX6W9Nzs6hjxDw==", "dev": true, "optional": true }, "@swc/core-linux-arm64-gnu": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.15.11.tgz", - "integrity": "sha512-chRsz1K52/vj8Mfq/QOugVphlKPWlMh10V99qfH41hbGvwAU6xSPd681upO4bKiOr9+mRIZZW+EfJqY42ZzRyA==", + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.15.18.tgz", + "integrity": "sha512-3xnctOBLIq3kj8PxOCgPrGjBLP/kNOddr6f5gukYt/1IZxsITQaU9TDyjeX6jG+FiCIHjCuWuffsyQDL5Ew1bg==", "dev": true, "optional": true }, "@swc/core-linux-arm64-musl": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.15.11.tgz", - "integrity": "sha512-PYftgsTaGnfDK4m6/dty9ryK1FbLk+LosDJ/RJR2nkXGc8rd+WenXIlvHjWULiBVnS1RsjHHOXmTS4nDhe0v0w==", + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.15.18.tgz", + "integrity": "sha512-0a+Lix+FSSHBSBOA0XznCcHo5/1nA6oLLjcnocvzXeqtdjnPb+SvchItHI+lfeiuj1sClYPDvPMLSLyXFaiIKw==", "dev": true, "optional": true }, "@swc/core-linux-x64-gnu": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.15.11.tgz", - "integrity": "sha512-DKtnJKIHiZdARyTKiX7zdRjiDS1KihkQWatQiCHMv+zc2sfwb4Glrodx2VLOX4rsa92NLR0Sw8WLcPEMFY1szQ==", + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.15.18.tgz", + "integrity": "sha512-wG9J8vReUlpaHz4KOD/5UE1AUgirimU4UFT9oZmupUDEofxJKYb1mTA/DrMj0s78bkBiNI+7Fo2EgPuvOJfuAA==", "dev": true, "optional": true }, "@swc/core-linux-x64-musl": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.15.11.tgz", - "integrity": "sha512-mUjjntHj4+8WBaiDe5UwRNHuEzLjIWBTSGTw0JT9+C9/Yyuh4KQqlcEQ3ro6GkHmBGXBFpGIj/o5VMyRWfVfWw==", + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.15.18.tgz", + "integrity": "sha512-4nwbVvCphKzicwNWRmvD5iBaZj8JYsRGa4xOxJmOyHlMDpsvvJ2OR2cODlvWyGFH6BYL1MfIAK3qph3hp0Az6g==", "dev": true, "optional": true }, "@swc/core-win32-arm64-msvc": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.15.11.tgz", - "integrity": "sha512-ZkNNG5zL49YpaFzfl6fskNOSxtcZ5uOYmWBkY4wVAvgbSAQzLRVBp+xArGWh2oXlY/WgL99zQSGTv7RI5E6nzA==", + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.15.18.tgz", + "integrity": "sha512-zk0RYO+LjiBCat2RTMHzAWaMky0cra9loH4oRrLKLLNuL+jarxKLFDA8xTZWEkCPLjUTwlRN7d28eDLLMgtUcQ==", "dev": true, "optional": true }, "@swc/core-win32-ia32-msvc": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.15.11.tgz", - "integrity": "sha512-6XnzORkZCQzvTQ6cPrU7iaT9+i145oLwnin8JrfsLG41wl26+5cNQ2XV3zcbrnFEV6esjOceom9YO1w9mGJByw==", + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.15.18.tgz", + "integrity": "sha512-yVuTrZ0RccD5+PEkpcLOBAuPbYBXS6rslENvIXfvJGXSdX5QGi1ehC4BjAMl5FkKLiam4kJECUI0l7Hq7T1vwg==", "dev": true, "optional": true }, "@swc/core-win32-x64-msvc": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.15.11.tgz", - "integrity": "sha512-IQ2n6af7XKLL6P1gIeZACskSxK8jWtoKpJWLZmdXTDj1MGzktUy4i+FvpdtxFmJWNavRWH1VmTr6kAubRDHeKw==", + "version": "1.15.18", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.15.18.tgz", + "integrity": "sha512-7NRmE4hmUQNCbYU3Hn9Tz57mK9Qq4c97ZS+YlamlK6qG9Fb5g/BB3gPDe0iLlJkns/sYv2VWSkm8c3NmbEGjbg==", "dev": true, "optional": true }, @@ -14477,80 +14427,43 @@ "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", "dev": true }, - "@tsconfig/node10": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", - "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==", - "dev": true - }, - "@tsconfig/node12": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", - "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", - "dev": true - }, - "@tsconfig/node14": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", - "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", - "dev": true - }, - "@tsconfig/node16": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", - "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", - "dev": true - }, - "@types/babel__core": { - "version": "7.20.3", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.3.tgz", - "integrity": "sha512-54fjTSeSHwfan8AyHWrKbfBWiEUrNTZsUwPTDSNaaP1QDQIZbeNUg3a59E9D+375MzUw/x1vx2/0F5LBz+AeYA==", - "dev": true, - "requires": { - "@babel/parser": "^7.20.7", - "@babel/types": "^7.20.7", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" - } - }, - "@types/babel__generator": { - "version": "7.6.6", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.6.tgz", - "integrity": "sha512-66BXMKb/sUWbMdBNdMvajU7i/44RkrA3z/Yt1c7R5xejt8qh84iU54yUWCtm0QwGJlDcf/gg4zd/x4mpLAlb/w==", - "dev": true, - "requires": { - "@babel/types": "^7.0.0" - } - }, - "@types/babel__template": { - "version": "7.4.3", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.3.tgz", - "integrity": "sha512-ciwyCLeuRfxboZ4isgdNZi/tkt06m8Tw6uGbBSBgWrnnZGNXiEyM27xc/PjXGQLqlZ6ylbgHMnm7ccF9tCkOeQ==", + "@tybys/wasm-util": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz", + "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==", "dev": true, + "optional": true, "requires": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" + "tslib": "^2.4.0" } }, - "@types/babel__traverse": { - "version": "7.20.3", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.3.tgz", - "integrity": "sha512-Lsh766rGEFbaxMIDH7Qa+Yha8cMVI3qAK6CHt3OR0YfxOIn5Z54iHiyDRycHrBqeIiqGa20Kpsv1cavfBKkRSw==", + "@types/chai": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz", + "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==", "dev": true, "requires": { - "@babel/types": "^7.20.7" + "@types/deep-eql": "*", + "assertion-error": "^2.0.1" } }, "@types/color-name": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", - "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==" + "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", + "dev": true + }, + "@types/deep-eql": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz", + "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==", + "dev": true }, "@types/eslint": { "version": "9.6.1", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", + "dev": true, "requires": { "@types/estree": "*", "@types/json-schema": "*" @@ -14560,121 +14473,45 @@ "version": "3.7.7", "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", - "requires": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, - "@types/esrecurse": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", - "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", - "dev": true - }, - "@types/estree": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", - "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==" - }, - "@types/graceful-fs": { - "version": "4.1.8", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.8.tgz", - "integrity": "sha512-NhRH7YzWq8WiNKVavKPBmtLYZHxNY19Hh+az28O/phfp68CF45pMFud+ZzJ8ewnxnC5smIdF3dqFeiSUQ5I+pw==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "@types/http-cache-semantics": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz", - "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==", - "dev": true - }, - "@types/inquirer": { - "version": "9.0.9", - "resolved": "https://registry.npmjs.org/@types/inquirer/-/inquirer-9.0.9.tgz", - "integrity": "sha512-/mWx5136gts2Z2e5izdoRCo46lPp5TMs9R15GTSsgg/XnZyxDWVqoVU3R9lWnccKpqwsJLvRoxbCjoJtZB7DSw==", - "dev": true, - "requires": { - "@types/through": "*", - "rxjs": "^7.2.0" - } - }, - "@types/istanbul-lib-coverage": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", - "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", - "dev": true - }, - "@types/istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", - "dev": true, - "requires": { - "@types/istanbul-lib-coverage": "*" - } - }, - "@types/istanbul-reports": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", - "integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", - "dev": true, - "requires": { - "@types/istanbul-lib-report": "*" - } - }, - "@types/jest": { - "version": "29.5.14", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz", - "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==", "dev": true, "requires": { - "expect": "^29.0.0", - "pretty-format": "^29.0.0" + "@types/eslint": "*", + "@types/estree": "*" } }, + "@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "dev": true + }, + "@types/http-cache-semantics": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz", + "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==", + "dev": true + }, "@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true }, "@types/node": { - "version": "24.12.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.2.tgz", - "integrity": "sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==", + "version": "25.3.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.3.5.tgz", + "integrity": "sha512-oX8xrhvpiyRCQkG1MFchB09f+cXftgIXb3a7UUa4Y3wpmZPw5tyZGTLWhlESOLq1Rq6oDlc8npVU2/9xiCuXMA==", + "dev": true, "requires": { - "undici-types": "~7.16.0" + "undici-types": "~7.18.0" } }, - "@types/node-emoji": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/@types/node-emoji/-/node-emoji-1.8.2.tgz", - "integrity": "sha512-PfF1qL/9veo8BSHLV84C9ORNr3lHSlnWJ6yU8OdNufoftajeWHTLVbGHvp2B7e7DPDS9gMs6cfeSsqo5rqSitg==", - "dev": true - }, "@types/parse-path": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/@types/parse-path/-/parse-path-7.0.3.tgz", "integrity": "sha512-LriObC2+KYZD3FzCrgWGv/qufdUy4eXrxcLgQMfYXgPbLIecKIsVBaQgUPmxSSLcjmYbDTQbMgr6qr6l/eb7Bg==", "dev": true }, - "@types/stack-utils": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", - "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", - "dev": true - }, - "@types/through": { - "version": "0.0.30", - "resolved": "https://registry.npmjs.org/@types/through/-/through-0.0.30.tgz", - "integrity": "sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, "@types/webpack-node-externals": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/@types/webpack-node-externals/-/webpack-node-externals-3.0.4.tgz", @@ -14685,182 +14522,82 @@ "webpack": "^5" } }, - "@types/yargs": { - "version": "17.0.17", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.17.tgz", - "integrity": "sha512-72bWxFKTK6uwWJAVT+3rF6Jo6RTojiJ27FQo8Rf60AL+VZbzoVPnMFhKsUnbjR8A3BTCYQ7Mv3hnl8T0A+CX9g==", + "@vitest/expect": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.0.18.tgz", + "integrity": "sha512-8sCWUyckXXYvx4opfzVY03EOiYVxyNrHS5QxX3DAIi5dpJAAkyJezHCP77VMX4HKA2LDT/Jpfo8i2r5BE3GnQQ==", "dev": true, "requires": { - "@types/yargs-parser": "*" - } - }, - "@types/yargs-parser": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", - "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", - "dev": true - }, - "@typescript-eslint/eslint-plugin": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.58.1.tgz", - "integrity": "sha512-eSkwoemjo76bdXl2MYqtxg51HNwUSkWfODUOQ3PaTLZGh9uIWWFZIjyjaJnex7wXDu+TRx+ATsnSxdN9YWfRTQ==", - "dev": true, - "requires": { - "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.58.1", - "@typescript-eslint/type-utils": "8.58.1", - "@typescript-eslint/utils": "8.58.1", - "@typescript-eslint/visitor-keys": "8.58.1", - "ignore": "^7.0.5", - "natural-compare": "^1.4.0", - "ts-api-utils": "^2.5.0" - }, - "dependencies": { - "ignore": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", - "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", - "dev": true - } + "@standard-schema/spec": "^1.0.0", + "@types/chai": "^5.2.2", + "@vitest/spy": "4.0.18", + "@vitest/utils": "4.0.18", + "chai": "^6.2.1", + "tinyrainbow": "^3.0.3" } }, - "@typescript-eslint/parser": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.58.1.tgz", - "integrity": "sha512-gGkiNMPqerb2cJSVcruigx9eHBlLG14fSdPdqMoOcBfh+vvn4iCq2C8MzUB89PrxOXk0y3GZ1yIWb9aOzL93bw==", + "@vitest/mocker": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.0.18.tgz", + "integrity": "sha512-HhVd0MDnzzsgevnOWCBj5Otnzobjy5wLBe4EdeeFGv8luMsGcYqDuFRMcttKWZA5vVO8RFjexVovXvAM4JoJDQ==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "8.58.1", - "@typescript-eslint/types": "8.58.1", - "@typescript-eslint/typescript-estree": "8.58.1", - "@typescript-eslint/visitor-keys": "8.58.1", - "debug": "^4.4.3" + "@vitest/spy": "4.0.18", + "estree-walker": "^3.0.3", + "magic-string": "^0.30.21" } }, - "@typescript-eslint/project-service": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.58.1.tgz", - "integrity": "sha512-gfQ8fk6cxhtptek+/8ZIqw8YrRW5048Gug8Ts5IYcMLCw18iUgrZAEY/D7s4hkI0FxEfGakKuPK/XUMPzPxi5g==", + "@vitest/pretty-format": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.0.18.tgz", + "integrity": "sha512-P24GK3GulZWC5tz87ux0m8OADrQIUVDPIjjj65vBXYG17ZeU3qD7r+MNZ1RNv4l8CGU2vtTRqixrOi9fYk/yKw==", "dev": true, "requires": { - "@typescript-eslint/tsconfig-utils": "^8.58.1", - "@typescript-eslint/types": "^8.58.1", - "debug": "^4.4.3" + "tinyrainbow": "^3.0.3" } }, - "@typescript-eslint/scope-manager": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.58.1.tgz", - "integrity": "sha512-TPYUEqJK6avLcEjumWsIuTpuYODTTDAtoMdt8ZZa93uWMTX13Nb8L5leSje1NluammvU+oI3QRr5lLXPgihX3w==", + "@vitest/runner": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.0.18.tgz", + "integrity": "sha512-rpk9y12PGa22Jg6g5M3UVVnTS7+zycIGk9ZNGN+m6tZHKQb7jrP7/77WfZy13Y/EUDd52NDsLRQhYKtv7XfPQw==", "dev": true, "requires": { - "@typescript-eslint/types": "8.58.1", - "@typescript-eslint/visitor-keys": "8.58.1" + "@vitest/utils": "4.0.18", + "pathe": "^2.0.3" } }, - "@typescript-eslint/tsconfig-utils": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.58.1.tgz", - "integrity": "sha512-JAr2hOIct2Q+qk3G+8YFfqkqi7sC86uNryT+2i5HzMa2MPjw4qNFvtjnw1IiA1rP7QhNKVe21mSSLaSjwA1Olw==", - "dev": true, - "requires": {} - }, - "@typescript-eslint/type-utils": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.58.1.tgz", - "integrity": "sha512-HUFxvTJVroT+0rXVJC7eD5zol6ID+Sn5npVPWoFuHGg9Ncq5Q4EYstqR+UOqaNRFXi5TYkpXXkLhoCHe3G0+7w==", + "@vitest/snapshot": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.0.18.tgz", + "integrity": "sha512-PCiV0rcl7jKQjbgYqjtakly6T1uwv/5BQ9SwBLekVg/EaYeQFPiXcgrC2Y7vDMA8dM1SUEAEV82kgSQIlXNMvA==", "dev": true, "requires": { - "@typescript-eslint/types": "8.58.1", - "@typescript-eslint/typescript-estree": "8.58.1", - "@typescript-eslint/utils": "8.58.1", - "debug": "^4.4.3", - "ts-api-utils": "^2.5.0" + "@vitest/pretty-format": "4.0.18", + "magic-string": "^0.30.21", + "pathe": "^2.0.3" } }, - "@typescript-eslint/types": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.58.1.tgz", - "integrity": "sha512-io/dV5Aw5ezwzfPBBWLoT+5QfVtP8O7q4Kftjn5azJ88bYyp/ZMCsyW1lpKK46EXJcaYMZ1JtYj+s/7TdzmQMw==", + "@vitest/spy": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.0.18.tgz", + "integrity": "sha512-cbQt3PTSD7P2OARdVW3qWER5EGq7PHlvE+QfzSC0lbwO+xnt7+XH06ZzFjFRgzUX//JmpxrCu92VdwvEPlWSNw==", "dev": true }, - "@typescript-eslint/typescript-estree": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.58.1.tgz", - "integrity": "sha512-w4w7WR7GHOjqqPnvAYbazq+Y5oS68b9CzasGtnd6jIeOIeKUzYzupGTB2T4LTPSv4d+WPeccbxuneTFHYgAAWg==", - "dev": true, - "requires": { - "@typescript-eslint/project-service": "8.58.1", - "@typescript-eslint/tsconfig-utils": "8.58.1", - "@typescript-eslint/types": "8.58.1", - "@typescript-eslint/visitor-keys": "8.58.1", - "debug": "^4.4.3", - "minimatch": "^10.2.2", - "semver": "^7.7.3", - "tinyglobby": "^0.2.15", - "ts-api-utils": "^2.5.0" - }, - "dependencies": { - "balanced-match": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", - "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", - "dev": true - }, - "brace-expansion": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", - "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", - "dev": true, - "requires": { - "balanced-match": "^4.0.2" - } - }, - "minimatch": { - "version": "10.2.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", - "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", - "dev": true, - "requires": { - "brace-expansion": "^5.0.5" - } - } - } - }, - "@typescript-eslint/utils": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.58.1.tgz", - "integrity": "sha512-Ln8R0tmWC7pTtLOzgJzYTXSCjJ9rDNHAqTaVONF4FEi2qwce8mD9iSOxOpLFFvWp/wBFlew0mjM1L1ihYWfBdQ==", - "dev": true, - "requires": { - "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.58.1", - "@typescript-eslint/types": "8.58.1", - "@typescript-eslint/typescript-estree": "8.58.1" - } - }, - "@typescript-eslint/visitor-keys": { - "version": "8.58.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.58.1.tgz", - "integrity": "sha512-y+vH7QE8ycjoa0bWciFg7OpFcipUuem1ujhrdLtq1gByKwfbC7bPeKsiny9e0urg93DqwGcHey+bGRKCnF1nZQ==", + "@vitest/utils": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.0.18.tgz", + "integrity": "sha512-msMRKLMVLWygpK3u2Hybgi4MNjcYJvwTb0Ru09+fOyCXIgT5raYP041DRRdiJiI3k/2U6SEbAETB3YtBrUkCFA==", "dev": true, "requires": { - "@typescript-eslint/types": "8.58.1", - "eslint-visitor-keys": "^5.0.0" - }, - "dependencies": { - "eslint-visitor-keys": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", - "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", - "dev": true - } + "@vitest/pretty-format": "4.0.18", + "tinyrainbow": "^3.0.3" } }, "@webassemblyjs/ast": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz", "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==", + "dev": true, "requires": { "@webassemblyjs/helper-numbers": "1.13.2", "@webassemblyjs/helper-wasm-bytecode": "1.13.2" @@ -14869,22 +14606,26 @@ "@webassemblyjs/floating-point-hex-parser": { "version": "1.13.2", "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz", - "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==" + "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==", + "dev": true }, "@webassemblyjs/helper-api-error": { "version": "1.13.2", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz", - "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==" + "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==", + "dev": true }, "@webassemblyjs/helper-buffer": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz", - "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==" + "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==", + "dev": true }, "@webassemblyjs/helper-numbers": { "version": "1.13.2", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz", "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==", + "dev": true, "requires": { "@webassemblyjs/floating-point-hex-parser": "1.13.2", "@webassemblyjs/helper-api-error": "1.13.2", @@ -14894,12 +14635,14 @@ "@webassemblyjs/helper-wasm-bytecode": { "version": "1.13.2", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz", - "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==" + "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==", + "dev": true }, "@webassemblyjs/helper-wasm-section": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz", "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==", + "dev": true, "requires": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", @@ -14911,6 +14654,7 @@ "version": "1.13.2", "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz", "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==", + "dev": true, "requires": { "@xtuc/ieee754": "^1.2.0" } @@ -14919,6 +14663,7 @@ "version": "1.13.2", "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz", "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==", + "dev": true, "requires": { "@xtuc/long": "4.2.2" } @@ -14926,12 +14671,14 @@ "@webassemblyjs/utf8": { "version": "1.13.2", "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz", - "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==" + "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==", + "dev": true }, "@webassemblyjs/wasm-edit": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz", "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==", + "dev": true, "requires": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", @@ -14947,6 +14694,7 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz", "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==", + "dev": true, "requires": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-wasm-bytecode": "1.13.2", @@ -14959,6 +14707,7 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz", "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==", + "dev": true, "requires": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", @@ -14970,6 +14719,7 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz", "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==", + "dev": true, "requires": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-api-error": "1.13.2", @@ -14983,6 +14733,7 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz", "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==", + "dev": true, "requires": { "@webassemblyjs/ast": "1.14.1", "@xtuc/long": "4.2.2" @@ -15117,39 +14868,26 @@ "@xtuc/ieee754": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==" + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true }, "@xtuc/long": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true }, "acorn": { "version": "8.16.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz", - "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==" + "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", + "dev": true }, "acorn-import-phases": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz", "integrity": "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==", - "requires": {} - }, - "acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "requires": {} - }, - "acorn-walk": { - "version": "8.3.3", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", - "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", - "dev": true, - "requires": { - "acorn": "^8.11.0" - } + "dev": true }, "agent-base": { "version": "7.1.3", @@ -15161,6 +14899,7 @@ "version": "6.14.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", + "dev": true, "requires": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -15198,12 +14937,13 @@ "version": "3.5.2", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "requires": {} + "dev": true }, "ansi-colors": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==" + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "dev": true }, "ansi-cyan": { "version": "0.1.1", @@ -15214,23 +14954,6 @@ "ansi-wrap": "0.1.0" } }, - "ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, - "requires": { - "type-fest": "^0.21.3" - }, - "dependencies": { - "type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true - } - } - }, "ansi-gray": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/ansi-gray/-/ansi-gray-0.1.1.tgz", @@ -15287,16 +15010,11 @@ "integrity": "sha512-AmIAC+Wtm2AU8lGfTtHsw0Y9Qtftx2YXEEtiBP10xFUtMOA+sHHx6OAddyL52mUKh1vsXQ6/w1mVDptZCyUt4Q==", "dev": true }, - "arg": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", - "dev": true - }, "argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true }, "arr-flatten": { "version": "1.1.0", @@ -15327,6 +15045,12 @@ "resolved": "https://registry.npmjs.org/array-timsort/-/array-timsort-1.0.3.tgz", "integrity": "sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==" }, + "assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "dev": true + }, "ast-types": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", @@ -15371,97 +15095,6 @@ "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==", "dev": true }, - "babel-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", - "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", - "dev": true, - "requires": { - "@jest/transform": "^29.7.0", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.6.3", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "slash": "^3.0.0" - } - }, - "babel-plugin-istanbul": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-instrument": "^5.0.4", - "test-exclude": "^6.0.0" - }, - "dependencies": { - "istanbul-lib-instrument": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", - "dev": true, - "requires": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" - } - }, - "semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true - } - } - }, - "babel-plugin-jest-hoist": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", - "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", - "dev": true, - "requires": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.1.14", - "@types/babel__traverse": "^7.0.6" - } - }, - "babel-preset-current-node-syntax": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", - "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", - "dev": true, - "requires": { - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-bigint": "^7.8.3", - "@babel/plugin-syntax-class-properties": "^7.8.3", - "@babel/plugin-syntax-import-meta": "^7.8.3", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.8.3", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-top-level-await": "^7.8.3" - } - }, - "babel-preset-jest": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", - "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", - "dev": true, - "requires": { - "babel-plugin-jest-hoist": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0" - } - }, "bach": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/bach/-/bach-2.0.1.tgz", @@ -15476,7 +15109,8 @@ "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true }, "bare-events": { "version": "2.2.2", @@ -15488,12 +15122,14 @@ "base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true }, "baseline-browser-mapping": { "version": "2.9.13", "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.13.tgz", - "integrity": "sha512-WhtvB2NG2wjr04+h77sg3klAIwrgOqnjS49GGudnUPGFFgg7G17y7Qecqp+2Dr5kUDxNRBca0SK7cG8JwzkWDQ==" + "integrity": "sha512-WhtvB2NG2wjr04+h77sg3klAIwrgOqnjS49GGudnUPGFFgg7G17y7Qecqp+2Dr5kUDxNRBca0SK7cG8JwzkWDQ==", + "dev": true }, "basic-ftp": { "version": "5.0.5", @@ -15534,45 +15170,11 @@ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", "dev": true }, - "bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "requires": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - } - } - } - }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -15591,6 +15193,7 @@ "version": "4.28.1", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz", "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==", + "dev": true, "requires": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", @@ -15599,28 +15202,11 @@ "update-browserslist-db": "^1.2.0" } }, - "bs-logger": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", - "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", - "dev": true, - "requires": { - "fast-json-stable-stringify": "2.x" - } - }, - "bser": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", - "dev": true, - "requires": { - "node-int64": "^0.4.0" - } - }, "buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, "requires": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" @@ -15635,7 +15221,8 @@ "buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true }, "bundle-name": { "version": "4.1.0", @@ -15664,23 +15251,6 @@ "perfect-debounce": "^2.0.0", "pkg-types": "^2.3.0", "rc9": "^2.1.2" - }, - "dependencies": { - "chokidar": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", - "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", - "dev": true, - "requires": { - "readdirp": "^5.0.0" - } - }, - "readdirp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.0.0.tgz", - "integrity": "sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==", - "dev": true - } } }, "cacheable-lookup": { @@ -15707,23 +15277,26 @@ "callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" - }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true }, "caniuse-lite": { "version": "1.0.30001763", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001763.tgz", - "integrity": "sha512-mh/dGtq56uN98LlNX9qdbKnzINhX0QzhiWBFEkFfsFO4QyCvL8YegrJAazCwXIeqkIob8BlZPGM3xdnY+sgmvQ==" + "integrity": "sha512-mh/dGtq56uN98LlNX9qdbKnzINhX0QzhiWBFEkFfsFO4QyCvL8YegrJAazCwXIeqkIob8BlZPGM3xdnY+sgmvQ==", + "dev": true + }, + "chai": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/chai/-/chai-6.2.2.tgz", + "integrity": "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==", + "dev": true }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -15733,6 +15306,7 @@ "version": "4.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "dev": true, "requires": { "@types/color-name": "^1.1.1", "color-convert": "^2.0.1" @@ -15742,6 +15316,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, "requires": { "color-name": "~1.1.4" } @@ -15749,15 +15324,15 @@ "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true } } }, "char-regex": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", - "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", - "dev": true + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==" }, "chardet": { "version": "2.1.1", @@ -15765,22 +15340,17 @@ "integrity": "sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==" }, "chokidar": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", - "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", + "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", "requires": { - "readdirp": "^4.0.1" + "readdirp": "^5.0.0" } }, "chrome-trace-event": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", - "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==" - }, - "ci-info": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.2.0.tgz", - "integrity": "sha512-dVqRX7fLUm8J6FgHJ418XuIgDLZDkYcDFTeL6TA2gt5WlIZUQrrH6EZrNClwT/H0FateUsZkGIOPRrLbP+PR9A==", + "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", "dev": true }, "citty": { @@ -15792,24 +15362,18 @@ "consola": "^3.2.3" } }, - "cjs-module-lexer": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", - "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", - "dev": true - }, "cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", + "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", "requires": { - "restore-cursor": "^3.1.0" + "restore-cursor": "^5.0.0" } }, "cli-spinners": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==" + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-3.4.0.tgz", + "integrity": "sha512-bXfOC4QcT1tKXGorxL3wbJm6XJPDqEnij2gQ2m7ESQuE+/z9YFIWnl/5RpTiKWbMq3EVKR4fRLJGn6DVfu0mpw==" }, "cli-table3": { "version": "0.6.5", @@ -15910,11 +15474,6 @@ } } }, - "clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" - }, "clone-buffer": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz", @@ -15938,22 +15497,11 @@ "readable-stream": "^2.3.5" } }, - "co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", - "dev": true - }, - "collect-v8-coverage": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", - "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", - "dev": true - }, "color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, "requires": { "color-name": "1.1.3" } @@ -15961,7 +15509,8 @@ "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true }, "color-support": { "version": "1.1.3", @@ -15976,9 +15525,9 @@ "dev": true }, "commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==" + "version": "14.0.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", + "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==" }, "comment-json": { "version": "4.6.2", @@ -16002,7 +15551,8 @@ "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true }, "confbox": { "version": "0.2.2", @@ -16078,6 +15628,7 @@ "version": "8.3.6", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", + "dev": true, "requires": { "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", @@ -16094,27 +15645,6 @@ "jiti": "^2.4.1" } }, - "create-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", - "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", - "dev": true, - "requires": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "prompts": "^2.0.1" - } - }, - "create-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", - "dev": true - }, "cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", @@ -16169,23 +15699,11 @@ } } }, - "dedent": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.1.tgz", - "integrity": "sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==", - "dev": true, - "requires": {} - }, - "deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, "deepmerge": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true }, "default-browser": { "version": "5.2.1", @@ -16203,14 +15721,6 @@ "integrity": "sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==", "dev": true }, - "defaults": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", - "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", - "requires": { - "clone": "^1.0.2" - } - }, "defer-to-connect": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", @@ -16289,24 +15799,6 @@ "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==", "dev": true }, - "detect-newline": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", - "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", - "dev": true - }, - "diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true - }, - "diff-sequences": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", - "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", - "dev": true - }, "dot-prop": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", @@ -16335,12 +15827,7 @@ "electron-to-chromium": { "version": "1.5.267", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.267.tgz", - "integrity": "sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==" - }, - "emittery": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", - "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", + "integrity": "sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==", "dev": true }, "emoji-regex": { @@ -16348,6 +15835,11 @@ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, + "emojilib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/emojilib/-/emojilib-2.4.0.tgz", + "integrity": "sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==" + }, "end-of-stream": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", @@ -16361,6 +15853,7 @@ "version": "5.20.0", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.20.0.tgz", "integrity": "sha512-/ce7+jQ1PQ6rVXwe+jKEg5hW5ciicHwIQUagZkp6IufBoY3YDgdTTY1azVs0qoRgVmvsNB+rbjLJxDAeHHtwsQ==", + "dev": true, "requires": { "graceful-fs": "^4.2.4", "tapable": "^2.3.0" @@ -16382,6 +15875,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, "requires": { "is-arrayish": "^0.2.1" } @@ -16389,17 +15883,54 @@ "es-module-lexer": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.0.0.tgz", - "integrity": "sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==" + "integrity": "sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==", + "dev": true + }, + "esbuild": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz", + "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==", + "dev": true, + "requires": { + "@esbuild/aix-ppc64": "0.25.12", + "@esbuild/android-arm": "0.25.12", + "@esbuild/android-arm64": "0.25.12", + "@esbuild/android-x64": "0.25.12", + "@esbuild/darwin-arm64": "0.25.12", + "@esbuild/darwin-x64": "0.25.12", + "@esbuild/freebsd-arm64": "0.25.12", + "@esbuild/freebsd-x64": "0.25.12", + "@esbuild/linux-arm": "0.25.12", + "@esbuild/linux-arm64": "0.25.12", + "@esbuild/linux-ia32": "0.25.12", + "@esbuild/linux-loong64": "0.25.12", + "@esbuild/linux-mips64el": "0.25.12", + "@esbuild/linux-ppc64": "0.25.12", + "@esbuild/linux-riscv64": "0.25.12", + "@esbuild/linux-s390x": "0.25.12", + "@esbuild/linux-x64": "0.25.12", + "@esbuild/netbsd-arm64": "0.25.12", + "@esbuild/netbsd-x64": "0.25.12", + "@esbuild/openbsd-arm64": "0.25.12", + "@esbuild/openbsd-x64": "0.25.12", + "@esbuild/openharmony-arm64": "0.25.12", + "@esbuild/sunos-x64": "0.25.12", + "@esbuild/win32-arm64": "0.25.12", + "@esbuild/win32-ia32": "0.25.12", + "@esbuild/win32-x64": "0.25.12" + } }, "escalade": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", - "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==" + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true }, "escodegen": { "version": "2.1.0", @@ -16428,173 +15959,26 @@ } } }, - "eslint": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.2.0.tgz", - "integrity": "sha512-+L0vBFYGIpSNIt/KWTpFonPrqYvgKw1eUI5Vn7mEogrQcWtWYtNQ7dNqC+px/J0idT3BAkiWrhfS7k+Tum8TUA==", - "dev": true, - "requires": { - "@eslint-community/eslint-utils": "^4.8.0", - "@eslint-community/regexpp": "^4.12.2", - "@eslint/config-array": "^0.23.4", - "@eslint/config-helpers": "^0.5.4", - "@eslint/core": "^1.2.0", - "@eslint/plugin-kit": "^0.7.0", - "@humanfs/node": "^0.16.6", - "@humanwhocodes/module-importer": "^1.0.1", - "@humanwhocodes/retry": "^0.4.2", - "@types/estree": "^1.0.6", - "ajv": "^6.14.0", - "cross-spawn": "^7.0.6", - "debug": "^4.3.2", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^9.1.2", - "eslint-visitor-keys": "^5.0.1", - "espree": "^11.2.0", - "esquery": "^1.7.0", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^8.0.0", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "ignore": "^5.2.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "minimatch": "^10.2.4", - "natural-compare": "^1.4.0", - "optionator": "^0.9.3" - }, - "dependencies": { - "@humanwhocodes/retry": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", - "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", - "dev": true - }, - "balanced-match": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", - "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", - "dev": true - }, - "brace-expansion": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", - "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", - "dev": true, - "requires": { - "balanced-match": "^4.0.2" - } - }, - "escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true - }, - "eslint-scope": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", - "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==", - "dev": true, - "requires": { - "@types/esrecurse": "^4.3.1", - "@types/estree": "^1.0.8", - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - } - }, - "eslint-visitor-keys": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", - "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", - "dev": true - }, - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - }, - "minimatch": { - "version": "10.2.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", - "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", - "dev": true, - "requires": { - "brace-expansion": "^5.0.5" - } - } - } - }, - "eslint-config-prettier": { - "version": "10.1.8", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz", - "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", - "dev": true, - "requires": {} - }, "eslint-scope": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, "requires": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" } }, - "eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true - }, - "espree": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", - "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==", - "dev": true, - "requires": { - "acorn": "^8.16.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^5.0.1" - }, - "dependencies": { - "eslint-visitor-keys": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", - "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", - "dev": true - } - } - }, "esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" }, - "esquery": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", - "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", - "dev": true, - "requires": { - "estraverse": "^5.1.0" - }, - "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - } - } - }, "esrecurse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, "requires": { "estraverse": "^5.2.0" }, @@ -16602,14 +15986,25 @@ "estraverse": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==" + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true } } }, "estraverse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true + }, + "estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0" + } }, "esutils": { "version": "2.0.3", @@ -16632,7 +16027,8 @@ "events": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true }, "execa": { "version": "5.1.1", @@ -16651,12 +16047,6 @@ "strip-final-newline": "^2.0.0" } }, - "exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", - "dev": true - }, "expand-tilde": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", @@ -16666,18 +16056,11 @@ "homedir-polyfill": "^1.0.1" } }, - "expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", - "dev": true, - "requires": { - "@jest/expect-utils": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0" - } + "expect-type": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.3.0.tgz", + "integrity": "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==", + "dev": true }, "exsolve": { "version": "1.0.8", @@ -16742,19 +16125,35 @@ "fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" - }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", "dev": true }, + "fast-string-truncated-width": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz", + "integrity": "sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==" + }, + "fast-string-width": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-string-width/-/fast-string-width-3.0.2.tgz", + "integrity": "sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==", + "requires": { + "fast-string-truncated-width": "^3.0.2" + } + }, "fast-uri": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==" }, + "fast-wrap-ansi": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/fast-wrap-ansi/-/fast-wrap-ansi-0.2.0.tgz", + "integrity": "sha512-rLV8JHxTyhVmFYhBJuMujcrHqOT2cnO5Zxj37qROj23CP39GXubJRBUFF0z8KFK77Uc0SukZUf7JZhsVEQ6n8w==", + "requires": { + "fast-string-width": "^3.0.2" + } + }, "fastest-levenshtein": { "version": "1.0.16", "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", @@ -16770,23 +16169,11 @@ "reusify": "^1.0.4" } }, - "fb-watchman": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", - "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", - "dev": true, - "requires": { - "bser": "2.1.1" - } - }, - "file-entry-cache": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", - "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", - "dev": true, - "requires": { - "flat-cache": "^4.0.0" - } + "fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true }, "file-type": { "version": "19.6.0", @@ -16842,16 +16229,6 @@ "to-regex-range": "^5.0.1" } }, - "find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dev": true, - "requires": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - } - }, "find-versions": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-5.1.0.tgz", @@ -16892,22 +16269,6 @@ "integrity": "sha512-Gq/a6YCi8zexmGHMuJwahTGzXlAZAOsbCVKduWXC6TlLCjjFRlExMJc4GC2NYPYZ0r/brw9P7CpRgQmlPVeOoA==", "dev": true }, - "flat-cache": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", - "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", - "dev": true, - "requires": { - "flatted": "^3.2.9", - "keyv": "^4.5.4" - } - }, - "flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", - "dev": true - }, "for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", @@ -16927,6 +16288,7 @@ "version": "9.1.0", "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-9.1.0.tgz", "integrity": "sha512-mpafl89VFPJmhnJ1ssH+8wmM2b50n+Rew5x42NeI2U78aRWgtkEtGmctp7iT16UjquJTjorEmIfESj3DxdW84Q==", + "dev": true, "requires": { "@babel/code-frame": "^7.16.7", "chalk": "^4.1.2", @@ -16940,6 +16302,23 @@ "schema-utils": "^3.1.1", "semver": "^7.3.5", "tapable": "^2.2.1" + }, + "dependencies": { + "chokidar": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", + "dev": true, + "requires": { + "readdirp": "^4.0.1" + } + }, + "readdirp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", + "dev": true + } } }, "form-data-encoder": { @@ -16952,6 +16331,7 @@ "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dev": true, "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -16961,7 +16341,8 @@ "universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true } } }, @@ -16978,7 +16359,8 @@ "fs-monkey": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.3.tgz", - "integrity": "sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q==" + "integrity": "sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q==", + "dev": true }, "fs.realpath": { "version": "1.0.0", @@ -16999,12 +16381,6 @@ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "dev": true }, - "gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true - }, "get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", @@ -17012,16 +16388,9 @@ "dev": true }, "get-east-asian-width": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.4.0.tgz", - "integrity": "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==", - "dev": true - }, - "get-package-type": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", - "dev": true + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.5.0.tgz", + "integrity": "sha512-CQ+bEO+Tva/qlmw24dCejulK5pMzVnUOFOijVogd3KQs07HnRIgp8TGipvCCRT06xeYEbpbgwaCxglFyiuIcmA==" }, "get-stream": { "version": "6.0.1", @@ -17144,7 +16513,8 @@ "glob-to-regexp": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true }, "glob-watcher": { "version": "6.0.0", @@ -17264,7 +16634,8 @@ "graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true }, "gulp": { "version": "5.0.1", @@ -17368,27 +16739,6 @@ "glogg": "^2.2.0" } }, - "handlebars": { - "version": "4.7.9", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz", - "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==", - "dev": true, - "requires": { - "minimist": "^1.2.5", - "neo-async": "^2.6.2", - "source-map": "^0.6.1", - "uglify-js": "^3.1.4", - "wordwrap": "^1.0.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -17401,7 +16751,8 @@ "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true }, "homedir-polyfill": { "version": "1.0.3", @@ -17412,12 +16763,6 @@ "parse-passwd": "^1.0.0" } }, - "html-escaper": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true - }, "http-cache-semantics": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", @@ -17467,9 +16812,9 @@ "dev": true }, "iconv-lite": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz", - "integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz", + "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==", "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" } @@ -17477,18 +16822,14 @@ "ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - }, - "ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", "dev": true }, "import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, "requires": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -17497,32 +16838,17 @@ "resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true } } }, - "import-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", - "dev": true, - "requires": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - } - }, "import-meta-resolve": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz", "integrity": "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==", "dev": true }, - "imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true - }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -17536,7 +16862,8 @@ "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true }, "ini": { "version": "1.3.8", @@ -17559,13 +16886,144 @@ "rxjs": "^7.8.2" }, "dependencies": { - "rxjs": { - "version": "7.8.2", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", - "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "@inquirer/checkbox": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.2.tgz", + "integrity": "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==", + "dev": true, + "requires": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + } + }, + "@inquirer/confirm": { + "version": "5.1.21", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.21.tgz", + "integrity": "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==", + "dev": true, + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + } + }, + "@inquirer/editor": { + "version": "4.2.23", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.23.tgz", + "integrity": "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==", + "dev": true, + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/external-editor": "^1.0.3", + "@inquirer/type": "^3.0.10" + } + }, + "@inquirer/expand": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.23.tgz", + "integrity": "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==", + "dev": true, + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + } + }, + "@inquirer/external-editor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", + "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", + "dev": true, + "requires": { + "chardet": "^2.1.1", + "iconv-lite": "^0.7.0" + } + }, + "@inquirer/input": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.1.tgz", + "integrity": "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==", + "dev": true, + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + } + }, + "@inquirer/number": { + "version": "3.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.23.tgz", + "integrity": "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==", + "dev": true, + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + } + }, + "@inquirer/password": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.23.tgz", + "integrity": "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==", + "dev": true, + "requires": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + } + }, + "@inquirer/prompts": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.10.1.tgz", + "integrity": "sha512-Dx/y9bCQcXLI5ooQ5KyvA4FTgeo2jYj/7plWfV5Ak5wDPKQZgudKez2ixyfz7tKXzcJciTxqLeK7R9HItwiByg==", + "dev": true, + "requires": { + "@inquirer/checkbox": "^4.3.2", + "@inquirer/confirm": "^5.1.21", + "@inquirer/editor": "^4.2.23", + "@inquirer/expand": "^4.0.23", + "@inquirer/input": "^4.3.1", + "@inquirer/number": "^3.0.23", + "@inquirer/password": "^4.0.23", + "@inquirer/rawlist": "^4.1.11", + "@inquirer/search": "^3.2.2", + "@inquirer/select": "^4.4.2" + } + }, + "@inquirer/rawlist": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.11.tgz", + "integrity": "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==", "dev": true, "requires": { - "tslib": "^2.1.0" + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + } + }, + "@inquirer/search": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.2.tgz", + "integrity": "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==", + "dev": true, + "requires": { + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + } + }, + "@inquirer/select": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.2.tgz", + "integrity": "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==", + "dev": true, + "requires": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" } } } @@ -17610,7 +17068,8 @@ "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true }, "is-binary-path": { "version": "2.1.0", @@ -17651,12 +17110,6 @@ "get-east-asian-width": "^1.3.1" } }, - "is-generator-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", - "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", - "dev": true - }, "is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -17676,9 +17129,9 @@ } }, "is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", + "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==" }, "is-negated-glob": { "version": "1.0.0", @@ -17744,9 +17197,9 @@ } }, "is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==" }, "is-valid-glob": { "version": "1.0.0", @@ -17781,603 +17234,30 @@ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true - }, - "issue-parser": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.1.tgz", - "integrity": "sha512-3YZcUUR2Wt1WsapF+S/WiA2WmlW0cWAoPccMqne7AxEBhCdFeTPjfv/Axb8V2gyCgY3nRw+ksZ3xSUX+R47iAg==", - "dev": true, - "requires": { - "lodash.capitalize": "^4.2.1", - "lodash.escaperegexp": "^4.1.2", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.uniqby": "^4.7.0" - } - }, - "istanbul-lib-coverage": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", - "dev": true - }, - "istanbul-lib-instrument": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.1.tgz", - "integrity": "sha512-EAMEJBsYuyyztxMxW3g7ugGPkrZsV57v0Hmv3mm1uQsmB+QnZuepg731CRaIgeUVSdmsTngOkSnauNF8p7FIhA==", - "dev": true, - "requires": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^7.5.4" - } - }, - "istanbul-lib-report": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", - "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", - "dev": true, - "requires": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^4.0.0", - "supports-color": "^7.1.0" - } - }, - "istanbul-lib-source-maps": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", - "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", - "dev": true, - "requires": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, - "istanbul-reports": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", - "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==", - "dev": true, - "requires": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - } - }, - "jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", - "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", - "dev": true, - "requires": { - "@jest/core": "^29.7.0", - "@jest/types": "^29.6.3", - "import-local": "^3.0.2", - "jest-cli": "^29.7.0" - } - }, - "jest-changed-files": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", - "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", - "dev": true, - "requires": { - "execa": "^5.0.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0" - } - }, - "jest-circus": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", - "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", - "dev": true, - "requires": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "co": "^4.6.0", - "dedent": "^1.0.0", - "is-generator-fn": "^2.0.0", - "jest-each": "^29.7.0", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0", - "pretty-format": "^29.7.0", - "pure-rand": "^6.0.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - } - }, - "jest-cli": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", - "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", - "dev": true, - "requires": { - "@jest/core": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "create-jest": "^29.7.0", - "exit": "^0.1.2", - "import-local": "^3.0.2", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "yargs": "^17.3.1" - } - }, - "jest-config": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", - "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", - "dev": true, - "requires": { - "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-jest": "^29.7.0", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-circus": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "micromatch": "^4.0.4", - "parse-json": "^5.2.0", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-json-comments": "^3.1.1" - }, - "dependencies": { - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - } - } - }, - "jest-diff": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", - "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", - "dev": true, - "requires": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - } - }, - "jest-docblock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", - "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", - "dev": true, - "requires": { - "detect-newline": "^3.0.0" - } - }, - "jest-each": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", - "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", - "dev": true, - "requires": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "jest-util": "^29.7.0", - "pretty-format": "^29.7.0" - } - }, - "jest-environment-node": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", - "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", - "dev": true, - "requires": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - } - }, - "jest-get-type": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", - "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", - "dev": true - }, - "jest-haste-map": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", - "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", - "dev": true, - "requires": { - "@jest/types": "^29.6.3", - "@types/graceful-fs": "^4.1.3", - "@types/node": "*", - "anymatch": "^3.0.3", - "fb-watchman": "^2.0.0", - "fsevents": "^2.3.2", - "graceful-fs": "^4.2.9", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "micromatch": "^4.0.4", - "walker": "^1.0.8" - }, - "dependencies": { - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", - "dev": true, - "requires": { - "@types/node": "*", - "jest-util": "^29.7.0", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - } - }, - "supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "jest-leak-detector": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", - "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", - "dev": true, - "requires": { - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - } - }, - "jest-matcher-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", - "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", - "dev": true, - "requires": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - } - }, - "jest-message-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", - "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - } - }, - "jest-mock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", - "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", - "dev": true, - "requires": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-util": "^29.7.0" - } - }, - "jest-pnp-resolver": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", - "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", - "dev": true, - "requires": {} - }, - "jest-regex-util": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", - "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", - "dev": true - }, - "jest-resolve": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", - "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", - "dev": true, - "requires": { - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "resolve": "^1.20.0", - "resolve.exports": "^2.0.0", - "slash": "^3.0.0" - } - }, - "jest-resolve-dependencies": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", - "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", - "dev": true, - "requires": { - "jest-regex-util": "^29.6.3", - "jest-snapshot": "^29.7.0" - } - }, - "jest-runner": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", - "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", - "dev": true, - "requires": { - "@jest/console": "^29.7.0", - "@jest/environment": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "graceful-fs": "^4.2.9", - "jest-docblock": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-leak-detector": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-resolve": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-util": "^29.7.0", - "jest-watcher": "^29.7.0", - "jest-worker": "^29.7.0", - "p-limit": "^3.1.0", - "source-map-support": "0.5.13" - }, - "dependencies": { - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", - "dev": true, - "requires": { - "@types/node": "*", - "jest-util": "^29.7.0", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - } - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, - "source-map-support": { - "version": "0.5.13", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", - "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", - "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "jest-runtime": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", - "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", - "dev": true, - "requires": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/globals": "^29.7.0", - "@jest/source-map": "^29.6.3", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "cjs-module-lexer": "^1.0.0", - "collect-v8-coverage": "^1.0.0", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0", - "strip-bom": "^4.0.0" - }, - "dependencies": { - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true - } - } - }, - "jest-snapshot": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", - "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", - "dev": true, - "requires": { - "@babel/core": "^7.11.6", - "@babel/generator": "^7.7.2", - "@babel/plugin-syntax-jsx": "^7.7.2", - "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0", - "chalk": "^4.0.0", - "expect": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "natural-compare": "^1.4.0", - "pretty-format": "^29.7.0", - "semver": "^7.5.3" - } - }, - "jest-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", - "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", - "dev": true, - "requires": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - } - }, - "jest-validate": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", - "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", - "dev": true, - "requires": { - "@jest/types": "^29.6.3", - "camelcase": "^6.2.0", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "leven": "^3.1.0", - "pretty-format": "^29.7.0" - }, - "dependencies": { - "camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true - } - } + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true }, - "jest-watcher": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", - "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", + "issue-parser": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.1.tgz", + "integrity": "sha512-3YZcUUR2Wt1WsapF+S/WiA2WmlW0cWAoPccMqne7AxEBhCdFeTPjfv/Axb8V2gyCgY3nRw+ksZ3xSUX+R47iAg==", "dev": true, "requires": { - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "jest-util": "^29.7.0", - "string-length": "^4.0.1" + "lodash.capitalize": "^4.2.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.uniqby": "^4.7.0" } }, "jest-worker": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, "requires": { "@types/node": "*", "merge-stream": "^2.0.0", @@ -18387,12 +17267,14 @@ "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true }, "supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, "requires": { "has-flag": "^4.0.0" } @@ -18408,12 +17290,14 @@ "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true }, "js-yaml": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "dev": true, "requires": { "argparse": "^2.0.1" } @@ -18424,12 +17308,6 @@ "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", "dev": true }, - "jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true - }, "json-buffer": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", @@ -18439,17 +17317,13 @@ "json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, "json5": { @@ -18466,6 +17340,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.0.1.tgz", "integrity": "sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg==", + "dev": true, "requires": { "graceful-fs": "^4.1.6", "universalify": "^1.0.0" @@ -18486,12 +17361,6 @@ "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true }, - "kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true - }, "last-run": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/last-run/-/last-run-2.0.0.tgz", @@ -18504,22 +17373,6 @@ "integrity": "sha512-DpMa59o5uGUWWjruMp71e6knmwKU3jRBBn1kjuLWN9EeIOxNeSAwvHf03WIl8g/ZMR2oSQC9ej3yeLBwdDc/pg==", "dev": true }, - "leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", - "dev": true - }, - "levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "requires": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - } - }, "liftoff": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-5.0.1.tgz", @@ -18538,34 +17391,23 @@ "lines-and-columns": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "dev": true }, "lint-staged": { - "version": "16.4.0", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-16.4.0.tgz", - "integrity": "sha512-lBWt8hujh/Cjysw5GYVmZpFHXDCgZzhrOm8vbcUdobADZNOK/bRshr2kM3DfgrrtR1DQhfupW9gnIXOfiFi+bw==", + "version": "16.3.2", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-16.3.2.tgz", + "integrity": "sha512-xKqhC2AeXLwiAHXguxBjuChoTTWFC6Pees0SHPwOpwlvI3BH7ZADFPddAdN3pgo3aiKgPUx/bxE78JfUnxQnlg==", "dev": true, "requires": { "commander": "^14.0.3", "listr2": "^9.0.5", - "picomatch": "^4.0.3", + "micromatch": "^4.0.8", "string-argv": "^0.3.2", - "tinyexec": "^1.0.4", + "tinyexec": "^1.0.2", "yaml": "^2.8.2" }, "dependencies": { - "commander": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", - "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==", - "dev": true - }, - "picomatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", - "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", - "dev": true - }, "tinyexec": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.0.4.tgz", @@ -18636,21 +17478,14 @@ "loader-runner": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.1.tgz", - "integrity": "sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==" - }, - "locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, - "requires": { - "p-locate": "^5.0.0" - } + "integrity": "sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==", + "dev": true }, "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, "lodash.camelcase": { "version": "4.3.0", @@ -18688,12 +17523,6 @@ "integrity": "sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==", "dev": true }, - "lodash.memoize": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", - "dev": true - }, "lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", @@ -18731,12 +17560,12 @@ "dev": true }, "log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-7.0.1.tgz", + "integrity": "sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==", "requires": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" + "is-unicode-supported": "^2.0.0", + "yoctocolors": "^2.1.1" } }, "log-update": { @@ -18767,46 +17596,12 @@ "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "dev": true }, - "cli-cursor": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", - "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", - "dev": true, - "requires": { - "restore-cursor": "^5.0.0" - } - }, "emoji-regex": { "version": "10.4.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", "dev": true }, - "onetime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", - "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", - "dev": true, - "requires": { - "mimic-function": "^5.0.0" - } - }, - "restore-cursor": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", - "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", - "dev": true, - "requires": { - "onetime": "^7.0.0", - "signal-exit": "^4.1.0" - } - }, - "signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true - }, "string-width": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", @@ -18858,11 +17653,11 @@ "dev": true }, "magic-string": { - "version": "0.30.17", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", - "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", "requires": { - "@jridgewell/sourcemap-codec": "^1.5.0" + "@jridgewell/sourcemap-codec": "^1.5.5" } }, "make-dir": { @@ -18874,21 +17669,6 @@ "semver": "^7.5.3" } }, - "make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true - }, - "makeerror": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", - "dev": true, - "requires": { - "tmpl": "1.0.5" - } - }, "map-cache": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", @@ -18899,6 +17679,7 @@ "version": "3.4.13", "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.13.tgz", "integrity": "sha512-omTM41g3Skpvx5dSYeZIbXKcXoAVc/AoMNwn9TKx++L/gaen/+4TTttmu8ZSch5vfVJ8uJvGbroTsIlslRg6lg==", + "dev": true, "requires": { "fs-monkey": "^1.0.3" } @@ -18912,7 +17693,8 @@ "merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true }, "micromatch": { "version": "4.0.8", @@ -18927,12 +17709,14 @@ "mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true }, "mime-types": { "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, "requires": { "mime-db": "1.52.0" } @@ -18940,13 +17724,13 @@ "mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true }, "mimic-function": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", - "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", - "dev": true + "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==" }, "mimic-response": { "version": "4.0.0", @@ -18958,6 +17742,7 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, "requires": { "brace-expansion": "^1.1.7" } @@ -18989,16 +17774,17 @@ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==" }, - "natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", "dev": true }, "neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true }, "netmask": { "version": "2.0.2", @@ -19037,7 +17823,8 @@ "node-abort-controller": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.1.1.tgz", - "integrity": "sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==" + "integrity": "sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==", + "dev": true }, "node-addon-api": { "version": "3.2.1", @@ -19047,11 +17834,21 @@ "optional": true }, "node-emoji": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz", - "integrity": "sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.2.0.tgz", + "integrity": "sha512-Z3lTE9pLaJF47NyMhd4ww1yFTAP8YhYI8SleJiHzM46Fgpm5cnNzSl9XfzFNqbaz+VlJrIj3fXQ4DeN1Rjm6cw==", "requires": { - "lodash": "^4.17.21" + "@sindresorhus/is": "^4.6.0", + "char-regex": "^1.0.2", + "emojilib": "^2.4.0", + "skin-tone": "^2.0.0" + }, + "dependencies": { + "@sindresorhus/is": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", + "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==" + } } }, "node-fetch-native": { @@ -19067,16 +17864,11 @@ "dev": true, "optional": true }, - "node-int64": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", - "dev": true - }, "node-releases": { "version": "2.0.27", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz", - "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==" + "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==", + "dev": true }, "normalize-path": { "version": "3.0.0", @@ -19142,6 +17934,12 @@ "isobject": "^3.0.1" } }, + "obug": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/obug/-/obug-2.1.1.tgz", + "integrity": "sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==", + "dev": true + }, "ohash": { "version": "2.0.11", "resolved": "https://registry.npmjs.org/ohash/-/ohash-2.0.11.tgz", @@ -19161,6 +17959,7 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, "requires": { "mimic-fn": "^2.1.0" } @@ -19177,34 +17976,53 @@ "wsl-utils": "^0.1.0" } }, - "optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", - "dev": true, - "requires": { - "@aashutoshrathi/word-wrap": "^1.2.3", - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" - } - }, "ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/ora/-/ora-9.3.0.tgz", + "integrity": "sha512-lBX72MWFduWEf7v7uWf5DHp9Jn5BI8bNPGuFgtXMmr2uDz2Gz2749y3am3agSDdkhHPHYmmxEGSKH85ZLGzgXw==", "requires": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" + "chalk": "^5.6.2", + "cli-cursor": "^5.0.0", + "cli-spinners": "^3.2.0", + "is-interactive": "^2.0.0", + "is-unicode-supported": "^2.1.0", + "log-symbols": "^7.0.1", + "stdin-discarder": "^0.3.1", + "string-width": "^8.1.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==" + }, + "chalk": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==" + }, + "stdin-discarder": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.3.2.tgz", + "integrity": "sha512-eCPu1qRxPVkl5605OTWF8Wz40b4Mf45NY5LQmVPQ599knfs5QhASUm9GbJ5BDMDOXgrnh0wyEdvzmL//YMlw0A==" + }, + "string-width": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.0.tgz", + "integrity": "sha512-6hJPQ8N0V0P3SNmP6h2J99RLuzrWz2gvT7VnK5tKvrNqJoyS9W4/Fb8mo31UiPvy00z7DQXkP2hnKBVav76thw==", + "requires": { + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" + } + }, + "strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "requires": { + "ansi-regex": "^6.2.2" + } + } } }, "os-name": { @@ -19217,36 +18035,39 @@ "windows-release": "^6.1.0" } }, + "oxlint": { + "version": "1.58.0", + "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.58.0.tgz", + "integrity": "sha512-t4s9leczDMqlvOSjnbCQe7gtoLkWgBGZ7sBdCJ9EOj5IXFSG/X7OAzK4yuH4iW+4cAYe8kLFbC8tuYMwWZm+Cg==", + "dev": true, + "requires": { + "@oxlint/binding-android-arm-eabi": "1.58.0", + "@oxlint/binding-android-arm64": "1.58.0", + "@oxlint/binding-darwin-arm64": "1.58.0", + "@oxlint/binding-darwin-x64": "1.58.0", + "@oxlint/binding-freebsd-x64": "1.58.0", + "@oxlint/binding-linux-arm-gnueabihf": "1.58.0", + "@oxlint/binding-linux-arm-musleabihf": "1.58.0", + "@oxlint/binding-linux-arm64-gnu": "1.58.0", + "@oxlint/binding-linux-arm64-musl": "1.58.0", + "@oxlint/binding-linux-ppc64-gnu": "1.58.0", + "@oxlint/binding-linux-riscv64-gnu": "1.58.0", + "@oxlint/binding-linux-riscv64-musl": "1.58.0", + "@oxlint/binding-linux-s390x-gnu": "1.58.0", + "@oxlint/binding-linux-x64-gnu": "1.58.0", + "@oxlint/binding-linux-x64-musl": "1.58.0", + "@oxlint/binding-openharmony-arm64": "1.58.0", + "@oxlint/binding-win32-arm64-msvc": "1.58.0", + "@oxlint/binding-win32-ia32-msvc": "1.58.0", + "@oxlint/binding-win32-x64-msvc": "1.58.0" + } + }, "p-cancelable": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz", "integrity": "sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==", "dev": true }, - "p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "requires": { - "yocto-queue": "^0.1.0" - } - }, - "p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dev": true, - "requires": { - "p-limit": "^3.0.2" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, "pac-proxy-agent": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.1.0.tgz", @@ -19277,6 +18098,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, "requires": { "callsites": "^3.0.0" } @@ -19296,6 +18118,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, "requires": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -19334,12 +18157,6 @@ "parse-path": "^7.0.0" } }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", @@ -19391,7 +18208,8 @@ "path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true }, "pathe": { "version": "2.0.3", @@ -19420,7 +18238,8 @@ "picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==" + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true }, "picomatch": { "version": "2.3.1", @@ -19428,12 +18247,6 @@ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, - "pirates": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", - "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", - "dev": true - }, "piscina": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/piscina/-/piscina-4.3.1.tgz", @@ -19443,54 +18256,6 @@ "nice-napi": "^1.0.2" } }, - "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "requires": { - "find-up": "^4.0.0" - }, - "dependencies": { - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - } - } - }, "pkg-types": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-2.3.0.tgz", @@ -19559,53 +18324,29 @@ "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==" }, - "prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true - }, - "prettier": { - "version": "3.8.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.2.tgz", - "integrity": "sha512-8c3mgTe0ASwWAJK+78dpviD+A8EqhndQPUBpNUIPt6+xWlIigCwfN01lWr9MAede4uqXGTEKeQWTvzb3vjia0Q==", - "dev": true - }, - "pretty-format": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", - "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", + "postcss": { + "version": "8.5.10", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.10.tgz", + "integrity": "sha512-pMMHxBOZKFU6HgAZ4eyGnwXF/EvPGGqUr0MnZ5+99485wwW41kW91A4LOGxSHhgugZmSChL5AlElNdwlNgcnLQ==", "dev": true, "requires": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true - } + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" } }, + "prettier": { + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", + "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==", + "dev": true + }, "process-nextick-args": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", "dev": true }, - "prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, - "requires": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - } - }, "protocols": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.2.tgz", @@ -19645,12 +18386,7 @@ "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" - }, - "pure-rand": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.4.tgz", - "integrity": "sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true }, "queue-tick": { @@ -19675,12 +18411,6 @@ "destr": "^2.0.3" } }, - "react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", - "dev": true - }, "readable-stream": { "version": "2.3.5", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.5.tgz", @@ -19697,9 +18427,9 @@ } }, "readdirp": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.2.tgz", - "integrity": "sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.0.0.tgz", + "integrity": "sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==" }, "rechoir": { "version": "0.8.0", @@ -19757,44 +18487,7 @@ "version": "4.3.1", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.3.1.tgz", "integrity": "sha512-Wdy2Igu8OcBpI2pZePZ5oWjPC38tmDVx5WKUXKwlLYkA0ozo85sLsLvkBbBn/sZaSCMFOGZJ14fvW9t5/d7kdA==", - "dev": true - }, - "cli-cursor": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", - "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", - "dev": true, - "requires": { - "restore-cursor": "^5.0.0" - } - }, - "cli-spinners": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-3.4.0.tgz", - "integrity": "sha512-bXfOC4QcT1tKXGorxL3wbJm6XJPDqEnij2gQ2m7ESQuE+/z9YFIWnl/5RpTiKWbMq3EVKR4fRLJGn6DVfu0mpw==", - "dev": true - }, - "is-interactive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", - "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", - "dev": true - }, - "is-unicode-supported": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", - "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", - "dev": true - }, - "log-symbols": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-7.0.1.tgz", - "integrity": "sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==", - "dev": true, - "requires": { - "is-unicode-supported": "^2.0.0", - "yoctocolors": "^2.1.1" - } + "dev": true }, "mime-db": { "version": "1.54.0", @@ -19811,15 +18504,6 @@ "mime-db": "^1.54.0" } }, - "onetime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", - "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", - "dev": true, - "requires": { - "mimic-function": "^5.0.0" - } - }, "ora": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/ora/-/ora-9.0.0.tgz", @@ -19837,22 +18521,6 @@ "strip-ansi": "^7.1.2" } }, - "restore-cursor": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", - "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", - "dev": true, - "requires": { - "onetime": "^7.0.0", - "signal-exit": "^4.1.0" - } - }, - "signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true - }, "string-width": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.1.0.tgz", @@ -19925,15 +18593,6 @@ "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==", "dev": true }, - "resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "requires": { - "resolve-from": "^5.0.0" - } - }, "resolve-dir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", @@ -19959,12 +18618,6 @@ "value-or-function": "^4.0.0" } }, - "resolve.exports": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", - "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", - "dev": true - }, "responselike": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/responselike/-/responselike-3.0.0.tgz", @@ -19975,12 +18628,27 @@ } }, "restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", + "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", "requires": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" + "onetime": "^7.0.0", + "signal-exit": "^4.1.0" + }, + "dependencies": { + "onetime": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", + "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", + "requires": { + "mimic-function": "^5.0.0" + } + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } } }, "retry": { @@ -20001,6 +18669,41 @@ "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", "dev": true }, + "rollup": { + "version": "4.60.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.1.tgz", + "integrity": "sha512-VmtB2rFU/GroZ4oL8+ZqXgSA38O6GR8KSIvWmEFv63pQ0G6KaBH9s07PO8XTXP4vI+3UJUEypOfjkGfmSBBR0w==", + "dev": true, + "requires": { + "@rollup/rollup-android-arm-eabi": "4.60.1", + "@rollup/rollup-android-arm64": "4.60.1", + "@rollup/rollup-darwin-arm64": "4.60.1", + "@rollup/rollup-darwin-x64": "4.60.1", + "@rollup/rollup-freebsd-arm64": "4.60.1", + "@rollup/rollup-freebsd-x64": "4.60.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.60.1", + "@rollup/rollup-linux-arm-musleabihf": "4.60.1", + "@rollup/rollup-linux-arm64-gnu": "4.60.1", + "@rollup/rollup-linux-arm64-musl": "4.60.1", + "@rollup/rollup-linux-loong64-gnu": "4.60.1", + "@rollup/rollup-linux-loong64-musl": "4.60.1", + "@rollup/rollup-linux-ppc64-gnu": "4.60.1", + "@rollup/rollup-linux-ppc64-musl": "4.60.1", + "@rollup/rollup-linux-riscv64-gnu": "4.60.1", + "@rollup/rollup-linux-riscv64-musl": "4.60.1", + "@rollup/rollup-linux-s390x-gnu": "4.60.1", + "@rollup/rollup-linux-x64-gnu": "4.60.1", + "@rollup/rollup-linux-x64-musl": "4.60.1", + "@rollup/rollup-openbsd-x64": "4.60.1", + "@rollup/rollup-openharmony-arm64": "4.60.1", + "@rollup/rollup-win32-arm64-msvc": "4.60.1", + "@rollup/rollup-win32-ia32-msvc": "4.60.1", + "@rollup/rollup-win32-x64-gnu": "4.60.1", + "@rollup/rollup-win32-x64-msvc": "4.60.1", + "@types/estree": "1.0.8", + "fsevents": "~2.3.2" + } + }, "run-applescript": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.0.0.tgz", @@ -20014,9 +18717,9 @@ "dev": true }, "rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", "requires": { "tslib": "^2.1.0" } @@ -20036,6 +18739,7 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, "requires": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -20062,7 +18766,8 @@ "semver": { "version": "7.7.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", - "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==" + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "dev": true }, "semver-greatest-satisfied-range": { "version": "2.0.0", @@ -20103,17 +18808,26 @@ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, + "siginfo": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz", + "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==", + "dev": true + }, "signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - }, - "sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true }, + "skin-tone": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/skin-tone/-/skin-tone-2.0.0.tgz", + "integrity": "sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==", + "requires": { + "unicode-emoji-modifier-base": "^1.0.0" + } + }, "slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -20176,14 +18890,21 @@ } }, "source-map": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==" + "version": "0.7.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz", + "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==" + }, + "source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true }, "source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -20192,7 +18913,8 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true } } }, @@ -20202,28 +18924,17 @@ "integrity": "sha512-r7iW1bDw8R/cFifrD3JnQJX0K1jqT0kprL48BiBpLZLJPmAm34zsVBsK5lc7HirZYZqMW65dOXZgbAGt/I6frg==", "dev": true }, - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "stackback": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", + "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==", "dev": true }, - "stack-utils": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", - "dev": true, - "requires": { - "escape-string-regexp": "^2.0.0" - }, - "dependencies": { - "escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true - } - } + "std-env": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz", + "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==", + "dev": true }, "stdin-discarder": { "version": "0.2.2", @@ -20272,16 +18983,6 @@ "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==", "dev": true }, - "string-length": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", - "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", - "dev": true, - "requires": { - "char-regex": "^1.0.2", - "strip-ansi": "^6.0.0" - } - }, "string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", @@ -20328,12 +19029,6 @@ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", "dev": true }, - "strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true - }, "strtok3": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-9.0.1.tgz", @@ -20348,6 +19043,7 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "dev": true, "requires": { "has-flag": "^4.0.0" }, @@ -20355,7 +19051,8 @@ "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true } } }, @@ -20377,15 +19074,11 @@ } } }, - "symbol-observable": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-4.0.0.tgz", - "integrity": "sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==" - }, "tapable": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.0.tgz", - "integrity": "sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==" + "integrity": "sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==", + "dev": true }, "tar-stream": { "version": "3.1.7", @@ -20411,6 +19104,7 @@ "version": "5.39.0", "resolved": "https://registry.npmjs.org/terser/-/terser-5.39.0.tgz", "integrity": "sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw==", + "dev": true, "requires": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -20421,7 +19115,8 @@ "commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true } } }, @@ -20429,6 +19124,7 @@ "version": "5.4.0", "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.4.0.tgz", "integrity": "sha512-Bn5vxm48flOIfkdl5CaD2+1CiUVbonWQ3KQPyP7/EuIl9Gbzq/gQFOzaMFUEgVjB1396tcK0SG8XcNJ/2kDH8g==", + "dev": true, "requires": { "@jridgewell/trace-mapping": "^0.3.25", "jest-worker": "^27.4.5", @@ -20440,6 +19136,7 @@ "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, "requires": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -20451,6 +19148,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, "requires": { "ajv": "^8.0.0" } @@ -20459,6 +19157,7 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, "requires": { "fast-deep-equal": "^3.1.3" } @@ -20466,12 +19165,14 @@ "json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true }, "schema-utils": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.0.tgz", "integrity": "sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g==", + "dev": true, "requires": { "@types/json-schema": "^7.0.9", "ajv": "^8.9.0", @@ -20481,33 +19182,6 @@ } } }, - "test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", - "dev": true, - "requires": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" - }, - "dependencies": { - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - } - } - }, "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -20556,6 +19230,12 @@ "integrity": "sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=", "dev": true }, + "tinybench": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", + "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==", + "dev": true + }, "tinyexec": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz", @@ -20572,13 +19252,6 @@ "picomatch": "^4.0.3" }, "dependencies": { - "fdir": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", - "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", - "dev": true, - "requires": {} - }, "picomatch": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", @@ -20587,16 +19260,10 @@ } } }, - "tmpl": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "dev": true - }, - "to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "tinyrainbow": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.1.0.tgz", + "integrity": "sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==", "dev": true }, "to-regex-range": { @@ -20627,48 +19294,10 @@ "ieee754": "^1.2.1" } }, - "ts-api-utils": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", - "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", - "dev": true, - "requires": {} - }, - "ts-jest": { - "version": "29.4.9", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.4.9.tgz", - "integrity": "sha512-LTb9496gYPMCqjeDLdPrKuXtncudeV1yRZnF4Wo5l3SFi0RYEnYRNgMrFIdg+FHvfzjCyQk1cLncWVqiSX+EvQ==", - "dev": true, - "requires": { - "bs-logger": "^0.2.6", - "fast-json-stable-stringify": "^2.1.0", - "handlebars": "^4.7.9", - "json5": "^2.2.3", - "lodash.memoize": "^4.1.2", - "make-error": "^1.3.6", - "semver": "^7.7.4", - "type-fest": "^4.41.0", - "yargs-parser": "^21.1.1" - }, - "dependencies": { - "semver": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", - "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", - "dev": true - }, - "yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true - } - } - }, "ts-loader": { - "version": "9.5.7", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.5.7.tgz", - "integrity": "sha512-/ZNrKgA3K3PtpMYOC71EeMWIloGw3IYEa5/t1cyz2r5/PyUwTXGzYJvcD3kfUvmhlfpz1rhV8B2O6IVTQ0avsg==", + "version": "9.5.4", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.5.4.tgz", + "integrity": "sha512-nCz0rEwunlTZiy6rXFByQU1kVVpCIgUpc/psFiKVrUwrizdnIbRFu8w7bxhUF0X613DYwT4XzrZHpVyMe758hQ==", "dev": true, "requires": { "chalk": "^4.1.0", @@ -20678,27 +19307,6 @@ "source-map": "^0.7.4" } }, - "ts-node": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", - "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", - "dev": true, - "requires": { - "@cspotcode/source-map-support": "^0.8.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.1", - "yn": "3.1.1" - } - }, "tsconfig-paths": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", @@ -20713,6 +19321,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.2.0.tgz", "integrity": "sha512-zbem3rfRS8BgeNK50Zz5SIQgXzLafiHjOwUAvk/38/o1jHn/V5QAgVUcz884or7WYcPaH3N2CIfUc2u0ul7UcA==", + "dev": true, "requires": { "chalk": "^4.1.0", "enhanced-resolve": "^5.7.0", @@ -20725,38 +19334,10 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, - "type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "requires": { - "prelude-ls": "^1.2.1" - } - }, - "type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true - }, - "type-fest": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", - "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", - "dev": true - }, "typescript": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==" - }, - "uglify-js": { - "version": "3.19.3", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", - "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", - "dev": true, - "optional": true + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==" }, "uint8array-extras": { "version": "1.4.0", @@ -20816,9 +19397,15 @@ "dev": true }, "undici-types": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", - "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==" + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz", + "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==", + "dev": true + }, + "unicode-emoji-modifier-base": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz", + "integrity": "sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==" }, "universal-user-agent": { "version": "7.0.3", @@ -20829,12 +19416,14 @@ "universalify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", - "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==" + "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==", + "dev": true }, "update-browserslist-db": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", + "dev": true, "requires": { "escalade": "^3.2.0", "picocolors": "^1.1.1" @@ -20844,6 +19433,7 @@ "version": "4.2.2", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "dev": true, "requires": { "punycode": "^2.1.0" } @@ -20857,25 +19447,9 @@ "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "v8-compile-cache-lib": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", - "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, - "v8-to-istanbul": { - "version": "9.1.3", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.3.tgz", - "integrity": "sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg==", - "dev": true, - "requires": { - "@jridgewell/trace-mapping": "^0.3.12", - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^2.0.0" - } - }, "v8flags": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-4.0.1.tgz", @@ -21092,36 +19666,92 @@ } } }, - "walker": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", + "vite": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.2.tgz", + "integrity": "sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ==", + "dev": true, + "requires": { + "esbuild": "^0.25.0", + "fdir": "^6.4.4", + "fsevents": "~2.3.3", + "picomatch": "^4.0.2", + "postcss": "^8.5.3", + "rollup": "^4.34.9", + "tinyglobby": "^0.2.13" + }, + "dependencies": { + "picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true + } + } + }, + "vitest": { + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.0.18.tgz", + "integrity": "sha512-hOQuK7h0FGKgBAas7v0mSAsnvrIgAvWmRFjmzpJ7SwFHH3g1k2u37JtYwOwmEKhK6ZO3v9ggDBBm0La1LCK4uQ==", "dev": true, "requires": { - "makeerror": "1.0.12" + "@vitest/expect": "4.0.18", + "@vitest/mocker": "4.0.18", + "@vitest/pretty-format": "4.0.18", + "@vitest/runner": "4.0.18", + "@vitest/snapshot": "4.0.18", + "@vitest/spy": "4.0.18", + "@vitest/utils": "4.0.18", + "es-module-lexer": "^1.7.0", + "expect-type": "^1.2.2", + "magic-string": "^0.30.21", + "obug": "^2.1.1", + "pathe": "^2.0.3", + "picomatch": "^4.0.3", + "std-env": "^3.10.0", + "tinybench": "^2.9.0", + "tinyexec": "^1.0.2", + "tinyglobby": "^0.2.15", + "tinyrainbow": "^3.0.3", + "vite": "^6.0.0 || ^7.0.0", + "why-is-node-running": "^2.3.0" + }, + "dependencies": { + "es-module-lexer": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz", + "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==", + "dev": true + }, + "picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true + }, + "tinyexec": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.1.1.tgz", + "integrity": "sha512-VKS/ZaQhhkKFMANmAOhhXVoIfBXblQxGX1myCQ2faQrfmobMftXeJPcZGp0gS07ocvGJWDLZGyOZDadDBqYIJg==", + "dev": true + } } }, "watchpack": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.5.1.tgz", "integrity": "sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg==", + "dev": true, "requires": { "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.1.2" } }, - "wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", - "requires": { - "defaults": "^1.0.3" - } - }, "webpack": { - "version": "5.106.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.106.0.tgz", - "integrity": "sha512-Pkx5joZ9RrdgO5LBkyX1L2ZAJeK/Taz3vqZ9CbcP0wS5LEMx5QkKsEwLl29QJfihZ+DKRBFldzy1O30pJ1MDpA==", + "version": "5.105.4", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.105.4.tgz", + "integrity": "sha512-jTywjboN9aHxFlToqb0K0Zs9SbBoW4zRUlGzI2tYNxVYcEi/IPpn+Xi4ye5jTLvX2YeLuic/IvxNot+Q1jMoOw==", + "dev": true, "requires": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.8", @@ -21154,6 +19784,7 @@ "version": "8.18.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", + "dev": true, "requires": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -21165,6 +19796,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, "requires": { "ajv": "^8.0.0" } @@ -21173,6 +19805,7 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, "requires": { "fast-deep-equal": "^3.1.3" } @@ -21180,12 +19813,14 @@ "json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true }, "schema-utils": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.3.tgz", "integrity": "sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==", + "dev": true, "requires": { "@types/json-schema": "^7.0.9", "ajv": "^8.9.0", @@ -21198,12 +19833,14 @@ "webpack-node-externals": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/webpack-node-externals/-/webpack-node-externals-3.0.0.tgz", - "integrity": "sha512-LnL6Z3GGDPht/AigwRh2dvL9PQPFQ8skEpVrWZXLWBYmqcaojHNN0onvHzie6rq7EWKrrBfPYqNEzTJgiwEQDQ==" + "integrity": "sha512-LnL6Z3GGDPht/AigwRh2dvL9PQPFQ8skEpVrWZXLWBYmqcaojHNN0onvHzie6rq7EWKrrBfPYqNEzTJgiwEQDQ==", + "dev": true }, "webpack-sources": { "version": "3.3.4", "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.3.4.tgz", - "integrity": "sha512-7tP1PdV4vF+lYPnkMR0jMY5/la2ub5Fc/8VQrrU+lXkiM6C4TjVfGw7iKfyhnTQOsD+6Q/iKw0eFciziRgD58Q==" + "integrity": "sha512-7tP1PdV4vF+lYPnkMR0jMY5/la2ub5Fc/8VQrrU+lXkiM6C4TjVfGw7iKfyhnTQOsD+6Q/iKw0eFciziRgD58Q==", + "dev": true }, "which": { "version": "1.3.1", @@ -21214,6 +19851,16 @@ "isexe": "^2.0.0" } }, + "why-is-node-running": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz", + "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==", + "dev": true, + "requires": { + "siginfo": "^2.0.0", + "stackback": "0.0.2" + } + }, "wildcard-match": { "version": "5.1.4", "resolved": "https://registry.npmjs.org/wildcard-match/-/wildcard-match-5.1.4.tgz", @@ -21308,12 +19955,6 @@ } } }, - "wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", - "dev": true - }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -21419,23 +20060,10 @@ "pend": "~1.2.0" } }, - "yn": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", - "dev": true - }, - "yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true - }, "yoctocolors": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.1.2.tgz", - "integrity": "sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug==", - "dev": true + "integrity": "sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug==" }, "yoctocolors-cjs": { "version": "2.1.3", diff --git a/package.json b/package.json index c31db3c4c..421123626 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "@nestjs/cli", - "version": "11.0.21", + "version": "12.0.0-alpha.5", + "type": "module", "description": "Nest - modern, fast, powerful node.js web framework (@cli)", "publishConfig": { "access": "public" @@ -13,20 +14,21 @@ }, "scripts": { "build": "tsc", - "clean": "gulp clean:bundle", + "clean": "node tools/clean.js", "format": "prettier --write \"**/*.ts\"", - "lint": "eslint '{lib,commands,actions}/**/*.ts' --fix", + "lint": "oxlint lib/ commands/ actions/", "start": "node bin/nest.js", "prepack": "npm run build", "prepublish:next": "npm run build", "publish:next": "npm publish --access public --tag next", "prepublish:npm": "npm run build", "publish:npm": "npm publish --access public", - "test": "jest --config test/jest-config.json", - "test:dev": "npm run clean && jest --config test/jest-config.json --watchAll", + "test": "vitest run", + "test:e2e": "vitest run -c vitest.e2e.config.ts", + "test:dev": "npm run clean && vitest --watch", "prerelease": "npm run build", "release": "release-it", - "prepare": "husky" + "prepare": "husky && node tools/postinstall.cjs" }, "repository": { "type": "git", @@ -38,64 +40,81 @@ }, "homepage": "https://github.com/nestjs/nest-cli#readme", "dependencies": { - "@angular-devkit/core": "19.2.24", - "@angular-devkit/schematics": "19.2.24", - "@angular-devkit/schematics-cli": "19.2.24", - "@inquirer/prompts": "7.10.1", - "@nestjs/schematics": "^11.0.1", + "@angular-devkit/core": "21.2.1", + "@angular-devkit/schematics": "21.2.1", + "@angular-devkit/schematics-cli": "21.2.1", + "@inquirer/prompts": "8.3.0", + "@nestjs/schematics": "^12.0.0-alpha.0", "ansis": "4.2.0", - "chokidar": "4.0.3", + "chokidar": "5.0.0", "cli-table3": "0.6.5", - "commander": "4.1.1", - "fork-ts-checker-webpack-plugin": "9.1.0", + "commander": "14.0.3", "glob": "13.0.6", - "node-emoji": "1.11.0", - "ora": "5.4.1", + "node-emoji": "2.2.0", + "ora": "9.3.0", "tsconfig-paths": "4.2.0", - "tsconfig-paths-webpack-plugin": "4.2.0", - "typescript": "5.9.3", - "webpack": "5.106.2", - "webpack-node-externals": "3.0.0" + "typescript": "~6.0.2" }, "devDependencies": { - "@commitlint/cli": "20.5.0", - "@commitlint/config-angular": "20.5.0", - "@swc/cli": "0.8.1", - "@swc/core": "1.15.30", - "@types/inquirer": "9.0.9", - "@types/jest": "29.5.14", - "@types/node": "24.12.2", - "@types/node-emoji": "1.8.2", + "@commitlint/cli": "20.4.3", + "@commitlint/config-angular": "20.4.3", + "@rspack/core": "^1.7.7", + "@swc/cli": "0.8.0", + "@swc/core": "1.15.18", + "@types/node": "25.3.5", "@types/webpack-node-externals": "3.0.4", - "@typescript-eslint/eslint-plugin": "8.58.2", - "@typescript-eslint/parser": "8.58.2", "delete-empty": "3.0.0", - "eslint": "10.2.0", - "eslint-config-prettier": "10.1.8", + "fork-ts-checker-webpack-plugin": "9.1.0", "gulp": "5.0.1", "gulp-clean": "0.4.0", "husky": "9.1.7", - "jest": "29.7.0", - "lint-staged": "16.4.0", - "prettier": "3.8.3", - "release-it": "20.0.0", - "ts-jest": "29.4.9", - "ts-loader": "9.5.7", - "ts-node": "10.9.2" + "lint-staged": "16.3.2", + "oxlint": "1.58.0", + "prettier": "3.8.1", + "release-it": "19.2.4", + "ts-loader": "9.5.4", + "tsconfig-paths-webpack-plugin": "4.2.0", + "vitest": "4.0.18", + "webpack": "5.105.4", + "webpack-node-externals": "3.0.0" }, "lint-staged": { "**/*.{ts,json}": [] }, "peerDependencies": { - "@swc/cli": "^0.1.62 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0", - "@swc/core": "^1.3.62" + "@rspack/core": "^1.7.7", + "@swc/cli": "^0.8.0", + "@swc/core": "^1.15.18", + "fork-ts-checker-webpack-plugin": "^9.1.0", + "ts-loader": "^9.5.4", + "tsconfig-paths-webpack-plugin": "^4.2.0", + "webpack": "^5.105.4", + "webpack-node-externals": "^3.0.0" }, "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, "@swc/cli": { "optional": true }, "@swc/core": { "optional": true + }, + "fork-ts-checker-webpack-plugin": { + "optional": true + }, + "ts-loader": { + "optional": true + }, + "tsconfig-paths-webpack-plugin": { + "optional": true + }, + "webpack": { + "optional": true + }, + "webpack-node-externals": { + "optional": true } } } diff --git a/test/actions/add.action.spec.ts b/test/actions/add.action.spec.ts new file mode 100644 index 000000000..590667cf3 --- /dev/null +++ b/test/actions/add.action.spec.ts @@ -0,0 +1,86 @@ +import { describe, expect, it } from 'vitest'; +import { AddAction } from '../../actions/add.action.js'; + +// Expose private methods for targeted testing +type AddActionInternal = AddAction & { + getPackageName(library: string): string; + getCollectionName(library: string, packageName: string): string; + getTagName(packageName: string): string; +}; + +describe('AddAction helpers', () => { + const action = new AddAction() as AddActionInternal; + + describe('getPackageName', () => { + it('should return the package name for a non-scoped package', () => { + expect(action.getPackageName('my-lib')).toBe('my-lib'); + }); + + it('should return the package name with version for a non-scoped package', () => { + expect(action.getPackageName('my-lib@1.0.0')).toBe('my-lib@1.0.0'); + }); + + it('should return scope/name for a scoped package', () => { + expect(action.getPackageName('@scope/pkg')).toBe('@scope/pkg'); + }); + + it('should return scope/name@version for a scoped package with version', () => { + expect(action.getPackageName('@scope/pkg@1.0.0')).toBe( + '@scope/pkg@1.0.0', + ); + }); + + it('should strip subpaths from a non-scoped package', () => { + expect(action.getPackageName('my-lib/subpath')).toBe('my-lib'); + }); + }); + + describe('getTagName', () => { + it('should return empty string for a non-scoped package with no version', () => { + expect(action.getTagName('my-lib')).toBe(''); + }); + + it('should return the version for a non-scoped package with version', () => { + expect(action.getTagName('my-lib@1.0.0')).toBe('1.0.0'); + }); + + it('should return empty string for a scoped package with no version', () => { + expect(action.getTagName('@scope/pkg')).toBe(''); + }); + + it('should return the version for a scoped package with version', () => { + expect(action.getTagName('@scope/pkg@1.0.0')).toBe('1.0.0'); + }); + + it('should return "latest" tag when specified', () => { + expect(action.getTagName('my-lib@latest')).toBe('latest'); + }); + + it('should return "next" tag when specified', () => { + expect(action.getTagName('@scope/pkg@next')).toBe('next'); + }); + + it('should always return a string (not undefined)', () => { + const result = action.getTagName('@scope/pkg'); + expect(typeof result).toBe('string'); + }); + }); + + describe('getCollectionName', () => { + it('should return the package name when no version is included', () => { + expect(action.getCollectionName('my-lib', 'my-lib')).toBe('my-lib'); + }); + + it('should strip the version for a non-scoped package', () => { + expect(action.getCollectionName('my-lib@1.0.0', 'my-lib@1.0.0')).toBe( + 'my-lib', + ); + }); + + it('should return the scope/name for a scoped package', () => { + expect(action.getCollectionName('@scope/pkg', '@scope/pkg')).toBe( + '@scope/pkg', + ); + }); + }); +}); diff --git a/test/actions/build.action.spec.ts b/test/actions/build.action.spec.ts new file mode 100644 index 000000000..32a48fd3e --- /dev/null +++ b/test/actions/build.action.spec.ts @@ -0,0 +1,165 @@ +import { describe, it, expect, vi, beforeEach } from 'vitest'; +import { BuildAction } from '../../actions/build.action.js'; +import { Configuration } from '../../lib/configuration/index.js'; +import { RspackCompiler } from '../../lib/compiler/rspack-compiler.js'; +import { WebpackCompiler } from '../../lib/compiler/webpack-compiler.js'; +import { getRspackConfigPath } from '../../lib/compiler/helpers/get-rspack-config-path.js'; + +vi.mock('../../lib/compiler/rspack-compiler.js', () => ({ + RspackCompiler: vi.fn().mockImplementation(function () { + return { run: vi.fn() }; + }), +})); + +vi.mock('../../lib/compiler/helpers/get-rspack-config-path.js', () => ({ + getRspackConfigPath: vi.fn(), +})); + +vi.mock('../../lib/utils/is-module-available.js', () => ({ + isModuleAvailable: vi.fn().mockReturnValue(false), +})); + +vi.mock('../../lib/compiler/webpack-compiler.js', () => ({ + WebpackCompiler: vi.fn().mockImplementation(function () { + return { run: vi.fn() }; + }), +})); + +vi.mock('../../lib/compiler/helpers/get-webpack-config-path.js', () => ({ + getWebpackConfigPath: vi.fn(), +})); + +describe('BuildAction - Rspack', () => { + let buildAction: BuildAction; + + const makeConfiguration = ( + overrides: Partial = {}, + ): Required => + ({ + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: { + builder: { type: 'rspack' }, + webpack: false, + plugins: [], + assets: [], + manualRestart: false, + }, + generateOptions: {}, + ...overrides, + }) as Required; + + beforeEach(() => { + buildAction = new BuildAction(); + + // Stub the loader so it returns our test configuration + (buildAction as any).loader = { + load: vi.fn().mockResolvedValue(makeConfiguration()), + }; + + // Stub tsconfig provider + (buildAction as any).tsConfigProvider = { + getByConfigFilename: vi.fn().mockReturnValue({ + options: { outDir: 'dist' }, + }), + }; + + // Stub assets manager + (buildAction as any).assetsManager = { + copyAssets: vi.fn(), + closeWatchers: vi.fn(), + }; + + vi.clearAllMocks(); + }); + + describe('getRspackConfigFactoryByPath', () => { + it('should return identity function when config file is not available and path is default', () => { + // Access private method via prototype + const proto = Object.getPrototypeOf(buildAction); + const method = + proto.getRspackConfigFactoryByPath || + (buildAction as any)['getRspackConfigFactoryByPath']; + + // If method exists on prototype, call it bound + if (method) { + const result = method.call( + buildAction, + 'rspack.config.js', + 'rspack.config.js', + ); + expect(typeof result).toBe('function'); + expect(result({})).toEqual({}); + } else { + // Method might be compiled differently; test via runBuild integration instead + expect(true).toBe(true); + } + }); + }); + + describe('runBuild with rspack builder', () => { + it('should dispatch to rspack compiler when builder type is rspack', async () => { + await buildAction.runBuild( + [undefined], + { builder: 'rspack' }, + false, + false, + ); + + expect(RspackCompiler).toHaveBeenCalled(); + }); + + it('should forward rspackPath option to getRspackConfigPath helper', async () => { + // Return undefined so runRspack falls back to the default config filename + // and the (mocked) is-module-available short-circuits the require call. + vi.mocked(getRspackConfigPath).mockReturnValue(undefined); + + await buildAction.runBuild( + [undefined], + { builder: 'rspack', rspackPath: 'custom.rspack.config.js' }, + false, + false, + ); + + expect(getRspackConfigPath).toHaveBeenCalledWith( + expect.any(Object), + expect.objectContaining({ rspackPath: 'custom.rspack.config.js' }), + undefined, + ); + }); + + it('should not use rspack compiler when builder type is webpack', async () => { + // Reconfigure loader to return webpack builder + (buildAction as any).loader = { + load: vi.fn().mockResolvedValue( + makeConfiguration({ + compilerOptions: { + builder: { type: 'webpack' }, + webpack: false, + plugins: [], + assets: [], + manualRestart: false, + }, + }), + ), + }; + + vi.mocked(RspackCompiler).mockClear(); + + await buildAction.runBuild( + [undefined], + { builder: 'webpack' }, + false, + false, + ); + + expect(WebpackCompiler).toHaveBeenCalled(); + expect(RspackCompiler).not.toHaveBeenCalled(); + }); + }); +}); diff --git a/test/actions/generate.action.spec.ts b/test/actions/generate.action.spec.ts new file mode 100644 index 000000000..a52bf8859 --- /dev/null +++ b/test/actions/generate.action.spec.ts @@ -0,0 +1,129 @@ +import { beforeEach, describe, expect, it, vi } from 'vitest'; + +const mockExecute = vi.fn().mockResolvedValue(undefined); +vi.mock('../../lib/schematics/index.js', async () => { + const original = await vi.importActual('../../lib/schematics/index.js'); + return { + ...original, + CollectionFactory: { + create: () => ({ + execute: mockExecute, + }), + }, + }; +}); + +vi.mock('../../lib/utils/load-configuration.js', () => ({ + loadConfiguration: vi.fn().mockResolvedValue({ + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: {}, + generateOptions: {}, + }), +})); + +import { GenerateAction } from '../../actions/generate.action.js'; +import { GenerateCommandContext } from '../../commands/context/generate.context.js'; +import { SchematicOption } from '../../lib/schematics/index.js'; + +describe('GenerateAction', () => { + let action: GenerateAction; + + const baseContext = ( + overrides: Partial = {}, + ): GenerateCommandContext => ({ + schematic: 'resource', + name: 'users', + path: undefined, + dryRun: false, + flat: false, + spec: { value: true, passedAsInput: false }, + specFileSuffix: undefined, + collection: undefined, + project: undefined, + skipImport: false, + format: false, + ...overrides, + }); + + const findOption = ( + schematicOptions: SchematicOption[], + name: string, + ): SchematicOption | undefined => + schematicOptions.find((opt) => + opt.toCommandString().startsWith(`--${name}=`) || + opt.toCommandString() === `--${name}`, + ); + + beforeEach(() => { + mockExecute.mockClear(); + action = new GenerateAction(); + }); + + describe('--type option', () => { + it('should forward --type to the schematic when provided', async () => { + await action.handle(baseContext({ type: 'rest' })); + + expect(mockExecute).toHaveBeenCalledTimes(1); + const [, schematicOptions] = mockExecute.mock.calls[0]; + const typeOption = findOption(schematicOptions, 'type'); + expect(typeOption).toBeDefined(); + expect(typeOption!.toCommandString()).toBe('--type="rest"'); + }); + + it('should not forward --type when undefined', async () => { + await action.handle(baseContext({ type: undefined })); + + const [, schematicOptions] = mockExecute.mock.calls[0]; + const typeOption = findOption(schematicOptions, 'type'); + expect(typeOption).toBeUndefined(); + }); + }); + + describe('--crud option', () => { + it('should forward --crud to the schematic when true', async () => { + await action.handle(baseContext({ crud: true })); + + const [, schematicOptions] = mockExecute.mock.calls[0]; + const crudOption = findOption(schematicOptions, 'crud'); + expect(crudOption).toBeDefined(); + expect(crudOption!.toCommandString()).toBe('--crud'); + }); + + it('should not forward --crud when falsy', async () => { + await action.handle(baseContext({ crud: false })); + + const [, schematicOptions] = mockExecute.mock.calls[0]; + const crudOption = findOption(schematicOptions, 'crud'); + expect(crudOption).toBeUndefined(); + }); + + it('should not forward --crud when undefined', async () => { + await action.handle(baseContext({ crud: undefined })); + + const [, schematicOptions] = mockExecute.mock.calls[0]; + const crudOption = findOption(schematicOptions, 'crud'); + expect(crudOption).toBeUndefined(); + }); + }); + + it('should support --type and --crud together on the resource schematic', async () => { + await action.handle( + baseContext({ schematic: 'resource', type: 'rest', crud: true }), + ); + + const [schematicName, schematicOptions] = mockExecute.mock.calls[0]; + expect(schematicName).toBe('resource'); + expect(findOption(schematicOptions, 'type')!.toCommandString()).toBe( + '--type="rest"', + ); + expect(findOption(schematicOptions, 'crud')!.toCommandString()).toBe( + '--crud', + ); + }); +}); diff --git a/test/actions/info.action.spec.ts b/test/actions/info.action.spec.ts index 493c46fc6..0ec5acdae 100644 --- a/test/actions/info.action.spec.ts +++ b/test/actions/info.action.spec.ts @@ -1,14 +1,15 @@ -import { InfoAction } from '../../actions/info.action'; +import { beforeEach, describe, expect, it, vi } from 'vitest'; +import { InfoAction } from '../../actions/info.action.js'; -jest.mock('fs', () => ({ - readFileSync: jest.fn(() => '{"version": "1.2.3"}'), +vi.mock('fs', () => ({ + readFileSync: vi.fn(() => '{"version": "1.2.3"}'), })); -jest.mock('../../lib/package-managers', () => ({ +vi.mock('../../lib/package-managers/index.js', () => ({ PackageManagerFactory: { - find: jest.fn(() => ({ + find: vi.fn(() => ({ name: 'MockedPackageManager', - version: jest.fn(() => '1.0.0'), + version: vi.fn(() => '1.0.0'), })), }, })); @@ -22,15 +23,12 @@ describe('InfoAction', () => { describe('displaySystemInformation', () => { it('should include a space between the OS name and release version', async () => { - const consoleSpy = jest - .spyOn(console, 'info') - .mockImplementation(() => {}); + const consoleSpy = vi.spyOn(console, 'info').mockImplementation(() => {}); await infoAction.handle(); const osVersionCall = consoleSpy.mock.calls.find( - (call) => - typeof call[0] === 'string' && call[0].includes('OS Version'), + (call) => typeof call[0] === 'string' && call[0].includes('OS Version'), ); expect(osVersionCall).toBeDefined(); // The second argument (blue-colored string) should have a space @@ -42,13 +40,65 @@ describe('InfoAction', () => { }); }); + describe('format', () => { + it('should return the input untouched when there are no @nestjs/* deps', () => { + // Calling `format([])` used to throw `Cannot read properties of + // undefined (reading 'name')` because it dereferenced `sorted[0]` + // without first checking the array length. That exception would + // bubble up to `displayNestInformationFromPackage` and be swallowed + // as the misleading "cannot read your project package.json file" + // error, even though the file had been read successfully. + expect(() => (infoAction as any).format([])).not.toThrow(); + expect((infoAction as any).format([])).toEqual([]); + }); + + it('should pad and clean version ranges when deps are present', () => { + const result = (infoAction as any).format([ + { name: 'core', value: '^1.2.3', packageName: '@nestjs/core' }, + { + name: 'platform-express', + value: '~1.2.4', + packageName: '@nestjs/platform-express', + }, + ]); + // Sorted by name length desc; longest gets ' :' appended directly, + // shorter names are padded to the longest length before the suffix. + expect(result[0].name).toBe('platform-express :'); + expect(result[1].name).toBe('core :'); + expect(result[0].value).toBe('1.2.4'); + expect(result[1].value).toBe('1.2.3'); + }); + }); + + describe('displayNestVersions', () => { + it('should print a clear note when no @nestjs/* deps are declared', () => { + const consoleSpy = vi.spyOn(console, 'info').mockImplementation(() => {}); + + // Empty deps map mirrors a project with no @nestjs/* packages — the + // common cause being running `nest info` from a non-Nest project + // (or before installing dependencies). + (infoAction as any).displayNestVersions({}); + + const messages = consoleSpy.mock.calls.map((call) => call.join(' ')); + expect( + messages.some((line) => + line.includes('No @nestjs/* dependencies were found'), + ), + ).toBe(true); + + consoleSpy.mockRestore(); + }); + }); + describe('buildNestVersionsWarningMessage', () => { it('should return an empty object for one or zero minor versions', () => { const dependencies = [ { packageName: '@nestjs/core', name: 'core', value: '1.2.3' }, { packageName: '@nestjs/common', name: 'common', value: '1.2.4' }, ]; - const result = infoAction.buildNestVersionsWarningMessage(dependencies); + const result = (infoAction as any).buildNestVersionsWarningMessage( + dependencies, + ); expect(result).toEqual({}); }); @@ -89,7 +139,9 @@ describe('InfoAction', () => { { packageName: '@nestjs/test1', name: 'test1', value: '1.2.4' }, { packageName: '@nestjs/test2', name: 'test2', value: '1.2.4' }, ]; - const result = infoAction.buildNestVersionsWarningMessage(dependencies); + const result = (infoAction as any).buildNestVersionsWarningMessage( + dependencies, + ); const expected = { '1': [ { packageName: '@nestjs/core', name: 'core', value: '1.2.3' }, @@ -165,7 +217,9 @@ describe('InfoAction', () => { }, ]; - const result = infoAction.buildNestVersionsWarningMessage(dependencies); + const result = (infoAction as any).buildNestVersionsWarningMessage( + dependencies, + ); const expected = { '2': [ { diff --git a/test/actions/new.action.spec.ts b/test/actions/new.action.spec.ts new file mode 100644 index 000000000..5be6d7fc9 --- /dev/null +++ b/test/actions/new.action.spec.ts @@ -0,0 +1,193 @@ +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; + +vi.mock('child_process', () => ({ + execSync: vi.fn(() => '80'), +})); + +vi.mock('fs', async () => { + const actualFs = await vi.importActual('fs'); + return { + ...actualFs, + accessSync: vi.fn(), + existsSync: vi.fn(() => false), + promises: { + writeFile: vi.fn(), + }, + }; +}); + +vi.mock('@inquirer/prompts', () => ({ + input: vi.fn(), + select: vi.fn(), +})); + +const mockExecute = vi.fn().mockResolvedValue(undefined); +vi.mock('../../lib/schematics/index.js', async () => { + const original = await vi.importActual('../../lib/schematics/index.js'); + return { + ...original, + CollectionFactory: { + create: () => ({ + execute: mockExecute, + }), + }, + }; +}); + +vi.mock('../../lib/package-managers/index.js', () => ({ + PackageManagerFactory: { + create: () => ({ + install: vi.fn().mockResolvedValue(undefined), + }), + }, + PackageManager: { + NPM: 'npm', + }, +})); + +vi.mock('../../lib/runners/git.runner.js', () => { + return { + GitRunner: class { + run = vi.fn().mockResolvedValue(undefined); + }, + }; +}); + +import { NewAction, retrieveCols } from '../../actions/new.action.js'; +import { NewCommandContext } from '../../commands/context/new.context.js'; +import { SchematicOption } from '../../lib/schematics/index.js'; +import { execSync } from 'child_process'; + +describe('NewAction', () => { + let action: NewAction; + const originalExit = process.exit; + + beforeEach(() => { + vi.clearAllMocks(); + process.exit = vi.fn() as any; + action = new NewAction(); + }); + + afterEach(() => { + process.exit = originalExit; + }); + + const baseContext = (overrides: Partial = {}): NewCommandContext => ({ + name: 'test-project', + directory: undefined, + dryRun: false, + skipGit: false, + skipInstall: true, + skipTests: false, + packageManager: 'npm', + language: 'ts', + collection: '@nestjs/schematics', + strict: false, + ...overrides, + }); + + describe('--skip-tests flag', () => { + it('should pass --spec=false to schematics when --skip-tests is true', async () => { + const context = baseContext({ skipTests: true }); + await action.handle(context); + + expect(mockExecute).toHaveBeenCalledTimes(1); + const [schematicName, schematicOptions] = mockExecute.mock.calls[0]; + + expect(schematicName).toBe('application'); + + const specOption = schematicOptions.find( + (opt: SchematicOption) => opt.toCommandString() === '--spec=false', + ); + expect(specOption).toBeDefined(); + }); + + it('should not pass spec option to schematics when --skip-tests is false', async () => { + const context = baseContext({ skipTests: false }); + await action.handle(context); + + expect(mockExecute).toHaveBeenCalledTimes(1); + const [, schematicOptions] = mockExecute.mock.calls[0]; + + const specOption = schematicOptions.find( + (opt: SchematicOption) => + opt.toCommandString() === '--spec=false' || + opt.toCommandString() === '--spec', + ); + expect(specOption).toBeUndefined(); + }); + + it('should not forward skip-tests as a schematic option', async () => { + const context = baseContext({ skipTests: true }); + await action.handle(context); + + const [, schematicOptions] = mockExecute.mock.calls[0]; + + const skipTestsOption = schematicOptions.find( + (opt: SchematicOption) => + opt.toCommandString().includes('skip-tests'), + ); + expect(skipTestsOption).toBeUndefined(); + }); + }); + + describe('retrieveCols', () => { + const originalColumns = process.stdout.columns; + + afterEach(() => { + Object.defineProperty(process.stdout, 'columns', { + value: originalColumns, + configurable: true, + writable: true, + }); + }); + + it('should return process.stdout.columns when set to a positive number', () => { + Object.defineProperty(process.stdout, 'columns', { + value: 132, + configurable: true, + writable: true, + }); + + expect(retrieveCols()).toBe(132); + // tput should never be spawned when stdout.columns is usable. + expect(execSync).not.toHaveBeenCalled(); + }); + + it('should fall back to tput cols when stdout.columns is undefined', () => { + Object.defineProperty(process.stdout, 'columns', { + value: undefined, + configurable: true, + writable: true, + }); + vi.mocked(execSync).mockReturnValueOnce('120' as any); + + expect(retrieveCols()).toBe(120); + expect(execSync).toHaveBeenCalledWith('tput cols', expect.any(Object)); + }); + + it('should fall back to tput cols when stdout.columns is zero (not a TTY)', () => { + Object.defineProperty(process.stdout, 'columns', { + value: 0, + configurable: true, + writable: true, + }); + vi.mocked(execSync).mockReturnValueOnce('100' as any); + + expect(retrieveCols()).toBe(100); + }); + + it('should return default 80 when neither stdout.columns nor tput is usable', () => { + Object.defineProperty(process.stdout, 'columns', { + value: undefined, + configurable: true, + writable: true, + }); + vi.mocked(execSync).mockImplementationOnce(() => { + throw new Error('tput: command not found'); + }); + + expect(retrieveCols()).toBe(80); + }); + }); +}); diff --git a/test/actions/start.action.spec.ts b/test/actions/start.action.spec.ts new file mode 100644 index 000000000..908b1c198 --- /dev/null +++ b/test/actions/start.action.spec.ts @@ -0,0 +1,193 @@ +import { spawn } from 'child_process'; +import { EventEmitter } from 'events'; +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; + +vi.mock('child_process', () => ({ + spawn: vi.fn(), + execSync: vi.fn(), + spawnSync: vi.fn(() => ({ stdout: '', error: null })), +})); + +vi.mock('fs', () => ({ + existsSync: vi.fn(() => true), + readFileSync: vi.fn(), +})); + +vi.mock('glob', () => ({ + glob: vi.fn(), + globSync: vi.fn(() => []), +})); + +vi.mock('../../lib/compiler/assets-manager.js', () => ({ + AssetsManager: vi.fn( + class { + closeWatchers = vi.fn(); + }, + ), +})); + +vi.mock('../../lib/utils/tree-kill.js', () => ({ + treeKillSync: vi.fn(), +})); + +import { StartAction } from '../../actions/start.action.js'; + +describe('StartAction', () => { + let startAction: StartAction; + let processOnSpy: ReturnType; + let originalArgv: string[]; + const registeredHandlers: Record< + string, + Array<(signal?: NodeJS.Signals) => void> + > = {}; + + beforeEach(() => { + startAction = new StartAction(); + (startAction as any).tsConfigProvider = { + getByConfigFilename: vi.fn(() => ({ options: { outDir: 'dist' } })), + }; + (startAction as any).loader = { + load: vi.fn(() => ({})), + }; + + for (const key of Object.keys(registeredHandlers)) { + delete registeredHandlers[key]; + } + + processOnSpy = vi + .spyOn(process, 'on') + .mockImplementation((event: string | symbol, handler: any) => { + const key = String(event); + registeredHandlers[key] = registeredHandlers[key] || []; + registeredHandlers[key].push(handler); + return process; + }); + + originalArgv = process.argv; + process.argv = ['node', 'nest', 'start']; + }); + + afterEach(() => { + processOnSpy?.mockRestore(); + process.argv = originalArgv; + vi.restoreAllMocks(); + }); + + describe('spawnChildProcess - env file arguments', () => { + beforeEach(() => { + vi.mocked(spawn).mockClear(); + }); + + it('should pass multiple --env-file flags as separate spawn arguments', () => { + const mockChild = new EventEmitter(); + (mockChild as any).pid = 12345; + (mockChild as any).stdin = null; + (mockChild as any).kill = vi.fn(); + vi.mocked(spawn).mockReturnValue(mockChild as any); + + const onSuccess = startAction.createOnSuccessHook( + 'main', + 'src', + false, + 'dist', + 'node', + { shell: false, envFile: ['.env', '.env.local'] }, + ); + + onSuccess(); + + const spawnCall = vi.mocked(spawn).mock.calls[0]; + // Non-shell mode: spawn(binary, args, options) + const processArgs = spawnCall[1] as string[]; + + // Each --env-file flag should be a separate element in the args array + expect(processArgs).toContain('--env-file=.env'); + expect(processArgs).toContain('--env-file=.env.local'); + + // They should NOT be joined into a single string + const joinedArg = processArgs.find( + (arg) => arg === '--env-file=.env --env-file=.env.local', + ); + expect(joinedArg).toBeUndefined(); + }); + + it('should pass a single --env-file flag as a separate spawn argument', () => { + const mockChild = new EventEmitter(); + (mockChild as any).pid = 12345; + (mockChild as any).stdin = null; + (mockChild as any).kill = vi.fn(); + vi.mocked(spawn).mockReturnValue(mockChild as any); + + const onSuccess = startAction.createOnSuccessHook( + 'main', + 'src', + false, + 'dist', + 'node', + { shell: false, envFile: ['.env'] }, + ); + + onSuccess(); + + const spawnCall = vi.mocked(spawn).mock.calls[0]; + const processArgs = spawnCall[1] as string[]; + + expect(processArgs).toContain('--env-file=.env'); + }); + + it('should place --env-file flags after --enable-source-maps', () => { + const mockChild = new EventEmitter(); + (mockChild as any).pid = 12345; + (mockChild as any).stdin = null; + (mockChild as any).kill = vi.fn(); + vi.mocked(spawn).mockReturnValue(mockChild as any); + + const onSuccess = startAction.createOnSuccessHook( + 'main', + 'src', + false, + 'dist', + 'node', + { shell: false, envFile: ['.env'] }, + ); + + onSuccess(); + + const spawnCall = vi.mocked(spawn).mock.calls[0]; + const processArgs = spawnCall[1] as string[]; + + const sourceMapIdx = processArgs.indexOf('--enable-source-maps'); + const envFileIdx = processArgs.indexOf('--env-file=.env'); + + // --enable-source-maps is unshifted last, so it should come first + expect(sourceMapIdx).toBeLessThan(envFileIdx); + }); + + it('should not include --env-file flags when envFile is empty', () => { + const mockChild = new EventEmitter(); + (mockChild as any).pid = 12345; + (mockChild as any).stdin = null; + (mockChild as any).kill = vi.fn(); + vi.mocked(spawn).mockReturnValue(mockChild as any); + + const onSuccess = startAction.createOnSuccessHook( + 'main', + 'src', + false, + 'dist', + 'node', + { shell: false, envFile: [] }, + ); + + onSuccess(); + + const spawnCall = vi.mocked(spawn).mock.calls[0]; + const processArgs = spawnCall[1] as string[]; + + const envFileArgs = processArgs.filter((arg) => + arg.startsWith('--env-file'), + ); + expect(envFileArgs).toHaveLength(0); + }); + }); +}); diff --git a/test/e2e/add.command.e2e-spec.ts b/test/e2e/add.command.e2e-spec.ts new file mode 100644 index 000000000..7489b5838 --- /dev/null +++ b/test/e2e/add.command.e2e-spec.ts @@ -0,0 +1,50 @@ +import { describe, it, expect, beforeAll, afterAll } from 'vitest'; +import * as path from 'path'; +import { + createTempDir, + readFileContent, + removeTempDir, + runNest, + runNestRaw, + scaffoldAppWithDeps, +} from './helpers.js'; + +describe('Add Command (e2e)', () => { + let tmpDir: string; + let appPath: string; + + beforeAll(() => { + tmpDir = createTempDir('nest-e2e-add-'); + appPath = scaffoldAppWithDeps(tmpDir, 'add-app'); + }); + + afterAll(() => { + removeTempDir(tmpDir); + }); + + it('should add @nestjs/config library to the project', () => { + runNest('add @nestjs/config', appPath); + + const pkg = JSON.parse(readFileContent(path.join(appPath, 'package.json'))); + expect(pkg.dependencies['@nestjs/config']).toBeDefined(); + }); + + it('should handle --dry-run flag without crashing', () => { + // Note: --dry-run in `nest add` applies to schematics only, + // the package itself may still be installed. + const { exitCode } = runNestRaw('add @nestjs/swagger --dry-run', appPath); + + expect(exitCode).toBe(0); + }); + + it('should add with --skip-install flag', () => { + const { stdout, exitCode } = runNestRaw( + 'add @nestjs/mapped-types --skip-install', + appPath, + ); + + // With skip-install, the schematics may still run but no npm install + // The exit should not crash + expect(exitCode).toBe(0); + }); +}); diff --git a/test/e2e/build.command.e2e-spec.ts b/test/e2e/build.command.e2e-spec.ts new file mode 100644 index 000000000..d107fd795 --- /dev/null +++ b/test/e2e/build.command.e2e-spec.ts @@ -0,0 +1,252 @@ +import { execSync } from 'child_process'; +import * as fs from 'fs'; +import * as path from 'path'; +import { afterAll, beforeAll, describe, expect, it } from 'vitest'; +import { + convertToCjs, + createTempDir, + fileExists, + installWebpackDeps, + removeLocalCli, + removeTempDir, + runNest, + scaffoldAppWithDeps, + scaffoldMonorepoWithDeps, + spawnNest, + waitFor, +} from './helpers.js'; + +describe('Build Command (e2e)', () => { + let tmpDir: string; + let appPath: string; + + beforeAll(() => { + tmpDir = createTempDir('nest-e2e-build-'); + appPath = scaffoldAppWithDeps(tmpDir, 'build-app'); + }); + + afterAll(() => { + removeTempDir(tmpDir); + }); + + function cleanDist() { + fs.rmSync(path.join(appPath, 'dist'), { recursive: true, force: true }); + } + + it('should build the project with default tsc compiler', () => { + runNest('build', appPath); + + const distDir = path.join(appPath, 'dist'); + expect(fileExists(distDir)).toBe(true); + expect(fileExists(path.join(distDir, 'src', 'main.js'))).toBe(true); + expect(fileExists(path.join(distDir, 'src', 'app.module.js'))).toBe(true); + expect(fileExists(path.join(distDir, 'src', 'app.controller.js'))).toBe( + true, + ); + expect(fileExists(path.join(distDir, 'src', 'app.service.js'))).toBe(true); + }); + + it('should build with a custom tsconfig path using --path', () => { + cleanDist(); + + // Use the existing tsconfig.build.json + runNest('build --path tsconfig.build.json', appPath); + + expect(fileExists(path.join(appPath, 'dist', 'src', 'main.js'))).toBe(true); + }); + + it('should build in --watch mode and detect initial compilation', async () => { + cleanDist(); + + const proc = spawnNest('build --watch', appPath); + + try { + // Wait for the initial compilation to complete + await waitFor( + () => + proc.output().includes('Found 0 errors') || + proc.output().includes('Watching for file changes'), + 60_000, + ); + + // dist should be produced + expect(fileExists(path.join(appPath, 'dist', 'src', 'main.js'))).toBe( + true, + ); + } finally { + proc.kill(); + } + }); + + describe('with SWC builder', () => { + beforeAll(() => { + // Install SWC dependencies + execSync('npm install --save-dev @swc/cli @swc/core', { + cwd: appPath, + encoding: 'utf-8', + timeout: 120_000, + stdio: 'pipe', + }); + }); + + it('should build using --builder swc', () => { + cleanDist(); + + runNest('build --builder swc', appPath); + + const distDir = path.join(appPath, 'dist'); + expect(fileExists(distDir)).toBe(true); + expect(fileExists(path.join(distDir, 'main.js'))).toBe(true); + expect(fileExists(path.join(distDir, 'app.module.js'))).toBe(true); + }); + + it('should build with --type-check and --builder swc', () => { + cleanDist(); + + runNest('build --builder swc --type-check', appPath); + + expect(fileExists(path.join(appPath, 'dist', 'main.js'))).toBe(true); + }); + + it('should emit .d.ts declaration files with --emit-declarations', () => { + cleanDist(); + + // The --emit-declarations flag is new in this PR, so the published + // @nestjs/cli in the scaffolded project's node_modules doesn't know + // about it. Force the dev CLI to run instead of delegating. + removeLocalCli(appPath); + + // The SWC compiler delegates declaration emission to `tsc + // --emitDeclarationOnly`, which requires `declaration: true` in the + // tsconfig. Enable it on both tsconfig.json and tsconfig.build.json + // to cover either tsconfig that nest may resolve. + const tsconfigJsonPath = path.join(appPath, 'tsconfig.json'); + const tsconfigBuildPath = path.join(appPath, 'tsconfig.build.json'); + const originalTsconfigJson = fs.readFileSync(tsconfigJsonPath, 'utf-8'); + const originalTsconfigBuild = fs.readFileSync(tsconfigBuildPath, 'utf-8'); + const tsconfigJson = JSON.parse(originalTsconfigJson); + tsconfigJson.compilerOptions = { + ...tsconfigJson.compilerOptions, + declaration: true, + }; + fs.writeFileSync(tsconfigJsonPath, JSON.stringify(tsconfigJson, null, 2)); + + try { + const output = runNest( + 'build --builder swc --emit-declarations', + appPath, + ); + + const distDir = path.join(appPath, 'dist'); + expect(fileExists(path.join(distDir, 'main.js'))).toBe(true); + + // Walk dist/ recursively to find any .d.ts files — be tolerant of + // exact output paths since tsc's layout depends on rootDir inference. + const findDts = (dir: string): string[] => { + if (!fileExists(dir)) return []; + const entries = fs.readdirSync(dir, { withFileTypes: true }); + return entries.flatMap((e) => { + const full = path.join(dir, e.name); + if (e.isDirectory()) return findDts(full); + return e.name.endsWith('.d.ts') ? [full] : []; + }); + }; + const dtsFiles = findDts(distDir); + + // Helpful diagnostic if assertion below fails + if (dtsFiles.length === 0) { + console.error( + '[emit-declarations test] no .d.ts files found under', + distDir, + ); + console.error( + '[emit-declarations test] dist contents:', + fileExists(distDir) + ? fs.readdirSync(distDir, { recursive: true }) + : '(missing)', + ); + console.error('[emit-declarations test] nest build output:', output); + } + expect(dtsFiles.length).toBeGreaterThan(0); + } finally { + // Restore the original tsconfigs so subsequent tests aren't affected + fs.writeFileSync(tsconfigJsonPath, originalTsconfigJson); + fs.writeFileSync(tsconfigBuildPath, originalTsconfigBuild); + } + }); + + it('should not emit .d.ts declaration files without --emit-declarations', () => { + cleanDist(); + + runNest('build --builder swc', appPath); + + const distDir = path.join(appPath, 'dist'); + expect(fileExists(path.join(distDir, 'main.js'))).toBe(true); + // Without the flag, declaration files should NOT be present + expect(fileExists(path.join(distDir, 'app.module.d.ts'))).toBe(false); + }); + }); +}); + +describe('Build Command - Monorepo with webpack (e2e)', () => { + let tmpDir: string; + let monoPath: string; + + beforeAll(() => { + tmpDir = createTempDir('nest-e2e-build-mono-'); + monoPath = scaffoldMonorepoWithDeps(tmpDir, 'main-app', 'secondary'); + convertToCjs(monoPath); + installWebpackDeps(monoPath); + }); + + afterAll(() => { + removeTempDir(tmpDir); + }); + + function cleanDist() { + fs.rmSync(path.join(monoPath, 'dist'), { recursive: true, force: true }); + } + + it('should build the default app with webpack', () => { + cleanDist(); + + const output = runNest('build', monoPath); + + expect(output).toContain('webpack'); + expect(output).toContain('compiled successfully'); + expect( + fileExists(path.join(monoPath, 'dist', 'apps', 'main-app', 'main.js')), + ).toBe(true); + }); + + it('should build a specific sub-app by name with webpack', () => { + cleanDist(); + + const output = runNest('build secondary', monoPath); + + expect(output).toContain('webpack'); + expect(output).toContain('compiled successfully'); + expect( + fileExists(path.join(monoPath, 'dist', 'apps', 'secondary', 'main.js')), + ).toBe(true); + }); + + it('should build in --watch mode with webpack and detect initial compilation', async () => { + cleanDist(); + + const proc = spawnNest('build --watch', monoPath); + + try { + await waitFor( + () => proc.output().includes('compiled successfully'), + 60_000, + ); + + expect( + fileExists(path.join(monoPath, 'dist', 'apps', 'main-app', 'main.js')), + ).toBe(true); + } finally { + proc.kill(); + } + }); +}); diff --git a/test/e2e/generate.command.e2e-spec.ts b/test/e2e/generate.command.e2e-spec.ts new file mode 100644 index 000000000..546a0754a --- /dev/null +++ b/test/e2e/generate.command.e2e-spec.ts @@ -0,0 +1,324 @@ +import * as path from 'path'; +import { afterEach, beforeEach, describe, expect, it } from 'vitest'; +import { + createTempDir, + fileExists, + readFileContent, + removeTempDir, + runNest, + scaffoldApp, +} from './helpers.js'; + +describe('Generate Command (e2e)', () => { + let tmpDir: string; + let appPath: string; + + beforeEach(() => { + tmpDir = createTempDir('nest-e2e-generate-'); + appPath = scaffoldApp(tmpDir, 'gen-app'); + }); + + afterEach(() => { + removeTempDir(tmpDir); + }); + + describe('controller', () => { + it('should generate a controller', () => { + runNest('generate controller users', appPath); + + expect( + fileExists(path.join(appPath, 'src', 'users', 'users.controller.ts')), + ).toBe(true); + expect( + fileExists( + path.join(appPath, 'src', 'users', 'users.controller.spec.ts'), + ), + ).toBe(true); + + // Should update app.module.ts to import the controller + const appModule = readFileContent( + path.join(appPath, 'src', 'app.module.ts'), + ); + expect(appModule).toContain('UsersController'); + }); + + it('should generate a flat controller with --flat', () => { + runNest('generate controller products --flat', appPath); + + expect( + fileExists(path.join(appPath, 'src', 'products.controller.ts')), + ).toBe(true); + // Should not create a subdirectory + expect( + fileExists( + path.join(appPath, 'src', 'products', 'products.controller.ts'), + ), + ).toBe(false); + }); + + it('should skip spec file with --no-spec', () => { + runNest('generate controller orders --no-spec', appPath); + + expect( + fileExists(path.join(appPath, 'src', 'orders', 'orders.controller.ts')), + ).toBe(true); + expect( + fileExists( + path.join(appPath, 'src', 'orders', 'orders.controller.spec.ts'), + ), + ).toBe(false); + }); + + it('should skip import with --skip-import', () => { + runNest('generate controller no-import --skip-import', appPath); + + const appModule = readFileContent( + path.join(appPath, 'src', 'app.module.ts'), + ); + expect(appModule).not.toContain('NoImportController'); + }); + }); + + describe('service', () => { + it('should generate a service', () => { + runNest('generate service auth', appPath); + + expect( + fileExists(path.join(appPath, 'src', 'auth', 'auth.service.ts')), + ).toBe(true); + expect( + fileExists(path.join(appPath, 'src', 'auth', 'auth.service.spec.ts')), + ).toBe(true); + + const appModule = readFileContent( + path.join(appPath, 'src', 'app.module.ts'), + ); + expect(appModule).toContain('AuthService'); + }); + + it('should generate a flat service with --flat --no-spec', () => { + runNest('generate service logger --flat --no-spec', appPath); + + expect(fileExists(path.join(appPath, 'src', 'logger.service.ts'))).toBe( + true, + ); + expect( + fileExists(path.join(appPath, 'src', 'logger.service.spec.ts')), + ).toBe(false); + }); + }); + + describe('module', () => { + it('should generate a module', () => { + runNest('generate module payments', appPath); + + expect( + fileExists(path.join(appPath, 'src', 'payments', 'payments.module.ts')), + ).toBe(true); + + const appModule = readFileContent( + path.join(appPath, 'src', 'app.module.ts'), + ); + expect(appModule).toContain('PaymentsModule'); + }); + }); + + describe('guard', () => { + it('should generate a guard', () => { + runNest('generate guard auth', appPath); + + expect( + fileExists(path.join(appPath, 'src', 'auth', 'auth.guard.ts')), + ).toBe(true); + expect( + fileExists(path.join(appPath, 'src', 'auth', 'auth.guard.spec.ts')), + ).toBe(true); + }); + }); + + describe('interceptor', () => { + it('should generate an interceptor', () => { + runNest('generate interceptor logging', appPath); + + expect( + fileExists( + path.join(appPath, 'src', 'logging', 'logging.interceptor.ts'), + ), + ).toBe(true); + }); + }); + + describe('pipe', () => { + it('should generate a pipe', () => { + runNest('generate pipe validation', appPath); + + expect( + fileExists( + path.join(appPath, 'src', 'validation', 'validation.pipe.ts'), + ), + ).toBe(true); + }); + }); + + describe('filter', () => { + it('should generate a filter', () => { + runNest('generate filter http-exception', appPath); + + expect( + fileExists( + path.join( + appPath, + 'src', + 'http-exception', + 'http-exception.filter.ts', + ), + ), + ).toBe(true); + }); + }); + + describe('middleware', () => { + it('should generate a middleware', () => { + runNest('generate middleware logger', appPath); + + expect( + fileExists(path.join(appPath, 'src', 'logger', 'logger.middleware.ts')), + ).toBe(true); + }); + }); + + describe('gateway', () => { + it('should generate a gateway', () => { + runNest('generate gateway events', appPath); + + expect( + fileExists(path.join(appPath, 'src', 'events', 'events.gateway.ts')), + ).toBe(true); + }); + }); + + describe('decorator', () => { + it('should generate a decorator', () => { + runNest('generate decorator roles', appPath); + + expect( + fileExists(path.join(appPath, 'src', 'roles', 'roles.decorator.ts')), + ).toBe(true); + }); + }); + + describe('interface', () => { + it('should generate an interface', () => { + runNest('generate interface user', appPath); + + expect( + fileExists(path.join(appPath, 'src', 'user', 'user.interface.ts')), + ).toBe(true); + }); + }); + + describe('class', () => { + it('should generate a class', () => { + runNest('generate class dto/create-user', appPath); + + expect( + fileExists( + path.join(appPath, 'src', 'dto', 'create-user', 'create-user.ts'), + ), + ).toBe(true); + }); + }); + + describe('resource', () => { + // TODO: unskip once @nestjs/schematics fixes the directory import of + // '@angular-devkit/schematics/tasks' (needs '/index.js' suffix under Node ≥22 ESM). + it.skip('should generate a full CRUD resource', () => { + runNest('generate resource cats', appPath); + + const catsDir = path.join(appPath, 'src', 'cats'); + expect(fileExists(path.join(catsDir, 'cats.controller.ts'))).toBe(true); + expect(fileExists(path.join(catsDir, 'cats.service.ts'))).toBe(true); + expect(fileExists(path.join(catsDir, 'cats.module.ts'))).toBe(true); + + // Should have DTOs + expect(fileExists(path.join(catsDir, 'dto', 'create-cat.dto.ts'))).toBe( + true, + ); + expect(fileExists(path.join(catsDir, 'dto', 'update-cat.dto.ts'))).toBe( + true, + ); + + // Should have entities + expect(fileExists(path.join(catsDir, 'entities', 'cat.entity.ts'))).toBe( + true, + ); + }); + }); + + describe('dry-run', () => { + it('should not create files with --dry-run', () => { + const output = runNest('generate controller phantom --dry-run', appPath); + + expect( + fileExists( + path.join(appPath, 'src', 'phantom', 'phantom.controller.ts'), + ), + ).toBe(false); + expect(output).toContain('CREATE'); + }); + }); + + describe('spec-file-suffix', () => { + it('should use custom spec file suffix', () => { + runNest('generate controller custom --spec-file-suffix test', appPath); + + expect( + fileExists(path.join(appPath, 'src', 'custom', 'custom.controller.ts')), + ).toBe(true); + expect( + fileExists( + path.join(appPath, 'src', 'custom', 'custom.controller.test.ts'), + ), + ).toBe(true); + }); + }); + + describe('path argument', () => { + it('should generate into a custom path', () => { + runNest('generate controller health modules/health', appPath); + + expect( + fileExists( + path.join( + appPath, + 'src', + 'modules', + 'health', + 'health', + 'health.controller.ts', + ), + ), + ).toBe(true); + }); + }); + + describe('format flag', () => { + it('should accept --format and still generate the file', () => { + runNest('generate controller fmt --format', appPath); + + expect( + fileExists(path.join(appPath, 'src', 'fmt', 'fmt.controller.ts')), + ).toBe(true); + }); + + it('should default to format=false when the flag is omitted', () => { + runNest('generate controller fmt-default', appPath); + + expect( + fileExists( + path.join(appPath, 'src', 'fmt-default', 'fmt-default.controller.ts'), + ), + ).toBe(true); + }); + }); +}); diff --git a/test/e2e/helpers.ts b/test/e2e/helpers.ts new file mode 100644 index 000000000..f5e4d5be5 --- /dev/null +++ b/test/e2e/helpers.ts @@ -0,0 +1,553 @@ +import { ChildProcess, execSync, spawn } from 'child_process'; +import * as fs from 'fs'; +import * as http from 'http'; +import * as os from 'os'; +import * as path from 'path'; +import { dirname } from 'path'; +import { fileURLToPath } from 'url'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); + +const CLI_PATH = path.resolve(__dirname, '..', '..', 'bin', 'nest.js'); + +// eslint-disable-next-line no-control-regex +const ANSI_RE = /\x1b\[[0-9;]*m/g; +function stripAnsi(s: string): string { + return s.replace(ANSI_RE, ''); +} + +/** + * Run a nest CLI command synchronously and return stdout. + */ +export function runNest( + args: string, + cwd?: string, + env?: NodeJS.ProcessEnv, +): string { + const command = `node "${CLI_PATH}" ${args}`; + return stripAnsi( + execSync(command, { + cwd: cwd ?? process.cwd(), + encoding: 'utf-8', + env: { ...process.env, ...env }, + timeout: 120_000, + }), + ); +} + +/** + * Run a nest CLI command and return both stdout and stderr. + */ +export function runNestRaw( + args: string, + cwd?: string, +): { stdout: string; stderr: string; exitCode: number } { + const command = `node "${CLI_PATH}" ${args}`; + try { + const stdout = execSync(command, { + cwd: cwd ?? process.cwd(), + encoding: 'utf-8', + timeout: 120_000, + stdio: ['pipe', 'pipe', 'pipe'], + }); + return { stdout: stripAnsi(stdout), stderr: '', exitCode: 0 }; + } catch (err: any) { + return { + stdout: stripAnsi(err.stdout?.toString() ?? ''), + stderr: stripAnsi(err.stderr?.toString() ?? ''), + exitCode: err.status ?? 1, + }; + } +} + +/** + * Start a nest CLI command as a background process. + * Returns the child process and utility methods. + */ +export function spawnNest( + args: string, + cwd?: string, + env?: NodeJS.ProcessEnv, +): { child: ChildProcess; output: () => string; kill: () => void } { + const child = spawn('node', [CLI_PATH, ...args.split(/\s+/)], { + cwd: cwd ?? process.cwd(), + env: { ...process.env, ...env }, + stdio: ['pipe', 'pipe', 'pipe'], + detached: true, // create a process group so we can kill the full tree + }); + + let stdout = ''; + let stderr = ''; + child.stdout?.on('data', (d) => (stdout += stripAnsi(d.toString()))); + child.stderr?.on('data', (d) => (stderr += stripAnsi(d.toString()))); + + return { + child, + output: () => stdout + stderr, + kill: () => { + try { + // Kill the entire process group (CLI + child compilers/servers) + process.kill(-child.pid!, 'SIGTERM'); + } catch {} + // Send SIGKILL synchronously to ensure cleanup even if the test + // process exits immediately after this call. + try { + execSync(`kill -9 -${child.pid!} 2>/dev/null || true`, { + timeout: 3000, + stdio: 'ignore', + }); + } catch {} + }, + }; +} + +/** + * Kill any process listening on a given port. Useful for cleaning up + * stale processes left behind by previous test runs. + */ +export function freePort(port: number): void { + try { + const out = execSync(`lsof -ti :${port}`, { + encoding: 'utf-8', + timeout: 5000, + stdio: ['pipe', 'pipe', 'pipe'], + }).trim(); + if (out) { + execSync(`kill -9 ${out.split('\n').join(' ')}`, { + timeout: 3000, + stdio: 'ignore', + }); + } + } catch {} +} + +/** + * Create a unique temporary directory for test isolation. + */ +export function createTempDir(prefix = 'nest-e2e-'): string { + return fs.mkdtempSync(path.join(os.tmpdir(), prefix)); +} + +/** + * Recursively remove a directory. + */ +export function removeTempDir(dirPath: string): void { + fs.rmSync(dirPath, { recursive: true, force: true }); +} + +/** + * Check if a file exists. + */ +export function fileExists(filePath: string): boolean { + return fs.existsSync(filePath); +} + +/** + * Read file contents. + */ +export function readFileContent(filePath: string): string { + return fs.readFileSync(filePath, 'utf-8'); +} + +/** + * Wait for a condition to be true (polling). Supports both sync and async conditions. + */ +export function waitFor( + condition: () => boolean | Promise, + timeoutMs = 30_000, + intervalMs = 500, +): Promise { + return new Promise((resolve, reject) => { + const start = Date.now(); + const check = async () => { + try { + if (await condition()) { + resolve(); + return; + } + } catch { + // condition threw — treat as false + } + if (Date.now() - start > timeoutMs) { + reject(new Error(`waitFor timed out after ${timeoutMs}ms`)); + } else { + setTimeout(check, intervalMs); + } + }; + check(); + }); +} + +/** + * Make an HTTP GET request and return the response body. + */ +export function httpGet( + url: string, + timeoutMs = 5000, +): Promise<{ status: number; body: string }> { + return new Promise((resolve, reject) => { + const req = http.get(url, { timeout: timeoutMs }, (res) => { + let body = ''; + res.on('data', (chunk) => (body += chunk)); + res.on('end', () => resolve({ status: res.statusCode ?? 0, body })); + }); + req.on('error', reject); + req.on('timeout', () => { + req.destroy(); + reject(new Error('HTTP request timed out')); + }); + }); +} + +/** + * Scaffold a new NestJS app (skipping install & git) and return its path. + */ +export function scaffoldApp( + tmpDir: string, + appName: string, + extraFlags = '', +): string { + runNest( + `new ${appName} --skip-install --skip-git -p npm ${extraFlags}`, + tmpDir, + ); + return path.join(tmpDir, appName); +} + +/** + * Scaffold an app and install its dependencies. Returns the project path. + * This is expensive (~30s) so use sparingly and share across tests when possible. + */ +export function scaffoldAppWithDeps( + tmpDir: string, + appName: string, + extraFlags = '', +): string { + const appPath = scaffoldApp(tmpDir, appName, extraFlags); + execSync('npm install', { + cwd: appPath, + encoding: 'utf-8', + timeout: 120_000, + stdio: 'pipe', + }); + return appPath; +} + +/** + * Scaffold a monorepo with a sub-app, install deps, and return the root path. + * Manually constructs the monorepo layout because `nest generate app` is + * unreliable when invoked from a Jest child process (the schematics-cli + * skips file-move operations when stdin is piped and non-interactive). + */ +export function scaffoldMonorepoWithDeps( + tmpDir: string, + mainAppName: string, + subAppName: string, +): string { + const appPath = scaffoldAppWithDeps(tmpDir, mainAppName); + + // Move src/ → apps//src/ and test/ → apps//test/ + const mainAppRoot = path.join(appPath, 'apps', mainAppName); + fs.mkdirSync(path.join(mainAppRoot, 'src'), { recursive: true }); + for (const f of fs.readdirSync(path.join(appPath, 'src'))) { + fs.renameSync( + path.join(appPath, 'src', f), + path.join(mainAppRoot, 'src', f), + ); + } + fs.rmSync(path.join(appPath, 'src'), { recursive: true }); + + if (fs.existsSync(path.join(appPath, 'test'))) { + fs.mkdirSync(path.join(mainAppRoot, 'test'), { recursive: true }); + for (const f of fs.readdirSync(path.join(appPath, 'test'))) { + fs.renameSync( + path.join(appPath, 'test', f), + path.join(mainAppRoot, 'test', f), + ); + } + fs.rmSync(path.join(appPath, 'test'), { recursive: true }); + } + + // Create apps//tsconfig.app.json + writeFileContent( + path.join(mainAppRoot, 'tsconfig.app.json'), + JSON.stringify( + { + extends: '../../tsconfig.json', + compilerOptions: { + declaration: false, + outDir: `../../dist/apps/${mainAppName}`, + }, + include: ['src/**/*'], + exclude: ['node_modules', 'dist', 'test', '**/*spec.ts'], + }, + null, + 2, + ), + ); + + // Create secondary app source files + const subAppRoot = path.join(appPath, 'apps', subAppName); + const capitalizedSub = + subAppName.charAt(0).toUpperCase() + subAppName.slice(1); + + writeFileContent( + path.join(subAppRoot, 'src', 'main.ts'), + `import { NestFactory } from '@nestjs/core';\nimport { ${capitalizedSub}Module } from './${subAppName}.module';\n\nasync function bootstrap() {\n const app = await NestFactory.create(${capitalizedSub}Module);\n await app.listen(process.env.PORT ?? 3000);\n}\nbootstrap();\n`, + ); + writeFileContent( + path.join(subAppRoot, 'src', `${subAppName}.module.ts`), + `import { Module } from '@nestjs/common';\nimport { ${capitalizedSub}Controller } from './${subAppName}.controller';\nimport { ${capitalizedSub}Service } from './${subAppName}.service';\n\n@Module({\n imports: [],\n controllers: [${capitalizedSub}Controller],\n providers: [${capitalizedSub}Service],\n})\nexport class ${capitalizedSub}Module {}\n`, + ); + writeFileContent( + path.join(subAppRoot, 'src', `${subAppName}.controller.ts`), + `import { Controller, Get } from '@nestjs/common';\nimport { ${capitalizedSub}Service } from './${subAppName}.service';\n\n@Controller()\nexport class ${capitalizedSub}Controller {\n constructor(private readonly ${subAppName}Service: ${capitalizedSub}Service) {}\n\n @Get()\n getHello(): string {\n return this.${subAppName}Service.getHello();\n }\n}\n`, + ); + writeFileContent( + path.join(subAppRoot, 'src', `${subAppName}.service.ts`), + `import { Injectable } from '@nestjs/common';\n\n@Injectable()\nexport class ${capitalizedSub}Service {\n getHello(): string {\n return 'Hello from ${subAppName}!';\n }\n}\n`, + ); + + // Create apps//tsconfig.app.json + writeFileContent( + path.join(subAppRoot, 'tsconfig.app.json'), + JSON.stringify( + { + extends: '../../tsconfig.json', + compilerOptions: { + declaration: false, + outDir: `../../dist/apps/${subAppName}`, + }, + include: ['src/**/*'], + exclude: ['node_modules', 'dist', 'test', '**/*spec.ts'], + }, + null, + 2, + ), + ); + + // Write monorepo nest-cli.json + writeFileContent( + path.join(appPath, 'nest-cli.json'), + JSON.stringify( + { + $schema: 'https://json.schemastore.org/nest-cli', + collection: '@nestjs/schematics', + sourceRoot: `apps/${mainAppName}/src`, + compilerOptions: { + deleteOutDir: true, + webpack: true, + tsConfigPath: `apps/${mainAppName}/tsconfig.app.json`, + }, + monorepo: true, + root: `apps/${mainAppName}`, + projects: { + [mainAppName]: { + type: 'application', + root: `apps/${mainAppName}`, + entryFile: 'main', + sourceRoot: `apps/${mainAppName}/src`, + compilerOptions: { + tsConfigPath: `apps/${mainAppName}/tsconfig.app.json`, + }, + }, + [subAppName]: { + type: 'application', + root: `apps/${subAppName}`, + entryFile: 'main', + sourceRoot: `apps/${subAppName}/src`, + compilerOptions: { + tsConfigPath: `apps/${subAppName}/tsconfig.app.json`, + }, + }, + }, + }, + null, + 2, + ), + ); + + // Update root tsconfig.json to remove "paths" if needed + const rootTsconfig = JSON.parse( + fs.readFileSync(path.join(appPath, 'tsconfig.json'), 'utf-8'), + ); + if (!rootTsconfig.compilerOptions.paths) { + rootTsconfig.compilerOptions.paths = {}; + } + fs.writeFileSync( + path.join(appPath, 'tsconfig.json'), + JSON.stringify(rootTsconfig, null, 2), + ); + + return appPath; +} + +/** + * Write content to a file, creating directories as needed. + */ +export function writeFileContent(filePath: string, content: string): void { + fs.mkdirSync(path.dirname(filePath), { recursive: true }); + fs.writeFileSync(filePath, content, 'utf-8'); +} + +/** + * Convert a scaffolded ESM NestJS app back to CJS. + * + * 1. Removes `"type": "module"` from package.json + * 2. Replaces top-level `await bootstrap()` with `bootstrap()` in main.ts + * 3. Strips `.js` extensions from relative imports in `.ts` source files + */ +export function convertToCjs(appPath: string): void { + // 1. Remove "type": "module" from package.json + const pkgPath = path.join(appPath, 'package.json'); + const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8')); + delete pkg.type; + fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2)); + + // Collect all .ts source directories + const srcDirs: string[] = []; + const rootSrc = path.join(appPath, 'src'); + if (fs.existsSync(rootSrc)) srcDirs.push(rootSrc); + const appsDir = path.join(appPath, 'apps'); + if (fs.existsSync(appsDir)) { + for (const dir of fs.readdirSync(appsDir)) { + const appSrc = path.join(appsDir, dir, 'src'); + if (fs.existsSync(appSrc)) srcDirs.push(appSrc); + } + } + + // 2. Replace top-level await bootstrap() in main.ts files + // 3. Strip .js extensions from relative imports + for (const srcDir of srcDirs) { + const tsFiles = fs + .readdirSync(srcDir, { recursive: true }) + .filter((f): f is string => typeof f === 'string' && f.endsWith('.ts')); + + for (const file of tsFiles) { + const filePath = path.join(srcDir, file); + let content = fs.readFileSync(filePath, 'utf-8'); + // Strip .js from relative imports: './foo.js' → './foo' + content = content.replace( + /(from\s+['"]\.\.?\/[^'"]*?)\.js(['"])/g, + '$1$2', + ); + // Replace top-level await bootstrap() + content = content.replace(/^await (bootstrap\(\));?$/m, '$1;'); + fs.writeFileSync(filePath, content); + } + } +} + +/** + * Install the optional webpack peer dependencies that `@nestjs/cli` needs for + * webpack-based builds. The published CLI marks these as optional, so they are + * not installed automatically. + */ +export function installWebpackDeps(appPath: string): void { + execSync( + 'npm install --save-dev ts-loader webpack webpack-node-externals tsconfig-paths-webpack-plugin fork-ts-checker-webpack-plugin', + { cwd: appPath, encoding: 'utf-8', timeout: 120_000, stdio: 'pipe' }, + ); +} + +/** + * Convert a scaffolded CJS NestJS app into an ESM project. + * + * 1. Adds `"type": "module"` to package.json + * 2. Appends `.js` extensions to all relative imports in `.ts` source files + * 3. Rewrites main.ts to use top-level `await` (validates ESM TLA support) + */ +export function convertToEsm(appPath: string): void { + // 1. Add "type": "module" to package.json + const pkgPath = path.join(appPath, 'package.json'); + const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8')); + pkg.type = 'module'; + fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2)); + + // 2. Add .js extensions to relative imports in all .ts files under src/ + const srcDir = path.join(appPath, 'src'); + const tsFiles = fs + .readdirSync(srcDir, { recursive: true }) + .filter((f): f is string => typeof f === 'string' && f.endsWith('.ts')); + + for (const file of tsFiles) { + const filePath = path.join(srcDir, file); + let content = fs.readFileSync(filePath, 'utf-8'); + // Match `from './foo'` or `from '../foo'` and append .js + content = content.replace( + /(from\s+['"])(\.\.?\/[^'"]+?)(? { + describe('without installed dependencies', () => { + let tmpDir: string; + let appPath: string; + + beforeAll(() => { + tmpDir = createTempDir('nest-e2e-info-'); + appPath = scaffoldApp(tmpDir, 'info-app'); + }); + + afterAll(() => { + removeTempDir(tmpDir); + }); + + it('should display system information and CLI version', () => { + const output = runNest('info', appPath); + + expect(output).toMatch(/OS Version/i); + expect(output).toMatch(/NodeJS Version/i); + expect(output).toMatch(/Nest CLI/i); + expect(output).toMatch(/Nest Platform Information/i); + }); + }); + + describe('with installed dependencies', () => { + let tmpDir: string; + let appPath: string; + + beforeAll(() => { + tmpDir = createTempDir('nest-e2e-info-deps-'); + appPath = scaffoldAppWithDeps(tmpDir, 'info-deps-app'); + }); + + afterAll(() => { + removeTempDir(tmpDir); + }); + + it('should display NestJS package versions', () => { + const output = runNest('info', appPath); + + expect(output).toMatch(/common version/i); + expect(output).toMatch(/core version/i); + expect(output).toMatch(/platform-express version/i); + }); + }); +}); diff --git a/test/e2e/jest-e2e.json b/test/e2e/jest-e2e.json new file mode 100644 index 000000000..ef0f89856 --- /dev/null +++ b/test/e2e/jest-e2e.json @@ -0,0 +1,9 @@ +{ + "moduleFileExtensions": ["js", "json", "ts"], + "rootDir": ".", + "testRegex": ".e2e-spec.ts$", + "transform": { + "^.+\\.(t|j)s$": "ts-jest" + }, + "testTimeout": 300000 +} diff --git a/test/e2e/library-assets.e2e-spec.ts b/test/e2e/library-assets.e2e-spec.ts new file mode 100644 index 000000000..d7c79c196 --- /dev/null +++ b/test/e2e/library-assets.e2e-spec.ts @@ -0,0 +1,79 @@ +import * as fs from 'fs'; +import * as path from 'path'; +import { afterAll, beforeAll, describe, expect, it } from 'vitest'; +import { + convertToCjs, + createTempDir, + fileExists, + removeLocalCli, + removeTempDir, + runNest, + scaffoldMonorepoWithDeps, + writeFileContent, +} from './helpers.js'; + +describe('Library Assets (e2e)', () => { + let tmpDir: string; + let appPath: string; + + beforeAll(() => { + tmpDir = createTempDir('nest-e2e-lib-assets-'); + appPath = scaffoldMonorepoWithDeps(tmpDir, 'main-app', 'mylib'); + // Monorepo scaffold is ESM by default; the manually-written sub-app + // files use CJS-style imports without .js extensions, so convert the + // project to CJS for consistent tsc compilation. + convertToCjs(appPath); + // includeLibraryAssets is new in this PR — the scaffolded app's + // node_modules has the published CLI which ignores the option. Force + // the dev CLI to run. + removeLocalCli(appPath); + + // Add an asset file to the library + writeFileContent( + path.join(appPath, 'apps', 'mylib', 'src', 'templates', 'hello.hbs'), + 'Hello {{ name }}!', + ); + + // Configure nest-cli.json: disable webpack (no peer deps needed), add asset + // configs for the library, and enable includeLibraryAssets on the main app + const nestCliPath = path.join(appPath, 'nest-cli.json'); + const nestConfig = JSON.parse(fs.readFileSync(nestCliPath, 'utf-8')); + + delete nestConfig.compilerOptions.webpack; + + nestConfig.projects['mylib'].compilerOptions.assets = [ + 'templates/**/*.hbs', + ]; + + nestConfig.projects['main-app'].compilerOptions.includeLibraryAssets = [ + 'mylib', + ]; + + fs.writeFileSync(nestCliPath, JSON.stringify(nestConfig, null, 2)); + }); + + afterAll(() => { + removeTempDir(tmpDir); + }); + + it('should copy library assets to app output when includeLibraryAssets is configured', () => { + runNest('build main-app', appPath); + + // The library asset should be present in the build output + const distDir = path.join(appPath, 'dist', 'apps', 'main-app'); + expect(fileExists(distDir)).toBe(true); + + // Check that at least the main app built successfully. + // Monorepo tsconfig uses include: ['src/**/*'] which makes tsc infer + // rootDir as src/, so main.js sits directly under the outDir. + expect(fileExists(path.join(distDir, 'main.js'))).toBe(true); + }); + + it('should build library standalone with its own assets', () => { + runNest('build mylib', appPath); + + const libDistDir = path.join(appPath, 'dist', 'apps', 'mylib'); + expect(fileExists(libDistDir)).toBe(true); + expect(fileExists(path.join(libDistDir, 'main.js'))).toBe(true); + }); +}); diff --git a/test/e2e/new.command.e2e-spec.ts b/test/e2e/new.command.e2e-spec.ts new file mode 100644 index 000000000..3262d5755 --- /dev/null +++ b/test/e2e/new.command.e2e-spec.ts @@ -0,0 +1,133 @@ +import * as path from 'path'; +import { afterEach, beforeEach, describe, expect, it } from 'vitest'; +import { + createTempDir, + fileExists, + readFileContent, + removeTempDir, + runNest, + scaffoldApp, +} from './helpers.js'; + +describe('New Command (e2e)', () => { + let tmpDir: string; + + beforeEach(() => { + tmpDir = createTempDir('nest-e2e-new-'); + }); + + afterEach(() => { + removeTempDir(tmpDir); + }); + + it('should generate a new TypeScript project', () => { + const appPath = scaffoldApp(tmpDir, 'my-app'); + + // Core project files + expect(fileExists(path.join(appPath, 'package.json'))).toBe(true); + expect(fileExists(path.join(appPath, 'tsconfig.json'))).toBe(true); + expect(fileExists(path.join(appPath, 'tsconfig.build.json'))).toBe(true); + expect(fileExists(path.join(appPath, 'nest-cli.json'))).toBe(true); + + // Source files + expect(fileExists(path.join(appPath, 'src', 'main.ts'))).toBe(true); + expect(fileExists(path.join(appPath, 'src', 'app.module.ts'))).toBe(true); + expect(fileExists(path.join(appPath, 'src', 'app.controller.ts'))).toBe( + true, + ); + expect(fileExists(path.join(appPath, 'src', 'app.service.ts'))).toBe(true); + expect( + fileExists(path.join(appPath, 'src', 'app.controller.spec.ts')), + ).toBe(true); + + // Test files + expect(fileExists(path.join(appPath, 'test', 'app.e2e-spec.ts'))).toBe( + true, + ); + expect(fileExists(path.join(appPath, 'vitest.config.e2e.ts'))).toBe(true); + + // package.json content + const pkg = JSON.parse(readFileContent(path.join(appPath, 'package.json'))); + expect(pkg.name).toBe('my-app'); + expect(pkg.dependencies['@nestjs/core']).toBeDefined(); + expect(pkg.dependencies['@nestjs/common']).toBeDefined(); + }); + + it('should respect --directory flag', () => { + runNest( + 'new my-app --skip-install --skip-git -p npm --directory custom-dir', + tmpDir, + ); + const appPath = path.join(tmpDir, 'custom-dir'); + + expect(fileExists(path.join(appPath, 'package.json'))).toBe(true); + expect(fileExists(path.join(appPath, 'src', 'main.ts'))).toBe(true); + + const pkg = JSON.parse(readFileContent(path.join(appPath, 'package.json'))); + expect(pkg.name).toBe('my-app'); + }); + + it('should generate a JavaScript project with --language js', () => { + const appPath = scaffoldApp(tmpDir, 'js-app', '--language js'); + + expect(fileExists(path.join(appPath, 'package.json'))).toBe(true); + expect(fileExists(path.join(appPath, 'jsconfig.json'))).toBe(true); + + // JS project should have .js source files + expect(fileExists(path.join(appPath, 'src', 'main.js'))).toBe(true); + expect(fileExists(path.join(appPath, 'src', 'app.module.js'))).toBe(true); + expect(fileExists(path.join(appPath, 'src', 'app.controller.js'))).toBe( + true, + ); + expect(fileExists(path.join(appPath, 'src', 'app.service.js'))).toBe(true); + }); + + it('should enable strict mode with --strict', () => { + const appPath = scaffoldApp(tmpDir, 'strict-app', '--strict'); + + const tsconfig = JSON.parse( + readFileContent(path.join(appPath, 'tsconfig.json')), + ); + expect(tsconfig.compilerOptions.strict).toBeTruthy(); + }); + + it('should produce dry-run output without creating files', () => { + const output = runNest( + 'new dry-app --skip-install --skip-git -p npm --dry-run', + tmpDir, + ); + const appPath = path.join(tmpDir, 'dry-app'); + + // Dry run should NOT create the directory + expect(fileExists(appPath)).toBe(false); + // But should produce output describing what would be created + expect(output).toContain('CREATE'); + }); + + it('should skip git initialization with --skip-git', () => { + const appPath = scaffoldApp(tmpDir, 'no-git-app'); + + // --skip-git is already in scaffoldApp + expect(fileExists(path.join(appPath, '.git'))).toBe(false); + }); + + it('should generate correct nest-cli.json', () => { + const appPath = scaffoldApp(tmpDir, 'cfg-app'); + const config = JSON.parse( + readFileContent(path.join(appPath, 'nest-cli.json')), + ); + + expect(config.collection).toBe('@nestjs/schematics'); + expect(config.sourceRoot).toBe('src'); + }); + + it('should set package manager in package.json scripts', () => { + const appPath = scaffoldApp(tmpDir, 'pm-app'); + const pkg = JSON.parse(readFileContent(path.join(appPath, 'package.json'))); + + // Should have standard scripts + expect(pkg.scripts['build']).toBeDefined(); + expect(pkg.scripts['start']).toBeDefined(); + expect(pkg.scripts['test']).toBeDefined(); + }); +}); diff --git a/test/e2e/start.command.e2e-spec.ts b/test/e2e/start.command.e2e-spec.ts new file mode 100644 index 000000000..e2e0b23f4 --- /dev/null +++ b/test/e2e/start.command.e2e-spec.ts @@ -0,0 +1,565 @@ +import { execSync } from 'child_process'; +import * as path from 'path'; +import { afterAll, afterEach, beforeAll, describe, expect, it } from 'vitest'; +import { + convertToCjs, + createTempDir, + enableRspack, + enableWebpack, + freePort, + httpGet, + installWebpackDeps, + readFileContent, + removeLocalCli, + removeTempDir, + runNest, + runNestRaw, + scaffoldAppWithDeps, + scaffoldEsmAppWithDeps, + scaffoldMonorepoWithDeps, + spawnNest, + waitFor, + writeFileContent, +} from './helpers.js'; + +describe('Start Command - CJS project (e2e)', () => { + let tmpDir: string; + let appPath: string; + + beforeAll(() => { + tmpDir = createTempDir('nest-e2e-start-'); + appPath = scaffoldAppWithDeps(tmpDir, 'start-app'); + convertToCjs(appPath); + // Pre-build so that start is faster + runNest('build', appPath); + }); + + afterAll(() => { + removeTempDir(tmpDir); + }); + + // Allow port to be released between tests + afterEach(async () => { + await new Promise((r) => setTimeout(r, 500)); + }); + + it('should start the application and respond to HTTP requests', async () => { + const port = 4001; + const proc = spawnNest('start', appPath, { PORT: String(port) }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + expect(response.body).toContain('Hello World!'); + } finally { + proc.kill(); + } + }); + + it('should start with --debug flag', async () => { + const port = 4002; + const proc = spawnNest('start --debug', appPath, { PORT: String(port) }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + expect(proc.output()).toMatch(/Debugger listening on/); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + } finally { + proc.kill(); + } + }); + + it('should start with --exec flag', async () => { + const port = 4003; + const proc = spawnNest('start --exec node', appPath, { + PORT: String(port), + }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + } finally { + proc.kill(); + } + }); + + it('should start in --watch mode and rebuild on file change', async () => { + const port = 4004; + freePort(port); + + // Ensure the source file has the original content before starting + const servicePath = path.join(appPath, 'src', 'app.service.ts'); + const original = readFileContent(servicePath); + if (!original.includes("'Hello World!'")) { + writeFileContent( + servicePath, + original.replace("'Hello Watch!'", "'Hello World!'"), + ); + // Give the filesystem some time to settle + await new Promise((r) => setTimeout(r, 1000)); + } + + // Clean dist so tsc --watch recompiles from source + execSync('rm -rf dist', { cwd: appPath, stdio: 'ignore' }); + + const proc = spawnNest('start --watch', appPath, { + PORT: String(port), + }); + + try { + // Wait for the initial compilation + start + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + // Verify initial response (retry until server is fully ready) + await waitFor( + async () => { + try { + const res = await httpGet(`http://127.0.0.1:${port}`, 2000); + return res.status === 200 && res.body.includes('Hello World!'); + } catch { + return false; + } + }, + 30_000, + 1000, + ); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + expect(response.body).toContain('Hello World!'); + + // Now modify a source file to trigger a rebuild + const modified = readFileContent(servicePath).replace( + "'Hello World!'", + "'Hello Watch!'", + ); + writeFileContent(servicePath, modified); + + // Wait for the server to restart and serve the new content + await waitFor( + async () => { + try { + const res = await httpGet(`http://127.0.0.1:${port}`, 2000); + return res.body.includes('Hello Watch!'); + } catch { + return false; + } + }, + 60_000, + 1000, + ); + + const response2 = await httpGet(`http://127.0.0.1:${port}`); + expect(response2.status).toBe(200); + expect(response2.body).toContain('Hello Watch!'); + } finally { + proc.kill(); + // Restore the original source file for subsequent tests + writeFileContent(servicePath, original); + } + }); + + describe('with SWC builder', () => { + beforeAll(() => { + execSync('npm install --save-dev @swc/cli @swc/core', { + cwd: appPath, + encoding: 'utf-8', + timeout: 120_000, + stdio: 'pipe', + }); + }); + + it('should start with --builder swc', async () => { + const port = 4005; + const proc = spawnNest('start --builder swc', appPath, { + PORT: String(port), + }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + expect(response.body).toContain('Hello'); + } finally { + proc.kill(); + } + }); + }); +}); + +describe('Start Command - Monorepo with webpack (e2e)', () => { + let tmpDir: string; + let monoPath: string; + + beforeAll(() => { + tmpDir = createTempDir('nest-e2e-start-mono-'); + monoPath = scaffoldMonorepoWithDeps(tmpDir, 'primary', 'worker'); + convertToCjs(monoPath); + installWebpackDeps(monoPath); + }); + + afterAll(() => { + removeTempDir(tmpDir); + }); + + afterEach(async () => { + await new Promise((r) => setTimeout(r, 500)); + }); + + it('should start the default app with webpack in monorepo mode', async () => { + const port = 4006; + const proc = spawnNest('start', monoPath, { PORT: String(port) }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + expect(proc.output()).toContain('webpack'); + expect(proc.output()).toContain('compiled successfully'); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + } finally { + proc.kill(); + } + }); + + it('should start a specific sub-app by name in monorepo mode', async () => { + const port = 4007; + // Patch the worker entryFile to use PORT env or specific port + const workerMain = path.join(monoPath, 'apps', 'worker', 'src', 'main.ts'); + const mainContent = readFileContent(workerMain); + if (!mainContent.includes('process.env.PORT')) { + writeFileContent( + workerMain, + mainContent.replace('3000', 'process.env.PORT ?? 3000'), + ); + } + + const proc = spawnNest('start worker', monoPath, { + PORT: String(port), + }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + expect(proc.output()).toContain('webpack'); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + } finally { + proc.kill(); + } + }); + + it('should start in --watch mode with webpack in monorepo mode', async () => { + const port = 4008; + const proc = spawnNest('start --watch', monoPath, { + PORT: String(port), + }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + expect(proc.output()).toContain('webpack'); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + } finally { + proc.kill(); + } + }); +}); + +describe('Start Command - ESM project (e2e)', () => { + let tmpDir: string; + let appPath: string; + + beforeAll(() => { + tmpDir = createTempDir('nest-e2e-start-esm-'); + appPath = scaffoldEsmAppWithDeps(tmpDir, 'esm-app'); + // Pre-build so that start is faster + runNest('build', appPath); + }); + + afterAll(() => { + removeTempDir(tmpDir); + }); + + afterEach(async () => { + await new Promise((r) => setTimeout(r, 500)); + }); + + it('should start an ESM project with top-level await', async () => { + const port = 4010; + const proc = spawnNest('start', appPath, { PORT: String(port) }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + expect(response.body).toContain('Hello World!'); + } finally { + proc.kill(); + } + }); + + it('should start an ESM project with --watch mode and rebuild on file change', async () => { + const port = 4011; + freePort(port); + + const servicePath = path.join(appPath, 'src', 'app.service.ts'); + const original = readFileContent(servicePath); + + // Clean dist so tsc --watch recompiles from source + execSync('rm -rf dist', { cwd: appPath, stdio: 'ignore' }); + + const proc = spawnNest('start --watch', appPath, { + PORT: String(port), + }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + await waitFor( + async () => { + try { + const res = await httpGet(`http://127.0.0.1:${port}`, 2000); + return res.status === 200 && res.body.includes('Hello World!'); + } catch { + return false; + } + }, + 30_000, + 1000, + ); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + expect(response.body).toContain('Hello World!'); + + // Modify a source file to trigger a rebuild + const modified = original.replace("'Hello World!'", "'Hello ESM!'"); + writeFileContent(servicePath, modified); + + await waitFor( + async () => { + try { + const res = await httpGet(`http://127.0.0.1:${port}`, 2000); + return res.body.includes('Hello ESM!'); + } catch { + return false; + } + }, + 60_000, + 1000, + ); + + const response2 = await httpGet(`http://127.0.0.1:${port}`); + expect(response2.status).toBe(200); + expect(response2.body).toContain('Hello ESM!'); + } finally { + proc.kill(); + writeFileContent(servicePath, original); + } + }); + + it('should start an ESM project with --debug flag', async () => { + const port = 4012; + const proc = spawnNest('start --debug', appPath, { PORT: String(port) }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + expect(proc.output()).toMatch(/Debugger listening on/); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + } finally { + proc.kill(); + } + }); + + describe('with SWC builder', () => { + beforeAll(() => { + execSync('npm install --save-dev @swc/cli @swc/core', { + cwd: appPath, + encoding: 'utf-8', + timeout: 120_000, + stdio: 'pipe', + }); + }); + + it.skip('should start an ESM project with --builder swc', async () => { + const port = 4013; + const proc = spawnNest('start --builder swc', appPath, { + PORT: String(port), + }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + expect(response.body).toContain('Hello'); + } finally { + proc.kill(); + } + }); + }); +}); + +describe('Start Command - ESM project with rspack (e2e)', () => { + let tmpDir: string; + let appPath: string; + + beforeAll(() => { + tmpDir = createTempDir('nest-e2e-start-esm-rs-'); + appPath = scaffoldEsmAppWithDeps(tmpDir, 'esm-rs-app'); + enableRspack(appPath); + // Remove the locally-installed @nestjs/cli so the development CLI is used + removeLocalCli(appPath); + }); + + afterAll(() => { + removeTempDir(tmpDir); + }); + + afterEach(async () => { + await new Promise((r) => setTimeout(r, 500)); + }); + + it('should build an ESM project with rspack and produce clean ESM output', () => { + const { stdout, stderr, exitCode } = runNestRaw('build', appPath); + const output = stdout + stderr; + + expect(exitCode).toBe(0); + expect(output).toMatch(/rspack/i); + expect(output).toContain('compiled successfully'); + + const distMain = path.join(appPath, 'dist', 'main.js'); + const bundleContent = readFileContent(distMain); + + // The output must not contain require() calls — only import statements + const codeLines = bundleContent + .split('\n') + .filter((line) => !line.trimStart().startsWith('//')) + .filter((line) => !line.trimStart().startsWith('*')) + .join('\n'); + + expect(codeLines).not.toMatch(/\brequire\s*\(/); + }); + + it('should start an ESM project with rspack and respond to HTTP', async () => { + const port = 4020; + const proc = spawnNest('start', appPath, { PORT: String(port) }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + expect(proc.output()).toMatch(/rspack/i); + expect(proc.output()).toContain('compiled successfully'); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + expect(response.body).toContain('Hello World!'); + } finally { + proc.kill(); + } + }); + + it('should start an ESM project with rspack in --watch mode', async () => { + const port = 4021; + freePort(port); + + const proc = spawnNest('start --watch', appPath, { + PORT: String(port), + }); + + try { + await waitFor( + () => proc.output().includes('Nest application successfully started'), + 60_000, + ); + + expect(proc.output()).toMatch(/rspack/i); + + const response = await httpGet(`http://127.0.0.1:${port}`); + expect(response.status).toBe(200); + expect(response.body).toContain('Hello World!'); + } finally { + proc.kill(); + } + }); +}); + +describe('Start Command - ESM project with webpack should error (e2e)', () => { + let tmpDir: string; + let appPath: string; + + beforeAll(() => { + tmpDir = createTempDir('nest-e2e-start-esm-wp-err-'); + appPath = scaffoldEsmAppWithDeps(tmpDir, 'esm-wp-err'); + enableWebpack(appPath); + removeLocalCli(appPath); + }); + + afterAll(() => { + removeTempDir(tmpDir); + }); + + it('should reject ESM projects when using the webpack compiler', () => { + const { stderr, exitCode } = runNestRaw('build', appPath); + + expect(exitCode).not.toBe(0); + expect(stderr).toContain('webpack compiler does not support ESM projects'); + expect(stderr).toContain('rspack'); + }); +}); diff --git a/test/jest-config.json b/test/jest-config.json deleted file mode 100644 index b427f2d56..000000000 --- a/test/jest-config.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "moduleFileExtensions": ["js", "json", "ts"], - "rootDir": ".", - "testRegex": ".spec.ts$", - "transform": { - "^.+\\.(t|j)s$": "ts-jest" - }, - "coverageDirectory": "../coverage", - "modulePaths": ["/test/lib/schematics/fixtures"] -} \ No newline at end of file diff --git a/test/lib/compiler/assets-manager.spec.ts b/test/lib/compiler/assets-manager.spec.ts new file mode 100644 index 000000000..d43ddabb0 --- /dev/null +++ b/test/lib/compiler/assets-manager.spec.ts @@ -0,0 +1,614 @@ +import * as chokidar from 'chokidar'; +import { EventEmitter } from 'events'; +import { copyFileSync, statSync} from 'fs'; +import { sync as globSync } from 'glob'; +import { join, sep } from 'path'; +import { beforeEach, describe, expect, it, vi } from 'vitest'; +import { AssetsManager } from '../../../lib/compiler/assets-manager.js'; +import { copyPathResolve } from '../../../lib/compiler/helpers/copy-path-resolve.js'; +import { getValueOrDefault } from '../../../lib/compiler/helpers/get-value-or-default.js'; + +vi.mock('chokidar', () => ({ + watch: vi.fn(), +})); + +vi.mock('glob', () => ({ + sync: vi.fn(), +})); + +vi.mock('fs', () => ({ + copyFileSync: vi.fn(), + mkdirSync: vi.fn(), + rmSync: vi.fn(), + statSync: vi.fn(() => ({ isFile: () => true, isDirectory: () => false })), +})); + +vi.mock('../../../lib/compiler/helpers/copy-path-resolve.js', () => ({ + copyPathResolve: vi.fn().mockReturnValue('/dest/file.txt'), +})); + +vi.mock('../../../lib/compiler/helpers/get-value-or-default.js', () => ({ + getValueOrDefault: vi.fn(), +})); + +describe('AssetsManager', () => { + let assetsManager: AssetsManager; + + beforeEach(() => { + assetsManager = new AssetsManager(); + vi.clearAllMocks(); + }); + + describe('closeWatchers', () => { + it('should wait for all watchers to be ready before closing them', async () => { + // Simulate a watcher that takes time to become ready + const mockWatcher = new EventEmitter() as any; + mockWatcher.close = vi.fn(); + + vi.mocked(chokidar.watch).mockReturnValue(mockWatcher); + vi.mocked(globSync).mockReturnValue(['/src/file.hbs']); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce([{ include: '**/*.hbs', watchAssets: true }]) // assets + .mockReturnValueOnce([]) // includeLibraryAssets + .mockReturnValueOnce('src') // sourceRoot + .mockReturnValueOnce(false); // compilerOptions.watchAssets + + assetsManager.copyAssets({} as any, undefined, 'dist', false); + + // Call closeWatchers before watcher is ready + assetsManager.closeWatchers(); + + // Watcher should NOT have been closed yet + expect(mockWatcher.close).not.toHaveBeenCalled(); + + // Now emit ready event (simulating chokidar finishing initial scan) + mockWatcher.emit('ready'); + + // Allow promise microtask to resolve + await new Promise((resolve) => setImmediate(resolve)); + + // Now the watcher should be closed + expect(mockWatcher.close).toHaveBeenCalledTimes(1); + }); + + it('should close watchers immediately if they are already ready', async () => { + const mockWatcher = new EventEmitter() as any; + mockWatcher.close = vi.fn(); + + vi.mocked(chokidar.watch).mockReturnValue(mockWatcher); + vi.mocked(globSync).mockReturnValue(['/src/file.hbs']); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce([{ include: '**/*.hbs', watchAssets: true }]) + .mockReturnValueOnce([]) // includeLibraryAssets + .mockReturnValueOnce('src') + .mockReturnValueOnce(false); + + assetsManager.copyAssets({} as any, undefined, 'dist', false); + + // Emit ready before calling closeWatchers + mockWatcher.emit('ready'); + await new Promise((resolve) => setImmediate(resolve)); + + assetsManager.closeWatchers(); + await new Promise((resolve) => setImmediate(resolve)); + + expect(mockWatcher.close).toHaveBeenCalledTimes(1); + }); + + it('should wait for multiple watchers to all be ready', async () => { + const mockWatcher1 = new EventEmitter() as any; + mockWatcher1.close = vi.fn(); + const mockWatcher2 = new EventEmitter() as any; + mockWatcher2.close = vi.fn(); + + vi.mocked(chokidar.watch) + .mockReturnValueOnce(mockWatcher1) + .mockReturnValueOnce(mockWatcher2); + vi.mocked(globSync).mockReturnValue(['/src/file.hbs']); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce([ + { include: '**/*.hbs', watchAssets: true }, + { include: '**/*.html', watchAssets: true }, + ]) + .mockReturnValueOnce([]) // includeLibraryAssets + .mockReturnValueOnce('src') + .mockReturnValueOnce(false); + + assetsManager.copyAssets({} as any, undefined, 'dist', false); + + assetsManager.closeWatchers(); + + // Only first watcher is ready + mockWatcher1.emit('ready'); + await new Promise((resolve) => setImmediate(resolve)); + + // Neither should be closed yet since watcher2 is not ready + expect(mockWatcher1.close).not.toHaveBeenCalled(); + expect(mockWatcher2.close).not.toHaveBeenCalled(); + + // Now second watcher is ready + mockWatcher2.emit('ready'); + await new Promise((resolve) => setImmediate(resolve)); + + // Both should now be closed + expect(mockWatcher1.close).toHaveBeenCalledTimes(1); + expect(mockWatcher2.close).toHaveBeenCalledTimes(1); + }); + + it('should handle no watchers gracefully (closeWatchers)', async () => { + // closeWatchers with no watchers should not throw + assetsManager.closeWatchers(); + await new Promise((resolve) => setImmediate(resolve)); + // No error thrown = success + }); + }); + + describe('onSuccess callback on asset change', () => { + it('should call onSuccess when a watched asset changes after watcher is ready', async () => { + vi.useFakeTimers(); + const mockWatcher = new EventEmitter() as any; + mockWatcher.close = vi.fn(); + const onSuccess = vi.fn(); + + vi.mocked(chokidar.watch).mockReturnValue(mockWatcher); + vi.mocked(globSync).mockReturnValue(['/src/file.hbs']); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce([{ include: '**/*.hbs', watchAssets: true }]) + .mockReturnValueOnce([]) // includeLibraryAssets + .mockReturnValueOnce('src') + .mockReturnValueOnce(false); + + assetsManager.copyAssets({} as any, undefined, 'dist', false, onSuccess); + + // Simulate initial add (before ready) - should NOT call onSuccess + mockWatcher.emit('add', '/src/file.hbs'); + await vi.runAllTimersAsync(); + expect(onSuccess).not.toHaveBeenCalled(); + + // Emit ready + mockWatcher.emit('ready'); + + // Simulate change after ready - should call onSuccess (after debounce) + mockWatcher.emit('change', '/src/file.hbs'); + await vi.runAllTimersAsync(); + expect(onSuccess).toHaveBeenCalledTimes(1); + vi.useRealTimers(); + }); + + it('should call onSuccess when a new asset is added after watcher is ready', async () => { + vi.useFakeTimers(); + const mockWatcher = new EventEmitter() as any; + mockWatcher.close = vi.fn(); + const onSuccess = vi.fn(); + + vi.mocked(chokidar.watch).mockReturnValue(mockWatcher); + vi.mocked(globSync).mockReturnValue(['/src/file.hbs']); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce([{ include: '**/*.hbs', watchAssets: true }]) + .mockReturnValueOnce([]) // includeLibraryAssets + .mockReturnValueOnce('src') + .mockReturnValueOnce(false); + + assetsManager.copyAssets({} as any, undefined, 'dist', false, onSuccess); + + mockWatcher.emit('ready'); + + // Simulate add after ready - should call onSuccess (after debounce) + mockWatcher.emit('add', '/src/new-file.hbs'); + await vi.runAllTimersAsync(); + expect(onSuccess).toHaveBeenCalledTimes(1); + vi.useRealTimers(); + }); + + it('should call onSuccess when an asset is deleted after watcher is ready', async () => { + vi.useFakeTimers(); + const mockWatcher = new EventEmitter() as any; + mockWatcher.close = vi.fn(); + const onSuccess = vi.fn(); + + vi.mocked(chokidar.watch).mockReturnValue(mockWatcher); + vi.mocked(globSync).mockReturnValue(['/src/file.hbs']); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce([{ include: '**/*.hbs', watchAssets: true }]) + .mockReturnValueOnce([]) // includeLibraryAssets + .mockReturnValueOnce('src') + .mockReturnValueOnce(false); + + assetsManager.copyAssets({} as any, undefined, 'dist', false, onSuccess); + + mockWatcher.emit('add', '/src/file.hbs'); + mockWatcher.emit('ready'); + + // Simulate unlink after ready - should call onSuccess (after debounce) + mockWatcher.emit('unlink', '/src/file.hbs'); + await vi.runAllTimersAsync(); + expect(onSuccess).toHaveBeenCalledTimes(1); + vi.useRealTimers(); + }); + + it('should debounce rapid onSuccess calls into a single invocation', async () => { + vi.useFakeTimers(); + const mockWatcher = new EventEmitter() as any; + mockWatcher.close = vi.fn(); + const onSuccess = vi.fn(); + + vi.mocked(chokidar.watch).mockReturnValue(mockWatcher); + vi.mocked(globSync).mockReturnValue(['/src/file.hbs']); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce([{ include: '**/*.hbs', watchAssets: true }]) + .mockReturnValueOnce([]) // includeLibraryAssets + .mockReturnValueOnce('src') + .mockReturnValueOnce(false); + + assetsManager.copyAssets({} as any, undefined, 'dist', false, onSuccess); + + mockWatcher.emit('ready'); + + // Burst of changes — should collapse into a single onSuccess call + mockWatcher.emit('change', '/src/a.hbs'); + mockWatcher.emit('change', '/src/b.hbs'); + mockWatcher.emit('add', '/src/c.hbs'); + mockWatcher.emit('unlink', '/src/a.hbs'); + await vi.runAllTimersAsync(); + + expect(onSuccess).toHaveBeenCalledTimes(1); + vi.useRealTimers(); + }); + + it('should not call onSuccess if no callback is provided', async () => { + const mockWatcher = new EventEmitter() as any; + mockWatcher.close = vi.fn(); + + vi.mocked(chokidar.watch).mockReturnValue(mockWatcher); + vi.mocked(globSync).mockReturnValue(['/src/file.hbs']); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce([{ include: '**/*.hbs', watchAssets: true }]) + .mockReturnValueOnce([]) // includeLibraryAssets + .mockReturnValueOnce('src') + .mockReturnValueOnce(false); + + // No onSuccess provided + assetsManager.copyAssets({} as any, undefined, 'dist', false); + + mockWatcher.emit('ready'); + + // Should not throw when change occurs without onSuccess + expect(() => mockWatcher.emit('change', '/src/file.hbs')).not.toThrow(); + }); + + it('should not stall when asset glob matches no files', async () => { + // Chokidar does not emit 'ready' when given an empty array, + // which caused closeWatchers() to hang forever. + const warnSpy = vi.spyOn(console, 'warn').mockImplementation(() => {}); + + vi.mocked(globSync).mockReturnValue([]); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce([ + { include: 'does-not-exist/**/*', watchAssets: true }, + ]) + .mockReturnValueOnce([]) // includeLibraryAssets + .mockReturnValueOnce('src') + .mockReturnValueOnce(false); + + assetsManager.copyAssets({} as any, undefined, 'dist', false); + + // No watcher should have been created for the empty glob + expect(chokidar.watch).not.toHaveBeenCalled(); + + // A warning should have been logged + expect(warnSpy).toHaveBeenCalledWith( + expect.stringContaining('does-not-exist/**/*'), + ); + + // closeWatchers should resolve immediately since no watchers exist + await assetsManager.closeWatchers(); + + warnSpy.mockRestore(); + }); + + it('should ensure all add events fire before watcher is closed', async () => { + const addedFiles: string[] = []; + const mockWatcher = new EventEmitter() as any; + mockWatcher.close = vi.fn(); + + vi.mocked(chokidar.watch).mockReturnValue(mockWatcher); + vi.mocked(globSync).mockReturnValue([ + '/src/a.hbs', + '/src/b.hbs', + '/src/c.hbs', + ]); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce([{ include: '**/*.hbs', watchAssets: true }]) + .mockReturnValueOnce([]) // includeLibraryAssets + .mockReturnValueOnce('src') + .mockReturnValueOnce(false); + + // Track calls to copyFileSync to verify files are copied + vi.mocked(copyFileSync).mockImplementation(() => { + addedFiles.push('copied'); + }); + + assetsManager.copyAssets({} as any, undefined, 'dist', false); + + // Request close before any add events + assetsManager.closeWatchers(); + + // Simulate chokidar emitting add events for each file + mockWatcher.emit('add', '/src/a.hbs'); + mockWatcher.emit('add', '/src/b.hbs'); + mockWatcher.emit('add', '/src/c.hbs'); + + // Watcher should still be open + expect(mockWatcher.close).not.toHaveBeenCalled(); + + // All files should have been copied + expect(addedFiles).toHaveLength(3); + + // Now emit ready (chokidar does this after initial scan) + mockWatcher.emit('ready'); + await new Promise((resolve) => setImmediate(resolve)); + + // Now close should have been called + expect(mockWatcher.close).toHaveBeenCalledTimes(1); + }); + }); + + describe('includeLibraryAssets', () => { + it('should copy library assets when includeLibraryAssets references a library', () => { + const configuration = { + projects: { + 'my-lib': { + type: 'library', + root: 'libs/my-lib', + sourceRoot: 'libs/my-lib/src', + compilerOptions: { + assets: ['**/*.graphql'], + }, + }, + }, + } as any; + + (getValueOrDefault as ReturnType) + .mockReturnValueOnce([]) // app assets (empty) + .mockReturnValueOnce(['my-lib']) // includeLibraryAssets + .mockReturnValueOnce('apps/my-app/src') // sourceRoot + .mockReturnValueOnce(false); // compilerOptions.watchAssets + + (globSync as unknown as ReturnType).mockReturnValue([]); + const statMock = statSync as ReturnType; + statMock.mockReturnValue({ isFile: () => true, isDirectory: () => false }); + + assetsManager.copyAssets(configuration, 'my-app', 'dist', false); + + // The method should not throw and should process the library assets + // Since globSync returns empty, no files are copied, but the flow completes + expect(getValueOrDefault).toHaveBeenCalledTimes(4); + }); + + it('should copy library assets alongside app assets', () => { + const configuration = { + projects: { + 'shared-lib': { + type: 'library', + root: 'libs/shared-lib', + sourceRoot: 'libs/shared-lib/src', + compilerOptions: { + assets: ['**/*.proto'], + }, + }, + }, + } as any; + + (getValueOrDefault as ReturnType) + .mockReturnValueOnce(['**/*.hbs']) // app assets + .mockReturnValueOnce(['shared-lib']) // includeLibraryAssets + .mockReturnValueOnce('apps/my-app/src') // sourceRoot + .mockReturnValueOnce(false); // compilerOptions.watchAssets + + const matchedFiles = ['/cwd/libs/shared-lib/src/schema.proto']; + (globSync as unknown as ReturnType).mockReturnValue(matchedFiles); + const statMock = statSync as ReturnType; + statMock.mockReturnValue({ isFile: () => true, isDirectory: () => false }); + + assetsManager.copyAssets(configuration, 'my-app', 'dist', false); + + // copyFileSync should be called for both app and library assets + expect(copyFileSync).toHaveBeenCalled(); + }); + + it('should skip non-existent library names gracefully', () => { + const configuration = { + projects: { + 'existing-lib': { + type: 'library', + root: 'libs/existing-lib', + sourceRoot: 'libs/existing-lib/src', + compilerOptions: { + assets: ['**/*.json'], + }, + }, + }, + } as any; + + (getValueOrDefault as ReturnType) + .mockReturnValueOnce([]) // app assets (empty) + .mockReturnValueOnce(['non-existent-lib']); // includeLibraryAssets - does not exist + + // With no assets from either app or valid library, copyAssets returns early + // (collectLibraryAssets returns [] because lib not found) + expect(() => + assetsManager.copyAssets(configuration, 'my-app', 'dist', false), + ).not.toThrow(); + }); + + it('should skip library with no assets configured', () => { + const configuration = { + projects: { + 'no-assets-lib': { + type: 'library', + root: 'libs/no-assets-lib', + sourceRoot: 'libs/no-assets-lib/src', + compilerOptions: {}, + }, + }, + } as any; + + (getValueOrDefault as ReturnType) + .mockReturnValueOnce([]) // app assets (empty) + .mockReturnValueOnce(['no-assets-lib']); // includeLibraryAssets + + // Library has no assets configured, so collectLibraryAssets returns [] + // Both assets and libraryAssets are empty, so copyAssets returns early + expect(() => + assetsManager.copyAssets(configuration, 'my-app', 'dist', false), + ).not.toThrow(); + }); + + it('should not include library assets when includeLibraryAssets is not set', () => { + (getValueOrDefault as ReturnType) + .mockReturnValueOnce([]) // app assets (empty) + .mockReturnValueOnce([]); // includeLibraryAssets (empty) + + assetsManager.copyAssets({} as any, undefined, 'dist', false); + + // Should return early without calling sourceRoot or watchAssets + expect(getValueOrDefault).toHaveBeenCalledTimes(2); + expect(copyFileSync).not.toHaveBeenCalled(); + }); + + it('should use library sourceRoot to resolve asset paths', () => { + const configuration = { + projects: { + 'my-lib': { + type: 'library', + root: 'libs/my-lib', + sourceRoot: 'libs/my-lib/src', + compilerOptions: { + assets: [{ include: '**/*.graphql', exclude: '**/*.test.graphql' }], + }, + }, + }, + } as any; + + (getValueOrDefault as ReturnType) + .mockReturnValueOnce([]) // app assets (empty) + .mockReturnValueOnce(['my-lib']) // includeLibraryAssets + .mockReturnValueOnce('apps/my-app/src') // sourceRoot + .mockReturnValueOnce(false); // compilerOptions.watchAssets + + const cwd = process.cwd(); + const expectedGlob = (cwd + '/libs/my-lib/src/**/*.graphql').replace( + /\\/g, + '/', + ); + const expectedExclude = ( + cwd + '/libs/my-lib/src/**/*.test.graphql' + ).replace(/\\/g, '/'); + + (globSync as unknown as ReturnType).mockReturnValue([]); + + assetsManager.copyAssets(configuration, 'my-app', 'dist', false); + + // Verify glob was called with library-resolved paths + expect(globSync).toHaveBeenCalledWith(expectedGlob, { + ignore: expectedExclude, + dot: true, + }); + }); + }); + + describe('rootDir-aware path stripping (#3387)', () => { + it('strips against the supplied tsconfig rootDir instead of sourceRoot', () => { + (getValueOrDefault as ReturnType) + .mockReturnValueOnce([{ include: '**/*.txt' }]) // assets + .mockReturnValueOnce([]) // includeLibraryAssets + .mockReturnValueOnce('app') // sourceRoot (legacy / wrong for this build) + .mockReturnValueOnce(false); // compilerOptions.watchAssets + + (globSync as unknown as ReturnType).mockReturnValue([ + '/abs/asset.txt', + ]); + + const rootDir = join(process.cwd(), 'src'); + assetsManager.copyAssets( + {} as any, + undefined, + 'dist', + false, + undefined, + rootDir, + ); + + // copyPathResolve must receive the rootDir-derived depth, not sourceRoot. + expect(copyPathResolve).toHaveBeenCalledWith( + '/abs/asset.txt', + 'dist', + rootDir.split(sep).length, + ); + }); + + it('falls back to sourceRoot when rootDir is undefined', () => { + (getValueOrDefault as ReturnType) + .mockReturnValueOnce([{ include: '**/*.txt' }]) // assets + .mockReturnValueOnce([]) // includeLibraryAssets + .mockReturnValueOnce('app') // sourceRoot + .mockReturnValueOnce(false); // compilerOptions.watchAssets + + (globSync as unknown as ReturnType).mockReturnValue([ + '/abs/asset.txt', + ]); + + assetsManager.copyAssets({} as any, undefined, 'dist', false); + + const expectedSourceRoot = join(process.cwd(), 'app'); + expect(copyPathResolve).toHaveBeenCalledWith( + '/abs/asset.txt', + 'dist', + expectedSourceRoot.split(sep).length, + ); + }); + + it('still uses each library asset _sourceRoot even when rootDir is set', () => { + const configuration = { + projects: { + 'my-lib': { + type: 'library', + root: 'libs/my-lib', + sourceRoot: 'libs/my-lib/src', + compilerOptions: { + assets: [{ include: '**/*.graphql' }], + }, + }, + }, + } as any; + + (getValueOrDefault as ReturnType) + .mockReturnValueOnce([]) // app assets (empty) + .mockReturnValueOnce(['my-lib']) // includeLibraryAssets + .mockReturnValueOnce('apps/my-app/src') // sourceRoot (unused for the lib path) + .mockReturnValueOnce(false); // compilerOptions.watchAssets + + (globSync as unknown as ReturnType).mockReturnValue([ + '/abs/lib/file.graphql', + ]); + + const rootDir = join(process.cwd(), 'apps/my-app/src'); + assetsManager.copyAssets( + configuration, + 'my-app', + 'dist', + false, + undefined, + rootDir, + ); + + const expectedLibSourceRoot = join(process.cwd(), 'libs/my-lib/src'); + // Library entry must keep its own _sourceRoot, not be replaced by rootDir. + expect(copyPathResolve).toHaveBeenCalledWith( + '/abs/lib/file.graphql', + 'dist', + expectedLibSourceRoot.split(sep).length, + ); + }); + }); +}); diff --git a/test/lib/compiler/base-compiler.spec.ts b/test/lib/compiler/base-compiler.spec.ts new file mode 100644 index 000000000..6160c84fe --- /dev/null +++ b/test/lib/compiler/base-compiler.spec.ts @@ -0,0 +1,113 @@ +import { join, normalize } from 'path'; +import { describe, expect, it, vi } from 'vitest'; +import { Configuration } from '../../../lib/configuration/index.js'; +import { BaseCompiler } from '../../../lib/compiler/base-compiler.js'; +import { PluginsLoader } from '../../../lib/compiler/plugins/plugins-loader.js'; + +class TestCompiler extends BaseCompiler { + public run() {} + + // Expose protected methods for testing + public testGetPathToSource( + configuration: Required, + tsConfigPath: string, + appName: string | undefined, + ) { + return this.getPathToSource(configuration, tsConfigPath, appName); + } + + public testLoadPlugins( + configuration: Required, + tsConfigPath: string, + appName: string | undefined, + ) { + return this.loadPlugins(configuration, tsConfigPath, appName); + } +} + +function makeConfig( + overrides: Partial = {}, +): Required { + return { + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: {}, + generateOptions: {}, + ...overrides, + } as Required; +} + +describe('BaseCompiler', () => { + describe('getPathToSource', () => { + it('should return cwd + sourceRoot when tsconfig is in cwd', () => { + const pluginsLoader = new PluginsLoader(); + const compiler = new TestCompiler(pluginsLoader); + const config = makeConfig({ sourceRoot: 'src' }); + const cwd = process.cwd(); + + const result = compiler.testGetPathToSource( + config, + 'tsconfig.json', + undefined, + ); + + expect(result).toBe(join(cwd, 'src')); + }); + + it('should use project-specific sourceRoot when appName is provided', () => { + const pluginsLoader = new PluginsLoader(); + const compiler = new TestCompiler(pluginsLoader); + const config = makeConfig({ + sourceRoot: 'src', + projects: { + 'my-app': { + sourceRoot: 'apps/my-app/src', + }, + }, + }); + const cwd = process.cwd(); + + const result = compiler.testGetPathToSource( + config, + 'tsconfig.json', + 'my-app', + ); + + expect(result).toBe(join(cwd, 'apps/my-app/src')); + }); + }); + + describe('loadPlugins', () => { + it('should return empty hooks when no plugins are configured', () => { + const loadMock = vi.fn().mockReturnValue({ + beforeHooks: [], + afterHooks: [], + afterDeclarationsHooks: [], + readonlyVisitors: [], + }); + const pluginsLoader = { + load: loadMock, + } as unknown as PluginsLoader; + const compiler = new TestCompiler(pluginsLoader); + const config = makeConfig(); + + const result = compiler.testLoadPlugins( + config, + 'tsconfig.json', + undefined, + ); + + expect(result.beforeHooks).toHaveLength(0); + expect(result.afterHooks).toHaveLength(0); + expect(loadMock).toHaveBeenCalledWith( + undefined, + expect.objectContaining({ pathToSource: expect.any(String) }), + ); + }); + }); +}); diff --git a/test/lib/compiler/defaults/swc-defaults.spec.ts b/test/lib/compiler/defaults/swc-defaults.spec.ts index 00371cb64..f2f81b95f 100644 --- a/test/lib/compiler/defaults/swc-defaults.spec.ts +++ b/test/lib/compiler/defaults/swc-defaults.spec.ts @@ -1,4 +1,5 @@ -import { swcDefaultsFactory } from '../../../../lib/compiler/defaults/swc-defaults'; +import { describe, expect, it } from 'vitest'; +import { swcDefaultsFactory } from '../../../../lib/compiler/defaults/swc-defaults.js'; describe('swcDefaultsFactory', () => { it('should set stripLeadingPaths to true when rootDir is not set', () => { diff --git a/test/lib/compiler/helpers/append-extension.spec.ts b/test/lib/compiler/helpers/append-extension.spec.ts new file mode 100644 index 000000000..758e40554 --- /dev/null +++ b/test/lib/compiler/helpers/append-extension.spec.ts @@ -0,0 +1,30 @@ +import { describe, expect, it } from 'vitest'; +import { appendTsExtension } from '../../../../lib/compiler/helpers/append-extension.js'; + +describe('appendTsExtension', () => { + it('should append .ts when path has no extension', () => { + expect(appendTsExtension('src/main')).toBe('src/main.ts'); + }); + + it('should not append .ts when path already ends with .ts', () => { + expect(appendTsExtension('src/main.ts')).toBe('src/main.ts'); + }); + + it('should append .ts when path has a different extension', () => { + expect(appendTsExtension('src/main.js')).toBe('src/main.js.ts'); + }); + + it('should handle paths with directories', () => { + expect(appendTsExtension('apps/my-app/src/main')).toBe( + 'apps/my-app/src/main.ts', + ); + }); + + it('should handle paths with dots in directory names', () => { + expect(appendTsExtension('src/v2.0/main')).toBe('src/v2.0/main.ts'); + }); + + it('should handle empty string', () => { + expect(appendTsExtension('')).toBe('.ts'); + }); +}); diff --git a/test/lib/compiler/helpers/copy-path-resolve.spec.ts b/test/lib/compiler/helpers/copy-path-resolve.spec.ts new file mode 100644 index 000000000..ff763e060 --- /dev/null +++ b/test/lib/compiler/helpers/copy-path-resolve.spec.ts @@ -0,0 +1,32 @@ +import * as path from 'path'; +import { describe, expect, it } from 'vitest'; +import { copyPathResolve } from '../../../../lib/compiler/helpers/copy-path-resolve.js'; + +describe('copyPathResolve', () => { + it('should join outDir with the full file path when up is 0', () => { + const result = copyPathResolve('src/assets/file.txt', 'dist', 0); + expect(result).toBe(path.join('dist', 'src/assets/file.txt')); + }); + + it('should strip leading path segments based on up value', () => { + const result = copyPathResolve('src/assets/file.txt', 'dist', 1); + expect(result).toBe(path.join('dist', 'assets', 'file.txt')); + }); + + it('should strip multiple path segments when up is greater than 1', () => { + const result = copyPathResolve('src/assets/images/logo.png', 'dist', 2); + expect(result).toBe(path.join('dist', 'images', 'logo.png')); + }); + + it('should throw when path depth is less than up - 1', () => { + expect(() => copyPathResolve('file.txt', 'dist', 3)).toThrow( + 'Path outside of project folder is not allowed', + ); + }); + + it('should resolve to outDir when all segments are stripped', () => { + // depth('a/b') = 1, up = 2 strips both segments + const result = copyPathResolve('a/b', 'out', 2); + expect(result).toBe('out'); + }); +}); diff --git a/test/lib/compiler/helpers/delete-out-dir.spec.ts b/test/lib/compiler/helpers/delete-out-dir.spec.ts index 9a51d24f7..6370ac9d9 100644 --- a/test/lib/compiler/helpers/delete-out-dir.spec.ts +++ b/test/lib/compiler/helpers/delete-out-dir.spec.ts @@ -1,10 +1,13 @@ import * as fs from 'fs/promises'; -import { deleteOutDirIfEnabled } from '../../../../lib/compiler/helpers/delete-out-dir'; -import { Configuration } from '../../../../lib/configuration'; +import { beforeEach, describe, expect, it, vi } from 'vitest'; +import { deleteOutDirIfEnabled } from '../../../../lib/compiler/helpers/delete-out-dir.js'; +import { Configuration } from '../../../../lib/configuration/index.js'; -jest.mock('fs/promises'); +vi.mock('fs/promises', () => ({ + rm: vi.fn(), +})); -const mockedRm = fs.rm as jest.MockedFunction; +const mockedRm = vi.mocked(fs.rm); function createConfiguration( deleteOutDir: boolean, diff --git a/test/lib/compiler/helpers/get-builder.spec.ts b/test/lib/compiler/helpers/get-builder.spec.ts new file mode 100644 index 000000000..b09eed934 --- /dev/null +++ b/test/lib/compiler/helpers/get-builder.spec.ts @@ -0,0 +1,78 @@ +import { describe, it, expect } from 'vitest'; +import { getBuilder } from '../../../../lib/compiler/helpers/get-builder.js'; +import { Configuration } from '../../../../lib/configuration/index.js'; + +describe('getBuilder', () => { + const makeConfiguration = ( + overrides: Partial = {}, + ): Required => + ({ + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: {}, + generateOptions: {}, + ...overrides, + }) as Required; + + it('should return tsc as default builder', () => { + const config = makeConfiguration(); + expect(getBuilder(config, {}, undefined)).toEqual({ type: 'tsc' }); + }); + + it('should return builder from configuration when set as string', () => { + const config = makeConfiguration({ + compilerOptions: { builder: 'swc' }, + }); + expect(getBuilder(config, {}, undefined)).toEqual({ type: 'swc' }); + }); + + it('should return builder object from configuration when set as object', () => { + const config = makeConfiguration({ + compilerOptions: { + builder: { + type: 'swc', + options: { swcrcPath: '.swcrc' }, + }, + }, + }); + const result = getBuilder(config, {}, undefined); + expect(result.type).toBe('swc'); + expect(result.options).toEqual({ swcrcPath: '.swcrc' }); + }); + + it('should return webpack builder from configuration', () => { + const config = makeConfiguration({ + compilerOptions: { builder: 'webpack' }, + }); + expect(getBuilder(config, {}, undefined)).toEqual({ type: 'webpack' }); + }); + + it('should return rspack builder from configuration', () => { + const config = makeConfiguration({ + compilerOptions: { builder: 'rspack' }, + }); + expect(getBuilder(config, {}, undefined)).toEqual({ type: 'rspack' }); + }); + + it('should prioritize cli builder option over configuration', () => { + const config = makeConfiguration({ + compilerOptions: { builder: 'tsc' }, + }); + expect(getBuilder(config, { builder: 'swc' }, undefined)).toEqual({ + type: 'swc', + }); + }); + + it('should normalize string builder value to object with type', () => { + const config = makeConfiguration(); + const result = getBuilder(config, { builder: 'webpack' }, undefined); + expect(result).toEqual({ type: 'webpack' }); + expect(typeof result).toBe('object'); + expect(result.type).toBeDefined(); + }); +}); diff --git a/test/lib/compiler/helpers/get-effective-root-dir.spec.ts b/test/lib/compiler/helpers/get-effective-root-dir.spec.ts new file mode 100644 index 000000000..a722b0863 --- /dev/null +++ b/test/lib/compiler/helpers/get-effective-root-dir.spec.ts @@ -0,0 +1,75 @@ +import { describe, expect, it } from 'vitest'; +import { join, normalize, resolve } from 'path'; +import { getEffectiveRootDir } from '../../../../lib/compiler/helpers/get-effective-root-dir.js'; + +describe('getEffectiveRootDir', () => { + const cwd = '/project'; + + describe('when rootDir is explicitly configured', () => { + it('returns the absolute, normalized path of an absolute rootDir', () => { + const result = getEffectiveRootDir('/project/src', undefined, cwd); + expect(result).toBe(normalize('/project/src')); + }); + + it('resolves a relative rootDir against cwd', () => { + const result = getEffectiveRootDir('./src', undefined, cwd); + expect(result).toBe(normalize(resolve(cwd, 'src'))); + }); + + it('ignores fileNames when rootDir is set', () => { + const result = getEffectiveRootDir( + '/project/src', + ['/project/lib/a.ts', '/project/lib/b.ts'], + cwd, + ); + expect(result).toBe(normalize('/project/src')); + }); + }); + + describe('when rootDir is not set', () => { + it('returns undefined for empty file list', () => { + expect(getEffectiveRootDir(undefined, [], cwd)).toBeUndefined(); + expect(getEffectiveRootDir(undefined, undefined, cwd)).toBeUndefined(); + }); + + it('returns the file directory when only one file is given', () => { + const result = getEffectiveRootDir( + undefined, + ['/project/src/main.ts'], + cwd, + ); + expect(result).toBe(normalize('/project/src')); + }); + + it('computes the longest common parent dir for multiple files', () => { + const result = getEffectiveRootDir( + undefined, + ['/project/src/a/foo.ts', '/project/src/b/bar.ts'], + cwd, + ); + expect(result).toBe(normalize('/project/src')); + }); + + it('returns a deeper common dir when all files share it', () => { + const result = getEffectiveRootDir( + undefined, + [ + '/project/src/feature/x.ts', + '/project/src/feature/y.ts', + '/project/src/feature/sub/z.ts', + ], + cwd, + ); + expect(result).toBe(normalize('/project/src/feature')); + }); + + it('resolves relative file paths against cwd before computing common dir', () => { + const result = getEffectiveRootDir( + undefined, + ['src/a.ts', 'src/nested/b.ts'], + cwd, + ); + expect(result).toBe(normalize(resolve(cwd, 'src'))); + }); + }); +}); diff --git a/test/lib/compiler/helpers/get-rspack-config-path.spec.ts b/test/lib/compiler/helpers/get-rspack-config-path.spec.ts new file mode 100644 index 000000000..ddcb81700 --- /dev/null +++ b/test/lib/compiler/helpers/get-rspack-config-path.spec.ts @@ -0,0 +1,119 @@ +import { describe, it, expect } from 'vitest'; +import { getRspackConfigPath } from '../../../../lib/compiler/helpers/get-rspack-config-path.js'; +import { Configuration } from '../../../../lib/configuration/index.js'; + +describe('getRspackConfigPath', () => { + const makeConfiguration = ( + overrides: Partial = {}, + ): Required => + ({ + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: {}, + generateOptions: {}, + ...overrides, + }) as Required; + + it('should return undefined when builder is not configured', () => { + const config = makeConfiguration(); + const result = getRspackConfigPath(config, {}, undefined); + expect(result).toBeUndefined(); + }); + + it('should return undefined when builder type is not rspack', () => { + const config = makeConfiguration({ + compilerOptions: { + builder: { + type: 'webpack', + options: { configPath: 'webpack.config.js' }, + }, + }, + }); + const result = getRspackConfigPath(config, {}, undefined); + expect(result).toBeUndefined(); + }); + + it('should return undefined when builder is a string', () => { + const config = makeConfiguration({ + compilerOptions: { + builder: 'rspack', + }, + }); + const result = getRspackConfigPath(config, {}, undefined); + expect(result).toBeUndefined(); + }); + + it('should return configPath when builder type is rspack with options', () => { + const config = makeConfiguration({ + compilerOptions: { + builder: { + type: 'rspack', + options: { configPath: 'custom-rspack.config.ts' }, + }, + }, + }); + const result = getRspackConfigPath(config, {}, undefined); + expect(result).toBe('custom-rspack.config.ts'); + }); + + it('should return undefined when builder type is rspack but no options', () => { + const config = makeConfiguration({ + compilerOptions: { + builder: { type: 'rspack' }, + }, + }); + const result = getRspackConfigPath(config, {}, undefined); + expect(result).toBeUndefined(); + }); + + it('should return undefined when builder is rspack but configPath is not set', () => { + const config = makeConfiguration({ + compilerOptions: { + builder: { type: 'rspack', options: {} }, + }, + }); + const result = getRspackConfigPath(config, {}, undefined); + expect(result).toBeUndefined(); + }); + + it('should resolve from project config in monorepo mode', () => { + const config = makeConfiguration({ + monorepo: true, + compilerOptions: {}, + projects: { + 'my-app': { + compilerOptions: { + builder: { + type: 'rspack', + options: { configPath: 'apps/my-app/rspack.config.js' }, + }, + }, + }, + }, + }); + const result = getRspackConfigPath(config, {}, 'my-app'); + expect(result).toBe('apps/my-app/rspack.config.js'); + }); + + it('should return the CLI rspackPath option when provided', () => { + const config = makeConfiguration({ + compilerOptions: { + builder: { + type: 'rspack', + options: { configPath: 'rspack.config.js' }, + }, + }, + }); + const result = getRspackConfigPath( + config, + { rspackPath: 'custom-cli-rspack.config.ts' }, + undefined, + ); + expect(result).toBe('custom-cli-rspack.config.ts'); + }); +}); diff --git a/test/lib/compiler/helpers/get-tsc-config-path.spec.ts b/test/lib/compiler/helpers/get-tsc-config-path.spec.ts new file mode 100644 index 000000000..7bde2faa6 --- /dev/null +++ b/test/lib/compiler/helpers/get-tsc-config-path.spec.ts @@ -0,0 +1,110 @@ +import { describe, it, expect } from 'vitest'; +import { getTscConfigPath } from '../../../../lib/compiler/helpers/get-tsc-config.path.js'; +import { Configuration } from '../../../../lib/configuration/index.js'; + +describe('getTscConfigPath', () => { + const makeConfiguration = ( + overrides: Partial = {}, + ): Required => + ({ + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: {}, + generateOptions: {}, + ...overrides, + }) as Required; + + it('should return default tsconfig path when nothing is configured', () => { + const config = makeConfiguration(); + const result = getTscConfigPath(config, {}, undefined); + // Default is tsconfig.json or tsconfig.build.json depending on existence + expect(result).toBeDefined(); + expect(typeof result).toBe('string'); + }); + + it('should return path from CLI options when provided', () => { + const config = makeConfiguration(); + expect( + getTscConfigPath(config, { path: 'tsconfig.custom.json' }, undefined), + ).toBe('tsconfig.custom.json'); + }); + + it('should return tsConfigPath from compilerOptions', () => { + const config = makeConfiguration({ + compilerOptions: { + tsConfigPath: 'tsconfig.app.json', + }, + }); + expect(getTscConfigPath(config, {}, undefined)).toBe('tsconfig.app.json'); + }); + + it('should return configPath from tsc builder options', () => { + const config = makeConfiguration({ + compilerOptions: { + builder: { + type: 'tsc', + options: { + configPath: 'tsconfig.tsc-builder.json', + }, + }, + }, + }); + expect(getTscConfigPath(config, {}, undefined)).toBe( + 'tsconfig.tsc-builder.json', + ); + }); + + it('should ignore builder configPath when builder type is not tsc', () => { + const config = makeConfiguration({ + compilerOptions: { + builder: { + type: 'swc', + options: { + configPath: 'tsconfig.swc.json', + }, + }, + }, + }); + const result = getTscConfigPath(config, {}, undefined); + expect(result).not.toBe('tsconfig.swc.json'); + }); + + it('should prioritize CLI path over all configuration values', () => { + const config = makeConfiguration({ + compilerOptions: { + tsConfigPath: 'from-config.json', + builder: { + type: 'tsc', + options: { + configPath: 'from-builder.json', + }, + }, + }, + }); + expect( + getTscConfigPath(config, { path: 'from-cli.json' }, undefined), + ).toBe('from-cli.json'); + }); + + it('should prioritize tsConfigPath over builder configPath', () => { + const config = makeConfiguration({ + compilerOptions: { + tsConfigPath: 'from-tsconfig-path.json', + builder: { + type: 'tsc', + options: { + configPath: 'from-builder.json', + }, + }, + }, + }); + expect(getTscConfigPath(config, {}, undefined)).toBe( + 'from-tsconfig-path.json', + ); + }); +}); diff --git a/test/lib/compiler/helpers/get-value-or-default.spec.ts b/test/lib/compiler/helpers/get-value-or-default.spec.ts index c977815c9..e67125bb3 100644 --- a/test/lib/compiler/helpers/get-value-or-default.spec.ts +++ b/test/lib/compiler/helpers/get-value-or-default.spec.ts @@ -1,5 +1,6 @@ -import { getValueOrDefault } from '../../../../lib/compiler/helpers/get-value-or-default'; -import { Configuration } from '../../../../lib/configuration'; +import { describe, it, expect } from 'vitest'; +import { getValueOrDefault } from '../../../../lib/compiler/helpers/get-value-or-default.js'; +import { Configuration } from '../../../../lib/configuration/index.js'; describe('getValueOrDefault', () => { it('should return assigned configuration value', async () => { @@ -179,6 +180,110 @@ describe('getValueOrDefault', () => { expect(value).toBeUndefined(); }); + it('should return false for typeCheck when explicitly set to false via --no-type-check', async () => { + const configuration = { + monorepo: false, + sourceRoot: '', + entryFile: '', + exec: '', + projects: {}, + language: '', + collection: '', + compilerOptions: { + typeCheck: true, + }, + generateOptions: {}, + } as unknown as Required; + const options = { typeCheck: false }; + const value = getValueOrDefault( + configuration, + 'compilerOptions.typeCheck', + undefined, + 'typeCheck', + options, + ); + expect(value).toEqual(false); + }); + + it('should return true for typeCheck when explicitly set to true via --type-check', async () => { + const configuration = { + monorepo: false, + sourceRoot: '', + entryFile: '', + exec: '', + projects: {}, + language: '', + collection: '', + compilerOptions: { + typeCheck: false, + }, + generateOptions: {}, + } as unknown as Required; + const options = { typeCheck: true }; + const value = getValueOrDefault( + configuration, + 'compilerOptions.typeCheck', + undefined, + 'typeCheck', + options, + ); + expect(value).toEqual(true); + }); + + it('should fall back to config for typeCheck when no CLI flag is passed', async () => { + const configuration = { + monorepo: false, + sourceRoot: '', + entryFile: '', + exec: '', + projects: {}, + language: '', + collection: '', + compilerOptions: { + typeCheck: true, + }, + generateOptions: {}, + } as unknown as Required; + const options = { typeCheck: undefined }; + const value = getValueOrDefault( + configuration, + 'compilerOptions.typeCheck', + undefined, + 'typeCheck', + options, + ); + expect(value).toEqual(true); + }); + + it('should override project-level typeCheck config when --no-type-check is passed', async () => { + const configuration = { + monorepo: true, + sourceRoot: '', + entryFile: '', + exec: '', + projects: { + 'test-project': { + compilerOptions: { + typeCheck: true, + }, + }, + }, + language: '', + collection: '', + compilerOptions: {}, + generateOptions: {}, + } as unknown as Required; + const options = { typeCheck: false }; + const value = getValueOrDefault( + configuration, + 'compilerOptions.typeCheck', + 'test-project', + 'typeCheck', + options, + ); + expect(value).toEqual(false); + }); + it('should concatenate property path when app name contains dots', async () => { let configuration: Required = { monorepo: true, diff --git a/test/lib/compiler/helpers/get-webpack-config-path.spec.ts b/test/lib/compiler/helpers/get-webpack-config-path.spec.ts new file mode 100644 index 000000000..5bdaa7d45 --- /dev/null +++ b/test/lib/compiler/helpers/get-webpack-config-path.spec.ts @@ -0,0 +1,113 @@ +import { describe, it, expect } from 'vitest'; +import { getWebpackConfigPath } from '../../../../lib/compiler/helpers/get-webpack-config-path.js'; +import { Configuration } from '../../../../lib/configuration/index.js'; + +describe('getWebpackConfigPath', () => { + const makeConfiguration = ( + overrides: Partial = {}, + ): Required => + ({ + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: {}, + generateOptions: {}, + ...overrides, + }) as Required; + + it('should return undefined when no webpack path is configured', () => { + const config = makeConfiguration(); + expect(getWebpackConfigPath(config, {}, undefined)).toBeUndefined(); + }); + + it('should return webpackPath from CLI options when provided', () => { + const config = makeConfiguration(); + expect( + getWebpackConfigPath(config, { webpackPath: 'custom-webpack.js' }, undefined), + ).toBe('custom-webpack.js'); + }); + + it('should return webpackConfigPath from compilerOptions', () => { + const config = makeConfiguration({ + compilerOptions: { + webpackConfigPath: 'webpack.custom.js', + }, + }); + expect(getWebpackConfigPath(config, {}, undefined)).toBe( + 'webpack.custom.js', + ); + }); + + it('should return configPath from builder options when builder type is webpack', () => { + const config = makeConfiguration({ + compilerOptions: { + builder: { + type: 'webpack', + options: { + configPath: 'builder-webpack.config.js', + }, + }, + }, + }); + expect(getWebpackConfigPath(config, {}, undefined)).toBe( + 'builder-webpack.config.js', + ); + }); + + it('should return undefined when builder type is webpack but no configPath', () => { + const config = makeConfiguration({ + compilerOptions: { + builder: { + type: 'webpack', + }, + }, + }); + expect(getWebpackConfigPath(config, {}, undefined)).toBeUndefined(); + }); + + it('should return undefined when builder type is not webpack', () => { + const config = makeConfiguration({ + compilerOptions: { + builder: { + type: 'swc', + options: { + configPath: 'some-path.js', + }, + }, + }, + }); + expect(getWebpackConfigPath(config, {}, undefined)).toBeUndefined(); + }); + + it('should prioritize CLI webpackPath over configuration', () => { + const config = makeConfiguration({ + compilerOptions: { + webpackConfigPath: 'from-config.js', + }, + }); + expect( + getWebpackConfigPath(config, { webpackPath: 'from-cli.js' }, undefined), + ).toBe('from-cli.js'); + }); + + it('should prioritize webpackConfigPath over builder options', () => { + const config = makeConfiguration({ + compilerOptions: { + webpackConfigPath: 'from-compiler-options.js', + builder: { + type: 'webpack', + options: { + configPath: 'from-builder.js', + }, + }, + }, + }); + expect(getWebpackConfigPath(config, {}, undefined)).toBe( + 'from-compiler-options.js', + ); + }); +}); diff --git a/test/lib/compiler/helpers/manual-restart.spec.ts b/test/lib/compiler/helpers/manual-restart.spec.ts new file mode 100644 index 000000000..d237c8ceb --- /dev/null +++ b/test/lib/compiler/helpers/manual-restart.spec.ts @@ -0,0 +1,95 @@ +import { EventEmitter } from 'events'; +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; +import { + displayManualRestartTip, + listenForManualRestart, +} from '../../../../lib/compiler/helpers/manual-restart.js'; + +describe('manual-restart helpers', () => { + describe('listenForManualRestart', () => { + let originalStdin: typeof process.stdin; + let stdinMock: EventEmitter; + + beforeEach(() => { + originalStdin = process.stdin; + stdinMock = new EventEmitter() as any; + Object.defineProperty(process, 'stdin', { + value: stdinMock, + configurable: true, + }); + }); + + afterEach(() => { + Object.defineProperty(process, 'stdin', { + value: originalStdin, + configurable: true, + }); + }); + + it('should invoke the callback when "rs" is entered', () => { + const callback = vi.fn(); + listenForManualRestart(callback); + + stdinMock.emit('data', Buffer.from('rs\n')); + + expect(callback).toHaveBeenCalledTimes(1); + }); + + it('should invoke the callback when "rs" is entered with surrounding whitespace', () => { + const callback = vi.fn(); + listenForManualRestart(callback); + + stdinMock.emit('data', Buffer.from(' rs \n')); + + expect(callback).toHaveBeenCalledTimes(1); + }); + + it('should not invoke the callback for other input', () => { + const callback = vi.fn(); + listenForManualRestart(callback); + + stdinMock.emit('data', Buffer.from('hello\n')); + stdinMock.emit('data', Buffer.from('restart\n')); + stdinMock.emit('data', Buffer.from('r\n')); + + expect(callback).not.toHaveBeenCalled(); + }); + + it('should remove the listener after first invocation', () => { + const callback = vi.fn(); + listenForManualRestart(callback); + + stdinMock.emit('data', Buffer.from('rs\n')); + stdinMock.emit('data', Buffer.from('rs\n')); + + // Should only fire once because listener removes itself + expect(callback).toHaveBeenCalledTimes(1); + }); + + it('should support multiple independent listeners', () => { + const first = vi.fn(); + const second = vi.fn(); + + listenForManualRestart(first); + listenForManualRestart(second); + + stdinMock.emit('data', Buffer.from('rs\n')); + + expect(first).toHaveBeenCalledTimes(1); + expect(second).toHaveBeenCalledTimes(1); + }); + }); + + describe('displayManualRestartTip', () => { + it('should log a tip message to the console', () => { + const logSpy = vi.spyOn(console, 'log').mockImplementation(() => {}); + + displayManualRestartTip(); + + expect(logSpy).toHaveBeenCalledTimes(1); + expect(logSpy.mock.calls[0][0]).toContain('rs'); + + logSpy.mockRestore(); + }); + }); +}); diff --git a/test/lib/compiler/helpers/tsconfig-provider.spec.ts b/test/lib/compiler/helpers/tsconfig-provider.spec.ts new file mode 100644 index 000000000..6faf9b414 --- /dev/null +++ b/test/lib/compiler/helpers/tsconfig-provider.spec.ts @@ -0,0 +1,111 @@ +import { beforeEach, describe, expect, it, vi } from 'vitest'; +import { existsSync } from 'fs'; +import * as ts from 'typescript'; +import { TsConfigProvider } from '../../../../lib/compiler/helpers/tsconfig-provider.js'; +import { TypeScriptBinaryLoader } from '../../../../lib/compiler/typescript-loader.js'; + +vi.mock('fs', async (importOriginal) => { + const actual = await importOriginal(); + return { ...actual, existsSync: vi.fn() }; +}); + +describe('TsConfigProvider', () => { + let provider: TsConfigProvider; + let mockTsBinary: Record; + let typescriptLoader: TypeScriptBinaryLoader; + + beforeEach(() => { + vi.restoreAllMocks(); + + mockTsBinary = { + getParsedCommandLineOfConfigFile: vi.fn(), + sys: {}, + }; + + typescriptLoader = { + load: vi.fn().mockReturnValue(mockTsBinary), + } as unknown as TypeScriptBinaryLoader; + + provider = new TsConfigProvider(typescriptLoader); + }); + + it('should throw when the config file does not exist', () => { + vi.mocked(existsSync).mockReturnValue(false); + + expect(() => provider.getByConfigFilename('tsconfig.json')).toThrow( + 'Could not find TypeScript configuration file "tsconfig.json"', + ); + }); + + it('should return parsed options, fileNames, and projectReferences', () => { + vi.mocked(existsSync).mockReturnValue(true); + + const mockOptions: ts.CompilerOptions = { strict: true }; + const mockFileNames = ['src/main.ts']; + const mockProjectReferences = [{ path: './tsconfig.lib.json' }]; + + mockTsBinary.getParsedCommandLineOfConfigFile.mockReturnValue({ + options: mockOptions, + fileNames: mockFileNames, + projectReferences: mockProjectReferences, + }); + + const result = provider.getByConfigFilename('tsconfig.json'); + + expect(result.options).toBe(mockOptions); + expect(result.fileNames).toBe(mockFileNames); + expect(result.projectReferences).toBe(mockProjectReferences); + }); + + it('should throw a descriptive error when tsconfig parsing returns undefined', () => { + vi.mocked(existsSync).mockReturnValue(true); + mockTsBinary.getParsedCommandLineOfConfigFile.mockReturnValue(undefined); + + expect(() => provider.getByConfigFilename('tsconfig.json')).toThrow( + 'Could not parse TypeScript configuration file "tsconfig.json"', + ); + }); + + it('should include guidance about valid JSON in the parse error message', () => { + vi.mocked(existsSync).mockReturnValue(true); + mockTsBinary.getParsedCommandLineOfConfigFile.mockReturnValue(undefined); + + expect(() => provider.getByConfigFilename('tsconfig.json')).toThrow( + /valid JSON and compiler options/, + ); + }); + + it('should handle projectReferences being undefined', () => { + vi.mocked(existsSync).mockReturnValue(true); + + mockTsBinary.getParsedCommandLineOfConfigFile.mockReturnValue({ + options: { strict: true }, + fileNames: ['src/main.ts'], + projectReferences: undefined, + }); + + const result = provider.getByConfigFilename('tsconfig.json'); + + expect(result.options).toEqual({ strict: true }); + expect(result.fileNames).toEqual(['src/main.ts']); + expect(result.projectReferences).toBeUndefined(); + }); + + it('should pass the config path to getParsedCommandLineOfConfigFile', () => { + vi.mocked(existsSync).mockReturnValue(true); + + mockTsBinary.getParsedCommandLineOfConfigFile.mockReturnValue({ + options: {}, + fileNames: [], + projectReferences: undefined, + }); + + provider.getByConfigFilename('custom-tsconfig.json'); + + expect(mockTsBinary.getParsedCommandLineOfConfigFile).toHaveBeenCalledWith( + expect.stringContaining('custom-tsconfig.json'), + undefined, + mockTsBinary.sys, + ); + }); +}); diff --git a/test/lib/compiler/hooks/__snapshots__/tsconfig-paths.hook.spec.ts.snap b/test/lib/compiler/hooks/__snapshots__/tsconfig-paths.hook.spec.ts.snap deleted file mode 100644 index 3b09d067f..000000000 --- a/test/lib/compiler/hooks/__snapshots__/tsconfig-paths.hook.spec.ts.snap +++ /dev/null @@ -1,68 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`tsconfig paths hooks should remove unused imports 1`] = ` -Map { - "dist/foo.js" => ""use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = void 0; -class Foo { -} -exports.Foo = Foo; -", - "dist/bar.js" => ""use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Bar = void 0; -class Bar { -} -exports.Bar = Bar; -", - "dist/main.js" => ""use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -", -} -`; - -exports[`tsconfig paths hooks should replace path of every import using a path alias by its relative path 1`] = ` -Map { - "dist/foo.js" => ""use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Foo = void 0; -class Foo { -} -exports.Foo = Foo; -", - "dist/bar.jsx" => ""use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Bar = void 0; -class Bar { -} -exports.Bar = Bar; -", - "dist/baz.js" => ""use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Baz = void 0; -class Baz { -} -exports.Baz = Baz; -", - "dist/qux.jsx" => ""use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Qux = void 0; -class Qux { -} -exports.Qux = Qux; -", - "dist/main.js" => ""use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const foo_1 = require("./foo"); -const bar_1 = require("./bar"); -const baz_1 = require("./baz"); -const qux_1 = require("./qux"); -// use the imports so they do not get eliminated -console.log(foo_1.Foo); -console.log(bar_1.Bar); -console.log(baz_1.Baz); -console.log(qux_1.Qux); -", -} -`; diff --git a/test/lib/compiler/hooks/fixtures/type-imports/src/main.ts b/test/lib/compiler/hooks/fixtures/type-imports/src/main.ts index 7578755cf..2e4102e29 100644 --- a/test/lib/compiler/hooks/fixtures/type-imports/src/main.ts +++ b/test/lib/compiler/hooks/fixtures/type-imports/src/main.ts @@ -1,4 +1,4 @@ import { TypeA } from 'src/type-a'; import type { TypeB } from 'src/type-b'; -import { TypeC } from './type-c'; -import type { TypeD } from './type-d'; +import { TypeC } from './type-c.js'; +import type { TypeD } from './type-d.js'; diff --git a/test/lib/compiler/hooks/fixtures/unused-imports/src/main.ts b/test/lib/compiler/hooks/fixtures/unused-imports/src/main.ts index ff5485ff6..011453d92 100644 --- a/test/lib/compiler/hooks/fixtures/unused-imports/src/main.ts +++ b/test/lib/compiler/hooks/fixtures/unused-imports/src/main.ts @@ -1,2 +1,2 @@ -import { Foo } from './foo'; +import { Foo } from './foo.js'; import { Bar } from 'src/bar'; diff --git a/test/lib/compiler/hooks/tsconfig-paths.hook.spec.ts b/test/lib/compiler/hooks/tsconfig-paths.hook.spec.ts index 7eec1b5f6..a82abb986 100644 --- a/test/lib/compiler/hooks/tsconfig-paths.hook.spec.ts +++ b/test/lib/compiler/hooks/tsconfig-paths.hook.spec.ts @@ -1,7 +1,13 @@ import * as path from 'path'; +import { dirname } from 'path'; import * as ts from 'typescript'; import { JsxEmit } from 'typescript'; -import { tsconfigPathsBeforeHookFactory } from '../../../../lib/compiler/hooks/tsconfig-paths.hook'; +import { fileURLToPath } from 'url'; +import { describe, expect, it } from 'vitest'; +import { tsconfigPathsBeforeHookFactory } from '../../../../lib/compiler/hooks/tsconfig-paths.hook.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); function createSpec( baseUrl: string, @@ -59,7 +65,12 @@ function createSpecWithDeclarations( program.emit( undefined, (fileName, data) => { - output.set(path.relative(baseUrl, fileName), data); + // Store with forward-slash keys so assertions work on Windows too. + const relativePath = path + .relative(baseUrl, fileName) + .split(path.sep) + .join('/'); + output.set(relativePath, data); }, undefined, undefined, @@ -71,84 +82,141 @@ function createSpecWithDeclarations( return output; } -/** - * This test is temporarily skipped because it's flaky on CI. - * Not yet clear why but it's not a blocker. - */ -describe.skip('tsconfig paths hooks', () => { - it('should remove type imports', async () => { - const output = createSpec(path.join(__dirname, './fixtures/type-imports'), [ - 'src/main.ts', - 'src/type-a.ts', - 'src/type-b.ts', - 'src/type-c.ts', - 'src/type-d.ts', - ]); - output.forEach((value) => { - expect(value).toEqual( - `"use strict";\nObject.defineProperty(exports, "__esModule", { value: true });\n`, +describe('tsconfig paths hooks', () => { + describe('CJS output (module: CommonJS)', () => { + it('should remove type imports', () => { + const output = createSpec( + path.join(__dirname, './fixtures/type-imports'), + [ + 'src/main.ts', + 'src/type-a.ts', + 'src/type-b.ts', + 'src/type-c.ts', + 'src/type-d.ts', + ], ); + output.forEach((value) => { + expect(value).toEqual( + `"use strict";\nObject.defineProperty(exports, "__esModule", { value: true });\n`, + ); + }); }); - }); - it('should remove unused imports', async () => { - const output = createSpec( - path.join(__dirname, './fixtures/unused-imports'), - ['src/main.ts', 'src/foo.ts', 'src/bar.ts'], - ); - expect(output).toMatchSnapshot(); - }); + it('should remove unused imports', () => { + const output = createSpec( + path.join(__dirname, './fixtures/unused-imports'), + ['src/main.ts', 'src/foo.ts', 'src/bar.ts'], + ); + const mainJs = output.get('dist/main.js')!; + expect(mainJs).not.toContain('require'); + }); - it('should replace path of every import using a path alias by its relative path', async () => { - const output = createSpec( - path.join(__dirname, './fixtures/aliased-imports'), - ['src/main.ts', 'src/foo.ts', 'src/bar.ts'], - { paths: { '~/*': ['./src/*'] }, jsx: JsxEmit.Preserve, allowJs: true }, - ); - expect(output).toMatchSnapshot(); - }); -}); + it('should replace aliased imports with relative paths', () => { + const output = createSpec( + path.join(__dirname, './fixtures/aliased-imports'), + ['src/main.ts', 'src/foo.ts', 'src/bar.ts'], + { + paths: { '~/*': ['./src/*'] }, + jsx: JsxEmit.Preserve, + allowJs: true, + }, + ); + const mainJs = output.get('dist/main.js')!; + expect(mainJs).toContain('require("./foo")'); + expect(mainJs).toContain('require("./bar")'); + expect(mainJs).toContain('require("./baz")'); + expect(mainJs).toContain('require("./qux")'); + expect(mainJs).not.toContain('~/'); + }); + }, 15000); -describe('tsconfig paths hooks - declaration files', () => { - it('should replace path aliases in .d.ts files when transformer is applied to afterDeclarations', () => { - const output = createSpecWithDeclarations( - path.join(__dirname, './fixtures/aliased-dts-imports'), - ['src/main.ts', 'src/foo.ts', 'src/bar.ts'], - { paths: { '~/*': ['./src/*'] } }, - ); - - const dtsFiles = Array.from(output.entries()).filter(([key]) => - key.endsWith('.d.ts'), - ); - expect(dtsFiles.length).toBeGreaterThan(0); - - const mainDtsKey = Array.from(output.keys()).find( - (key) => key.includes('main') && key.endsWith('.d.ts'), - ); - expect(mainDtsKey).toBeDefined(); - const mainDts = output.get(mainDtsKey!); - // The alias '~/foo' and '~/bar' should be replaced with relative paths - expect(mainDts).not.toContain('~/foo'); - expect(mainDts).not.toContain('~/bar'); - expect(mainDts).toContain('./foo'); - expect(mainDts).toContain('./bar'); - }); + describe('ESM output (module: ESNext)', () => { + const esmOptions: ts.CompilerOptions = { + module: ts.ModuleKind.ESNext, + }; - it('should not leave any path aliases in .d.ts files', () => { - const output = createSpecWithDeclarations( - path.join(__dirname, './fixtures/aliased-dts-imports'), - ['src/main.ts', 'src/foo.ts', 'src/bar.ts'], - { paths: { '~/*': ['./src/*'] } }, - ); + it('should remove type imports', () => { + const output = createSpec( + path.join(__dirname, './fixtures/type-imports'), + [ + 'src/main.ts', + 'src/type-a.ts', + 'src/type-b.ts', + 'src/type-c.ts', + 'src/type-d.ts', + ], + esmOptions, + ); + output.forEach((value) => { + expect(value).toEqual('export {};\n'); + }); + }); - const dtsFiles = Array.from(output.entries()).filter(([key]) => - key.endsWith('.d.ts'), - ); + it('should remove unused imports', () => { + const output = createSpec( + path.join(__dirname, './fixtures/unused-imports'), + ['src/main.ts', 'src/foo.ts', 'src/bar.ts'], + esmOptions, + ); + const mainJs = output.get('dist/main.js')!; + expect(mainJs).not.toContain('import'); + }); - for (const [, content] of dtsFiles) { - expect(content).not.toMatch( - /from\s+['"]~\//, + it('should replace aliased imports with relative paths', () => { + const output = createSpec( + path.join(__dirname, './fixtures/aliased-imports'), + ['src/main.ts', 'src/foo.ts', 'src/bar.ts'], + { + ...esmOptions, + paths: { '~/*': ['./src/*'] }, + jsx: JsxEmit.Preserve, + allowJs: true, + }, ); - } - }); + const mainJs = output.get('dist/main.js')!; + expect(mainJs).toContain('from "./foo"'); + expect(mainJs).toContain('from "./bar"'); + expect(mainJs).toContain('from "./baz"'); + expect(mainJs).toContain('from "./qux"'); + expect(mainJs).not.toContain('~/'); + }); + }, 15000); + + describe('declaration files (afterDeclarations)', () => { + it('should replace path aliases in emitted .d.ts files', () => { + const output = createSpecWithDeclarations( + path.join(__dirname, './fixtures/aliased-dts-imports'), + ['src/main.ts', 'src/foo.ts', 'src/bar.ts'], + { paths: { '~/*': ['./src/*'] } }, + ); + + const dtsEntries = Array.from(output.entries()).filter(([key]) => + key.endsWith('.d.ts'), + ); + expect(dtsEntries.length).toBeGreaterThan(0); + + const mainDts = output.get('dist/main.d.ts')!; + expect(mainDts).toBeDefined(); + expect(mainDts).not.toContain('~/foo'); + expect(mainDts).not.toContain('~/bar'); + expect(mainDts).toContain('./foo'); + expect(mainDts).toContain('./bar'); + }); + + it('should not leave any path aliases in .d.ts files', () => { + const output = createSpecWithDeclarations( + path.join(__dirname, './fixtures/aliased-dts-imports'), + ['src/main.ts', 'src/foo.ts', 'src/bar.ts'], + { paths: { '~/*': ['./src/*'] } }, + ); + + const dtsEntries = Array.from(output.entries()).filter(([key]) => + key.endsWith('.d.ts'), + ); + + for (const [, content] of dtsEntries) { + expect(content).not.toMatch(/from\s+['"]~\//); + } + }); + }, 15000); }); diff --git a/test/lib/compiler/plugins/plugin-metadata-generator.spec.ts b/test/lib/compiler/plugins/plugin-metadata-generator.spec.ts new file mode 100644 index 000000000..fd3a4bede --- /dev/null +++ b/test/lib/compiler/plugins/plugin-metadata-generator.spec.ts @@ -0,0 +1,204 @@ +import { describe, expect, it } from 'vitest'; +import * as ts from 'typescript'; +import { + appendJsExtensionIfMissing, + requiresExplicitImportExtensions, + rewriteAsyncImportString, + rewriteCollectedMetadataForNodeNext, + rewriteImportExpressionForNodeNext, +} from '../../../../lib/compiler/plugins/plugin-metadata-generator'; + +function createImportCall(specifier: string): ts.CallExpression { + return ts.factory.createCallExpression( + ts.factory.createToken(ts.SyntaxKind.ImportKeyword) as unknown as ts.Expression, + undefined, + [ts.factory.createStringLiteral(specifier)], + ); +} + +function printNode(node: ts.Node): string { + const printer = ts.createPrinter({ newLine: ts.NewLineKind.LineFeed }); + const sourceFile = ts.createSourceFile( + 'tmp.ts', + '', + ts.ScriptTarget.Latest, + false, + ts.ScriptKind.TS, + ); + return printer.printNode(ts.EmitHint.Unspecified, node, sourceFile); +} + +describe('PluginMetadataGenerator (#3364: nodenext import extensions)', () => { + describe('requiresExplicitImportExtensions', () => { + it('returns true for Node16 module resolution', () => { + expect( + requiresExplicitImportExtensions( + { moduleResolution: ts.ModuleResolutionKind.Node16 }, + ts, + ), + ).toBe(true); + }); + + it('returns true for NodeNext module resolution', () => { + expect( + requiresExplicitImportExtensions( + { moduleResolution: ts.ModuleResolutionKind.NodeNext }, + ts, + ), + ).toBe(true); + }); + + it('returns false for Node10 / classic module resolution', () => { + expect( + requiresExplicitImportExtensions( + { moduleResolution: ts.ModuleResolutionKind.Node10 }, + ts, + ), + ).toBe(false); + expect( + requiresExplicitImportExtensions( + { moduleResolution: ts.ModuleResolutionKind.Classic }, + ts, + ), + ).toBe(false); + }); + + it('returns false when moduleResolution is undefined', () => { + expect(requiresExplicitImportExtensions({}, ts)).toBe(false); + }); + + it('returns false for the Bundler resolver (extensions not required)', () => { + expect( + requiresExplicitImportExtensions( + { moduleResolution: ts.ModuleResolutionKind.Bundler }, + ts, + ), + ).toBe(false); + }); + }); + + describe('appendJsExtensionIfMissing', () => { + it('appends `.js` to relative paths without an extension', () => { + expect(appendJsExtensionIfMissing('./hello.dto')).toBe('./hello.dto.js'); + expect(appendJsExtensionIfMissing('../shared/user')).toBe( + '../shared/user.js', + ); + }); + + it('leaves bare specifiers unchanged', () => { + expect(appendJsExtensionIfMissing('@nestjs/common')).toBe( + '@nestjs/common', + ); + expect(appendJsExtensionIfMissing('rxjs')).toBe('rxjs'); + }); + + it('does not double-append when an extension is already present', () => { + expect(appendJsExtensionIfMissing('./hello.dto.js')).toBe( + './hello.dto.js', + ); + expect(appendJsExtensionIfMissing('./hello.dto.mjs')).toBe( + './hello.dto.mjs', + ); + expect(appendJsExtensionIfMissing('./hello.dto.cjs')).toBe( + './hello.dto.cjs', + ); + expect(appendJsExtensionIfMissing('./data.json')).toBe('./data.json'); + }); + + it('leaves absolute paths unchanged', () => { + expect(appendJsExtensionIfMissing('/usr/lib/foo')).toBe('/usr/lib/foo'); + }); + }); + + describe('rewriteAsyncImportString', () => { + it('rewrites a single dynamic import inside an `await import(...)` string', () => { + expect(rewriteAsyncImportString('await import("./hello.dto")')).toBe( + 'await import("./hello.dto.js")', + ); + }); + + it('rewrites the dynamic import in a `(await import(...)).Foo` expression', () => { + expect( + rewriteAsyncImportString('(await import("./user.dto")).UserDto'), + ).toBe('(await import("./user.dto.js")).UserDto'); + }); + + it('leaves bare-specifier dynamic imports alone', () => { + expect( + rewriteAsyncImportString('await import("@nestjs/common")'), + ).toBe('await import("@nestjs/common")'); + }); + + it('does not re-append the extension on a previously-rewritten string', () => { + const once = rewriteAsyncImportString('await import("./hello.dto")'); + const twice = rewriteAsyncImportString(once); + expect(twice).toBe('await import("./hello.dto.js")'); + }); + + it('handles single-quoted import specifiers', () => { + expect(rewriteAsyncImportString("await import('./foo')")).toBe( + "await import('./foo.js')", + ); + }); + }); + + describe('rewriteImportExpressionForNodeNext', () => { + it('rewrites a top-level `import("./relative")` call expression', () => { + const call = createImportCall('./hello.dto'); + const rewritten = rewriteImportExpressionForNodeNext(call, ts); + expect(printNode(rewritten)).toBe('import("./hello.dto.js")'); + }); + + it('leaves bare-specifier `import("rxjs")` calls unchanged', () => { + const call = createImportCall('rxjs'); + const rewritten = rewriteImportExpressionForNodeNext(call, ts); + expect(printNode(rewritten)).toBe('import("rxjs")'); + }); + + it('does not modify a call that already includes a `.js` extension', () => { + const call = createImportCall('./foo.js'); + const rewritten = rewriteImportExpressionForNodeNext(call, ts); + expect(printNode(rewritten)).toBe('import("./foo.js")'); + }); + }); + + describe('rewriteCollectedMetadataForNodeNext', () => { + it('rewrites import call expressions across the entire metadata tree', () => { + const fakeObjectLiteral = ts.factory.createObjectLiteralExpression([]); + const metadata: Record< + string, + Record< + string, + Array<[ts.CallExpression, Record]> + > + > = { + '@nestjs/swagger': { + models: [ + [createImportCall('./hello.dto'), {}], + [createImportCall('../shared/user.dto'), {}], + [createImportCall('@nestjs/common'), {}], + ], + controllers: [[createImportCall('./app.controller'), {}]], + }, + }; + + // Use the fake object literal somewhere so TS doesn't drop it; not used + // by the rewriter but mirrors the real-world metadata shape. + void fakeObjectLiteral; + + rewriteCollectedMetadataForNodeNext(metadata as any, ts); + + const printed = metadata['@nestjs/swagger'].models.map(([imp]) => + printNode(imp), + ); + expect(printed).toEqual([ + 'import("./hello.dto.js")', + 'import("../shared/user.dto.js")', + 'import("@nestjs/common")', + ]); + expect( + printNode(metadata['@nestjs/swagger'].controllers[0][0]), + ).toBe('import("./app.controller.js")'); + }); + }); +}); diff --git a/test/lib/compiler/plugins/plugins-loader.spec.ts b/test/lib/compiler/plugins/plugins-loader.spec.ts new file mode 100644 index 000000000..094c72361 --- /dev/null +++ b/test/lib/compiler/plugins/plugins-loader.spec.ts @@ -0,0 +1,288 @@ +import { describe, expect, it, vi } from 'vitest'; +import * as ts from 'typescript'; +import { PluginsLoader } from '../../../../lib/compiler/plugins/plugins-loader.js'; + +// Track ReadonlyVisitor constructor calls so individual tests can inspect +// what options the loader instantiated each visitor with. +const readonlyVisitorConstructorCalls: any[] = []; + +class FakeReadonlyVisitor { + public key = ''; + public typeImports: Record = {}; + public receivedOptions: any; + + constructor(options: any) { + this.receivedOptions = options; + readonlyVisitorConstructorCalls.push(options); + } + + visit() { + return undefined; + } + + collect() { + return {}; + } +} + +// Spies for the "options-tracker" plugin. They are exported here so test +// bodies can assert what arguments the bound hooks forward to them. +const optionsTrackerSpies = { + before: vi.fn( + (options: any, program?: ts.Program) => + (ctx: ts.TransformationContext) => + (sf: ts.SourceFile) => + sf, + ), + after: vi.fn( + (options: any, program?: ts.Program) => + (ctx: ts.TransformationContext) => + (sf: ts.SourceFile) => + sf, + ), + afterDeclarations: vi.fn( + (options: any, program?: ts.Program) => + (ctx: ts.TransformationContext) => + (sf: ts.SourceFile) => + sf, + ), +}; + +// Mock module resolution to avoid filesystem access +vi.mock('module', async (importOriginal) => { + const actual = await importOriginal(); + return { + ...actual, + createRequire: (url: string | URL) => { + const realReq = actual.createRequire(url); + const mockedReq: any = (id: string) => { + if (id.includes('test-plugin')) { + return { + before: + (options: any, program?: ts.Program) => + (ctx: ts.TransformationContext) => + (sf: ts.SourceFile) => + sf, + after: + (options: any, program?: ts.Program) => + (ctx: ts.TransformationContext) => + (sf: ts.SourceFile) => + sf, + }; + } + if (id.includes('declarations-plugin')) { + return { + afterDeclarations: + (options: any, program?: ts.Program) => + (ctx: ts.TransformationContext) => + (sf: ts.SourceFile) => + sf, + }; + } + if (id.includes('readonly-plugin')) { + return { + before: + (options: any, program?: ts.Program) => + (ctx: ts.TransformationContext) => + (sf: ts.SourceFile) => + sf, + ReadonlyVisitor: FakeReadonlyVisitor, + }; + } + if (id.includes('options-tracker')) { + return optionsTrackerSpies; + } + if (id.includes('invalid-plugin')) { + return {}; + } + return realReq(id); + }; + mockedReq.resolve = (id: string, opts?: any) => { + if ( + id.includes('test-plugin') || + id.includes('declarations-plugin') || + id.includes('readonly-plugin') || + id.includes('options-tracker') || + id.includes('invalid-plugin') + ) { + return id; + } + return realReq.resolve(id, opts); + }; + mockedReq.resolve.paths = realReq.resolve.paths?.bind(realReq.resolve); + return mockedReq; + }, + }; +}); + +describe('PluginsLoader', () => { + it('should return empty hooks when no plugins are provided', () => { + const loader = new PluginsLoader(); + const result = loader.load([]); + + expect(result.beforeHooks).toEqual([]); + expect(result.afterHooks).toEqual([]); + expect(result.afterDeclarationsHooks).toEqual([]); + expect(result.readonlyVisitors).toEqual([]); + }); + + it('should return empty hooks when plugins is undefined', () => { + const loader = new PluginsLoader(); + const result = loader.load(); + + expect(result.beforeHooks).toHaveLength(0); + expect(result.afterHooks).toHaveLength(0); + }); + + it('should load before and after hooks from a valid plugin', () => { + const loader = new PluginsLoader(); + const result = loader.load(['test-plugin']); + + expect(result.beforeHooks).toHaveLength(1); + expect(result.afterHooks).toHaveLength(1); + expect(typeof result.beforeHooks[0]).toBe('function'); + expect(typeof result.afterHooks[0]).toBe('function'); + }); + + it('should throw for a plugin that exports no hooks', () => { + const loader = new PluginsLoader(); + expect(() => loader.load(['invalid-plugin'])).toThrow(/plugin/i); + }); + + it('should throw for a plugin that is not installed', () => { + const loader = new PluginsLoader(); + expect(() => + loader.load(['@nonexistent/plugin-that-does-not-exist']), + ).toThrow(/not installed/i); + }); + + it('should handle plugin options from object format', () => { + const loader = new PluginsLoader(); + const result = loader.load([ + { name: 'test-plugin', options: { introspectComments: true } }, + ]); + + expect(result.beforeHooks).toHaveLength(1); + expect(typeof result.beforeHooks[0]).toBe('function'); + }); + + it('should load afterDeclarations hooks from a plugin that exports only afterDeclarations', () => { + const loader = new PluginsLoader(); + const result = loader.load(['declarations-plugin']); + + // afterDeclarations alone is enough — the loader should not throw and + // should not register anything in beforeHooks or afterHooks for this + // plugin. + expect(result.beforeHooks).toHaveLength(0); + expect(result.afterHooks).toHaveLength(0); + expect(result.afterDeclarationsHooks).toHaveLength(1); + expect(typeof result.afterDeclarationsHooks[0]).toBe('function'); + }); + + it('should instantiate a ReadonlyVisitor when the plugin exports one', () => { + readonlyVisitorConstructorCalls.length = 0; + + const loader = new PluginsLoader(); + const result = loader.load(['readonly-plugin']); + + expect(result.readonlyVisitors).toHaveLength(1); + const visitor = result.readonlyVisitors[0]; + // The loader must stamp `key` onto each visitor so downstream code can + // identify which plugin owns the collected metadata. + expect(visitor.key).toBe('readonly-plugin'); + expect(readonlyVisitorConstructorCalls).toHaveLength(1); + // The loader must always force `readonly: true` on the visitor's options + // regardless of what the user supplied. + expect(readonlyVisitorConstructorCalls[0].readonly).toBe(true); + }); + + it('should forward extras (pathToSource) into the ReadonlyVisitor options', () => { + readonlyVisitorConstructorCalls.length = 0; + + const loader = new PluginsLoader(); + loader.load(['readonly-plugin'], { pathToSource: '/abs/path/to/src' }); + + expect(readonlyVisitorConstructorCalls).toHaveLength(1); + expect(readonlyVisitorConstructorCalls[0].pathToSource).toBe( + '/abs/path/to/src', + ); + }); + + it('should merge user-supplied options with extras for the ReadonlyVisitor', () => { + readonlyVisitorConstructorCalls.length = 0; + + const loader = new PluginsLoader(); + loader.load( + [{ name: 'readonly-plugin', options: { introspectComments: true } }], + { pathToSource: '/another/src' }, + ); + + expect(readonlyVisitorConstructorCalls).toHaveLength(1); + const ctorOptions = readonlyVisitorConstructorCalls[0]; + expect(ctorOptions.introspectComments).toBe(true); + expect(ctorOptions.pathToSource).toBe('/another/src'); + expect(ctorOptions.readonly).toBe(true); + }); + + it('should preserve plugin order in the returned hook arrays', () => { + const loader = new PluginsLoader(); + const result = loader.load([ + 'test-plugin', // before + after + 'declarations-plugin', // afterDeclarations + 'readonly-plugin', // before + ReadonlyVisitor + ]); + + // `test-plugin` and `readonly-plugin` both contribute a `before` hook, + // in that input order. + expect(result.beforeHooks).toHaveLength(2); + expect(result.afterHooks).toHaveLength(1); + expect(result.afterDeclarationsHooks).toHaveLength(1); + expect(result.readonlyVisitors).toHaveLength(1); + expect(result.readonlyVisitors[0].key).toBe('readonly-plugin'); + }); + + it('should propagate plugin options into the underlying transformer factory when the bound hook is invoked', () => { + optionsTrackerSpies.before.mockClear(); + optionsTrackerSpies.after.mockClear(); + optionsTrackerSpies.afterDeclarations.mockClear(); + + const loader = new PluginsLoader(); + const userOptions = { introspectComments: true, dtoFileNameSuffix: '.d' }; + const result = loader.load([ + { name: 'options-tracker', options: userOptions }, + ]); + + // Call the bound hooks the way the compiler does — passing only the + // program reference. The loader must have already pre-bound the + // user-supplied options as the first argument. + const fakeProgram = {} as ts.Program; + result.beforeHooks[0](fakeProgram); + result.afterHooks[0](fakeProgram); + result.afterDeclarationsHooks[0](fakeProgram); + + expect(optionsTrackerSpies.before).toHaveBeenCalledWith( + userOptions, + fakeProgram, + ); + expect(optionsTrackerSpies.after).toHaveBeenCalledWith( + userOptions, + fakeProgram, + ); + expect(optionsTrackerSpies.afterDeclarations).toHaveBeenCalledWith( + userOptions, + fakeProgram, + ); + }); + + it('should pass an empty options object when the plugin entry is a bare string', () => { + optionsTrackerSpies.before.mockClear(); + + const loader = new PluginsLoader(); + const result = loader.load(['options-tracker']); + + const fakeProgram = {} as ts.Program; + result.beforeHooks[0](fakeProgram); + + expect(optionsTrackerSpies.before).toHaveBeenCalledWith({}, fakeProgram); + }); +}); diff --git a/test/lib/compiler/rspack/rspack-compiler.spec.ts b/test/lib/compiler/rspack/rspack-compiler.spec.ts new file mode 100644 index 000000000..18e954cf2 --- /dev/null +++ b/test/lib/compiler/rspack/rspack-compiler.spec.ts @@ -0,0 +1,458 @@ +import { describe, it, expect, vi, beforeEach, afterEach, type Mock } from 'vitest'; +import { PluginsLoader } from '../../../../lib/compiler/plugins/plugins-loader.js'; +import { RspackCompiler } from '../../../../lib/compiler/rspack-compiler.js'; + +import { existsSync } from 'fs'; +import { rspackDefaultsFactory } from '../../../../lib/compiler/defaults/rspack-defaults.js'; +import { getValueOrDefault } from '../../../../lib/compiler/helpers/get-value-or-default.js'; +import * as esmProjectUtil from '../../../../lib/utils/is-esm-project.js'; + +// Hoist rspack mock so it can be used in createRequire mock +const { mockRspackModule, mockCompiler } = vi.hoisted(() => { + const mockWatchRunTapAsync = vi.fn(); + const mockWatch = vi.fn(); + const mockRun = vi.fn(); + const mockCompiler = { + hooks: { watchRun: { tapAsync: mockWatchRunTapAsync } }, + watch: mockWatch, + run: mockRun, + }; + return { + mockRspackModule: { + rspack: vi.fn().mockReturnValue(mockCompiler), + IgnorePlugin: vi.fn(), + }, + mockCompiler, + }; +}); + +vi.mock('fs', async (importOriginal) => { + const actual = await importOriginal(); + return { ...actual, existsSync: vi.fn().mockReturnValue(true) }; +}); + +// Mock createRequire to intercept require('@rspack/core') +vi.mock('module', async (importOriginal) => { + const actual = await importOriginal(); + return { + ...actual, + createRequire: (url: string | URL) => { + const realReq = actual.createRequire(url); + const mockedReq: any = (id: string) => { + if (id === '@rspack/core') return mockRspackModule; + return realReq(id); + }; + mockedReq.resolve = realReq.resolve.bind(realReq); + mockedReq.resolve.paths = realReq.resolve.paths?.bind(realReq.resolve); + return mockedReq; + }, + }; +}); + +vi.mock('../../../../lib/compiler/defaults/rspack-defaults.js', () => ({ + rspackDefaultsFactory: vi.fn().mockReturnValue({ + mode: 'none', + entry: 'src/main.ts', + }), +})); + +vi.mock('../../../../lib/compiler/helpers/get-value-or-default.js', () => ({ + getValueOrDefault: vi.fn().mockReturnValue(''), +})); + +vi.mock('../../../../lib/utils/is-esm-project.js'); + +describe('Rspack Compiler', () => { + let compiler: RspackCompiler; + + // Access mock functions from the hoisted rspack mock + const mockCompilerInstance = mockRspackModule.rspack() as any; + const mockWatchRunTapAsync = mockCompilerInstance.hooks.watchRun.tapAsync; + const mockWatch = mockCompilerInstance.watch; + const mockRun = mockCompilerInstance.run; + + beforeEach(() => { + vi.clearAllMocks(); + + // Re-set mock return values after clearAllMocks + mockRspackModule.rspack.mockReturnValue(mockCompiler); + vi.mocked(esmProjectUtil.isEsmProject).mockReturnValue(false); + + const PluginsLoaderStub = { + load: () => ({ + beforeHooks: [], + afterHooks: [], + afterDeclarationsHooks: [], + }), + resolvePluginReferences: () => vi.fn(), + } as unknown as PluginsLoader; + + compiler = new RspackCompiler(PluginsLoaderStub); + + vi.mocked(rspackDefaultsFactory).mockReturnValue({ + mode: 'none', + entry: 'src/main.ts', + } as any); + vi.mocked(getValueOrDefault).mockReturnValue(''); + + vi.mocked(existsSync).mockReturnValue(true); + vi.spyOn(compiler as any, 'loadPlugins').mockReturnValue({ + beforeHooks: [], + afterHooks: [], + afterDeclarationsHooks: [], + }); + vi.spyOn(compiler as any, 'getPathToSource').mockReturnValue('src'); + }); + + afterEach(() => { + vi.restoreAllMocks(); + }); + + const makeExtras = (overrides: Record = {}) => ({ + options: {}, + assetsManager: { closeWatchers: vi.fn() } as any, + rspackConfigFactoryOrConfig: {}, + debug: false, + watchMode: false, + ...overrides, + }); + + const makeConfiguration = () => + ({ + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: {}, + generateOptions: {}, + }) as any; + + describe('run', () => { + it('should throw if tsconfig file does not exist', () => { + vi.mocked(existsSync).mockReturnValue(false); + + expect(() => + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras(), + ), + ).toThrow('Could not find TypeScript configuration file'); + }); + + it('should call rspackDefaultsFactory with correct arguments', () => { + vi.mocked(existsSync).mockReturnValue(true); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce('main') // entryFile + .mockReturnValueOnce(''); // entryFileRoot + + // require('@rspack/core') will be called inside run() + // We need to mock it at module level + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras(), + ); + + expect(vi.mocked(rspackDefaultsFactory)).toHaveBeenCalledWith( + 'src', + '', + 'main', + false, + 'tsconfig.json', + expect.objectContaining({ + beforeHooks: [], + afterHooks: [], + afterDeclarationsHooks: [], + }), + false, + ); + }); + + it('should call rspackDefaultsFactory with isEsm=true for ESM projects', () => { + vi.mocked(existsSync).mockReturnValue(true); + vi.mocked(esmProjectUtil.isEsmProject).mockReturnValue(true); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce('main') + .mockReturnValueOnce(''); + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras(), + ); + + expect(vi.mocked(rspackDefaultsFactory)).toHaveBeenCalledWith( + 'src', + '', + 'main', + false, + 'tsconfig.json', + expect.anything(), + true, + ); + }); + + it('should call rspackDefaultsFactory with debug=true when debug is enabled', () => { + vi.mocked(existsSync).mockReturnValue(true); + vi.mocked(getValueOrDefault).mockReturnValueOnce('main').mockReturnValueOnce(''); + + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras({ debug: true }), + ); + + expect(vi.mocked(rspackDefaultsFactory)).toHaveBeenCalledWith( + 'src', + '', + 'main', + true, + 'tsconfig.json', + expect.anything(), + false, + ); + }); + + it('should use config factory function when provided', () => { + vi.mocked(existsSync).mockReturnValue(true); + vi.mocked(getValueOrDefault).mockReturnValueOnce('main').mockReturnValueOnce(''); + + const configFactory = vi.fn().mockReturnValue({ entry: 'custom.ts' }); + + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras({ rspackConfigFactoryOrConfig: configFactory }), + ); + + expect(configFactory).toHaveBeenCalledWith( + expect.objectContaining({ mode: 'none', entry: 'src/main.ts' }), + mockRspackModule, + ); + }); + + it('should merge plain config object when provided', () => { + vi.mocked(existsSync).mockReturnValue(true); + vi.mocked(getValueOrDefault).mockReturnValueOnce('main').mockReturnValueOnce(''); + + const plainConfig = { entry: 'custom.ts' }; + + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras({ rspackConfigFactoryOrConfig: plainConfig }), + ); + + // rspack.rspack should be called with merged config + expect(mockRspackModule.rspack).toHaveBeenCalledWith( + expect.objectContaining({ entry: 'custom.ts' }), + ); + }); + + it('should handle array of configurations (multi-compiler)', () => { + vi.mocked(existsSync).mockReturnValue(true); + vi.mocked(getValueOrDefault).mockReturnValueOnce('main').mockReturnValueOnce(''); + + const configs = [{ entry: 'first.ts' }, { entry: 'second.ts' }]; + + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras({ rspackConfigFactoryOrConfig: configs }), + ); + + expect(mockRspackModule.rspack).toHaveBeenCalledWith( + expect.arrayContaining([ + expect.objectContaining({ entry: 'first.ts' }), + expect.objectContaining({ entry: 'second.ts' }), + ]), + ); + }); + + it('should set mode to development in watch mode', () => { + vi.mocked(existsSync).mockReturnValue(true); + vi.mocked(getValueOrDefault).mockReturnValueOnce('main').mockReturnValueOnce(''); + + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras({ watchMode: true }), + ); + + expect(mockRspackModule.rspack).toHaveBeenCalledWith( + expect.objectContaining({ mode: 'development' }), + ); + }); + + it('should call compiler.watch when watchMode is true', () => { + vi.mocked(existsSync).mockReturnValue(true); + vi.mocked(getValueOrDefault).mockReturnValueOnce('main').mockReturnValueOnce(''); + + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras({ watchMode: true }), + ); + + expect(mockWatchRunTapAsync).toHaveBeenCalledWith( + 'Rebuild info', + expect.any(Function), + ); + expect(mockWatch).toHaveBeenCalled(); + expect(mockRun).not.toHaveBeenCalled(); + }); + + it('should call compiler.run when watchMode is false', () => { + vi.mocked(existsSync).mockReturnValue(true); + vi.mocked(getValueOrDefault).mockReturnValueOnce('main').mockReturnValueOnce(''); + + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras({ watchMode: false }), + ); + + expect(mockRun).toHaveBeenCalled(); + expect(mockWatch).not.toHaveBeenCalled(); + }); + }); + + describe('createAfterCallback', () => { + it('should call onSuccess when compilation succeeds', () => { + const onSuccess = vi.fn(); + const assetsManager = { closeWatchers: vi.fn() }; + + const callback = (compiler as any).createAfterCallback( + onSuccess, + assetsManager, + false, + false, + ); + + const mockStats = { + hasErrors: () => false, + toString: () => 'compiled successfully', + }; + + callback(null, mockStats); + + expect(onSuccess).toHaveBeenCalled(); + expect(assetsManager.closeWatchers).not.toHaveBeenCalled(); + }); + + it('should close watchers when onSuccess is not defined', () => { + const assetsManager = { closeWatchers: vi.fn() }; + + const callback = (compiler as any).createAfterCallback( + undefined, + assetsManager, + false, + false, + ); + + const mockStats = { + hasErrors: () => false, + toString: () => 'compiled successfully', + }; + + callback(null, mockStats); + + expect(assetsManager.closeWatchers).toHaveBeenCalled(); + }); + + it('should exit with code 1 when err is set and stats is undefined', () => { + const mockExit = vi + .spyOn(process, 'exit') + .mockImplementation(() => undefined as never); + const consoleSpy = vi.spyOn(console, 'log').mockImplementation(); + + const callback = (compiler as any).createAfterCallback( + undefined, + { closeWatchers: vi.fn() }, + false, + false, + ); + + callback(new Error('compile error'), undefined); + + expect(mockExit).toHaveBeenCalledWith(1); + + mockExit.mockRestore(); + consoleSpy.mockRestore(); + }); + + it('should exit with code 1 on errors in non-watch mode', () => { + const mockExit = vi + .spyOn(process, 'exit') + .mockImplementation(() => undefined as never); + const consoleSpy = vi.spyOn(console, 'log').mockImplementation(); + + const callback = (compiler as any).createAfterCallback( + undefined, + { closeWatchers: vi.fn() }, + false, + false, + ); + + const mockStats = { + hasErrors: () => true, + toString: () => 'errors found', + }; + + callback(null, mockStats); + + expect(mockExit).toHaveBeenCalledWith(1); + + mockExit.mockRestore(); + consoleSpy.mockRestore(); + }); + + it('should not exit on errors in watch mode', () => { + const mockExit = vi + .spyOn(process, 'exit') + .mockImplementation(() => undefined as never); + const consoleSpy = vi.spyOn(console, 'log').mockImplementation(); + + const callback = (compiler as any).createAfterCallback( + undefined, + { closeWatchers: vi.fn() }, + true, + false, + ); + + const mockStats = { + hasErrors: () => true, + toString: () => 'errors found', + }; + + callback(null, mockStats); + + expect(mockExit).not.toHaveBeenCalled(); + + mockExit.mockRestore(); + consoleSpy.mockRestore(); + }); + }); +}); diff --git a/test/lib/compiler/rspack/rspack-defaults.spec.ts b/test/lib/compiler/rspack/rspack-defaults.spec.ts new file mode 100644 index 000000000..7c8c7b3a5 --- /dev/null +++ b/test/lib/compiler/rspack/rspack-defaults.spec.ts @@ -0,0 +1,503 @@ +import { describe, it, expect, vi } from 'vitest'; +import { createRequire as realCreateRequire } from 'module'; +import { rspackDefaultsFactory } from '../../../../lib/compiler/defaults/rspack-defaults.js'; +import { MultiNestCompilerPlugins } from '../../../../lib/compiler/plugins/plugins-loader.js'; + +// Hoist mocks so they can be referenced in vi.mock factories +const { mockIgnorePlugin, mockForkTsChecker, mockNodeExternals, mockTsconfigPathsPlugin } = vi.hoisted(() => ({ + mockIgnorePlugin: vi.fn().mockImplementation(function (opts: any) { + return { __type: 'IgnorePlugin', ...opts }; + }), + mockForkTsChecker: vi.fn().mockImplementation(function (opts: any) { + return { __type: 'ForkTsCheckerWebpackPlugin', ...opts }; + }), + mockNodeExternals: vi.fn().mockReturnValue('mocked-externals'), + mockTsconfigPathsPlugin: vi.fn().mockImplementation(function (opts: any) { + return { __type: 'TsconfigPathsPlugin', ...opts }; + }), +})); + +// Mock ESM type-only imports (no-op, types are stripped at runtime) +vi.mock('tsconfig-paths-webpack-plugin', () => ({ + TsconfigPathsPlugin: mockTsconfigPathsPlugin, +})); + +vi.mock('webpack-node-externals', () => ({ + default: mockNodeExternals, +})); + +// Mock createRequire to intercept all CJS require() calls in the module under test +vi.mock('module', async (importOriginal) => { + const actual = await importOriginal(); + return { + ...actual, + createRequire: (url: string | URL) => { + const realReq = actual.createRequire(url); + const mockedReq: any = (id: string) => { + if (id === '@rspack/core') return { IgnorePlugin: mockIgnorePlugin }; + if (id === 'fork-ts-checker-webpack-plugin') return mockForkTsChecker; + if (id === 'webpack-node-externals') return mockNodeExternals; + if (id === 'tsconfig-paths-webpack-plugin') return { TsconfigPathsPlugin: mockTsconfigPathsPlugin }; + return realReq(id); + }; + mockedReq.resolve = realReq.resolve.bind(realReq); + mockedReq.resolve.paths = realReq.resolve.paths?.bind(realReq.resolve); + return mockedReq; + }, + }; +}); + +describe('rspackDefaultsFactory', () => { + const emptyPlugins: MultiNestCompilerPlugins = { + beforeHooks: [], + afterHooks: [], + afterDeclarationsHooks: [], + readonlyVisitors: [], + }; + + const registeredPlugins: MultiNestCompilerPlugins = { + beforeHooks: [vi.fn()], + afterHooks: [], + afterDeclarationsHooks: [], + readonlyVisitors: [], + }; + + it('should return a configuration object with correct entry', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + expect(config.entry).toContain('src'); + expect(config.entry).toContain('main'); + expect(config.entry).toMatch(/\.ts$/); + }); + + it('should target node', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + expect(config.target).toBe('node'); + }); + + it('should set devtool to false when debug is disabled', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + expect(config.devtool).toBe(false); + }); + + it('should set devtool to inline-source-map when debug is enabled', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + true, + 'tsconfig.json', + emptyPlugins, + ); + + expect(config.devtool).toBe('inline-source-map'); + }); + + it('should use builtin:swc-loader for TypeScript files', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + const rule = config.module.rules[0]; + expect(rule.test).toEqual(/\.tsx?$/); + expect(rule.use[0].loader).toBe('builtin:swc-loader'); + }); + + it('should configure SWC loader with TypeScript and decorator support', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + const loaderOptions = config.module.rules[0].use[0].options; + expect(loaderOptions.jsc.parser.syntax).toBe('typescript'); + expect(loaderOptions.jsc.parser.decorators).toBe(true); + expect(loaderOptions.jsc.transform.legacyDecorator).toBe(true); + expect(loaderOptions.jsc.transform.decoratorMetadata).toBe(true); + }); + + it('should resolve .tsx, .ts, and .js extensions', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + expect(config.resolve.extensions).toEqual(['.tsx', '.ts', '.js']); + }); + + it('should set mode to none', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + expect(config.mode).toBe('none'); + }); + + it('should set nodeEnv optimization to false', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + expect(config.optimization.nodeEnv).toBe(false); + }); + + it('should preserve __filename and __dirname behavior', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + expect(config.node.__filename).toBe(false); + expect(config.node.__dirname).toBe(false); + }); + + it('should use webpack-node-externals', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + expect(config.externals).toContain('mocked-externals'); + expect(config.externalsPresets).toEqual({ node: true }); + }); + + it('should set tsConfig in resolve when tsconfig file is provided', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'custom-tsconfig.json', + emptyPlugins, + ); + + expect(config.resolve.tsConfig).toBe('custom-tsconfig.json'); + }); + + it('should include TsconfigPathsPlugin', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + expect(config.resolve.plugins).toEqual( + expect.arrayContaining([ + expect.objectContaining({ __type: 'TsconfigPathsPlugin' }), + ]), + ); + }); + + it('should include IgnorePlugin from @rspack/core', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + const ignorePlugin = config.plugins.find( + (p: any) => p.__type === 'IgnorePlugin', + ); + expect(ignorePlugin).toBeDefined(); + }); + + it('should include ForkTsCheckerWebpackPlugin when no custom plugins', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + const forkPlugin = config.plugins.find( + (p: any) => p.__type === 'ForkTsCheckerWebpackPlugin', + ); + expect(forkPlugin).toBeDefined(); + }); + + it('should not include ForkTsCheckerWebpackPlugin when custom plugins are registered', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + registeredPlugins, + ); + + const forkPlugin = config.plugins.find( + (p: any) => p.__type === 'ForkTsCheckerWebpackPlugin', + ); + expect(forkPlugin).toBeUndefined(); + }); + + it('should set output filename based on relativeSourceRoot and entryFilename', () => { + const config = rspackDefaultsFactory( + 'src', + 'apps/my-app', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + + expect(config.output.filename).toContain('apps/my-app'); + expect(config.output.filename).toContain('main.js'); + }); + + it('should set sourceMaps in swc-loader based on debug flag', () => { + const debugConfig = rspackDefaultsFactory( + 'src', + '', + 'main', + true, + 'tsconfig.json', + emptyPlugins, + ); + expect(debugConfig.module.rules[0].use[0].options.sourceMaps).toBe(true); + + const releaseConfig = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + ); + expect(releaseConfig.module.rules[0].use[0].options.sourceMaps).toBe(false); + }); + + describe('ESM mode', () => { + it('should set output.module, output.library.type, and output.chunkFormat for ESM', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + true, + ); + + expect(config.output.module).toBe(true); + expect(config.output.library).toEqual({ type: 'module' }); + expect(config.output.chunkFormat).toBe('module'); + expect(config.output.chunkLoading).toBe('import'); + }); + + it('should enable experiments.outputModule for ESM', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + true, + ); + + expect(config.experiments).toEqual({ + outputModule: true, + topLevelAwait: true, + }); + }); + + it('should set module rule type to javascript/esm for ESM', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + true, + ); + + expect(config.module.rules[0].type).toBe('javascript/esm'); + }); + + it('should not set module rule type when isEsm is false', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + false, + ); + + expect(config.module.rules[0].type).toBeUndefined(); + }); + + it('should disable externalsPresets.node for ESM', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + true, + ); + + expect(config.externalsPresets).toEqual({ node: false }); + }); + + it('should externalize node builtins via custom function for ESM', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + true, + ); + + // Should have nodeExternals + builtins handler + expect(config.externals).toHaveLength(2); + + // Test the builtins handler function + const builtinsHandler = config.externals[1]; + const results: any[] = []; + builtinsHandler({ request: 'fs' }, (...args: any[]) => results.push(args)); + expect(results[0]).toEqual([null, 'module fs']); + + results.length = 0; + builtinsHandler({ request: 'node:path' }, (...args: any[]) => results.push(args)); + expect(results[0]).toEqual([null, 'module node:path']); + + results.length = 0; + builtinsHandler({ request: 'some-pkg' }, (...args: any[]) => results.push(args)); + expect(results[0]).toEqual([]); + }); + + it('should enable externalsPresets.node for non-ESM', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + false, + ); + + expect(config.externalsPresets).toEqual({ node: true }); + expect(config.externals).toHaveLength(1); + }); + + it('should call nodeExternals with importType module for ESM', () => { + mockNodeExternals.mockClear(); + + rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + true, + ); + + expect(mockNodeExternals).toHaveBeenCalledWith({ importType: 'module' }); + }); + + it('should not set ESM output options when isEsm is false', () => { + const config = rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + false, + ); + + expect(config.output.module).toBeUndefined(); + expect(config.output.library).toBeUndefined(); + expect(config.output.chunkFormat).toBeUndefined(); + expect(config.output.chunkLoading).toBeUndefined(); + expect(config.experiments).toBeUndefined(); + }); + + it('should call nodeExternals with empty options when isEsm is false', () => { + mockNodeExternals.mockClear(); + + rspackDefaultsFactory( + 'src', + '', + 'main', + false, + 'tsconfig.json', + emptyPlugins, + false, + ); + + expect(mockNodeExternals).toHaveBeenCalledWith({}); + }); + }); +}); diff --git a/test/lib/compiler/swc/constants.spec.ts b/test/lib/compiler/swc/constants.spec.ts new file mode 100644 index 000000000..74800f746 --- /dev/null +++ b/test/lib/compiler/swc/constants.spec.ts @@ -0,0 +1,36 @@ +import { describe, expect, it } from 'vitest'; +import { + FOUND_NO_ISSUES_GENERATING_METADATA, + FOUND_NO_ISSUES_METADATA_GENERATION_SKIPPED, + INITIALIZING_TYPE_CHECKER, + SWC_LOG_PREFIX, + TSC_LOG_ERROR_PREFIX, + TSC_LOG_PREFIX, + TSC_LOG_SUCCESS_PREFIX, + TSC_NO_ERRORS_MESSAGE, +} from '../../../../lib/compiler/swc/constants.js'; + +describe('SWC/TSC Constants', () => { + it('should define TSC_NO_ERRORS_MESSAGE for watch mode detection', () => { + expect(TSC_NO_ERRORS_MESSAGE).toBe( + 'Found 0 errors. Watching for file changes.', + ); + }); + + it('should define all log prefix constants as non-empty strings', () => { + expect(SWC_LOG_PREFIX).toBeDefined(); + expect(SWC_LOG_PREFIX.length).toBeGreaterThan(0); + expect(TSC_LOG_PREFIX.length).toBeGreaterThan(0); + expect(TSC_LOG_ERROR_PREFIX.length).toBeGreaterThan(0); + expect(TSC_LOG_SUCCESS_PREFIX.length).toBeGreaterThan(0); + }); + + it('should define metadata generation messages', () => { + expect(FOUND_NO_ISSUES_GENERATING_METADATA).toContain('metadata'); + expect(FOUND_NO_ISSUES_METADATA_GENERATION_SKIPPED).toContain('0 issues'); + }); + + it('should define the initializing type checker message', () => { + expect(INITIALIZING_TYPE_CHECKER).toContain('type checker'); + }); +}); diff --git a/test/lib/compiler/swc/swc-compiler.spec.ts b/test/lib/compiler/swc/swc-compiler.spec.ts index 418c8c20a..18e3eaf2f 100644 --- a/test/lib/compiler/swc/swc-compiler.spec.ts +++ b/test/lib/compiler/swc/swc-compiler.spec.ts @@ -1,17 +1,36 @@ +import * as childProcess from 'child_process'; import * as chokidar from 'chokidar'; -import { PluginsLoader } from '../../../../lib/compiler/plugins/plugins-loader'; -import { SwcCompiler } from '../../../../lib/compiler/swc/swc-compiler'; - -import * as swcDefaults from '../../../../lib/compiler/defaults/swc-defaults'; -import * as getValueOrDefault from '../../../../lib/compiler/helpers/get-value-or-default'; - -jest.mock('chokidar'); +import { stat } from 'fs/promises'; +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; +import { swcDefaultsFactory } from '../../../../lib/compiler/defaults/swc-defaults.js'; +import { getValueOrDefault } from '../../../../lib/compiler/helpers/get-value-or-default.js'; +import { PluginsLoader } from '../../../../lib/compiler/plugins/plugins-loader.js'; +import { SwcCompiler } from '../../../../lib/compiler/swc/swc-compiler.js'; + +vi.mock('../../../../lib/compiler/defaults/swc-defaults.js', () => ({ + swcDefaultsFactory: vi.fn(), +})); + +vi.mock('../../../../lib/compiler/helpers/get-value-or-default.js', () => ({ + getValueOrDefault: vi.fn(), +})); + +vi.mock('chokidar'); +vi.mock('child_process', async () => ({ + ...(await vi.importActual('child_process')), + spawnSync: vi.fn(), +})); +vi.mock('fs/promises', () => ({ + stat: vi.fn(), +})); describe('SWC Compiler', () => { let compiler: SwcCompiler; - let swcDefaultsFactoryMock = jest.fn(); - let getValueOrDefaultMock = jest.fn(); - let debounceMock = jest.fn(); + let debounceMock = vi.fn(); + const swcOptionsFixture = { + swcOptions: {}, + cliOptions: {}, + } as ReturnType; const callRunCompiler = async ({ configuration, @@ -25,27 +44,24 @@ describe('SWC Compiler', () => { tsconfig || '', appName || '', extras || {}, - onSuccess ?? jest.fn(), + onSuccess ?? vi.fn(), ); }; beforeEach(() => { const PluginsLoaderStub = { - load: () => jest.fn(), - resolvePluginReferences: () => jest.fn(), + load: () => vi.fn(), + resolvePluginReferences: () => vi.fn(), } as unknown as PluginsLoader; compiler = new SwcCompiler(PluginsLoaderStub); - (swcDefaults as any).swcDefaultsFactory = swcDefaultsFactoryMock; - (getValueOrDefault as any).getValueOrDefault = getValueOrDefaultMock; - - compiler['runSwc'] = jest.fn(); - compiler['runTypeChecker'] = jest.fn(); + compiler['runSwc'] = vi.fn(); + compiler['runTypeChecker'] = vi.fn(); compiler['debounce'] = debounceMock; - compiler['watchFilesInOutDir'] = jest.fn(); + compiler['watchFilesInOutDir'] = vi.fn(); - jest.clearAllMocks(); + vi.clearAllMocks(); }); describe('run', () => { @@ -65,7 +81,7 @@ describe('SWC Compiler', () => { configuration: fixture.configuration, extras: fixture.extras, }); - expect(swcDefaultsFactoryMock).toHaveBeenCalledWith( + expect(vi.mocked(swcDefaultsFactory)).toHaveBeenCalledWith( fixture.extras.tsOptions, fixture.configuration, ); @@ -82,7 +98,7 @@ describe('SWC Compiler', () => { appName: fixture.appName, }); - expect(getValueOrDefaultMock).toHaveBeenCalledWith( + expect(vi.mocked(getValueOrDefault)).toHaveBeenCalledWith( fixture.configuration, 'compilerOptions.builder.options.swcrcPath', fixture.appName, @@ -149,8 +165,8 @@ describe('SWC Compiler', () => { }); it('should call runSwc', async () => { - swcDefaultsFactoryMock.mockReturnValueOnce('swcOptionsTest'); - getValueOrDefaultMock.mockReturnValueOnce('swcrcPathTest'); + vi.mocked(swcDefaultsFactory).mockReturnValueOnce(swcOptionsFixture); + vi.mocked(getValueOrDefault).mockReturnValueOnce('swcrcPathTest'); const fixture = { extras: { @@ -164,7 +180,7 @@ describe('SWC Compiler', () => { }); expect(compiler['runSwc']).toHaveBeenCalledWith( - 'swcOptionsTest', + swcOptionsFixture, fixture.extras, 'swcrcPathTest', ); @@ -175,7 +191,7 @@ describe('SWC Compiler', () => { }); expect(compiler['runSwc']).toHaveBeenCalledWith( - 'swcOptionsTest', + swcOptionsFixture, fixture.extras, 'swcrcPathTest', ); @@ -188,7 +204,7 @@ describe('SWC Compiler', () => { }); it('should call onSuccess method when is defined', async () => { - const onSuccessMock = jest.fn(); + const onSuccessMock = vi.fn(); await callRunCompiler({ onSuccess: onSuccessMock, extras: { @@ -231,7 +247,7 @@ describe('SWC Compiler', () => { it('should call debounce method with debounceTime and onSuccess method and when extras.watch is true', async () => { const fixture = { - onSuccess: jest.fn(), + onSuccess: vi.fn(), }; await callRunCompiler({ @@ -245,7 +261,7 @@ describe('SWC Compiler', () => { }); it('should call watchFilesInOutDir method with swcOptions and callback when extras.watch is true', async () => { - swcDefaultsFactoryMock.mockReturnValueOnce('swcOptionsTest'); + vi.mocked(swcDefaultsFactory).mockReturnValueOnce(swcOptionsFixture); debounceMock.mockReturnValueOnce('debounceTest'); await callRunCompiler({ @@ -255,13 +271,13 @@ describe('SWC Compiler', () => { }); expect(compiler['watchFilesInOutDir']).toHaveBeenCalledWith( - 'swcOptionsTest', + swcOptionsFixture, 'debounceTest', ); }); it('should not call closeWatchers method when extras.watch is true', async () => { - const closeWatchersMock = jest.fn(); + const closeWatchersMock = vi.fn(); const fixture = { extras: { watch: true, @@ -284,7 +300,7 @@ describe('SWC Compiler', () => { }); it('should call closeWatchers method when extras.watch is false', async () => { - const closeWatchersMock = jest.fn(); + const closeWatchersMock = vi.fn(); const fixture = { extras: { watch: false, @@ -307,21 +323,125 @@ describe('SWC Compiler', () => { }); }); + describe('emitDeclarations', () => { + it('should call emitDeclarations when extras.emitDeclarations is true and watch is false', async () => { + compiler['emitDeclarations'] = vi.fn(); + + await callRunCompiler({ + configuration: '_configurationTest', + tsconfig: 'tsconfig.json', + appName: 'appNameTest', + extras: { + watch: false, + typeCheck: false, + emitDeclarations: true, + tsOptions: null, + }, + }); + + expect(compiler['emitDeclarations']).toHaveBeenCalledWith( + 'tsconfig.json', + ); + }); + + it('should call emitDeclarations when extras.emitDeclarations is true and watch is true', async () => { + compiler['emitDeclarations'] = vi.fn(); + + await callRunCompiler({ + configuration: '_configurationTest', + tsconfig: 'tsconfig.json', + appName: 'appNameTest', + extras: { + watch: true, + typeCheck: false, + emitDeclarations: true, + tsOptions: null, + }, + }); + + expect(compiler['emitDeclarations']).toHaveBeenCalledWith( + 'tsconfig.json', + ); + }); + + it('should not call emitDeclarations when extras.emitDeclarations is false', async () => { + compiler['emitDeclarations'] = vi.fn(); + + await callRunCompiler({ + configuration: '_configurationTest', + tsconfig: 'tsconfig.json', + appName: 'appNameTest', + extras: { + watch: false, + typeCheck: false, + emitDeclarations: false, + tsOptions: null, + }, + }); + + expect(compiler['emitDeclarations']).not.toHaveBeenCalled(); + }); + + it('should spawn tsc with --emitDeclarationOnly flag', async () => { + const originalEmitDeclarations = + SwcCompiler.prototype['emitDeclarations']; + compiler['emitDeclarations'] = + originalEmitDeclarations.bind(compiler); + + (childProcess.spawnSync as ReturnType).mockReturnValue({ status: 0 }); + + compiler['emitDeclarations']('tsconfig.json'); + + // Flush process.nextTick to avoid "Cannot log after tests are done" warning + await new Promise((resolve) => process.nextTick(resolve)); + + expect(childProcess.spawnSync).toHaveBeenCalledWith( + expect.stringContaining('tsc'), + ['--emitDeclarationOnly', '-p', 'tsconfig.json'], + expect.objectContaining({ + cwd: process.cwd(), + stdio: 'inherit', + shell: true, + }), + ); + }); + + it('should log error when tsc exits with non-zero status', async () => { + const originalEmitDeclarations = + SwcCompiler.prototype['emitDeclarations']; + compiler['emitDeclarations'] = + originalEmitDeclarations.bind(compiler); + + (childProcess.spawnSync as ReturnType).mockReturnValue({ status: 1 }); + const consoleErrorSpy = vi.spyOn(console, 'error').mockImplementation(() => {}); + + compiler['emitDeclarations']('tsconfig.json'); + + // Flush process.nextTick to avoid "Cannot log after tests are done" warning + await new Promise((resolve) => process.nextTick(resolve)); + + expect(consoleErrorSpy).toHaveBeenCalledWith( + expect.stringContaining('Failed to emit declaration files'), + ); + + consoleErrorSpy.mockRestore(); + }); + }); + describe('watchFilesInOutDir', () => { let originalWatchFilesInOutDir: Function; beforeEach(() => { // Restore the real implementation that was mocked in the outer beforeEach - originalWatchFilesInOutDir = - SwcCompiler.prototype['watchFilesInOutDir']; + originalWatchFilesInOutDir = SwcCompiler.prototype['watchFilesInOutDir']; compiler['watchFilesInOutDir'] = originalWatchFilesInOutDir.bind(compiler); }); it('should only register add/change listeners after the watcher is ready', () => { const listeners: Record = {}; - const mockWatcher: { on: jest.Mock } = { - on: jest.fn((event: string, handler: Function) => { + const mockWatcher = { + on: vi.fn((event: string, handler: Function) => { if (!listeners[event]) { listeners[event] = []; } @@ -329,9 +449,9 @@ describe('SWC Compiler', () => { return mockWatcher; }), }; - (chokidar.watch as jest.Mock).mockReturnValue(mockWatcher); + vi.mocked(chokidar.watch).mockReturnValue(mockWatcher as any); - const onChange = jest.fn(); + const onChange = vi.fn(); const options = { cliOptions: { outDir: '/tmp/test-out', @@ -359,8 +479,8 @@ describe('SWC Compiler', () => { it('should not trigger onChange for file events that occur before watcher is ready', () => { const listeners: Record = {}; - const mockWatcher: { on: jest.Mock } = { - on: jest.fn((event: string, handler: Function) => { + const mockWatcher = { + on: vi.fn((event: string, handler: Function) => { if (!listeners[event]) { listeners[event] = []; } @@ -368,9 +488,9 @@ describe('SWC Compiler', () => { return mockWatcher; }), }; - (chokidar.watch as jest.Mock).mockReturnValue(mockWatcher); + vi.mocked(chokidar.watch).mockReturnValue(mockWatcher as any); - const onChange = jest.fn(); + const onChange = vi.fn(); const options = { cliOptions: { outDir: '/tmp/test-out', @@ -391,4 +511,112 @@ describe('SWC Compiler', () => { expect(onChange).toHaveBeenCalledTimes(1); }); }); + + describe('watchFilesInSrcDir', () => { + let originalWatchFilesInSrcDir: Function; + + beforeEach(() => { + originalWatchFilesInSrcDir = + SwcCompiler.prototype['watchFilesInSrcDir']; + compiler['watchFilesInSrcDir'] = + originalWatchFilesInSrcDir.bind(compiler); + + vi.mocked(stat).mockResolvedValue({ isDirectory: () => true } as any); + }); + + it('should not ignore .ts files when extensions include ts', async () => { + const mockWatcher = { + on: vi.fn().mockReturnThis(), + }; + vi.mocked(chokidar.watch).mockReturnValue(mockWatcher as any); + + const onFileAdded = vi.fn(); + const options = { + cliOptions: { + filenames: ['src'], + extensions: ['js', 'ts'], + }, + }; + + await compiler['watchFilesInSrcDir'](options as any, onFileAdded); + + const watchOptions = vi.mocked(chokidar.watch).mock.calls[0][1] as any; + const ignoredFn = watchOptions.ignored; + + const fileStats = { isFile: () => true }; + + // .ts files should NOT be ignored + expect(ignoredFn('src/app.service.ts', fileStats)).toBe(false); + // .js files should NOT be ignored + expect(ignoredFn('src/app.service.js', fileStats)).toBe(false); + // Non-matching files should be ignored + expect(ignoredFn('src/data.json', fileStats)).toBe(true); + // Directories should not be ignored + const dirStats = { isFile: () => false }; + expect(ignoredFn('src/subdir', dirStats)).toBe(false); + }); + + it('should skip watching if source directory does not exist', async () => { + vi.mocked(stat).mockRejectedValue(new Error('ENOENT')); + + const onFileAdded = vi.fn(); + const options = { + cliOptions: { + filenames: ['src'], + extensions: ['ts'], + }, + }; + + await compiler['watchFilesInSrcDir'](options as any, onFileAdded); + + expect(chokidar.watch).not.toHaveBeenCalled(); + }); + + it('should skip watching if filenames is empty', async () => { + const onFileAdded = vi.fn(); + const options = { + cliOptions: { + filenames: [], + extensions: ['ts'], + }, + }; + + await compiler['watchFilesInSrcDir'](options as any, onFileAdded); + + expect(chokidar.watch).not.toHaveBeenCalled(); + }); + }); + + describe('shouldLogSwcStatus', () => { + const originalLogLevel = process.env.npm_config_loglevel; + + afterEach(() => { + process.env.npm_config_loglevel = originalLogLevel; + }); + + it('should return false when extras.silent is true', () => { + const result = compiler['shouldLogSwcStatus']({ + silent: true, + } as any); + expect(result).toBe(false); + }); + + it('should return false when npm log level is silent', () => { + process.env.npm_config_loglevel = 'silent'; + + const result = compiler['shouldLogSwcStatus']({ + silent: false, + } as any); + expect(result).toBe(false); + }); + + it('should return true when silent mode is not enabled', () => { + process.env.npm_config_loglevel = 'warn'; + + const result = compiler['shouldLogSwcStatus']({ + silent: false, + } as any); + expect(result).toBe(true); + }); + }); }); diff --git a/test/lib/compiler/swc/type-checker-host.spec.ts b/test/lib/compiler/swc/type-checker-host.spec.ts new file mode 100644 index 000000000..d7d952d55 --- /dev/null +++ b/test/lib/compiler/swc/type-checker-host.spec.ts @@ -0,0 +1,177 @@ +import * as ts from 'typescript'; +import { beforeEach, describe, expect, it, vi } from 'vitest'; +import { TypeCheckerHost } from '../../../../lib/compiler/swc/type-checker-host.js'; + +vi.mock('ora', () => { + const spinner = { + start: vi.fn().mockReturnThis(), + succeed: vi.fn().mockReturnThis(), + fail: vi.fn().mockReturnThis(), + }; + return { default: vi.fn(() => spinner) }; +}); + +describe('TypeCheckerHost', () => { + let typeCheckerHost: TypeCheckerHost; + + beforeEach(() => { + typeCheckerHost = new TypeCheckerHost(); + vi.clearAllMocks(); + }); + + describe('runOnce (via run)', () => { + function setupMocks(diagnostics: ts.Diagnostic[]) { + const mockProgram = { + getSourceFiles: vi.fn().mockReturnValue([]), + getCompilerOptions: vi.fn().mockReturnValue({}), + } as unknown as ts.Program; + + const mockBuilderProgram = { + getProgram: vi.fn().mockReturnValue(mockProgram), + }; + + const mockTsConfigProvider = { + getByConfigFilename: vi.fn().mockReturnValue({ + options: {}, + fileNames: [], + projectReferences: undefined, + }), + }; + + const mockTsBinary = { + ...ts, + createIncrementalProgram: vi + .fn() + .mockReturnValue(mockBuilderProgram), + getPreEmitDiagnostics: vi.fn().mockReturnValue(diagnostics), + formatDiagnosticsWithColorAndContext: vi + .fn() + .mockReturnValue('mock formatted diagnostics'), + sys: ts.sys, + }; + + const mockTypescriptLoader = { + load: vi.fn().mockReturnValue(mockTsBinary), + }; + + Object.defineProperty(typeCheckerHost, 'tsConfigProvider', { + value: mockTsConfigProvider, + writable: true, + }); + Object.defineProperty(typeCheckerHost, 'typescriptLoader', { + value: mockTypescriptLoader, + writable: true, + }); + + return { mockProgram, mockTsBinary }; + } + + it('should throw an error when type errors are found', () => { + const mockDiagnostic: ts.Diagnostic = { + file: undefined, + start: undefined, + length: undefined, + messageText: 'Type error mock', + category: ts.DiagnosticCategory.Error, + code: 2322, + }; + + setupMocks([mockDiagnostic]); + + const onTypeCheck = vi.fn(); + + expect(() => { + typeCheckerHost.run('tsconfig.json', { + watch: false, + onTypeCheck, + }); + }).toThrow('Found 1 type error(s) during compilation.'); + + // onTypeCheck should NOT be called when there are errors + expect(onTypeCheck).not.toHaveBeenCalled(); + }); + + it('should call onTypeCheck when there are no type errors', () => { + const { mockProgram } = setupMocks([]); + + const onTypeCheck = vi.fn(); + + expect(() => { + typeCheckerHost.run('tsconfig.json', { + watch: false, + onTypeCheck, + }); + }).not.toThrow(); + + expect(onTypeCheck).toHaveBeenCalledTimes(1); + expect(onTypeCheck).toHaveBeenCalledWith(mockProgram); + }); + + it('should not call process.exit when type errors are found', () => { + const processExitSpy = vi + .spyOn(process, 'exit') + .mockImplementation(() => undefined as never); + + const mockDiagnostic: ts.Diagnostic = { + file: undefined, + start: undefined, + length: undefined, + messageText: 'Type error mock', + category: ts.DiagnosticCategory.Error, + code: 2322, + }; + + setupMocks([mockDiagnostic]); + + try { + typeCheckerHost.run('tsconfig.json', { + watch: false, + onTypeCheck: vi.fn(), + }); + } catch { + // Expected to throw + } + + expect(processExitSpy).not.toHaveBeenCalled(); + processExitSpy.mockRestore(); + }); + + it('should include the number of errors in the thrown error message', () => { + const diagnostics: ts.Diagnostic[] = [ + { + file: undefined, + start: undefined, + length: undefined, + messageText: 'Error 1', + category: ts.DiagnosticCategory.Error, + code: 2322, + }, + { + file: undefined, + start: undefined, + length: undefined, + messageText: 'Error 2', + category: ts.DiagnosticCategory.Error, + code: 2345, + }, + { + file: undefined, + start: undefined, + length: undefined, + messageText: 'Error 3', + category: ts.DiagnosticCategory.Error, + code: 2741, + }, + ]; + + setupMocks(diagnostics); + + expect(() => { + typeCheckerHost.run('tsconfig.json', { + watch: false, + onTypeCheck: vi.fn(), + }); + }).toThrow('Found 3 type error(s) during compilation.'); + }); + }); +}); diff --git a/test/lib/compiler/typescript-loader.spec.ts b/test/lib/compiler/typescript-loader.spec.ts new file mode 100644 index 000000000..55ede89e8 --- /dev/null +++ b/test/lib/compiler/typescript-loader.spec.ts @@ -0,0 +1,43 @@ +import * as ts from 'typescript'; +import { describe, expect, it } from 'vitest'; +import { TypeScriptBinaryLoader } from '../../../lib/compiler/typescript-loader.js'; + +describe('TypeScriptBinaryLoader', () => { + it('should load the typescript binary', () => { + const loader = new TypeScriptBinaryLoader(); + const tsBinary = loader.load(); + expect(tsBinary).toBeDefined(); + expect(typeof tsBinary.createProgram).toBe('function'); + }); + + it('should return the same cached instance on subsequent calls', () => { + const loader = new TypeScriptBinaryLoader(); + const first = loader.load(); + const second = loader.load(); + expect(first).toBe(second); + }); + + it('should expose TypeScript namespace utilities', () => { + const loader = new TypeScriptBinaryLoader(); + const tsBinary = loader.load(); + expect(tsBinary.sys).toBeDefined(); + expect(tsBinary.ScriptTarget).toBeDefined(); + expect(tsBinary.ModuleKind).toBeDefined(); + }); + + it('should return the same TypeScript instance used by the test process', () => { + const loader = new TypeScriptBinaryLoader(); + const tsBinary = loader.load(); + // Both should have the same version string since they resolve from + // the same node_modules/typescript. + expect(tsBinary.version).toBe(ts.version); + }); + + it('getModulePaths should return an array of resolution paths', () => { + const loader = new TypeScriptBinaryLoader(); + const paths = loader.getModulePaths(); + expect(Array.isArray(paths)).toBe(true); + expect(paths.length).toBeGreaterThan(0); + expect(paths.every((p) => typeof p === 'string')).toBe(true); + }); +}); diff --git a/test/lib/compiler/webpack/webpack-compiler.spec.ts b/test/lib/compiler/webpack/webpack-compiler.spec.ts new file mode 100644 index 000000000..c0ab85907 --- /dev/null +++ b/test/lib/compiler/webpack/webpack-compiler.spec.ts @@ -0,0 +1,251 @@ +import { describe, it, expect, vi, beforeEach, afterEach, type Mock } from 'vitest'; +import { PluginsLoader } from '../../../../lib/compiler/plugins/plugins-loader.js'; +import { WebpackCompiler } from '../../../../lib/compiler/webpack-compiler.js'; + +import { existsSync } from 'fs'; +import { webpackDefaultsFactory } from '../../../../lib/compiler/defaults/webpack-defaults.js'; +import { getValueOrDefault } from '../../../../lib/compiler/helpers/get-value-or-default.js'; +import * as esmProjectUtil from '../../../../lib/utils/is-esm-project.js'; + +// Hoist webpack mock +const { mockWebpackModule, mockCompiler } = vi.hoisted(() => { + const mockWatchRunTapAsync = vi.fn(); + const mockWatch = vi.fn(); + const mockRun = vi.fn(); + const mockCompiler = { + hooks: { watchRun: { tapAsync: mockWatchRunTapAsync } }, + watch: mockWatch, + run: mockRun, + }; + const mockWebpack = Object.assign(vi.fn().mockReturnValue(mockCompiler), { + IgnorePlugin: vi.fn(), + }); + return { mockWebpackModule: mockWebpack, mockCompiler }; +}); + +vi.mock('fs', async (importOriginal) => { + const actual = await importOriginal(); + return { ...actual, existsSync: vi.fn().mockReturnValue(true) }; +}); + +vi.mock('module', async (importOriginal) => { + const actual = await importOriginal(); + return { + ...actual, + createRequire: (url: string | URL) => { + const realReq = actual.createRequire(url); + const mockedReq: any = (id: string) => { + if (id === 'webpack') return mockWebpackModule; + return realReq(id); + }; + mockedReq.resolve = realReq.resolve.bind(realReq); + mockedReq.resolve.paths = realReq.resolve.paths?.bind(realReq.resolve); + return mockedReq; + }, + }; +}); + +vi.mock('../../../../lib/compiler/defaults/webpack-defaults.js', () => ({ + webpackDefaultsFactory: vi.fn().mockReturnValue({ + mode: 'none', + entry: 'src/main.ts', + }), +})); + +vi.mock('../../../../lib/compiler/helpers/get-value-or-default.js', () => ({ + getValueOrDefault: vi.fn().mockReturnValue(''), +})); + +vi.mock('../../../../lib/utils/is-esm-project.js'); + +describe('Webpack Compiler', () => { + let compiler: WebpackCompiler; + let warnSpy: ReturnType; + + const mockCompilerInstance = mockWebpackModule() as any; + const mockRun = mockCompilerInstance.run; + + beforeEach(() => { + vi.clearAllMocks(); + + mockWebpackModule.mockReturnValue(mockCompiler); + vi.mocked(esmProjectUtil.isEsmProject).mockReturnValue(false); + + const PluginsLoaderStub = { + load: () => ({ + beforeHooks: [], + afterHooks: [], + afterDeclarationsHooks: [], + }), + resolvePluginReferences: () => vi.fn(), + } as unknown as PluginsLoader; + + compiler = new WebpackCompiler(PluginsLoaderStub); + + vi.mocked(webpackDefaultsFactory).mockReturnValue({ + mode: 'none', + entry: 'src/main.ts', + } as any); + vi.mocked(getValueOrDefault).mockReturnValue(''); + + vi.mocked(existsSync).mockReturnValue(true); + vi.spyOn(compiler as any, 'loadPlugins').mockReturnValue({ + beforeHooks: [], + afterHooks: [], + afterDeclarationsHooks: [], + }); + vi.spyOn(compiler as any, 'getPathToSource').mockReturnValue('src'); + + warnSpy = vi.spyOn(console, 'warn').mockImplementation(() => {}); + }); + + afterEach(() => { + vi.restoreAllMocks(); + }); + + const makeExtras = (overrides: Record = {}) => ({ + options: {}, + assetsManager: { closeWatchers: vi.fn() } as any, + webpackConfigFactoryOrConfig: {}, + debug: false, + watchMode: false, + ...overrides, + }); + + const makeConfiguration = () => + ({ + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: {}, + generateOptions: {}, + }) as any; + + describe('ESM project rejection', () => { + it('should throw an error when the project is ESM', () => { + vi.mocked(esmProjectUtil.isEsmProject).mockReturnValue(true); + + expect(() => + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras(), + ), + ).toThrow( + 'The webpack compiler does not support ESM projects', + ); + }); + + it('should suggest using rspack in the error message', () => { + vi.mocked(esmProjectUtil.isEsmProject).mockReturnValue(true); + + expect(() => + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras(), + ), + ).toThrow(/rspack/); + }); + }); + + describe('deprecation warning', () => { + it('should emit a deprecation warning for CJS projects', () => { + vi.mocked(esmProjectUtil.isEsmProject).mockReturnValue(false); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce('main') + .mockReturnValueOnce(''); + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras(), + ); + + expect(warnSpy).toHaveBeenCalledWith( + expect.stringContaining('webpack compiler is deprecated'), + ); + }); + + it('should suggest rspack in the deprecation warning', () => { + vi.mocked(esmProjectUtil.isEsmProject).mockReturnValue(false); + vi.mocked(getValueOrDefault) + .mockReturnValueOnce('main') + .mockReturnValueOnce(''); + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras(), + ); + + expect(warnSpy).toHaveBeenCalledWith( + expect.stringContaining('rspack'), + ); + }); + }); + + describe('run (CJS)', () => { + it('should throw if tsconfig file does not exist', () => { + vi.mocked(existsSync).mockReturnValue(false); + + expect(() => + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras(), + ), + ).toThrow('Could not find TypeScript configuration file'); + }); + + it('should call webpackDefaultsFactory with correct arguments (no isEsm)', () => { + vi.mocked(getValueOrDefault) + .mockReturnValueOnce('main') + .mockReturnValueOnce(''); + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras(), + ); + + expect(vi.mocked(webpackDefaultsFactory)).toHaveBeenCalledWith( + 'src', + '', + 'main', + false, + 'tsconfig.json', + expect.objectContaining({ + beforeHooks: [], + afterHooks: [], + afterDeclarationsHooks: [], + }), + ); + }); + + it('should call compiler.run for non-watch mode', () => { + vi.mocked(getValueOrDefault) + .mockReturnValueOnce('main') + .mockReturnValueOnce(''); + + compiler.run( + makeConfiguration(), + 'tsconfig.json', + undefined, + makeExtras({ watchMode: false }), + ); + + expect(mockRun).toHaveBeenCalled(); + }); + }); +}); diff --git a/test/lib/configuration/defaults.spec.ts b/test/lib/configuration/defaults.spec.ts new file mode 100644 index 000000000..8b5ae7e87 --- /dev/null +++ b/test/lib/configuration/defaults.spec.ts @@ -0,0 +1,103 @@ +import { describe, expect, it } from 'vitest'; +import { + defaultConfiguration, + defaultGitIgnore, + defaultOutDir, + defaultRspackConfigFilename, + defaultTsconfigFilename, + defaultWebpackConfigFilename, +} from '../../../lib/configuration/defaults.js'; + +describe('Configuration Defaults', () => { + describe('defaultConfiguration', () => { + it('should use TypeScript as the default language', () => { + expect(defaultConfiguration.language).toBe('ts'); + }); + + it('should use src as the default source root', () => { + expect(defaultConfiguration.sourceRoot).toBe('src'); + }); + + it('should use @nestjs/schematics as the default collection', () => { + expect(defaultConfiguration.collection).toBe('@nestjs/schematics'); + }); + + it('should use main as the default entry file', () => { + expect(defaultConfiguration.entryFile).toBe('main'); + }); + + it('should use node as the default exec', () => { + expect(defaultConfiguration.exec).toBe('node'); + }); + + it('should have empty projects by default', () => { + expect(defaultConfiguration.projects).toEqual({}); + }); + + it('should not be a monorepo by default', () => { + expect(defaultConfiguration.monorepo).toBe(false); + }); + + it('should use tsc as the default builder', () => { + expect(defaultConfiguration.compilerOptions.builder).toEqual( + expect.objectContaining({ type: 'tsc' }), + ); + }); + + it('should have webpack disabled by default', () => { + expect(defaultConfiguration.compilerOptions.webpack).toBe(false); + }); + + it('should have empty plugins by default', () => { + expect(defaultConfiguration.compilerOptions.plugins).toEqual([]); + }); + + it('should have empty assets by default', () => { + expect(defaultConfiguration.compilerOptions.assets).toEqual([]); + }); + + it('should have manual restart disabled by default', () => { + expect(defaultConfiguration.compilerOptions.manualRestart).toBe(false); + }); + + it('should have empty generate options by default', () => { + expect(defaultConfiguration.generateOptions).toEqual({}); + }); + }); + + describe('default filenames', () => { + it('should define a default tsconfig filename', () => { + expect(defaultTsconfigFilename).toBeDefined(); + expect(typeof defaultTsconfigFilename).toBe('string'); + }); + + it('should use webpack.config.js as the default webpack config', () => { + expect(defaultWebpackConfigFilename).toBe('webpack.config.js'); + }); + + it('should use rspack.config.js as the default rspack config', () => { + expect(defaultRspackConfigFilename).toBe('rspack.config.js'); + }); + + it('should use dist as the default output directory', () => { + expect(defaultOutDir).toBe('dist'); + }); + }); + + describe('defaultGitIgnore', () => { + it('should include common directories to ignore', () => { + expect(defaultGitIgnore).toContain('/dist'); + expect(defaultGitIgnore).toContain('/node_modules'); + expect(defaultGitIgnore).toContain('.DS_Store'); + }); + + it('should include dotenv files', () => { + expect(defaultGitIgnore).toContain('.env'); + }); + + it('should include IDE directories', () => { + expect(defaultGitIgnore).toContain('/.idea'); + expect(defaultGitIgnore).toContain('.vscode'); + }); + }); +}); diff --git a/test/lib/configuration/nest-configuration.loader.spec.ts b/test/lib/configuration/nest-configuration.loader.spec.ts index 49a589027..1cda6a3d8 100644 --- a/test/lib/configuration/nest-configuration.loader.spec.ts +++ b/test/lib/configuration/nest-configuration.loader.spec.ts @@ -1,20 +1,21 @@ -import { Configuration, ConfigurationLoader } from '../../../lib/configuration'; -import { NestConfigurationLoader } from '../../../lib/configuration/nest-configuration.loader'; -import { Reader } from '../../../lib/readers'; +import { describe, it, expect, vi, beforeAll } from 'vitest'; +import { Configuration, ConfigurationLoader } from '../../../lib/configuration/index.js'; +import { NestConfigurationLoader } from '../../../lib/configuration/nest-configuration.loader.js'; +import { Reader } from '../../../lib/readers/index.js'; describe('Nest Configuration Loader', () => { let reader: Reader; beforeAll(() => { - const mock = jest.fn(); + const mock = vi.fn(); mock.mockImplementation(() => { return { - readAnyOf: jest.fn(() => + readAnyOf: vi.fn(() => JSON.stringify({ language: 'ts', collection: '@nestjs/schematics', }), ), - read: jest.fn(() => + read: vi.fn(() => JSON.stringify({ language: 'ts', collection: '@nestjs/schematics', @@ -84,4 +85,111 @@ describe('Nest Configuration Loader', () => { generateOptions: {}, }); }); + + it('should deep-merge compilerOptions with defaults', async () => { + const readerWithCompilerOpts: Reader = { + list: vi.fn(() => []), + readAnyOf: vi.fn(), + read: vi.fn(() => + JSON.stringify({ + compilerOptions: { + plugins: ['my-plugin'], + }, + }), + ), + }; + const loader = new NestConfigurationLoader(readerWithCompilerOpts); + const configuration = loader.load('compiler-opts-test.json'); + expect(configuration.compilerOptions).toEqual({ + assets: [], + builder: { + options: { + configPath: 'tsconfig.json', + }, + type: 'tsc', + }, + plugins: ['my-plugin'], + webpack: false, + manualRestart: false, + }); + }); + + it('should deep-merge generateOptions with defaults', async () => { + const readerWithGenOpts: Reader = { + list: vi.fn(() => []), + readAnyOf: vi.fn(), + read: vi.fn(() => + JSON.stringify({ + generateOptions: { + spec: false, + }, + }), + ), + }; + const loader = new NestConfigurationLoader(readerWithGenOpts); + const configuration = loader.load('generate-opts-test.json'); + expect(configuration.generateOptions).toEqual({ + spec: false, + }); + }); + + it('should preserve all generateOptions fields when merging', async () => { + const readerWithAllGenOpts: Reader = { + list: vi.fn(() => []), + readAnyOf: vi.fn(), + read: vi.fn(() => + JSON.stringify({ + generateOptions: { + spec: false, + flat: true, + specFileSuffix: 'test', + baseDir: 'src', + }, + }), + ), + }; + const loader = new NestConfigurationLoader(readerWithAllGenOpts); + const configuration = loader.load('all-generate-opts-test.json'); + expect(configuration.generateOptions).toEqual({ + spec: false, + flat: true, + specFileSuffix: 'test', + baseDir: 'src', + }); + }); + + it('should deep-merge both compilerOptions and generateOptions simultaneously', async () => { + const readerWithBothOpts: Reader = { + list: vi.fn(() => []), + readAnyOf: vi.fn(), + read: vi.fn(() => + JSON.stringify({ + compilerOptions: { + deleteOutDir: true, + }, + generateOptions: { + flat: true, + }, + }), + ), + }; + const loader = new NestConfigurationLoader(readerWithBothOpts); + const configuration = loader.load('both-opts-test.json'); + expect(configuration.compilerOptions).toEqual({ + assets: [], + builder: { + options: { + configPath: 'tsconfig.json', + }, + type: 'tsc', + }, + plugins: [], + webpack: false, + manualRestart: false, + deleteOutDir: true, + }); + expect(configuration.generateOptions).toEqual({ + flat: true, + }); + }); }); diff --git a/test/lib/package-managers/bun.package-manager.spec.ts b/test/lib/package-managers/bun.package-manager.spec.ts new file mode 100644 index 000000000..0479e34d1 --- /dev/null +++ b/test/lib/package-managers/bun.package-manager.spec.ts @@ -0,0 +1,126 @@ +import { describe, it, expect, vi, beforeEach } from 'vitest'; +import { join } from 'path'; +import { + BunPackageManager, + PackageManagerCommands, +} from '../../../lib/package-managers'; +import { BunRunner } from '../../../lib/runners/bun.runner'; + +vi.mock('../../../lib/runners/bun.runner.js'); + +describe('BunPackageManager', () => { + let packageManager: BunPackageManager; + beforeEach(() => { + (BunRunner as any).mockClear(); + (BunRunner as any).mockImplementation(function () { + return { + run: (): Promise => Promise.resolve(), + }; + }); + packageManager = new BunPackageManager(); + }); + it('should be created', () => { + expect(packageManager).toBeInstanceOf(BunPackageManager); + }); + it('should have the correct cli commands', () => { + const expectedValues: PackageManagerCommands = { + install: 'install', + add: 'add', + update: 'update', + remove: 'remove', + saveFlag: '--save', + saveDevFlag: '--dev', + silentFlag: '--silent', + }; + expect(packageManager.cli).toMatchObject(expectedValues); + }); + describe('install', () => { + it('should use the proper command for installing', () => { + const spy = vi.spyOn((packageManager as any).runner, 'run'); + const dirName = '/tmp'; + const testDir = join(process.cwd(), dirName); + packageManager.install(dirName, 'npm'); + expect(spy).toBeCalledWith('install --silent', true, testDir); + }); + }); + describe('addProduction', () => { + it('should use the proper command for adding production dependencies', () => { + const spy = vi.spyOn((packageManager as any).runner, 'run'); + const dependencies = ['@nestjs/common', '@nestjs/core']; + const tag = '5.0.0'; + const command = `add --save ${dependencies + .map((dependency) => `${dependency}@${tag}`) + .join(' ')}`; + packageManager.addProduction(dependencies, tag); + expect(spy).toBeCalledWith(command, true); + }); + }); + describe('addDevelopment', () => { + it('should use the proper command for adding development dependencies', () => { + const spy = vi.spyOn((packageManager as any).runner, 'run'); + const dependencies = ['@nestjs/common', '@nestjs/core']; + const tag = '5.0.0'; + const command = `add --dev ${dependencies + .map((dependency) => `${dependency}@${tag}`) + .join(' ')}`; + packageManager.addDevelopment(dependencies, tag); + expect(spy).toBeCalledWith(command, true); + }); + }); + describe('updateProduction', () => { + it('should use the proper command for updating production dependencies', () => { + const spy = vi.spyOn((packageManager as any).runner, 'run'); + const dependencies = ['@nestjs/common', '@nestjs/core']; + const command = `update ${dependencies.join(' ')}`; + packageManager.updateProduction(dependencies); + expect(spy).toBeCalledWith(command, true); + }); + }); + describe('updateDevelopment', () => { + it('should use the proper command for updating development dependencies', () => { + const spy = vi.spyOn((packageManager as any).runner, 'run'); + const dependencies = ['@nestjs/common', '@nestjs/core']; + const command = `update ${dependencies.join(' ')}`; + packageManager.updateDevelopment(dependencies); + expect(spy).toBeCalledWith(command, true); + }); + }); + describe('upgradeProduction', () => { + it('should use the proper command for upgrading production dependencies', () => { + const spy = vi.spyOn((packageManager as any).runner, 'run'); + const dependencies = ['@nestjs/common', '@nestjs/core']; + const tag = '5.0.0'; + const uninstallCommand = `remove --save ${dependencies.join(' ')}`; + + const installCommand = `add --save ${dependencies + .map((dependency) => `${dependency}@${tag}`) + .join(' ')}`; + + return packageManager.upgradeProduction(dependencies, tag).then(() => { + expect(spy.mock.calls).toEqual([ + [uninstallCommand, true], + [installCommand, true], + ]); + }); + }); + }); + describe('upgradeDevelopment', () => { + it('should use the proper command for upgrading development dependencies', () => { + const spy = vi.spyOn((packageManager as any).runner, 'run'); + const dependencies = ['@nestjs/common', '@nestjs/core']; + const tag = '5.0.0'; + const uninstallCommand = `remove --dev ${dependencies.join(' ')}`; + + const installCommand = `add --dev ${dependencies + .map((dependency) => `${dependency}@${tag}`) + .join(' ')}`; + + return packageManager.upgradeDevelopment(dependencies, tag).then(() => { + expect(spy.mock.calls).toEqual([ + [uninstallCommand, true], + [installCommand, true], + ]); + }); + }); + }); +}); diff --git a/test/lib/package-managers/npm.package-manager.spec.ts b/test/lib/package-managers/npm.package-manager.spec.ts index 3c0ec2c74..eb5ffe40b 100644 --- a/test/lib/package-managers/npm.package-manager.spec.ts +++ b/test/lib/package-managers/npm.package-manager.spec.ts @@ -1,17 +1,18 @@ +import { describe, it, expect, vi, beforeEach } from 'vitest'; import { join } from 'path'; import { NpmPackageManager, PackageManagerCommands, -} from '../../../lib/package-managers'; -import { NpmRunner } from '../../../lib/runners/npm.runner'; +} from '../../../lib/package-managers/index.js'; +import { NpmRunner } from '../../../lib/runners/npm.runner.js'; -jest.mock('../../../lib/runners/npm.runner'); +vi.mock('../../../lib/runners/npm.runner.js'); describe('NpmPackageManager', () => { let packageManager: NpmPackageManager; beforeEach(() => { (NpmRunner as any).mockClear(); - (NpmRunner as any).mockImplementation(() => { + (NpmRunner as any).mockImplementation(function () { return { run: (): Promise => Promise.resolve(), }; @@ -35,7 +36,7 @@ describe('NpmPackageManager', () => { }); describe('install', () => { it('should use the proper command for installing', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dirName = '/tmp'; const testDir = join(process.cwd(), dirName); packageManager.install(dirName, 'npm'); @@ -44,7 +45,7 @@ describe('NpmPackageManager', () => { }); describe('addProduction', () => { it('should use the proper command for adding production dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const tag = '5.0.0'; const command = `install --save ${dependencies @@ -56,7 +57,7 @@ describe('NpmPackageManager', () => { }); describe('addDevelopment', () => { it('should use the proper command for adding development dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const tag = '5.0.0'; const command = `install --save-dev ${dependencies @@ -68,7 +69,7 @@ describe('NpmPackageManager', () => { }); describe('updateProduction', () => { it('should use the proper command for updating production dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const command = `update ${dependencies.join(' ')}`; packageManager.updateProduction(dependencies); @@ -77,7 +78,7 @@ describe('NpmPackageManager', () => { }); describe('updateDevelopment', () => { it('should use the proper command for updating development dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const command = `update ${dependencies.join(' ')}`; packageManager.updateDevelopment(dependencies); @@ -86,7 +87,7 @@ describe('NpmPackageManager', () => { }); describe('upgradeProduction', () => { it('should use the proper command for upgrading production dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const tag = '5.0.0'; const uninstallCommand = `uninstall --save ${dependencies.join(' ')}`; @@ -105,7 +106,7 @@ describe('NpmPackageManager', () => { }); describe('upgradeDevelopment', () => { it('should use the proper command for upgrading production dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const tag = '5.0.0'; const uninstallCommand = `uninstall --save-dev ${dependencies.join(' ')}`; diff --git a/test/lib/package-managers/package-manager.factory.spec.ts b/test/lib/package-managers/package-manager.factory.spec.ts index 01748ddb3..3b250e68d 100644 --- a/test/lib/package-managers/package-manager.factory.spec.ts +++ b/test/lib/package-managers/package-manager.factory.spec.ts @@ -1,25 +1,27 @@ +import { describe, it, expect, vi, afterAll, Mock } from 'vitest'; import * as fs from 'fs'; import { + BunPackageManager, NpmPackageManager, PackageManagerFactory, PnpmPackageManager, YarnPackageManager, -} from '../../../lib/package-managers'; +} from '../../../lib/package-managers/index.js'; -jest.mock('fs', () => ({ +vi.mock('fs', () => ({ promises: { - readdir: jest.fn(), + readdir: vi.fn(), }, })); describe('PackageManagerFactory', () => { afterAll(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); describe('.prototype.find()', () => { it('should return NpmPackageManager when no lock file is found', async () => { - (fs.promises.readdir as jest.Mock).mockResolvedValue([]); + (fs.promises.readdir as Mock).mockResolvedValue([]); const whenPackageManager = PackageManagerFactory.find(); await expect(whenPackageManager).resolves.toBeInstanceOf( @@ -28,7 +30,7 @@ describe('PackageManagerFactory', () => { }); it('should return YarnPackageManager when "yarn.lock" file is found', async () => { - (fs.promises.readdir as jest.Mock).mockResolvedValue(['yarn.lock']); + (fs.promises.readdir as Mock).mockResolvedValue(['yarn.lock']); const whenPackageManager = PackageManagerFactory.find(); await expect(whenPackageManager).resolves.toBeInstanceOf( @@ -37,7 +39,7 @@ describe('PackageManagerFactory', () => { }); it('should return PnpmPackageManager when "pnpm-lock.yaml" file is found', async () => { - (fs.promises.readdir as jest.Mock).mockResolvedValue(['pnpm-lock.yaml']); + (fs.promises.readdir as Mock).mockResolvedValue(['pnpm-lock.yaml']); const whenPackageManager = PackageManagerFactory.find(); await expect(whenPackageManager).resolves.toBeInstanceOf( @@ -45,11 +47,42 @@ describe('PackageManagerFactory', () => { ); }); + it('should return BunPackageManager when "bun.lock" file is found', async () => { + (fs.promises.readdir as Mock).mockResolvedValue(['bun.lock']); + + const whenPackageManager = PackageManagerFactory.find(); + await expect(whenPackageManager).resolves.toBeInstanceOf( + BunPackageManager, + ); + }); + + it('should return BunPackageManager when "bun.lockb" file is found', async () => { + (fs.promises.readdir as Mock).mockResolvedValue(['bun.lockb']); + + const whenPackageManager = PackageManagerFactory.find(); + await expect(whenPackageManager).resolves.toBeInstanceOf( + BunPackageManager, + ); + }); + + it('should fall back to NpmPackageManager when readdir rejects', async () => { + (fs.promises.readdir as Mock).mockRejectedValue( + Object.assign(new Error('ENOENT'), { code: 'ENOENT' }), + ); + + const whenPackageManager = PackageManagerFactory.find(); + await expect(whenPackageManager).resolves.toBeInstanceOf( + NpmPackageManager, + ); + }); + describe('when there are all supported lock files', () => { it('should prioritize "yarn.lock" file over all the others lock files', async () => { - (fs.promises.readdir as jest.Mock).mockResolvedValue([ + (fs.promises.readdir as Mock).mockResolvedValue([ 'pnpm-lock.yaml', 'package-lock.json', + 'bun.lock', + 'bun.lockb', // This is intentionally the last element in this array 'yarn.lock', ]); diff --git a/test/lib/package-managers/pnpm.package-manager.spec.ts b/test/lib/package-managers/pnpm.package-manager.spec.ts index 22fe330cf..1bdb4191d 100644 --- a/test/lib/package-managers/pnpm.package-manager.spec.ts +++ b/test/lib/package-managers/pnpm.package-manager.spec.ts @@ -1,17 +1,18 @@ +import { describe, it, expect, vi, beforeEach } from 'vitest'; import { join } from 'path'; import { PnpmPackageManager, PackageManagerCommands, -} from '../../../lib/package-managers'; -import { PnpmRunner } from '../../../lib/runners/pnpm.runner'; +} from '../../../lib/package-managers/index.js'; +import { PnpmRunner } from '../../../lib/runners/pnpm.runner.js'; -jest.mock('../../../lib/runners/pnpm.runner'); +vi.mock('../../../lib/runners/pnpm.runner.js'); describe('PnpmPackageManager', () => { let packageManager: PnpmPackageManager; beforeEach(() => { (PnpmRunner as any).mockClear(); - (PnpmRunner as any).mockImplementation(() => { + (PnpmRunner as any).mockImplementation(function () { return { run: (): Promise => Promise.resolve(), }; @@ -35,7 +36,7 @@ describe('PnpmPackageManager', () => { }); describe('install', () => { it('should use the proper command for installing', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dirName = '/tmp'; const testDir = join(process.cwd(), dirName); packageManager.install(dirName, 'pnpm'); @@ -48,7 +49,7 @@ describe('PnpmPackageManager', () => { }); describe('addProduction', () => { it('should use the proper command for adding production dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const tag = '5.0.0'; const command = `install --strict-peer-dependencies=false --save ${dependencies @@ -60,7 +61,7 @@ describe('PnpmPackageManager', () => { }); describe('addDevelopment', () => { it('should use the proper command for adding development dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const tag = '5.0.0'; const command = `install --strict-peer-dependencies=false --save-dev ${dependencies @@ -72,7 +73,7 @@ describe('PnpmPackageManager', () => { }); describe('updateProduction', () => { it('should use the proper command for updating production dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const command = `update ${dependencies.join(' ')}`; packageManager.updateProduction(dependencies); @@ -81,7 +82,7 @@ describe('PnpmPackageManager', () => { }); describe('updateDevelopment', () => { it('should use the proper command for updating development dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const command = `update ${dependencies.join(' ')}`; packageManager.updateDevelopment(dependencies); @@ -90,7 +91,7 @@ describe('PnpmPackageManager', () => { }); describe('upgradeProduction', () => { it('should use the proper command for upgrading production dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const tag = '5.0.0'; const uninstallCommand = `uninstall --save ${dependencies.join(' ')}`; @@ -109,7 +110,7 @@ describe('PnpmPackageManager', () => { }); describe('upgradeDevelopment', () => { it('should use the proper command for upgrading production dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const tag = '5.0.0'; const uninstallCommand = `uninstall --save-dev ${dependencies.join(' ')}`; diff --git a/test/lib/package-managers/yarn.package-manager.spec.ts b/test/lib/package-managers/yarn.package-manager.spec.ts index a4ae2c0fe..05dbf0f68 100644 --- a/test/lib/package-managers/yarn.package-manager.spec.ts +++ b/test/lib/package-managers/yarn.package-manager.spec.ts @@ -1,17 +1,18 @@ +import { describe, it, expect, vi, beforeEach } from 'vitest'; import { join } from 'path'; import { PackageManagerCommands, YarnPackageManager, -} from '../../../lib/package-managers'; -import { YarnRunner } from '../../../lib/runners/yarn.runner'; +} from '../../../lib/package-managers/index.js'; +import { YarnRunner } from '../../../lib/runners/yarn.runner.js'; -jest.mock('../../../lib/runners/yarn.runner'); +vi.mock('../../../lib/runners/yarn.runner.js'); describe('YarnPackageManager', () => { let packageManager: YarnPackageManager; beforeEach(() => { (YarnRunner as any).mockClear(); - (YarnRunner as any).mockImplementation(() => { + (YarnRunner as any).mockImplementation(function () { return { run: (): Promise => Promise.resolve(), }; @@ -35,7 +36,7 @@ describe('YarnPackageManager', () => { }); describe('install', () => { it('should use the proper command for installing', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dirName = '/tmp'; const testDir = join(process.cwd(), dirName); packageManager.install(dirName, 'yarn'); @@ -44,7 +45,7 @@ describe('YarnPackageManager', () => { }); describe('addProduction', () => { it('should use the proper command for adding production dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const tag = '5.0.0'; const command = `add ${dependencies @@ -56,7 +57,7 @@ describe('YarnPackageManager', () => { }); describe('addDevelopment', () => { it('should use the proper command for adding development dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const tag = '5.0.0'; const command = `add -D ${dependencies @@ -68,7 +69,7 @@ describe('YarnPackageManager', () => { }); describe('updateProduction', () => { it('should use the proper command for updating production dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const command = `upgrade ${dependencies.join(' ')}`; packageManager.updateProduction(dependencies); @@ -77,7 +78,7 @@ describe('YarnPackageManager', () => { }); describe('updateDevelopment', () => { it('should use the proper command for updating development dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const command = `upgrade ${dependencies.join(' ')}`; packageManager.updateDevelopment(dependencies); @@ -86,7 +87,7 @@ describe('YarnPackageManager', () => { }); describe('upgradeProduction', () => { it('should use the proper command for upgrading production dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const tag = '5.0.0'; const uninstallCommand = `remove ${dependencies.join(' ')}`; @@ -105,7 +106,7 @@ describe('YarnPackageManager', () => { }); describe('upgradeDevelopment', () => { it('should use the proper command for upgrading production dependencies', () => { - const spy = jest.spyOn((packageManager as any).runner, 'run'); + const spy = vi.spyOn((packageManager as any).runner, 'run'); const dependencies = ['@nestjs/common', '@nestjs/core']; const tag = '5.0.0'; const uninstallCommand = `remove -D ${dependencies.join(' ')}`; diff --git a/test/lib/questions/questions.spec.ts b/test/lib/questions/questions.spec.ts index caaaa27a2..edeeec28f 100644 --- a/test/lib/questions/questions.spec.ts +++ b/test/lib/questions/questions.spec.ts @@ -1,19 +1,18 @@ -import { Question } from 'inquirer'; -import { Input } from '../../../commands/command.input'; +import { describe, it, expect } from 'vitest'; import { generateInput, generateSelect, -} from '../../../lib/questions/questions'; +} from '../../../lib/questions/questions.js'; describe('Questions', () => { describe('generateInput', () => { it('should return an input question', () => { - const input: Input = { + const input = { name: 'name', value: 'test', }; const message = 'name:'; - const question: Question = generateInput(input.name, message)('name'); + const question = generateInput(input.name, message)('name'); expect(question).toEqual({ name: 'name', message, diff --git a/test/lib/readers/file-system.reader.spec.ts b/test/lib/readers/file-system.reader.spec.ts index 1c62e04dd..7cce9d0d0 100644 --- a/test/lib/readers/file-system.reader.spec.ts +++ b/test/lib/readers/file-system.reader.spec.ts @@ -1,9 +1,10 @@ +import { describe, it, expect, vi, afterAll } from 'vitest'; import * as fs from 'fs'; -import { FileSystemReader, Reader } from '../../../lib/readers'; +import { FileSystemReader, Reader } from '../../../lib/readers/index.js'; -jest.mock('fs', () => ({ - readdirSync: jest.fn().mockResolvedValue([]), - readFileSync: jest.fn().mockResolvedValue('content'), +vi.mock('fs', () => ({ + readdirSync: vi.fn().mockReturnValue([]), + readFileSync: vi.fn().mockReturnValue('content'), })); const dir: string = process.cwd(); @@ -11,7 +12,7 @@ const reader: Reader = new FileSystemReader(dir); describe('File System Reader', () => { afterAll(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); it('should use fs.readdirSync when list (for performance reasons)', async () => { reader.list(); diff --git a/test/lib/runners/abstract.runner.spec.ts b/test/lib/runners/abstract.runner.spec.ts new file mode 100644 index 000000000..349376262 --- /dev/null +++ b/test/lib/runners/abstract.runner.spec.ts @@ -0,0 +1,238 @@ +import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; +import { ChildProcess, SpawnOptions } from 'child_process'; +import { EventEmitter } from 'events'; +import { Readable } from 'stream'; + +const spawnMock = vi.fn(); + +vi.mock('child_process', async (importOriginal) => { + const actual = await importOriginal(); + return { + ...actual, + spawn: (...args: unknown[]) => spawnMock(...args), + }; +}); + +import { AbstractRunner } from '../../../lib/runners/abstract.runner.js'; + +class TestRunner extends AbstractRunner { + constructor(binary = 'test-bin', args: string[] = []) { + super(binary, args); + } +} + +function createMockChildProcess(): ChildProcess { + const child = new EventEmitter() as ChildProcess; + child.stdout = new Readable({ read() {} }) as Readable; + child.stderr = new Readable({ read() {} }) as Readable; + child.stdin = null; + child.pid = 1234; + child.killed = false; + child.connected = false; + child.exitCode = null; + child.signalCode = null; + child.kill = vi.fn(); + child.send = vi.fn(); + child.disconnect = vi.fn(); + child.unref = vi.fn(); + child.ref = vi.fn(); + return child; +} + +describe('AbstractRunner', () => { + let consoleErrorSpy: ReturnType; + + beforeEach(() => { + vi.clearAllMocks(); + consoleErrorSpy = vi.spyOn(console, 'error').mockImplementation(() => {}); + }); + + afterEach(() => { + consoleErrorSpy.mockRestore(); + }); + + describe('run', () => { + it('should spawn the full command with shell option', async () => { + const child = createMockChildProcess(); + spawnMock.mockReturnValue(child); + + const runner = new TestRunner('npm'); + const promise = runner.run('install', false); + + child.emit('close', 0); + await promise; + + expect(spawnMock).toHaveBeenCalledWith('npm install', { + cwd: process.cwd(), + stdio: 'inherit', + shell: true, + }); + }); + + it('should include constructor args in the spawned command', async () => { + const child = createMockChildProcess(); + spawnMock.mockReturnValue(child); + + const runner = new TestRunner('node', ['--experimental-modules']); + const promise = runner.run('script.js', false); + + child.emit('close', 0); + await promise; + + expect(spawnMock).toHaveBeenCalledWith( + 'node --experimental-modules script.js', + expect.any(Object), + ); + }); + + it('should resolve with null when collect is false and exit code is 0', async () => { + const child = createMockChildProcess(); + spawnMock.mockReturnValue(child); + + const runner = new TestRunner('npm'); + const promise = runner.run('install', false); + + child.emit('close', 0); + const result = await promise; + + expect(result).toBeNull(); + }); + + it('should reject when exit code is non-zero and collect is false', async () => { + const child = createMockChildProcess(); + spawnMock.mockReturnValue(child); + + const runner = new TestRunner('npm'); + const promise = runner.run('install', false); + + child.emit('close', 1); + + await expect(promise).rejects.toBeUndefined(); + }); + + it('should use pipe stdio when collect is true', async () => { + const child = createMockChildProcess(); + spawnMock.mockReturnValue(child); + + const runner = new TestRunner('npm'); + const promise = runner.run('--version', true); + + child.stdout!.emit('data', Buffer.from('10.0.0\n')); + child.emit('close', 0); + + await promise; + + expect(spawnMock).toHaveBeenCalledWith( + 'npm --version', + expect.objectContaining({ stdio: 'pipe' }), + ); + }); + + it('should collect all stdout chunks when collect is true', async () => { + const child = createMockChildProcess(); + spawnMock.mockReturnValue(child); + + const runner = new TestRunner('npm'); + const promise = runner.run('--version', true); + + // Simulate multiple data chunks + child.stdout!.emit('data', Buffer.from('10.')); + child.stdout!.emit('data', Buffer.from('0.')); + child.stdout!.emit('data', Buffer.from('0\n')); + child.emit('close', 0); + + const result = await promise; + expect(result).toBe('10.0.0'); + }); + + it('should strip all newlines from collected output', async () => { + const child = createMockChildProcess(); + spawnMock.mockReturnValue(child); + + const runner = new TestRunner('npm'); + const promise = runner.run('--version', true); + + child.stdout!.emit('data', Buffer.from('10.0.0\r\n')); + child.emit('close', 0); + + const result = await promise; + expect(result).toBe('10.0.0'); + }); + + it('should strip multiple newlines from collected output', async () => { + const child = createMockChildProcess(); + spawnMock.mockReturnValue(child); + + const runner = new TestRunner('some-tool'); + const promise = runner.run('info', true); + + child.stdout!.emit('data', Buffer.from('line1\nline2\nline3\n')); + child.emit('close', 0); + + const result = await promise; + expect(result).toBe('line1line2line3'); + }); + + it('should reject when collect is true and exit code is non-zero', async () => { + const child = createMockChildProcess(); + spawnMock.mockReturnValue(child); + + const runner = new TestRunner('npm'); + const promise = runner.run('install bad-pkg', true); + + child.stdout!.emit('data', Buffer.from('error output')); + child.emit('close', 1); + + await expect(promise).rejects.toBeUndefined(); + }); + + it('should use the provided cwd option', async () => { + const child = createMockChildProcess(); + spawnMock.mockReturnValue(child); + + const runner = new TestRunner('npm'); + const customCwd = '/custom/path'; + const promise = runner.run('install', false, customCwd); + + child.emit('close', 0); + await promise; + + expect(spawnMock).toHaveBeenCalledWith( + 'npm install', + expect.objectContaining({ cwd: customCwd }), + ); + }); + + it('should not duplicate binary name in error message', async () => { + const child = createMockChildProcess(); + spawnMock.mockReturnValue(child); + + const runner = new TestRunner('npm'); + const promise = runner.run('--version', false); + + child.emit('close', 1); + + await expect(promise).rejects.toBeUndefined(); + + const errorArg = consoleErrorSpy.mock.calls[0]?.[0] as string; + // The error message should contain "npm --version" exactly once, + // not "npm npm --version" (which was the old shadowing bug) + expect(errorArg).toContain('npm --version'); + expect(errorArg).not.toContain('npm npm --version'); + }); + }); + + describe('rawFullCommand', () => { + it('should return the full command string', () => { + const runner = new TestRunner('npm'); + const result = runner.rawFullCommand('install'); + expect(result).toBe('npm install'); + }); + + it('should include constructor args in the full command', () => { + const runner = new TestRunner('node', ['--experimental-modules']); + const result = runner.rawFullCommand('script.js'); + expect(result).toBe('node --experimental-modules script.js'); + }); + }); +}); diff --git a/test/lib/runners/runner-implementations.spec.ts b/test/lib/runners/runner-implementations.spec.ts new file mode 100644 index 000000000..85288617d --- /dev/null +++ b/test/lib/runners/runner-implementations.spec.ts @@ -0,0 +1,55 @@ +import { describe, expect, it } from 'vitest'; +import { GitRunner } from '../../../lib/runners/git.runner.js'; +import { NpmRunner } from '../../../lib/runners/npm.runner.js'; +import { PnpmRunner } from '../../../lib/runners/pnpm.runner.js'; +import { YarnRunner } from '../../../lib/runners/yarn.runner.js'; + +describe('Runner Implementations', () => { + describe('NpmRunner', () => { + it('should use "npm" as the binary', () => { + const runner = new NpmRunner(); + expect(runner.rawFullCommand('install')).toContain('npm'); + }); + + it('should produce the correct full command', () => { + const runner = new NpmRunner(); + expect(runner.rawFullCommand('install')).toBe('npm install'); + }); + }); + + describe('YarnRunner', () => { + it('should use "yarn" as the binary', () => { + const runner = new YarnRunner(); + expect(runner.rawFullCommand('add')).toContain('yarn'); + }); + + it('should produce the correct full command', () => { + const runner = new YarnRunner(); + expect(runner.rawFullCommand('add lodash')).toBe('yarn add lodash'); + }); + }); + + describe('PnpmRunner', () => { + it('should use "pnpm" as the binary', () => { + const runner = new PnpmRunner(); + expect(runner.rawFullCommand('install')).toContain('pnpm'); + }); + + it('should produce the correct full command', () => { + const runner = new PnpmRunner(); + expect(runner.rawFullCommand('add lodash')).toBe('pnpm add lodash'); + }); + }); + + describe('GitRunner', () => { + it('should use "git" as the binary', () => { + const runner = new GitRunner(); + expect(runner.rawFullCommand('init')).toContain('git'); + }); + + it('should produce the correct full command', () => { + const runner = new GitRunner(); + expect(runner.rawFullCommand('init')).toBe('git init'); + }); + }); +}); diff --git a/test/lib/runners/runner.factory.spec.ts b/test/lib/runners/runner.factory.spec.ts new file mode 100644 index 000000000..3806591a1 --- /dev/null +++ b/test/lib/runners/runner.factory.spec.ts @@ -0,0 +1,43 @@ +import { describe, expect, it } from 'vitest'; +import { NpmRunner } from '../../../lib/runners/npm.runner.js'; +import { PnpmRunner } from '../../../lib/runners/pnpm.runner.js'; +import { Runner } from '../../../lib/runners/runner.js'; +import { RunnerFactory } from '../../../lib/runners/runner.factory.js'; +import { SchematicRunner } from '../../../lib/runners/schematic.runner.js'; +import { YarnRunner } from '../../../lib/runners/yarn.runner.js'; + +describe('RunnerFactory', () => { + it('should create a SchematicRunner for Runner.SCHEMATIC', () => { + const runner = RunnerFactory.create(Runner.SCHEMATIC); + expect(runner).toBeInstanceOf(SchematicRunner); + }); + + it('should create an NpmRunner for Runner.NPM', () => { + const runner = RunnerFactory.create(Runner.NPM); + expect(runner).toBeInstanceOf(NpmRunner); + }); + + it('should create a YarnRunner for Runner.YARN', () => { + const runner = RunnerFactory.create(Runner.YARN); + expect(runner).toBeInstanceOf(YarnRunner); + }); + + it('should create a PnpmRunner for Runner.PNPM', () => { + const runner = RunnerFactory.create(Runner.PNPM); + expect(runner).toBeInstanceOf(PnpmRunner); + }); + + it('should throw for an unsupported runner', () => { + expect(() => RunnerFactory.create(999 as Runner)).toThrow( + 'Unsupported runner: 999', + ); + }); + + it('should return a new instance on each call', () => { + const runner1 = RunnerFactory.create(Runner.NPM); + const runner2 = RunnerFactory.create(Runner.NPM); + expect(runner1).not.toBe(runner2); + expect(runner1).toBeInstanceOf(NpmRunner); + expect(runner2).toBeInstanceOf(NpmRunner); + }); +}); diff --git a/test/lib/runners/schematic.runner.spec.ts b/test/lib/runners/schematic.runner.spec.ts index ee75e7d12..911ab86ea 100644 --- a/test/lib/runners/schematic.runner.spec.ts +++ b/test/lib/runners/schematic.runner.spec.ts @@ -1,4 +1,10 @@ +import { describe, it, expect } from 'vitest'; +import { createRequire } from 'module'; import * as path from 'path'; +import { fileURLToPath } from 'url'; + +const __filename = fileURLToPath(import.meta.url); +const require = createRequire(import.meta.url); const withSep = (route: string) => path.resolve(route.split('/').join(path.sep)); @@ -39,11 +45,16 @@ describe('SchematicRunner', () => { }); describe('getModulePathsMock', () => { - it('it should return the same array as the module.paths module-local field', () => { - const realModulePath = module.paths; + it('it should return a subset of the resolve paths', () => { + const realModulePath = require.resolve.paths('@angular-devkit/schematics-cli') ?? []; const mockedModulePath = getModulePathsMock(__filename)(); - expect(mockedModulePath).toEqual(realModulePath); + // require.resolve.paths() may include extra global paths + // (e.g. ~/.node_modules, ~/.node_libraries) that the mock doesn't generate. + // Verify the mock's paths are all contained in the real paths. + for (const p of mockedModulePath) { + expect(realModulePath).toContain(p); + } }); }); }); diff --git a/test/lib/schematics/abstract.collection.spec.ts b/test/lib/schematics/abstract.collection.spec.ts new file mode 100644 index 000000000..ead1eb8ce --- /dev/null +++ b/test/lib/schematics/abstract.collection.spec.ts @@ -0,0 +1,80 @@ +import { describe, expect, it, vi } from 'vitest'; +import { AbstractRunner } from '../../../lib/runners/abstract.runner.js'; +import { AbstractCollection } from '../../../lib/schematics/abstract.collection.js'; +import { SchematicOption } from '../../../lib/schematics/schematic.option.js'; + +class TestCollection extends AbstractCollection { + getSchematics() { + return [{ name: 'test', alias: 't', description: 'Test schematic' }]; + } +} + +describe('AbstractCollection', () => { + it('should build a command line from schematic name and options', async () => { + const runMock = vi.fn().mockResolvedValue(null); + const runner = { run: runMock } as unknown as AbstractRunner; + const collection = new TestCollection('@test/schematics', runner); + + await collection.execute('controller', [ + new SchematicOption('name', 'users'), + ]); + + expect(runMock).toHaveBeenCalledWith( + '@test/schematics:controller --name=users', + ); + }); + + it('should concatenate multiple options', async () => { + const runMock = vi.fn().mockResolvedValue(null); + const runner = { run: runMock } as unknown as AbstractRunner; + const collection = new TestCollection('@test/schematics', runner); + + await collection.execute('service', [ + new SchematicOption('name', 'auth'), + new SchematicOption('flat', true), + new SchematicOption('spec', false), + ]); + + expect(runMock).toHaveBeenCalledWith( + '@test/schematics:service --name=auth --flat --spec=false', + ); + }); + + it('should append extra flags to the command', async () => { + const runMock = vi.fn().mockResolvedValue(null); + const runner = { run: runMock } as unknown as AbstractRunner; + const collection = new TestCollection('@test/schematics', runner); + + await collection.execute( + 'resource', + [new SchematicOption('name', 'posts')], + '--dry-run', + ); + + expect(runMock).toHaveBeenCalledWith( + '@test/schematics:resource --name=posts --dry-run', + ); + }); + + it('should handle empty options array', async () => { + const runMock = vi.fn().mockResolvedValue(null); + const runner = { run: runMock } as unknown as AbstractRunner; + const collection = new TestCollection('@test/schematics', runner); + + await collection.execute('module', []); + + expect(runMock).toHaveBeenCalledWith('@test/schematics:module'); + }); + + it('should not append extra flags when undefined', async () => { + const runMock = vi.fn().mockResolvedValue(null); + const runner = { run: runMock } as unknown as AbstractRunner; + const collection = new TestCollection('@test/schematics', runner); + + await collection.execute('guard', [new SchematicOption('name', 'auth')]); + + expect(runMock).toHaveBeenCalledWith( + '@test/schematics:guard --name=auth', + ); + }); +}); diff --git a/test/lib/schematics/collection.factory.spec.ts b/test/lib/schematics/collection.factory.spec.ts new file mode 100644 index 000000000..f29c777a8 --- /dev/null +++ b/test/lib/schematics/collection.factory.spec.ts @@ -0,0 +1,27 @@ +import { describe, expect, it } from 'vitest'; +import { CollectionFactory } from '../../../lib/schematics/collection.factory.js'; +import { Collection } from '../../../lib/schematics/collection.js'; +import { CustomCollection } from '../../../lib/schematics/custom.collection.js'; +import { NestCollection } from '../../../lib/schematics/nest.collection.js'; + +describe('CollectionFactory', () => { + it('should create a NestCollection for the NestJS collection', () => { + const collection = CollectionFactory.create(Collection.NESTJS); + expect(collection).toBeInstanceOf(NestCollection); + }); + + it('should create a NestCollection when passed the string value', () => { + const collection = CollectionFactory.create('@nestjs/schematics'); + expect(collection).toBeInstanceOf(NestCollection); + }); + + it('should create a CustomCollection for a non-NestJS collection', () => { + const collection = CollectionFactory.create('@custom/schematics'); + expect(collection).toBeInstanceOf(CustomCollection); + }); + + it('should create a CustomCollection for any arbitrary collection name', () => { + const collection = CollectionFactory.create('my-local-schematics'); + expect(collection).toBeInstanceOf(CustomCollection); + }); +}); diff --git a/test/lib/schematics/custom.collection.spec.ts b/test/lib/schematics/custom.collection.spec.ts index a7410ae4c..0f46d3968 100644 --- a/test/lib/schematics/custom.collection.spec.ts +++ b/test/lib/schematics/custom.collection.spec.ts @@ -1,14 +1,55 @@ -import { resolve } from 'path'; -import { AbstractRunner } from '../../../lib/runners'; -import { CustomCollection } from '../../../lib/schematics/custom.collection'; +import { describe, it, expect, vi } from 'vitest'; +import { resolve, dirname } from 'path'; +import { readFileSync } from 'fs'; +import { createRequire } from 'module'; +import { AbstractRunner } from '../../../lib/runners/index.js'; + +const require = createRequire(import.meta.url); + +// Mock @angular-devkit/schematics/tools to avoid the ora CJS/ESM +// incompatibility that prevents the real module from loading. +// The mock reads collection.json fixtures directly, which is sufficient +// to exercise CustomCollection.getSchematics() extraction logic. +vi.mock('@angular-devkit/schematics/tools/index.js', async () => { + const fs = await import('fs'); + const path = await import('path'); + + function loadCollection(collectionPath: string) { + const json = JSON.parse(fs.readFileSync(collectionPath, 'utf8')); + const baseDescriptions: any[] = []; + if (json.extends) { + for (const ext of json.extends) { + const extPath = path.resolve(path.dirname(collectionPath), ext); + const extJson = JSON.parse(fs.readFileSync(extPath, 'utf8')); + baseDescriptions.push({ schematics: extJson.schematics }); + } + } + return { + description: { schematics: json.schematics }, + baseDescriptions, + }; + } + + return { + NodeWorkflow: vi.fn().mockImplementation(function () { + return { + engine: { + createCollection: loadCollection, + }, + }; + }), + }; +}); + +import { CustomCollection } from '../../../lib/schematics/custom.collection.js'; describe('Custom Collection', () => { it(`should list schematics from simple collection`, async () => { - const mock = jest.fn(); + const mock = vi.fn(); mock.mockImplementation(() => { return { logger: {}, - run: jest.fn().mockImplementation(() => Promise.resolve()), + run: vi.fn().mockImplementation(() => Promise.resolve()), }; }); const mockedRunner = mock(); @@ -25,11 +66,11 @@ describe('Custom Collection', () => { }); it(`should list schematics from extended collection`, async () => { - const mock = jest.fn(); + const mock = vi.fn(); mock.mockImplementation(() => { return { logger: {}, - run: jest.fn().mockImplementation(() => Promise.resolve()), + run: vi.fn().mockImplementation(() => Promise.resolve()), }; }); const mockedRunner = mock(); @@ -56,16 +97,23 @@ describe('Custom Collection', () => { }); it(`should list schematics from package with collection.json path in package.json`, async () => { - const mock = jest.fn(); + const mock = vi.fn(); mock.mockImplementation(() => { return { logger: {}, - run: jest.fn().mockImplementation(() => Promise.resolve()), + run: vi.fn().mockImplementation(() => Promise.resolve()), }; }); const mockedRunner = mock(); + + // Resolve the collection path via the fixture's package.json schematics + // field, simulating what NodeModulesEngineHost does for bare package names. + const pkgJsonPath = require.resolve('./fixtures/package/package.json'); + const pkgJson = require(pkgJsonPath); + const collectionPath = resolve(dirname(pkgJsonPath), pkgJson.schematics); + const collection = new CustomCollection( - 'package', + collectionPath, mockedRunner as AbstractRunner, ); const schematics = collection.getSchematics(); diff --git a/test/lib/schematics/nest.collection.spec.ts b/test/lib/schematics/nest.collection.spec.ts index f9ae714c4..2ccf485da 100644 --- a/test/lib/schematics/nest.collection.spec.ts +++ b/test/lib/schematics/nest.collection.spec.ts @@ -1,5 +1,6 @@ -import { AbstractRunner } from '../../../lib/runners'; -import { NestCollection } from '../../../lib/schematics/nest.collection'; +import { describe, it, expect, vi } from 'vitest'; +import { AbstractRunner } from '../../../lib/runners/index.js'; +import { NestCollection } from '../../../lib/schematics/nest.collection.js'; describe('Nest Collection', () => { [ @@ -24,11 +25,11 @@ describe('Nest Collection', () => { 'resource', ].forEach((schematic) => { it(`should call runner with ${schematic} schematic name`, async () => { - const mock = jest.fn(); + const mock = vi.fn(); mock.mockImplementation(() => { return { logger: {}, - run: jest.fn().mockImplementation(() => Promise.resolve()), + run: vi.fn().mockImplementation(() => Promise.resolve()), }; }); const mockedRunner = mock(); @@ -61,11 +62,11 @@ describe('Nest Collection', () => { { name: 'resource', alias: 'res' }, ].forEach((schematic) => { it(`should call runner with schematic ${schematic.name} name when use ${schematic.alias} alias`, async () => { - const mock = jest.fn(); + const mock = vi.fn(); mock.mockImplementation(() => { return { logger: {}, - run: jest.fn().mockImplementation(() => Promise.resolve()), + run: vi.fn().mockImplementation(() => Promise.resolve()), }; }); const mockedRunner = mock(); @@ -77,11 +78,11 @@ describe('Nest Collection', () => { }); }); it('should throw an error when schematic name is not in nest collection', async () => { - const mock = jest.fn(); + const mock = vi.fn(); mock.mockImplementation(() => { return { logger: {}, - run: jest.fn().mockImplementation(() => Promise.resolve()), + run: vi.fn().mockImplementation(() => Promise.resolve()), }; }); const mockedRunner = mock(); diff --git a/test/lib/schematics/schematic.option.spec.ts b/test/lib/schematics/schematic.option.spec.ts index de4f13451..89843da70 100644 --- a/test/lib/schematics/schematic.option.spec.ts +++ b/test/lib/schematics/schematic.option.spec.ts @@ -1,4 +1,5 @@ -import { SchematicOption } from '../../../lib/schematics'; +import { describe, it, expect } from 'vitest'; +import { SchematicOption } from '../../../lib/schematics/schematic.option.js'; interface TestOption { input: string; @@ -106,7 +107,7 @@ describe('Schematic Option', () => { if (test.input) { expect(option.toCommandString()).toEqual(`--${test.option}`); } else { - expect(option.toCommandString()).toEqual(`--no-${test.option}`); + expect(option.toCommandString()).toEqual(`--${test.option}=false`); } } else { expect(option.toCommandString()).toEqual( @@ -118,6 +119,6 @@ describe('Schematic Option', () => { it('should manage boolean option', () => { const option = new SchematicOption('dry-run', false); - expect(option.toCommandString()).toEqual('--no-dry-run'); + expect(option.toCommandString()).toEqual('--dry-run=false'); }); }); diff --git a/test/lib/utils/extra-args-warning.spec.ts b/test/lib/utils/extra-args-warning.spec.ts index ef55c803c..67728b62b 100644 --- a/test/lib/utils/extra-args-warning.spec.ts +++ b/test/lib/utils/extra-args-warning.spec.ts @@ -1,15 +1,25 @@ import { Command } from 'commander'; -import { exitIfExtraArgs } from '../../../lib/utils/extra-args-warning'; +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; +import { exitIfExtraArgs } from '../../../lib/utils/extra-args-warning.js'; + +function createCommandMock(name: string, args: string[]): Command { + return { + name: () => name, + parent: { + args, + }, + } as unknown as Command; +} describe('exitIfExtraArgs', () => { - let processExitSpy: jest.SpyInstance; - let consoleErrorSpy: jest.SpyInstance; + let processExitSpy: ReturnType; + let consoleErrorSpy: ReturnType; beforeEach(() => { - processExitSpy = jest + processExitSpy = vi .spyOn(process, 'exit') .mockImplementation(() => undefined as never); - consoleErrorSpy = jest + consoleErrorSpy = vi .spyOn(console, 'error') .mockImplementation(() => undefined); }); @@ -20,48 +30,27 @@ describe('exitIfExtraArgs', () => { }); it('should not exit when argument count matches expected', () => { - const program = new Command(); - const sub = program.command('generate [name] [path]'); - sub.action((schematic, name, path, cmd) => { - exitIfExtraArgs(cmd, 3); - }); - - program.parse(['node', 'test', 'generate', 'resource', 'myName', 'myPath']); + exitIfExtraArgs( + createCommandMock('generate', ['resource', 'myName', 'myPath']), + 3, + ); expect(processExitSpy).not.toHaveBeenCalled(); expect(consoleErrorSpy).not.toHaveBeenCalled(); }); it('should not exit when fewer arguments than expected are passed', () => { - const program = new Command(); - const sub = program.command('generate [name] [path]'); - sub.action((schematic, name, path, cmd) => { - exitIfExtraArgs(cmd, 3); - }); - - program.parse(['node', 'test', 'generate', 'resource']); + exitIfExtraArgs(createCommandMock('generate', ['resource']), 3); expect(processExitSpy).not.toHaveBeenCalled(); expect(consoleErrorSpy).not.toHaveBeenCalled(); }); it('should exit with error when extra arguments are passed to generate', () => { - const program = new Command(); - const sub = program.command('generate [name] [path]'); - sub.action((schematic, name, path, cmd) => { - exitIfExtraArgs(cmd, 3); - }); - - program.parse([ - 'node', - 'test', - 'generate', - 'resource', - 'aa', - 'bb', - 'cc', - 'dd', - ]); + exitIfExtraArgs( + createCommandMock('generate', ['resource', 'aa', 'bb', 'cc', 'dd']), + 3, + ); expect(processExitSpy).toHaveBeenCalledWith(1); expect(consoleErrorSpy).toHaveBeenCalledWith( @@ -73,13 +62,7 @@ describe('exitIfExtraArgs', () => { }); it('should exit with error when extra arguments are passed to new', () => { - const program = new Command(); - const sub = program.command('new [name]'); - sub.action((name, cmd) => { - exitIfExtraArgs(cmd, 1); - }); - - program.parse(['node', 'test', 'new', 'a', 'b', 'c']); + exitIfExtraArgs(createCommandMock('new', ['a', 'b', 'c']), 1); expect(processExitSpy).toHaveBeenCalledWith(1); expect(consoleErrorSpy).toHaveBeenCalledWith( @@ -91,13 +74,7 @@ describe('exitIfExtraArgs', () => { }); it('should exit with error when extra arguments are passed to info', () => { - const program = new Command(); - const sub = program.command('info'); - sub.action((cmd) => { - exitIfExtraArgs(cmd, 0); - }); - - program.parse(['node', 'test', 'info', 'extra']); + exitIfExtraArgs(createCommandMock('info', ['extra']), 0); expect(processExitSpy).toHaveBeenCalledWith(1); expect(consoleErrorSpy).toHaveBeenCalledWith( @@ -109,21 +86,10 @@ describe('exitIfExtraArgs', () => { }); it('should include command name in the help message', () => { - const program = new Command(); - const sub = program.command('generate [name] [path]'); - sub.action((schematic, name, path, cmd) => { - exitIfExtraArgs(cmd, 3); - }); - - program.parse([ - 'node', - 'test', - 'generate', - 'resource', - 'aa', - 'bb', - 'extra', - ]); + exitIfExtraArgs( + createCommandMock('generate', ['resource', 'aa', 'bb', 'extra']), + 3, + ); expect(consoleErrorSpy).toHaveBeenCalledWith( expect.stringContaining('nest generate --help'), diff --git a/test/lib/utils/formatting.spec.ts b/test/lib/utils/formatting.spec.ts new file mode 100644 index 000000000..429c83045 --- /dev/null +++ b/test/lib/utils/formatting.spec.ts @@ -0,0 +1,62 @@ +import { describe, expect, it } from 'vitest'; +import { normalizeToKebabOrSnakeCase } from '../../../lib/utils/formatting.js'; + +describe('normalizeToKebabOrSnakeCase', () => { + it('should convert camelCase to kebab-case', () => { + expect(normalizeToKebabOrSnakeCase('myModule')).toBe('my-module'); + }); + + it('should convert PascalCase to kebab-case', () => { + expect(normalizeToKebabOrSnakeCase('MyModule')).toBe('my-module'); + }); + + it('should convert multi-word camelCase to kebab-case', () => { + expect(normalizeToKebabOrSnakeCase('myNewModule')).toBe('my-new-module'); + }); + + it('should replace spaces with dashes', () => { + expect(normalizeToKebabOrSnakeCase('my module')).toBe('my-module'); + }); + + it('should replace multiple spaces with dashes', () => { + expect(normalizeToKebabOrSnakeCase('my new module')).toBe('my-new-module'); + }); + + it('should lowercase uppercase strings', () => { + expect(normalizeToKebabOrSnakeCase('MYMODULE')).toBe('mymodule'); + }); + + it('should preserve underscores', () => { + expect(normalizeToKebabOrSnakeCase('my_module')).toBe('my_module'); + }); + + it('should handle already kebab-case strings', () => { + expect(normalizeToKebabOrSnakeCase('my-module')).toBe('my-module'); + }); + + it('should handle single word strings', () => { + expect(normalizeToKebabOrSnakeCase('module')).toBe('module'); + }); + + it('should handle empty string', () => { + expect(normalizeToKebabOrSnakeCase('')).toBe(''); + }); + + it('should handle camelCase with numbers', () => { + expect(normalizeToKebabOrSnakeCase('module1Name')).toBe('module1-name'); + }); + + it('should handle mixed spaces and camelCase', () => { + expect(normalizeToKebabOrSnakeCase('myModule name')).toBe('my-module-name'); + }); + + it('should handle consecutive uppercase letters', () => { + // The regex only splits on lowercase-to-uppercase boundaries, + // so consecutive uppercase letters are not individually separated + expect(normalizeToKebabOrSnakeCase('myHTTPServer')).toBe('my-httpserver'); + }); + + it('should handle strings with tabs by replacing them with dashes', () => { + expect(normalizeToKebabOrSnakeCase('my\tmodule')).toBe('my-module'); + }); +}); diff --git a/test/lib/utils/get-default-tsconfig-path.spec.ts b/test/lib/utils/get-default-tsconfig-path.spec.ts index f872bfeaa..b7dba8ee5 100644 --- a/test/lib/utils/get-default-tsconfig-path.spec.ts +++ b/test/lib/utils/get-default-tsconfig-path.spec.ts @@ -1,23 +1,24 @@ +import { describe, it, expect, vi, afterAll } from 'vitest'; import * as fs from 'fs'; -import { getDefaultTsconfigPath } from '../../../lib/utils/get-default-tsconfig-path'; +import { getDefaultTsconfigPath } from '../../../lib/utils/get-default-tsconfig-path.js'; -jest.mock('fs', () => { +vi.mock('fs', () => { return { - existsSync: jest.fn(), + existsSync: vi.fn(), }; }); describe('getDefaultTsconfigPath', () => { afterAll(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); it('should get tsconfig.json when tsconfig.build.json not exist', () => { - jest.spyOn(fs, 'existsSync').mockReturnValue(false); + vi.spyOn(fs, 'existsSync').mockReturnValue(false); const result = getDefaultTsconfigPath(); expect(result).toBe('tsconfig.json'); }); it('should get tsconfig.build.json when tsconfig.build.json exist', () => { - jest.spyOn(fs, 'existsSync').mockReturnValue(true); + vi.spyOn(fs, 'existsSync').mockReturnValue(true); const result = getDefaultTsconfigPath(); expect(result).toBe('tsconfig.build.json'); }); diff --git a/test/lib/utils/gracefully-exit-on-prompt-error.spec.ts b/test/lib/utils/gracefully-exit-on-prompt-error.spec.ts new file mode 100644 index 000000000..c01383a81 --- /dev/null +++ b/test/lib/utils/gracefully-exit-on-prompt-error.spec.ts @@ -0,0 +1,57 @@ +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; +import { gracefullyExitOnPromptError } from '../../../lib/utils/gracefully-exit-on-prompt-error.js'; + +describe('gracefullyExitOnPromptError', () => { + let processExitSpy: ReturnType; + + beforeEach(() => { + processExitSpy = vi + .spyOn(process, 'exit') + .mockImplementation(() => undefined as never); + }); + + afterEach(() => { + processExitSpy.mockRestore(); + }); + + it('should call process.exit(1) when error name is ExitPromptError', () => { + const error = new Error('user cancelled'); + error.name = 'ExitPromptError'; + + gracefullyExitOnPromptError(error); + + expect(processExitSpy).toHaveBeenCalledWith(1); + }); + + it('should throw the error when error name is not ExitPromptError', () => { + const error = new Error('something went wrong'); + + expect(() => gracefullyExitOnPromptError(error)).toThrow( + 'something went wrong', + ); + expect(processExitSpy).not.toHaveBeenCalled(); + }); + + it('should throw TypeError for non-ExitPromptError types', () => { + const error = new TypeError('type error'); + + expect(() => gracefullyExitOnPromptError(error)).toThrow(TypeError); + expect(processExitSpy).not.toHaveBeenCalled(); + }); + + it('should throw RangeError for non-ExitPromptError types', () => { + const error = new RangeError('range error'); + + expect(() => gracefullyExitOnPromptError(error)).toThrow(RangeError); + expect(processExitSpy).not.toHaveBeenCalled(); + }); + + it('should handle ExitPromptError regardless of message content', () => { + const error = new Error(''); + error.name = 'ExitPromptError'; + + gracefullyExitOnPromptError(error); + + expect(processExitSpy).toHaveBeenCalledWith(1); + }); +}); diff --git a/test/lib/utils/is-esm-project.spec.ts b/test/lib/utils/is-esm-project.spec.ts new file mode 100644 index 000000000..40f5273d1 --- /dev/null +++ b/test/lib/utils/is-esm-project.spec.ts @@ -0,0 +1,78 @@ +import * as fs from 'fs'; +import { afterEach, describe, expect, it, vi } from 'vitest'; +import { isEsmProject } from '../../../lib/utils/is-esm-project.js'; + +vi.mock('fs', () => ({ + readFileSync: vi.fn(), +})); + +describe('isEsmProject', () => { + afterEach(() => { + vi.restoreAllMocks(); + }); + + it('should return true when package.json has "type": "module"', () => { + vi.spyOn(fs, 'readFileSync').mockReturnValue( + JSON.stringify({ type: 'module' }), + ); + + expect(isEsmProject('/some/path')).toBe(true); + }); + + it('should return false when package.json has "type": "commonjs"', () => { + vi.spyOn(fs, 'readFileSync').mockReturnValue( + JSON.stringify({ type: 'commonjs' }), + ); + + expect(isEsmProject('/some/path')).toBe(false); + }); + + it('should return false when package.json has no "type" field', () => { + vi.spyOn(fs, 'readFileSync').mockReturnValue( + JSON.stringify({ name: 'my-project' }), + ); + + expect(isEsmProject('/some/path')).toBe(false); + }); + + it('should return false when package.json does not exist', () => { + vi.spyOn(fs, 'readFileSync').mockImplementation(() => { + throw new Error('ENOENT: no such file or directory'); + }); + + expect(isEsmProject('/nonexistent/path')).toBe(false); + }); + + it('should return false when package.json contains invalid JSON', () => { + vi.spyOn(fs, 'readFileSync').mockReturnValue('not valid json'); + + expect(isEsmProject('/some/path')).toBe(false); + }); + + it('should return false when "type" is an empty string', () => { + vi.spyOn(fs, 'readFileSync').mockReturnValue(JSON.stringify({ type: '' })); + + expect(isEsmProject('/some/path')).toBe(false); + }); + + it('should return false when "type" is null', () => { + vi.spyOn(fs, 'readFileSync').mockReturnValue( + JSON.stringify({ type: null }), + ); + + expect(isEsmProject('/some/path')).toBe(false); + }); + + it('should read package.json from the provided directory', () => { + const readSpy = vi + .spyOn(fs, 'readFileSync') + .mockReturnValue(JSON.stringify({ type: 'module' })); + + isEsmProject('/custom/dir'); + + expect(readSpy).toHaveBeenCalledWith( + expect.stringContaining('package.json'), + 'utf-8', + ); + }); +}); diff --git a/test/lib/utils/is-module-available.spec.ts b/test/lib/utils/is-module-available.spec.ts new file mode 100644 index 000000000..4fd71fdc2 --- /dev/null +++ b/test/lib/utils/is-module-available.spec.ts @@ -0,0 +1,31 @@ +import { describe, expect, it } from 'vitest'; +import { isModuleAvailable } from '../../../lib/utils/is-module-available.js'; + +describe('isModuleAvailable', () => { + it('should return true for a module that can be resolved', () => { + // typescript is a direct dependency of nest-cli + expect(isModuleAvailable('typescript')).toBe(true); + }); + + it('should return true for a built-in Node.js module', () => { + expect(isModuleAvailable('fs')).toBe(true); + }); + + it('should return true for another built-in Node.js module', () => { + expect(isModuleAvailable('path')).toBe(true); + }); + + it('should return false for a non-existent package', () => { + expect( + isModuleAvailable('this-module-really-does-not-exist-abcxyz123'), + ).toBe(false); + }); + + it('should return false for an invalid relative path', () => { + expect(isModuleAvailable('../../../does/not/exist.js')).toBe(false); + }); + + it('should return false when resolution throws for an empty string', () => { + expect(isModuleAvailable('')).toBe(false); + }); +}); diff --git a/test/lib/utils/load-configuration.spec.ts b/test/lib/utils/load-configuration.spec.ts new file mode 100644 index 000000000..6b9766491 --- /dev/null +++ b/test/lib/utils/load-configuration.spec.ts @@ -0,0 +1,63 @@ +import { describe, expect, it, vi } from 'vitest'; +import { loadConfiguration } from '../../../lib/utils/load-configuration.js'; + +// Mock the NestConfigurationLoader to avoid filesystem access +vi.mock('../../../lib/configuration/nest-configuration.loader.js', () => { + return { + NestConfigurationLoader: class { + load() { + return { + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: {}, + generateOptions: {}, + }; + } + }, + }; +}); + +vi.mock('../../../lib/readers/index.js', () => { + return { + FileSystemReader: class { + constructor() {} + }, + }; +}); + +describe('loadConfiguration', () => { + it('should return a configuration object', async () => { + const config = await loadConfiguration(); + expect(config).toBeDefined(); + expect(config.language).toBe('ts'); + expect(config.sourceRoot).toBe('src'); + }); + + it('should return default entry file', async () => { + const config = await loadConfiguration(); + expect(config.entryFile).toBe('main'); + }); + + it('should return default collection', async () => { + const config = await loadConfiguration(); + expect(config.collection).toBe('@nestjs/schematics'); + }); + + it('should return an object with all required configuration fields', async () => { + const config = await loadConfiguration(); + expect(config).toHaveProperty('language'); + expect(config).toHaveProperty('sourceRoot'); + expect(config).toHaveProperty('collection'); + expect(config).toHaveProperty('entryFile'); + expect(config).toHaveProperty('exec'); + expect(config).toHaveProperty('projects'); + expect(config).toHaveProperty('monorepo'); + expect(config).toHaveProperty('compilerOptions'); + expect(config).toHaveProperty('generateOptions'); + }); +}); diff --git a/test/lib/utils/os-info.utils.spec.ts b/test/lib/utils/os-info.utils.spec.ts new file mode 100644 index 000000000..431220e40 --- /dev/null +++ b/test/lib/utils/os-info.utils.spec.ts @@ -0,0 +1,52 @@ +import { describe, expect, it } from 'vitest'; +import osName from '../../../lib/utils/os-info.utils.js'; + +describe('osName', () => { + it('should return "macOS" for darwin with release > 15', () => { + expect(osName('darwin', '16.0.0')).toBe('macOS'); + }); + + it('should return "macOS" for darwin with release 22 (Ventura)', () => { + expect(osName('darwin', '22.1.0')).toBe('macOS'); + }); + + it('should return "OS X" for darwin with release <= 15', () => { + expect(osName('darwin', '15.0.0')).toBe('OS X'); + }); + + it('should return "OS X" for darwin with release 14', () => { + expect(osName('darwin', '14.5.0')).toBe('OS X'); + }); + + it('should return "Linux" for linux platform', () => { + expect(osName('linux', '5.15.0')).toBe('Linux'); + }); + + it('should return "Windows" for win32 platform', () => { + expect(osName('win32', '10.0.19041')).toBe('Windows'); + }); + + it('should return "FreeBSD" for freebsd platform', () => { + expect(osName('freebsd', '13.0')).toBe('FreeBSD'); + }); + + it('should return "OpenBSD" for openbsd platform', () => { + expect(osName('openbsd', '7.0')).toBe('OpenBSD'); + }); + + it('should return "Solaris" for sunos platform', () => { + expect(osName('sunos', '5.11')).toBe('Solaris'); + }); + + it('should return "Android" for android platform', () => { + expect(osName('android', '11')).toBe('Android'); + }); + + it('should return the platform string for unknown platforms', () => { + expect(osName('aix', '7.2')).toBe('aix'); + }); + + it('should return the platform string for empty platform', () => { + expect(osName('', '1.0')).toBe(''); + }); +}); diff --git a/test/lib/utils/project-utils.spec.ts b/test/lib/utils/project-utils.spec.ts new file mode 100644 index 000000000..d4cb23058 --- /dev/null +++ b/test/lib/utils/project-utils.spec.ts @@ -0,0 +1,353 @@ +import { describe, expect, it } from 'vitest'; +import { Configuration, ProjectConfiguration } from '../../../lib/configuration/index.js'; +import { + shouldAskForProject, + shouldGenerateSpec, + shouldGenerateFlat, + getSpecFileSuffix, + moveDefaultProjectToStart, +} from '../../../lib/utils/project-utils.js'; + +describe('project-utils', () => { + describe('shouldAskForProject', () => { + it('should return false when schematic is "app"', () => { + const projects: { [key: string]: ProjectConfiguration } = { + myApp: { type: 'application' }, + }; + expect(shouldAskForProject('app', projects, '')).toBe(false); + }); + + it('should return false when schematic is "sub-app"', () => { + const projects: { [key: string]: ProjectConfiguration } = { + myApp: { type: 'application' }, + }; + expect(shouldAskForProject('sub-app', projects, '')).toBe(false); + }); + + it('should return false when schematic is "library"', () => { + const projects: { [key: string]: ProjectConfiguration } = { + myLib: { type: 'library' }, + }; + expect(shouldAskForProject('library', projects, '')).toBe(false); + }); + + it('should return false when schematic is "lib"', () => { + const projects: { [key: string]: ProjectConfiguration } = { + myLib: { type: 'library' }, + }; + expect(shouldAskForProject('lib', projects, '')).toBe(false); + }); + + it('should return false when configurationProjects is undefined', () => { + expect( + shouldAskForProject('service', undefined as any, ''), + ).toBeFalsy(); + }); + + it('should return false when configurationProjects is empty', () => { + expect(shouldAskForProject('service', {}, '')).toBeFalsy(); + }); + + it('should return false when appName is provided', () => { + const projects: { [key: string]: ProjectConfiguration } = { + myApp: { type: 'application' }, + }; + expect(shouldAskForProject('service', projects, 'myApp')).toBeFalsy(); + }); + + it('should return true when schematic is not app/sub-app/library/lib, projects exist, and no appName', () => { + const projects: { [key: string]: ProjectConfiguration } = { + myApp: { type: 'application' }, + }; + expect(shouldAskForProject('service', projects, '')).toBe(true); + }); + + it('should return true for "controller" schematic with projects and no appName', () => { + const projects: { [key: string]: ProjectConfiguration } = { + myApp: { type: 'application' }, + myLib: { type: 'library' }, + }; + expect(shouldAskForProject('controller', projects, '')).toBe(true); + }); + }); + + describe('shouldGenerateSpec', () => { + const baseConfiguration: Required = { + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: {}, + generateOptions: {}, + }; + + it('should return the specValue when specPassedAsInput is true', () => { + expect( + shouldGenerateSpec(baseConfiguration, 'service', '', true, true), + ).toBe(true); + expect( + shouldGenerateSpec(baseConfiguration, 'service', '', false, true), + ).toBe(false); + }); + + it('should return the specValue when specPassedAsInput is undefined', () => { + expect( + shouldGenerateSpec(baseConfiguration, 'service', '', true, undefined), + ).toBe(true); + expect( + shouldGenerateSpec(baseConfiguration, 'service', '', false, undefined), + ).toBe(false); + }); + + it('should use configuration boolean spec when specPassedAsInput is false', () => { + const config: Required = { + ...baseConfiguration, + generateOptions: { + spec: false, + }, + }; + expect(shouldGenerateSpec(config, 'service', '', true, false)).toBe( + false, + ); + }); + + it('should use configuration boolean spec=true when specPassedAsInput is false', () => { + const config: Required = { + ...baseConfiguration, + generateOptions: { + spec: true, + }, + }; + expect(shouldGenerateSpec(config, 'service', '', false, false)).toBe( + true, + ); + }); + + it('should use schematic-specific spec configuration when available', () => { + const config: Required = { + ...baseConfiguration, + generateOptions: { + spec: { + service: false, + controller: true, + }, + }, + }; + expect(shouldGenerateSpec(config, 'service', '', true, false)).toBe( + false, + ); + expect(shouldGenerateSpec(config, 'controller', '', false, false)).toBe( + true, + ); + }); + + it('should fall back to specValue when schematic not found in spec object', () => { + const config: Required = { + ...baseConfiguration, + generateOptions: { + spec: { + service: false, + }, + }, + }; + expect(shouldGenerateSpec(config, 'module', '', true, false)).toBe(true); + }); + + it('should use project-specific generateOptions.spec when appName is provided', () => { + const config: Required = { + ...baseConfiguration, + monorepo: true, + projects: { + myApp: { + compilerOptions: {}, + }, + }, + generateOptions: { + spec: true, + }, + }; + expect(shouldGenerateSpec(config, 'service', 'myApp', false, false)).toBe( + true, + ); + }); + + it('should fall back to global spec object when appName has spec object but not for given schematic', () => { + const config: Required = { + ...baseConfiguration, + monorepo: true, + projects: { + myApp: { + compilerOptions: {}, + }, + }, + generateOptions: { + spec: { + service: false, + }, + }, + }; + expect( + shouldGenerateSpec(config, 'service', 'myApp', true, false), + ).toBe(false); + }); + }); + + describe('shouldGenerateFlat', () => { + const baseConfiguration: Required = { + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: {}, + generateOptions: {}, + }; + + it('should return true when flatValue is true (CLI has highest priority)', () => { + expect(shouldGenerateFlat(baseConfiguration, '', true)).toBe(true); + }); + + it('should use configuration flat value when flatValue is false', () => { + const config: Required = { + ...baseConfiguration, + generateOptions: { + flat: true, + }, + }; + expect(shouldGenerateFlat(config, '', false)).toBe(true); + }); + + it('should return false when both configuration and CLI flat are false', () => { + const config: Required = { + ...baseConfiguration, + generateOptions: { + flat: false, + }, + }; + expect(shouldGenerateFlat(config, '', false)).toBe(false); + }); + + it('should return false when no configuration flat is set and flatValue is false', () => { + expect(shouldGenerateFlat(baseConfiguration, '', false)).toBe(false); + }); + }); + + describe('getSpecFileSuffix', () => { + const baseConfiguration: Required = { + language: 'ts', + sourceRoot: 'src', + collection: '@nestjs/schematics', + entryFile: 'main', + exec: 'node', + projects: {}, + monorepo: false, + compilerOptions: {}, + generateOptions: {}, + }; + + it('should return CLI value when specFileSuffixValue is provided', () => { + expect(getSpecFileSuffix(baseConfiguration, '', 'test')).toBe('test'); + }); + + it('should return CLI value even when configuration has a different value', () => { + const config: Required = { + ...baseConfiguration, + generateOptions: { + specFileSuffix: 'integration', + }, + }; + expect(getSpecFileSuffix(config, '', 'test')).toBe('test'); + }); + + it('should use configuration specFileSuffix when CLI value is empty', () => { + const config: Required = { + ...baseConfiguration, + generateOptions: { + specFileSuffix: 'integration', + }, + }; + expect(getSpecFileSuffix(config, '', '')).toBe('integration'); + }); + + it('should return "spec" as default when no CLI value and no configuration', () => { + expect(getSpecFileSuffix(baseConfiguration, '', '')).toBe('spec'); + }); + }); + + describe('moveDefaultProjectToStart', () => { + it('should prepend the default project name to the projects list', () => { + const config: Configuration = { + sourceRoot: 'src', + projects: { + app1: { type: 'application' }, + app2: { type: 'application' }, + lib1: { type: 'library' }, + }, + }; + const result = moveDefaultProjectToStart(config, 'default-app', ''); + expect(result[0]).toBe('default-app'); + expect(result).toContain('app1'); + expect(result).toContain('app2'); + expect(result).toContain('lib1'); + }); + + it('should return only the default project name when projects is null', () => { + const config: Configuration = { + sourceRoot: 'src', + projects: undefined, + }; + const result = moveDefaultProjectToStart(config, 'default-app', ''); + expect(result).toEqual(['default-app']); + }); + + it('should filter out the project matching defaultProjectName minus defaultLabel when sourceRoot is not "src"', () => { + const config: Configuration = { + sourceRoot: 'apps/myapp/src', + projects: { + myapp: { type: 'application' }, + lib1: { type: 'library' }, + }, + }; + const result = moveDefaultProjectToStart( + config, + 'myapp [DEFAULT]', + ' [DEFAULT]', + ); + expect(result[0]).toBe('myapp [DEFAULT]'); + expect(result.filter((p) => p === 'myapp')).toHaveLength(0); + expect(result).toContain('lib1'); + }); + + it('should not filter projects when sourceRoot is "src"', () => { + const config: Configuration = { + sourceRoot: 'src', + projects: { + myapp: { type: 'application' }, + lib1: { type: 'library' }, + }, + }; + const result = moveDefaultProjectToStart( + config, + 'myapp [DEFAULT]', + ' [DEFAULT]', + ); + expect(result[0]).toBe('myapp [DEFAULT]'); + expect(result).toContain('myapp'); + expect(result).toContain('lib1'); + }); + + it('should handle empty projects object', () => { + const config: Configuration = { + sourceRoot: 'src', + projects: {}, + }; + const result = moveDefaultProjectToStart(config, 'default-app', ''); + expect(result).toEqual(['default-app']); + }); + }); +}); diff --git a/test/lib/utils/remaining-flags.spec.ts b/test/lib/utils/remaining-flags.spec.ts index e5f581f90..2504379dd 100644 --- a/test/lib/utils/remaining-flags.spec.ts +++ b/test/lib/utils/remaining-flags.spec.ts @@ -1,42 +1,101 @@ import { Command } from 'commander'; -import { getRemainingFlags } from '../../../lib/utils/remaining-flags'; +import { describe, expect, it } from 'vitest'; +import { getRemainingFlags } from '../../../lib/utils/remaining-flags.js'; + +function createCommand( + rawArgs: string[], + options: { short?: string; long?: string }[] = [], + optionValues: Record = {}, +): Command { + const cmd = { + rawArgs: [...rawArgs], + options: options.map((o) => ({ + short: o.short, + long: o.long, + })), + getOptionValue: (key: string) => optionValues[key], + } as unknown as Command; + return cmd; +} describe('getRemainingFlags', () => { it('should return flags not consumed by commander', () => { - const program = new Command(); - program.option('-p, --project ', 'project name'); - program.parse(['node', 'nest', 'build', '--project', 'app', '--custom']); + const cmd = createCommand( + ['node', 'nest', 'start', '--watch', '--custom-flag'], + [{ long: '--watch' }], + ); + + const result = getRemainingFlags(cmd); - const remaining = getRemainingFlags(program as any); - expect(remaining).toContain('--custom'); + expect(result).toContain('--custom-flag'); + expect(result).not.toContain('--watch'); }); - it('should exclude flags consumed by commander', () => { - const program = new Command(); - program.option('-w, --watch', 'watch mode'); - program.parse(['node', 'nest', 'build', '--watch', '--extra']); + it('should return empty array when all flags are consumed by commander', () => { + const cmd = createCommand( + ['node', 'nest', 'start', '--watch'], + [{ long: '--watch' }], + ); + + const result = getRemainingFlags(cmd); - const remaining = getRemainingFlags(program as any); - expect(remaining).not.toContain('--watch'); - expect(remaining).toContain('--extra'); + expect(result).toEqual([]); }); - it('should return all args when no flags start with dashes', () => { - const program = new Command(); - program.parse(['node', 'nest', 'build']); + it('should return all raw args when no flags starting with "--" are present', () => { + // When no "--" flags exist, findIndex returns -1, Math.max(-1, 0) = 0, + // so splice(0) returns all elements from the rawArgs array + const cmd = createCommand(['node', 'nest', 'start'], []); - const remaining = getRemainingFlags(program as any); - // When no --flag is found, splice(0) returns all raw args - expect(remaining).toEqual(['node', 'nest', 'build']); + const result = getRemainingFlags(cmd); + + expect(result).toEqual(['node', 'nest', 'start']); }); - it('should handle multiple unknown flags', () => { - const program = new Command(); - program.parse(['node', 'nest', 'build', '--foo', '--bar', '--baz']); + it('should filter out short option flags consumed by commander', () => { + const cmd = createCommand( + ['node', 'nest', 'start', '-w', '--custom'], + [{ short: '-w' }], + ); + + const result = getRemainingFlags(cmd); + + expect(result).toContain('--custom'); + expect(result).not.toContain('-w'); + }); + + it('should filter out option arguments when they match commander option values', () => { + const cmd = createCommand( + ['node', 'nest', 'start', '--config', 'tsconfig.app.json', '--custom'], + [{ long: '--config' }], + { config: 'tsconfig.app.json' }, + ); + + const result = getRemainingFlags(cmd); + + expect(result).not.toContain('--config'); + expect(result).not.toContain('tsconfig.app.json'); + expect(result).toContain('--custom'); + }); + + it('should handle multiple remaining flags', () => { + const cmd = createCommand( + ['node', 'nest', 'start', '--flag1', '--flag2', '--flag3'], + [], + ); + + const result = getRemainingFlags(cmd); + + expect(result).toContain('--flag1'); + expect(result).toContain('--flag2'); + expect(result).toContain('--flag3'); + }); + + it('should return empty array when rawArgs is empty', () => { + const cmd = createCommand([], []); + + const result = getRemainingFlags(cmd); - const remaining = getRemainingFlags(program as any); - expect(remaining).toContain('--foo'); - expect(remaining).toContain('--bar'); - expect(remaining).toContain('--baz'); + expect(result).toEqual([]); }); }); diff --git a/test/lib/utils/type-assertions.spec.ts b/test/lib/utils/type-assertions.spec.ts new file mode 100644 index 000000000..25878035a --- /dev/null +++ b/test/lib/utils/type-assertions.spec.ts @@ -0,0 +1,52 @@ +import { describe, expect, it } from 'vitest'; +import { assertNonArray } from '../../../lib/utils/type-assertions.js'; + +describe('assertNonArray', () => { + it('should not throw for a string value', () => { + expect(() => assertNonArray('hello')).not.toThrow(); + }); + + it('should not throw for a number value', () => { + expect(() => assertNonArray(42)).not.toThrow(); + }); + + it('should not throw for a boolean value', () => { + expect(() => assertNonArray(true)).not.toThrow(); + }); + + it('should not throw for an object value', () => { + expect(() => assertNonArray({ key: 'value' })).not.toThrow(); + }); + + it('should not throw for null', () => { + expect(() => assertNonArray(null)).not.toThrow(); + }); + + it('should not throw for undefined', () => { + expect(() => assertNonArray(undefined)).not.toThrow(); + }); + + it('should not throw for a function', () => { + expect(() => assertNonArray(() => {})).not.toThrow(); + }); + + it('should throw TypeError for an empty array', () => { + expect(() => assertNonArray([])).toThrow(TypeError); + expect(() => assertNonArray([])).toThrow('Expected a non-array value'); + }); + + it('should throw TypeError for an array with elements', () => { + expect(() => assertNonArray([1, 2, 3])).toThrow(TypeError); + expect(() => assertNonArray([1, 2, 3])).toThrow( + 'Expected a non-array value', + ); + }); + + it('should throw TypeError for a nested array', () => { + expect(() => assertNonArray([[1], [2]])).toThrow(TypeError); + }); + + it('should throw TypeError for an array of objects', () => { + expect(() => assertNonArray([{ a: 1 }])).toThrow(TypeError); + }); +}); diff --git a/test/package-json.spec.ts b/test/package-json.spec.ts new file mode 100644 index 000000000..df86d59ae --- /dev/null +++ b/test/package-json.spec.ts @@ -0,0 +1,29 @@ +import { readFileSync } from 'fs'; +import { join } from 'path'; +import { describe, it, expect, beforeAll } from 'vitest'; + +describe('package.json', () => { + let packageJson: Record; + + beforeAll(() => { + const content = readFileSync( + join(__dirname, '..', 'package.json'), + 'utf-8', + ); + packageJson = JSON.parse(content); + }); + + describe('typescript dependency', () => { + it('should use a tilde range to allow patch-level deduplication', () => { + const tsVersion = packageJson.dependencies.typescript; + expect(tsVersion).toBeDefined(); + expect(tsVersion.startsWith('~')).toBe(true); + }); + + it('should not pin typescript to an exact version', () => { + const tsVersion = packageJson.dependencies.typescript; + // An exact pin would be just a version number like "5.9.3" with no range prefix + expect(tsVersion).not.toMatch(/^\d+\.\d+\.\d+$/); + }); + }); +}); diff --git a/tools/clean.js b/tools/clean.js new file mode 100644 index 000000000..4529073fa --- /dev/null +++ b/tools/clean.js @@ -0,0 +1,50 @@ +import { readdir, rm } from 'node:fs/promises'; +import { join } from 'node:path'; + +const sources = ['lib', 'actions', 'commands', 'bin']; +const extensions = ['.js', '.d.ts', '.js.map', '.d.ts.map']; + +function matchesExtension(file) { + return extensions.some((ext) => file.endsWith(ext)); +} + +async function cleanFiles(dir) { + let entries; + try { + entries = await readdir(dir, { withFileTypes: true }); + } catch { + return; + } + for (const entry of entries) { + const fullPath = join(dir, entry.name); + if (entry.isDirectory()) { + await cleanFiles(fullPath); + } else if (matchesExtension(entry.name)) { + await rm(fullPath); + } + } +} + +async function removeEmptyDirs(dir) { + let entries; + try { + entries = await readdir(dir, { withFileTypes: true }); + } catch { + return; + } + for (const entry of entries) { + if (entry.isDirectory()) { + const fullPath = join(dir, entry.name); + await removeEmptyDirs(fullPath); + const remaining = await readdir(fullPath); + if (remaining.length === 0) { + await rm(fullPath, { recursive: true }); + } + } + } +} + +for (const source of sources) { + await cleanFiles(source); + await removeEmptyDirs(source); +} diff --git a/tools/postinstall.cjs b/tools/postinstall.cjs new file mode 100644 index 000000000..a996088cf --- /dev/null +++ b/tools/postinstall.cjs @@ -0,0 +1,60 @@ +/* eslint-disable @typescript-eslint/no-require-imports */ +'use strict'; + +const fs = require('fs'); +const path = require('path'); + +// ── 1. Symlink test fixture ───────────────────────────────────────────────── +const link = path.join(__dirname, '..', 'node_modules', 'package'); +if (!fs.existsSync(link)) { + try { + fs.symlinkSync( + '../test/lib/schematics/fixtures/package', + link, + 'dir', + ); + } catch { + // ignore – may fail in CI if node_modules is read-only + } +} + +// ── 2. Patch Vitest's bundled birpc RPC timeout ───────────────────────────── +// Vitest bundles birpc with a hard-coded 60 s DEFAULT_TIMEOUT for inter-process +// RPC calls. Long-running e2e tests can exceed this limit, surfacing as: +// +// Error: [vitest-worker]: Timeout calling "onTaskUpdate" +// +// Vitest exposes no configuration knob for this value, so we patch the bundled +// chunk directly. The change is idempotent and survives re-installs because +// this script runs as a prepare hook. +try { + const chunksDir = path.join( + __dirname, + '..', + 'node_modules', + 'vitest', + 'dist', + 'chunks', + ); + + if (fs.existsSync(chunksDir)) { + const files = fs.readdirSync(chunksDir); + for (const file of files) { + const filePath = path.join(chunksDir, file); + const content = fs.readFileSync(filePath, 'utf8'); + if (content.includes('const DEFAULT_TIMEOUT = 6e4')) { + fs.writeFileSync( + filePath, + // 10 minutes – more than enough for any single RPC round-trip + content.replace( + 'const DEFAULT_TIMEOUT = 6e4', + 'const DEFAULT_TIMEOUT = 6e5', + ), + ); + break; + } + } + } +} catch { + // non-critical – tests will still pass, just with a warning +} diff --git a/tsconfig.json b/tsconfig.json index bab1832da..820bf1265 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,16 +1,17 @@ { "compilerOptions": { "declaration": true, - "module": "commonjs", - "target": "ES2021", + "module": "NodeNext", + "moduleResolution": "NodeNext", + "target": "ES2022", "skipLibCheck": true, "sourceMap": false, "allowJs": true, "strict": true, + "esModuleInterop": true, "useUnknownInCatchVariables": false, "types": [ - "node", - "jest" + "node" ] }, "include": ["actions", "bin", "commands", "lib"], diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 000000000..fde2f7dbc --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,9 @@ +import { defineConfig } from 'vitest/config'; + +export default defineConfig({ + test: { + include: ['test/**/*.spec.ts'], + exclude: ['test/e2e/**'], + root: '.', + }, +}); diff --git a/vitest.e2e.config.ts b/vitest.e2e.config.ts new file mode 100644 index 000000000..387cad816 --- /dev/null +++ b/vitest.e2e.config.ts @@ -0,0 +1,11 @@ +import { defineConfig } from 'vitest/config'; + +export default defineConfig({ + test: { + include: ['test/e2e/**/*.e2e-spec.ts'], + testTimeout: 300_000, + hookTimeout: 300_000, + teardownTimeout: 30_000, + root: '.', + }, +});