diff --git a/package.json b/package.json index cf4a9b3b3..76a825e83 100644 --- a/package.json +++ b/package.json @@ -27,20 +27,21 @@ "@nx/cypress": "17.0.1", "@nx/detox": "17.0.1", "@nx/devkit": "17.0.1", + "@nx/eslint": "17.0.1", "@nx/eslint-plugin": "17.0.1", "@nx/jest": "17.0.1", "@nx/js": "17.0.1", "@nx/node": "17.0.1", "@nx/plugin": "17.0.1", "@nx/react": "17.0.1", + "@nx/storybook": "17.0.1", "@nx/vite": "17.0.1", "@nx/workspace": "17.0.1", - "@nx/storybook": "17.0.1", "@phenomnomnominal/tsquery": "^5.0.1", - "@rspack/core": "^0.1.12", - "@rspack/dev-server": "^0.1.12", - "@rspack/less-loader": "^0.0.22", - "@rspack/plugin-minify": "^0.1.12", + "@rspack/core": "^0.4.4", + "@rspack/dev-server": "^0.4.4", + "@rspack/plugin-minify": "^0.4.4", + "@rspack/plugin-react-refresh": "^0.4.4", "@swc-node/register": "1.6.8", "@types/fs-extra": "^11.0.1", "@types/jest": "29.4.0", @@ -69,7 +70,6 @@ "ts-node": "10.9.1", "tslib": "^2.3.0", "typescript": "5.1.3", - "verdaccio": "^5.0.4", - "@nx/eslint": "17.0.1" + "verdaccio": "^5.0.4" } } diff --git a/packages/rspack/src/executors/dev-server/dev-server.impl.ts b/packages/rspack/src/executors/dev-server/dev-server.impl.ts index debbd5a90..ffd7171f0 100644 --- a/packages/rspack/src/executors/dev-server/dev-server.impl.ts +++ b/packages/rspack/src/executors/dev-server/dev-server.impl.ts @@ -6,7 +6,7 @@ import { import { createAsyncIterable } from '@nx/devkit/src/utils/async-iterable'; import { Configuration } from '@rspack/core'; import { RspackDevServer } from '@rspack/dev-server'; -import { createCompiler } from '../../utils/create-compiler'; +import { createCompiler, isMultiCompiler } from '../../utils/create-compiler'; import { isMode } from '../../utils/mode-utils'; import { DevServerExecutorSchema } from './schema'; type DevServer = Configuration['devServer']; @@ -25,14 +25,10 @@ export default async function* runExecutor( context.projectGraph ); - // If I don't typecast, it throws an error - // that port does not exist on type DevServer - // however, it does exist, since DevServer extends - // WebpackDevServer.Configuration which has port let devServerConfig: DevServer = { port: options.port ?? 4200, hot: true, - } as DevServer; + }; const buildOptions = readTargetOptions(buildTarget, context); const compiler = await createCompiler( @@ -40,17 +36,16 @@ export default async function* runExecutor( context ); + // Use the first one if it's MultiCompiler + // https://webpack.js.org/configuration/dev-server/#root:~:text=Be%20aware%20that%20when%20exporting%20multiple%20configurations%20only%20the%20devServer%20options%20for%20the%20first%20configuration%20will%20be%20taken%20into%20account%20and%20used%20for%20all%20the%20configurations%20in%20the%20array. + const firstCompiler = isMultiCompiler(compiler) ? compiler.compilers[0] : compiler; devServerConfig = { ...devServerConfig, - ...compiler.options.devServer, + ...firstCompiler.options.devServer, }; yield* createAsyncIterable(({ next }) => { const server: any = new RspackDevServer( - // If I don't typecast, it throws an error - // that onListening does not exist on type DevServer - // however, it does exist, since DevServer extends - // WebpackDevServer.Configuration which has onListening { ...devServerConfig, onListening: (server: any) => { @@ -59,7 +54,7 @@ export default async function* runExecutor( baseUrl: `http://localhost:${options.port ?? 4200}`, }); }, - } as DevServer, + }, compiler ); diff --git a/packages/rspack/src/executors/rspack/rspack.impl.ts b/packages/rspack/src/executors/rspack/rspack.impl.ts index a30c7e401..8179da525 100644 --- a/packages/rspack/src/executors/rspack/rspack.impl.ts +++ b/packages/rspack/src/executors/rspack/rspack.impl.ts @@ -1,9 +1,9 @@ import { ExecutorContext, logger } from '@nx/devkit'; import { createAsyncIterable } from '@nx/devkit/src/utils/async-iterable'; -import { Stats } from '@rspack/core'; +import { Compiler, MultiCompiler, MultiStats, Stats } from '@rspack/core'; import { rmSync } from 'fs'; import * as path from 'path'; -import { createCompiler } from '../../utils/create-compiler'; +import { createCompiler, isMultiCompiler } from '../../utils/create-compiler'; import { isMode } from '../../utils/mode-utils'; import { RspackExecutorSchema } from './schema'; import { printDiagnostics, runTypeCheck } from '@nx/js'; @@ -35,9 +35,9 @@ export default async function* runExecutor( outfile?: string; }>(async ({ next, done }) => { if (options.watch) { - const watcher= compiler.watch( + const watcher = compiler.watch( {}, - async (err, stats: Stats) => { + async (err, stats: Stats | MultiStats) => { if (err) { logger.error(err); next({ success: false }); @@ -49,9 +49,7 @@ export default async function* runExecutor( return; } - const statsOptions = compiler.options - ? compiler.options.stats - : undefined; + const statsOptions = getStatsOptions(compiler); const printedStats = stats.toString(statsOptions); // Avoid extra empty line when `stats: 'none'` if (printedStats) { @@ -70,7 +68,7 @@ export default async function* runExecutor( }); }); } else { - compiler.run(async (err, stats: Stats) => { + compiler.run(async (err, stats: Stats | MultiStats) => { compiler.close(() => { if (err) { logger.error(err); @@ -83,9 +81,7 @@ export default async function* runExecutor( return; } - const statsOptions = compiler.options - ? compiler.options.stats - : undefined; + const statsOptions = getStatsOptions(compiler); const printedStats = stats.toString(statsOptions); // Avoid extra empty line when `stats: 'none'` if (printedStats) { @@ -136,4 +132,14 @@ async function executeTypeCheck( if (result.errors.length > 0) { throw new Error('Found type errors. See above.'); } +} + +function getStatsOptions(compiler: Compiler | MultiCompiler) { + return isMultiCompiler(compiler) + ? { + children: compiler.compilers.map(compiler => compiler.options ? compiler.options.stats : undefined) + } + : compiler.options + ? compiler.options.stats + : undefined; } \ No newline at end of file diff --git a/packages/rspack/src/generators/init/init.ts b/packages/rspack/src/generators/init/init.ts index 96c8dfd63..ad53f2143 100644 --- a/packages/rspack/src/generators/init/init.ts +++ b/packages/rspack/src/generators/init/init.ts @@ -9,8 +9,9 @@ import { initGenerator } from '@nx/js'; import { rspackCoreVersion, rspackDevServerVersion, - rspackLessLoaderVersion, rspackPluginMinifyVersion, + lessLoaderVersion, + rspackPluginReactRefreshVersion, } from '../../utils/versions'; import { InitGeneratorSchema } from './schema'; @@ -30,6 +31,7 @@ export async function rspackInitGenerator( const devDependencies = { '@rspack/core': rspackCoreVersion, '@rspack/plugin-minify': rspackPluginMinifyVersion, + '@rspack/plugin-react-refresh': rspackPluginReactRefreshVersion, }; // eslint-disable-next-line @typescript-eslint/no-var-requires @@ -40,7 +42,7 @@ export async function rspackInitGenerator( } if (schema.style === 'less') { - devDependencies['@rspack/less-loader'] = rspackLessLoaderVersion; + devDependencies['less-loader'] = lessLoaderVersion; } if (schema.framework !== 'none' || schema.devServer) { diff --git a/packages/rspack/src/utils/create-compiler.ts b/packages/rspack/src/utils/create-compiler.ts index fbb0b1c4d..26aa755fd 100644 --- a/packages/rspack/src/utils/create-compiler.ts +++ b/packages/rspack/src/utils/create-compiler.ts @@ -1,12 +1,12 @@ import { ExecutorContext } from '@nx/devkit'; -import { Compiler, createCompiler as _createCompiler } from '@rspack/core'; +import { Compiler, MultiCompiler, rspack } from '@rspack/core'; import * as path from 'path'; import { RspackExecutorSchema } from '../executors/rspack/schema'; export async function createCompiler( options: RspackExecutorSchema, context: ExecutorContext -): Promise { +): Promise { let userDefinedConfig = await import( path.join(context.root, options.rspackConfig) ).then((x) => x.default || x); @@ -17,5 +17,9 @@ export async function createCompiler( const config = await userDefinedConfig({}, { options, context }); - return _createCompiler(config); + return rspack(config); +} + +export function isMultiCompiler(compiler: Compiler | MultiCompiler): compiler is MultiCompiler { + return 'compilers' in compiler } diff --git a/packages/rspack/src/utils/versions.ts b/packages/rspack/src/utils/versions.ts index 2148b6781..842fafa3d 100644 --- a/packages/rspack/src/utils/versions.ts +++ b/packages/rspack/src/utils/versions.ts @@ -1,8 +1,9 @@ -export const rspackCoreVersion = '~0.1.12'; -export const rspackDevServerVersion = '~0.1.12'; +export const rspackCoreVersion = '~0.4.4'; +export const rspackDevServerVersion = '~0.4.4'; -export const rspackPluginMinifyVersion = '~0.1.12'; -export const rspackLessLoaderVersion = '^0.0.22'; +export const rspackPluginMinifyVersion = '~0.4.4'; +export const rspackPluginReactRefreshVersion = '~0.4.4'; +export const lessLoaderVersion = '~11.1.3'; export const reactVersion = '~18.2.0'; export const reactDomVersion = '~18.2.0'; diff --git a/packages/rspack/src/utils/with-nx.ts b/packages/rspack/src/utils/with-nx.ts index b0c7e7867..60ce33945 100644 --- a/packages/rspack/src/utils/with-nx.ts +++ b/packages/rspack/src/utils/with-nx.ts @@ -3,6 +3,7 @@ import { ExternalItem, ResolveAlias, RspackPluginInstance, + rspack, } from '@rspack/core'; import { LicenseWebpackPlugin } from 'license-webpack-plugin'; import * as path from 'path'; @@ -58,6 +59,13 @@ export function withNx(_opts = {}) { ); } + plugins.push(new rspack.CopyRspackPlugin({ + patterns: getCopyPatterns( + normalizeAssets(options.assets, context.root, sourceRoot) + ), + })); + plugins.push(new rspack.ProgressPlugin()) + options.fileReplacements.forEach((item) => { alias[item.replace] = item.with; }); @@ -121,7 +129,43 @@ export function withNx(_opts = {}) { port: 4200, hot: true, } as any, - module: {}, + module: { + rules: [ + { + test: /\.js$/, + loader: 'builtin:swc-loader', + exclude: /node_modules/, + options: { + jsc: { + parser: { + syntax: 'ecmascript', + }, + externalHelpers: true, + }, + }, + type: 'javascript/auto', + }, + { + test: /\.ts$/, + loader: 'builtin:swc-loader', + exclude: /node_modules/, + options: { + jsc: { + parser: { + syntax: 'typescript', + decorators: true + }, + transform: { + legacyDecorator: true, + decoratorMetadata: true + }, + externalHelpers: true, + }, + }, + type: 'javascript/auto', + }, + ] + }, plugins: plugins, resolve: { // There are some issues resolving workspace libs in a monorepo. @@ -133,14 +177,6 @@ export function withNx(_opts = {}) { infrastructureLogging: { debug: false, }, - builtins: { - copy: { - patterns: getCopyPatterns( - normalizeAssets(options.assets, context.root, sourceRoot) - ), - }, - progress: {}, - }, externals, externalsType, stats: { @@ -149,13 +185,6 @@ export function withNx(_opts = {}) { }, }; - if (options.optimization) { - updated.optimization = { - ...config.optimization, - minimize: true, - }; - } - return updated; }; } diff --git a/packages/rspack/src/utils/with-react.ts b/packages/rspack/src/utils/with-react.ts index d6b4ab7ed..9a01cb82e 100644 --- a/packages/rspack/src/utils/with-react.ts +++ b/packages/rspack/src/utils/with-react.ts @@ -1,6 +1,7 @@ import { Configuration } from '@rspack/core'; import { SharedConfigContext } from './model'; import { withWeb } from './with-web'; +import ReactRefreshPlugin from "@rspack/plugin-react-refresh"; export function withReact(opts = {}) { return function makeConfig( @@ -15,15 +16,59 @@ export function withReact(opts = {}) { context, }); + const react = { + runtime: 'automatic', + development: isDev, + refresh: isDev, + }; + return { ...config, - builtins: { - ...config.builtins, - react: { - runtime: 'automatic', - development: isDev, - refresh: isDev, - }, + plugins: [ + ...(config.plugins || []), + isDev && new ReactRefreshPlugin(), + ].filter(Boolean), + module: { + ...config.module, + rules: [ + ...(config.module.rules || []), + { + test: /\.jsx$/, + loader: 'builtin:swc-loader', + exclude: /node_modules/, + options: { + jsc: { + parser: { + syntax: 'ecmascript', + jsx: true, + }, + transform: { + react, + }, + externalHelpers: true, + }, + }, + type: 'javascript/auto', + }, + { + test: /\.tsx$/, + loader: 'builtin:swc-loader', + exclude: /node_modules/, + options: { + jsc: { + parser: { + syntax: 'typescript', + tsx: true, + }, + transform: { + react, + }, + externalHelpers: true, + }, + }, + type: 'javascript/auto', + }, + ], }, }; }; diff --git a/packages/rspack/src/utils/with-web.ts b/packages/rspack/src/utils/with-web.ts index 1e496a076..13f5c0e54 100644 --- a/packages/rspack/src/utils/with-web.ts +++ b/packages/rspack/src/utils/with-web.ts @@ -1,4 +1,4 @@ -import { Configuration, RuleSetRule } from '@rspack/core'; +import { Configuration, RuleSetRule, rspack } from '@rspack/core'; import * as path from 'path'; import { SharedConfigContext } from './model'; @@ -98,21 +98,17 @@ export function withWeb(opts: WithWebOptions = {}) { }, ].filter((a): a is RuleSetRule => !!a), }, - builtins: { - ...config.builtins, - html: [ - ...(config.builtins.html || []), - { - template: options.indexHtml - ? path.join(context.root, options.indexHtml) - : path.join(projectRoot, 'src/index.html'), - }, - ], - define: { - ...config.builtins.define, + plugins: [ + ...config.plugins, + new rspack.HtmlRspackPlugin({ + template: options.indexHtml + ? path.join(context.root, options.indexHtml) + : path.join(projectRoot, 'src/index.html'), + }), + new rspack.DefinePlugin({ 'process.env.NODE_ENV': isProd ? "'production'" : "'development'", - }, - }, + }) + ], }; }; } diff --git a/packages/rspack/tsconfig.lib.json b/packages/rspack/tsconfig.lib.json index edecad0e0..53e9f950d 100644 --- a/packages/rspack/tsconfig.lib.json +++ b/packages/rspack/tsconfig.lib.json @@ -4,6 +4,7 @@ "resolveJsonModule": true, "outDir": "../../dist/out-tsc", "declaration": true, + "esModuleInterop": true, "types": ["node"] }, "include": ["**/*.ts"], diff --git a/yarn.lock b/yarn.lock index 86376cca5..6cf98e39e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2926,21 +2926,6 @@ dependencies: esquery "^1.4.0" -"@pmmmwh/react-refresh-webpack-plugin@0.5.10": - version "0.5.10" - resolved "https://registry.npmjs.org/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.10.tgz#2eba163b8e7dbabb4ce3609ab5e32ab63dda3ef8" - integrity sha512-j0Ya0hCFZPd4x40qLzbhGsh9TMtdb+CJQiso+WxLOPNasohq9cc5SNUcwsZaRH6++Xh91Xkm/xHCkuIiIu0LUA== - dependencies: - ansi-html-community "^0.0.8" - common-path-prefix "^3.0.0" - core-js-pure "^3.23.3" - error-stack-parser "^2.0.6" - find-up "^5.0.0" - html-entities "^2.1.0" - loader-utils "^2.0.4" - schema-utils "^3.0.0" - source-map "^0.7.3" - "@pnpm/config.env-replace@^1.1.0": version "1.1.0" resolved "https://registry.npmjs.org/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz#ab29da53df41e8948a00f2433f085f54de8b3a4c" @@ -2962,137 +2947,118 @@ "@pnpm/network.ca-file" "^1.0.1" config-chain "^1.1.11" -"@rspack/binding-darwin-arm64@0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/binding-darwin-arm64/-/binding-darwin-arm64-0.1.12.tgz#fc89956368557d9e2bcd33af147053f7b219b0f9" - integrity sha512-O9JCStvbRHc3utzWHBw0/PGaqF0vc4sfTDZUlh/9m51l4eQxMEK/7ayke75uJPakgOWfctqSU1JjtC1Sxtn/Jw== - -"@rspack/binding-darwin-x64@0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/binding-darwin-x64/-/binding-darwin-x64-0.1.12.tgz#eb518e5b9f12de4943965a01b969649a6f4537bd" - integrity sha512-ye0WpN4tJX9YypGBV/WlZyPsL28wWOIhyEM5sRpsOmaN6UiIv/xpM6KE0f/y7MSue34WAk97Bhcc93YMLnRh3Q== - -"@rspack/binding-linux-arm64-gnu@0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.1.12.tgz#e3c684e7d2ca6ab197f1e7be785fc8e0ddb5e40c" - integrity sha512-hN98eWO7PbqMuRuJRM0WSVfRlGQGJeaTbJ6xaYZjsCjcEQIEzENpczB+dzGXxJ/deUlOVVnqoFKXyVLQlrSjQQ== - -"@rspack/binding-linux-arm64-musl@0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.1.12.tgz#486485cd1cd92dcc76b9218ca222d0b65313474a" - integrity sha512-qeKUjZqZoqXZuL+fJt4ZxmJ9UTjYyF5Nld+xlyFS3F3h2BebRStPPJ2zJ9vU+tvuMZS+PMer54N0Zi3GIFgf+w== - -"@rspack/binding-linux-x64-gnu@0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.1.12.tgz#e00d3e2d138b1520d7838dd7dc22684417c838b0" - integrity sha512-1ka0O36yjLedNlopLgL1W6asX5C0yY0SM+hzh7Up8YKwpVhxfFgHegwO4xzIXBEGvdwxt2UkCxPyfKuQ2LxG9w== - -"@rspack/binding-linux-x64-musl@0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/binding-linux-x64-musl/-/binding-linux-x64-musl-0.1.12.tgz#f4c97ff781742cb34253aa5eb2d7cedf67edaf5b" - integrity sha512-9z75EFcJgQPsC2ewHgrx3R8tnq9JRjqzseXkox1k43W4X8YgGCb3d0bcGEJIzgsfClFbsitQlpcW7GRdfgh5WQ== - -"@rspack/binding-win32-arm64-msvc@0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.1.12.tgz#1b401d5a4173bddf156ec619826466540fff5427" - integrity sha512-EDMChAsgNvdvhQYQbpabkt9IywbdVKC/fgOF1/SOO9jNYF5xjS4/aJPPCCoWTJ5RrJZSwq7q7YQypvU5CFkb/A== - -"@rspack/binding-win32-ia32-msvc@0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.1.12.tgz#9cbda998af6958db86fe9998bc85f5ddfa81c282" - integrity sha512-0nyDwKL4AUsFw8olC6Db3aLovS8wgrL4cK/3VG8cUwYNIOeGL4FV7pPnYTU4KLWrU+KcBXZ+3rWD1ztg6rVG9A== - -"@rspack/binding-win32-x64-msvc@0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.1.12.tgz#ae8c7cddeb00a41e45c1a156b0d9d7cdc53d7141" - integrity sha512-eRIR1YWivD84VaioL/4IX2O3HWeChy/eJoS49USwfyfZJJR+otvb07440twDI0sqe2Q1ODzAasV6pNQcVrnhEA== - -"@rspack/binding@0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/binding/-/binding-0.1.12.tgz#85c6d2495d3ece7db653b1bb04605a6c4c4adeb4" - integrity sha512-EU7q8IbMZc4O7dd7tuiKTHw+YULffZG1GmbXrdPm5yeIkzNTNbtI397sam4eWLr8VZjoHFOR1vEozDsUSjcFJA== +"@rspack/binding-darwin-arm64@0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/binding-darwin-arm64/-/binding-darwin-arm64-0.4.4.tgz#ecabeb41127382a48907659c8b420edf702eef64" + integrity sha512-40HUmnT/zHBcajcdTtIzorI1zpGZCpJBnis2rR3DzmBnD1fDLgu7PcW7iE11/MPmdwOYAZbCSzTZwe8hv0Skxw== + +"@rspack/binding-darwin-x64@0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/binding-darwin-x64/-/binding-darwin-x64-0.4.4.tgz#934d6c88a77972f39d4a7ea1aab4b9b4cf1bb05d" + integrity sha512-8vXoqA0S+D7LnwGAsO5dEpxKV3np/iONPvwRhVl2cBtsFKYmnh3jG0oxtDamCUUw38Jc3VZQTeH7kUt5F8HB5g== + +"@rspack/binding-linux-arm64-gnu@0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.4.4.tgz#52a84a365bc52f832fe0e2f5095694bba01d89c7" + integrity sha512-lmLy9W14WcVjI1PuZVeq0TAGNFoeYjQswQHl0KCDURcxaBbVqGcNjPovhbib+5w9Gj4jQqqnVIUHs86vIqDwHQ== + +"@rspack/binding-linux-arm64-musl@0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.4.4.tgz#cb739262fe110a98417a787cf50a583e5c12fba0" + integrity sha512-wnranY+QPbGzrkfNneZkq839imrt+pfup1RpynfgrvjiWApDwvagTi9S8M7Og3u9m1CmJDrBq6yXgy4ffweygQ== + +"@rspack/binding-linux-x64-gnu@0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.4.4.tgz#f374c6df0ea40f73daff3947795ab9e87bfd7588" + integrity sha512-J0n+91NL9quEWYaStFitXC3+rbM+wklxCEHvkwfuzC46fGcG9673aTVfcrod1fx2jTHHaftXKb5Hpru77W0JAA== + +"@rspack/binding-linux-x64-musl@0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/binding-linux-x64-musl/-/binding-linux-x64-musl-0.4.4.tgz#87bb9c672b69d4a1d1f71ad3abf67137dba8fd26" + integrity sha512-ulIhvLzimHB5Ggp9TRJEFvyak/7OPzeVxFdP8nYNBHzPoYiqnK2MQUVOK7CT2hTpco1QJbh3jZTZxzdKIY5asw== + +"@rspack/binding-win32-arm64-msvc@0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.4.4.tgz#ba5286ea74fd99ab2cde66532f8e65b7b11db695" + integrity sha512-t4u3jlx+0LDOY7Y8m9tLDHAsPN9aiyz/5NDHKqdDeke5NJZ2A4jbv+h/dvcyGH+Nxj056XW1aa9wzvzT9jb//A== + +"@rspack/binding-win32-ia32-msvc@0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.4.4.tgz#7bb30955848eded381424be4ba99453a650f1644" + integrity sha512-ijw4bmB8Zh8BkawPqIc8Q7VWr6bSw9trMqTtXwHrXAyKYCdyXMCYsGnj7Rc6CKKrV6D6nsDXtA8ANFqoKCuvyw== + +"@rspack/binding-win32-x64-msvc@0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.4.4.tgz#985f5d933c33fc8caa10419fca1a9eaeac773eb2" + integrity sha512-jpJPjfNTEbHBCOuZotXhpBpR0C1jTvHh6wlgPjP286JXaAhGv/PEzriuRdXw0RSet1tf1vqn/V4lFU5hZbXZIA== + +"@rspack/binding@0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/binding/-/binding-0.4.4.tgz#3dc1da11ae39b760ba08287096e77b75e25d3c39" + integrity sha512-CrZH2Vpf4Axi23GlD8qesyxmpplkYo6o5MlPuUtqNGrIA3JpPSRtBVLOE1NsMZ3+hnDHJ5GWtWoWkEB0p3beBA== optionalDependencies: - "@rspack/binding-darwin-arm64" "0.1.12" - "@rspack/binding-darwin-x64" "0.1.12" - "@rspack/binding-linux-arm64-gnu" "0.1.12" - "@rspack/binding-linux-arm64-musl" "0.1.12" - "@rspack/binding-linux-x64-gnu" "0.1.12" - "@rspack/binding-linux-x64-musl" "0.1.12" - "@rspack/binding-win32-arm64-msvc" "0.1.12" - "@rspack/binding-win32-ia32-msvc" "0.1.12" - "@rspack/binding-win32-x64-msvc" "0.1.12" - -"@rspack/core@0.1.12", "@rspack/core@^0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/core/-/core-0.1.12.tgz#1fd51f53216d6ea7b43f1ab45235c248082cb391" - integrity sha512-FoQP24Zp5YEsqS9FemsMuQ4XIj3oxUNjM4qHKwAmhPLx7J9D2TO0DCTcJQMiwfJ2pxWjjFaJRBpdE2iMEG+FZg== - dependencies: - "@rspack/binding" "0.1.12" - "@rspack/dev-client" "0.1.12" + "@rspack/binding-darwin-arm64" "0.4.4" + "@rspack/binding-darwin-x64" "0.4.4" + "@rspack/binding-linux-arm64-gnu" "0.4.4" + "@rspack/binding-linux-arm64-musl" "0.4.4" + "@rspack/binding-linux-x64-gnu" "0.4.4" + "@rspack/binding-linux-x64-musl" "0.4.4" + "@rspack/binding-win32-arm64-msvc" "0.4.4" + "@rspack/binding-win32-ia32-msvc" "0.4.4" + "@rspack/binding-win32-x64-msvc" "0.4.4" + +"@rspack/core@^0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/core/-/core-0.4.4.tgz#b26c49a618822112436c77f50fa45164e3f9f843" + integrity sha512-SL6g6ZPPOqPI1wuQrZlSXD73HUg7GO5+wFRSATRak9hZ3wzSvYmD0kRGSCc6Kpndn21pmMLeOXNHbk2bL+x37g== + dependencies: + "@rspack/binding" "0.4.4" "@swc/helpers" "0.5.1" browserslist "^4.21.3" compare-versions "6.0.0-rc.1" enhanced-resolve "5.12.0" graceful-fs "4.2.10" + json-parse-even-better-errors "^3.0.0" neo-async "2.6.2" react-refresh "0.14.0" - schema-utils "^4.0.0" tapable "2.2.1" + terminal-link "^2.1.1" watchpack "^2.4.0" webpack-sources "3.2.3" + zod "^3.21.4" + zod-validation-error "1.3.1" -"@rspack/dev-client@0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/dev-client/-/dev-client-0.1.12.tgz#bfdb1cd3bbeeb85ca292d3cafa0789288dfdb77f" - integrity sha512-LmqO7qKDH+tosk7WUc2CPbM3AeosPJqEdiNAp7z+qgO8h5ts3L/TOf+VYanKEABnCPm8/ZecJkA57evsswVr6w== - dependencies: - "@pmmmwh/react-refresh-webpack-plugin" "0.5.10" - -"@rspack/dev-middleware@0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/dev-middleware/-/dev-middleware-0.1.12.tgz#f369617855def30721a226708c13206b41684be4" - integrity sha512-1q/0cJwLup/i6Cg/wdum7B1ctLtuly93rh/AhTLUYGk3PSxfBj/tPF2jJN93q0eBGGzxmAmc+rORm7nirVpNVw== - dependencies: - "@rspack/core" "0.1.12" - mime-types "2.1.35" - webpack-dev-middleware "6.0.2" - -"@rspack/dev-server@0.1.12", "@rspack/dev-server@^0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/dev-server/-/dev-server-0.1.12.tgz#4ea9bc79543d79544873a32260ff1bfb79ba8afc" - integrity sha512-ZAVHyaoIA9i7SCTx47bVh6X/m6ow8xmVtKrDFE3Tc+bPpcS1H9b6olSGstDG4EO5aFUw4mrg2CFQiHCNo/1tZQ== +"@rspack/dev-server@^0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/dev-server/-/dev-server-0.4.4.tgz#b690ecb6e5d61a50089f944052c93b625101231b" + integrity sha512-mvlUp3DrZY7RwRIPpEPtqpFbut6x3eRc+F+Vj4c9IABX/OCdxS57xJM3yPZM4CH7H4VCgikWCiJEzszxoYjISA== dependencies: - "@rspack/dev-client" "0.1.12" - "@rspack/dev-middleware" "0.1.12" - "@rspack/dev-server" "0.1.12" + "@rspack/plugin-react-refresh" "0.4.4" chokidar "3.5.3" connect-history-api-fallback "2.0.0" express "4.18.1" http-proxy-middleware "2.0.6" + mime-types "2.1.35" webpack "5.76.0" + webpack-dev-middleware "6.0.2" webpack-dev-server "4.13.1" ws "8.8.1" -"@rspack/less-loader@^0.0.22": - version "0.0.22" - resolved "https://registry.npmjs.org/@rspack/less-loader/-/less-loader-0.0.22.tgz#60cc3f13a75aba3cba442b9fa6843ae9276e9500" - integrity sha512-YVqyImjWVJ7oy6UKLF1tlFwE7e9nk/YFfqZVrAXni46Nu6JoiicXl9U8kUdeLesViJtZsk2BvpCwLtWXS/4Xiw== - dependencies: - enhanced-resolve "5.10.0" - klona "2.0.5" - less "4.1.3" - tslib "^2.3.1" - -"@rspack/plugin-minify@^0.1.12": - version "0.1.12" - resolved "https://registry.npmjs.org/@rspack/plugin-minify/-/plugin-minify-0.1.12.tgz#08bfde830b1aa20561ab40019ffeb2fc66c684fe" - integrity sha512-DXpATRh6fLm+QWXEtvI1duQrD+0/5copbmJ4yGo43z/syXwz0NlSYdidUrwzpIIsPs+hTf2ePkTMliu97IN3QQ== +"@rspack/plugin-minify@^0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/plugin-minify/-/plugin-minify-0.4.4.tgz#7775a06d822beebbbd0560478922f77d4ba6538a" + integrity sha512-hiuuH9GEjCKGRHmY8kAqBh1xgiUF7JyJGoxiUUjuHMXaLq3F4MyQ8raJ1/XEj6Tbr8lXemlDnDEXW7X0RYKgLg== dependencies: esbuild "0.16.3" jest-worker "29.3.1" terser "5.16.1" webpack-sources "3.2.3" +"@rspack/plugin-react-refresh@0.4.4", "@rspack/plugin-react-refresh@^0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@rspack/plugin-react-refresh/-/plugin-react-refresh-0.4.4.tgz#6813560f33d1e75b330b6c93cbe84b1ee2c6cdd9" + integrity sha512-AWC1VirWqKalVJpUi0i09cjYf7bfSG0qCoMNOym45bs9D2Hi3mxqrGEaMupTfkaSDdmJ/9VsUgUCHpgxAshJuw== + "@sinclair/typebox@^0.25.16": version "0.25.24" resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.25.24.tgz#8c7688559979f7079aacaf31aa881c3aa410b718" @@ -5166,11 +5132,6 @@ commander@^7.1.0, commander@^7.2.0: resolved "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== -common-path-prefix@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz#7d007a7e07c58c4b4d5f433131a19141b29f11e0" - integrity sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w== - compare-versions@6.0.0-rc.1: version "6.0.0-rc.1" resolved "https://registry.npmjs.org/compare-versions/-/compare-versions-6.0.0-rc.1.tgz#93e6beb8767c2375333ee168fa64c28b75ace2c6" @@ -5270,13 +5231,6 @@ cookies@0.8.0: depd "~2.0.0" keygrip "~1.1.0" -copy-anything@^2.0.1: - version "2.0.6" - resolved "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz#092454ea9584a7b7ad5573062b2a87f5900fc480" - integrity sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw== - dependencies: - is-what "^3.14.1" - copy-webpack-plugin@^10.2.4: version "10.2.4" resolved "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-10.2.4.tgz#6c854be3fdaae22025da34b9112ccf81c63308fe" @@ -5303,11 +5257,6 @@ core-js-compat@^3.31.0: dependencies: browserslist "^4.21.9" -core-js-pure@^3.23.3: - version "3.30.2" - resolved "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.30.2.tgz#005a82551f4af3250dcfb46ed360fad32ced114e" - integrity sha512-p/npFUJXXBkCCTIlEGBdghofn00jWG6ZOtdoIXSJmAu2QBvN0IqpZXWweOytcwE6cfx8ZvVUy1vw8zxhe4Y2vg== - core-js@3.30.2: version "3.30.2" resolved "https://registry.npmjs.org/core-js/-/core-js-3.30.2.tgz#6528abfda65e5ad728143ea23f7a14f0dcf503fc" @@ -5499,7 +5448,7 @@ debug@4, debug@4.3.4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: dependencies: ms "2.1.2" -debug@^3.2.6, debug@^3.2.7: +debug@^3.2.7: version "3.2.7" resolved "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== @@ -5815,14 +5764,6 @@ end-of-stream@^1.1.0, end-of-stream@^1.4.1: dependencies: once "^1.4.0" -enhanced-resolve@5.10.0: - version "5.10.0" - resolved "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.10.0.tgz#0dc579c3bb2a1032e357ac45b8f3a6f3ad4fb1e6" - integrity sha512-T0yTFjdpldGY8PmuXXR0PyQ1ufZpEGiHVrp7zHKB7jdR4qlmZHhONVM5AQOAWXuF/w3dnHbEQVrNptJgt7F+cQ== - dependencies: - graceful-fs "^4.2.4" - tapable "^2.2.0" - enhanced-resolve@5.12.0: version "5.12.0" resolved "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz#300e1c90228f5b570c4d35babf263f6da7155634" @@ -5856,13 +5797,6 @@ envinfo@7.8.1: resolved "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== -errno@^0.1.1: - version "0.1.8" - resolved "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" - integrity sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A== - dependencies: - prr "~1.0.1" - error-ex@^1.3.1: version "1.3.2" resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" @@ -5870,13 +5804,6 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -error-stack-parser@^2.0.6: - version "2.1.4" - resolved "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz#229cb01cdbfa84440bfa91876285b94680188286" - integrity sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ== - dependencies: - stackframe "^1.3.4" - es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.20.4: version "1.21.2" resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz#a56b9695322c8a185dc25975aa3b8ec31d0e7eff" @@ -7096,7 +7023,7 @@ html-encoding-sniffer@^3.0.0: dependencies: whatwg-encoding "^2.0.0" -html-entities@^2.1.0, html-entities@^2.3.2: +html-entities@^2.3.2: version "2.3.5" resolved "https://registry.npmjs.org/html-entities/-/html-entities-2.3.5.tgz#9f117bf6a5962efc31e094f6c6dad3cf3b95e33e" integrity sha512-72TJlcMkYsEJASa/3HnX7VT59htM7iSHbH59NSZbtc+22Ap0Txnlx91sfeB+/A7wNZg7UxtZdhAW4y+/jimrdg== @@ -7254,7 +7181,7 @@ iconv-lite@0.4.24, iconv-lite@^0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" -iconv-lite@0.6.3, iconv-lite@^0.6.3: +iconv-lite@0.6.3: version "0.6.3" resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== @@ -7278,11 +7205,6 @@ ignore@^5.0.4, ignore@^5.1.9, ignore@^5.2.0: resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== -image-size@~0.5.0: - version "0.5.5" - resolved "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz#09dfd4ab9d20e29eb1c3e80b8990378df9e3cb9c" - integrity sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ== - import-fresh@^3.1.0, import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" @@ -7658,11 +7580,6 @@ is-weakref@^1.0.2: dependencies: call-bind "^1.0.2" -is-what@^3.14.1: - version "3.14.1" - resolved "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz#e1222f46ddda85dead0fd1c9df131760e77755c1" - integrity sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA== - is-wsl@^2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" @@ -8251,6 +8168,11 @@ json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== +json-parse-even-better-errors@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz#02bb29fb5da90b5444581749c22cedd3597c6cb0" + integrity sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg== + json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" @@ -8386,11 +8308,6 @@ kleur@^3.0.3: resolved "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== -klona@2.0.5: - version "2.0.5" - resolved "https://registry.npmjs.org/klona/-/klona-2.0.5.tgz#d166574d90076395d9963aa7a928fabb8d76afbc" - integrity sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ== - latest-version@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/latest-version/-/latest-version-7.0.0.tgz#843201591ea81a4d404932eeb61240fe04e9e5da" @@ -8406,23 +8323,6 @@ launch-editor@^2.6.0: picocolors "^1.0.0" shell-quote "^1.7.3" -less@4.1.3: - version "4.1.3" - resolved "https://registry.npmjs.org/less/-/less-4.1.3.tgz#175be9ddcbf9b250173e0a00b4d6920a5b770246" - integrity sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA== - dependencies: - copy-anything "^2.0.1" - parse-node-version "^1.0.1" - tslib "^2.3.0" - optionalDependencies: - errno "^0.1.1" - graceful-fs "^4.1.2" - image-size "~0.5.0" - make-dir "^2.1.0" - mime "^1.4.1" - needle "^3.1.0" - source-map "~0.6.0" - leven@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" @@ -8466,7 +8366,7 @@ loader-runner@^4.2.0: resolved "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== -loader-utils@^2.0.0, loader-utils@^2.0.4: +loader-utils@^2.0.0: version "2.0.4" resolved "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c" integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== @@ -8609,14 +8509,6 @@ macos-release@^3.0.1: resolved "https://registry.npmjs.org/macos-release/-/macos-release-3.2.0.tgz#dcee82b6a4932971b1538dbf6f3aabc4a903b613" integrity sha512-fSErXALFNsnowREYZ49XCdOHF8wOPWuFOGQrAhP7x5J/BqQv+B02cNsTykGpDgRVx43EKg++6ANmTaGTtW+hUA== -make-dir@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" - integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== - dependencies: - pify "^4.0.1" - semver "^5.6.0" - make-dir@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" @@ -8705,7 +8597,7 @@ mime-types@2.1.35, mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.31, m dependencies: mime-db "1.52.0" -mime@1.6.0, mime@^1.4.1, mime@^1.6.0: +mime@1.6.0, mime@^1.6.0: version "1.6.0" resolved "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== @@ -8850,15 +8742,6 @@ ncp@~2.0.0: resolved "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz#195a21d6c46e361d2fb1281ba38b91e9df7bdbb3" integrity sha512-zIdGUrPRFTUELUvr3Gmc7KZ2Sw/h1PiVM0Af/oHB6zgnV1ikqSfRk+TOufi79aHYCW3NiOXmr1BP5nWbzojLaA== -needle@^3.1.0: - version "3.2.0" - resolved "https://registry.npmjs.org/needle/-/needle-3.2.0.tgz#07d240ebcabfd65c76c03afae7f6defe6469df44" - integrity sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ== - dependencies: - debug "^3.2.6" - iconv-lite "^0.6.3" - sax "^1.2.4" - negotiator@0.6.3: version "0.6.3" resolved "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" @@ -9354,11 +9237,6 @@ parse-json@^5.0.0, parse-json@^5.2.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" -parse-node-version@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz#e2b5dbede00e7fa9bc363607f53327e8b073189b" - integrity sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA== - parse-path@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/parse-path/-/parse-path-5.0.0.tgz#f933152f3c6d34f4cf36cfc3d07b138ac113649d" @@ -9458,11 +9336,6 @@ pify@^3.0.0: resolved "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== -pify@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" - integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== - pino-abstract-transport@1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-1.0.0.tgz#cc0d6955fffcadb91b7b49ef220a6cc111d48bb3" @@ -9647,11 +9520,6 @@ proxy-from-env@^1.0.0, proxy-from-env@^1.1.0: resolved "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== -prr@~1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" - integrity sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw== - pseudomap@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" @@ -10151,11 +10019,6 @@ safe-stable-stringify@^2.1.0: resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sax@^1.2.4: - version "1.2.4" - resolved "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" - integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== - saxes@^6.0.0: version "6.0.0" resolved "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz#fe5b4a4768df4f14a201b1ba6a65c1f3d9988cc5" @@ -10253,11 +10116,6 @@ semver@7.5.3: dependencies: lru-cache "^6.0.0" -semver@^5.6.0: - version "5.7.1" - resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: version "6.3.0" resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" @@ -10502,7 +10360,7 @@ source-map-support@^0.5.21, source-map-support@~0.5.20: buffer-from "^1.0.0" source-map "^0.6.0" -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: +source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: version "0.6.1" resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== @@ -10567,11 +10425,6 @@ stack-utils@^2.0.3: dependencies: escape-string-regexp "^2.0.0" -stackframe@^1.3.4: - version "1.3.4" - resolved "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz#b881a004c8c149a5e8efef37d51b16e412943310" - integrity sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw== - statuses@2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" @@ -10758,7 +10611,7 @@ supports-color@^5.3.0: dependencies: has-flag "^3.0.0" -supports-color@^7.1.0: +supports-color@^7.0.0, supports-color@^7.1.0: version "7.2.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== @@ -10772,6 +10625,14 @@ supports-color@^8.0.0: dependencies: has-flag "^4.0.0" +supports-hyperlinks@^2.0.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" + integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== + dependencies: + has-flag "^4.0.0" + supports-color "^7.0.0" + supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" @@ -10825,6 +10686,14 @@ tar-stream@^2.1.4, tar-stream@~2.2.0: inherits "^2.0.3" readable-stream "^3.1.1" +terminal-link@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" + integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== + dependencies: + ansi-escapes "^4.2.1" + supports-hyperlinks "^2.0.0" + terser-webpack-plugin@^5.1.3: version "5.3.9" resolved "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz#832536999c51b46d468067f9e37662a3b96adfe1" @@ -11025,7 +10894,7 @@ tslib@^1.8.1: resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.5.0: +tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0, tslib@^2.5.0: version "2.5.3" resolved "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz#24944ba2d990940e6e982c4bea147aba80209913" integrity sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w== @@ -11803,3 +11672,13 @@ yup@0.32.11: nanoclone "^0.2.1" property-expr "^2.0.4" toposort "^2.0.2" + +zod-validation-error@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/zod-validation-error/-/zod-validation-error-1.3.1.tgz#7134579d2ba3994495133b879a076786c8c270f5" + integrity sha512-cNEXpla+tREtNdAnNKY4xKY1SGOn2yzyuZMu4O0RQylX9apRpUjNcPkEc3uHIAr5Ct7LenjZt6RzjEH6+JsqVQ== + +zod@^3.21.4: + version "3.22.4" + resolved "https://registry.yarnpkg.com/zod/-/zod-3.22.4.tgz#f31c3a9386f61b1f228af56faa9255e845cf3fff" + integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==