diff --git a/.prettierrc b/.prettierrc index 544138be45..bce15f817c 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,3 +1,4 @@ { - "singleQuote": true + "singleQuote": true, + "plugins": ["@prettier/plugin-oxc"] } diff --git a/package.json b/package.json index a9ce355e87..8a52f29525 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "e2e:rspack": "cd ./e2e && pnpm e2e:rspack", "e2e:webpack": "cd ./e2e && pnpm e2e:webpack", "format": "prettier --experimental-cli --write . && heading-case --write", - "lint": "biome check && pnpm lint:type", + "lint": "biome check", "lint:type": "rslint", "prebundle": "nx run-many -t prebundle", "prepare": "simple-git-hooks && pnpm build", @@ -35,6 +35,7 @@ }, "devDependencies": { "@biomejs/biome": "^2.3.2", + "@prettier/plugin-oxc": "^0.0.4", "@rsbuild/config": "workspace:*", "@rslint/core": "^0.1.13", "@rstest/core": "^0.6.1", diff --git a/packages/compat/plugin-webpack-swc/package.json b/packages/compat/plugin-webpack-swc/package.json index b60acd08d7..cbe57d80d9 100644 --- a/packages/compat/plugin-webpack-swc/package.json +++ b/packages/compat/plugin-webpack-swc/package.json @@ -38,7 +38,7 @@ "devDependencies": { "@rsbuild/core": "workspace:*", "@rsbuild/webpack": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@types/lodash": "^4.17.20", "@types/semver": "^7.7.1", "typescript": "^5.9.3", diff --git a/packages/compat/webpack/package.json b/packages/compat/webpack/package.json index 5de8f3fa29..4afcea3d8b 100644 --- a/packages/compat/webpack/package.json +++ b/packages/compat/webpack/package.json @@ -38,7 +38,7 @@ }, "devDependencies": { "@rsbuild/core": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@scripts/test-helper": "workspace:*", "@types/node": "^24.9.2", "ansi-escapes": "4.3.2", diff --git a/packages/core/package.json b/packages/core/package.json index cfb4945d57..8c3852fe27 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -61,7 +61,7 @@ "devDependencies": { "@jridgewell/remapping": "^2.3.5", "@jridgewell/trace-mapping": "^0.3.31", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@types/connect": "3.4.38", "@types/cors": "^2.8.19", "@types/node": "^24.9.2", diff --git a/packages/core/rslib.config.ts b/packages/core/rslib.config.ts index 62045ba95c..eeed56c228 100644 --- a/packages/core/rslib.config.ts +++ b/packages/core/rslib.config.ts @@ -162,4 +162,11 @@ export default defineConfig({ }, }, ], + tools: { + rspack: { + experiments: { + deferImport: true, + }, + }, + }, }); diff --git a/packages/core/src/createContext.ts b/packages/core/src/createContext.ts index b3aa141599..9293f3c98d 100644 --- a/packages/core/src/createContext.ts +++ b/packages/core/src/createContext.ts @@ -100,7 +100,7 @@ export async function updateEnvironmentContext( const { entry = {}, tsconfigPath } = config.source; const htmlPaths = getEnvironmentHTMLPaths(entry, config); const webSocketToken = - context.action === 'dev' ? await hash(context.rootPath + name) : ''; + context.action === 'dev' ? hash(context.rootPath + name) : ''; const environmentContext: EnvironmentContext = { index, diff --git a/packages/core/src/helpers/exitHook.ts b/packages/core/src/helpers/exitHook.ts index 093d16759d..1064cab07c 100644 --- a/packages/core/src/helpers/exitHook.ts +++ b/packages/core/src/helpers/exitHook.ts @@ -1,5 +1,5 @@ -import { constants } from 'node:os'; -import process from 'node:process'; +import defer * as os from 'node:os'; +import defer * as process from 'node:process'; type Callback = (exitCode: number) => void; @@ -37,11 +37,11 @@ export function exitHook(onExit: Callback): () => void { // Use `process.on` instead of `process.once` to disable // Node.js's default exit behavior process.on('SIGINT', () => { - exit(constants.signals.SIGINT + 128, 'SIGINT'); + exit(os.constants.signals.SIGINT + 128, 'SIGINT'); }); // `kill` command process.once('SIGTERM', () => { - exit(constants.signals.SIGTERM + 128, 'SIGTERM'); + exit(os.constants.signals.SIGTERM + 128, 'SIGTERM'); }); // process.exit or others process.once('exit', (exitCode) => { diff --git a/packages/core/src/helpers/index.ts b/packages/core/src/helpers/index.ts index cfc77cfeb6..27738a204d 100644 --- a/packages/core/src/helpers/index.ts +++ b/packages/core/src/helpers/index.ts @@ -1,3 +1,4 @@ +import defer * as crypto from 'node:crypto'; import deepmerge from 'deepmerge'; import RspackChain from '../../compiled/rspack-chain'; import type { @@ -209,8 +210,7 @@ export const isTTY = (type: 'stdin' | 'stdout' = 'stdout'): boolean => { ); }; -export async function hash(data: string): Promise { - const crypto = await import('node:crypto'); +export function hash(data: string): string { // Available in Node.js v20.12.0 // faster than `crypto.createHash()` when hashing a smaller amount of data (<= 5MB) if (crypto.hash) { diff --git a/packages/core/src/loadConfig.ts b/packages/core/src/loadConfig.ts index 8f057595e3..2dd2749e54 100644 --- a/packages/core/src/loadConfig.ts +++ b/packages/core/src/loadConfig.ts @@ -1,6 +1,7 @@ import fs from 'node:fs'; import { isAbsolute, join } from 'node:path'; import { pathToFileURL } from 'node:url'; +import defer * as jiti from 'jiti'; import { __filename } from './constants'; import { color, getNodeEnv, isObject } from './helpers'; import { logger } from './logger'; @@ -167,8 +168,7 @@ export async function loadConfig({ if (configExport === undefined) { try { - const { createJiti } = await import('jiti'); - const jiti = createJiti(__filename, { + const instance = jiti.createJiti(__filename, { // disable require cache to support restart CLI and read the new config moduleCache: false, interopDefault: true, @@ -177,9 +177,12 @@ export async function loadConfig({ nativeModules: ['@rspack/core', 'typescript'], }); - configExport = await jiti.import(configFilePath, { - default: true, - }); + configExport = await instance.import( + configFilePath, + { + default: true, + }, + ); } catch (err) { logger.error( `Failed to load file with jiti: ${color.dim(configFilePath)}`, diff --git a/packages/core/src/plugins/cache.ts b/packages/core/src/plugins/cache.ts index 6936fb2fc2..efec9cb913 100644 --- a/packages/core/src/plugins/cache.ts +++ b/packages/core/src/plugins/cache.ts @@ -154,7 +154,7 @@ export const pluginCache = (): RsbuildPlugin => ({ // set cache name to avoid cache conflicts between different environments const cacheVersion = useDigest - ? `${environment.name}-${env}-${await hash(JSON.stringify(cacheConfig.cacheDigest))}` + ? `${environment.name}-${env}-${hash(JSON.stringify(cacheConfig.cacheDigest))}` : `${environment.name}-${env}`; if (bundlerType === 'rspack') { diff --git a/packages/core/src/plugins/fileSize.ts b/packages/core/src/plugins/fileSize.ts index 1c3a7f8552..3bbeff9c4a 100644 --- a/packages/core/src/plugins/fileSize.ts +++ b/packages/core/src/plugins/fileSize.ts @@ -5,7 +5,7 @@ import fs from 'node:fs'; import path from 'node:path'; import { promisify } from 'node:util'; -import zlib from 'node:zlib'; +import defer * as zlib from 'node:zlib'; import { JS_REGEX } from '../constants'; import { color } from '../helpers'; import { getAssetsFromStats, type RsbuildAsset } from '../helpers/stats'; diff --git a/packages/core/src/server/cliShortcuts.ts b/packages/core/src/server/cliShortcuts.ts index 3b8c502125..7f4bd27fdd 100644 --- a/packages/core/src/server/cliShortcuts.ts +++ b/packages/core/src/server/cliShortcuts.ts @@ -1,3 +1,4 @@ +import defer * as readline from 'node:readline'; import { color, isTTY } from '../helpers'; import { logger } from '../logger'; import type { CliShortcut, NormalizedConfig } from '../types/config'; @@ -78,8 +79,7 @@ export async function setupCliShortcuts({ ); } - const { createInterface } = await import('node:readline'); - const rl = createInterface({ + const rl = readline.createInterface({ input: process.stdin, }); diff --git a/packages/core/src/server/devServer.ts b/packages/core/src/server/devServer.ts index 874385401a..0763ced1b1 100644 --- a/packages/core/src/server/devServer.ts +++ b/packages/core/src/server/devServer.ts @@ -366,7 +366,7 @@ export async function createDevServer< const httpServer = middlewareMode ? null - : await createHttpServer({ + : createHttpServer({ serverConfig: config.server, middlewares, }); diff --git a/packages/core/src/server/gracefulShutdown.ts b/packages/core/src/server/gracefulShutdown.ts index fcee1a0353..2137f20dcd 100644 --- a/packages/core/src/server/gracefulShutdown.ts +++ b/packages/core/src/server/gracefulShutdown.ts @@ -1,4 +1,4 @@ -import { constants } from 'node:os'; +import defer * as os from 'node:os'; /** * A set to store all cleanup callbacks that should be executed before process termination @@ -41,7 +41,7 @@ export const setupGracefulShutdown = (): (() => void) => { // or manually via 'kill -15 ' or 'kill -TERM ' command. // Add 128 to signal number as per POSIX convention for signal-terminated processes. const onSigterm = () => { - handleTermination(constants.signals.SIGTERM + 128); + handleTermination(os.constants.signals.SIGTERM + 128); }; process.once('SIGTERM', onSigterm); diff --git a/packages/core/src/server/gzipMiddleware.ts b/packages/core/src/server/gzipMiddleware.ts index 91f9aecaa3..b802544fcc 100644 --- a/packages/core/src/server/gzipMiddleware.ts +++ b/packages/core/src/server/gzipMiddleware.ts @@ -1,5 +1,5 @@ import type { ServerResponse } from 'node:http'; -import zlib from 'node:zlib'; +import defer * as zlib from 'node:zlib'; import type { CompressOptions, RequestHandler } from '../types'; const ENCODING_REGEX = /\bgzip\b/; diff --git a/packages/core/src/server/helper.ts b/packages/core/src/server/helper.ts index 9acfbd28fa..930068b926 100644 --- a/packages/core/src/server/helper.ts +++ b/packages/core/src/server/helper.ts @@ -1,6 +1,7 @@ import type { IncomingMessage, Server } from 'node:http'; import type { Http2SecureServer } from 'node:http2'; import type { Socket } from 'node:net'; +import defer * as net from 'node:net'; import os from 'node:os'; import { posix, relative, sep } from 'node:path'; import { DEFAULT_DEV_HOST } from '../constants'; @@ -270,7 +271,6 @@ export const getPort = async ({ tryLimits = 1; } - const { createServer } = await import('node:net'); const original = port; let found = false; @@ -279,7 +279,7 @@ export const getPort = async ({ while (!found && attempts <= tryLimits) { try { await new Promise((resolve, reject) => { - const server = createServer(); + const server = net.createServer(); server.unref(); server.on('error', reject); server.listen({ port, host }, () => { @@ -379,13 +379,12 @@ const isLoopbackHost = (host: string) => { return loopbackHosts.has(host); }; -export const getHostInUrl = async (host: string): Promise => { +export const getHostInUrl = (host: string): string => { if (host === DEFAULT_DEV_HOST) { return 'localhost'; } - const { isIPv6 } = await import('node:net'); - if (isIPv6(host)) { + if (net.isIPv6(host)) { return host === '::' ? '[::1]' : `[${host}]`; } return host; @@ -427,7 +426,7 @@ export const getAddressUrls = async ({ if (host && host !== DEFAULT_DEV_HOST) { const url = concatUrl({ port, - host: await getHostInUrl(host), + host: getHostInUrl(host), protocol, }); return [ diff --git a/packages/core/src/server/hmrFallback.ts b/packages/core/src/server/hmrFallback.ts index 6f752431cc..f44547dde2 100644 --- a/packages/core/src/server/hmrFallback.ts +++ b/packages/core/src/server/hmrFallback.ts @@ -1,3 +1,4 @@ +import defer * as dns from 'node:dns'; import { isWildcardHost } from './helper'; /** @@ -8,10 +9,9 @@ import { isWildcardHost } from './helper'; * This helps detect cases where IPv4/IPv6 resolution might vary. */ async function getLocalhostResolvedAddress(): Promise { - const { promises: dns } = await import('node:dns'); const [defaultLookup, explicitLookup] = await Promise.all([ - dns.lookup('localhost'), - dns.lookup('localhost', { verbatim: true }), + dns.promises.lookup('localhost'), + dns.promises.lookup('localhost', { verbatim: true }), ]); const match = defaultLookup.family === explicitLookup.family && diff --git a/packages/core/src/server/httpServer.ts b/packages/core/src/server/httpServer.ts index 2510f4216f..6aa6f652ec 100644 --- a/packages/core/src/server/httpServer.ts +++ b/packages/core/src/server/httpServer.ts @@ -1,23 +1,24 @@ import type { Server } from 'node:http'; +import defer * as http from 'node:http'; import type { Http2SecureServer } from 'node:http2'; +import defer * as http2 from 'node:http2'; +import defer * as https from 'node:https'; import type { Connect, ServerConfig } from '../types'; -export const createHttpServer = async ({ +export const createHttpServer = ({ serverConfig, middlewares, }: { serverConfig: ServerConfig; middlewares: Connect.Server; -}): Promise => { +}): Http2SecureServer | Server => { if (serverConfig.https) { // http-proxy does not supports http2 if (serverConfig.proxy) { - const { createServer } = await import('node:https'); - return createServer(serverConfig.https, middlewares); + return https.createServer(serverConfig.https, middlewares); } - const { createSecureServer } = await import('node:http2'); - return createSecureServer( + return http2.createSecureServer( { allowHTTP1: true, // increase the maximum memory (MiB) @@ -29,6 +30,5 @@ export const createHttpServer = async ({ ); } - const { createServer } = await import('node:http'); - return createServer(middlewares); + return http.createServer(middlewares); }; diff --git a/packages/core/src/server/open.ts b/packages/core/src/server/open.ts index a8f7911f7a..81c8200f23 100644 --- a/packages/core/src/server/open.ts +++ b/packages/core/src/server/open.ts @@ -1,3 +1,5 @@ +import defer * as childProcess from 'node:child_process'; +import defer * as nodeUtil from 'node:util'; import { STATIC_PATH } from '../constants'; import { castArray, color } from '../helpers'; import { canParse } from '../helpers/url'; @@ -64,9 +66,7 @@ async function openBrowser(url: string): Promise { // a Chromium browser with AppleScript. This lets us reuse an // existing tab when possible instead of creating a new one. if (shouldTryAppleScript(browser, browserArgs)) { - const { exec } = await import('node:child_process'); - const { promisify } = await import('node:util'); - const execAsync = promisify(exec); + const execAsync = nodeUtil.promisify(childProcess.exec); /** * Find the browser that is currently running @@ -203,7 +203,7 @@ export async function open({ const urls: string[] = []; const protocol = https ? 'https' : 'http'; - const host = await getHostInUrl(config.server.host); + const host = getHostInUrl(config.server.host); const baseUrl = `${protocol}://${host}:${port}`; if (!targets.length) { diff --git a/packages/core/src/server/prodServer.ts b/packages/core/src/server/prodServer.ts index 84aeb74d6e..6eb19e0124 100644 --- a/packages/core/src/server/prodServer.ts +++ b/packages/core/src/server/prodServer.ts @@ -1,5 +1,6 @@ import type { Server } from 'node:http'; import type { Http2SecureServer } from 'node:http2'; +import defer * as zlib from 'node:zlib'; import { getPathnameFromUrl } from '../helpers/path'; import { requireCompiledPackage } from '../helpers/vendors'; import { isVerbose, logger } from '../logger'; @@ -104,11 +105,10 @@ export class RsbuildProdServer { // compression is placed after proxy middleware to avoid breaking SSE (Server-Sent Events), // but before other middlewares to ensure responses are properly compressed if (compress) { - const { constants } = await import('node:zlib'); this.middlewares.use( gzipMiddleware({ // simulates the common gzip compression rates - level: constants.Z_DEFAULT_COMPRESSION, + level: zlib.constants.Z_DEFAULT_COMPRESSION, ...(typeof compress === 'object' ? compress : undefined), }), ); @@ -201,7 +201,7 @@ export async function startProdServer( await context.hooks.onBeforeStartProdServer.callBatch(); - const httpServer = await createHttpServer({ + const httpServer = createHttpServer({ serverConfig, middlewares: server.middlewares, }); diff --git a/packages/core/src/server/runner/asModule.ts b/packages/core/src/server/runner/asModule.ts index 56e213fcf7..6c3d57640d 100644 --- a/packages/core/src/server/runner/asModule.ts +++ b/packages/core/src/server/runner/asModule.ts @@ -1,11 +1,12 @@ import type { Module, ModuleLinker, SyntheticModule } from 'node:vm'; +import defer * as vm from 'node:vm'; export const asModule = async ( something: Record, context: Record, unlinked?: boolean, ): Promise => { - const { Module, SyntheticModule } = await import('node:vm'); + const { Module, SyntheticModule } = vm; if (something instanceof Module) { return something; diff --git a/packages/create-rsbuild/package.json b/packages/create-rsbuild/package.json index 3c337fda8a..34e30fc4f2 100644 --- a/packages/create-rsbuild/package.json +++ b/packages/create-rsbuild/package.json @@ -39,7 +39,7 @@ "@rsbuild/plugin-solid": "workspace:*", "@rsbuild/plugin-svelte": "workspace:*", "@rsbuild/plugin-vue": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@types/node": "^24.9.2", "typescript": "^5.9.3" }, diff --git a/packages/plugin-babel/package.json b/packages/plugin-babel/package.json index b87ff46298..a0d7f2dbb4 100644 --- a/packages/plugin-babel/package.json +++ b/packages/plugin-babel/package.json @@ -40,7 +40,7 @@ }, "devDependencies": { "@rsbuild/core": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@scripts/test-helper": "workspace:*", "@types/node": "^24.9.2", "babel-loader": "10.0.0", diff --git a/packages/plugin-less/package.json b/packages/plugin-less/package.json index 6567f9c7d6..8e3d7a08ba 100644 --- a/packages/plugin-less/package.json +++ b/packages/plugin-less/package.json @@ -35,7 +35,7 @@ }, "devDependencies": { "@rsbuild/core": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@scripts/test-helper": "workspace:*", "@types/less": "^3.0.8", "less": "4.3.0", diff --git a/packages/plugin-preact/package.json b/packages/plugin-preact/package.json index 8e9fc15992..4521740bc1 100644 --- a/packages/plugin-preact/package.json +++ b/packages/plugin-preact/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@rsbuild/core": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@types/node": "^24.9.2", "preact": "^10.27.2", "typescript": "^5.9.3" diff --git a/packages/plugin-react/package.json b/packages/plugin-react/package.json index 657146f8b6..c270502fcf 100644 --- a/packages/plugin-react/package.json +++ b/packages/plugin-react/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@rsbuild/core": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@scripts/test-helper": "workspace:*", "@types/node": "^24.9.2", "typescript": "^5.9.3" diff --git a/packages/plugin-sass/package.json b/packages/plugin-sass/package.json index edf28b6ac9..e7dfad2519 100644 --- a/packages/plugin-sass/package.json +++ b/packages/plugin-sass/package.json @@ -38,7 +38,7 @@ }, "devDependencies": { "@rsbuild/core": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@scripts/test-helper": "workspace:*", "@types/node": "^24.9.2", "@types/sass-loader": "^8.0.10", diff --git a/packages/plugin-solid/package.json b/packages/plugin-solid/package.json index 920615d1c5..c2ab3bf1b3 100644 --- a/packages/plugin-solid/package.json +++ b/packages/plugin-solid/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@rsbuild/core": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@scripts/test-helper": "workspace:*", "@types/babel__core": "^7.20.5", "typescript": "^5.9.3" diff --git a/packages/plugin-stylus/package.json b/packages/plugin-stylus/package.json index e652be8ccf..b14b755609 100644 --- a/packages/plugin-stylus/package.json +++ b/packages/plugin-stylus/package.json @@ -35,7 +35,7 @@ }, "devDependencies": { "@rsbuild/core": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@scripts/test-helper": "workspace:*", "@types/node": "^24.9.2", "typescript": "^5.9.3" diff --git a/packages/plugin-svelte/package.json b/packages/plugin-svelte/package.json index 649003b1ac..f302fa774d 100644 --- a/packages/plugin-svelte/package.json +++ b/packages/plugin-svelte/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@rsbuild/core": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@scripts/test-helper": "workspace:*", "@types/node": "^24.9.2", "svelte": "^5.43.2", diff --git a/packages/plugin-svgr/package.json b/packages/plugin-svgr/package.json index 3152382654..2380875969 100644 --- a/packages/plugin-svgr/package.json +++ b/packages/plugin-svgr/package.json @@ -38,7 +38,7 @@ }, "devDependencies": { "@rsbuild/core": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@scripts/test-helper": "workspace:*", "@types/node": "^24.9.2", "file-loader": "6.2.0", diff --git a/packages/plugin-vue/package.json b/packages/plugin-vue/package.json index db87d101a3..4821c471bd 100644 --- a/packages/plugin-vue/package.json +++ b/packages/plugin-vue/package.json @@ -33,7 +33,7 @@ }, "devDependencies": { "@rsbuild/core": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@scripts/test-helper": "workspace:*", "@types/node": "^24.9.2", "typescript": "^5.9.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 780a303664..a1f1d1e10a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,6 +28,9 @@ importers: '@biomejs/biome': specifier: ^2.3.2 version: 2.3.2 + '@prettier/plugin-oxc': + specifier: ^0.0.4 + version: 0.0.4 '@rsbuild/config': specifier: workspace:* version: link:scripts/config @@ -543,8 +546,8 @@ importers: specifier: workspace:* version: link:../webpack '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@types/lodash': specifier: ^4.17.20 version: 4.17.20 @@ -586,8 +589,8 @@ importers: specifier: workspace:* version: link:../../core '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@scripts/test-helper': specifier: workspace:* version: link:../../../scripts/test-helper @@ -632,8 +635,8 @@ importers: specifier: ^0.3.31 version: 0.3.31 '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@types/connect': specifier: 3.4.38 version: 3.4.38 @@ -786,8 +789,8 @@ importers: specifier: workspace:* version: link:../plugin-vue '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@types/node': specifier: ^24.9.2 version: 24.9.2 @@ -826,8 +829,8 @@ importers: specifier: workspace:* version: link:../core '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@scripts/test-helper': specifier: workspace:* version: link:../../scripts/test-helper @@ -857,8 +860,8 @@ importers: specifier: workspace:* version: link:../core '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@scripts/test-helper': specifier: workspace:* version: link:../../scripts/test-helper @@ -897,8 +900,8 @@ importers: specifier: workspace:* version: link:../core '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@types/node': specifier: ^24.9.2 version: 24.9.2 @@ -922,8 +925,8 @@ importers: specifier: workspace:* version: link:../core '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@scripts/test-helper': specifier: workspace:* version: link:../../scripts/test-helper @@ -956,8 +959,8 @@ importers: specifier: workspace:* version: link:../core '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@scripts/test-helper': specifier: workspace:* version: link:../../scripts/test-helper @@ -996,8 +999,8 @@ importers: specifier: workspace:* version: link:../core '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@scripts/test-helper': specifier: workspace:* version: link:../../scripts/test-helper @@ -1027,8 +1030,8 @@ importers: specifier: workspace:* version: link:../core '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@scripts/test-helper': specifier: workspace:* version: link:../../scripts/test-helper @@ -1052,8 +1055,8 @@ importers: specifier: workspace:* version: link:../core '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@scripts/test-helper': specifier: workspace:* version: link:../../scripts/test-helper @@ -1092,8 +1095,8 @@ importers: specifier: workspace:* version: link:../core '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@scripts/test-helper': specifier: workspace:* version: link:../../scripts/test-helper @@ -1129,8 +1132,8 @@ importers: specifier: workspace:* version: link:../core '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@scripts/test-helper': specifier: workspace:* version: link:../../scripts/test-helper @@ -1150,8 +1153,8 @@ importers: specifier: workspace:* version: link:../../packages/core '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) '@types/node': specifier: ^24.9.2 version: 24.9.2 @@ -1181,8 +1184,8 @@ importers: version: 5.9.3 devDependencies: '@rslib/core': - specifier: 0.17.0 - version: 0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + specifier: 0.17.1 + version: 0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) website: devDependencies: @@ -2136,6 +2139,9 @@ packages: '@module-federation/webpack-bundler-runtime@0.21.2': resolution: {integrity: sha512-06R/NDY6Uh5RBIaBOFwYWzJCf1dIiQd/DFHToBVhejUT3ZFG7GzHEPIIsAGqMzne/JSmVsvjlXiJu7UthQ6rFA==} + '@napi-rs/wasm-runtime@0.2.12': + resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==} + '@napi-rs/wasm-runtime@0.2.4': resolution: {integrity: sha512-9zESzOO5aDByvhIAsOy9TbpZ0Ur2AJbUI7UT73kcUTS2mxAMHOBaa1st/jAymNoCtvrit99kkzT1FZuXVcgfIQ==} @@ -2208,6 +2214,98 @@ packages: resolution: {integrity: sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==} engines: {node: '>=8.0.0'} + '@oxc-parser/binding-android-arm64@0.74.0': + resolution: {integrity: sha512-lgq8TJq22eyfojfa2jBFy2m66ckAo7iNRYDdyn9reXYA3I6Wx7tgGWVx1JAp1lO+aUiqdqP/uPlDaETL9tqRcg==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [android] + + '@oxc-parser/binding-darwin-arm64@0.74.0': + resolution: {integrity: sha512-xbY/io/hkARggbpYEMFX6CwFzb7f4iS6WuBoBeZtdqRWfIEi7sm/uYWXfyVeB8uqOATvJ07WRFC2upI8PSI83g==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [darwin] + + '@oxc-parser/binding-darwin-x64@0.74.0': + resolution: {integrity: sha512-FIj2gAGtFaW0Zk+TnGyenMUoRu1ju+kJ/h71D77xc1owOItbFZFGa+4WSVck1H8rTtceeJlK+kux+vCjGFCl9Q==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [darwin] + + '@oxc-parser/binding-freebsd-x64@0.74.0': + resolution: {integrity: sha512-W1I+g5TJg0TRRMHgEWNWsTIfe782V3QuaPgZxnfPNmDMywYdtlzllzclBgaDq6qzvZCCQc/UhvNb37KWTCTj8A==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [freebsd] + + '@oxc-parser/binding-linux-arm-gnueabihf@0.74.0': + resolution: {integrity: sha512-gxqkyRGApeVI8dgvJ19SYe59XASW3uVxF1YUgkE7peW/XIg5QRAOVTFKyTjI9acYuK1MF6OJHqx30cmxmZLtiQ==} + engines: {node: '>=20.0.0'} + cpu: [arm] + os: [linux] + + '@oxc-parser/binding-linux-arm-musleabihf@0.74.0': + resolution: {integrity: sha512-jpnAUP4Fa93VdPPDzxxBguJmldj/Gpz7wTXKFzpAueqBMfZsy9KNC+0qT2uZ9HGUDMzNuKw0Se3bPCpL/gfD2Q==} + engines: {node: '>=20.0.0'} + cpu: [arm] + os: [linux] + + '@oxc-parser/binding-linux-arm64-gnu@0.74.0': + resolution: {integrity: sha512-fcWyM7BNfCkHqIf3kll8fJctbR/PseL4RnS2isD9Y3FFBhp4efGAzhDaxIUK5GK7kIcFh1P+puIRig8WJ6IMVQ==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [linux] + + '@oxc-parser/binding-linux-arm64-musl@0.74.0': + resolution: {integrity: sha512-AMY30z/C77HgiRRJX7YtVUaelKq1ex0aaj28XoJu4SCezdS8i0IftUNTtGS1UzGjGZB8zQz5SFwVy4dRu4GLwg==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [linux] + + '@oxc-parser/binding-linux-riscv64-gnu@0.74.0': + resolution: {integrity: sha512-/RZAP24TgZo4vV/01TBlzRqs0R7E6xvatww4LnmZEBBulQBU/SkypDywfriFqWuFoa61WFXPV7sLcTjJGjim/w==} + engines: {node: '>=20.0.0'} + cpu: [riscv64] + os: [linux] + + '@oxc-parser/binding-linux-s390x-gnu@0.74.0': + resolution: {integrity: sha512-620J1beNAlGSPBD+Msb3ptvrwxu04B8iULCH03zlf0JSLy/5sqlD6qBs0XUVkUJv1vbakUw1gfVnUQqv0UTuEg==} + engines: {node: '>=20.0.0'} + cpu: [s390x] + os: [linux] + + '@oxc-parser/binding-linux-x64-gnu@0.74.0': + resolution: {integrity: sha512-WBFgQmGtFnPNzHyLKbC1wkYGaRIBxXGofO0+hz1xrrkPgbxbJS1Ukva1EB8sPaVBBQ52Bdc2GjLSp721NWRvww==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [linux] + + '@oxc-parser/binding-linux-x64-musl@0.74.0': + resolution: {integrity: sha512-y4mapxi0RGqlp3t6Sm+knJlAEqdKDYrEue2LlXOka/F2i4sRN0XhEMPiSOB3ppHmvK4I2zY2XBYTsX1Fel0fAg==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [linux] + + '@oxc-parser/binding-wasm32-wasi@0.74.0': + resolution: {integrity: sha512-yDS9bRDh5ymobiS2xBmjlrGdUuU61IZoJBaJC5fELdYT5LJNBXlbr3Yc6m2PWfRJwkH6Aq5fRvxAZ4wCbkGa8w==} + engines: {node: '>=14.0.0'} + cpu: [wasm32] + + '@oxc-parser/binding-win32-arm64-msvc@0.74.0': + resolution: {integrity: sha512-XFWY52Rfb4N5wEbMCTSBMxRkDLGbAI9CBSL24BIDywwDJMl31gHEVlmHdCDRoXAmanCI6gwbXYTrWe0HvXJ7Aw==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [win32] + + '@oxc-parser/binding-win32-x64-msvc@0.74.0': + resolution: {integrity: sha512-1D3x6iU2apLyfTQHygbdaNbX3nZaHu4yaXpD7ilYpoLo7f0MX0tUuoDrqJyJrVGqvyXgc0uz4yXz9tH9ZZhvvg==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [win32] + + '@oxc-project/types@0.74.0': + resolution: {integrity: sha512-KOw/RZrVlHGhCXh1RufBFF7Nuo7HdY5w1lRJukM/igIl6x9qtz8QycDvZdzb4qnHO7znrPyo2sJrFJK2eKHgfQ==} + '@parcel/watcher-android-arm64@2.5.1': resolution: {integrity: sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==} engines: {node: '>= 10.0.0'} @@ -2313,6 +2411,10 @@ packages: '@prefresh/utils@1.2.1': resolution: {integrity: sha512-vq/sIuN5nYfYzvyayXI4C2QkprfNaHUQ9ZX+3xLD8nL3rWyzpxOm1+K7RtMbhd+66QcaISViK7amjnheQ/4WZw==} + '@prettier/plugin-oxc@0.0.4': + resolution: {integrity: sha512-UGXe+g/rSRbglL0FOJiar+a+nUrst7KaFmsg05wYbKiInGWP6eAj/f8A2Uobgo5KxEtb2X10zeflNH6RK2xeIQ==} + engines: {node: '>=14'} + '@remix-run/router@1.23.0': resolution: {integrity: sha512-O3rHJzAQKamUz1fvE0Qaw0xSFqsA/yafi2iqeE0pvdFtCO1viYx8QL6f3Ln/aCCTLxs68SLf0KPM9eSeM8yBnA==} engines: {node: '>=14.0.0'} @@ -2432,13 +2534,13 @@ packages: engines: {node: '>=18.12.0'} hasBin: true - '@rsbuild/core@1.6.0': - resolution: {integrity: sha512-3kysx0OFRFdSho58mOwVBpk0MFDpn6DzcwIa/zywJWYJ1zUAcA9xPmubq7WjkaYsNMjSEisnEi4pz1LwTw9ZhA==} + '@rsbuild/core@1.6.0-beta.1': + resolution: {integrity: sha512-UjQnvXDW9m/hS4DP66ubGIMVjK2PzYx8tzgiinrO0kjNCr9i8KWuJSJGUWyczFMpSsXxp20LnuTxtx7kiGiYdA==} engines: {node: '>=18.12.0'} hasBin: true - '@rsbuild/core@1.6.0-beta.1': - resolution: {integrity: sha512-UjQnvXDW9m/hS4DP66ubGIMVjK2PzYx8tzgiinrO0kjNCr9i8KWuJSJGUWyczFMpSsXxp20LnuTxtx7kiGiYdA==} + '@rsbuild/core@1.6.2': + resolution: {integrity: sha512-ELlc23tDCYaXCwB//bOIF/Gnx1TtFey/DBgFDD/oN6PK7aKpAGIVSk6n9aHH3GRNXNtG/sLFtjucVm7Le3lvCA==} engines: {node: '>=18.12.0'} hasBin: true @@ -2531,8 +2633,8 @@ packages: '@rsdoctor/utils@1.3.7': resolution: {integrity: sha512-dQqNO2hfrhrBa1FncP3d8pHRmTZdJk349Ucb4oiMkG+Zxl8ykdfnMi9bXny7di/kzruehQvEsazNhT8dWWqz6w==} - '@rslib/core@0.17.0': - resolution: {integrity: sha512-8oQTnyxeqHB0vFJf8eihxsvpizSdwFOhuEYHWPLjGNvGxvlujt6nhzms6UeopLvtYh7ZMZAzSj0hAIlc/G1u6w==} + '@rslib/core@0.17.1': + resolution: {integrity: sha512-7mqrktQuHMkGcgIW6pBdw7xpBy5KmvTN22+RhSkj1y4FKfen/PqOPDGqGlN+kTbPSXs20kBepNkYWYV8t+6ryA==} engines: {node: '>=18.12.0'} hasBin: true peerDependencies: @@ -2583,11 +2685,6 @@ packages: cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-arm64@1.6.0': - resolution: {integrity: sha512-IrigOWnGvQgugsTZgf3dB5uko+y+lkNLYg/8w0DiobxkWhpLO97RAeR1w0ofIPXYVu3UWVf7dgHj3PjTqjC9Tw==} - cpu: [arm64] - os: [darwin] - '@rspack/binding-darwin-arm64@1.6.0-beta.1': resolution: {integrity: sha512-RXQ97iVXgvQAb/cq265z/txdHOOJ6fQQRBfnn0IfMNk7gT4W2rvsLrOqQpwtMKxYV4N/mfWnycfAVa0OOf22Gg==} cpu: [arm64] @@ -2603,11 +2700,6 @@ packages: cpu: [x64] os: [darwin] - '@rspack/binding-darwin-x64@1.6.0': - resolution: {integrity: sha512-UYz+Y1XqbHGnkUOsaZRuwiuQaQaQ5rEPSboBPlIVDtblwmB71yxo3ET0nSoUhz8L/WXqQoARiraTCxUP6bvSIg==} - cpu: [x64] - os: [darwin] - '@rspack/binding-darwin-x64@1.6.0-beta.1': resolution: {integrity: sha512-Ulb7Jyyvuf28BwPXZKSbglaSK/19b32ItWT+pgswhbFsnfhzAQQd7Jo7TUEvHNHAdVDiES8VFlrnOhOSnwEOLg==} cpu: [x64] @@ -2623,11 +2715,6 @@ packages: cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-gnu@1.6.0': - resolution: {integrity: sha512-Jr7aaxrtwOnh7ge7tZP+Mjpo6uNltvQisL25WcjpP+8PnPT0C9jziKDJso7KxeOINXnQ2yRn2h65+HBNb7FQig==} - cpu: [arm64] - os: [linux] - '@rspack/binding-linux-arm64-gnu@1.6.0-beta.1': resolution: {integrity: sha512-UyUoh5RXHTWCktqPVnqoc5rwlWyLkWqGu6ga+iyJHDxdxlrHFfwJnTSnCd4y8cRadf7CrmjHElxE61GU3WCYhw==} cpu: [arm64] @@ -2643,11 +2730,6 @@ packages: cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl@1.6.0': - resolution: {integrity: sha512-hl17reUhkjgkcLao6ZvNiSRQFGFykqUpIj1//v/XtVd/2XAZ0Kt7jv9UUeaR+2zY8piH+tgCkwgefmjmajMeFg==} - cpu: [arm64] - os: [linux] - '@rspack/binding-linux-arm64-musl@1.6.0-beta.1': resolution: {integrity: sha512-JAXVKHQieN4Ruvs7MstvsPUtRBSAROqJ0abCh4rXdV+FzncKp/ZkdfjQploDhBWtWfU8rPvIjaxeZcPfHMI5/A==} cpu: [arm64] @@ -2663,11 +2745,6 @@ packages: cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-gnu@1.6.0': - resolution: {integrity: sha512-xdlb+ToerFU/YggndCfIrZI/S/C80CP9ZFw6lhnEFSTJDAG88KptxstsoKUh8YzyPTD45CYaOjYNtUtiv0nScg==} - cpu: [x64] - os: [linux] - '@rspack/binding-linux-x64-gnu@1.6.0-beta.1': resolution: {integrity: sha512-LqAos71CJS5/V4knX9T7T68oGz0XPRZ2IJmI3jEByRlNcyZdxYeQ7Dw09JO9Y5Xj0T+0cudOeL2MxHcD3gTF/w==} cpu: [x64] @@ -2683,11 +2760,6 @@ packages: cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.6.0': - resolution: {integrity: sha512-IkXEW/FBPPz4EJJTLNZvA+94aLaW2HgUMYu7zCIw5YMc9JJ/UXexY1zjX/A7yidsCiZCRy/ZrB+veFJ5FkZv7w==} - cpu: [x64] - os: [linux] - '@rspack/binding-linux-x64-musl@1.6.0-beta.1': resolution: {integrity: sha512-E4dRMzIHYaoYkgmDTFLrgnGtdspbAuVbLfaPF9AWW5YkQn52obGAgbbNb1wi1JJ5f29nTBoLauYCucEO5IGFvA==} cpu: [x64] @@ -2702,10 +2774,6 @@ packages: resolution: {integrity: sha512-cfg3niNHeJuxuml1Vy9VvaJrI/5TakzoaZvKX2g5S24wfzR50Eyy4JAsZ+L2voWQQp1yMJbmPYPmnTCTxdJQBQ==} cpu: [wasm32] - '@rspack/binding-wasm32-wasi@1.6.0': - resolution: {integrity: sha512-XGwX35XXnoTYVUGwDBsKNOkkk/yUsT/RF59u9BwT3QBM5eSXk767xVw/ZeiiyJf5YfI/52HDW2E4QZyvlYyv7g==} - cpu: [wasm32] - '@rspack/binding-wasm32-wasi@1.6.0-beta.1': resolution: {integrity: sha512-PaKEjXOkYprSFlgdgVm/P3pv2E8nAQx9WSGgPmMVIAtxo3Cyz0wwFf0f1Bp9wCw0KkIWgi+9lz8oXNkgKZilug==} cpu: [wasm32] @@ -2719,11 +2787,6 @@ packages: cpu: [arm64] os: [win32] - '@rspack/binding-win32-arm64-msvc@1.6.0': - resolution: {integrity: sha512-HOA/U7YC6EB74CpIrT2GrvPgd+TLr0anNuOp/8omw9hH1jjsP5cjUMgWeAGmWyXWxwoS8rRJ0xhRA+UIe3cL3g==} - cpu: [arm64] - os: [win32] - '@rspack/binding-win32-arm64-msvc@1.6.0-beta.1': resolution: {integrity: sha512-HWz9Qxrjf3TKLCwiFPJaqw+STvEsBvFYZvBXZ8umIZXqtdfgQP5d91V8JRG4Gg1J6xnGC/KhZexxBuR/y64aBA==} cpu: [arm64] @@ -2739,11 +2802,6 @@ packages: cpu: [ia32] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.6.0': - resolution: {integrity: sha512-ThczdltBOFcq+IrTflCE+8q0GvKoISt6pTupkuGnI1/bCnqhCxPP6kx8Z06fdJUFMhvBtpZa0gDJvhh3JBZrKA==} - cpu: [ia32] - os: [win32] - '@rspack/binding-win32-ia32-msvc@1.6.0-beta.1': resolution: {integrity: sha512-alAZHRuyPzCH3rJpEC9EBE60EZPnQjzltZ6HN8lsCidACMFTzaLBvuzZyYQah+Zm58O22ok2Eon4BpP1Coizgg==} cpu: [ia32] @@ -2759,11 +2817,6 @@ packages: cpu: [x64] os: [win32] - '@rspack/binding-win32-x64-msvc@1.6.0': - resolution: {integrity: sha512-Bhyvsh1m6kIpr1vqZlcdUDUTh0bheRe9SF+f6jw0kPDPbh8FfrRbshPKmRHpRZAUHt20NqgUKR2z2BaKb0IJvQ==} - cpu: [x64] - os: [win32] - '@rspack/binding-win32-x64-msvc@1.6.0-beta.1': resolution: {integrity: sha512-/WBzhed0Cu0o9XQ9caGgWwzyNnnPKlENlExa2aGbRCbB14/+CwfhCyETyKlc/ID+dtlV/eHKTC9cckUNI8NpTQ==} cpu: [x64] @@ -2777,9 +2830,6 @@ packages: '@rspack/binding@1.5.8': resolution: {integrity: sha512-/91CzhRl9r5BIQCgGsS7jA6MDbw1I2BQpbfcUUdkdKl2P79K3Zo/Mw/TvKzS86catwLaUQEgkGRmYawOfPg7ow==} - '@rspack/binding@1.6.0': - resolution: {integrity: sha512-RqlCjvWg/LkJjHpsbI48ebo2SYpIBJsV1eh9SEMfXo1batAPvB5grhAbLX0MRUOtzuQOnZMCDGdr2v7l2L8Siw==} - '@rspack/binding@1.6.0-beta.1': resolution: {integrity: sha512-r3L60ekkDLM5qoRjCMrqsgwU9SQ5e8oA/Omltu/FEEUspIVHawPvAqNZvAXnGB+FoNxM8YgdRRh12PAwXJww0A==} @@ -2795,15 +2845,6 @@ packages: '@swc/helpers': optional: true - '@rspack/core@1.6.0': - resolution: {integrity: sha512-u2GDSToEhmgIsy0QbOPA81i9tu87J2HgSsRA3HHZfWIR8Vt8KdlAriQnG8CatDnvFSY/UQEumVf5Z1HUAQwxCg==} - engines: {node: '>=18.12.0'} - peerDependencies: - '@swc/helpers': '>=0.5.1' - peerDependenciesMeta: - '@swc/helpers': - optional: true - '@rspack/core@1.6.0-beta.1': resolution: {integrity: sha512-2ff8XWonPPHyQ6mEWogMspg+Sul3lXZUfNQVrbYSjfNpi8CeDV0/ZtRbHHbAXiy6pz5fvBFL6X+i/ATckjTYBw==} engines: {node: '>=18.12.0'} @@ -5547,6 +5588,10 @@ packages: resolution: {integrity: sha512-zAKMgGXUim0Jyd6CXK9lraBnD3H5yPGBPPOkC23a2BG6hsm4Zu6OQSjQuEtV0BHDf4aKHcUFvJiGRrFuW3MG8g==} engines: {node: '>=10'} + oxc-parser@0.74.0: + resolution: {integrity: sha512-2tDN/ttU8WE6oFh8EzKNam7KE7ZXSG5uXmvX85iNzxdJfMssDWcj3gpYzZi1E04XuE7m3v1dVWl/8BE886vPGw==} + engines: {node: '>=20.0.0'} + p-limit@3.1.0: resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} engines: {node: '>=10'} @@ -5962,8 +6007,8 @@ packages: '@rsbuild/core': optional: true - rsbuild-plugin-dts@0.17.0: - resolution: {integrity: sha512-GHfdTj5V3rscsVwfsh1cOPrQe1hwVvw9uE3aaqp0Mk9YGCTdjDS9Qczlohf8PwEHAlAL+qhvh6RQqAKZe7tuNg==} + rsbuild-plugin-dts@0.17.1: + resolution: {integrity: sha512-fEykqICjrvB0dqzm0WqZSQ5rXZ5r+ZYYxqIDgTDU6mHlhlAGJ+AOnX8vgujAdiyuqDF2ZiHcN0QYjxB2UwddtQ==} engines: {node: '>=18.12.0'} peerDependencies: '@microsoft/api-extractor': ^7 @@ -7924,6 +7969,13 @@ snapshots: '@module-federation/runtime': 0.21.2 '@module-federation/sdk': 0.21.2 + '@napi-rs/wasm-runtime@0.2.12': + dependencies: + '@emnapi/core': 1.6.0 + '@emnapi/runtime': 1.6.0 + '@tybys/wasm-util': 0.10.1 + optional: true + '@napi-rs/wasm-runtime@0.2.4': dependencies: '@emnapi/core': 1.6.0 @@ -7981,6 +8033,55 @@ snapshots: '@opentelemetry/api@1.9.0': {} + '@oxc-parser/binding-android-arm64@0.74.0': + optional: true + + '@oxc-parser/binding-darwin-arm64@0.74.0': + optional: true + + '@oxc-parser/binding-darwin-x64@0.74.0': + optional: true + + '@oxc-parser/binding-freebsd-x64@0.74.0': + optional: true + + '@oxc-parser/binding-linux-arm-gnueabihf@0.74.0': + optional: true + + '@oxc-parser/binding-linux-arm-musleabihf@0.74.0': + optional: true + + '@oxc-parser/binding-linux-arm64-gnu@0.74.0': + optional: true + + '@oxc-parser/binding-linux-arm64-musl@0.74.0': + optional: true + + '@oxc-parser/binding-linux-riscv64-gnu@0.74.0': + optional: true + + '@oxc-parser/binding-linux-s390x-gnu@0.74.0': + optional: true + + '@oxc-parser/binding-linux-x64-gnu@0.74.0': + optional: true + + '@oxc-parser/binding-linux-x64-musl@0.74.0': + optional: true + + '@oxc-parser/binding-wasm32-wasi@0.74.0': + dependencies: + '@napi-rs/wasm-runtime': 0.2.12 + optional: true + + '@oxc-parser/binding-win32-arm64-msvc@0.74.0': + optional: true + + '@oxc-parser/binding-win32-x64-msvc@0.74.0': + optional: true + + '@oxc-project/types@0.74.0': {} + '@parcel/watcher-android-arm64@2.5.1': optional: true @@ -8059,6 +8160,10 @@ snapshots: '@prefresh/utils@1.2.1': {} + '@prettier/plugin-oxc@0.0.4': + dependencies: + oxc-parser: 0.74.0 + '@remix-run/router@1.23.0': {} '@rollup/rollup-android-arm-eabi@4.52.5': @@ -8135,17 +8240,17 @@ snapshots: core-js: 3.46.0 jiti: 2.6.1 - '@rsbuild/core@1.6.0': + '@rsbuild/core@1.6.0-beta.1': dependencies: - '@rspack/core': 1.6.0(@swc/helpers@0.5.17) + '@rspack/core': 1.6.0-beta.1(@swc/helpers@0.5.17) '@rspack/lite-tapable': 1.0.1 '@swc/helpers': 0.5.17 core-js: 3.46.0 jiti: 2.6.1 - '@rsbuild/core@1.6.0-beta.1': + '@rsbuild/core@1.6.2': dependencies: - '@rspack/core': 1.6.0-beta.1(@swc/helpers@0.5.17) + '@rspack/core': 1.6.1(@swc/helpers@0.5.17) '@rspack/lite-tapable': 1.0.1 '@swc/helpers': 0.5.17 core-js: 3.46.0 @@ -8330,10 +8435,10 @@ snapshots: - '@rspack/core' - webpack - '@rslib/core@0.17.0(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3)': + '@rslib/core@0.17.1(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3)': dependencies: - '@rsbuild/core': 1.6.0 - rsbuild-plugin-dts: 0.17.0(@rsbuild/core@1.6.0)(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) + '@rsbuild/core': 1.6.2 + rsbuild-plugin-dts: 0.17.1(@rsbuild/core@1.6.2)(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: @@ -8369,9 +8474,6 @@ snapshots: '@rspack/binding-darwin-arm64@1.5.8': optional: true - '@rspack/binding-darwin-arm64@1.6.0': - optional: true - '@rspack/binding-darwin-arm64@1.6.0-beta.1': optional: true @@ -8381,9 +8483,6 @@ snapshots: '@rspack/binding-darwin-x64@1.5.8': optional: true - '@rspack/binding-darwin-x64@1.6.0': - optional: true - '@rspack/binding-darwin-x64@1.6.0-beta.1': optional: true @@ -8393,9 +8492,6 @@ snapshots: '@rspack/binding-linux-arm64-gnu@1.5.8': optional: true - '@rspack/binding-linux-arm64-gnu@1.6.0': - optional: true - '@rspack/binding-linux-arm64-gnu@1.6.0-beta.1': optional: true @@ -8405,9 +8501,6 @@ snapshots: '@rspack/binding-linux-arm64-musl@1.5.8': optional: true - '@rspack/binding-linux-arm64-musl@1.6.0': - optional: true - '@rspack/binding-linux-arm64-musl@1.6.0-beta.1': optional: true @@ -8417,9 +8510,6 @@ snapshots: '@rspack/binding-linux-x64-gnu@1.5.8': optional: true - '@rspack/binding-linux-x64-gnu@1.6.0': - optional: true - '@rspack/binding-linux-x64-gnu@1.6.0-beta.1': optional: true @@ -8429,9 +8519,6 @@ snapshots: '@rspack/binding-linux-x64-musl@1.5.8': optional: true - '@rspack/binding-linux-x64-musl@1.6.0': - optional: true - '@rspack/binding-linux-x64-musl@1.6.0-beta.1': optional: true @@ -8443,11 +8530,6 @@ snapshots: '@napi-rs/wasm-runtime': 1.0.7 optional: true - '@rspack/binding-wasm32-wasi@1.6.0': - dependencies: - '@napi-rs/wasm-runtime': 1.0.7 - optional: true - '@rspack/binding-wasm32-wasi@1.6.0-beta.1': dependencies: '@napi-rs/wasm-runtime': 1.0.7 @@ -8461,9 +8543,6 @@ snapshots: '@rspack/binding-win32-arm64-msvc@1.5.8': optional: true - '@rspack/binding-win32-arm64-msvc@1.6.0': - optional: true - '@rspack/binding-win32-arm64-msvc@1.6.0-beta.1': optional: true @@ -8473,9 +8552,6 @@ snapshots: '@rspack/binding-win32-ia32-msvc@1.5.8': optional: true - '@rspack/binding-win32-ia32-msvc@1.6.0': - optional: true - '@rspack/binding-win32-ia32-msvc@1.6.0-beta.1': optional: true @@ -8485,9 +8561,6 @@ snapshots: '@rspack/binding-win32-x64-msvc@1.5.8': optional: true - '@rspack/binding-win32-x64-msvc@1.6.0': - optional: true - '@rspack/binding-win32-x64-msvc@1.6.0-beta.1': optional: true @@ -8507,19 +8580,6 @@ snapshots: '@rspack/binding-win32-ia32-msvc': 1.5.8 '@rspack/binding-win32-x64-msvc': 1.5.8 - '@rspack/binding@1.6.0': - optionalDependencies: - '@rspack/binding-darwin-arm64': 1.6.0 - '@rspack/binding-darwin-x64': 1.6.0 - '@rspack/binding-linux-arm64-gnu': 1.6.0 - '@rspack/binding-linux-arm64-musl': 1.6.0 - '@rspack/binding-linux-x64-gnu': 1.6.0 - '@rspack/binding-linux-x64-musl': 1.6.0 - '@rspack/binding-wasm32-wasi': 1.6.0 - '@rspack/binding-win32-arm64-msvc': 1.6.0 - '@rspack/binding-win32-ia32-msvc': 1.6.0 - '@rspack/binding-win32-x64-msvc': 1.6.0 - '@rspack/binding@1.6.0-beta.1': optionalDependencies: '@rspack/binding-darwin-arm64': 1.6.0-beta.1 @@ -8554,14 +8614,6 @@ snapshots: optionalDependencies: '@swc/helpers': 0.5.17 - '@rspack/core@1.6.0(@swc/helpers@0.5.17)': - dependencies: - '@module-federation/runtime-tools': 0.21.2 - '@rspack/binding': 1.6.0 - '@rspack/lite-tapable': 1.0.1 - optionalDependencies: - '@swc/helpers': 0.5.17 - '@rspack/core@1.6.0-beta.1(@swc/helpers@0.5.17)': dependencies: '@module-federation/runtime-tools': 0.21.1 @@ -11801,6 +11853,26 @@ snapshots: strip-ansi: 6.0.1 wcwidth: 1.0.1 + oxc-parser@0.74.0: + dependencies: + '@oxc-project/types': 0.74.0 + optionalDependencies: + '@oxc-parser/binding-android-arm64': 0.74.0 + '@oxc-parser/binding-darwin-arm64': 0.74.0 + '@oxc-parser/binding-darwin-x64': 0.74.0 + '@oxc-parser/binding-freebsd-x64': 0.74.0 + '@oxc-parser/binding-linux-arm-gnueabihf': 0.74.0 + '@oxc-parser/binding-linux-arm-musleabihf': 0.74.0 + '@oxc-parser/binding-linux-arm64-gnu': 0.74.0 + '@oxc-parser/binding-linux-arm64-musl': 0.74.0 + '@oxc-parser/binding-linux-riscv64-gnu': 0.74.0 + '@oxc-parser/binding-linux-s390x-gnu': 0.74.0 + '@oxc-parser/binding-linux-x64-gnu': 0.74.0 + '@oxc-parser/binding-linux-x64-musl': 0.74.0 + '@oxc-parser/binding-wasm32-wasi': 0.74.0 + '@oxc-parser/binding-win32-arm64-msvc': 0.74.0 + '@oxc-parser/binding-win32-x64-msvc': 0.74.0 + p-limit@3.1.0: dependencies: yocto-queue: 0.1.0 @@ -12255,10 +12327,10 @@ snapshots: optionalDependencies: '@rsbuild/core': link:packages/core - rsbuild-plugin-dts@0.17.0(@rsbuild/core@1.6.0)(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3): + rsbuild-plugin-dts@0.17.1(@rsbuild/core@1.6.2)(@typescript/native-preview@7.0.0-dev.20251102.1)(typescript@5.9.3): dependencies: '@ast-grep/napi': 0.37.0 - '@rsbuild/core': 1.6.0 + '@rsbuild/core': 1.6.2 optionalDependencies: '@typescript/native-preview': 7.0.0-dev.20251102.1 typescript: 5.9.3 diff --git a/scripts/config/package.json b/scripts/config/package.json index b96f667ee1..4dfc1fd6e6 100644 --- a/scripts/config/package.json +++ b/scripts/config/package.json @@ -5,7 +5,7 @@ "private": true, "devDependencies": { "@rsbuild/core": "workspace:*", - "@rslib/core": "0.17.0", + "@rslib/core": "0.17.1", "@types/node": "^24.9.2", "@typescript/native-preview": "7.0.0-dev.20251102.1", "rsbuild-plugin-arethetypeswrong": "0.1.1", diff --git a/scripts/config/tsconfig.json b/scripts/config/tsconfig.json index 8a7c022bd2..d52408a1ae 100644 --- a/scripts/config/tsconfig.json +++ b/scripts/config/tsconfig.json @@ -8,7 +8,7 @@ "useDefineForClassFields": true, /* modules */ - "module": "ES2022", + "module": "esnext", "moduleDetection": "force", "moduleResolution": "bundler", "esModuleInterop": true, diff --git a/scripts/test-helper/package.json b/scripts/test-helper/package.json index ab49f6ebcc..7ae6201781 100644 --- a/scripts/test-helper/package.json +++ b/scripts/test-helper/package.json @@ -30,7 +30,7 @@ "typescript": "^5.9.3" }, "devDependencies": { - "@rslib/core": "0.17.0" + "@rslib/core": "0.17.1" }, "publishConfig": { "access": "public",