diff --git a/.changeset/babel-eight.md b/.changeset/babel-eight.md new file mode 100644 index 00000000..8a8ca63c --- /dev/null +++ b/.changeset/babel-eight.md @@ -0,0 +1,7 @@ +--- +"@tailwindcss-mangle/core": patch +"tailwindcss-patch": patch +"unplugin-tailwindcss-mangle": patch +--- + +Migrate direct Babel dependencies from 7 to 8 and align Node.js engine requirements. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86b2d970..f3a2285b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: ['22.13', '24'] + node-version: ['22.18', '24.11'] runs-on: ${{ matrix.os }} # Remote Caching enabled - configure TURBO_TOKEN and TURBO_TEAM in repository settings env: @@ -84,7 +84,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 22.18 cache: pnpm cache-dependency-path: pnpm-lock.yaml @@ -117,7 +117,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 22.18 cache: pnpm cache-dependency-path: pnpm-lock.yaml @@ -157,7 +157,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 22.18 cache: pnpm cache-dependency-path: pnpm-lock.yaml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dbbc577e..0b7cd234 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v6 with: - node-version: 24 + node-version: 24.11 cache: pnpm - name: Install Dependencies diff --git a/AGENTS.md b/AGENTS.md index 19a08ef8..e0304345 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,7 +1,7 @@ # Repository Guidelines ## Environment Setup -Use Node.js 22.13 or newer and install dependencies with `pnpm` (enforced by `preinstall`). Run `pnpm install` from the repo root to link workspace packages and set up local post-install patches via `tw-patch`. +Use Node.js 22.18.x or 24.11 or newer and install dependencies with `pnpm` (enforced by `preinstall`). Run `pnpm install` from the repo root to link workspace packages and set up local post-install patches via `tw-patch`. ## Project Structure & Module Organization Source lives in `packages/`, with `@tailwindcss-mangle/core` providing the transformation engine, `shared` for cross-package utils, `config` for preset defaults, `tailwindcss-patch` to shim Tailwind versions, and `unplugin-tailwindcss-mangle` for build-tool integrations. Example applications live under `apps/` for framework-specific smoke tests, while `website/` hosts the Astro-powered docs. Reusable scripts live in `scripts/`, and assets used by docs and samples are under `assets/`. diff --git a/package.json b/package.json index 4ed5f85e..099067b6 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "private": true, "packageManager": "pnpm@11.6.0", "engines": { - "node": ">=22.13.0" + "node": "^22.18.0 || >=24.11.0" }, "scripts": { "build": "turbo run build --filter=./packages/*", @@ -61,9 +61,6 @@ "@tailwindcss-mangle/shared": "workspace:*", "@tailwindcss/postcss": "^4.3.1", "@tsconfig/recommended": "^1.0.13", - "@types/babel__generator": "^7.27.0", - "@types/babel__helper-plugin-utils": "^7.10.3", - "@types/babel__traverse": "^7.28.0", "@types/fs-extra": "^11.0.4", "@types/get-value": "^3.0.5", "@types/html-minifier-terser": "^7.0.2", diff --git a/packages/core/package.json b/packages/core/package.json index ab0ee089..19ce8ecf 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -5,6 +5,9 @@ "description": "The core of tailwindcss-mangle", "author": "ice breaker <1324318532@qq.com>", "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, "homepage": "https://mangle.icebreaker.top/", "repository": { "type": "git", @@ -64,9 +67,9 @@ }, "dependencies": { "@ast-core/escape": "^1.0.1", - "@babel/parser": "^7.29.7", - "@babel/traverse": "^7.29.7", - "@babel/types": "^7.29.7", + "@babel/parser": "^8.0.0", + "@babel/traverse": "^8.0.0", + "@babel/types": "^8.0.0", "@tailwindcss-mangle/config": "workspace:^", "@tailwindcss-mangle/shared": "workspace:^", "@vue/compiler-sfc": "^3.5.38", diff --git a/packages/tailwindcss-patch/examples/github-actions/actions/validate-migration-report/action.yml b/packages/tailwindcss-patch/examples/github-actions/actions/validate-migration-report/action.yml index 333e56b0..23a590e0 100644 --- a/packages/tailwindcss-patch/examples/github-actions/actions/validate-migration-report/action.yml +++ b/packages/tailwindcss-patch/examples/github-actions/actions/validate-migration-report/action.yml @@ -13,7 +13,7 @@ inputs: node-version: description: Node.js version used when setup-node is enabled. required: false - default: '22.13' + default: '22.18' cache-dependency-path: description: Cache dependency path for actions/setup-node. required: false diff --git a/packages/tailwindcss-patch/examples/github-actions/validate-migration-report-affected.yml b/packages/tailwindcss-patch/examples/github-actions/validate-migration-report-affected.yml index d8a818af..052dcd92 100644 --- a/packages/tailwindcss-patch/examples/github-actions/validate-migration-report-affected.yml +++ b/packages/tailwindcss-patch/examples/github-actions/validate-migration-report-affected.yml @@ -53,7 +53,7 @@ jobs: setup-pnpm: 'true' setup-node: 'true' install-deps: 'true' - node-version: '22.13' + node-version: '22.18' cache-dependency-path: pnpm-lock.yaml install-command: pnpm install --frozen-lockfile scope: ${{ matrix.shard.name }} diff --git a/packages/tailwindcss-patch/examples/github-actions/validate-migration-report-matrix.yml b/packages/tailwindcss-patch/examples/github-actions/validate-migration-report-matrix.yml index cc642c27..c7722f80 100644 --- a/packages/tailwindcss-patch/examples/github-actions/validate-migration-report-matrix.yml +++ b/packages/tailwindcss-patch/examples/github-actions/validate-migration-report-matrix.yml @@ -32,7 +32,7 @@ jobs: setup-pnpm: 'true' setup-node: 'true' install-deps: 'true' - node-version: '22.13' + node-version: '22.18' cache-dependency-path: pnpm-lock.yaml install-command: pnpm install --frozen-lockfile scope: ${{ matrix.shard.name }} diff --git a/packages/tailwindcss-patch/examples/github-actions/validate-migration-report.yml b/packages/tailwindcss-patch/examples/github-actions/validate-migration-report.yml index b31ad9f1..15d05798 100644 --- a/packages/tailwindcss-patch/examples/github-actions/validate-migration-report.yml +++ b/packages/tailwindcss-patch/examples/github-actions/validate-migration-report.yml @@ -22,7 +22,7 @@ jobs: setup-pnpm: 'true' setup-node: 'true' install-deps: 'true' - node-version: '22.13' + node-version: '22.18' cache-dependency-path: pnpm-lock.yaml install-command: pnpm install --frozen-lockfile scope: all diff --git a/packages/tailwindcss-patch/package.json b/packages/tailwindcss-patch/package.json index c3a6a016..c12c3c3a 100644 --- a/packages/tailwindcss-patch/package.json +++ b/packages/tailwindcss-patch/package.json @@ -5,7 +5,7 @@ "author": "ice breaker <1324318532@qq.com>", "license": "MIT", "engines": { - "node": ">=18.0.0" + "node": "^22.18.0 || >=24.11.0" }, "homepage": "https://mangle.icebreaker.top/", "repository": { @@ -89,10 +89,10 @@ } }, "dependencies": { - "@babel/generator": "^7.29.7", - "@babel/parser": "^7.29.7", - "@babel/traverse": "^7.29.7", - "@babel/types": "^7.29.7", + "@babel/generator": "^8.0.0", + "@babel/parser": "^8.0.0", + "@babel/traverse": "^8.0.0", + "@babel/types": "^8.0.0", "@tailwindcss-mangle/config": "workspace:*", "@tailwindcss/node": "^4.3.1", "@tailwindcss/oxide": "^4.3.1", diff --git a/packages/tailwindcss-patch/src/patching/operations/export-context/postcss-v2.ts b/packages/tailwindcss-patch/src/patching/operations/export-context/postcss-v2.ts index 65116791..36fa2d3a 100644 --- a/packages/tailwindcss-patch/src/patching/operations/export-context/postcss-v2.ts +++ b/packages/tailwindcss-patch/src/patching/operations/export-context/postcss-v2.ts @@ -121,7 +121,7 @@ export function transformPostcssPluginV2(content: string, options: ExposeContext t.variableDeclarator( refIdentifier, t.objectExpression([ - t.objectProperty(t.identifier('value'), t.arrayExpression()), + t.objectProperty(t.identifier('value'), t.arrayExpression([])), ]), ), ]), diff --git a/packages/tailwindcss-patch/src/patching/operations/export-context/postcss-v3.ts b/packages/tailwindcss-patch/src/patching/operations/export-context/postcss-v3.ts index 75c84645..8ca5ac66 100644 --- a/packages/tailwindcss-patch/src/patching/operations/export-context/postcss-v3.ts +++ b/packages/tailwindcss-patch/src/patching/operations/export-context/postcss-v3.ts @@ -130,7 +130,7 @@ export function transformPostcssPlugin(content: string, { refProperty }: ExposeC t.variableDeclarator( refIdentifier, t.objectExpression([ - t.objectProperty(t.identifier('value'), t.arrayExpression()), + t.objectProperty(t.identifier('value'), t.arrayExpression([])), ]), ), ]), diff --git a/packages/unplugin-tailwindcss-mangle/package.json b/packages/unplugin-tailwindcss-mangle/package.json index e8962c6d..9409ff54 100644 --- a/packages/unplugin-tailwindcss-mangle/package.json +++ b/packages/unplugin-tailwindcss-mangle/package.json @@ -5,6 +5,9 @@ "description": "mangle tailwindcss utilities class plugin. support vite and webpack!", "author": "ice breaker <1324318532@qq.com>", "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, "homepage": "https://mangle.icebreaker.top/", "repository": { "type": "git", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8e854da1..a472ca6c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,9 +6,6 @@ settings: catalogs: tailwindcss2: - tailwindcss: - specifier: npm:@tailwindcss/postcss7-compat@^2.2.17 - version: 2.2.17 tailwindcss2: specifier: npm:@tailwindcss/postcss7-compat@^2.2.17 version: 2.2.17 @@ -16,16 +13,6 @@ catalogs: tailwindcss: specifier: ^3.4.19 version: 3.4.19 - tailwindcss-3: - specifier: npm:tailwindcss@^3.4.19 - version: 3.4.19 - tailwindcss4: - tailwindcss: - specifier: ^4.3.1 - version: 4.3.1 - tailwindcss-4: - specifier: npm:tailwindcss@^4.3.1 - version: 4.3.1 importers: @@ -82,15 +69,6 @@ importers: '@tsconfig/recommended': specifier: ^1.0.13 version: 1.0.13 - '@types/babel__generator': - specifier: ^7.27.0 - version: 7.27.0 - '@types/babel__helper-plugin-utils': - specifier: ^7.10.3 - version: 7.10.3 - '@types/babel__traverse': - specifier: ^7.28.0 - version: 7.28.0 '@types/fs-extra': specifier: ^11.0.4 version: 11.0.4 @@ -603,7 +581,7 @@ importers: devDependencies: '@sveltejs/vite-plugin-svelte': specifier: ^7.1.2 - version: 7.1.2(svelte@5.56.3(@typescript-eslint/types@8.61.0))(vite@8.0.16(@types/node@25.9.3)(esbuild@0.28.0)(jiti@2.7.0)(sass@1.101.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0)) + version: 7.1.2(svelte@5.56.3(@typescript-eslint/types@8.61.1))(vite@8.0.16(@types/node@25.9.3)(esbuild@0.28.0)(jiti@2.7.0)(sass@1.101.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0)) '@tsconfig/svelte': specifier: ^5.0.8 version: 5.0.8 @@ -615,10 +593,10 @@ importers: version: 8.5.15 svelte: specifier: ^5.56.3 - version: 5.56.3(@typescript-eslint/types@8.61.0) + version: 5.56.3(@typescript-eslint/types@8.61.1) svelte-check: specifier: ^4.6.0 - version: 4.6.0(picomatch@4.0.4)(svelte@5.56.3(@typescript-eslint/types@8.61.0))(typescript@6.0.3) + version: 4.6.0(picomatch@4.0.4)(svelte@5.56.3(@typescript-eslint/types@8.61.1))(typescript@6.0.3) tailwindcss: specifier: ^4.3.1 version: 4.3.1 @@ -802,14 +780,14 @@ importers: specifier: ^1.0.1 version: 1.0.1 '@babel/parser': - specifier: ^7.29.7 - version: 7.29.7 + specifier: ^8.0.0 + version: 8.0.0 '@babel/traverse': - specifier: ^7.29.7 - version: 7.29.7 + specifier: ^8.0.0 + version: 8.0.0 '@babel/types': - specifier: ^7.29.7 - version: 7.29.7 + specifier: ^8.0.0 + version: 8.0.0 '@tailwindcss-mangle/config': specifier: workspace:^ version: link:../config @@ -856,17 +834,17 @@ importers: packages/tailwindcss-patch: dependencies: '@babel/generator': - specifier: ^7.29.7 - version: 7.29.7 + specifier: ^8.0.0 + version: 8.0.0 '@babel/parser': - specifier: ^7.29.7 - version: 7.29.7 + specifier: ^8.0.0 + version: 8.0.0 '@babel/traverse': - specifier: ^7.29.7 - version: 7.29.7 + specifier: ^8.0.0 + version: 8.0.0 '@babel/types': - specifier: ^7.29.7 - version: 7.29.7 + specifier: ^8.0.0 + version: 8.0.0 '@tailwindcss-mangle/config': specifier: workspace:* version: link:../config @@ -1101,14 +1079,14 @@ packages: resolution: {integrity: sha512-j8DNruA8ors99Al39RYZPJK4DC1bKkoNm93mAMuBhY9TCNC4R8n1q7ovFnJ5qhGh5Lsh7pa1gpQVpYpsJPeTHQ==} engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0} - '@babel/code-frame@7.29.0': - resolution: {integrity: sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==} - engines: {node: '>=6.9.0'} - '@babel/code-frame@7.29.7': resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==} engines: {node: '>=6.9.0'} + '@babel/code-frame@8.0.0': + resolution: {integrity: sha512-dYYg153EyN2Ekbqw2zAsbd6/JR+9N2SEoC7YV2GyyqMM7x9bLDTjBD6XBhSMLH0wtIVyJj03jWNriQhaN+eoCw==} + engines: {node: ^22.18.0 || >=24.11.0} + '@babel/compat-data@7.26.5': resolution: {integrity: sha512-XvcZi1KWf88RVbF9wn8MN6tYFloU5qX8KjuF3E1PVBmJ9eypXfs4GRiJwLuTZL0iSnJUKn1BFPa5BPZZJyFzPg==} engines: {node: '>=6.9.0'} @@ -1148,10 +1126,6 @@ packages: resolution: {integrity: sha512-NT9NrVwJsbSV6Y2FSstWa71EETOnzrjkL5/wX3D2mYHtKM+qvqB1DvR4D0Setb/gDBsHzRICifwEWMO8CnTF6g==} engines: {node: ^22.18.0 || >=24.11.0} - '@babel/generator@8.0.0-rc.6': - resolution: {integrity: sha512-6mIzgVK8DgEzvIapoQwhXTMnnkuE4STQmVv9H03i/tZ2ml8oev3TRvZJgTenK2Bsq0YWNtzOrFdTyNzCMFtjJQ==} - engines: {node: ^22.18.0 || >=24.11.0} - '@babel/helper-annotate-as-pure@7.25.9': resolution: {integrity: sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==} engines: {node: '>=6.9.0'} @@ -1214,6 +1188,10 @@ packages: resolution: {integrity: sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==} engines: {node: '>=6.9.0'} + '@babel/helper-globals@8.0.0': + resolution: {integrity: sha512-lLozHOM6sWWlxNo8CYqHy4MBZeTvHXNgVPBfPOGsjPKUzHC2Az9QwB6gxdQmpwHl6GlQtbGgS+lj5887guDiLw==} + engines: {node: ^22.18.0 || >=24.11.0} + '@babel/helper-member-expression-to-functions@7.25.9': resolution: {integrity: sha512-wbfdZ9w5vk0C0oyHqAJbc62+vet5prjj01jjJ8sKn3j9h3MQQlflEdXYvuqRWjHnM12coDEqiC1IRCi0U/EKwQ==} engines: {node: '>=6.9.0'} @@ -1320,10 +1298,6 @@ packages: resolution: {integrity: sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ==} engines: {node: '>=6.9.0'} - '@babel/helper-string-parser@7.27.1': - resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} - engines: {node: '>=6.9.0'} - '@babel/helper-string-parser@7.29.7': resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==} engines: {node: '>=6.9.0'} @@ -1332,14 +1306,6 @@ packages: resolution: {integrity: sha512-6mJgmFFFIIO82vvoLt9XtRC7/TkzXfts1t/SpRX4IHSzMgqoPYCWesVu1udUPUWioAE/2fcG6WuI8zrkE1gwrg==} engines: {node: ^22.18.0 || >=24.11.0} - '@babel/helper-string-parser@8.0.0-rc.6': - resolution: {integrity: sha512-BCkFy+zN6kXQed3YOT7aJl93NfDSzQc3pBfsvTVPs9gU9X3V0aefEF5kwBT0E+mDWH9QgKaZstYUQN9VdQZT4g==} - engines: {node: ^22.18.0 || >=24.11.0} - - '@babel/helper-validator-identifier@7.28.5': - resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==} - engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.29.7': resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==} engines: {node: '>=6.9.0'} @@ -1386,11 +1352,6 @@ packages: engines: {node: ^22.18.0 || >=24.11.0} hasBin: true - '@babel/parser@8.0.0-rc.6': - resolution: {integrity: sha512-rOS8IpdO7mQELkTPlCsTgPejO0bFuZdEDCGQJouYbYf9e1FLTym7Fei2pEjq8q7MWbX0ravcd7QQYKs1TxOuog==} - engines: {node: ^22.18.0 || >=24.11.0} - hasBin: true - '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9': resolution: {integrity: sha512-ZkRyVkThtxQ/J6nv3JFYv1RYY+JT5BvU0y3k5bWrmuG4woXypRa4PXmm9RhOwodRkYFWqC0C0cqcJ4OqR7kW+g==} engines: {node: '>=6.9.0'} @@ -1918,21 +1879,21 @@ packages: resolution: {integrity: sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==} engines: {node: '>=6.9.0'} - '@babel/template@7.28.6': - resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==} - engines: {node: '>=6.9.0'} - '@babel/template@7.29.7': resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==} engines: {node: '>=6.9.0'} + '@babel/template@8.0.0': + resolution: {integrity: sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==} + engines: {node: ^22.18.0 || >=24.11.0} + '@babel/traverse@7.29.7': resolution: {integrity: sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==} engines: {node: '>=6.9.0'} - '@babel/types@7.29.0': - resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==} - engines: {node: '>=6.9.0'} + '@babel/traverse@8.0.0': + resolution: {integrity: sha512-bxTj/W2VclGE6CctlfQOpxg8MPDzXArRqkOBePw8EHfebcjF7fETWSS3BriEECo+UiU/Yblq+xUtSImFu7cTbw==} + engines: {node: ^22.18.0 || >=24.11.0} '@babel/types@7.29.7': resolution: {integrity: sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==} @@ -1942,10 +1903,6 @@ packages: resolution: {integrity: sha512-K8ponJDxBwDHigkeFqaqT5wLGl4bTlwMafR8k7b5CPxr6Ww+UG9ls8Yx6Tcpboxu97eeGVEEyKcHmEyOwN1vSw==} engines: {node: ^22.18.0 || >=24.11.0} - '@babel/types@8.0.0-rc.6': - resolution: {integrity: sha512-p7/ABylAYlexb31wtRdIfH9L9A0Z2T/9H6zAqzqndkY2PLkvNNc580wGhp/gGKN4Sp9sQvSkhc6Oga8/O+wTyw==} - engines: {node: ^22.18.0 || >=24.11.0} - '@bcoe/v8-coverage@1.0.2': resolution: {integrity: sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==} engines: {node: '>=18'} @@ -3662,9 +3619,6 @@ packages: resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - '@jridgewell/gen-mapping@0.3.12': - resolution: {integrity: sha512-OuLGC46TjB5BbN1dH8JULVVZY4WTdkF7tV9Ys6wLL1rubZnCMstOhNHueU5bLCrnRuDhKPDM4g6sw4Bel5Gzqg==} - '@jridgewell/gen-mapping@0.3.13': resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} @@ -7656,9 +7610,6 @@ packages: '@types/babel__generator@7.27.0': resolution: {integrity: sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==} - '@types/babel__helper-plugin-utils@7.10.3': - resolution: {integrity: sha512-FcLBBPXInqKfULB2nvOBskQPcnSMZ0s1Y2q76u9H1NPPWaLcTeq38xBeKfF/RBUECK333qeaqRdYoPSwW7rTNQ==} - '@types/babel__template@7.4.4': resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} @@ -18881,10 +18832,6 @@ packages: resolution: {integrity: sha512-MOiaDbA5ZZgUjkeMWM5EkJp4loW5ZRoa5bc3/aeMox/PJelMhE6t7S/mLuiY43DBupyxH+S0U1bTui9kWUlmsw==} engines: {node: '>=8.15'} - which-typed-array@1.1.20: - resolution: {integrity: sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg==} - engines: {node: '>= 0.4'} - which-typed-array@1.1.22: resolution: {integrity: sha512-fvO4ExWMFsqyhG3AiPAObMuY1lxaqgYcxbc49CNdWDDECOJNgQyvsOWVwbZc+qf3rzRtxojBK+CMEv0Ld5CYpw==} engines: {node: '>= 0.4'} @@ -19168,7 +19115,7 @@ snapshots: '@ampproject/remapping@2.3.0': dependencies: - '@jridgewell/gen-mapping': 0.3.12 + '@jridgewell/gen-mapping': 0.3.13 '@jridgewell/trace-mapping': 0.3.31 '@antfu/eslint-config@9.0.0(@eslint-react/eslint-plugin@5.8.18(eslint@10.5.0(jiti@2.7.0))(typescript@6.0.3))(@next/eslint-plugin-next@16.2.9)(@typescript-eslint/rule-tester@8.61.0(eslint@10.5.0(jiti@2.7.0))(typescript@6.0.3))(@typescript-eslint/typescript-estree@8.61.0(typescript@6.0.3))(@typescript-eslint/utils@8.61.0(eslint@10.5.0(jiti@2.7.0))(typescript@6.0.3))(@unocss/eslint-plugin@66.6.8(eslint@10.5.0(jiti@2.7.0))(typescript@6.0.3))(@vue/compiler-sfc@3.5.37)(eslint-plugin-format@2.0.1(eslint@10.5.0(jiti@2.7.0)))(eslint-plugin-jsx-a11y@6.10.2(eslint@10.5.0(jiti@2.7.0)))(eslint-plugin-react-refresh@0.5.2(eslint@10.5.0(jiti@2.7.0)))(eslint-plugin-vuejs-accessibility@2.5.0(eslint@10.5.0(jiti@2.7.0))(globals@17.6.0))(eslint@10.5.0(jiti@2.7.0))(ts-declaration-location@1.0.7(typescript@6.0.3))(typescript@6.0.3)(vitest@4.1.9)': @@ -19284,17 +19231,16 @@ snapshots: is-wsl: 3.1.1 which-pm-runs: 1.1.0 - '@babel/code-frame@7.29.0': + '@babel/code-frame@7.29.7': dependencies: '@babel/helper-validator-identifier': 7.29.7 js-tokens: 4.0.0 picocolors: 1.1.1 - '@babel/code-frame@7.29.7': + '@babel/code-frame@8.0.0': dependencies: - '@babel/helper-validator-identifier': 7.29.7 - js-tokens: 4.0.0 - picocolors: 1.1.1 + '@babel/helper-validator-identifier': 8.0.0 + js-tokens: 10.0.0 '@babel/compat-data@7.26.5': {} @@ -19305,13 +19251,13 @@ snapshots: '@babel/core@7.26.7': dependencies: '@ampproject/remapping': 2.3.0 - '@babel/code-frame': 7.29.0 + '@babel/code-frame': 7.29.7 '@babel/generator': 7.29.7 '@babel/helper-compilation-targets': 7.26.5 '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.7) '@babel/helpers': 7.26.7 '@babel/parser': 7.29.7 - '@babel/template': 7.28.6 + '@babel/template': 7.29.7 '@babel/traverse': 7.29.7 '@babel/types': 7.29.7 convert-source-map: 2.0.0 @@ -19324,13 +19270,13 @@ snapshots: '@babel/core@7.29.0': dependencies: - '@babel/code-frame': 7.29.0 + '@babel/code-frame': 7.29.7 '@babel/generator': 7.29.7 '@babel/helper-compilation-targets': 7.28.6 '@babel/helper-module-transforms': 7.28.6(@babel/core@7.29.0) '@babel/helpers': 7.28.6 '@babel/parser': 7.29.7 - '@babel/template': 7.28.6 + '@babel/template': 7.29.7 '@babel/traverse': 7.29.7 '@babel/types': 7.29.7 '@jridgewell/remapping': 2.3.5 @@ -19387,15 +19333,6 @@ snapshots: '@types/jsesc': 2.5.1 jsesc: 3.1.0 - '@babel/generator@8.0.0-rc.6': - dependencies: - '@babel/parser': 8.0.0-rc.6 - '@babel/types': 8.0.0-rc.6 - '@jridgewell/gen-mapping': 0.3.13 - '@jridgewell/trace-mapping': 0.3.31 - '@types/jsesc': 2.5.1 - jsesc: 3.1.0 - '@babel/helper-annotate-as-pure@7.25.9': dependencies: '@babel/types': 7.29.7 @@ -19547,6 +19484,8 @@ snapshots: '@babel/helper-globals@7.29.7': {} + '@babel/helper-globals@8.0.0': {} + '@babel/helper-member-expression-to-functions@7.25.9': dependencies: '@babel/traverse': 7.29.7 @@ -19741,16 +19680,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-string-parser@7.27.1': {} - '@babel/helper-string-parser@7.29.7': {} '@babel/helper-string-parser@8.0.0': {} - '@babel/helper-string-parser@8.0.0-rc.6': {} - - '@babel/helper-validator-identifier@7.28.5': {} - '@babel/helper-validator-identifier@7.29.7': {} '@babel/helper-validator-identifier@8.0.0': {} @@ -19771,12 +19704,12 @@ snapshots: '@babel/helpers@7.26.7': dependencies: - '@babel/template': 7.28.6 + '@babel/template': 7.29.7 '@babel/types': 7.29.7 '@babel/helpers@7.28.6': dependencies: - '@babel/template': 7.28.6 + '@babel/template': 7.29.7 '@babel/types': 7.29.7 '@babel/helpers@7.29.7': @@ -19792,10 +19725,6 @@ snapshots: dependencies: '@babel/types': 8.0.0 - '@babel/parser@8.0.0-rc.6': - dependencies: - '@babel/types': 8.0.0-rc.6 - '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9(@babel/core@7.26.7)': dependencies: '@babel/core': 7.26.7 @@ -20942,18 +20871,18 @@ snapshots: '@babel/runtime@7.29.7': {} - '@babel/template@7.28.6': - dependencies: - '@babel/code-frame': 7.29.0 - '@babel/parser': 7.29.7 - '@babel/types': 7.29.7 - '@babel/template@7.29.7': dependencies: '@babel/code-frame': 7.29.7 '@babel/parser': 7.29.7 '@babel/types': 7.29.7 + '@babel/template@8.0.0': + dependencies: + '@babel/code-frame': 8.0.0 + '@babel/parser': 8.0.0 + '@babel/types': 8.0.0 + '@babel/traverse@7.29.7': dependencies: '@babel/code-frame': 7.29.7 @@ -20966,10 +20895,15 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/types@7.29.0': + '@babel/traverse@8.0.0': dependencies: - '@babel/helper-string-parser': 7.27.1 - '@babel/helper-validator-identifier': 7.28.5 + '@babel/code-frame': 8.0.0 + '@babel/generator': 8.0.0 + '@babel/helper-globals': 8.0.0 + '@babel/parser': 8.0.0 + '@babel/template': 8.0.0 + '@babel/types': 8.0.0 + obug: 2.1.3 '@babel/types@7.29.7': dependencies: @@ -20981,11 +20915,6 @@ snapshots: '@babel/helper-string-parser': 8.0.0 '@babel/helper-validator-identifier': 8.0.0 - '@babel/types@8.0.0-rc.6': - dependencies: - '@babel/helper-string-parser': 8.0.0-rc.6 - '@babel/helper-validator-identifier': 8.0.0 - '@bcoe/v8-coverage@1.0.2': {} '@bomb.sh/tab@0.0.15(cac@6.7.14)(citty@0.2.2)(commander@13.1.0)': @@ -22496,11 +22425,6 @@ snapshots: dependencies: '@sinclair/typebox': 0.27.10 - '@jridgewell/gen-mapping@0.3.12': - dependencies: - '@jridgewell/sourcemap-codec': 1.5.5 - '@jridgewell/trace-mapping': 0.3.31 - '@jridgewell/gen-mapping@0.3.13': dependencies: '@jridgewell/sourcemap-codec': 1.5.5 @@ -27398,12 +27322,12 @@ snapshots: '@sveltejs/load-config@0.1.1': {} - '@sveltejs/vite-plugin-svelte@7.1.2(svelte@5.56.3(@typescript-eslint/types@8.61.0))(vite@8.0.16(@types/node@25.9.3)(esbuild@0.28.0)(jiti@2.7.0)(sass@1.101.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0))': + '@sveltejs/vite-plugin-svelte@7.1.2(svelte@5.56.3(@typescript-eslint/types@8.61.1))(vite@8.0.16(@types/node@25.9.3)(esbuild@0.28.0)(jiti@2.7.0)(sass@1.101.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0))': dependencies: deepmerge: 4.3.1 magic-string: 0.30.21 obug: 2.1.1 - svelte: 5.56.3(@typescript-eslint/types@8.61.0) + svelte: 5.56.3(@typescript-eslint/types@8.61.1) vite: 8.0.16(@types/node@25.9.3)(esbuild@0.28.0)(jiti@2.7.0)(sass@1.101.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0) vitefu: 1.1.3(vite@8.0.16(@types/node@25.9.3)(esbuild@0.28.0)(jiti@2.7.0)(sass@1.101.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0)) @@ -27720,11 +27644,7 @@ snapshots: '@types/babel__generator@7.27.0': dependencies: - '@babel/types': 7.29.0 - - '@types/babel__helper-plugin-utils@7.10.3': - dependencies: - '@types/babel__core': 7.20.5 + '@babel/types': 7.29.7 '@types/babel__template@7.4.4': dependencies: @@ -27733,7 +27653,7 @@ snapshots: '@types/babel__traverse@7.28.0': dependencies: - '@babel/types': 7.29.0 + '@babel/types': 7.29.7 '@types/body-parser@1.19.6': dependencies: @@ -29829,7 +29749,7 @@ snapshots: array-includes@3.1.9: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 call-bound: 1.0.4 define-properties: 1.2.1 es-abstract: 1.24.1 @@ -29865,14 +29785,14 @@ snapshots: array.prototype.flat@1.3.3: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 define-properties: 1.2.1 es-abstract: 1.24.1 es-shim-unscopables: 1.1.0 array.prototype.flatmap@1.3.3: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 define-properties: 1.2.1 es-abstract: 1.24.1 es-shim-unscopables: 1.1.0 @@ -29888,7 +29808,7 @@ snapshots: arraybuffer.prototype.slice@1.0.4: dependencies: array-buffer-byte-length: 1.0.2 - call-bind: 1.0.8 + call-bind: 1.0.9 define-properties: 1.2.1 es-abstract: 1.24.1 es-errors: 1.3.0 @@ -31928,7 +31848,7 @@ snapshots: array-buffer-byte-length: 1.0.2 arraybuffer.prototype.slice: 1.0.4 available-typed-arrays: 1.0.7 - call-bind: 1.0.8 + call-bind: 1.0.9 call-bound: 1.0.4 data-view-buffer: 1.0.2 data-view-byte-length: 1.0.2 @@ -31947,7 +31867,7 @@ snapshots: has-property-descriptors: 1.0.2 has-proto: 1.2.0 has-symbols: 1.1.0 - hasown: 2.0.2 + hasown: 2.0.3 internal-slot: 1.1.0 is-array-buffer: 3.0.5 is-callable: 1.2.7 @@ -31978,7 +31898,7 @@ snapshots: typed-array-byte-offset: 1.0.4 typed-array-length: 1.0.7 unbox-primitive: 1.1.0 - which-typed-array: 1.1.20 + which-typed-array: 1.1.22 es-define-property@1.0.1: {} @@ -32028,11 +31948,11 @@ snapshots: es-errors: 1.3.0 get-intrinsic: 1.3.0 has-tostringtag: 1.0.2 - hasown: 2.0.2 + hasown: 2.0.3 es-shim-unscopables@1.1.0: dependencies: - hasown: 2.0.2 + hasown: 2.0.3 es-to-primitive@1.3.0: dependencies: @@ -32676,7 +32596,7 @@ snapshots: damerau-levenshtein: 1.0.8 emoji-regex: 9.2.2 eslint: 10.5.0(jiti@2.7.0) - hasown: 2.0.2 + hasown: 2.0.3 jsx-ast-utils: 3.3.5 language-tags: 1.0.9 minimatch: 3.1.2 @@ -33087,12 +33007,6 @@ snapshots: dependencies: estraverse: 5.3.0 - esrap@2.2.11(@typescript-eslint/types@8.61.0): - dependencies: - '@jridgewell/sourcemap-codec': 1.5.5 - optionalDependencies: - '@typescript-eslint/types': 8.61.0 - esrap@2.2.11(@typescript-eslint/types@8.61.1): dependencies: '@jridgewell/sourcemap-codec': 1.5.5 @@ -33478,7 +33392,7 @@ snapshots: fork-ts-checker-webpack-plugin@6.5.3(eslint@10.5.0(jiti@2.7.0))(typescript@6.0.3)(webpack@5.107.2(cssnano@5.1.15(postcss@8.5.15))(esbuild@0.28.0)(html-minifier-terser@7.2.0)(lightningcss@1.32.0)(postcss@8.5.15)): dependencies: - '@babel/code-frame': 7.29.0 + '@babel/code-frame': 7.29.7 '@types/json-schema': 7.0.15 chalk: 4.1.2 chokidar: 3.6.0 @@ -33582,11 +33496,11 @@ snapshots: function.prototype.name@1.1.8: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 call-bound: 1.0.4 define-properties: 1.2.1 functions-have-names: 1.2.3 - hasown: 2.0.2 + hasown: 2.0.3 is-callable: 1.2.7 functions-have-names@1.2.3: {} @@ -33617,7 +33531,7 @@ snapshots: get-proto: 1.0.1 gopd: 1.2.0 has-symbols: 1.1.0 - hasown: 2.0.2 + hasown: 2.0.3 math-intrinsics: 1.1.0 get-npm-tarball-url@2.1.0: {} @@ -34372,8 +34286,8 @@ snapshots: internal-slot@1.1.0: dependencies: es-errors: 1.3.0 - hasown: 2.0.2 - side-channel: 1.1.0 + hasown: 2.0.3 + side-channel: 1.1.1 internmap@1.0.1: {} @@ -34422,7 +34336,7 @@ snapshots: is-array-buffer@3.0.5: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 call-bound: 1.0.4 get-intrinsic: 1.3.0 @@ -34608,7 +34522,7 @@ snapshots: call-bound: 1.0.4 gopd: 1.2.0 has-tostringtag: 1.0.2 - hasown: 2.0.2 + hasown: 2.0.3 is-set@2.0.3: {} @@ -34649,7 +34563,7 @@ snapshots: is-typed-array@1.1.15: dependencies: - which-typed-array: 1.1.20 + which-typed-array: 1.1.22 is-unicode-supported@0.1.0: {} @@ -36975,7 +36889,7 @@ snapshots: object.assign@4.1.7: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 call-bound: 1.0.4 define-properties: 1.2.1 es-object-atoms: 1.1.1 @@ -36991,7 +36905,7 @@ snapshots: object.fromentries@2.0.8: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 define-properties: 1.2.1 es-abstract: 1.24.1 es-object-atoms: 1.1.1 @@ -37004,7 +36918,7 @@ snapshots: object.values@1.2.1: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 call-bound: 1.0.4 define-properties: 1.2.1 es-object-atoms: 1.1.1 @@ -38589,7 +38503,7 @@ snapshots: reflect.getprototypeof@1.0.10: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 define-properties: 1.2.1 es-abstract: 1.24.1 es-errors: 1.3.0 @@ -38631,7 +38545,7 @@ snapshots: regexp.prototype.flags@1.5.4: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 define-properties: 1.2.1 es-errors: 1.3.0 get-proto: 1.0.1 @@ -39044,7 +38958,7 @@ snapshots: rollup: 4.62.0 typescript: 6.0.3 optionalDependencies: - '@babel/code-frame': 7.29.0 + '@babel/code-frame': 7.29.7 rollup-plugin-visualizer@7.0.1(rolldown@1.1.1)(rollup@4.62.0): dependencies: @@ -39126,7 +39040,7 @@ snapshots: safe-array-concat@1.1.3: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 call-bound: 1.0.4 get-intrinsic: 1.3.0 has-symbols: 1.1.0 @@ -39757,7 +39671,7 @@ snapshots: string.prototype.includes@2.0.1: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 define-properties: 1.2.1 es-abstract: 1.24.1 @@ -39784,7 +39698,7 @@ snapshots: string.prototype.trim@1.2.10: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 call-bound: 1.0.4 define-data-property: 1.1.4 define-properties: 1.2.1 @@ -39794,14 +39708,14 @@ snapshots: string.prototype.trimend@1.0.9: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 call-bound: 1.0.4 define-properties: 1.2.1 es-object-atoms: 1.1.1 string.prototype.trimstart@1.0.8: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 define-properties: 1.2.1 es-object-atoms: 1.1.1 @@ -40048,7 +39962,7 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svelte-check@4.6.0(picomatch@4.0.4)(svelte@5.56.3(@typescript-eslint/types@8.61.0))(typescript@6.0.3): + svelte-check@4.6.0(picomatch@4.0.4)(svelte@5.56.3(@typescript-eslint/types@8.61.1))(typescript@6.0.3): dependencies: '@jridgewell/trace-mapping': 0.3.31 '@sveltejs/load-config': 0.1.1 @@ -40056,32 +39970,11 @@ snapshots: fdir: 6.5.0(picomatch@4.0.4) picocolors: 1.1.1 sade: 1.8.1 - svelte: 5.56.3(@typescript-eslint/types@8.61.0) + svelte: 5.56.3(@typescript-eslint/types@8.61.1) typescript: 6.0.3 transitivePeerDependencies: - picomatch - svelte@5.56.3(@typescript-eslint/types@8.61.0): - dependencies: - '@jridgewell/remapping': 2.3.5 - '@jridgewell/sourcemap-codec': 1.5.5 - '@sveltejs/acorn-typescript': 1.0.10(acorn@8.16.0) - '@types/estree': 1.0.9 - '@types/trusted-types': 2.0.7 - acorn: 8.16.0 - aria-query: 5.3.1 - axobject-query: 4.1.0 - clsx: 2.1.1 - devalue: 5.8.1 - esm-env: 1.2.2 - esrap: 2.2.11(@typescript-eslint/types@8.61.0) - is-reference: 3.0.3 - locate-character: 3.0.0 - magic-string: 0.30.21 - zimmerframe: 1.1.4 - transitivePeerDependencies: - - '@typescript-eslint/types' - svelte@5.56.3(@typescript-eslint/types@8.61.1): dependencies: '@jridgewell/remapping': 2.3.5 @@ -40614,7 +40507,7 @@ snapshots: typed-array-byte-length@1.0.3: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 for-each: 0.3.5 gopd: 1.2.0 has-proto: 1.2.0 @@ -40623,7 +40516,7 @@ snapshots: typed-array-byte-offset@1.0.4: dependencies: available-typed-arrays: 1.0.7 - call-bind: 1.0.8 + call-bind: 1.0.9 for-each: 0.3.5 gopd: 1.2.0 has-proto: 1.2.0 @@ -40632,7 +40525,7 @@ snapshots: typed-array-length@1.0.7: dependencies: - call-bind: 1.0.8 + call-bind: 1.0.9 for-each: 0.3.5 gopd: 1.2.0 is-typed-array: 1.1.15 @@ -41568,7 +41461,7 @@ snapshots: vue-router@5.1.0(@vue/compiler-sfc@3.5.37)(vite@8.0.16(@types/node@25.9.3)(esbuild@0.28.0)(jiti@2.7.0)(sass@1.101.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0))(vue@3.5.37(typescript@6.0.3)): dependencies: - '@babel/generator': 8.0.0-rc.6 + '@babel/generator': 8.0.0 '@vue-macros/common': 3.1.2(vue@3.5.37(typescript@6.0.3)) '@vue/devtools-api': 8.1.2 ast-walker-scope: 0.9.0 @@ -41592,7 +41485,7 @@ snapshots: vue-router@5.1.0(@vue/compiler-sfc@3.5.37)(vite@8.0.16(@types/node@25.9.3)(esbuild@0.28.0)(jiti@2.7.0)(sass@1.101.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0))(vue@3.5.38(typescript@6.0.3)): dependencies: - '@babel/generator': 8.0.0-rc.6 + '@babel/generator': 8.0.0 '@vue-macros/common': 3.1.2(vue@3.5.38(typescript@6.0.3)) '@vue/devtools-api': 8.1.2 ast-walker-scope: 0.9.0 @@ -41882,7 +41775,7 @@ snapshots: isarray: 2.0.5 which-boxed-primitive: 1.1.1 which-collection: 1.0.2 - which-typed-array: 1.1.20 + which-typed-array: 1.1.22 which-collection@1.0.2: dependencies: @@ -41898,16 +41791,6 @@ snapshots: load-yaml-file: 0.2.0 path-exists: 4.0.0 - which-typed-array@1.1.20: - dependencies: - available-typed-arrays: 1.0.7 - call-bind: 1.0.8 - call-bound: 1.0.4 - for-each: 0.3.5 - get-proto: 1.0.1 - gopd: 1.2.0 - has-tostringtag: 1.0.2 - which-typed-array@1.1.22: dependencies: available-typed-arrays: 1.0.7 diff --git a/website/app/[lang]/[[...mdxPath]]/page.tsx b/website/app/[lang]/[[...mdxPath]]/page.tsx index 019f59c3..3d0dad65 100644 --- a/website/app/[lang]/[[...mdxPath]]/page.tsx +++ b/website/app/[lang]/[[...mdxPath]]/page.tsx @@ -20,9 +20,9 @@ const Wrapper = useMDXComponents().wrapper export default async function Page(props: PageProps) { const params = await props.params const result = await importPage(params.mdxPath, params.lang) - const { default: MDXContent, toc, metadata } = result + const { default: MDXContent, toc, metadata, sourceCode } = result return ( - + ) diff --git a/website/content/en/patch.mdx b/website/content/en/patch.mdx index 2fe9677d..660a5a91 100644 --- a/website/content/en/patch.mdx +++ b/website/content/en/patch.mdx @@ -17,7 +17,7 @@ Need upgrade guidance? See the v8 -> v9 patch mig ## Installation -Make sure your environment runs Node.js 18 or newer. +Make sure your environment runs Node.js 22.18.x or 24.11 or newer. ### Add the package diff --git a/website/content/zh/patch.mdx b/website/content/zh/patch.mdx index 26a0b692..1257af23 100644 --- a/website/content/zh/patch.mdx +++ b/website/content/zh/patch.mdx @@ -17,7 +17,7 @@ import { Callout } from 'nextra/components' ## 安装 -请确认运行环境使用 Node.js 18 或更新版本。 +请确认运行环境使用 Node.js 22.18.x 或 24.11 及更新版本。 ### 安装依赖 diff --git a/website/mdx-components.ts b/website/mdx-components.ts index edabf744..421ea975 100644 --- a/website/mdx-components.ts +++ b/website/mdx-components.ts @@ -6,7 +6,7 @@ const docsComponents = getDocsMDXComponents({ pre: withIcons(Pre, { js: GitHubIcon }), }) -export const useMDXComponents: typeof getDocsMDXComponents = components => ({ +export const useMDXComponents: typeof getDocsMDXComponents = (components = {}) => ({ ...docsComponents, ...components, }) diff --git a/website/next-env.d.ts b/website/next-env.d.ts index 1b3be084..9edff1c7 100644 --- a/website/next-env.d.ts +++ b/website/next-env.d.ts @@ -1,5 +1,6 @@ /// /// +import "./.next/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/website/next.config.ts b/website/next.config.ts index b7547ce1..e8abfdc1 100644 --- a/website/next.config.ts +++ b/website/next.config.ts @@ -15,11 +15,6 @@ const withBundleAnalyzer = bundleAnalyzer({ const nextConfig = withBundleAnalyzer( withNextra({ reactStrictMode: true, - eslint: { - // Warning: This allows production builds to successfully complete even if - // your project has ESLint errors. - ignoreDuringBuilds: true, - }, i18n: { locales: ['en', 'zh'], defaultLocale: 'en', @@ -48,15 +43,15 @@ const nextConfig = withBundleAnalyzer( }) return config }, - experimental: { - turbo: { - rules: { - './app/_icons/*.svg': { - loaders: ['@svgr/webpack'], - as: '*.js', - }, + turbopack: { + rules: { + './app/_icons/*.svg': { + loaders: ['@svgr/webpack'], + as: '*.js', }, }, + }, + experimental: { optimizePackageImports: [ // '@app/_icons' ], diff --git a/website/tsconfig.json b/website/tsconfig.json index 27c16539..81b1657b 100644 --- a/website/tsconfig.json +++ b/website/tsconfig.json @@ -2,13 +2,19 @@ "compilerOptions": { "incremental": true, "target": "es5", - "jsx": "preserve", - "lib": ["dom", "dom.iterable", "esnext"], + "jsx": "react-jsx", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "baseUrl": "./", "module": "esnext", "moduleResolution": "bundler", "paths": { - "@app/*": ["./app/*"] + "@app/*": [ + "./app/*" + ] }, "resolveJsonModule": true, "allowJs": true, @@ -26,6 +32,15 @@ } ] }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules", ".next"] + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + ".next/dev/types/**/*.ts" + ], + "exclude": [ + "node_modules", + ".next" + ] }