diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 6642bb1..19b40fe 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -40,7 +40,7 @@ jobs: package-manager-cache: false - name: Install Pnpm - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 + uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9 with: run_install: true @@ -77,7 +77,7 @@ jobs: package-manager-cache: false - name: Install Pnpm - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 + uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9 with: run_install: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1092d3b..2638432 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,11 +23,11 @@ jobs: - name: Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version: 24.16.0 + node-version: 24.18.0 package-manager-cache: false - name: Install Pnpm - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 + uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9 with: run_install: true diff --git a/README.md b/README.md index 6002995..68e7579 100644 --- a/README.md +++ b/README.md @@ -258,9 +258,7 @@ The function follows the same premise as [`Array#filter`](https://developer.mozi ```js import { rspack } from "@rspack/core"; -const configuration = { - /* Rspack configuration */ -}; +const configuration = {/* Rspack configuration */}; const compiler = rspack(configuration); devMiddleware(compiler, { @@ -287,9 +285,7 @@ import myOutputFileSystem from "my-fs"; myOutputFileSystem.join = join; myOutputFileSystem.mkdirp = mkdirp; -const compiler = rspack({ - /* Rspack configuration */ -}); +const compiler = rspack({/* Rspack configuration */}); devMiddleware(compiler, { outputFileSystem: myOutputFileSystem }); ``` @@ -301,9 +297,7 @@ Allows to set up a callback to change the response data. ```js import { rspack } from "@rspack/core"; -const configuration = { - /* Rspack configuration */ -}; +const configuration = {/* Rspack configuration */}; const compiler = rspack(configuration); devMiddleware(compiler, { @@ -339,9 +333,7 @@ import { rspack } from "@rspack/core"; import { devMiddleware } from "@rspack/dev-middleware"; import express from "express"; -const compiler = rspack({ - /* Rspack configuration */ -}); +const compiler = rspack({/* Rspack configuration */}); const instance = devMiddleware(compiler); @@ -373,9 +365,7 @@ import { rspack } from "@rspack/core"; import { devMiddleware } from "@rspack/dev-middleware"; import express from "express"; -const compiler = rspack({ - /* Rspack configuration */ -}); +const compiler = rspack({/* Rspack configuration */}); const instance = devMiddleware(compiler); @@ -412,9 +402,7 @@ import { rspack } from "@rspack/core"; import { devMiddleware } from "@rspack/dev-middleware"; import express from "express"; -const compiler = rspack({ - /* Rspack configuration */ -}); +const compiler = rspack({/* Rspack configuration */}); const instance = devMiddleware(compiler); @@ -445,9 +433,7 @@ import { rspack } from "@rspack/core"; import { devMiddleware } from "@rspack/dev-middleware"; import express from "express"; -const compiler = rspack({ - /* Rspack configuration */ -}); +const compiler = rspack({/* Rspack configuration */}); const instance = devMiddleware(compiler); @@ -530,9 +516,7 @@ import { devMiddleware } from "@rspack/dev-middleware"; import express from "express"; import isObject from "is-object"; -const compiler = rspack({ - /* Rspack configuration */ -}); +const compiler = rspack({/* Rspack configuration */}); const app = express(); diff --git a/package.json b/package.json index b2fc1d8..ce3cc03 100644 --- a/package.json +++ b/package.json @@ -32,14 +32,14 @@ "bump": "npx bumpp" }, "devDependencies": { - "@hapi/hapi": "^21.4.9", - "@hono/node-server": "^2.0.8", - "@rslib/core": "^0.22.1", - "@rslint/core": "^0.6.1", - "@rspack/core": "2.0.8", - "@rstest/core": "0.10.4", + "@hapi/hapi": "^21.4.10", + "@hono/node-server": "^2.0.12", + "@rslib/core": "^0.23.2", + "@rslint/core": "^0.7.1", + "@rspack/core": "2.1.5", + "@rstest/core": "0.11.4", "@types/express": "^5.0.6", - "@types/node": "^24.13.2", + "@types/node": "^24.13.3", "@types/on-finished": "^2.3.5", "@types/range-parser": "^1.2.7", "connect-next": "^4.0.3", @@ -48,14 +48,14 @@ "execa": "^9.6.1", "express": "^5.2.1", "finalhandler": "^2.1.1", - "hono": "^4.12.25", + "hono": "^4.12.32", "koa": "^3.2.1", - "memfs": "^4.57.7", + "memfs": "^4.64.0", "mrmime": "^2.0.1", "npm-run-all2": "^9.0.2", "on-finished": "^2.4.1", - "prettier": "^3.8.4", - "range-parser": "^1.2.1", + "prettier": "^3.9.6", + "range-parser": "^1.3.0", "router": "^2.2.0", "supertest": "^7.2.2", "typescript": "^7.0.2" @@ -68,7 +68,7 @@ "optional": true } }, - "packageManager": "pnpm@11.6.0", + "packageManager": "pnpm@11.17.0", "engines": { "node": "^20.19.0 || >=22.12.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dba463b..c542b9d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,29 +9,29 @@ importers: .: devDependencies: '@hapi/hapi': - specifier: ^21.4.9 - version: 21.4.9 + specifier: ^21.4.10 + version: 21.4.10 '@hono/node-server': - specifier: ^2.0.8 - version: 2.0.8(hono@4.12.25) + specifier: ^2.0.12 + version: 2.0.12(hono@4.12.32) '@rslib/core': - specifier: ^0.22.1 - version: 0.22.1(typescript@7.0.2) + specifier: ^0.23.2 + version: 0.23.2(typescript@7.0.2) '@rslint/core': - specifier: ^0.6.1 - version: 0.6.1 + specifier: ^0.7.1 + version: 0.7.1 '@rspack/core': - specifier: 2.0.8 - version: 2.0.8(@swc/helpers@0.5.23) + specifier: 2.1.5 + version: 2.1.5(@swc/helpers@0.5.23) '@rstest/core': - specifier: 0.10.4 - version: 0.10.4 + specifier: 0.11.4 + version: 0.11.4 '@types/express': specifier: ^5.0.6 version: 5.0.6 '@types/node': - specifier: ^24.13.2 - version: 24.13.2 + specifier: ^24.13.3 + version: 24.13.3 '@types/on-finished': specifier: ^2.3.5 version: 2.3.5 @@ -57,14 +57,14 @@ importers: specifier: ^2.1.1 version: 2.1.1 hono: - specifier: ^4.12.25 - version: 4.12.25 + specifier: ^4.12.32 + version: 4.12.32 koa: specifier: ^3.2.1 version: 3.2.1 memfs: - specifier: ^4.57.7 - version: 4.57.7(tslib@2.8.1) + specifier: ^4.64.0 + version: 4.64.0(tslib@2.8.1) mrmime: specifier: ^2.0.1 version: 2.0.1 @@ -75,11 +75,11 @@ importers: specifier: ^2.4.1 version: 2.4.1 prettier: - specifier: ^3.8.4 - version: 3.8.4 + specifier: ^3.9.6 + version: 3.9.6 range-parser: - specifier: ^1.2.1 - version: 1.2.1 + specifier: ^1.3.0 + version: 1.3.0 router: specifier: ^2.2.0 version: 2.2.0 @@ -388,14 +388,14 @@ packages: resolution: {integrity: sha512-abYYgI29wJhWIfWTYrYuzRYDcHQUQ1N5ylnhxYn1NJnIQMqUWGLbDmt12JABtZ+R6h6UNatQrS7rhP86etvJyQ==} engines: {node: '>=22.18.0'} - '@emnapi/core@1.10.0': - resolution: {integrity: sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==} + '@emnapi/core@1.11.2': + resolution: {integrity: sha512-TC8MkTuZUtcTSiFeuC0ksCh9QIJ5+F21MvZ4Wn4ORfYaFJ/0dsiudv5tVkejgwZlwQ39jL9WWDe2lz8x0WglOA==} - '@emnapi/runtime@1.10.0': - resolution: {integrity: sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==} + '@emnapi/runtime@1.11.2': + resolution: {integrity: sha512-kyOl3X0DuTiT1h2ft8r2fYO8JYtU9a9Xis/zBSiGArNaagCOWx90N1k2wxp18czFDH+OgcWGb5ZP/XMt3dcyPA==} - '@emnapi/wasi-threads@1.2.1': - resolution: {integrity: sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==} + '@emnapi/wasi-threads@1.2.2': + resolution: {integrity: sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==} '@hapi/accept@6.0.3': resolution: {integrity: sha512-p72f9k56EuF0n3MwlBNThyVE5PXX40g+aQh+C/xbKrfzahM2Oispv3AXmOIU51t3j77zay1qrX7IIziZXspMlw==} @@ -434,8 +434,8 @@ packages: '@hapi/file@3.0.0': resolution: {integrity: sha512-w+lKW+yRrLhJu620jT3y+5g2mHqnKfepreykvdOcl9/6up8GrQQn+l3FRTsjHTKbkbfQFkuksHpdv2EcpKcJ4Q==} - '@hapi/hapi@21.4.9': - resolution: {integrity: sha512-YnecZOVx2AD08VvPl0ZaFS0MjEHqg+InGRmBRli731ct+VwI++dpu3BIYA1Z4SMr6HUAnpyvbQ1aq5woe3fBWg==} + '@hapi/hapi@21.4.10': + resolution: {integrity: sha512-G0l7tch1/85Gkyasmmjvjam2IWbx/9zCp4AQx4nZ/nn/rrrmVmRvFejj2ZGe5j3wFZVCLt2+Zeg95ImFFom+7w==} engines: {node: '>=14.15.0'} '@hapi/heavy@8.0.1': @@ -488,8 +488,8 @@ packages: '@hapi/wreck@18.1.1': resolution: {integrity: sha512-UwTeGBfAnB/1mkw4gD6IQGI/bgMu7iGmqgT8K+xxye3z4ZHhCZlmS2wuHBJmENhBJSKqvoYzJ71ds3Xfq4gofQ==} - '@hono/node-server@2.0.8': - resolution: {integrity: sha512-GuCWzLxwg218fy1JaHculFsdcuY12hxit83V+algozTPnwhNjLrRL/Alg9OYjLZLoUZ1rw/S4CdTMsnkSKCmFA==} + '@hono/node-server@2.0.12': + resolution: {integrity: sha512-eWpQYr67tqJLeaSUl0Q+TquuYfUdTibpOJlUMV2FfUP7+KqCC5TufnwnlXL6mobZBJbGAYRd7ZvEBDCbLInjhg==} engines: {node: '>=20'} peerDependencies: hono: ^4 @@ -530,50 +530,50 @@ packages: peerDependencies: tslib: '2' - '@jsonjoy.com/fs-core@4.57.7': - resolution: {integrity: sha512-GDKuYHjP7vAI1kjBo73V+STKr9XIMZknW/xirpRW/EcShX0IKSev/ALafeRfC8Q331nodrXUFu04PugPB0MAhw==} + '@jsonjoy.com/fs-core@4.64.0': + resolution: {integrity: sha512-zs2TAq7Six5jgMuoMNjpspAvOP3mhtgq/k1UyQodEzCtQi/N83y2/y+zcvnZSGp/Rxq96DBN+bValOBQAyn/ew==} engines: {node: '>=10.0'} peerDependencies: tslib: '2' - '@jsonjoy.com/fs-fsa@4.57.7': - resolution: {integrity: sha512-1rWsah2nZtRbNeP+c61QcfGfVrJXBmBD0Hm7Akvv4C9MKEasXnbiOS//iH3T3HwUSSBATGrfSp0Xi8nlNhATeQ==} + '@jsonjoy.com/fs-fsa@4.64.0': + resolution: {integrity: sha512-nMWOVbkLFyEgmXZih3wyvxA9XpgyyqyfrINMHvEFqhi7uqfRl7c9ERJt6yX7vgMPrB9Uo+OJO+Spa0cFzPD01w==} engines: {node: '>=10.0'} peerDependencies: tslib: '2' - '@jsonjoy.com/fs-node-builtins@4.57.7': - resolution: {integrity: sha512-LWqfY1m+uAosjwM1RrKhMkUnP9jcq1RUczHsNO779ovm1E9v8I/pmj04eBAcoBjhC7ltcPbNFGyRJ5JqSJ7Jdg==} + '@jsonjoy.com/fs-node-builtins@4.64.0': + resolution: {integrity: sha512-/o7WRFhUWaM/fOrslwLZGnzn4RmRILykn+lAL+mNObqqRNw+CQSiij6hpCeZ+C7buhdoVo7go/OYqzaSUfDYmA==} engines: {node: '>=10.0'} peerDependencies: tslib: '2' - '@jsonjoy.com/fs-node-to-fsa@4.57.7': - resolution: {integrity: sha512-9T0zC9LKcAWXDoTLRdLMoJ0seOvJ5bgDKq1tSBoQAFQpPDstQUeV1Oe7PLypdu7F2D3ddRstmwgeNUEN/VaZ4Q==} + '@jsonjoy.com/fs-node-to-fsa@4.64.0': + resolution: {integrity: sha512-WDD9WVs0hb7UAEKTgZW2f66WDrbj7gIIWwpP3spbLyXa0rghtUaFTB8L4gdR3ZCWwiKIsj38/CNijpVmpnuPUw==} engines: {node: '>=10.0'} peerDependencies: tslib: '2' - '@jsonjoy.com/fs-node-utils@4.57.7': - resolution: {integrity: sha512-jjWSDOsfcog2cZnUCwX5AHmlIq6b6wx5Pz/2LAcNjJ62Rajwg89Fy7ubN+lDHew0/1reLDa9Z5urybYadhh37g==} + '@jsonjoy.com/fs-node-utils@4.64.0': + resolution: {integrity: sha512-k5Indsx9hWW9xSF7Y6oSKKwtCUNhzZxadub3owhIlitc+iMRVlPPdX2duTKQWBL3qNWpXya8jykgaaWpheeS4w==} engines: {node: '>=10.0'} peerDependencies: tslib: '2' - '@jsonjoy.com/fs-node@4.57.7': - resolution: {integrity: sha512-xhnyeyEVTiIOibFvda/5n89nChMLCPKHHM2WQ+GGDf6+U/IrQBW3Qx6x+Uq1bkDbxBkybLOdIGoBtVBrE8Nngg==} + '@jsonjoy.com/fs-node@4.64.0': + resolution: {integrity: sha512-dO+NNkODbUli4uV42bcNrrLvq5rE7SNpdZ5TNd0dtbLsAaNK3MDiIC9lUi+brboGoIjW6vd2fB1qao60nrk5xA==} engines: {node: '>=10.0'} peerDependencies: tslib: '2' - '@jsonjoy.com/fs-print@4.57.7': - resolution: {integrity: sha512-mFM4P4Gjq0QQHkLnXzPYPEMFrAoe6a5Myedgb6+CmL+nGd3MKvTxYPuD7N1dLIH9RBy1fLdzxd80qvuK8xrx3Q==} + '@jsonjoy.com/fs-print@4.64.0': + resolution: {integrity: sha512-PHZFccchvkhWrwPWHjmVAhbC3vSHCtyZvlZfJJ3ho2bnzl450hXri6/8e6pbkWdH+SkmLXNml0sV8e5HDAfxKw==} engines: {node: '>=10.0'} peerDependencies: tslib: '2' - '@jsonjoy.com/fs-snapshot@4.57.7': - resolution: {integrity: sha512-1GS3+plfm2giB3PqokiqyydyqYTPLcCQIKSkp0TdMNRh3KVk7rqRM6U785FLlVRG7XLmkc0KWr215OY+22K3QA==} + '@jsonjoy.com/fs-snapshot@4.64.0': + resolution: {integrity: sha512-oM7UDeL83q6NBzzsfKAsYKXKVXlykKFqqOLh4xZZKAzzROTlInkPbc6LTDGThEOnPiFiUzA7tYziHG9xavd76Q==} engines: {node: '>=10.0'} peerDependencies: tslib: '2' @@ -614,8 +614,8 @@ packages: peerDependencies: tslib: '2' - '@napi-rs/wasm-runtime@1.1.4': - resolution: {integrity: sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==} + '@napi-rs/wasm-runtime@1.1.6': + resolution: {integrity: sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg==} peerDependencies: '@emnapi/core': ^1.7.1 '@emnapi/runtime': ^1.7.1 @@ -627,8 +627,8 @@ packages: '@paralleldrive/cuid2@2.3.1': resolution: {integrity: sha512-XO7cAxhnTZl0Yggq6jOgjiOHhbgcO4NqFqwSmQpjK3b6TEE6Uj/jfSk6wzYyemh3+I0sHirKSetjQwn5cZktFw==} - '@rsbuild/core@2.0.13': - resolution: {integrity: sha512-nJppOdb6vwCcL4hc/dq9bejDRDgxYy2U/+NxDTh8pd3mrENW4DzEweTYtr+oqobABU1fFfPlU9Owo605wG67cA==} + '@rsbuild/core@2.1.8': + resolution: {integrity: sha512-Y70LMcCZspVoQ7Oip1W2Agu5wVhWZ2x3cYl4s9GLQG4VYphBud53DY/jkrqkyQF8ASYZDDDrW2KWNFj0kNLLuA==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: @@ -637,21 +637,21 @@ packages: core-js: optional: true - '@rslib/core@0.22.1': - resolution: {integrity: sha512-RaqTITHFkpMDJG9fmD7Hu6FLE64hwctCo46asHOD2DipzQJWawg6K0pFGimTAyutYEZysIUfYgCwSYkbctDudg==} + '@rslib/core@0.23.2': + resolution: {integrity: sha512-KxSp+/y0BJ1O4oKwxX4ydBY7/ZVeJCUpWAmQniCIct8mTxIQFPGO/ibKbKq2IxZYqRuRpM8g+Dtyq0VbEQf9HQ==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@microsoft/api-extractor': ^7 - typescript: ^5 || ^6 + typescript: ^5 || ^6 || ^7.0.1-0 peerDependenciesMeta: '@microsoft/api-extractor': optional: true typescript: optional: true - '@rslint/core@0.6.1': - resolution: {integrity: sha512-UTc2kp3ERxjwkLUBsGMRjuI95K8Ws4xbIriYTrGZ2BAnLHg6BwqWli/sTBWiMAEtefWe/5Vu2ejLwcgV1F3QSA==} + '@rslint/core@0.7.1': + resolution: {integrity: sha512-FOeueVzYCNIJO/R+Wf75ZS8LljZlzZHlesJsghBxkteoNpuuKCXcFGibNiUv1XKB6hknJpznt+shGyTSYSWLVA==} hasBin: true peerDependencies: jiti: ^2.0.0 @@ -659,111 +659,120 @@ packages: jiti: optional: true - '@rslint/native-darwin-arm64@0.6.1': - resolution: {integrity: sha512-Xt6gkSIztk8l7O1O0YXZ8X6kjEhaQvm9MplkDJR24RRSuALVw4Pzc9Z3ASjEbv4xnkuvPQLNQZg7/M3v274uNw==} + '@rslint/native-darwin-arm64@0.7.1': + resolution: {integrity: sha512-+jW0+xxMOaDXcfVuqjRr11dYZXsHZwKeYtn7ZIrY05S6Jwny6cvtsU1P2Jm02jhRost+K7/v7kGKqEFqGFYpKw==} cpu: [arm64] os: [darwin] - '@rslint/native-darwin-x64@0.6.1': - resolution: {integrity: sha512-LZ0AaqpF3wAFl3lfDM5P0YCGoavm8AN33Cy9Z5wD+N8Ffj+KR39QdmuWX6ZivPm0OPPw0xov6YDzDRCHvVtsbA==} + '@rslint/native-darwin-x64@0.7.1': + resolution: {integrity: sha512-rg+C73OUO9J9KAh5qpGDv8hzC0uZ8f0OBtc7Qoo9C7Ka1CHcrn23tCDls6oKIiRrzlwi80JlMu310LL0UpsRQQ==} cpu: [x64] os: [darwin] - '@rslint/native-linux-arm64-gnu@0.6.1': - resolution: {integrity: sha512-H1jI8uEw4gdeEcD/zTn7xD0LWIJTfSyrhDnimN22xvKZ3ufo3EvTOs5t9alVns7xiGbxFeWnjPjwl/p6DI95AA==} + '@rslint/native-linux-arm64-gnu@0.7.1': + resolution: {integrity: sha512-8qL0pG4XPLm0/iSUFUWScJuS4nrmIHtXVWwKct/bA1S+0izqR4GwP+2lxEBgvciW2JrxbRE8V3vqd6ZmAqlG4w==} cpu: [arm64] os: [linux] libc: [glibc] - '@rslint/native-linux-arm64-musl@0.6.1': - resolution: {integrity: sha512-BbXisiQaJDgLwCXXIIKllbTDxtJoS33OEsk/zEQ2wvxSH52G9c/XLcoQaEgTa4Mc3XULgmPFfCdlNXQckeJQkg==} + '@rslint/native-linux-arm64-musl@0.7.1': + resolution: {integrity: sha512-MANHcVzdtOt8LR9gAwLwWVgfetO5DgH47spRiaUnJ07gewoRkHomm4NHiCOIiLht+F6XkzhHwsN8VItvsEABMw==} cpu: [arm64] os: [linux] libc: [musl] - '@rslint/native-linux-x64-gnu@0.6.1': - resolution: {integrity: sha512-ZQoxbBCxzSY1jnbt2jdyNaSFqGUmF2u69jqMS7v9VsYDod9JtSHb3Wnp71finz3KhslZExHXKqQQvGmdyC5cwA==} + '@rslint/native-linux-x64-gnu@0.7.1': + resolution: {integrity: sha512-CKUKk5hmHObR93bGFheMkVBLxBVOtMoo7nc1x06rZESRtKw5vKHyMUieHg+8AAaJGEhxHMIMhrQTCDOZ4DUR7g==} cpu: [x64] os: [linux] libc: [glibc] - '@rslint/native-linux-x64-musl@0.6.1': - resolution: {integrity: sha512-6uKdu8KAnKdllZvKWInfD5pntdIik3+3p+vDUzcPeLlTgAv6qxT6MQZqGjVCRPa1XbnCamwbdp/zV7onuV79Ag==} + '@rslint/native-linux-x64-musl@0.7.1': + resolution: {integrity: sha512-gqytinzowpPC1bTRN2eUw7HxHcIT+X2HYgnlxxchrjINmseoa8yt46QQWn7OPMwNKWKSoLk2BHvuw0fhPo4m/Q==} cpu: [x64] os: [linux] libc: [musl] - '@rslint/native-win32-arm64-msvc@0.6.1': - resolution: {integrity: sha512-1TG5JCSkm/rzmUSTlBNrgLE14fxreXUZlC1TgzUWg8rjm6AJSVBKYntvC6c4SestXI33LKMOfnTb+dXd4DdZ8Q==} + '@rslint/native-win32-arm64-msvc@0.7.1': + resolution: {integrity: sha512-zRryqKmmmWCUWX4iaOetQC0yycWSNSIXB6YqMR+T56clv3VXvLrM2TQsGiQbwxLAzGjNmRBp+rYEUt2NyEeaYA==} cpu: [arm64] os: [win32] - '@rslint/native-win32-x64-msvc@0.6.1': - resolution: {integrity: sha512-LXhHXfzu4YjjqVbBC2tKyq1L7UVJqtbnSXyOXMhdaVNHRkHfuCjX3Us5uNe4/TbQdOIH7Qcfwzsj1/GpMYID+A==} + '@rslint/native-win32-x64-msvc@0.7.1': + resolution: {integrity: sha512-/mwDeo742sE/bzdWhWp/2TQELSUf4UoWJqHNT7zmejiZQCLSz9aXU742JfWVOKipNUWNoB8THvpCLDfav7RJYg==} cpu: [x64] os: [win32] - '@rslint/native@0.6.1': - resolution: {integrity: sha512-WR/tITtBCjxkBhpDRip4h6n+gxMMqqijFKmDjuc3O/ScWMrX+KbeKcnS0u1Y8e0YfoAmk7dHR9HIT+IRHod1IQ==} - - '@rspack/binding-darwin-arm64@2.0.8': - resolution: {integrity: sha512-vCgbgH7B7qom+uID+RCZsTCOYFb9wC4/4+1U6rMfytrXGVJ72eNQs2tbdjOl0lb18CT3N/n+VkWynUiLk84GwA==} + '@rspack/binding-darwin-arm64@2.1.5': + resolution: {integrity: sha512-XLAN6YSU36qkciJtV9DY9z57pdHOjKy/f1HyoqpZenRg8p46jnXPziV45lfrTZpG+FF6g/jtTUc4dKbeyoWqPw==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@2.0.8': - resolution: {integrity: sha512-satPm2PD4B7jDTVlVAdvMVdUszwLvWUEnUDzLb77mvVkezKNDZmuhb+e8s+FfKs8hJpNbZ9VAejuA2rr8o985w==} + '@rspack/binding-darwin-x64@2.1.5': + resolution: {integrity: sha512-KLW7PV86jyCOyqJSqrkZdvYUWYCFX/Q4LsGmVc8tyDA8jBYLMHJDewC/lNf9ot3rU2SoLDZKhDUh7q7dX0FRmg==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@2.0.8': - resolution: {integrity: sha512-pSI+npPQE/uDtiboqvcOIRJbEV2+B+H1xffmko/gw50la92oTUW60kVULFwsb6L0+GVCzIcwX3yq60GtYIn+Ug==} + '@rspack/binding-linux-arm64-gnu@2.1.5': + resolution: {integrity: sha512-KOooAC8L+Ljx5sY7ZuMeaXCQ310FNWaPWXcYQJpFPApF3qyLeSfuOftUGwxcxeo5U0mS5OY3zxp7/5CaHWKYjg==} cpu: [arm64] os: [linux] libc: [glibc] - '@rspack/binding-linux-arm64-musl@2.0.8': - resolution: {integrity: sha512-igjJ43yxWQ72GZqjDDZSSHax9/Vg+6rLMmOvFglTJUkQpB4Tyvu/YjW+WRjYj2xRw6blOjLxUSJWASvuSqqlvg==} + '@rspack/binding-linux-arm64-musl@2.1.5': + resolution: {integrity: sha512-0GFc07gT71+uRbHtejDecBfSL0fs7dQAwCtXYieXboACauL7UvS3Hwr6v8A91aGtAcvLotnCaIa3CWWYwtYlYQ==} cpu: [arm64] os: [linux] libc: [musl] - '@rspack/binding-linux-x64-gnu@2.0.8': - resolution: {integrity: sha512-zrkoEOnqj1hOEBO5T2I/2Ts2HSJsYFh1qXwMpK4dMJFGGNWDfNeUa6/LF5uq3VINF3JUl7RL47AgrucoSZJXPA==} + '@rspack/binding-linux-riscv64-gnu@2.1.5': + resolution: {integrity: sha512-isQQDp3fBzPSZpLVFzPqVXIVA4I9b9mKs58TfUgOzDP/1g1582YSV3iFopgFogvEliihXDuuXvM6aAkP+w8Z+Q==} + cpu: [riscv64] + os: [linux] + libc: [glibc] + + '@rspack/binding-linux-riscv64-musl@2.1.5': + resolution: {integrity: sha512-/SP6VknY4kH60BYplI2FDNAJCo4U4DUszLxhKsgVlgA5ImgHC8Ew2AsKgidk7ceiYV9OcKzYuWYe9tVpysBYVA==} + cpu: [riscv64] + os: [linux] + libc: [musl] + + '@rspack/binding-linux-x64-gnu@2.1.5': + resolution: {integrity: sha512-/GJmS+buA4pilT10gs5mfAhAZxSHXpDD8veZ3QpYvNUuoU9gvempAq9TgjbyNN/vc5pf76GdXPXKFMiehudYSA==} cpu: [x64] os: [linux] libc: [glibc] - '@rspack/binding-linux-x64-musl@2.0.8': - resolution: {integrity: sha512-6CtDaGZjNDvJd9TBp7a9zABbrPORO21W96+3ZcGBn0YNUPUk4ARxIxrTTpeJ/1F41QDM8AYIkGDdqEYMqTYBsA==} + '@rspack/binding-linux-x64-musl@2.1.5': + resolution: {integrity: sha512-iwS3t75nZ2TnUjB05KtvpvjpdkOy/nLxbaOnwjbdnNZZXpUaMadLbllGAWayHPGCMsL2yKBEhVEESZpR7tK3SA==} cpu: [x64] os: [linux] libc: [musl] - '@rspack/binding-wasm32-wasi@2.0.8': - resolution: {integrity: sha512-Yf4SiqTUroT5Ju+te0YAY2xxKOb35tECsO21v7hYyGa705wrgoAK/MmF7enOvs9GR1iZIqgiLD/wxsIxl8GjJw==} + '@rspack/binding-wasm32-wasi@2.1.5': + resolution: {integrity: sha512-jOhW69t1H/jcRaSMB5U8jVzWP18j0YQIlo0nT8W+KvNVScJeyOze4FFc+5RIS7VmuT8/jid7hUyydZOfm6UgqA==} cpu: [wasm32] - '@rspack/binding-win32-arm64-msvc@2.0.8': - resolution: {integrity: sha512-8NCuiQsAhXrwRBy57QZoypqrws/zLBkaQVGiB8hksr6v++8hNigNjqpQARLbd0iyMuHsQQ++8+auGk6xlDXmzw==} + '@rspack/binding-win32-arm64-msvc@2.1.5': + resolution: {integrity: sha512-OLfMXmtFBcrWr9BRGKXJYrWgYR0JSaoAWr3EVFDjKGi/YR5aUwQSGc3AJPBph9g0YsdSqRuUhtQGtCk84DeeEA==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@2.0.8': - resolution: {integrity: sha512-bxiekytbX7V9KFAra+HkwtNWC6pYfHEBBZFpiT0xUs3mCFOmAAFVBsBSQsoCP9AdCEXoMAvNdnrHNw3iov4OZw==} + '@rspack/binding-win32-ia32-msvc@2.1.5': + resolution: {integrity: sha512-p4OSmnj21+AY8vpIADveLEBXfXJRXonOTYim2VLVWV4TbXfhYNMLiX3qESHCdNnn6lVJM0q6zxxzEUfTyAKydw==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@2.0.8': - resolution: {integrity: sha512-7zPs8YCe/ZVJTwd+5lpB0CP0tkn2pONf/T1ycmVY76u21Nrwt8mXQGc/2yH2eWP4B7fikYBr3hGr7mpR2fajqQ==} + '@rspack/binding-win32-x64-msvc@2.1.5': + resolution: {integrity: sha512-YCkLLDGMkHsw5CpcsFtFhzCu+JZEsNrcH9O1GpWMkyxR2ku2Fq1i2wEHYSm26HyW+PJ3+Fv347MPWMFZIz9q2g==} cpu: [x64] os: [win32] - '@rspack/binding@2.0.8': - resolution: {integrity: sha512-3uZ+y8aQxq33ty2srMxg2Nu0XuBI6vVrG50rkDaXqwWqOohfgGUSfFuQK7EnSUNy4aFUQlCG6NHialQHJov0wg==} + '@rspack/binding@2.1.5': + resolution: {integrity: sha512-lF3ZLeeyV0AN3BL0m2jAmNZD5pP9IHsQ8gUXN7mo0g4xsW6nf6hsN7o9CnEHECz5uUZb+EoWsuWzAAmnA9Ip8Q==} - '@rspack/core@2.0.8': - resolution: {integrity: sha512-+NLGJf8gZxihDmMFzjlly3toc2SMjeDmuvz0/Cai9AMdV4F+Pqcnt2BA9V4e3SY2jmhJQtPwgyyLtR1RiJO77g==} + '@rspack/core@2.1.5': + resolution: {integrity: sha512-YHjL7xVXycAWsjJtF39cRZ2u+ddiNFxY+FcNgEBe6Y8OaLeUfMfjba3gK+B1Oj32UcKD6BmXGsPfu9p+OII/Yw==} engines: {node: ^20.19.0 || >=22.12.0} peerDependencies: '@module-federation/runtime-tools': ^0.24.1 || ^2.0.0 @@ -774,8 +783,8 @@ packages: '@swc/helpers': optional: true - '@rstest/core@0.10.4': - resolution: {integrity: sha512-HuIINPkS5h5+rUGyOBkaFV/zYdMKTYWQNTTJhNqylMKPffvv1SAa4glLpjoS0iGmX1I8US/X6KDrdFIU/VfvKw==} + '@rstest/core@0.11.4': + resolution: {integrity: sha512-HfBP4mmvLVq2vpyRvHHaeu1+K2e9XSjDCHbj15s+NExnniS2b+y/ABXyjJldpRSoiirKnfIqY7BVGOaO+G+W0w==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: @@ -797,8 +806,8 @@ packages: '@swc/helpers@0.5.23': resolution: {integrity: sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==} - '@tybys/wasm-util@0.10.1': - resolution: {integrity: sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==} + '@tybys/wasm-util@0.10.3': + resolution: {integrity: sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==} '@types/body-parser@1.19.6': resolution: {integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==} @@ -821,11 +830,8 @@ packages: '@types/http-errors@2.0.5': resolution: {integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==} - '@types/node@24.12.4': - resolution: {integrity: sha512-GUUEShf+PBCGW2KaXwcIt3Yk+e3pkKwWKb9GSyM9WQVE+ep2jzmHdGsHzu4wgcZy5fN9FBdVzjpBQsYlpfpgLA==} - - '@types/node@24.13.2': - resolution: {integrity: sha512-fRa09kZTgu8o71KFcDjUFuc7F+dEbZYZmkI0mg5YBTRs0yMKjYHsq/c0urDKeDb+D5qVgXOdFcuu+DZPKOITwA==} + '@types/node@24.13.3': + resolution: {integrity: sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==} '@types/on-finished@2.3.5': resolution: {integrity: sha512-XUaCx9tVIC577KsOZxKbnvGlyPt2ogNXQEq/bOQpAfPwH9sH0FbzrRsK1961jpjKlK5V+Owmw55dVjukWhwH0w==} @@ -1286,8 +1292,8 @@ packages: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} - hono@4.12.25: - resolution: {integrity: sha512-2NFaIyNVgJmBs/ecmtGzlmluTFs5cHEWGTdu0t1HBwYzoGXOL5nUQBRMXsXWla5i4KkG//QMzVP88m1+I3fdAQ==} + hono@4.12.32: + resolution: {integrity: sha512-XcuyW9qE2kJn07PkecMOBd5Vq/hMy7mmGw+idz1yblbg9N17ijJODrvPkn7/dwL3Kulj8LcRJ69DLOWf91dRUg==} engines: {node: '>=16.9.0'} http-assert@1.5.0: @@ -1381,8 +1387,8 @@ packages: resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==} engines: {node: '>= 0.8'} - memfs@4.57.7: - resolution: {integrity: sha512-YZPphUQZSRGk6ddPlsNuMbztrLwsbUATFNZcqKscSbSJZ4g0+Y3vSZLJ/rfnGZaB1FFhC7SrywZXev6i8lnHgg==} + memfs@4.64.0: + resolution: {integrity: sha512-Kw72fgY7Wn+sD8KmtNWSafl1dz0UvAsE/PHs3YVfLiaZuA3HxNm9sRLqAu0ATiBGJvME1PxZXbBZPv5GycDeAw==} peerDependencies: tslib: '2' @@ -1486,8 +1492,8 @@ packages: engines: {node: '>=18'} hasBin: true - prettier@3.8.4: - resolution: {integrity: sha512-N2MylSdi48+5N/6S5j+maeHbUSIzzZ5uOcX5Hm4QpV8Dkb1HFjfAKTKX6yNPJQD9AhcT3ifHNB66tWTTJDi11Q==} + prettier@3.9.6: + resolution: {integrity: sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==} engines: {node: '>=14'} hasBin: true @@ -1503,8 +1509,8 @@ packages: resolution: {integrity: sha512-mAZTtNCeetKMH+pSjrb76NAM8V9a05I9aBZOHztWy/UqcJdQYNsf59vrRKWnojAT9Y+GbIvoTBC++CPHqpDBhQ==} engines: {node: '>=0.6'} - range-parser@1.2.1: - resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} + range-parser@1.3.0: + resolution: {integrity: sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw==} engines: {node: '>= 0.6'} raw-body@3.0.2: @@ -1523,14 +1529,14 @@ packages: resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==} engines: {node: '>= 18'} - rsbuild-plugin-dts@0.22.1: - resolution: {integrity: sha512-6vBfXgwK4j6GkjSRH13tuceBavc6qwSE5IVSoVCZ/wRuM0ZL7dIjdk+yGSWKJt5lNMfc4XwQoTErGIC9zhgztQ==} + rsbuild-plugin-dts@0.23.2: + resolution: {integrity: sha512-Ve8WOSPyTBjxH40O/6fChJtflL7yqcUtt5zbF0eHDM4hIt35jqLocRlSdCxFJdQm0blTjl6+hkmPa/vNI06ArA==} engines: {node: ^20.19.0 || >=22.12.0} peerDependencies: '@microsoft/api-extractor': ^7 '@rsbuild/core': ^1.0.0 || ^2.0.0-0 '@typescript/native-preview': ^7.0.0-0 - typescript: ^5 || ^6 + typescript: ^5 || ^6 || ^7.0.1-0 peerDependenciesMeta: '@microsoft/api-extractor': optional: true @@ -1650,9 +1656,6 @@ packages: engines: {node: '>=16.20.0'} hasBin: true - undici-types@7.16.0: - resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==} - undici-types@7.18.2: resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==} @@ -1963,18 +1966,18 @@ snapshots: '@cspell/url@10.0.1': {} - '@emnapi/core@1.10.0': + '@emnapi/core@1.11.2': dependencies: - '@emnapi/wasi-threads': 1.2.1 + '@emnapi/wasi-threads': 1.2.2 tslib: 2.8.1 optional: true - '@emnapi/runtime@1.10.0': + '@emnapi/runtime@1.11.2': dependencies: tslib: 2.8.1 optional: true - '@emnapi/wasi-threads@1.2.1': + '@emnapi/wasi-threads@1.2.2': dependencies: tslib: 2.8.1 optional: true @@ -2030,7 +2033,7 @@ snapshots: '@hapi/file@3.0.0': {} - '@hapi/hapi@21.4.9': + '@hapi/hapi@21.4.10': dependencies: '@hapi/accept': 6.0.3 '@hapi/ammo': 6.0.1 @@ -2142,9 +2145,9 @@ snapshots: '@hapi/bourne': 3.0.0 '@hapi/hoek': 11.0.7 - '@hono/node-server@2.0.8(hono@4.12.25)': + '@hono/node-server@2.0.12(hono@4.12.32)': dependencies: - hono: 4.12.25 + hono: 4.12.32 '@jsonjoy.com/base64@1.1.2(tslib@2.8.1)': dependencies: @@ -2170,58 +2173,59 @@ snapshots: dependencies: tslib: 2.8.1 - '@jsonjoy.com/fs-core@4.57.7(tslib@2.8.1)': + '@jsonjoy.com/fs-core@4.64.0(tslib@2.8.1)': dependencies: - '@jsonjoy.com/fs-node-builtins': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-node-utils': 4.57.7(tslib@2.8.1) + '@jsonjoy.com/fs-node-builtins': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-node-utils': 4.64.0(tslib@2.8.1) thingies: 2.5.0(tslib@2.8.1) tslib: 2.8.1 - '@jsonjoy.com/fs-fsa@4.57.7(tslib@2.8.1)': + '@jsonjoy.com/fs-fsa@4.64.0(tslib@2.8.1)': dependencies: - '@jsonjoy.com/fs-core': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-node-builtins': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-node-utils': 4.57.7(tslib@2.8.1) + '@jsonjoy.com/fs-core': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-node-builtins': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-node-utils': 4.64.0(tslib@2.8.1) thingies: 2.5.0(tslib@2.8.1) tslib: 2.8.1 - '@jsonjoy.com/fs-node-builtins@4.57.7(tslib@2.8.1)': + '@jsonjoy.com/fs-node-builtins@4.64.0(tslib@2.8.1)': dependencies: tslib: 2.8.1 - '@jsonjoy.com/fs-node-to-fsa@4.57.7(tslib@2.8.1)': + '@jsonjoy.com/fs-node-to-fsa@4.64.0(tslib@2.8.1)': dependencies: - '@jsonjoy.com/fs-fsa': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-node-builtins': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-node-utils': 4.57.7(tslib@2.8.1) + '@jsonjoy.com/fs-fsa': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-node-builtins': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-node-utils': 4.64.0(tslib@2.8.1) tslib: 2.8.1 - '@jsonjoy.com/fs-node-utils@4.57.7(tslib@2.8.1)': + '@jsonjoy.com/fs-node-utils@4.64.0(tslib@2.8.1)': dependencies: - '@jsonjoy.com/fs-node-builtins': 4.57.7(tslib@2.8.1) + '@jsonjoy.com/fs-node-builtins': 4.64.0(tslib@2.8.1) + glob-to-regex.js: 1.2.0(tslib@2.8.1) tslib: 2.8.1 - '@jsonjoy.com/fs-node@4.57.7(tslib@2.8.1)': + '@jsonjoy.com/fs-node@4.64.0(tslib@2.8.1)': dependencies: - '@jsonjoy.com/fs-core': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-node-builtins': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-node-utils': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-print': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-snapshot': 4.57.7(tslib@2.8.1) + '@jsonjoy.com/fs-core': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-node-builtins': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-node-utils': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-print': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-snapshot': 4.64.0(tslib@2.8.1) glob-to-regex.js: 1.2.0(tslib@2.8.1) thingies: 2.5.0(tslib@2.8.1) tslib: 2.8.1 - '@jsonjoy.com/fs-print@4.57.7(tslib@2.8.1)': + '@jsonjoy.com/fs-print@4.64.0(tslib@2.8.1)': dependencies: - '@jsonjoy.com/fs-node-utils': 4.57.7(tslib@2.8.1) + '@jsonjoy.com/fs-node-utils': 4.64.0(tslib@2.8.1) tree-dump: 1.1.0(tslib@2.8.1) tslib: 2.8.1 - '@jsonjoy.com/fs-snapshot@4.57.7(tslib@2.8.1)': + '@jsonjoy.com/fs-snapshot@4.64.0(tslib@2.8.1)': dependencies: '@jsonjoy.com/buffers': 17.67.0(tslib@2.8.1) - '@jsonjoy.com/fs-node-utils': 4.57.7(tslib@2.8.1) + '@jsonjoy.com/fs-node-utils': 4.64.0(tslib@2.8.1) '@jsonjoy.com/json-pack': 17.67.0(tslib@2.8.1) '@jsonjoy.com/util': 17.67.0(tslib@2.8.1) tslib: 2.8.1 @@ -2273,11 +2277,11 @@ snapshots: '@jsonjoy.com/codegen': 17.67.0(tslib@2.8.1) tslib: 2.8.1 - '@napi-rs/wasm-runtime@1.1.4(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)': + '@napi-rs/wasm-runtime@1.1.6(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2)': dependencies: - '@emnapi/core': 1.10.0 - '@emnapi/runtime': 1.10.0 - '@tybys/wasm-util': 0.10.1 + '@emnapi/core': 1.11.2 + '@emnapi/runtime': 1.11.2 + '@tybys/wasm-util': 0.10.3 optional: true '@noble/hashes@1.8.0': {} @@ -2286,17 +2290,17 @@ snapshots: dependencies: '@noble/hashes': 1.8.0 - '@rsbuild/core@2.0.13': + '@rsbuild/core@2.1.8': dependencies: - '@rspack/core': 2.0.8(@swc/helpers@0.5.23) + '@rspack/core': 2.1.5(@swc/helpers@0.5.23) '@swc/helpers': 0.5.23 transitivePeerDependencies: - '@module-federation/runtime-tools' - '@rslib/core@0.22.1(typescript@7.0.2)': + '@rslib/core@0.23.2(typescript@7.0.2)': dependencies: - '@rsbuild/core': 2.0.13 - rsbuild-plugin-dts: 0.22.1(@rsbuild/core@2.0.13)(typescript@7.0.2) + '@rsbuild/core': 2.1.8 + rsbuild-plugin-dts: 0.23.2(@rsbuild/core@2.1.8)(typescript@7.0.2) optionalDependencies: typescript: 7.0.2 transitivePeerDependencies: @@ -2304,111 +2308,107 @@ snapshots: - '@typescript/native-preview' - core-js - '@rslint/core@0.6.1': + '@rslint/core@0.7.1': dependencies: - '@rslint/native': 0.6.1 picomatch: 4.0.4 optionalDependencies: - '@rslint/native-darwin-arm64': 0.6.1 - '@rslint/native-darwin-x64': 0.6.1 - '@rslint/native-linux-arm64-gnu': 0.6.1 - '@rslint/native-linux-arm64-musl': 0.6.1 - '@rslint/native-linux-x64-gnu': 0.6.1 - '@rslint/native-linux-x64-musl': 0.6.1 - '@rslint/native-win32-arm64-msvc': 0.6.1 - '@rslint/native-win32-x64-msvc': 0.6.1 - - '@rslint/native-darwin-arm64@0.6.1': + '@rslint/native-darwin-arm64': 0.7.1 + '@rslint/native-darwin-x64': 0.7.1 + '@rslint/native-linux-arm64-gnu': 0.7.1 + '@rslint/native-linux-arm64-musl': 0.7.1 + '@rslint/native-linux-x64-gnu': 0.7.1 + '@rslint/native-linux-x64-musl': 0.7.1 + '@rslint/native-win32-arm64-msvc': 0.7.1 + '@rslint/native-win32-x64-msvc': 0.7.1 + + '@rslint/native-darwin-arm64@0.7.1': optional: true - '@rslint/native-darwin-x64@0.6.1': + '@rslint/native-darwin-x64@0.7.1': optional: true - '@rslint/native-linux-arm64-gnu@0.6.1': + '@rslint/native-linux-arm64-gnu@0.7.1': optional: true - '@rslint/native-linux-arm64-musl@0.6.1': + '@rslint/native-linux-arm64-musl@0.7.1': optional: true - '@rslint/native-linux-x64-gnu@0.6.1': + '@rslint/native-linux-x64-gnu@0.7.1': optional: true - '@rslint/native-linux-x64-musl@0.6.1': + '@rslint/native-linux-x64-musl@0.7.1': optional: true - '@rslint/native-win32-arm64-msvc@0.6.1': + '@rslint/native-win32-arm64-msvc@0.7.1': optional: true - '@rslint/native-win32-x64-msvc@0.6.1': + '@rslint/native-win32-x64-msvc@0.7.1': optional: true - '@rslint/native@0.6.1': - optionalDependencies: - '@rslint/native-darwin-arm64': 0.6.1 - '@rslint/native-darwin-x64': 0.6.1 - '@rslint/native-linux-arm64-gnu': 0.6.1 - '@rslint/native-linux-arm64-musl': 0.6.1 - '@rslint/native-linux-x64-gnu': 0.6.1 - '@rslint/native-linux-x64-musl': 0.6.1 - '@rslint/native-win32-arm64-msvc': 0.6.1 - '@rslint/native-win32-x64-msvc': 0.6.1 - - '@rspack/binding-darwin-arm64@2.0.8': + '@rspack/binding-darwin-arm64@2.1.5': + optional: true + + '@rspack/binding-darwin-x64@2.1.5': optional: true - '@rspack/binding-darwin-x64@2.0.8': + '@rspack/binding-linux-arm64-gnu@2.1.5': optional: true - '@rspack/binding-linux-arm64-gnu@2.0.8': + '@rspack/binding-linux-arm64-musl@2.1.5': optional: true - '@rspack/binding-linux-arm64-musl@2.0.8': + '@rspack/binding-linux-riscv64-gnu@2.1.5': optional: true - '@rspack/binding-linux-x64-gnu@2.0.8': + '@rspack/binding-linux-riscv64-musl@2.1.5': optional: true - '@rspack/binding-linux-x64-musl@2.0.8': + '@rspack/binding-linux-x64-gnu@2.1.5': optional: true - '@rspack/binding-wasm32-wasi@2.0.8': + '@rspack/binding-linux-x64-musl@2.1.5': + optional: true + + '@rspack/binding-wasm32-wasi@2.1.5': dependencies: - '@emnapi/core': 1.10.0 - '@emnapi/runtime': 1.10.0 - '@napi-rs/wasm-runtime': 1.1.4(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0) + '@emnapi/core': 1.11.2 + '@emnapi/runtime': 1.11.2 + '@napi-rs/wasm-runtime': 1.1.6(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2) optional: true - '@rspack/binding-win32-arm64-msvc@2.0.8': + '@rspack/binding-win32-arm64-msvc@2.1.5': optional: true - '@rspack/binding-win32-ia32-msvc@2.0.8': + '@rspack/binding-win32-ia32-msvc@2.1.5': optional: true - '@rspack/binding-win32-x64-msvc@2.0.8': + '@rspack/binding-win32-x64-msvc@2.1.5': optional: true - '@rspack/binding@2.0.8': + '@rspack/binding@2.1.5': optionalDependencies: - '@rspack/binding-darwin-arm64': 2.0.8 - '@rspack/binding-darwin-x64': 2.0.8 - '@rspack/binding-linux-arm64-gnu': 2.0.8 - '@rspack/binding-linux-arm64-musl': 2.0.8 - '@rspack/binding-linux-x64-gnu': 2.0.8 - '@rspack/binding-linux-x64-musl': 2.0.8 - '@rspack/binding-wasm32-wasi': 2.0.8 - '@rspack/binding-win32-arm64-msvc': 2.0.8 - '@rspack/binding-win32-ia32-msvc': 2.0.8 - '@rspack/binding-win32-x64-msvc': 2.0.8 - - '@rspack/core@2.0.8(@swc/helpers@0.5.23)': - dependencies: - '@rspack/binding': 2.0.8 + '@rspack/binding-darwin-arm64': 2.1.5 + '@rspack/binding-darwin-x64': 2.1.5 + '@rspack/binding-linux-arm64-gnu': 2.1.5 + '@rspack/binding-linux-arm64-musl': 2.1.5 + '@rspack/binding-linux-riscv64-gnu': 2.1.5 + '@rspack/binding-linux-riscv64-musl': 2.1.5 + '@rspack/binding-linux-x64-gnu': 2.1.5 + '@rspack/binding-linux-x64-musl': 2.1.5 + '@rspack/binding-wasm32-wasi': 2.1.5 + '@rspack/binding-win32-arm64-msvc': 2.1.5 + '@rspack/binding-win32-ia32-msvc': 2.1.5 + '@rspack/binding-win32-x64-msvc': 2.1.5 + + '@rspack/core@2.1.5(@swc/helpers@0.5.23)': + dependencies: + '@rspack/binding': 2.1.5 optionalDependencies: '@swc/helpers': 0.5.23 - '@rstest/core@0.10.4': + '@rstest/core@0.11.4': dependencies: - '@rsbuild/core': 2.0.13 + '@rsbuild/core': 2.1.8 '@types/chai': 5.2.3 transitivePeerDependencies: - '@module-federation/runtime-tools' @@ -2422,7 +2422,7 @@ snapshots: dependencies: tslib: 2.8.1 - '@tybys/wasm-util@0.10.1': + '@tybys/wasm-util@0.10.3': dependencies: tslib: 2.8.1 optional: true @@ -2430,7 +2430,7 @@ snapshots: '@types/body-parser@1.19.6': dependencies: '@types/connect': 3.4.38 - '@types/node': 24.12.4 + '@types/node': 24.13.3 '@types/chai@5.2.3': dependencies: @@ -2439,13 +2439,13 @@ snapshots: '@types/connect@3.4.38': dependencies: - '@types/node': 24.12.4 + '@types/node': 24.13.3 '@types/deep-eql@4.0.2': {} '@types/express-serve-static-core@5.1.1': dependencies: - '@types/node': 24.12.4 + '@types/node': 24.13.3 '@types/qs': 6.15.0 '@types/range-parser': 1.2.7 '@types/send': 1.2.1 @@ -2458,17 +2458,13 @@ snapshots: '@types/http-errors@2.0.5': {} - '@types/node@24.12.4': - dependencies: - undici-types: 7.16.0 - - '@types/node@24.13.2': + '@types/node@24.13.3': dependencies: undici-types: 7.18.2 '@types/on-finished@2.3.5': dependencies: - '@types/node': 24.12.4 + '@types/node': 24.13.3 '@types/qs@6.15.0': {} @@ -2476,12 +2472,12 @@ snapshots: '@types/send@1.2.1': dependencies: - '@types/node': 24.12.4 + '@types/node': 24.13.3 '@types/serve-static@2.2.0': dependencies: '@types/http-errors': 2.0.5 - '@types/node': 24.12.4 + '@types/node': 24.13.3 '@typescript/typescript-aix-ppc64@7.0.2': optional: true @@ -2819,7 +2815,7 @@ snapshots: parseurl: 1.3.3 proxy-addr: 2.0.7 qs: 6.15.0 - range-parser: 1.2.1 + range-parser: 1.3.0 router: 2.2.0 send: 1.2.1 serve-static: 2.2.1 @@ -2923,7 +2919,7 @@ snapshots: dependencies: function-bind: 1.1.2 - hono@4.12.25: {} + hono@4.12.32: {} http-assert@1.5.0: dependencies: @@ -3011,16 +3007,16 @@ snapshots: media-typer@1.1.0: {} - memfs@4.57.7(tslib@2.8.1): + memfs@4.64.0(tslib@2.8.1): dependencies: - '@jsonjoy.com/fs-core': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-fsa': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-node': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-node-builtins': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-node-to-fsa': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-node-utils': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-print': 4.57.7(tslib@2.8.1) - '@jsonjoy.com/fs-snapshot': 4.57.7(tslib@2.8.1) + '@jsonjoy.com/fs-core': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-fsa': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-node': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-node-builtins': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-node-to-fsa': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-node-utils': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-print': 4.64.0(tslib@2.8.1) + '@jsonjoy.com/fs-snapshot': 4.64.0(tslib@2.8.1) '@jsonjoy.com/json-pack': 1.21.0(tslib@2.8.1) '@jsonjoy.com/util': 1.9.0(tslib@2.8.1) glob-to-regex.js: 1.2.0(tslib@2.8.1) @@ -3098,7 +3094,7 @@ snapshots: pidtree@1.0.0: {} - prettier@3.8.4: {} + prettier@3.9.6: {} pretty-ms@9.3.0: dependencies: @@ -3113,7 +3109,7 @@ snapshots: dependencies: side-channel: 1.1.0 - range-parser@1.2.1: {} + range-parser@1.3.0: {} raw-body@3.0.2: dependencies: @@ -3139,10 +3135,10 @@ snapshots: transitivePeerDependencies: - supports-color - rsbuild-plugin-dts@0.22.1(@rsbuild/core@2.0.13)(typescript@7.0.2): + rsbuild-plugin-dts@0.23.2(@rsbuild/core@2.1.8)(typescript@7.0.2): dependencies: '@ast-grep/napi': 0.37.0 - '@rsbuild/core': 2.0.13 + '@rsbuild/core': 2.1.8 optionalDependencies: typescript: 7.0.2 @@ -3161,7 +3157,7 @@ snapshots: mime-types: 3.0.2 ms: 2.1.3 on-finished: 2.4.1 - range-parser: 1.2.1 + range-parser: 1.3.0 statuses: 2.0.2 transitivePeerDependencies: - supports-color @@ -3293,8 +3289,6 @@ snapshots: '@typescript/typescript-win32-arm64': 7.0.2 '@typescript/typescript-win32-x64': 7.0.2 - undici-types@7.16.0: {} - undici-types@7.18.2: {} unicorn-magic@0.3.0: {} diff --git a/rslint.config.ts b/rslint.config.ts index b419354..77f6aab 100644 --- a/rslint.config.ts +++ b/rslint.config.ts @@ -1,6 +1,7 @@ -import { defineConfig, ts } from "@rslint/core"; +import { defineConfig, globalIgnores, ts } from "@rslint/core"; export default defineConfig([ + globalIgnores(["test/fixtures/broken.js"]), ts.configs.recommended, { rules: { diff --git a/types/index.d.ts b/types/index.d.ts index da1c87e..e950c06 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -168,8 +168,7 @@ export type Options< * modify response data */ modifyResponseData?: - | ModifyResponseData - | undefined; + ModifyResponseData | undefined; /** * options to generate etag header */ diff --git a/types/middleware.d.ts b/types/middleware.d.ts index b49c150..f296343 100644 --- a/types/middleware.d.ts +++ b/types/middleware.d.ts @@ -22,8 +22,7 @@ export type SendErrorOptions< * modify response data callback */ modifyResponseData?: - | import("./index.js").ModifyResponseData - | undefined; + import("./index.js").ModifyResponseData | undefined; }; /** * @template {IncomingMessage} Request