☕️ Classic, reliable, trusted test framework for Node.js and the browser
chore: add Knip to docs-next, remove unused deps, and cleanup links (#5726)
Copilota3908e9008c9
diff --git a/docs-next/.knip.jsonc b/docs-next/.knip.jsoncnew file mode 100644index 00000000..32a327ed--- /dev/null+++ b/docs-next/.knip.jsonc@@ -0,0 +1,12 @@+{+ "$schema": "https://unpkg.com/knip@5/schema-jsonc.json",+ // Entry points marked with ! are analyzed but not reported as unused+ "entry": ["src/content/**/*.mdx!", "src/content/config.ts!"],+ "project": ["src/**/*.{ts,js,mjs,cjs,astro}"],+ "astro": {+ "config": "astro.config.ts",+ },+ "rules": {+ "exports": "off",+ },+}diff --git a/docs-next/package-lock.json b/docs-next/package-lock.jsonindex b6a7833f..9e294fd4 100644--- a/docs-next/package-lock.json+++ b/docs-next/package-lock.json@@ -11,12 +11,11 @@"@astrojs/check": "^0.9.6","@astrojs/starlight": "^0.37.1","astro": "^5.16.6",- "astro-og-canvas": "^0.7.2",- "debug": "^4.4.3",- "sharp": "^0.34.5","starlight-package-managers": "^0.12.0",- "typescript": "^5.9.3",- "unist-util-visit": "^5.0.0"+ "typescript": "^5.9.3"+ },+ "devDependencies": {+ "knip": "^5.83.1"}},"node_modules/@astrojs/check": {@@ -366,6 +365,18 @@"integrity": "sha512-ZsZ2I9Vzso3Ho/pjZFsmmZ++FWeEd/txqybHTm4OgaZzdS8V9V/YYWQwg5TC38Z7uLWUV1vavpLLbjJtKubR1A==","license": "MIT"},+ "node_modules/@emnapi/core": {+ "version": "1.8.1",+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.8.1.tgz",+ "integrity": "sha512-AvT9QFpxK0Zd8J0jopedNm+w/2fIzvtPKPjqyw9jwvBaReTTqPBk9Hixaz7KbjimP+QNz605/XnjFcDAL2pqBg==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/wasi-threads": "1.1.0",+ "tslib": "^2.4.0"+ }+ },"node_modules/@emnapi/runtime": {"version": "1.7.1","resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.7.1.tgz",@@ -376,6 +387,17 @@"tslib": "^2.4.0"}},+ "node_modules/@emnapi/wasi-threads": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.1.0.tgz",+ "integrity": "sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },"node_modules/@esbuild/aix-ppc64": {"version": "0.25.12","resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz",@@ -842,6 +864,7 @@"resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.0.0.tgz","integrity": "sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==","license": "MIT",+ "optional": true,"engines": {"node": ">=18"}@@ -1345,6 +1368,23 @@"url": "https://opencollective.com/unified"}},+ "node_modules/@napi-rs/wasm-runtime": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.1.tgz",+ "integrity": "sha512-p64ah1M1ld8xjWv3qbvFwHiFVWrq1yFvV4f7w+mzaqiR4IlSgkqhcRdHwsGgomwzBH51sRY4NEowLxnaBjcW/A==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/core": "^1.7.1",+ "@emnapi/runtime": "^1.7.1",+ "@tybys/wasm-util": "^0.10.1"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/Brooooooklyn"+ }+ },"node_modules/@nodelib/fs.scandir": {"version": "2.1.5","resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",@@ -1386,6 +1426,289 @@"integrity": "sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==","license": "MIT"},+ "node_modules/@oxc-resolver/binding-android-arm-eabi": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-android-arm-eabi/-/binding-android-arm-eabi-11.17.1.tgz",+ "integrity": "sha512-+VuZyMYYaap5uDAU1xDU3Kul0FekLqpBS8kI5JozlWfYQKnc/HsZg2gHPkQrj0SC9lt74WMNCfOzZZJlYXSdEQ==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ]+ },+ "node_modules/@oxc-resolver/binding-android-arm64": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-android-arm64/-/binding-android-arm64-11.17.1.tgz",+ "integrity": "sha512-YlDDTjvOEKhom/cRSVsXsMVeXVIAM9PJ/x2mfe08rfuS0iIEfJd8PngKbEIhG72WPxleUa+vkEZj9ncmC14z3Q==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ]+ },+ "node_modules/@oxc-resolver/binding-darwin-arm64": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-arm64/-/binding-darwin-arm64-11.17.1.tgz",+ "integrity": "sha512-HOYYLSY4JDk14YkXaz/ApgJYhgDP4KsG8EZpgpOxdszGW9HmIMMY/vXqVKYW74dSH+GQkIXYxBrEh3nv+XODVg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ]+ },+ "node_modules/@oxc-resolver/binding-darwin-x64": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-x64/-/binding-darwin-x64-11.17.1.tgz",+ "integrity": "sha512-JHPJbsa5HvPq2/RIdtGlqfaG9zV2WmgvHrKTYmlW0L5esqtKCBuetFudXTBzkNcyD69kSZLzH92AzTr6vFHMFg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ]+ },+ "node_modules/@oxc-resolver/binding-freebsd-x64": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-freebsd-x64/-/binding-freebsd-x64-11.17.1.tgz",+ "integrity": "sha512-UD1FRC8j8xZstFXYsXwQkNmmg7vUbee006IqxokwDUUA+xEgKZDpLhBEiVKM08Urb+bn7Q0gn6M1pyNR0ng5mg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "freebsd"+ ]+ },+ "node_modules/@oxc-resolver/binding-linux-arm-gnueabihf": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-11.17.1.tgz",+ "integrity": "sha512-wFWC1wyf2ROFWTxK5x0Enm++DSof3EBQ/ypyAesMDLiYxOOASDoMOZG1ylWUnlKaCt5W7eNOWOzABpdfFf/ssA==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@oxc-resolver/binding-linux-arm-musleabihf": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-11.17.1.tgz",+ "integrity": "sha512-k/hUif0GEBk/csSqCfTPXb8AAVs1NNWCa/skBghvNbTtORcWfOVqJ3mM+2pE189+enRm4UnryLREu5ysI0kXEQ==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@oxc-resolver/binding-linux-arm64-gnu": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-11.17.1.tgz",+ "integrity": "sha512-Cwm6A071ww60QouJ9LoHAwBgEoZzHQ0Qaqk2E7WLfBdiQN9mLXIDhnrpn04hlRElRPhLiu/dtg+o5PPLvaINXQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@oxc-resolver/binding-linux-arm64-musl": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-musl/-/binding-linux-arm64-musl-11.17.1.tgz",+ "integrity": "sha512-+hwlE2v3m0r3sk93SchJL1uyaKcPjf+NGO/TD2DZUDo+chXx7FfaEj0nUMewigSt7oZ2sQN9Z4NJOtUa75HE5Q==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@oxc-resolver/binding-linux-ppc64-gnu": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-11.17.1.tgz",+ "integrity": "sha512-bO+rsaE5Ox8cFyeL5Ct5tzot1TnQpFa/Wmu5k+hqBYSH2dNVDGoi0NizBN5QV8kOIC6O5MZr81UG4yW/2FyDTA==",+ "cpu": [+ "ppc64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@oxc-resolver/binding-linux-riscv64-gnu": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-11.17.1.tgz",+ "integrity": "sha512-B/P+hxKQ1oX4YstI9Lyh4PGzqB87Ddqj/A4iyRBbPdXTcxa+WW3oRLx1CsJKLmHPdDk461Hmbghq1Bm3pl+8Aw==",+ "cpu": [+ "riscv64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@oxc-resolver/binding-linux-riscv64-musl": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-11.17.1.tgz",+ "integrity": "sha512-ulp2H3bFXzd/th2maH+QNKj5qgOhJ3v9Yspdf1svTw3CDOuuTl6sRKsWQ7MUw0vnkSNvQndtflBwVXgzZvURsQ==",+ "cpu": [+ "riscv64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@oxc-resolver/binding-linux-s390x-gnu": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-11.17.1.tgz",+ "integrity": "sha512-LAXYVe3rKk09Zo9YKF2ZLBcH8sz8Oj+JIyiUxiHtq0hiYLMsN6dOpCf2hzQEjPAmsSEA/hdC1PVKeXo+oma8mQ==",+ "cpu": [+ "s390x"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@oxc-resolver/binding-linux-x64-gnu": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-gnu/-/binding-linux-x64-gnu-11.17.1.tgz",+ "integrity": "sha512-3RAhxipMKE8RCSPn7O//sj440i+cYTgYbapLeOoDvQEt6R1QcJjTsFgI4iz99FhVj3YbPxlZmcLB5VW+ipyRTA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@oxc-resolver/binding-linux-x64-musl": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-musl/-/binding-linux-x64-musl-11.17.1.tgz",+ "integrity": "sha512-wpjMEubGU8r9VjZTLdZR3aPHaBqTl8Jl8F4DBbgNoZ+yhkhQD1/MGvY70v2TLnAI6kAHSvcqgfvaqKDa2iWsPQ==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@oxc-resolver/binding-openharmony-arm64": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-openharmony-arm64/-/binding-openharmony-arm64-11.17.1.tgz",+ "integrity": "sha512-XIE4w17RYAVIgx+9Gs3deTREq5tsmalbatYOOBGNdH7n0DfTE600c7wYXsp7ANc3BPDXsInnOzXDEPCvO1F6cg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "openharmony"+ ]+ },+ "node_modules/@oxc-resolver/binding-wasm32-wasi": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-wasm32-wasi/-/binding-wasm32-wasi-11.17.1.tgz",+ "integrity": "sha512-Lqi5BlHX3zS4bpSOkIbOKVf7DIk6Gvmdifr2OuOI58eUUyP944M8/OyaB09cNpPy9Vukj7nmmhOzj8pwLgAkIg==",+ "cpu": [+ "wasm32"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@napi-rs/wasm-runtime": "^1.1.1"+ },+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/@oxc-resolver/binding-win32-arm64-msvc": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-11.17.1.tgz",+ "integrity": "sha512-l6lTcLBQVj1HNquFpXSsrkCIM8X5Hlng5YNQJrg00z/KyovvDV5l3OFhoRyZ+aLBQ74zUnMRaJZC7xcBnHyeNg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ]+ },+ "node_modules/@oxc-resolver/binding-win32-ia32-msvc": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-11.17.1.tgz",+ "integrity": "sha512-VTzVtfnCCsU/6GgvursWoyZrhe3Gj/RyXzDWmh4/U1Y3IW0u1FZbp+hCIlBL16pRPbDc5YvXVtCOnA41QOrOoQ==",+ "cpu": [+ "ia32"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ]+ },+ "node_modules/@oxc-resolver/binding-win32-x64-msvc": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-x64-msvc/-/binding-win32-x64-msvc-11.17.1.tgz",+ "integrity": "sha512-jRPVU+6/12baj87q2+UGRh30FBVBzqKdJ7rP/mSqiL1kpNQB9yZ1j0+m3sru1m+C8hiFK7lBFwjUtYUBI7+UpQ==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ]+ },"node_modules/@pagefind/darwin-arm64": {"version": "1.4.0","resolved": "https://registry.npmjs.org/@pagefind/darwin-arm64/-/darwin-arm64-1.4.0.tgz",@@ -1851,6 +2174,17 @@"integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==","license": "MIT"},+ "node_modules/@tybys/wasm-util": {+ "version": "0.10.1",+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz",+ "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },"node_modules/@types/debug": {"version": "4.1.12","resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz",@@ -2040,12 +2374,6 @@"integrity": "sha512-KYSIHVmslkaCDyw013pphY+d7x1qV8IZupYfeIfzNA+nsaWHbn5uPuQRvdRFsa9zFzGeudPuoGoZ1Op4jrJXIQ==","license": "MIT"},- "node_modules/@webgpu/types": {- "version": "0.1.21",- "resolved": "https://registry.npmjs.org/@webgpu/types/-/types-0.1.21.tgz",- "integrity": "sha512-pUrWq3V5PiSGFLeLxoGqReTZmiiXwY3jRkIG5sLLKjyqNxrwm/04b4nw7LSmGWJcKk59XOM/YRTUwOzo4MMlow==",- "license": "BSD-3-Clause"- },"node_modules/acorn": {"version": "8.15.0","resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",@@ -2334,23 +2662,6 @@"astro": "^4.0.0-beta || ^5.0.0-beta || ^3.3.0"}},- "node_modules/astro-og-canvas": {- "version": "0.7.2",- "resolved": "https://registry.npmjs.org/astro-og-canvas/-/astro-og-canvas-0.7.2.tgz",- "integrity": "sha512-i7sWbdpl2MMF7wUZqSfzMnhW4c7GQz6s7T4BUJ7E06MqasZRHjJytn0n6D0JJkGDeTpZnU7E00A6Ffx0pRB4kg==",- "license": "MIT",- "dependencies": {- "canvaskit-wasm": "^0.40.0",- "deterministic-object-hash": "^2.0.2",- "entities": "^7.0.0"- },- "engines": {- "node": ">=18.14.1"- },- "peerDependencies": {- "astro": "^3.0.0 || ^4.0.0 || ^5.0.0"- }- },"node_modules/axobject-query": {"version": "4.1.0","resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz",@@ -2453,15 +2764,6 @@"url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/canvaskit-wasm": {- "version": "0.40.0",- "resolved": "https://registry.npmjs.org/canvaskit-wasm/-/canvaskit-wasm-0.40.0.tgz",- "integrity": "sha512-Od2o+ZmoEw9PBdN/yCGvzfu0WVqlufBPEWNG452wY7E9aT8RBE+ChpZF526doOlg7zumO4iCS+RAeht4P0Gbpw==",- "license": "BSD-3-Clause",- "dependencies": {- "@webgpu/types": "0.1.21"- }- },"node_modules/ccount": {"version": "2.0.1","resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",@@ -2901,6 +3203,7 @@"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz","integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==","license": "Apache-2.0",+ "optional": true,"engines": {"node": ">=8"}@@ -3062,18 +3365,6 @@"integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==","license": "MIT"},- "node_modules/entities": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.0.tgz",- "integrity": "sha512-FDWG5cmEYf2Z00IkYRhbFrwIwvdFKH07uV8dvNy0omp/Qb1xcyCWp2UDtcwJF4QZZvk0sLudP6/hAu42TaqVhQ==",- "license": "BSD-2-Clause",- "engines": {- "node": ">=0.12"- },- "funding": {- "url": "https://github.com/fb55/entities?sponsor=1"- }- },"node_modules/es-module-lexer": {"version": "1.7.0","resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",@@ -3336,6 +3627,16 @@"reusify": "^1.0.4"}},+ "node_modules/fd-package-json": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/fd-package-json/-/fd-package-json-2.0.0.tgz",+ "integrity": "sha512-jKmm9YtsNXN789RS/0mSzOC1NUq9mkVd65vbSSVsKdjGvYXBuE4oWe2QOEoFeRmJg+lPuZxpmrfFclNhoRMneQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "walk-up-path": "^4.0.0"+ }+ },"node_modules/fdir": {"version": "6.5.0","resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",@@ -3395,6 +3696,22 @@"node": ">=20"}},+ "node_modules/formatly": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/formatly/-/formatly-0.3.0.tgz",+ "integrity": "sha512-9XNj/o4wrRFyhSMJOvsuyMwy8aUfBaZ1VrqHVfohyXf0Sw0e+yfKG+xZaY3arGCOMdwFsqObtzVOc1gU9KiT9w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "fd-package-json": "^2.0.0"+ },+ "bin": {+ "formatly": "bin/index.mjs"+ },+ "engines": {+ "node": ">=18.3.0"+ }+ },"node_modules/fsevents": {"version": "2.3.3","resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",@@ -4053,6 +4370,16 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/jiti": {+ "version": "2.6.1",+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz",+ "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==",+ "devOptional": true,+ "license": "MIT",+ "bin": {+ "jiti": "lib/jiti-cli.mjs"+ }+ },"node_modules/js-yaml": {"version": "4.1.1","resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",@@ -4095,6 +4422,58 @@"node": ">= 8"}},+ "node_modules/knip": {+ "version": "5.83.1",+ "resolved": "https://registry.npmjs.org/knip/-/knip-5.83.1.tgz",+ "integrity": "sha512-av3ZG/Nui6S/BNL8Tmj12yGxYfTnwWnslouW97m40him7o8MwiMjZBY9TPvlEWUci45aVId0/HbgTwSKIDGpMw==",+ "dev": true,+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/webpro"+ },+ {+ "type": "opencollective",+ "url": "https://opencollective.com/knip"+ }+ ],+ "license": "ISC",+ "dependencies": {+ "@nodelib/fs.walk": "^1.2.3",+ "fast-glob": "^3.3.3",+ "formatly": "^0.3.0",+ "jiti": "^2.6.0",+ "js-yaml": "^4.1.1",+ "minimist": "^1.2.8",+ "oxc-resolver": "^11.15.0",+ "picocolors": "^1.1.1",+ "picomatch": "^4.0.1",+ "smol-toml": "^1.5.2",+ "strip-json-comments": "5.0.3",+ "zod": "^4.1.11"+ },+ "bin": {+ "knip": "bin/knip.js",+ "knip-bun": "bin/knip-bun.js"+ },+ "engines": {+ "node": ">=18.18.0"+ },+ "peerDependencies": {+ "@types/node": ">=18",+ "typescript": ">=5.0.4 <7"+ }+ },+ "node_modules/knip/node_modules/zod": {+ "version": "4.3.6",+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz",+ "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==",+ "dev": true,+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/colinhacks"+ }+ },"node_modules/lodash": {"version": "4.17.21","resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",@@ -5261,6 +5640,16 @@"url": "https://github.com/sponsors/jonschlinkert"}},+ "node_modules/minimist": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",+ "dev": true,+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },"node_modules/mrmime": {"version": "2.0.1","resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz",@@ -5389,6 +5778,38 @@"regex-recursion": "^6.0.2"}},+ "node_modules/oxc-resolver": {+ "version": "11.17.1",+ "resolved": "https://registry.npmjs.org/oxc-resolver/-/oxc-resolver-11.17.1.tgz",+ "integrity": "sha512-pyRXK9kH81zKlirHufkFhOFBZRks8iAMLwPH8gU7lvKFiuzUH9L8MxDEllazwOb8fjXMcWjY1PMDfMJ2/yh5cw==",+ "dev": true,+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/Boshen"+ },+ "optionalDependencies": {+ "@oxc-resolver/binding-android-arm-eabi": "11.17.1",+ "@oxc-resolver/binding-android-arm64": "11.17.1",+ "@oxc-resolver/binding-darwin-arm64": "11.17.1",+ "@oxc-resolver/binding-darwin-x64": "11.17.1",+ "@oxc-resolver/binding-freebsd-x64": "11.17.1",+ "@oxc-resolver/binding-linux-arm-gnueabihf": "11.17.1",+ "@oxc-resolver/binding-linux-arm-musleabihf": "11.17.1",+ "@oxc-resolver/binding-linux-arm64-gnu": "11.17.1",+ "@oxc-resolver/binding-linux-arm64-musl": "11.17.1",+ "@oxc-resolver/binding-linux-ppc64-gnu": "11.17.1",+ "@oxc-resolver/binding-linux-riscv64-gnu": "11.17.1",+ "@oxc-resolver/binding-linux-riscv64-musl": "11.17.1",+ "@oxc-resolver/binding-linux-s390x-gnu": "11.17.1",+ "@oxc-resolver/binding-linux-x64-gnu": "11.17.1",+ "@oxc-resolver/binding-linux-x64-musl": "11.17.1",+ "@oxc-resolver/binding-openharmony-arm64": "11.17.1",+ "@oxc-resolver/binding-wasm32-wasi": "11.17.1",+ "@oxc-resolver/binding-win32-arm64-msvc": "11.17.1",+ "@oxc-resolver/binding-win32-ia32-msvc": "11.17.1",+ "@oxc-resolver/binding-win32-x64-msvc": "11.17.1"+ }+ },"node_modules/p-limit": {"version": "6.2.0","resolved": "https://registry.npmjs.org/p-limit/-/p-limit-6.2.0.tgz",@@ -6197,6 +6618,7 @@"integrity": "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==","hasInstallScript": true,"license": "Apache-2.0",+ "optional": true,"dependencies": {"@img/colour": "^1.0.0","detect-libc": "^2.1.2",@@ -6386,6 +6808,19 @@"url": "https://github.com/chalk/strip-ansi?sponsor=1"}},+ "node_modules/strip-json-comments": {+ "version": "5.0.3",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.3.tgz",+ "integrity": "sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=14.16"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/style-to-js": {"version": "1.1.21","resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz",@@ -7251,6 +7686,16 @@"integrity": "sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==","license": "MIT"},+ "node_modules/walk-up-path": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-4.0.0.tgz",+ "integrity": "sha512-3hu+tD8YzSLGuFYtPRb48vdhKMi0KQV5sn+uWr8+7dMEq/2G/dtLrdDinkLjqq5TIbIBjYJ4Ax/n3YiaW7QM8A==",+ "dev": true,+ "license": "ISC",+ "engines": {+ "node": "20 || >=22"+ }+ },"node_modules/web-namespaces": {"version": "2.0.1","resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz",diff --git a/docs-next/package.json b/docs-next/package.jsonindex 026c876b..8e7883ef 100644--- a/docs-next/package.json+++ b/docs-next/package.json@@ -8,6 +8,7 @@"dev": "astro dev","docs": "cd .. && npm i && cd docs-next && npm i && npm run generate && npm run build && cp _redirects dist/_redirects","generate": "node ../docs/_data/supporters.js --write-supporters-json",+ "lint:knip": "knip --cache","preview": "astro preview","start": "astro dev"},@@ -15,11 +16,10 @@"@astrojs/check": "^0.9.6","@astrojs/starlight": "^0.37.1","astro": "^5.16.6",- "astro-og-canvas": "^0.7.2",- "debug": "^4.4.3",- "sharp": "^0.34.5","starlight-package-managers": "^0.12.0",- "typescript": "^5.9.3",- "unist-util-visit": "^5.0.0"+ "typescript": "^5.9.3"+ },+ "devDependencies": {+ "knip": "^5.83.1"}}diff --git a/docs-next/src/content/docs/index.mdx b/docs-next/src/content/docs/index.mdxindex 3d81c151..0bd0c07c 100644--- a/docs-next/src/content/docs/index.mdx+++ b/docs-next/src/content/docs/index.mdx@@ -30,8 +30,8 @@ _For the old docs website, see: [legacy.mochajs.org](https://legacy.mochajs.org)Mocha is a feature-rich JavaScript test framework running on [Node.js](https://nodejs.org) and in the browser, making asynchronous testing _straightforward_ and _fun_.Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.-<LinkButton href="/next/getting-started">Get Started</LinkButton>-<LinkButton href="/next/running/configuring" variant="secondary">+<LinkButton href="/getting-started">Get Started</LinkButton>+<LinkButton href="/running/configuring" variant="secondary">Configuration Reference</LinkButton>