diff --git a/package.json b/package.json index a11a5276d3..27a98e0994 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "eslint-config-vuepress": "^4.10.1", "eslint-config-vuepress-typescript": "^4.10.1", "husky": "^9.0.11", - "lint-staged": "^15.2.2", + "lint-staged": "^15.2.4", "prettier": "^3.2.5", "prettier-config-vuepress": "^4.4.0", "rimraf": "^5.0.7", @@ -55,7 +55,7 @@ "vitest": "^1.6.0", "vue-tsc": "^2.0.19" }, - "packageManager": "pnpm@9.1.1", + "packageManager": "pnpm@9.1.2", "engines": { "node": ">=18.16.0" } diff --git a/packages/bundler-webpack/package.json b/packages/bundler-webpack/package.json index 1b997d2936..e149f0cd22 100644 --- a/packages/bundler-webpack/package.json +++ b/packages/bundler-webpack/package.json @@ -50,7 +50,7 @@ "esbuild-loader": "~4.1.0", "express": "^4.19.2", "html-webpack-plugin": "^5.6.0", - "lightningcss": "^1.24.1", + "lightningcss": "^1.25.0", "mini-css-extract-plugin": "^2.9.0", "postcss": "^8.4.38", "postcss-loader": "^8.1.1", @@ -59,7 +59,7 @@ "vue-loader": "^17.4.2", "vue-router": "^4.3.2", "webpack": "^5.91.0", - "webpack-chain": "^6.5.1", + "webpack-5-chain": "^8.0.2", "webpack-dev-server": "^5.0.4", "webpack-merge": "^5.10.0" }, diff --git a/packages/bundler-webpack/src/build/createClientConfig.ts b/packages/bundler-webpack/src/build/createClientConfig.ts index cd40685ee4..b64ea26770 100644 --- a/packages/bundler-webpack/src/build/createClientConfig.ts +++ b/packages/bundler-webpack/src/build/createClientConfig.ts @@ -3,8 +3,9 @@ import type { App } from '@vuepress/core' import { fs } from '@vuepress/utils' import CopyWebpackPlugin from 'copy-webpack-plugin' import CssMinimizerPlugin from 'css-minimizer-webpack-plugin' +import type { CssModule } from 'mini-css-extract-plugin' import MiniCssExtractPlugin from 'mini-css-extract-plugin' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' import { createClientBaseConfig } from '../config/index.js' import type { WebpackBundlerOptions } from '../types.js' import { createClientPlugin } from './ssr/index.js' @@ -65,7 +66,7 @@ export const createClientConfig = async ( styles: { idHint: 'styles', // necessary to ensure async chunks are also extracted - test: (m) => /css\/mini-extract/.test(m.type), + test: (m: CssModule) => /css\/mini-extract/.test(m.type), chunks: 'all', enforce: true, reuseExistingChunk: true, diff --git a/packages/bundler-webpack/src/build/createServerConfig.ts b/packages/bundler-webpack/src/build/createServerConfig.ts index 2574bc785b..0db803831e 100644 --- a/packages/bundler-webpack/src/build/createServerConfig.ts +++ b/packages/bundler-webpack/src/build/createServerConfig.ts @@ -1,6 +1,6 @@ import { createRequire } from 'node:module' import type { App } from '@vuepress/core' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' import { createBaseConfig } from '../config/index.js' import type { WebpackBundlerOptions } from '../types.js' diff --git a/packages/bundler-webpack/src/build/ssr/createClientPlugin.ts b/packages/bundler-webpack/src/build/ssr/createClientPlugin.ts index 2bfeaed0be..25a778f6ae 100644 --- a/packages/bundler-webpack/src/build/ssr/createClientPlugin.ts +++ b/packages/bundler-webpack/src/build/ssr/createClientPlugin.ts @@ -1,6 +1,5 @@ import { fs } from '@vuepress/utils' -import type { WebpackPluginInstance } from 'webpack' -import type { FnModules, StatsToJsonOutput } from '../../types.webpack.js' +import type { StatsModule, WebpackPluginInstance } from 'webpack' import { isCSS, isJS } from './utils.js' export interface ClientManifest { @@ -29,17 +28,17 @@ export const createClientPlugin = ( modules = [], entrypoints = {}, chunks = [], - }: StatsToJsonOutput = compilation - .getStats() - .toJson() as unknown as StatsToJsonOutput + } = compilation.getStats().toJson() // get all files const allFiles = assets.map((a) => a.name) // get initial entry files const initialFiles = Object.keys(entrypoints) - .map((name) => entrypoints[name].assets.map((item) => item.name)) - .reduce((assets, all) => all.concat(assets), []) + .flatMap( + (name) => + entrypoints[name].assets?.map((item) => item.name) ?? [], + ) .filter((file) => isJS(file) || isCSS(file)) // get files that should be loaded asynchronously @@ -51,18 +50,19 @@ export const createClientPlugin = ( // get asset modules const assetModules = modules.filter( - (m): m is FnModules & Required> => - !!(m.assets && m.assets.length), + (m): m is StatsModule & Required> => + Boolean(m.assets?.length), ) // get modules for client manifest const manifestModules: ClientManifest['modules'] = {} - const fileToIndex = (file: string): number => allFiles.indexOf(file) + const fileToIndex = (file: number | string): number => + allFiles.indexOf(file.toString()) modules.forEach((m) => { // ignore modules duplicated in multiple chunks - if (m.chunks.length !== 1) { + if (m.chunks?.length !== 1) { return } @@ -75,21 +75,21 @@ export const createClientPlugin = ( // remove appended hash of module identifier // which is the request string of the module - const request = m.identifier.replace(/\|\w+$/, '') + const request = m.identifier?.replace(/\|\w+$/, '') // get chunk files index const files = [...chunk.files.map(fileToIndex)] // find all asset modules associated with the same chunk assetModules.forEach((m) => { - if (m.chunks.some((id) => id === cid)) { + if (m.chunks?.some((id) => id === cid)) { // get asset files files.push(...m.assets.map(fileToIndex)) } }) // map the module request to files index - manifestModules[request] = files + if (request) manifestModules[request] = files }) // generate client manifest json file diff --git a/packages/bundler-webpack/src/config/createBaseConfig.ts b/packages/bundler-webpack/src/config/createBaseConfig.ts index f4282af143..b6d8bec3b0 100644 --- a/packages/bundler-webpack/src/config/createBaseConfig.ts +++ b/packages/bundler-webpack/src/config/createBaseConfig.ts @@ -1,5 +1,5 @@ import type { App } from '@vuepress/core' -import Config from 'webpack-chain' +import Config from 'webpack-5-chain' import type { WebpackBundlerOptions } from '../types.js' import { handleDevtool } from './handleDevtool.js' import { handleEntry } from './handleEntry.js' @@ -21,7 +21,7 @@ export const createBaseConfig = async ({ isBuild: boolean isServer: boolean }): Promise => { - // create new webpack-chain config + // create new webpack-5-chain config const config = new Config() /** diff --git a/packages/bundler-webpack/src/config/createClientBaseConfig.ts b/packages/bundler-webpack/src/config/createClientBaseConfig.ts index b071ffd6ac..3dcccffcb4 100644 --- a/packages/bundler-webpack/src/config/createClientBaseConfig.ts +++ b/packages/bundler-webpack/src/config/createClientBaseConfig.ts @@ -1,5 +1,5 @@ import type { App } from '@vuepress/core' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' import type { WebpackBundlerOptions } from '../types.js' import { createBaseConfig } from './createBaseConfig.js' diff --git a/packages/bundler-webpack/src/config/handleDevtool.ts b/packages/bundler-webpack/src/config/handleDevtool.ts index 7d38a38be7..774e0df405 100644 --- a/packages/bundler-webpack/src/config/handleDevtool.ts +++ b/packages/bundler-webpack/src/config/handleDevtool.ts @@ -1,5 +1,5 @@ import type { App } from '@vuepress/core' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' /** * Set webpack devtool @@ -18,7 +18,6 @@ export const handleDevtool = ({ config.devtool('source-map') } else if (!isBuild) { // only enable eval-source-map in dev mode - // TODO: remove type assertion when webpack-chain updates its types for webpack 5 - config.devtool('eval-cheap-module-source-map' as Config.DevTool) + config.devtool('eval-cheap-module-source-map') } } diff --git a/packages/bundler-webpack/src/config/handleEntry.ts b/packages/bundler-webpack/src/config/handleEntry.ts index 38a9e6394a..1c2c592b7d 100644 --- a/packages/bundler-webpack/src/config/handleEntry.ts +++ b/packages/bundler-webpack/src/config/handleEntry.ts @@ -1,6 +1,6 @@ import type { App } from '@vuepress/core' import { fs } from '@vuepress/utils' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' /** * Set webpack entry diff --git a/packages/bundler-webpack/src/config/handleMode.ts b/packages/bundler-webpack/src/config/handleMode.ts index 5f12d92682..b0f804b03c 100644 --- a/packages/bundler-webpack/src/config/handleMode.ts +++ b/packages/bundler-webpack/src/config/handleMode.ts @@ -1,5 +1,5 @@ import type { App } from '@vuepress/core' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' /** * Set webpack mode diff --git a/packages/bundler-webpack/src/config/handleModule.ts b/packages/bundler-webpack/src/config/handleModule.ts index 270dc39a48..fe857c7f11 100644 --- a/packages/bundler-webpack/src/config/handleModule.ts +++ b/packages/bundler-webpack/src/config/handleModule.ts @@ -1,5 +1,5 @@ import type { App } from '@vuepress/core' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' import type { WebpackBundlerOptions } from '../types.js' import { handleModuleAssets } from './handleModuleAssets.js' import { handleModuleJs } from './handleModuleJs.js' diff --git a/packages/bundler-webpack/src/config/handleModuleAssets.ts b/packages/bundler-webpack/src/config/handleModuleAssets.ts index 277c00acbe..0ccd291938 100644 --- a/packages/bundler-webpack/src/config/handleModuleAssets.ts +++ b/packages/bundler-webpack/src/config/handleModuleAssets.ts @@ -1,5 +1,5 @@ import type { App } from '@vuepress/core' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' /** * Set webpack config to handle assets files @@ -15,8 +15,8 @@ export const handleModuleAssets = ({ config.module .rule('images') .test(/\.(png|jpe?g|gif|webp)(\?.*)?$/) - .type('asset' as any) - .set('generator', { + .type('asset') + .generator({ filename: 'assets/img/[name].[contenthash:8][ext]', }) @@ -26,8 +26,8 @@ export const handleModuleAssets = ({ config.module .rule('svg') .test(/\.(svg)(\?.*)?$/) - .type('asset/resource' as any) - .set('generator', { + .type('asset/resource') + .generator({ filename: 'assets/img/[name].[contenthash:8][ext]', }) @@ -35,8 +35,8 @@ export const handleModuleAssets = ({ config.module .rule('media') .test(/\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/) - .type('asset/resource' as any) - .set('generator', { + .type('asset/resource') + .generator({ filename: 'assets/media/[name].[contenthash:8][ext]', }) @@ -44,8 +44,8 @@ export const handleModuleAssets = ({ config.module .rule('fonts') .test(/\.(woff2?|eot|ttf|otf)(\?.*)?$/i) - .type('asset/resource' as any) - .set('generator', { + .type('asset/resource') + .generator({ filename: 'assets/fonts/[name].[contenthash:8][ext]', }) } diff --git a/packages/bundler-webpack/src/config/handleModuleJs.ts b/packages/bundler-webpack/src/config/handleModuleJs.ts index 6e2842e245..d0e3efb386 100644 --- a/packages/bundler-webpack/src/config/handleModuleJs.ts +++ b/packages/bundler-webpack/src/config/handleModuleJs.ts @@ -1,5 +1,5 @@ import { createRequire } from 'node:module' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' import type { WebpackBundlerOptions } from '../types.js' import { resolveEsbuildJsxOptions } from './resolveEsbuildJsxOptions.js' diff --git a/packages/bundler-webpack/src/config/handleModulePug.ts b/packages/bundler-webpack/src/config/handleModulePug.ts index b2a463d4fe..a19c34a727 100644 --- a/packages/bundler-webpack/src/config/handleModulePug.ts +++ b/packages/bundler-webpack/src/config/handleModulePug.ts @@ -1,4 +1,4 @@ -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' /** * Set webpack module to handle pug files diff --git a/packages/bundler-webpack/src/config/handleModuleStyles.ts b/packages/bundler-webpack/src/config/handleModuleStyles.ts index 6664e357d8..ea799e5332 100644 --- a/packages/bundler-webpack/src/config/handleModuleStyles.ts +++ b/packages/bundler-webpack/src/config/handleModuleStyles.ts @@ -1,7 +1,7 @@ import { createRequire } from 'node:module' import autoprefixer from 'autoprefixer' import MiniCssExtractPlugin from 'mini-css-extract-plugin' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' import type { LessLoaderOptions, LoaderOptions, diff --git a/packages/bundler-webpack/src/config/handleModuleTs.ts b/packages/bundler-webpack/src/config/handleModuleTs.ts index d7048a45bb..74e045a372 100644 --- a/packages/bundler-webpack/src/config/handleModuleTs.ts +++ b/packages/bundler-webpack/src/config/handleModuleTs.ts @@ -1,6 +1,6 @@ import { createRequire } from 'node:module' import type { App } from '@vuepress/core' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' import { resolveEsbuildJsxOptions } from './resolveEsbuildJsxOptions.js' const require = createRequire(import.meta.url) diff --git a/packages/bundler-webpack/src/config/handleModuleVue.ts b/packages/bundler-webpack/src/config/handleModuleVue.ts index 7944309003..ecfdbc7069 100644 --- a/packages/bundler-webpack/src/config/handleModuleVue.ts +++ b/packages/bundler-webpack/src/config/handleModuleVue.ts @@ -2,7 +2,7 @@ import { createRequire } from 'node:module' import type { App } from '@vuepress/core' import { VueLoaderPlugin } from 'vue-loader' import type { VueLoaderOptions } from 'vue-loader' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' import type { WebpackBundlerOptions } from '../types.js' const require = createRequire(import.meta.url) diff --git a/packages/bundler-webpack/src/config/handleNode.ts b/packages/bundler-webpack/src/config/handleNode.ts index 77729ab3c8..5bdb24d63a 100644 --- a/packages/bundler-webpack/src/config/handleNode.ts +++ b/packages/bundler-webpack/src/config/handleNode.ts @@ -1,4 +1,4 @@ -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' /** * Set webpack node config diff --git a/packages/bundler-webpack/src/config/handleOtherOptions.ts b/packages/bundler-webpack/src/config/handleOtherOptions.ts index 10debc0d79..ef8e1d8816 100644 --- a/packages/bundler-webpack/src/config/handleOtherOptions.ts +++ b/packages/bundler-webpack/src/config/handleOtherOptions.ts @@ -1,7 +1,6 @@ import { createRequire } from 'node:module' import type { App } from '@vuepress/core' -import type { Configuration } from 'webpack' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' const require = createRequire(import.meta.url) @@ -22,12 +21,12 @@ export const handleOtherOptions = ({ isServer: boolean }): void => { // set infrastructureLogging options - config.set('infrastructureLogging', { + config.infrastructureLogging({ level: app.env.isDebug ? 'info' : 'error', - } as Configuration['infrastructureLogging']) + }) // set cache options - config.set('cache', { + config.cache({ type: 'filesystem', cacheDirectory: app.dir.cache(), version: JSON.stringify({ @@ -40,5 +39,5 @@ export const handleOtherOptions = ({ 'vue-loader': require('vue-loader/package.json').version, 'webpack': require('webpack/package.json').version, }), - } as Configuration['cache']) + }) } diff --git a/packages/bundler-webpack/src/config/handlePluginDefine.ts b/packages/bundler-webpack/src/config/handlePluginDefine.ts index 3a603cb458..d118844d48 100644 --- a/packages/bundler-webpack/src/config/handlePluginDefine.ts +++ b/packages/bundler-webpack/src/config/handlePluginDefine.ts @@ -1,6 +1,6 @@ import type { App } from '@vuepress/core' import webpack from 'webpack' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' /** * Set webpack DefinePlugin diff --git a/packages/bundler-webpack/src/config/handleResolve.ts b/packages/bundler-webpack/src/config/handleResolve.ts index 5075bf3a89..6081614be2 100644 --- a/packages/bundler-webpack/src/config/handleResolve.ts +++ b/packages/bundler-webpack/src/config/handleResolve.ts @@ -1,5 +1,5 @@ import type { App } from '@vuepress/core' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' /** * Set webpack resolve diff --git a/packages/bundler-webpack/src/dev/createDevConfig.ts b/packages/bundler-webpack/src/dev/createDevConfig.ts index c7360de572..99845e6810 100644 --- a/packages/bundler-webpack/src/dev/createDevConfig.ts +++ b/packages/bundler-webpack/src/dev/createDevConfig.ts @@ -1,7 +1,7 @@ import type { App } from '@vuepress/core' import HtmlPlugin from 'html-webpack-plugin' import webpack from 'webpack' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' import { createClientBaseConfig } from '../config/index.js' import type { WebpackBundlerOptions } from '../types.js' diff --git a/packages/bundler-webpack/src/resolveWebpackConfig.ts b/packages/bundler-webpack/src/resolveWebpackConfig.ts index ba8999bcd1..ce619b529c 100644 --- a/packages/bundler-webpack/src/resolveWebpackConfig.ts +++ b/packages/bundler-webpack/src/resolveWebpackConfig.ts @@ -1,5 +1,5 @@ import type { Configuration } from 'webpack' -import type Config from 'webpack-chain' +import type Config from 'webpack-5-chain' import { merge } from 'webpack-merge' import type { WebpackBundlerOptions } from './types.js' @@ -17,7 +17,7 @@ export const resolveWebpackConfig = ({ // allow modifying webpack config via `chainWebpack` options.chainWebpack?.(config, isServer, isBuild) - // generate webpack config from webpack-chain + // generate webpack config from webpack-5-chain const webpackConfig = config.toConfig() // allow modifying webpack config via `configureWebpack` diff --git a/packages/bundler-webpack/src/types.ts b/packages/bundler-webpack/src/types.ts index c0ea4ea58e..7cbdbd569e 100644 --- a/packages/bundler-webpack/src/types.ts +++ b/packages/bundler-webpack/src/types.ts @@ -1,8 +1,10 @@ import type { VueLoaderOptions } from 'vue-loader' -import type { Configuration as WebpackConfiguration } from 'webpack' -import type WebpackChainConfig from 'webpack-chain' +import type { + LoaderContext, + Configuration as WebpackConfiguration, +} from 'webpack' +import type WebpackChainConfig from 'webpack-5-chain' import type WebpackDevServer from 'webpack-dev-server' -import type { LoaderContext } from './types.webpack.js' export type { VueLoaderOptions, @@ -25,7 +27,7 @@ export interface WebpackBundlerOptions { ) => WebpackConfiguration | void /** - * use webpack-chain to set webpack config + * use webpack-5-chain to set webpack config */ chainWebpack?: ( config: WebpackChainConfig, @@ -82,7 +84,10 @@ export interface LoaderOptions { webpackImporter?: boolean additionalData?: | string - | ((content: string, loaderContext: LoaderContext) => string) + | (( + content: string, + loaderContext: LoaderContext>, + ) => string) } /** @@ -90,7 +95,7 @@ export interface LoaderOptions { */ export type StylePreprocessorOptions< T extends Record = Record, -> = T | ((loaderContext: LoaderContext) => TextDecodeOptions) +> = T | ((loaderContext: LoaderContext) => TextDecodeOptions) /** * Options for postcss-loader diff --git a/packages/bundler-webpack/src/types.webpack.ts b/packages/bundler-webpack/src/types.webpack.ts deleted file mode 100644 index d04f90f60c..0000000000 --- a/packages/bundler-webpack/src/types.webpack.ts +++ /dev/null @@ -1,392 +0,0 @@ -import type { Compiler, ModuleOptions } from 'webpack' - -// Forked and modified from @types/webpack@4.41.23 -// Because current types definitions of webpack 5 is not complete - -export interface StatsToJsonOutput { - _showErrors: boolean - _showWarnings: boolean - assets?: { - chunks: (number | string)[] - chunkNames: string[] - emitted: boolean - isOverSizeLimit?: boolean - name: string - size: number - }[] - assetsByChunkName?: Record - builtAt?: number - children?: (StatsToJsonOutput & { name?: string })[] - chunks?: { - children: number[] - childrenByOrder: Record - entry: boolean - files: string[] - filteredModules?: number - hash?: string - id: number | string - initial: boolean - modules?: FnModules[] - names: string[] - origins?: { - moduleId?: string | number - module: string - moduleIdentifier: string - moduleName: string - loc: string - request: string - reasons: string[] - }[] - parents: number[] - reason?: string - recorded?: boolean - rendered: boolean - size: number - siblings: number[] - }[] - entrypoints?: Record - errors: string[] - env?: Record - filteredAssets?: number - filteredModules?: boolean - hash?: string - modules?: FnModules[] - namedChunkGroups?: Record - needAdditionalPass?: boolean - outputPath?: string - publicPath?: string - time?: number - version?: string - warnings: string[] -} - -export interface FnModules { - assets?: string[] - built: boolean - cacheable: boolean - chunks: (number | string)[] - depth?: number - errors: number - failed: boolean - filteredModules?: boolean - id: number | string - identifier: string - index: number - index2: number - issuer: string | undefined - issuerId: number | string | undefined - issuerName: string | undefined - issuerPath: { - id: number | string - identifier: string - name: string - profile: any // TODO - }[] - modules: FnModules[] - name: string - optimizationBailout?: string - optional: boolean - prefetched: boolean - profile: any // TODO - providedExports?: any // TODO - reasons: Reason[] - size: number - source?: string - usedExports?: boolean - warnings: number -} - -export interface ChunkGroup { - assets: { name: string }[] - chunks: (number | string)[] - children: Record< - string, - { - assets: string[] - chunks: (number | string)[] - name: string - } - > - childAssets: Record - isOverSizeLimit?: boolean -} - -export interface Reason { - moduleId: number | string | null - moduleIdentifier: string | null - module: string | null - moduleName: string | null - type: string - explanation?: string - userRequest: string - loc: string -} - -export interface LoaderContext { - /** - * Loader API version. Currently 2. - * This is useful for providing backwards compatibility. - * Using the version you can specify custom logic or fallbacks for breaking changes. - */ - version: string - - /** - * The directory of the module. Can be used as context for resolving other stuff. - * In the example: /abc because resource.js is in this directory - */ - context: string - - /** - * Starting with webpack 4, the formerly `this.options.context` is provided as `this.rootContext`. - */ - rootContext: string - - /** - * The resolved request string. - * In the example: "/abc/loader1.js?xyz!/abc/node_modules/loader2/index.js!/abc/resource.js?rrr" - */ - request: string - - /** - * A string or any object. The query of the request for the current loader. - */ - query: any - - /** - * A data object shared between the pitch and the normal phase. - */ - data?: any - - callback: LoaderCallback - - /** - * Make this loader async. - */ - async(): LoaderCallback | undefined - - /** - * Make this loader result cacheable. By default it's not cacheable. - * A cacheable loader must have a deterministic result, when inputs and dependencies haven't changed. - * This means the loader shouldn't have other dependencies than specified with this.addDependency. - * Most loaders are deterministic and cacheable. - */ - cacheable(flag?: boolean): void - - /** - * An array of all the loaders. It is writeable in the pitch phase. - * loaders = [{request: string, path: string, query: string, module: function}] - * - * In the example: - * [ - * { request: "/abc/loader1.js?xyz", - * path: "/abc/loader1.js", - * query: "?xyz", - * module: [Function] - * }, - * { request: "/abc/node_modules/loader2/index.js", - * path: "/abc/node_modules/loader2/index.js", - * query: "", - * module: [Function] - * } - * ] - */ - loaders: any[] - - /** - * The index in the loaders array of the current loader. - * In the example: in loader1: 0, in loader2: 1 - */ - loaderIndex: number - - /** - * The resource part of the request, including query. - * In the example: "/abc/resource.js?rrr" - */ - resource: string - - /** - * The resource file. - * In the example: "/abc/resource.js" - */ - resourcePath: string - - /** - * The query of the resource. - * In the example: "?rrr" - */ - resourceQuery: string - - /** - * Emit a warning. - */ - emitWarning(message: string | Error): void - - /** - * Emit a error. - */ - emitError(message: string | Error): void - - /** - * Execute some code fragment like a module. - * - * Don't use require(this.resourcePath), use this function to make loaders chainable! - * - */ - exec(code: string, filename: string): any - - /** - * Resolves the given request to a module, applies all configured loaders and calls - * back with the generated source, the sourceMap and the module instance (usually an - * instance of NormalModule). Use this function if you need to know the source code - * of another module to generate the result. - */ - loadModule( - request: string, - callback: ( - err: Error | null, - source: string, - sourceMap: RawSourceMap, - module: ModuleOptions, - ) => void, - ): any - - /** - * Resolve a request like a require expression. - */ - resolve( - context: string, - request: string, - callback: (err: Error, result: string) => void, - ): any - - /** - * Resolve a request like a require expression. - */ - resolveSync(context: string, request: string): string - - /** - * Adds a file as dependency of the loader result in order to make them watchable. - * For example, html-loader uses this technique as it finds src and src-set attributes. - * Then, it sets the url's for those attributes as dependencies of the html file that is parsed. - */ - addDependency(file: string): void - - /** - * Adds a file as dependency of the loader result in order to make them watchable. - * For example, html-loader uses this technique as it finds src and src-set attributes. - * Then, it sets the url's for those attributes as dependencies of the html file that is parsed. - */ - dependency(file: string): void - - /** - * Add a directory as dependency of the loader result. - */ - addContextDependency(directory: string): void - - /** - * Remove all dependencies of the loader result. Even initial dependencies and these of other loaders. Consider using pitch. - */ - clearDependencies(): void - - /** - * Pass values to the next loader. - * If you know what your result exports if executed as module, set this value here (as a only element array). - */ - value: any - - /** - * Passed from the last loader. - * If you would execute the input argument as module, consider reading this variable for a shortcut (for performance). - */ - inputValue: any - - /** - * A boolean flag. It is set when in debug mode. - */ - debug: boolean - - /** - * Should the result be minimized. - */ - minimize: boolean - - /** - * Should a SourceMap be generated. - */ - sourceMap: boolean - - /** - * Target of compilation. Passed from configuration options. - * Example values: "web", "node" - */ - target: - | 'web' - | 'webworker' - | 'async-node' - | 'node' - | 'electron-main' - | 'electron-renderer' - | 'node-webkit' - | string - - /** - * This boolean is set to true when this is compiled by webpack. - * - * Loaders were originally designed to also work as Babel transforms. - * Therefore if you write a loader that works for both, you can use this property to know if - * there is access to additional loaderContext and webpack features. - */ - webpack: boolean - - /** - * Emit a file. This is webpack-specific. - */ - emitFile(name: string, content: Buffer | string, sourceMap: any): void - - /** - * Access to the compilation's inputFileSystem property. - */ - fs: any - - /** - * Which mode is webpack running. - */ - mode: 'production' | 'development' | 'none' - - /** - * Hacky access to the Compilation object of webpack. - */ - _compilation: any - - /** - * Hacky access to the Compiler object of webpack. - */ - _compiler: Compiler - - /** - * Hacky access to the Module object being loaded. - */ - _module: any - - /** Flag if HMR is enabled */ - hot: boolean -} - -export type LoaderCallback = ( - err: Error | undefined | null, - content?: string | Buffer, - sourceMap?: RawSourceMap, -) => void - -export interface StartOfSourceMap { - file?: string - sourceRoot?: string -} - -export interface RawSourceMap extends StartOfSourceMap { - version: string - sources: string[] - names: string[] - sourcesContent?: string[] - mappings: string -} diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 517fa9f2d9..4a5f135c6b 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -44,7 +44,7 @@ "@vuepress/shared": "workspace:*", "@vuepress/utils": "workspace:*", "markdown-it": "^14.1.0", - "markdown-it-anchor": "^9.0.0", + "markdown-it-anchor": "^9.0.1", "markdown-it-emoji": "^3.0.0", "mdurl": "^2.0.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 065b3fecf5..ac26467e22 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,7 +25,7 @@ importers: version: 1.18.5 '@vitest/coverage-istanbul': specifier: ^1.6.0 - version: 1.6.0(vitest@1.6.0(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0)) + version: 1.6.0(vitest@1.6.0(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0)) bumpp: specifier: ^9.4.1 version: 9.4.1 @@ -37,16 +37,16 @@ importers: version: 8.57.0 eslint-config-vuepress: specifier: ^4.10.1 - version: 4.10.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) + version: 4.10.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) eslint-config-vuepress-typescript: specifier: ^4.10.1 - version: 4.10.1(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0)(typescript@5.4.5) + version: 4.10.1(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0)(typescript@5.4.5) husky: specifier: ^9.0.11 version: 9.0.11 lint-staged: - specifier: ^15.2.2 - version: 15.2.2 + specifier: ^15.2.4 + version: 15.2.4 prettier: specifier: ^3.2.5 version: 3.2.5 @@ -70,10 +70,10 @@ importers: version: 5.4.5 vite: specifier: ~5.2.11 - version: 5.2.11(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0) + version: 5.2.11(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0) + version: 1.6.0(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0) vue-tsc: specifier: ^2.0.19 version: 2.0.19(typescript@5.4.5) @@ -116,7 +116,7 @@ importers: dependencies: '@vitejs/plugin-vue': specifier: ^5.0.4 - version: 5.0.4(vite@5.2.11(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0))(vue@3.4.27(typescript@5.4.5)) + version: 5.0.4(vite@5.2.11(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0))(vue@3.4.27(typescript@5.4.5)) '@vuepress/client': specifier: workspace:* version: link:../client @@ -146,7 +146,7 @@ importers: version: 4.17.2 vite: specifier: ~5.2.11 - version: 5.2.11(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0) + version: 5.2.11(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0) vue: specifier: ^3.4.27 version: 3.4.27(typescript@5.4.5) @@ -188,7 +188,7 @@ importers: version: 7.1.1(webpack@5.91.0(esbuild@0.19.12)) css-minimizer-webpack-plugin: specifier: ^7.0.0 - version: 7.0.0(esbuild@0.19.12)(lightningcss@1.24.1)(webpack@5.91.0(esbuild@0.19.12)) + version: 7.0.0(esbuild@0.19.12)(lightningcss@1.25.0)(webpack@5.91.0(esbuild@0.19.12)) esbuild-loader: specifier: ~4.1.0 version: 4.1.0(webpack@5.91.0(esbuild@0.19.12)) @@ -199,8 +199,8 @@ importers: specifier: ^5.6.0 version: 5.6.0(webpack@5.91.0(esbuild@0.19.12)) lightningcss: - specifier: ^1.24.1 - version: 1.24.1 + specifier: ^1.25.0 + version: 1.25.0 mini-css-extract-plugin: specifier: ^2.9.0 version: 2.9.0(webpack@5.91.0(esbuild@0.19.12)) @@ -225,9 +225,9 @@ importers: webpack: specifier: ^5.91.0 version: 5.91.0(esbuild@0.19.12) - webpack-chain: - specifier: ^6.5.1 - version: 6.5.1 + webpack-5-chain: + specifier: ^8.0.2 + version: 8.0.2 webpack-dev-server: specifier: ^5.0.4 version: 5.0.4(webpack@5.91.0(esbuild@0.19.12)) @@ -338,8 +338,8 @@ importers: specifier: ^14.1.0 version: 14.1.0 markdown-it-anchor: - specifier: ^9.0.0 - version: 9.0.0(@types/markdown-it@14.1.1)(markdown-it@14.1.0) + specifier: ^9.0.1 + version: 9.0.1(@types/markdown-it@14.1.1)(markdown-it@14.1.0) markdown-it-emoji: specifier: ^3.0.0 version: 3.0.0 @@ -1134,8 +1134,8 @@ packages: '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} - '@types/express-serve-static-core@4.19.0': - resolution: {integrity: sha512-bGyep3JqPCRry1wq+O5n7oiBgGWmeIJXPjXXCo8EK0u8duZGSYar7cGqd3ML2JUsLGeB7fmc06KYo9fLGWqPvQ==} + '@types/express-serve-static-core@4.19.1': + resolution: {integrity: sha512-ej0phymbFLoCB26dbbq5PGScsf2JAJ4IJHjG10LalgUV36XKTmA4GdA+PVllKvRk0sEKt64X8975qFnkSi0hqA==} '@types/express@4.17.21': resolution: {integrity: sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==} @@ -1236,8 +1236,8 @@ packages: '@types/yargs@17.0.32': resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} - '@typescript-eslint/eslint-plugin@7.9.0': - resolution: {integrity: sha512-6e+X0X3sFe/G/54aC3jt0txuMTURqLyekmEHViqyA2VnxhLMpvA6nqmcjIy+Cr9tLDHPssA74BP5Mx9HQIxBEA==} + '@typescript-eslint/eslint-plugin@7.10.0': + resolution: {integrity: sha512-PzCr+a/KAef5ZawX7nbyNwBDtM1HdLIT53aSA2DDlxmxMngZ43O8SIePOeX8H5S+FHXeI6t97mTt/dDdzY4Fyw==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: '@typescript-eslint/parser': ^7.0.0 @@ -1247,8 +1247,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@7.9.0': - resolution: {integrity: sha512-qHMJfkL5qvgQB2aLvhUSXxbK7OLnDkwPzFalg458pxQgfxKDfT1ZDbHQM/I6mDIf/svlMkj21kzKuQ2ixJlatQ==} + '@typescript-eslint/parser@7.10.0': + resolution: {integrity: sha512-2EjZMA0LUW5V5tGQiaa2Gys+nKdfrn2xiTIBLR4fxmPmVSvgPcKNW+AE/ln9k0A4zDUti0J/GZXMDupQoI+e1w==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -1257,12 +1257,12 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@7.9.0': - resolution: {integrity: sha512-ZwPK4DeCDxr3GJltRz5iZejPFAAr4Wk3+2WIBaj1L5PYK5RgxExu/Y68FFVclN0y6GGwH8q+KgKRCvaTmFBbgQ==} + '@typescript-eslint/scope-manager@7.10.0': + resolution: {integrity: sha512-7L01/K8W/VGl7noe2mgH0K7BE29Sq6KAbVmxurj8GGaPDZXPr8EEQ2seOeAS+mEV9DnzxBQB6ax6qQQ5C6P4xg==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/type-utils@7.9.0': - resolution: {integrity: sha512-6Qy8dfut0PFrFRAZsGzuLoM4hre4gjzWJB6sUvdunCYZsYemTkzZNwF1rnGea326PHPT3zn5Lmg32M/xfJfByA==} + '@typescript-eslint/type-utils@7.10.0': + resolution: {integrity: sha512-D7tS4WDkJWrVkuzgm90qYw9RdgBcrWmbbRkrLA4d7Pg3w0ttVGDsvYGV19SH8gPR5L7OtcN5J1hTtyenO9xE9g==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -1271,12 +1271,12 @@ packages: typescript: optional: true - '@typescript-eslint/types@7.9.0': - resolution: {integrity: sha512-oZQD9HEWQanl9UfsbGVcZ2cGaR0YT5476xfWE0oE5kQa2sNK2frxOlkeacLOTh9po4AlUT5rtkGyYM5kew0z5w==} + '@typescript-eslint/types@7.10.0': + resolution: {integrity: sha512-7fNj+Ya35aNyhuqrA1E/VayQX9Elwr8NKZ4WueClR3KwJ7Xx9jcCdOrLW04h51de/+gNbyFMs+IDxh5xIwfbNg==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/typescript-estree@7.9.0': - resolution: {integrity: sha512-zBCMCkrb2YjpKV3LA0ZJubtKCDxLttxfdGmwZvTqqWevUPN0FZvSI26FalGFFUZU/9YQK/A4xcQF9o/VVaCKAg==} + '@typescript-eslint/typescript-estree@7.10.0': + resolution: {integrity: sha512-LXFnQJjL9XIcxeVfqmNj60YhatpRLt6UhdlFwAkjNc6jSUlK8zQOl1oktAP8PlWFzPQC1jny/8Bai3/HPuvN5g==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' @@ -1284,14 +1284,14 @@ packages: typescript: optional: true - '@typescript-eslint/utils@7.9.0': - resolution: {integrity: sha512-5KVRQCzZajmT4Ep+NEgjXCvjuypVvYHUW7RHlXzNPuak2oWpVoD1jf5xCP0dPAuNIchjC7uQyvbdaSTFaLqSdA==} + '@typescript-eslint/utils@7.10.0': + resolution: {integrity: sha512-olzif1Fuo8R8m/qKkzJqT7qwy16CzPRWBvERS0uvyc+DHd8AKbO4Jb7kpAvVzMmZm8TrHnI7hvjN4I05zow+tg==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 - '@typescript-eslint/visitor-keys@7.9.0': - resolution: {integrity: sha512-iESPx2TNLDNGQLyjKhUvIKprlP49XNEK+MvIf9nIO7ZZaZdbnfWKHnXAgufpxqfA0YryH8XToi4+CjBgVnFTSQ==} + '@typescript-eslint/visitor-keys@7.10.0': + resolution: {integrity: sha512-9ntIVgsi6gg6FIq9xjEO4VQJvwOqA3jaBFQJ/6TK5AvEup2+cECI6Fh7QiBxmfMHXU0V0J4RyPeOU1VDNzl9cg==} engines: {node: ^18.18.0 || >=20.0.0} '@ungap/structured-clone@1.2.0': @@ -1641,8 +1641,8 @@ packages: resolution: {integrity: sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==} engines: {node: '>=0.10.0'} - braces@3.0.2: - resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} + braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} browserslist@4.23.0: @@ -1711,8 +1711,8 @@ packages: caniuse-api@3.0.0: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} - caniuse-lite@1.0.30001620: - resolution: {integrity: sha512-WJvYsOjd1/BYUY6SNGUosK9DUidBPDTnOARHp3fSmFO1ekdxaY6nKRttEVrfMmYi80ctS0kz1wiWmm14fVc3ew==} + caniuse-lite@1.0.30001621: + resolution: {integrity: sha512-+NLXZiviFFKX0fk8Piwv3PfLPGtRqJeq2TiNoUff/qB5KJgwecJTvCXDpmlyP/eCI/GUEmp/h/y5j0yckiiZrA==} chai@4.4.1: resolution: {integrity: sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==} @@ -1803,9 +1803,9 @@ packages: colorette@2.0.20: resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} - commander@11.1.0: - resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==} - engines: {node: '>=16'} + commander@12.1.0: + resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==} + engines: {node: '>=18'} commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} @@ -2281,8 +2281,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - electron-to-chromium@1.4.773: - resolution: {integrity: sha512-87eHF+h3PlCRwbxVEAw9KtK3v7lWfc/sUDr0W76955AdYTG4bV/k0zrl585Qnj/skRMH2qOSiE+kqMeOQ+LOpw==} + electron-to-chromium@1.4.777: + resolution: {integrity: sha512-n02NCwLJ3wexLfK/yQeqfywCblZqLcXphzmid5e8yVPdtEcida7li0A5WQKghHNG0FeOMCzeFOzEbtAh5riXFw==} emoji-regex@10.3.0: resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==} @@ -2336,8 +2336,8 @@ packages: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} - es-module-lexer@1.5.2: - resolution: {integrity: sha512-l60ETUTmLqbVbVHv1J4/qj+M8nq7AwMzEcg3kmJDt9dCNrTk+yHcYFf/Kw75pMDwd9mPcIGCG5LcS20SxYRzFA==} + es-module-lexer@1.5.3: + resolution: {integrity: sha512-i1gCgmR9dCl6Vil6UKPI/trA69s08g/syhiDK9TG0Nf1RJjjFI+AzoWW7sPufzkgYAn861skuCwJa0pIIHYxvg==} es-object-atoms@1.0.0: resolution: {integrity: sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==} @@ -2591,8 +2591,8 @@ packages: resolution: {integrity: sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==} engines: {node: '>=0.10.0'} - fill-range@7.0.1: - resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} + fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} engines: {node: '>=8'} finalhandler@1.1.2: @@ -2767,8 +2767,8 @@ packages: glob-to-regexp@0.4.1: resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} - glob@10.3.15: - resolution: {integrity: sha512-0c6RlJt1TICLyvJYIApxb8GsXoai0KUP7AxKKAtsYXdgJR1mGEUa7DgwShbdk1nly0PYoZj01xd4hzbq3fsjpw==} + glob@10.3.16: + resolution: {integrity: sha512-JDKXl1DiuuHJ6fVS2FXjownaavciiHNUU4mOvV/B793RLh05vZL1rcPnCSaOgv1hDT6RDlY7AB7ZUvFYAtPgAw==} engines: {node: '>=16 || 14 >=14.18'} hasBin: true @@ -3241,8 +3241,8 @@ packages: resolution: {integrity: sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==} engines: {node: '>=8'} - jackspeak@2.3.6: - resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} + jackspeak@3.1.2: + resolution: {integrity: sha512-kWmLKn2tRtfYMF/BakihVVRzBKOxz4gJMiL2Rj91WnAB5TPZumSH99R/Yf1qE1u4uRimvCSJfm6hnxohXeEXjQ==} engines: {node: '>=14'} javascript-stringify@2.1.0: @@ -3344,68 +3344,64 @@ packages: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} - lightningcss-darwin-arm64@1.24.1: - resolution: {integrity: sha512-1jQ12jBy+AE/73uGQWGSafK5GoWgmSiIQOGhSEXiFJSZxzV+OXIx+a9h2EYHxdJfX864M+2TAxWPWb0Vv+8y4w==} + lightningcss-darwin-arm64@1.25.0: + resolution: {integrity: sha512-neCU5PrQUAec/b2mpXv13rrBWObQVaG/y0yhGKzAqN9cj7lOv13Wegnpiro0M66XAxx/cIkZfmJstRfriOR2SQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [darwin] - lightningcss-darwin-x64@1.24.1: - resolution: {integrity: sha512-R4R1d7VVdq2mG4igMU+Di8GPf0b64ZLnYVkubYnGG0Qxq1KaXQtAzcLI43EkpnoWvB/kUg8JKCWH4S13NfiLcQ==} + lightningcss-darwin-x64@1.25.0: + resolution: {integrity: sha512-h1XBxDHdED7TY4/1V30UNjiqXceGbcL8ARhUfbf8CWAEhD7wMKK/4UqMHi94RDl31ko4LTmt9fS2u1uyeWYE6g==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [darwin] - lightningcss-freebsd-x64@1.24.1: - resolution: {integrity: sha512-z6NberUUw5ALES6Ixn2shmjRRrM1cmEn1ZQPiM5IrZ6xHHL5a1lPin9pRv+w6eWfcrEo+qGG6R9XfJrpuY3e4g==} + lightningcss-freebsd-x64@1.25.0: + resolution: {integrity: sha512-f7v6QwrqCFtQOG1Y7iZ4P1/EAmMsyUyRBrYbSmDxihMzdsL7xyTM753H2138/oCpam+maw2RZrXe/NA1r/I5cQ==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [freebsd] - lightningcss-linux-arm-gnueabihf@1.24.1: - resolution: {integrity: sha512-NLQLnBQW/0sSg74qLNI8F8QKQXkNg4/ukSTa+XhtkO7v3BnK19TS1MfCbDHt+TTdSgNEBv0tubRuapcKho2EWw==} + lightningcss-linux-arm-gnueabihf@1.25.0: + resolution: {integrity: sha512-7KSVcjci9apHxUKNjiLKXn8hVQJqCtwFg5YNvTeKi/BM91A9lQTuO57RpmpPbRIb20Qm8vR7fZtL1iL5Yo3j9A==} engines: {node: '>= 12.0.0'} cpu: [arm] os: [linux] - lightningcss-linux-arm64-gnu@1.24.1: - resolution: {integrity: sha512-AQxWU8c9E9JAjAi4Qw9CvX2tDIPjgzCTrZCSXKELfs4mCwzxRkHh2RCxX8sFK19RyJoJAjA/Kw8+LMNRHS5qEg==} + lightningcss-linux-arm64-gnu@1.25.0: + resolution: {integrity: sha512-1+6tuAsUyMVG5N2rzgwaOOf84yEU+Gjl71b+wLcz26lyM/ohgFgeqPWeB/Dor0wyUnq7vg184l8goGT26cRxoQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] - lightningcss-linux-arm64-musl@1.24.1: - resolution: {integrity: sha512-JCgH/SrNrhqsguUA0uJUM1PvN5+dVuzPIlXcoWDHSv2OU/BWlj2dUYr3XNzEw748SmNZPfl2NjQrAdzaPOn1lA==} + lightningcss-linux-arm64-musl@1.25.0: + resolution: {integrity: sha512-4kw3ZnGQzxD8KkaB4doqfi32hP5h3o04OlrdfZ7T9VLTbUxeh3YZUKcJmhINV2rdMOOmVODqaRw1kuvvF16Q+Q==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] - lightningcss-linux-x64-gnu@1.24.1: - resolution: {integrity: sha512-TYdEsC63bHV0h47aNRGN3RiK7aIeco3/keN4NkoSQ5T8xk09KHuBdySltWAvKLgT8JvR+ayzq8ZHnL1wKWY0rw==} + lightningcss-linux-x64-gnu@1.25.0: + resolution: {integrity: sha512-oVEP5rBrFQB5V7fRIPYkDxKLmd2fAbz9VagKWIRu1TlYDUFWXK4F3KztAtAKuD7tLMBSGGi1LMUueFzVe+cZbw==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] - lightningcss-linux-x64-musl@1.24.1: - resolution: {integrity: sha512-HLfzVik3RToot6pQ2Rgc3JhfZkGi01hFetHt40HrUMoeKitLoqUUT5owM6yTZPTytTUW9ukLBJ1pc3XNMSvlLw==} + lightningcss-linux-x64-musl@1.25.0: + resolution: {integrity: sha512-7ssY6HwCvmPDohqtXuZG2Mh9q32LbVBhiF/SS/VMj2jUcXcsBilUEviq/zFDzhZMxl5f1lXi5/+mCuSGrMir1A==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] - lightningcss-win32-x64-msvc@1.24.1: - resolution: {integrity: sha512-joEupPjYJ7PjZtDsS5lzALtlAudAbgIBMGJPNeFe5HfdmJXFd13ECmEM+5rXNxYVMRHua2w8132R6ab5Z6K9Ow==} + lightningcss-win32-x64-msvc@1.25.0: + resolution: {integrity: sha512-DUVxj1S6dCQkixQ5qiHcYojamxE02bgmSpc4p6lejPwW7WRd/pvDPDAr+BvZWAkX5MRphxB7ei6+93+42ZtvmQ==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [win32] - lightningcss@1.24.1: - resolution: {integrity: sha512-kUpHOLiH5GB0ERSv4pxqlL0RYKnOXtgGtVe7shDGfhS0AZ4D1ouKFYAcLcZhql8aMspDNzaUCumGHZ78tb2fTg==} + lightningcss@1.25.0: + resolution: {integrity: sha512-B08o6QQikGaY4rPuQohtFVE+X2++mm/QemwAJ/1sgnMgTwwUnafJbTmSSBWC8Tv4JPfhelXZB6sWA0Y/6eYJmQ==} engines: {node: '>= 12.0.0'} - lilconfig@3.0.0: - resolution: {integrity: sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==} - engines: {node: '>=14'} - lilconfig@3.1.1: resolution: {integrity: sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==} engines: {node: '>=14'} @@ -3416,13 +3412,13 @@ packages: linkify-it@5.0.0: resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==} - lint-staged@15.2.2: - resolution: {integrity: sha512-TiTt93OPh1OZOsb5B7k96A/ATl2AjIZo+vnzFZ6oHK5FuTk63ByDtxGQpHm+kFETjEWqgkF95M8FRXKR/LEBcw==} + lint-staged@15.2.4: + resolution: {integrity: sha512-3F9KRQIS2fVDGtCkBp4Bx0jswjX7zUcKx6OF0ZeY1prksUyKPRIIUqZhIUYAstJfvj6i48VFs4dwVIbCYwvTYQ==} engines: {node: '>=18.12.0'} hasBin: true - listr2@8.0.1: - resolution: {integrity: sha512-ovJXBXkKGfq+CwmKTjluEqFi3p4h8xvkxGQQAQan22YCgef4KZ1mKGjzfGh6PL6AW5Csw0QiQPNuQyH+6Xk3hA==} + listr2@8.2.1: + resolution: {integrity: sha512-irTfvpib/rNiD637xeevjO2l3Z5loZmuaRi0L0YE5LfijwVY96oyVn0DFD3o/teAok7nfobMG1THvvcHh/BP6g==} engines: {node: '>=18.0.0'} load-tsconfig@0.2.5: @@ -3524,8 +3520,8 @@ packages: resolution: {integrity: sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==} engines: {node: '>=0.10.0'} - markdown-it-anchor@9.0.0: - resolution: {integrity: sha512-gf3mP2g4YZ2WhJrYYOCgU6CyyczVAncjkafan0ONM0AtXTTgIeXMw7M+VjDt4EWODxC2GROpAClUuo2iz5+p3A==} + markdown-it-anchor@9.0.1: + resolution: {integrity: sha512-cBt7aAzmkfX8X7FqAe8EBryiKmToXgMQEEMqkXzWCm0toDtfDYIGboKeTKd8cpNJArJtutrf+977wFJTsvNGmQ==} peerDependencies: '@types/markdown-it': '*' markdown-it: '*' @@ -3580,8 +3576,8 @@ packages: resolution: {integrity: sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==} engines: {node: '>=0.10.0'} - micromatch@4.0.5: - resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + micromatch@4.0.6: + resolution: {integrity: sha512-Y4Ypn3oujJYxJcMacVgcs92wofTHxp9FzfDpQON4msDefoC0lb3ETvQLOdLcbhSwU1bz8HrL/1sygfBIHudrkQ==} engines: {node: '>=8.6'} mime-db@1.52.0: @@ -3918,6 +3914,10 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + picomatch@4.0.2: + resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} + engines: {node: '>=12'} + pidtree@0.6.0: resolution: {integrity: sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==} engines: {node: '>=0.10'} @@ -5110,10 +5110,9 @@ packages: webidl-conversions@4.0.2: resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} - webpack-chain@6.5.1: - resolution: {integrity: sha512-7doO/SRtLu8q5WM0s7vPKPWX580qhi0/yBHkOxNkv50f6qB76Zy9o2wRTrrPULqYTvQlVHuvbA8v+G5ayuUDsA==} - engines: {node: '>=8'} - deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. + webpack-5-chain@8.0.2: + resolution: {integrity: sha512-gpzlChffrVUu5YwIw9i240/wdcglw53mSEV/7WoK7L/ddfb6Al8/sRjztyPYV8VgJAmkapH5T1AOUfMFryQ/VA==} + engines: {node: '>=10'} webpack-dev-middleware@7.2.1: resolution: {integrity: sha512-hRLz+jPQXo999Nx9fXVdKlg/aehsw1ajA9skAneGmT03xwmyuhvF93p6HUKKbWhXdcERtGTzUCtIQr+2IQegrA==} @@ -5237,10 +5236,6 @@ packages: yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - yaml@2.3.4: - resolution: {integrity: sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==} - engines: {node: '>= 14'} - yaml@2.4.2: resolution: {integrity: sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA==} engines: {node: '>= 14'} @@ -5891,7 +5886,7 @@ snapshots: '@types/connect-history-api-fallback@1.5.4': dependencies: - '@types/express-serve-static-core': 4.19.0 + '@types/express-serve-static-core': 4.19.1 '@types/node': 20.12.12 '@types/connect@3.4.38': @@ -5920,7 +5915,7 @@ snapshots: '@types/estree@1.0.5': {} - '@types/express-serve-static-core@4.19.0': + '@types/express-serve-static-core@4.19.1': dependencies: '@types/node': 20.12.12 '@types/qs': 6.9.15 @@ -5930,7 +5925,7 @@ snapshots: '@types/express@4.17.21': dependencies: '@types/body-parser': 1.19.5 - '@types/express-serve-static-core': 4.19.0 + '@types/express-serve-static-core': 4.19.1 '@types/qs': 6.9.15 '@types/serve-static': 1.15.7 @@ -6033,14 +6028,14 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.9.0(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/eslint-plugin@7.10.0(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.9.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/scope-manager': 7.9.0 - '@typescript-eslint/type-utils': 7.9.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.9.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.9.0 + '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/scope-manager': 7.10.0 + '@typescript-eslint/type-utils': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/visitor-keys': 7.10.0 eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -6051,12 +6046,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5)': dependencies: - '@typescript-eslint/scope-manager': 7.9.0 - '@typescript-eslint/types': 7.9.0 - '@typescript-eslint/typescript-estree': 7.9.0(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.9.0 + '@typescript-eslint/scope-manager': 7.10.0 + '@typescript-eslint/types': 7.10.0 + '@typescript-eslint/typescript-estree': 7.10.0(typescript@5.4.5) + '@typescript-eslint/visitor-keys': 7.10.0 debug: 4.3.4 eslint: 8.57.0 optionalDependencies: @@ -6064,15 +6059,15 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@7.9.0': + '@typescript-eslint/scope-manager@7.10.0': dependencies: - '@typescript-eslint/types': 7.9.0 - '@typescript-eslint/visitor-keys': 7.9.0 + '@typescript-eslint/types': 7.10.0 + '@typescript-eslint/visitor-keys': 7.10.0 - '@typescript-eslint/type-utils@7.9.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/type-utils@7.10.0(eslint@8.57.0)(typescript@5.4.5)': dependencies: - '@typescript-eslint/typescript-estree': 7.9.0(typescript@5.4.5) - '@typescript-eslint/utils': 7.9.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.10.0(typescript@5.4.5) + '@typescript-eslint/utils': 7.10.0(eslint@8.57.0)(typescript@5.4.5) debug: 4.3.4 eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.4.5) @@ -6081,12 +6076,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/types@7.9.0': {} + '@typescript-eslint/types@7.10.0': {} - '@typescript-eslint/typescript-estree@7.9.0(typescript@5.4.5)': + '@typescript-eslint/typescript-estree@7.10.0(typescript@5.4.5)': dependencies: - '@typescript-eslint/types': 7.9.0 - '@typescript-eslint/visitor-keys': 7.9.0 + '@typescript-eslint/types': 7.10.0 + '@typescript-eslint/visitor-keys': 7.10.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -6098,30 +6093,30 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.9.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/utils@7.10.0(eslint@8.57.0)(typescript@5.4.5)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@typescript-eslint/scope-manager': 7.9.0 - '@typescript-eslint/types': 7.9.0 - '@typescript-eslint/typescript-estree': 7.9.0(typescript@5.4.5) + '@typescript-eslint/scope-manager': 7.10.0 + '@typescript-eslint/types': 7.10.0 + '@typescript-eslint/typescript-estree': 7.10.0(typescript@5.4.5) eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@7.9.0': + '@typescript-eslint/visitor-keys@7.10.0': dependencies: - '@typescript-eslint/types': 7.9.0 + '@typescript-eslint/types': 7.10.0 eslint-visitor-keys: 3.4.3 '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue@5.0.4(vite@5.2.11(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0))(vue@3.4.27(typescript@5.4.5))': + '@vitejs/plugin-vue@5.0.4(vite@5.2.11(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0))(vue@3.4.27(typescript@5.4.5))': dependencies: - vite: 5.2.11(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0) + vite: 5.2.11(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0) vue: 3.4.27(typescript@5.4.5) - '@vitest/coverage-istanbul@1.6.0(vitest@1.6.0(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0))': + '@vitest/coverage-istanbul@1.6.0(vitest@1.6.0(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0))': dependencies: debug: 4.3.4 istanbul-lib-coverage: 3.2.2 @@ -6132,7 +6127,7 @@ snapshots: magicast: 0.3.4 picocolors: 1.0.1 test-exclude: 6.0.0 - vitest: 1.6.0(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0) + vitest: 1.6.0(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0) transitivePeerDependencies: - supports-color @@ -6494,7 +6489,7 @@ snapshots: autoprefixer@10.4.19(postcss@8.4.38): dependencies: browserslist: 4.23.0 - caniuse-lite: 1.0.30001620 + caniuse-lite: 1.0.30001621 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.1 @@ -6571,14 +6566,14 @@ snapshots: transitivePeerDependencies: - supports-color - braces@3.0.2: + braces@3.0.3: dependencies: - fill-range: 7.0.1 + fill-range: 7.1.1 browserslist@4.23.0: dependencies: - caniuse-lite: 1.0.30001620 - electron-to-chromium: 1.4.773 + caniuse-lite: 1.0.30001621 + electron-to-chromium: 1.4.777 node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.0) @@ -6663,11 +6658,11 @@ snapshots: caniuse-api@3.0.0: dependencies: browserslist: 4.23.0 - caniuse-lite: 1.0.30001620 + caniuse-lite: 1.0.30001621 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 - caniuse-lite@1.0.30001620: {} + caniuse-lite@1.0.30001621: {} chai@4.4.1: dependencies: @@ -6699,7 +6694,7 @@ snapshots: chokidar@3.6.0: dependencies: anymatch: 3.1.3 - braces: 3.0.2 + braces: 3.0.3 glob-parent: 5.1.2 is-binary-path: 2.1.0 is-glob: 4.0.3 @@ -6773,7 +6768,7 @@ snapshots: colorette@2.0.20: {} - commander@11.1.0: {} + commander@12.1.0: {} commander@2.20.3: {} @@ -6991,7 +6986,7 @@ snapshots: optionalDependencies: webpack: 5.91.0(esbuild@0.19.12) - css-minimizer-webpack-plugin@7.0.0(esbuild@0.19.12)(lightningcss@1.24.1)(webpack@5.91.0(esbuild@0.19.12)): + css-minimizer-webpack-plugin@7.0.0(esbuild@0.19.12)(lightningcss@1.25.0)(webpack@5.91.0(esbuild@0.19.12)): dependencies: '@jridgewell/trace-mapping': 0.3.25 cssnano: 7.0.1(postcss@8.4.38) @@ -7002,7 +6997,7 @@ snapshots: webpack: 5.91.0(esbuild@0.19.12) optionalDependencies: esbuild: 0.19.12 - lightningcss: 1.24.1 + lightningcss: 1.25.0 css-select@4.3.0: dependencies: @@ -7255,7 +7250,7 @@ snapshots: ee-first@1.1.1: {} - electron-to-chromium@1.4.773: {} + electron-to-chromium@1.4.777: {} emoji-regex@10.3.0: {} @@ -7339,7 +7334,7 @@ snapshots: es-errors@1.3.0: {} - es-module-lexer@1.5.2: {} + es-module-lexer@1.5.3: {} es-object-atoms@1.0.0: dependencies: @@ -7438,19 +7433,19 @@ snapshots: dependencies: eslint: 8.57.0 - eslint-config-standard@17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0): + eslint-config-standard@17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0): dependencies: eslint: 8.57.0 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) eslint-plugin-n: 16.6.2(eslint@8.57.0) eslint-plugin-promise: 6.1.1(eslint@8.57.0) - eslint-config-vuepress-typescript@4.10.1(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0)(typescript@5.4.5): + eslint-config-vuepress-typescript@4.10.1(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0)(typescript@5.4.5): dependencies: - '@typescript-eslint/eslint-plugin': 7.9.0(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.9.0(eslint@8.57.0)(typescript@5.4.5) - eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0) - eslint-config-vuepress: 4.10.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) + '@typescript-eslint/eslint-plugin': 7.10.0(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0) + eslint-config-vuepress: 4.10.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) eslint-plugin-vue: 9.26.0(eslint@8.57.0) transitivePeerDependencies: - eslint @@ -7462,11 +7457,11 @@ snapshots: - supports-color - typescript - eslint-config-vuepress@4.10.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0): + eslint-config-vuepress@4.10.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0): dependencies: eslint-config-prettier: 9.1.0(eslint@8.57.0) - eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) + eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0))(eslint-plugin-n@16.6.2(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) eslint-plugin-n: 16.6.2(eslint@8.57.0) eslint-plugin-promise: 6.1.1(eslint@8.57.0) transitivePeerDependencies: @@ -7484,11 +7479,11 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 7.9.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: @@ -7501,7 +7496,7 @@ snapshots: eslint: 8.57.0 eslint-compat-utils: 0.5.0(eslint@8.57.0) - eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0): dependencies: array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 @@ -7511,7 +7506,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -7522,7 +7517,7 @@ snapshots: semver: 6.3.1 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 7.9.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -7754,7 +7749,7 @@ snapshots: '@nodelib/fs.walk': 1.2.8 glob-parent: 5.1.2 merge2: 1.4.1 - micromatch: 4.0.5 + micromatch: 4.0.6 fast-json-stable-stringify@2.1.0: {} @@ -7779,7 +7774,7 @@ snapshots: repeat-string: 1.6.1 to-regex-range: 2.1.1 - fill-range@7.0.1: + fill-range@7.1.1: dependencies: to-regex-range: 5.0.1 @@ -7963,10 +7958,10 @@ snapshots: glob-to-regexp@0.4.1: {} - glob@10.3.15: + glob@10.3.16: dependencies: foreground-child: 3.1.1 - jackspeak: 2.3.6 + jackspeak: 3.1.2 minimatch: 9.0.4 minipass: 7.1.1 path-scurry: 1.11.1 @@ -8169,7 +8164,7 @@ snapshots: http-proxy: 1.18.1(debug@2.6.9) is-glob: 4.0.3 is-plain-obj: 3.0.0 - micromatch: 4.0.5 + micromatch: 4.0.6 optionalDependencies: '@types/express': 4.17.21 transitivePeerDependencies: @@ -8433,7 +8428,7 @@ snapshots: html-escaper: 2.0.2 istanbul-lib-report: 3.0.1 - jackspeak@2.3.6: + jackspeak@3.1.2: dependencies: '@isaacs/cliui': 8.0.2 optionalDependencies: @@ -8532,48 +8527,46 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 - lightningcss-darwin-arm64@1.24.1: + lightningcss-darwin-arm64@1.25.0: optional: true - lightningcss-darwin-x64@1.24.1: + lightningcss-darwin-x64@1.25.0: optional: true - lightningcss-freebsd-x64@1.24.1: + lightningcss-freebsd-x64@1.25.0: optional: true - lightningcss-linux-arm-gnueabihf@1.24.1: + lightningcss-linux-arm-gnueabihf@1.25.0: optional: true - lightningcss-linux-arm64-gnu@1.24.1: + lightningcss-linux-arm64-gnu@1.25.0: optional: true - lightningcss-linux-arm64-musl@1.24.1: + lightningcss-linux-arm64-musl@1.25.0: optional: true - lightningcss-linux-x64-gnu@1.24.1: + lightningcss-linux-x64-gnu@1.25.0: optional: true - lightningcss-linux-x64-musl@1.24.1: + lightningcss-linux-x64-musl@1.25.0: optional: true - lightningcss-win32-x64-msvc@1.24.1: + lightningcss-win32-x64-msvc@1.25.0: optional: true - lightningcss@1.24.1: + lightningcss@1.25.0: dependencies: detect-libc: 1.0.3 optionalDependencies: - lightningcss-darwin-arm64: 1.24.1 - lightningcss-darwin-x64: 1.24.1 - lightningcss-freebsd-x64: 1.24.1 - lightningcss-linux-arm-gnueabihf: 1.24.1 - lightningcss-linux-arm64-gnu: 1.24.1 - lightningcss-linux-arm64-musl: 1.24.1 - lightningcss-linux-x64-gnu: 1.24.1 - lightningcss-linux-x64-musl: 1.24.1 - lightningcss-win32-x64-msvc: 1.24.1 - - lilconfig@3.0.0: {} + lightningcss-darwin-arm64: 1.25.0 + lightningcss-darwin-x64: 1.25.0 + lightningcss-freebsd-x64: 1.25.0 + lightningcss-linux-arm-gnueabihf: 1.25.0 + lightningcss-linux-arm64-gnu: 1.25.0 + lightningcss-linux-arm64-musl: 1.25.0 + lightningcss-linux-x64-gnu: 1.25.0 + lightningcss-linux-x64-musl: 1.25.0 + lightningcss-win32-x64-msvc: 1.25.0 lilconfig@3.1.1: {} @@ -8583,22 +8576,22 @@ snapshots: dependencies: uc.micro: 2.1.0 - lint-staged@15.2.2: + lint-staged@15.2.4: dependencies: chalk: 5.3.0 - commander: 11.1.0 + commander: 12.1.0 debug: 4.3.4 execa: 8.0.1 - lilconfig: 3.0.0 - listr2: 8.0.1 - micromatch: 4.0.5 + lilconfig: 3.1.1 + listr2: 8.2.1 + micromatch: 4.0.6 pidtree: 0.6.0 string-argv: 0.3.2 - yaml: 2.3.4 + yaml: 2.4.2 transitivePeerDependencies: - supports-color - listr2@8.0.1: + listr2@8.2.1: dependencies: cli-truncate: 4.0.0 colorette: 2.0.20 @@ -8701,7 +8694,7 @@ snapshots: dependencies: object-visit: 1.0.1 - markdown-it-anchor@9.0.0(@types/markdown-it@14.1.1)(markdown-it@14.1.0): + markdown-it-anchor@9.0.1(@types/markdown-it@14.1.1)(markdown-it@14.1.0): dependencies: '@types/markdown-it': 14.1.1 markdown-it: 14.1.0 @@ -8762,10 +8755,10 @@ snapshots: transitivePeerDependencies: - supports-color - micromatch@4.0.5: + micromatch@4.0.6: dependencies: - braces: 3.0.2 - picomatch: 2.3.1 + braces: 3.0.3 + picomatch: 4.0.2 mime-db@1.52.0: {} @@ -9101,6 +9094,8 @@ snapshots: picomatch@2.3.1: {} + picomatch@4.0.2: {} + pidtree@0.6.0: {} pirates@4.0.6: {} @@ -9488,7 +9483,7 @@ snapshots: rimraf@5.0.7: dependencies: - glob: 10.3.15 + glob: 10.3.16 rollup@4.17.2: dependencies: @@ -9911,7 +9906,7 @@ snapshots: dependencies: '@jridgewell/gen-mapping': 0.3.5 commander: 4.1.1 - glob: 10.3.15 + glob: 10.3.16 lines-and-columns: 1.2.4 mz: 2.7.0 pirates: 4.0.6 @@ -10196,13 +10191,13 @@ snapshots: vary@1.1.2: {} - vite-node@1.6.0(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0): + vite-node@1.6.0(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0): dependencies: cac: 6.7.14 debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.1 - vite: 5.2.11(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0) + vite: 5.2.11(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0) transitivePeerDependencies: - '@types/node' - less @@ -10213,7 +10208,7 @@ snapshots: - supports-color - terser - vite@5.2.11(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0): + vite@5.2.11(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0): dependencies: esbuild: 0.20.2 postcss: 8.4.38 @@ -10221,11 +10216,11 @@ snapshots: optionalDependencies: '@types/node': 20.12.12 fsevents: 2.3.3 - lightningcss: 1.24.1 + lightningcss: 1.25.0 sass: 1.77.2 terser: 5.31.0 - vitest@1.6.0(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0): + vitest@1.6.0(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -10244,8 +10239,8 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.8.0 tinypool: 0.8.4 - vite: 5.2.11(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0) - vite-node: 1.6.0(@types/node@20.12.12)(lightningcss@1.24.1)(sass@1.77.2)(terser@5.31.0) + vite: 5.2.11(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0) + vite-node: 1.6.0(@types/node@20.12.12)(lightningcss@1.25.0)(sass@1.77.2)(terser@5.31.0) why-is-node-running: 2.2.2 optionalDependencies: '@types/node': 20.12.12 @@ -10318,7 +10313,7 @@ snapshots: webidl-conversions@4.0.2: {} - webpack-chain@6.5.1: + webpack-5-chain@8.0.2: dependencies: deepmerge: 1.5.2 javascript-stringify: 2.1.0 @@ -10399,7 +10394,7 @@ snapshots: browserslist: 4.23.0 chrome-trace-event: 1.0.3 enhanced-resolve: 5.16.1 - es-module-lexer: 1.5.2 + es-module-lexer: 1.5.3 eslint-scope: 5.1.1 events: 3.3.0 glob-to-regexp: 0.4.1 @@ -10493,8 +10488,6 @@ snapshots: yallist@4.0.0: {} - yaml@2.3.4: {} - yaml@2.4.2: {} yargs-parser@21.1.1: {}