diff --git a/package.json b/package.json index 4e87099..98532a7 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ "@biomejs/biome": "^1.9.4", "@playwright/test": "^1.48.2", "@rollup/pluginutils": "^5.1.3", - "@rsbuild/core": "^1.1.0", - "@rslib/core": "^0.0.16", + "@rsbuild/core": "^1.1.4", + "@rslib/core": "^0.1.0", "@types/node": "^22.9.0", "playwright": "^1.48.2", "postcss": "^8.4.47", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 13aa72a..1cd1c88 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,11 +18,11 @@ importers: specifier: ^5.1.3 version: 5.1.3 '@rsbuild/core': - specifier: ^1.1.0 - version: 1.1.0 + specifier: ^1.1.4 + version: 1.1.4 '@rslib/core': - specifier: ^0.0.16 - version: 0.0.16(typescript@5.6.3) + specifier: ^0.1.0 + version: 0.1.0(typescript@5.6.3) '@types/node': specifier: ^22.9.0 version: 22.9.0 @@ -167,18 +167,13 @@ packages: rollup: optional: true - '@rsbuild/core@1.0.19': - resolution: {integrity: sha512-63DAPvYfRBoUrb51BUPb4Xoqx48MHQ0yLcmnCiqZGpMeKYtTWzD+lyx5va4cr9qvdnIFTAX2BMuYC/j5iSrtTA==} + '@rsbuild/core@1.1.4': + resolution: {integrity: sha512-fN13hH6Ag0WgCCDUJErNvGs39hSePr8MTaJu1TjUZbFAY3DtOsUHhEb2V5zCUiaeMLMz7ef+krj7+duAJkizog==} engines: {node: '>=16.7.0'} hasBin: true - '@rsbuild/core@1.1.0': - resolution: {integrity: sha512-SyQlJjWgR1VwLt4nuiY0g6L9INv2koH232TeDZuopvNgbRytskD3kJ8bbGWBBXsQjZjtqBEh5ishqf8CIfF8dQ==} - engines: {node: '>=16.7.0'} - hasBin: true - - '@rslib/core@0.0.16': - resolution: {integrity: sha512-g6IFUZW0K7DDKK/27kF7DOKhP5JIqZoIVAU0c9DZffRE3Pw9sWTyEyVN/kaEnp5k3gaeQTBpcV9nSW+41B2slQ==} + '@rslib/core@0.1.0': + resolution: {integrity: sha512-CGtHgTgj8BSWdQB7yCpGjr5dd37Y7jj/IH6rAtrYbTJR0/o7dm4QqygdwjR8MHBlD9fYTGu7uWbKRdh6qYXPTw==} engines: {node: '>=16.0.0'} hasBin: true peerDependencies: @@ -190,113 +185,56 @@ packages: typescript: optional: true - '@rspack/binding-darwin-arm64@1.0.14': - resolution: {integrity: sha512-dHvlF6T6ctThGDIdvkSdacroA1xlCxfteuppBj8BX/UxzLPr4xsaEtNilfJmFfd2/J02UQyTQauN/9EBuA+YkA==} + '@rspack/binding-darwin-arm64@1.1.3': + resolution: {integrity: sha512-gpLUBMDAS/uEcnE+ODy1ILTeyp1oM4QCq8rRhKHuOfsIe1AZ9Mct59v2omIE/r+R4dnbJ0ikIpto9qJZ6P2u1A==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-arm64@1.1.0': - resolution: {integrity: sha512-02YmzmtKMNHCSMzVT5sgbJuPDn+HunkrtWq0D95Fh9sGKYap9cs0JOpzTfyAL3KXJ9JzVfOAZA3VgVQOBaQNWQ==} - cpu: [arm64] - os: [darwin] - - '@rspack/binding-darwin-x64@1.0.14': - resolution: {integrity: sha512-q4Da1Bn/4xTLhhnOkT+fjP2STsSCfp4z03/J/h8tCVG/UYz56Ud3q1UEOK33c5Fxw1C4GlhEh5yYOlSAdxFQLQ==} - cpu: [x64] - os: [darwin] - - '@rspack/binding-darwin-x64@1.1.0': - resolution: {integrity: sha512-HtBh8p6hml7BWNtZaqWFtGbOFP/tvFDn1uPWmA3R32WTILUXNRWXIsLDY95U3Z2U1Gt3SL58SOpJjXlFIb6wZg==} + '@rspack/binding-darwin-x64@1.1.3': + resolution: {integrity: sha512-m1G7SzkRfr1oLgghbAxUwj1J7hSKhtskQZiVeqe5tewKimFr6xLpKSTLTnEtlW0gdGNf1+dRMX/4kLMwhOdY7g==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.0.14': - resolution: {integrity: sha512-JogYtL3VQS9wJ3p3FNhDqinm7avrMsdwz4erP7YCjD7idob93GYAE7dPrHUzSNVnCBYXRaHJYZHDQs7lKVcYZw==} + '@rspack/binding-linux-arm64-gnu@1.1.3': + resolution: {integrity: sha512-MpOrO1oppxAm8J1ztNz6G5DG/oL9ZLHmIz9vYNV6PKnk+MPhCXqfhFmQ2hZm5VIVKuOobfYEJiDUqKg2MLg8gA==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-gnu@1.1.0': - resolution: {integrity: sha512-Q/i50Pieii3akdv5Q6my6QelV5Dpc8O/Ir4udpjYl0pbSdKamdI8M85fxrMxGAGcoNSD+X52fDvxJujXWMcP0w==} + '@rspack/binding-linux-arm64-musl@1.1.3': + resolution: {integrity: sha512-PnUDC1JxT6a5hJW0hhJ9ubWk3R+nk7eLXyNaORHyQH4k8o89Zm5GYoKnDgO4eRy41NB9/aBJQJRGSRn0iAsZgw==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl@1.0.14': - resolution: {integrity: sha512-qgybhxI/nnoa8CUz7zKTC0Oh37NZt9uRxsSV7+ZYrfxqbrVCoNVuutPpY724uUHy1M6W34kVEm1uT1N4Ka5cZg==} - cpu: [arm64] - os: [linux] - - '@rspack/binding-linux-arm64-musl@1.1.0': - resolution: {integrity: sha512-H7Eu3xC7LWPpxrI47n8X361eEGGpQOjZIWTz8tLdn4oNS2D9kqsBYES7LsuuLTTH4ueHTDuEtDdfZpBsE+qesw==} - cpu: [arm64] - os: [linux] - - '@rspack/binding-linux-x64-gnu@1.0.14': - resolution: {integrity: sha512-5vzaDRw3/sGKo3ax/1cU3/cxqNjajwlt2LU288vXNe1/n8oe/pcDfYcTugpOe/A1DqzadanudJszLpFcKsaFtQ==} - cpu: [x64] - os: [linux] - - '@rspack/binding-linux-x64-gnu@1.1.0': - resolution: {integrity: sha512-dIZSutPo2z/OaO2f6SVlcYA6lGBH+4TrRtWmMyPshpTNPrkCGGfDhC43fZ4jCiUj2PO/Hcn8jyKhci4leBsVBA==} + '@rspack/binding-linux-x64-gnu@1.1.3': + resolution: {integrity: sha512-+6JgyKXOp2QrHzlru95mge70tDkYlaY4NNE9xyrdj6PgTnM9cVPx4sLVhHC9+tWXaTFnccfEe9Tt6LjKnjHGaA==} cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.0.14': - resolution: {integrity: sha512-4U6QD9xVS1eGme52DuJr6Fg/KdcUfJ+iKwH49Up460dZ/fLvGylnVGA+V0mzPlKi8gfy7NwFuYXZdu3Pwi1YYg==} + '@rspack/binding-linux-x64-musl@1.1.3': + resolution: {integrity: sha512-X0TJTVL1Roqq/tvN26QO4u62x2xp5tE0dlhwhbeCHrBdgBzc+PHvcv/8lclRcq6lDPzceAgcnNX/+RbWg0DzKg==} cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.1.0': - resolution: {integrity: sha512-f6L2JWgbG9PKWnVw2YNZdntjzia1V2w2Xq458HkCQUDwhnEipWXaZ2zhfD9jcb4UYoMP8/2uD3B96sSFFNTdrQ==} - cpu: [x64] - os: [linux] - - '@rspack/binding-win32-arm64-msvc@1.0.14': - resolution: {integrity: sha512-SjeYw7qqRHYZ5RPClu+ffKZsShQdU3amA1OwC3M0AS6dbfEcji8482St3Y8Z+QSzYRapCEZij9LMM/9ypEhISg==} + '@rspack/binding-win32-arm64-msvc@1.1.3': + resolution: {integrity: sha512-Lvpp5Q30YiPNkuOFPawp2al2CTWElPeG3X0E9LFIfPdVkLc/e2nkf5a6zSYtnbD2oaskzQIYN/k27fWqWWcVHA==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-arm64-msvc@1.1.0': - resolution: {integrity: sha512-opo6XR4iXh/QkHiauVQBlU2xR2JyjDmSwgkION27oszu81nr+IajTSXQX96x5I6Bq48GQLU4rItHse/doctQDA==} - cpu: [arm64] - os: [win32] - - '@rspack/binding-win32-ia32-msvc@1.0.14': - resolution: {integrity: sha512-m1gUiVyz3Z3VYIK/Ayo5CVHBjnEeRk9a+KIpKSsq1yhZItnMgjtr4bKabU9vjxalO4UoaSmVzODJI8lJBlnn5Q==} - cpu: [ia32] - os: [win32] - - '@rspack/binding-win32-ia32-msvc@1.1.0': - resolution: {integrity: sha512-FBcG+OPJokSE3nPi1+ZamLK2V4IWdNC+GMr0z7LUrBiKc5lO70y5VkldfyPV1Z+doSuroVINlhK+lRHdQgGwYg==} + '@rspack/binding-win32-ia32-msvc@1.1.3': + resolution: {integrity: sha512-tC+xXcbTRX7l+NFnlGK8UhDIJrKma7S/MA1KDol23/I3Vw67EcaHDwG+q2v7uiJsxn9XooIOSCJhPKmUUfZNXg==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.0.14': - resolution: {integrity: sha512-Gbeg+bayMF9VP9xmlxySL/TC2XrS6/LZM/pqcNOTLHx6LMG/VXCcmKB0rOZo8MzLXEt8D/lQmQ/B6g7pSaAw0g==} + '@rspack/binding-win32-x64-msvc@1.1.3': + resolution: {integrity: sha512-jeRaPJtsD/+m1QINgoDMA6D3kOcTwSHVmGSxR6fznLA5BKa76m8lewuALYxHHq9/qcgwJ4e6UtiwrO2JL3vxVQ==} cpu: [x64] os: [win32] - '@rspack/binding-win32-x64-msvc@1.1.0': - resolution: {integrity: sha512-H/6Glp1nZvxWAD5+2hRrp1kBs9f+pLb/un2TdFSUNd2tyXq5GyHCe70+N9psbe/jjGxD8e1vPNQtN/VvkuR0Zg==} - cpu: [x64] - os: [win32] - - '@rspack/binding@1.0.14': - resolution: {integrity: sha512-0wWqFvr9hkF4LgNPgWfkTU0hhkZAMvOytoCs2p+wDX1Up1E/SgJ1U1JAsCxsl1XtUKm7mRvdWHzJmHbza3y89Q==} - - '@rspack/binding@1.1.0': - resolution: {integrity: sha512-zLduWacrw/bBYiFvhjN70f+AJxXnTzevywXp54vso8d0Nz7z4KIycdz/Ua5AGRUkG2ZuQw6waypN5pXf48EBcA==} - - '@rspack/core@1.0.14': - resolution: {integrity: sha512-xHl23lxJZNjItGc5YuE9alz3yjb56y7EgJmAcBMPHMqgjtUt8rBu4xd/cSUjbr9/lLF9N4hdyoJiPJOFs9LEjw==} - engines: {node: '>=16.0.0'} - peerDependencies: - '@swc/helpers': '>=0.5.1' - peerDependenciesMeta: - '@swc/helpers': - optional: true + '@rspack/binding@1.1.3': + resolution: {integrity: sha512-fB1ziJ1UXO2P4ZDO+dviSNuxknUqrz6QQ6QGfpC+S1ClUy1HOhHXss/Yn78B/R9py6dlqZzmhmhz2d+XzFVApA==} - '@rspack/core@1.1.0': - resolution: {integrity: sha512-+IYWSe9D3wB97VVBfaojuWLv3wGIBe9pfJkxNObkorN60Nj3UHYzBLuACrHn4hW2mZjAWrv06ReHXJUEGzQqaQ==} + '@rspack/core@1.1.3': + resolution: {integrity: sha512-LdM1mAlBtEh9ozbpyWVW5uuL+aJMjYqd531pH5/i/EPDKNrOLrQWVNMa2dh07qLwJZXoTFMf7LWA7QNsmBUPJg==} engines: {node: '>=16.0.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -308,8 +246,8 @@ packages: resolution: {integrity: sha512-VynGOEsVw2s8TAlLf/uESfrgfrq2+rcXB1muPJYBWbsm1Oa6r5qVQhjA5ggM6z/coYPrsVMgovl3Ff7Q7OCp1w==} engines: {node: '>=16.0.0'} - '@swc/helpers@0.5.13': - resolution: {integrity: sha512-UoKGxQ3r5kYI9dALKJapMmuK+1zWM/H17Z1+iwnNmzcJRnfFuevZs375TA5rW31pu4BS4NoSy1fRsexDXfWn5w==} + '@swc/helpers@0.5.15': + resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==} '@types/estree@1.0.6': resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} @@ -379,9 +317,6 @@ packages: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} engines: {node: '>= 6'} - core-js@3.38.1: - resolution: {integrity: sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==} - core-js@3.39.0: resolution: {integrity: sha512-raM0ew0/jJUqkJ0E6e8UDtl+y/7ktFivgWvqw8dNSQeNWoSDLvQ1H/RN3aPXB9tBd4/FhyR4RDPGhsNIMsAn7g==} @@ -653,8 +588,8 @@ packages: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - rsbuild-plugin-dts@0.0.16: - resolution: {integrity: sha512-Yfc7h1cTTp55baLgS6DVa3mlLaFlNfoUVmcX7hCH1BT1fNbMabnngvXDtfqJpP62QyXcfrXNmcW0fznTYKgKmA==} + rsbuild-plugin-dts@0.1.0: + resolution: {integrity: sha512-8HE2aGkseyrkNSPmJLVEgqIvaTDWGJYE5l6Hfrf94mFzAFcbtHOrYTr4aR/zw90x+BY3sMfE3bMBj/wR9AnxiA==} engines: {node: '>=16.0.0'} peerDependencies: '@microsoft/api-extractor': ^7 @@ -875,131 +810,72 @@ snapshots: estree-walker: 2.0.2 picomatch: 4.0.2 - '@rsbuild/core@1.0.19': + '@rsbuild/core@1.1.4': dependencies: - '@rspack/core': 1.0.14(@swc/helpers@0.5.13) + '@rspack/core': 1.1.3(@swc/helpers@0.5.15) '@rspack/lite-tapable': 1.0.1 - '@swc/helpers': 0.5.13 - core-js: 3.38.1 - optionalDependencies: - fsevents: 2.3.3 - - '@rsbuild/core@1.1.0': - dependencies: - '@rspack/core': 1.1.0(@swc/helpers@0.5.13) - '@rspack/lite-tapable': 1.0.1 - '@swc/helpers': 0.5.13 + '@swc/helpers': 0.5.15 core-js: 3.39.0 - optionalDependencies: - fsevents: 2.3.3 - '@rslib/core@0.0.16(typescript@5.6.3)': + '@rslib/core@0.1.0(typescript@5.6.3)': dependencies: - '@rsbuild/core': 1.0.19 - rsbuild-plugin-dts: 0.0.16(@rsbuild/core@1.0.19)(typescript@5.6.3) + '@rsbuild/core': 1.1.4 + rsbuild-plugin-dts: 0.1.0(@rsbuild/core@1.1.4)(typescript@5.6.3) tinyglobby: 0.2.10 optionalDependencies: typescript: 5.6.3 - '@rspack/binding-darwin-arm64@1.0.14': - optional: true - - '@rspack/binding-darwin-arm64@1.1.0': - optional: true - - '@rspack/binding-darwin-x64@1.0.14': - optional: true - - '@rspack/binding-darwin-x64@1.1.0': - optional: true - - '@rspack/binding-linux-arm64-gnu@1.0.14': + '@rspack/binding-darwin-arm64@1.1.3': optional: true - '@rspack/binding-linux-arm64-gnu@1.1.0': + '@rspack/binding-darwin-x64@1.1.3': optional: true - '@rspack/binding-linux-arm64-musl@1.0.14': + '@rspack/binding-linux-arm64-gnu@1.1.3': optional: true - '@rspack/binding-linux-arm64-musl@1.1.0': + '@rspack/binding-linux-arm64-musl@1.1.3': optional: true - '@rspack/binding-linux-x64-gnu@1.0.14': + '@rspack/binding-linux-x64-gnu@1.1.3': optional: true - '@rspack/binding-linux-x64-gnu@1.1.0': + '@rspack/binding-linux-x64-musl@1.1.3': optional: true - '@rspack/binding-linux-x64-musl@1.0.14': + '@rspack/binding-win32-arm64-msvc@1.1.3': optional: true - '@rspack/binding-linux-x64-musl@1.1.0': + '@rspack/binding-win32-ia32-msvc@1.1.3': optional: true - '@rspack/binding-win32-arm64-msvc@1.0.14': + '@rspack/binding-win32-x64-msvc@1.1.3': optional: true - '@rspack/binding-win32-arm64-msvc@1.1.0': - optional: true - - '@rspack/binding-win32-ia32-msvc@1.0.14': - optional: true - - '@rspack/binding-win32-ia32-msvc@1.1.0': - optional: true - - '@rspack/binding-win32-x64-msvc@1.0.14': - optional: true - - '@rspack/binding-win32-x64-msvc@1.1.0': - optional: true - - '@rspack/binding@1.0.14': - optionalDependencies: - '@rspack/binding-darwin-arm64': 1.0.14 - '@rspack/binding-darwin-x64': 1.0.14 - '@rspack/binding-linux-arm64-gnu': 1.0.14 - '@rspack/binding-linux-arm64-musl': 1.0.14 - '@rspack/binding-linux-x64-gnu': 1.0.14 - '@rspack/binding-linux-x64-musl': 1.0.14 - '@rspack/binding-win32-arm64-msvc': 1.0.14 - '@rspack/binding-win32-ia32-msvc': 1.0.14 - '@rspack/binding-win32-x64-msvc': 1.0.14 - - '@rspack/binding@1.1.0': + '@rspack/binding@1.1.3': optionalDependencies: - '@rspack/binding-darwin-arm64': 1.1.0 - '@rspack/binding-darwin-x64': 1.1.0 - '@rspack/binding-linux-arm64-gnu': 1.1.0 - '@rspack/binding-linux-arm64-musl': 1.1.0 - '@rspack/binding-linux-x64-gnu': 1.1.0 - '@rspack/binding-linux-x64-musl': 1.1.0 - '@rspack/binding-win32-arm64-msvc': 1.1.0 - '@rspack/binding-win32-ia32-msvc': 1.1.0 - '@rspack/binding-win32-x64-msvc': 1.1.0 - - '@rspack/core@1.0.14(@swc/helpers@0.5.13)': + '@rspack/binding-darwin-arm64': 1.1.3 + '@rspack/binding-darwin-x64': 1.1.3 + '@rspack/binding-linux-arm64-gnu': 1.1.3 + '@rspack/binding-linux-arm64-musl': 1.1.3 + '@rspack/binding-linux-x64-gnu': 1.1.3 + '@rspack/binding-linux-x64-musl': 1.1.3 + '@rspack/binding-win32-arm64-msvc': 1.1.3 + '@rspack/binding-win32-ia32-msvc': 1.1.3 + '@rspack/binding-win32-x64-msvc': 1.1.3 + + '@rspack/core@1.1.3(@swc/helpers@0.5.15)': dependencies: '@module-federation/runtime-tools': 0.5.1 - '@rspack/binding': 1.0.14 + '@rspack/binding': 1.1.3 '@rspack/lite-tapable': 1.0.1 caniuse-lite: 1.0.30001679 optionalDependencies: - '@swc/helpers': 0.5.13 - - '@rspack/core@1.1.0(@swc/helpers@0.5.13)': - dependencies: - '@module-federation/runtime-tools': 0.5.1 - '@rspack/binding': 1.1.0 - '@rspack/lite-tapable': 1.0.1 - caniuse-lite: 1.0.30001679 - optionalDependencies: - '@swc/helpers': 0.5.13 + '@swc/helpers': 0.5.15 '@rspack/lite-tapable@1.0.1': {} - '@swc/helpers@0.5.13': + '@swc/helpers@0.5.15': dependencies: tslib: 2.8.1 @@ -1064,8 +940,6 @@ snapshots: commander@4.1.1: {} - core-js@3.38.1: {} - core-js@3.39.0: {} cross-spawn@7.0.5: @@ -1293,9 +1167,9 @@ snapshots: reusify@1.0.4: {} - rsbuild-plugin-dts@0.0.16(@rsbuild/core@1.0.19)(typescript@5.6.3): + rsbuild-plugin-dts@0.1.0(@rsbuild/core@1.1.4)(typescript@5.6.3): dependencies: - '@rsbuild/core': 1.0.19 + '@rsbuild/core': 1.1.4 magic-string: 0.30.12 picocolors: 1.1.1 tinyglobby: 0.2.10 diff --git a/rslib.config.ts b/rslib.config.ts index c451f7e..3542eef 100644 --- a/rslib.config.ts +++ b/rslib.config.ts @@ -5,7 +5,4 @@ export default defineConfig({ { format: 'esm', syntax: 'es2021', dts: true }, { format: 'cjs', syntax: 'es2021' }, ], - output: { - target: 'node', - }, });