From fbcef44da1441f158eb7c734624cf74e4b8949f5 Mon Sep 17 00:00:00 2001 From: Alireza Safaierad Date: Thu, 10 Sep 2026 22:07:24 +0200 Subject: [PATCH] style(test): lint test files --- package.json | 4 +- pnpm-lock.yaml | 580 ++++++++++++++++++--- pnpm-workspace.yaml | 8 +- src/array/compact.spec.ts | 2 +- src/array/copy.spec.ts | 2 +- src/array/ensureArray.spec.ts | 2 +- src/array/getRandom.spec.ts | 3 +- src/array/isEmpty.spec.ts | 2 +- src/array/isLastIndex.spec.ts | 4 +- src/array/isNullOrEmptyArray.spec.ts | 2 +- src/array/range.spec.ts | 2 +- src/array/shuffle.spec.ts | 2 +- src/array/toArray.spec.ts | 2 +- src/array/uniq.spec.ts | 2 +- src/boolean/randomBool.spec.ts | 3 +- src/error/assert.spec.ts | 2 +- src/error/assertNotNull.spec.ts | 2 +- src/error/throwErr.spec.ts | 2 +- src/function/callAll.spec.ts | 2 +- src/function/compose.spec.ts | 2 +- src/function/debounce.spec.ts | 2 +- src/function/formatSeconds.spec.ts | 2 +- src/function/noop.spec.ts | 2 +- src/function/not.spec.ts | 2 +- src/function/pipe.spec.ts | 2 +- src/function/sleep.spec.ts | 2 +- src/function/throttle.spec.ts | 2 +- src/function/tryOr.spec.ts | 10 +- src/guards/isBoolean.spec.ts | 2 +- src/guards/isEmptyObject.spec.ts | 2 +- src/guards/isFunction.spec.ts | 2 +- src/guards/isIterable.spec.ts | 2 +- src/guards/isMap.spec.ts | 2 +- src/guards/isNotNull.spec.ts | 2 +- src/guards/isNull.spec.ts | 2 +- src/guards/isObject.spec.ts | 2 +- src/guards/isPlainObject.spec.ts | 2 +- src/guards/isPromise.spec.ts | 2 +- src/guards/isSet.spec.ts | 2 +- src/guards/isString.spec.ts | 2 +- src/guards/isTruthy.spec.ts | 2 +- src/internals/changeCase.spec.ts | 2 +- src/node/getNodeEnv.spec.ts | 2 +- src/node/isDev.spec.ts | 2 +- src/node/isProd.spec.ts | 2 +- src/nullable/asyncNullableTryCatch.spec.ts | 4 +- src/nullable/bind.spec.ts | 2 +- src/nullable/concatArrays.spec.ts | 2 +- src/nullable/nullableTryCatch.spec.ts | 4 +- src/number/clamp.spec.ts | 2 +- src/number/dec.spec.ts | 2 +- src/number/divide.spec.ts | 2 +- src/number/fallbackNumber.spec.ts | 2 +- src/number/inc.spec.ts | 2 +- src/number/isInRange.spec.ts | 2 +- src/number/isNegative.spec.ts | 2 +- src/number/isPositive.spec.ts | 2 +- src/number/mod.spec.ts | 2 +- src/number/percent.spec.ts | 2 +- src/number/randomInt.spec.ts | 3 +- src/number/toDecimal.spec.ts | 2 +- src/object/clone.spec.ts | 2 +- src/object/isEqual.spec.ts | 2 +- src/object/merge.spec.ts | 2 +- src/object/pruneKeyWhen.spec.ts | 2 +- src/object/pruneValueWhen.spec.ts | 2 +- src/object/replace.spec.ts | 2 +- src/regex/escapeRegex.spec.ts | 2 +- src/regex/testRegex.spec.ts | 2 +- src/runtime/fixtures.ts | 17 +- src/runtime/isBrowser.spec.ts | 2 +- src/runtime/isBun.spec.ts | 2 +- src/runtime/isDeno.spec.ts | 2 +- src/runtime/isNodeJS.spec.ts | 2 +- src/runtime/isServer.spec.ts | 2 +- src/string/comparePaths.spec.ts | 2 +- src/string/crlfToLf.spec.ts | 2 +- src/string/fallbackString.spec.ts | 2 +- src/string/getInitials.spec.ts | 2 +- src/string/isLowerCase.spec.ts | 2 +- src/string/isNullOrEmptyString.spec.ts | 2 +- src/string/joinPaths.spec.ts | 2 +- src/string/removeLeadingSlashes.spec.ts | 2 +- src/string/removeTrailingSlashes.spec.ts | 2 +- src/string/toCamelCase.spec.ts | 2 +- src/string/toCapitalCase.spec.ts | 2 +- src/string/toKebabCase.spec.ts | 2 +- src/string/toPascalCase.spec.ts | 2 +- src/string/toSnakeCase.spec.ts | 2 +- src/string/toSpaceCase.spec.ts | 2 +- src/types/getTypeOf.spec.ts | 2 +- src/types/mutability.spec.ts | 2 +- 92 files changed, 614 insertions(+), 188 deletions(-) diff --git a/package.json b/package.json index bbcd7772..c55555f5 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "devDependencies": { "@commitlint/cli": "20.2.0", "@commitlint/config-conventional": "20.2.0", - "@fullstacksjs/oxlint-config": "0.6.1", + "@fullstacksjs/oxlint-config": "1.0.2", "@semantic-release/github": "12.0.2", "@semantic-release/npm": "13.1.3", "@semantic-release/release-notes-generator": "14.1.0", @@ -55,7 +55,7 @@ "oxlint": "1.76.0", "pkg-ok": "3.0.0", "semantic-release": "25.0.2", - "typescript": "5.9.3", + "typescript": "7.0.2", "vite-plus": "0.2.6", "vitest": "4.1.10" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9ae3ceba..3a509cf6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -204,7 +204,7 @@ settings: excludeLinksFromLockfile: false overrides: - vite: npm:@voidzero-dev/vite-plus-core@0.2.6 + vite: npm:@voidzero-dev/vite-plus-core@0.3.0 vitest: 4.1.10 importers: @@ -213,22 +213,22 @@ importers: devDependencies: '@commitlint/cli': specifier: 20.2.0 - version: 20.2.0(@types/node@24.9.1)(conventional-commits-filter@5.0.0)(conventional-commits-parser@6.4.0)(typescript@5.9.3) + version: 20.2.0(@types/node@24.9.1)(conventional-commits-filter@5.0.0)(conventional-commits-parser@6.4.0)(typescript@7.0.2) '@commitlint/config-conventional': specifier: 20.2.0 version: 20.2.0 '@fullstacksjs/oxlint-config': - specifier: 0.6.1 - version: 0.6.1(eslint@9.38.0(jiti@2.7.0)(supports-color@7.2.0)) + specifier: 1.0.2 + version: 1.0.2(eslint@9.38.0(jiti@2.7.0)(supports-color@7.2.0)) '@semantic-release/github': specifier: 12.0.2 - version: 12.0.2(semantic-release@25.0.2(supports-color@7.2.0)(typescript@5.9.3))(supports-color@7.2.0) + version: 12.0.2(semantic-release@25.0.2(supports-color@7.2.0)(typescript@7.0.2))(supports-color@7.2.0) '@semantic-release/npm': specifier: 13.1.3 - version: 13.1.3(semantic-release@25.0.2(supports-color@7.2.0)(typescript@5.9.3)) + version: 13.1.3(semantic-release@25.0.2(supports-color@7.2.0)(typescript@7.0.2)) '@semantic-release/release-notes-generator': specifier: 14.1.0 - version: 14.1.0(semantic-release@25.0.2(supports-color@7.2.0)(typescript@5.9.3))(supports-color@7.2.0) + version: 14.1.0(semantic-release@25.0.2(supports-color@7.2.0)(typescript@7.0.2))(supports-color@7.2.0) '@types/node': specifier: 24.9.1 version: 24.9.1 @@ -255,22 +255,22 @@ importers: version: 4.1.5 oxlint: specifier: 1.76.0 - version: 1.76.0(oxlint-tsgolint@7.0.2001)(vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)) + version: 1.76.0(oxlint-tsgolint@7.0.2001)(vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)) pkg-ok: specifier: 3.0.0 version: 3.0.0 semantic-release: specifier: 25.0.2 - version: 25.0.2(supports-color@7.2.0)(typescript@5.9.3) + version: 25.0.2(supports-color@7.2.0)(typescript@7.0.2) typescript: - specifier: 5.9.3 - version: 5.9.3 + specifier: 7.0.2 + version: 7.0.2 vite-plus: specifier: 0.2.6 - version: 0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0) + version: 0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0) vitest: specifier: 4.1.10 - version: 4.1.10(@types/node@24.9.1)(@vitest/browser-preview@4.1.10)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)) + version: 4.1.10(@types/node@24.9.1)(@vitest/browser-preview@4.1.10)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)) packages: @@ -679,8 +679,8 @@ packages: resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@fullstacksjs/oxlint-config@0.6.1': - resolution: {integrity: sha512-wqtpZdiMop1xezOxkgoQH8vDfB851Y1kGdz3qBaANCmUWUzQgI6lSXvu+07O+iAUHwdSr2KQBJDoBC8cGLyQyQ==} + '@fullstacksjs/oxlint-config@1.0.2': + resolution: {integrity: sha512-0zTsZRaO0gXbNVtkflxAcekVEVhxNILImkH8fvJ2eAFF5fq4s7eD1HE0wwQnMXD4cXgV0fPEiVjrzX+1hj9UiQ==} '@humanfs/core@0.19.2': resolution: {integrity: sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==} @@ -764,9 +764,16 @@ packages: resolution: {integrity: sha512-Z/6jQ0dyvE2fVjMUO7GoD4h+3q0G4lI4BWQNjaPhC4RPxaS4hF1b7/QYKB/Tl+KAQwqqKgMF54ukR/VvV5FILg==} engines: {node: ^20.19.0 || >=22.12.0} + '@oxc-project/runtime@0.146.0': + resolution: {integrity: sha512-lbXHIpZ1MmK6zuw5txlMdIZ2waLVUIU5Gnm3sEuwJOiqDfQfbtjeHscatmeBoxbv8+If9LFM6PGh/3DcDWYIYw==} + engines: {node: ^20.19.0 || >=22.12.0} + '@oxc-project/types@0.141.0': resolution: {integrity: sha512-S4as7z0j0xQkXcJlyY5ehntwK8/wRkQb9Cyqw+J/N2rkWGQGK0SxD6X6DhQTc7qsxVTBxXbxZtBJh3mr3PtIzQ==} + '@oxc-project/types@0.146.0': + resolution: {integrity: sha512-XC0QsnnhVe7sLIWmYmdPw7x5P0h4W8vUU3Nv1ySgWXtvCz8NizoAEpGXA0sOYoJQV2Rl13LgURAHQ5cI5ILCSA==} + '@oxfmt/binding-android-arm-eabi@0.60.0': resolution: {integrity: sha512-1q4q4Jc8FlOMVojEisyFAVyl8h1yawNv6phjgmhGVEDeyeOdsSnSr9x0+D4mOnEKvpO5L4mxKZ/DP9X6U3A/Mw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1266,6 +1273,126 @@ packages: '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} + '@typescript/typescript-aix-ppc64@7.0.2': + resolution: {integrity: sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==} + engines: {node: '>=16.20.0'} + cpu: [ppc64] + os: [aix] + + '@typescript/typescript-darwin-arm64@7.0.2': + resolution: {integrity: sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [darwin] + + '@typescript/typescript-darwin-x64@7.0.2': + resolution: {integrity: sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [darwin] + + '@typescript/typescript-freebsd-arm64@7.0.2': + resolution: {integrity: sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [freebsd] + + '@typescript/typescript-freebsd-x64@7.0.2': + resolution: {integrity: sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [freebsd] + + '@typescript/typescript-linux-arm64@7.0.2': + resolution: {integrity: sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [linux] + + '@typescript/typescript-linux-arm@7.0.2': + resolution: {integrity: sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==} + engines: {node: '>=16.20.0'} + cpu: [arm] + os: [linux] + + '@typescript/typescript-linux-loong64@7.0.2': + resolution: {integrity: sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==} + engines: {node: '>=16.20.0'} + cpu: [loong64] + os: [linux] + + '@typescript/typescript-linux-mips64el@7.0.2': + resolution: {integrity: sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==} + engines: {node: '>=16.20.0'} + cpu: [mips64el] + os: [linux] + + '@typescript/typescript-linux-ppc64@7.0.2': + resolution: {integrity: sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==} + engines: {node: '>=16.20.0'} + cpu: [ppc64] + os: [linux] + + '@typescript/typescript-linux-riscv64@7.0.2': + resolution: {integrity: sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==} + engines: {node: '>=16.20.0'} + cpu: [riscv64] + os: [linux] + + '@typescript/typescript-linux-s390x@7.0.2': + resolution: {integrity: sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==} + engines: {node: '>=16.20.0'} + cpu: [s390x] + os: [linux] + + '@typescript/typescript-linux-x64@7.0.2': + resolution: {integrity: sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [linux] + + '@typescript/typescript-netbsd-arm64@7.0.2': + resolution: {integrity: sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [netbsd] + + '@typescript/typescript-netbsd-x64@7.0.2': + resolution: {integrity: sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [netbsd] + + '@typescript/typescript-openbsd-arm64@7.0.2': + resolution: {integrity: sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [openbsd] + + '@typescript/typescript-openbsd-x64@7.0.2': + resolution: {integrity: sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [openbsd] + + '@typescript/typescript-sunos-x64@7.0.2': + resolution: {integrity: sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [sunos] + + '@typescript/typescript-win32-arm64@7.0.2': + resolution: {integrity: sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==} + engines: {node: '>=16.20.0'} + cpu: [arm64] + os: [win32] + + '@typescript/typescript-win32-x64@7.0.2': + resolution: {integrity: sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [win32] + '@vitest/browser-preview@4.1.10': resolution: {integrity: sha512-14MJrL59ZFkqXLjwfSk6RzTDy5Czf9UG4+8q8L6Gxjs2aPjEce/cVNYV14bXAc2BvMjUNu904+ZEZA1Xc1wtvQ==} peerDependencies: @@ -1371,18 +1498,87 @@ packages: yaml: optional: true + '@voidzero-dev/vite-plus-core@0.3.0': + resolution: {integrity: sha512-aOqoqIWaF+Q/geDU48pC2rVFEVSvLV1GGj/NdvhUiBhCZntoFNbwI+hjUeG8BMaPG67sOV6ey+/sgkdmGmKqaw==} + engines: {node: ^20.19.0 || ^22.18.0 || >=24.11.0} + peerDependencies: + '@arethetypeswrong/core': ^0.18.1 + '@types/node': ^20.19.0 || >=22.12.0 + '@vitejs/devtools': ^0.4.0 || ^0.5.0 + esbuild: ^0.27.0 || ^0.28.0 + jiti: '>=1.21.0' + less: ^4.0.0 + publint: ^0.3.8 + sass: ^1.70.0 + sass-embedded: ^1.70.0 + stylus: '>=0.54.8' + sugarss: ^5.0.0 + terser: ^5.16.0 + tsx: ^4.8.1 + typescript: ^5.0.0 || ^6.0.0 || ^7.0.0 + unplugin-unused: ^0.5.0 + unrun: '*' + yaml: ^2.4.2 + peerDependenciesMeta: + '@arethetypeswrong/core': + optional: true + '@types/node': + optional: true + '@vitejs/devtools': + optional: true + esbuild: + optional: true + jiti: + optional: true + less: + optional: true + publint: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + typescript: + optional: true + unplugin-unused: + optional: true + unrun: + optional: true + yaml: + optional: true + '@voidzero-dev/vite-plus-darwin-arm64@0.2.6': resolution: {integrity: sha512-QSZWgfqPx5lrIKZ0vwgVRujRqo7gORcc9Oq4fI1UDjKZFgYz9gXVMibSjEqYU3R1webN6FKTOCnzFmrfXchWYw==} engines: {node: '>=20.0.0'} cpu: [arm64] os: [darwin] + '@voidzero-dev/vite-plus-darwin-arm64@0.3.0': + resolution: {integrity: sha512-9ADr1egZ8T4tJOqrpQLhoDl95Y74R95+bsvjmin0gy1C0eQVhpmcNnBfb07KFNhJioJp9MMO7F7Dx4fQL5SKsw==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [darwin] + '@voidzero-dev/vite-plus-darwin-x64@0.2.6': resolution: {integrity: sha512-pMQZGCQO0s+akuxbjgh31hOUgrdDndCmfbP7BciJuts436qrBb8KaVzBhNjJQtxD6H8yY21CIOjD8nlrp4eDIw==} engines: {node: '>=20.0.0'} cpu: [x64] os: [darwin] + '@voidzero-dev/vite-plus-darwin-x64@0.3.0': + resolution: {integrity: sha512-GegasVCwNeDOkNyvhLOuwU1+T2JkjY/Tq+SOvwphUpVcqQ6OOAUq9LlpoXviO2QL/Kq2NbMYjiAfPKVSTLUFQw==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [darwin] + '@voidzero-dev/vite-plus-linux-arm64-gnu@0.2.6': resolution: {integrity: sha512-0e6nrJgUDN5WwoDRjyh7KV/jbL7WDUhTEWslI64KGpuvD7M6OoPBXYo8Et176O2ENwf52CKVDjXwuvMMNIAzAA==} engines: {node: '>=20.0.0'} @@ -1390,6 +1586,13 @@ packages: os: [linux] libc: [glibc] + '@voidzero-dev/vite-plus-linux-arm64-gnu@0.3.0': + resolution: {integrity: sha512-nYI3KNYXkXjRPsSdR4Lr7J2xMxfR1+TplWlG/dV37qVXWAjbyHpoAlbULjZBAVJMyXRNlcADhBrEwXe4g6s48A==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [linux] + libc: [glibc] + '@voidzero-dev/vite-plus-linux-arm64-musl@0.2.6': resolution: {integrity: sha512-j2yvyv3r2ZEuJG73rWlXFrYrxA7u5+bFSlWTqhsfHZhdb1FKMkklfYRuLtBBdBRLXJ+YMNt9GZT6VTVPJDZnnQ==} engines: {node: '>=20.0.0'} @@ -1397,6 +1600,13 @@ packages: os: [linux] libc: [musl] + '@voidzero-dev/vite-plus-linux-arm64-musl@0.3.0': + resolution: {integrity: sha512-HRlVA3AOcuGXmOdHhQ+Zv5XAaKbYF9si5rRHoOsKl0UyBo4txA3OoJfmP0WjanfLUNmu85JyO2dO1ptL4C6wgg==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [linux] + libc: [musl] + '@voidzero-dev/vite-plus-linux-x64-gnu@0.2.6': resolution: {integrity: sha512-5vqldBBnRjIAUmQ88oKli+wPd5vSQaA2AZ2xs+omRlZfeJhC8chlud6DyJV6fVZCC9GI4otK2zSGpfQZx8Kc3A==} engines: {node: '>=20.0.0'} @@ -1404,6 +1614,13 @@ packages: os: [linux] libc: [glibc] + '@voidzero-dev/vite-plus-linux-x64-gnu@0.3.0': + resolution: {integrity: sha512-9A+dFScPfwcrzF/rRR0zH8++2hOf6xtFmN/5LyzyfUywtw9MILXcC72IMcOeL6QRJwKUMsudi1rFeDE59azNvw==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [linux] + libc: [glibc] + '@voidzero-dev/vite-plus-linux-x64-musl@0.2.6': resolution: {integrity: sha512-29ned+euDKAl+BmCigzGrPykQ/kxTjtsPGV6G3hkImwakHNUnmLRayqmsWKHSwXmBk5xo5m+wqjMbo3G0npJQg==} engines: {node: '>=20.0.0'} @@ -1411,18 +1628,37 @@ packages: os: [linux] libc: [musl] + '@voidzero-dev/vite-plus-linux-x64-musl@0.3.0': + resolution: {integrity: sha512-KfIV3qaPdaOOE8JQMRHRE34FtZocl9O86XLTP6JMjDUlcx8FPgf8/fz/HFqJ8g232vM+JsgLI/YTVeXP8LkTKw==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [linux] + libc: [musl] + '@voidzero-dev/vite-plus-win32-arm64-msvc@0.2.6': resolution: {integrity: sha512-4b5ASpQlkxSXDYzuM6MYsOc1GnYkqG9CbSA1QzobXm87V/Q+MGPn57eILyacgfbmNNLrO2HQ5hasoLvd2BXaSg==} engines: {node: '>=20.0.0'} cpu: [arm64] os: [win32] + '@voidzero-dev/vite-plus-win32-arm64-msvc@0.3.0': + resolution: {integrity: sha512-KRhdy5K13AYx9KBfCVHRrK7zSZU+bMW9CL6gTai+UkJgAmDJi1kjdSNboZOjO8mrzUnTCrELgMI2tnstcxSTuA==} + engines: {node: '>=20.0.0'} + cpu: [arm64] + os: [win32] + '@voidzero-dev/vite-plus-win32-x64-msvc@0.2.6': resolution: {integrity: sha512-rvGkm4WmVkCKPhvUbLkRtlVhi7EYb8GU8KaqIGJ0dVfNQHDEqnFboaiUHuPN1npFNwB+80Ulzz9AkQ/Q8MswQA==} engines: {node: '>=20.0.0'} cpu: [x64] os: [win32] + '@voidzero-dev/vite-plus-win32-x64-msvc@0.3.0': + resolution: {integrity: sha512-7+G+GxGmxdpQO0zjiGnkZFXKGqm0CrVduebRsJd6ccuOuxCQYPxLcoHq4WOaGrh56SrAGS7XjhnQCrXRkzKUVQ==} + engines: {node: '>=20.0.0'} + cpu: [x64] + os: [win32] + '@yuku-codegen/binding-darwin-arm64@0.5.48': resolution: {integrity: sha512-yo96Oef12WzqnphInfz/eexVse3+kWgfGS5g2S3rFS3dcGn1ENW9xLFDZUP9rh+yP76DOq38wBoFi1+I9+6qBg==} cpu: [arm64] @@ -1775,6 +2011,12 @@ packages: concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + confbox@0.1.8: + resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} + + confbox@0.3.1: + resolution: {integrity: sha512-cKUSoKa8YxFZZSmraVi7onONx3amu77ngK3kGpsYHDH7drPwCRkQE1RYMPlLRrMtnciRj274XNRxcHxnKmDSnA==} + config-chain@1.1.13: resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==} @@ -2108,6 +2350,9 @@ packages: resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==} engines: {node: '>=12.0.0'} + exsolve@1.1.1: + resolution: {integrity: sha512-9U/jZUgjnSGyntRr6y5Muu1MJcwFl6kPu7k8qLF0IMNfLqvw0NZ4nnVDq0RVoZ0RvCyumib4Ez3KYrVfilrw+g==} + fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -2735,6 +2980,10 @@ packages: resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==} engines: {node: '>=4'} + local-pkg@1.2.1: + resolution: {integrity: sha512-++gUqRDEvcnN6Zhqrr+y/CkVEHhlrR96vZn3nZZPYzMcBUyBtTKzB9NadClFIsIVSsu+3i9tfk/erqy9kAmt7Q==} + engines: {node: '>=14'} + locate-path@2.0.0: resolution: {integrity: sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==} engines: {node: '>=4'} @@ -2862,6 +3111,9 @@ packages: minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + mlly@1.8.2: + resolution: {integrity: sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==} + mrmime@2.0.1: resolution: {integrity: sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==} engines: {node: '>=10'} @@ -3349,6 +3601,12 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} hasBin: true + pkg-types@1.3.1: + resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==} + + pkg-types@2.3.3: + resolution: {integrity: sha512-j/lCFdcppV0JxWpCEITdbDltBxPP6cHT+yNJ6Go2OgoSA9518X847X9z0p6LtA4Nc16+eQzCZjRrWanTGvHJ5w==} + pngjs@7.0.0: resolution: {integrity: sha512-LKWqWJRhstyYo9pGvgor/ivk2w94eSjE3RGVuzLGlr3NmD8bf7RcYGze1mNdEHRP6TRP6rMuDHk5t44hnTRyow==} engines: {node: '>=14.19.0'} @@ -3383,6 +3641,9 @@ packages: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} + quansync@0.2.11: + resolution: {integrity: sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==} + quick-lru@5.1.1: resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} engines: {node: '>=10'} @@ -3829,11 +4090,14 @@ packages: resolution: {integrity: sha512-phPGCwqr2+Qo0fwniCE8e4pKnGu/yFb5nD5Y8bf0EEeiI5GklnACYA9GFy/DrAeRrKHXvHn+1SUsOWgJp6RO+g==} engines: {node: '>= 0.4'} - typescript@5.9.3: - resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} - engines: {node: '>=14.17'} + typescript@7.0.2: + resolution: {integrity: sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==} + engines: {node: '>=16.20.0'} hasBin: true + ufo@1.6.4: + resolution: {integrity: sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==} + uglify-js@3.19.3: resolution: {integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==} engines: {node: '>=0.8.0'} @@ -4118,11 +4382,11 @@ snapshots: '@colors/colors@1.5.0': optional: true - '@commitlint/cli@20.2.0(@types/node@24.9.1)(conventional-commits-filter@5.0.0)(conventional-commits-parser@6.4.0)(typescript@5.9.3)': + '@commitlint/cli@20.2.0(@types/node@24.9.1)(conventional-commits-filter@5.0.0)(conventional-commits-parser@6.4.0)(typescript@7.0.2)': dependencies: '@commitlint/format': 20.5.0 '@commitlint/lint': 20.5.3 - '@commitlint/load': 20.5.3(@types/node@24.9.1)(typescript@5.9.3) + '@commitlint/load': 20.5.3(@types/node@24.9.1)(typescript@7.0.2) '@commitlint/read': 20.5.0(conventional-commits-filter@5.0.0)(conventional-commits-parser@6.4.0) '@commitlint/types': 20.5.0 tinyexec: 1.2.4 @@ -4167,14 +4431,14 @@ snapshots: '@commitlint/rules': 20.5.3 '@commitlint/types': 20.5.0 - '@commitlint/load@20.5.3(@types/node@24.9.1)(typescript@5.9.3)': + '@commitlint/load@20.5.3(@types/node@24.9.1)(typescript@7.0.2)': dependencies: '@commitlint/config-validator': 20.5.0 '@commitlint/execute-rule': 20.0.0 '@commitlint/resolve-extends': 20.5.3 '@commitlint/types': 20.5.0 - cosmiconfig: 9.0.2(typescript@5.9.3) - cosmiconfig-typescript-loader: 6.3.0(@types/node@24.9.1)(cosmiconfig@9.0.2(typescript@5.9.3))(typescript@5.9.3) + cosmiconfig: 9.0.2(typescript@7.0.2) + cosmiconfig-typescript-loader: 6.3.0(@types/node@24.9.1)(cosmiconfig@9.0.2(typescript@7.0.2))(typescript@7.0.2) es-toolkit: 1.50.0 is-plain-obj: 4.1.0 picocolors: 1.1.1 @@ -4509,9 +4773,10 @@ snapshots: '@eslint/core': 0.17.0 levn: 0.4.1 - '@fullstacksjs/oxlint-config@0.6.1(eslint@9.38.0(jiti@2.7.0)(supports-color@7.2.0))': + '@fullstacksjs/oxlint-config@1.0.2(eslint@9.38.0(jiti@2.7.0)(supports-color@7.2.0))': dependencies: eslint-plugin-regexp: 3.1.1(eslint@9.38.0(jiti@2.7.0)(supports-color@7.2.0)) + local-pkg: 1.2.1 transitivePeerDependencies: - eslint @@ -4602,8 +4867,12 @@ snapshots: '@oxc-project/runtime@0.141.0': {} + '@oxc-project/runtime@0.146.0': {} + '@oxc-project/types@0.141.0': {} + '@oxc-project/types@0.146.0': {} + '@oxfmt/binding-android-arm-eabi@0.60.0': optional: true @@ -4811,7 +5080,7 @@ snapshots: '@sec-ant/readable-stream@0.4.1': {} - '@semantic-release/commit-analyzer@13.0.1(semantic-release@25.0.2(supports-color@7.2.0)(typescript@5.9.3))(supports-color@7.2.0)': + '@semantic-release/commit-analyzer@13.0.1(semantic-release@25.0.2(supports-color@7.2.0)(typescript@7.0.2))(supports-color@7.2.0)': dependencies: conventional-changelog-angular: 8.3.1 conventional-changelog-writer: 8.4.0 @@ -4821,13 +5090,13 @@ snapshots: import-from-esm: 2.0.0(supports-color@7.2.0) lodash-es: 4.18.1 micromatch: 4.0.8 - semantic-release: 25.0.2(supports-color@7.2.0)(typescript@5.9.3) + semantic-release: 25.0.2(supports-color@7.2.0)(typescript@7.0.2) transitivePeerDependencies: - supports-color '@semantic-release/error@4.0.0': {} - '@semantic-release/github@12.0.2(semantic-release@25.0.2(supports-color@7.2.0)(typescript@5.9.3))(supports-color@7.2.0)': + '@semantic-release/github@12.0.2(semantic-release@25.0.2(supports-color@7.2.0)(typescript@7.0.2))(supports-color@7.2.0)': dependencies: '@octokit/core': 7.0.6 '@octokit/plugin-paginate-rest': 14.0.0(@octokit/core@7.0.6) @@ -4843,14 +5112,14 @@ snapshots: lodash-es: 4.18.1 mime: 4.1.0 p-filter: 4.1.0 - semantic-release: 25.0.2(supports-color@7.2.0)(typescript@5.9.3) + semantic-release: 25.0.2(supports-color@7.2.0)(typescript@7.0.2) tinyglobby: 0.2.17 undici: 7.29.0 url-join: 5.0.0 transitivePeerDependencies: - supports-color - '@semantic-release/npm@13.1.3(semantic-release@25.0.2(supports-color@7.2.0)(typescript@5.9.3))': + '@semantic-release/npm@13.1.3(semantic-release@25.0.2(supports-color@7.2.0)(typescript@7.0.2))': dependencies: '@actions/core': 2.0.3 '@semantic-release/error': 4.0.0 @@ -4865,11 +5134,11 @@ snapshots: rc: 1.2.8 read-pkg: 10.1.0 registry-auth-token: 5.1.1 - semantic-release: 25.0.2(supports-color@7.2.0)(typescript@5.9.3) + semantic-release: 25.0.2(supports-color@7.2.0)(typescript@7.0.2) semver: 7.8.5 tempy: 3.2.0 - '@semantic-release/release-notes-generator@14.1.0(semantic-release@25.0.2(supports-color@7.2.0)(typescript@5.9.3))(supports-color@7.2.0)': + '@semantic-release/release-notes-generator@14.1.0(semantic-release@25.0.2(supports-color@7.2.0)(typescript@7.0.2))(supports-color@7.2.0)': dependencies: conventional-changelog-angular: 8.3.1 conventional-changelog-writer: 8.4.0 @@ -4881,7 +5150,7 @@ snapshots: into-stream: 7.0.0 lodash-es: 4.18.1 read-package-up: 11.0.0 - semantic-release: 25.0.2(supports-color@7.2.0)(typescript@5.9.3) + semantic-release: 25.0.2(supports-color@7.2.0)(typescript@7.0.2) transitivePeerDependencies: - supports-color @@ -4933,28 +5202,88 @@ snapshots: '@types/normalize-package-data@2.4.4': {} - '@vitest/browser-preview@4.1.10(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(vitest@4.1.10)': + '@typescript/typescript-aix-ppc64@7.0.2': + optional: true + + '@typescript/typescript-darwin-arm64@7.0.2': + optional: true + + '@typescript/typescript-darwin-x64@7.0.2': + optional: true + + '@typescript/typescript-freebsd-arm64@7.0.2': + optional: true + + '@typescript/typescript-freebsd-x64@7.0.2': + optional: true + + '@typescript/typescript-linux-arm64@7.0.2': + optional: true + + '@typescript/typescript-linux-arm@7.0.2': + optional: true + + '@typescript/typescript-linux-loong64@7.0.2': + optional: true + + '@typescript/typescript-linux-mips64el@7.0.2': + optional: true + + '@typescript/typescript-linux-ppc64@7.0.2': + optional: true + + '@typescript/typescript-linux-riscv64@7.0.2': + optional: true + + '@typescript/typescript-linux-s390x@7.0.2': + optional: true + + '@typescript/typescript-linux-x64@7.0.2': + optional: true + + '@typescript/typescript-netbsd-arm64@7.0.2': + optional: true + + '@typescript/typescript-netbsd-x64@7.0.2': + optional: true + + '@typescript/typescript-openbsd-arm64@7.0.2': + optional: true + + '@typescript/typescript-openbsd-x64@7.0.2': + optional: true + + '@typescript/typescript-sunos-x64@7.0.2': + optional: true + + '@typescript/typescript-win32-arm64@7.0.2': + optional: true + + '@typescript/typescript-win32-x64@7.0.2': + optional: true + + '@vitest/browser-preview@4.1.10(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(vitest@4.1.10)': dependencies: '@testing-library/dom': 10.4.1 '@testing-library/user-event': 14.6.1(@testing-library/dom@10.4.1) - '@vitest/browser': 4.1.10(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(vitest@4.1.10) - vitest: 4.1.10(@types/node@24.9.1)(@vitest/browser-preview@4.1.10)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)) + '@vitest/browser': 4.1.10(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(vitest@4.1.10) + vitest: 4.1.10(@types/node@24.9.1)(@vitest/browser-preview@4.1.10)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)) transitivePeerDependencies: - bufferutil - msw - utf-8-validate - vite - '@vitest/browser@4.1.10(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(vitest@4.1.10)': + '@vitest/browser@4.1.10(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(vitest@4.1.10)': dependencies: '@blazediff/core': 1.9.1 - '@vitest/mocker': 4.1.10(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)) + '@vitest/mocker': 4.1.10(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)) '@vitest/utils': 4.1.10 magic-string: 0.30.21 pngjs: 7.0.0 sirv: 3.0.2 tinyrainbow: 3.1.1 - vitest: 4.1.10(@types/node@24.9.1)(@vitest/browser-preview@4.1.10)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)) + vitest: 4.1.10(@types/node@24.9.1)(@vitest/browser-preview@4.1.10)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)) ws: 8.21.1 transitivePeerDependencies: - bufferutil @@ -4974,9 +5303,9 @@ snapshots: obug: 2.1.4 std-env: 4.2.0 tinyrainbow: 3.1.1 - vitest: 4.1.10(@types/node@24.9.1)(@vitest/browser-preview@4.1.10)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)) + vitest: 4.1.10(@types/node@24.9.1)(@vitest/browser-preview@4.1.10)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)) optionalDependencies: - '@vitest/browser': 4.1.10(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(vitest@4.1.10) + '@vitest/browser': 4.1.10(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(vitest@4.1.10) '@vitest/expect@4.1.10': dependencies: @@ -4987,13 +5316,13 @@ snapshots: chai: 6.2.2 tinyrainbow: 3.1.1 - '@vitest/mocker@4.1.10(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))': + '@vitest/mocker@4.1.10(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))': dependencies: '@vitest/spy': 4.1.10 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: '@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)' + vite: '@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)' '@vitest/pretty-format@4.1.10': dependencies: @@ -5019,7 +5348,7 @@ snapshots: convert-source-map: 2.0.0 tinyrainbow: 3.1.1 - '@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)': + '@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)': dependencies: '@oxc-project/runtime': 0.141.0 '@oxc-project/types': 0.141.0 @@ -5031,33 +5360,80 @@ snapshots: '@types/node': 24.9.1 fsevents: 2.3.3 jiti: 2.7.0 - typescript: 5.9.3 + typescript: 7.0.2 + yaml: 2.9.0 + + '@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)': + dependencies: + '@oxc-project/runtime': 0.146.0 + '@oxc-project/types': 0.146.0 + lightningcss: 1.33.0 + postcss: 8.5.25 + yuku-codegen: 0.5.48 + yuku-parser: 0.5.48 + optionalDependencies: + '@types/node': 24.9.1 + '@voidzero-dev/vite-plus-darwin-arm64': 0.3.0 + '@voidzero-dev/vite-plus-darwin-x64': 0.3.0 + '@voidzero-dev/vite-plus-linux-arm64-gnu': 0.3.0 + '@voidzero-dev/vite-plus-linux-arm64-musl': 0.3.0 + '@voidzero-dev/vite-plus-linux-x64-gnu': 0.3.0 + '@voidzero-dev/vite-plus-linux-x64-musl': 0.3.0 + '@voidzero-dev/vite-plus-win32-arm64-msvc': 0.3.0 + '@voidzero-dev/vite-plus-win32-x64-msvc': 0.3.0 + fsevents: 2.3.3 + jiti: 2.7.0 + typescript: 7.0.2 yaml: 2.9.0 '@voidzero-dev/vite-plus-darwin-arm64@0.2.6': optional: true + '@voidzero-dev/vite-plus-darwin-arm64@0.3.0': + optional: true + '@voidzero-dev/vite-plus-darwin-x64@0.2.6': optional: true + '@voidzero-dev/vite-plus-darwin-x64@0.3.0': + optional: true + '@voidzero-dev/vite-plus-linux-arm64-gnu@0.2.6': optional: true + '@voidzero-dev/vite-plus-linux-arm64-gnu@0.3.0': + optional: true + '@voidzero-dev/vite-plus-linux-arm64-musl@0.2.6': optional: true + '@voidzero-dev/vite-plus-linux-arm64-musl@0.3.0': + optional: true + '@voidzero-dev/vite-plus-linux-x64-gnu@0.2.6': optional: true + '@voidzero-dev/vite-plus-linux-x64-gnu@0.3.0': + optional: true + '@voidzero-dev/vite-plus-linux-x64-musl@0.2.6': optional: true + '@voidzero-dev/vite-plus-linux-x64-musl@0.3.0': + optional: true + '@voidzero-dev/vite-plus-win32-arm64-msvc@0.2.6': optional: true + '@voidzero-dev/vite-plus-win32-arm64-msvc@0.3.0': + optional: true + '@voidzero-dev/vite-plus-win32-x64-msvc@0.2.6': optional: true + '@voidzero-dev/vite-plus-win32-x64-msvc@0.3.0': + optional: true + '@yuku-codegen/binding-darwin-arm64@0.5.48': optional: true @@ -5358,6 +5734,10 @@ snapshots: concat-map@0.0.1: {} + confbox@0.1.8: {} + + confbox@0.3.1: {} + config-chain@1.1.13: dependencies: ini: 1.3.8 @@ -5394,21 +5774,21 @@ snapshots: core-util-is@1.0.3: {} - cosmiconfig-typescript-loader@6.3.0(@types/node@24.9.1)(cosmiconfig@9.0.2(typescript@5.9.3))(typescript@5.9.3): + cosmiconfig-typescript-loader@6.3.0(@types/node@24.9.1)(cosmiconfig@9.0.2(typescript@7.0.2))(typescript@7.0.2): dependencies: '@types/node': 24.9.1 - cosmiconfig: 9.0.2(typescript@5.9.3) + cosmiconfig: 9.0.2(typescript@7.0.2) jiti: 2.6.1 - typescript: 5.9.3 + typescript: 7.0.2 - cosmiconfig@9.0.2(typescript@5.9.3): + cosmiconfig@9.0.2(typescript@7.0.2): dependencies: env-paths: 2.2.1 import-fresh: 3.3.1 js-yaml: 4.3.0 parse-json: 5.2.0 optionalDependencies: - typescript: 5.9.3 + typescript: 7.0.2 cross-spawn@6.0.6: dependencies: @@ -5830,6 +6210,8 @@ snapshots: expect-type@1.4.0: {} + exsolve@1.1.1: {} + fast-deep-equal@3.1.3: {} fast-equals@6.0.2: {} @@ -6402,6 +6784,12 @@ snapshots: pify: 3.0.0 strip-bom: 3.0.0 + local-pkg@1.2.1: + dependencies: + mlly: 1.8.2 + pkg-types: 2.3.3 + quansync: 0.2.11 + locate-path@2.0.0: dependencies: p-locate: 2.0.0 @@ -6526,6 +6914,13 @@ snapshots: minimist@1.2.8: {} + mlly@1.8.2: + dependencies: + acorn: 8.18.0 + pathe: 2.0.3 + pkg-types: 1.3.1 + ufo: 1.6.4 + mrmime@2.0.1: {} ms@2.1.3: {} @@ -6653,7 +7048,7 @@ snapshots: object-keys: 1.1.1 safe-push-apply: 1.0.0 - oxfmt@0.60.0(vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)): + oxfmt@0.60.0(vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)): dependencies: tinypool: 2.1.0 optionalDependencies: @@ -6676,7 +7071,7 @@ snapshots: '@oxfmt/binding-win32-arm64-msvc': 0.60.0 '@oxfmt/binding-win32-ia32-msvc': 0.60.0 '@oxfmt/binding-win32-x64-msvc': 0.60.0 - vite-plus: 0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0) + vite-plus: 0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0) oxlint-tsgolint@7.0.2001: optionalDependencies: @@ -6687,7 +7082,7 @@ snapshots: '@oxlint-tsgolint/win32-arm64': 7.0.2001 '@oxlint-tsgolint/win32-x64': 7.0.2001 - oxlint@1.75.0(oxlint-tsgolint@7.0.2001)(vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)): + oxlint@1.75.0(oxlint-tsgolint@7.0.2001)(vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)): optionalDependencies: '@oxlint/binding-android-arm-eabi': 1.75.0 '@oxlint/binding-android-arm64': 1.75.0 @@ -6709,9 +7104,9 @@ snapshots: '@oxlint/binding-win32-ia32-msvc': 1.75.0 '@oxlint/binding-win32-x64-msvc': 1.75.0 oxlint-tsgolint: 7.0.2001 - vite-plus: 0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0) + vite-plus: 0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0) - oxlint@1.76.0(oxlint-tsgolint@7.0.2001)(vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)): + oxlint@1.76.0(oxlint-tsgolint@7.0.2001)(vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)): optionalDependencies: '@oxlint/binding-android-arm-eabi': 1.76.0 '@oxlint/binding-android-arm64': 1.76.0 @@ -6733,7 +7128,7 @@ snapshots: '@oxlint/binding-win32-ia32-msvc': 1.76.0 '@oxlint/binding-win32-x64-msvc': 1.76.0 oxlint-tsgolint: 7.0.2001 - vite-plus: 0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0) + vite-plus: 0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0) p-each-series@3.0.0: {} @@ -6846,6 +7241,18 @@ snapshots: meow: 10.1.5 normalize-newline: 4.1.0 + pkg-types@1.3.1: + dependencies: + confbox: 0.1.8 + mlly: 1.8.2 + pathe: 2.0.3 + + pkg-types@2.3.3: + dependencies: + confbox: 0.3.1 + exsolve: 1.1.1 + pathe: 2.0.3 + pngjs@7.0.0: {} possible-typed-array-names@1.1.0: {} @@ -6874,6 +7281,8 @@ snapshots: punycode@2.3.1: {} + quansync@0.2.11: {} + quick-lru@5.1.1: {} rc@1.2.8: @@ -7031,15 +7440,15 @@ snapshots: refa: 0.12.1 regexp-ast-analysis: 0.7.1 - semantic-release@25.0.2(supports-color@7.2.0)(typescript@5.9.3): + semantic-release@25.0.2(supports-color@7.2.0)(typescript@7.0.2): dependencies: - '@semantic-release/commit-analyzer': 13.0.1(semantic-release@25.0.2(supports-color@7.2.0)(typescript@5.9.3))(supports-color@7.2.0) + '@semantic-release/commit-analyzer': 13.0.1(semantic-release@25.0.2(supports-color@7.2.0)(typescript@7.0.2))(supports-color@7.2.0) '@semantic-release/error': 4.0.0 - '@semantic-release/github': 12.0.2(semantic-release@25.0.2(supports-color@7.2.0)(typescript@5.9.3))(supports-color@7.2.0) - '@semantic-release/npm': 13.1.3(semantic-release@25.0.2(supports-color@7.2.0)(typescript@5.9.3)) - '@semantic-release/release-notes-generator': 14.1.0(semantic-release@25.0.2(supports-color@7.2.0)(typescript@5.9.3))(supports-color@7.2.0) + '@semantic-release/github': 12.0.2(semantic-release@25.0.2(supports-color@7.2.0)(typescript@7.0.2))(supports-color@7.2.0) + '@semantic-release/npm': 13.1.3(semantic-release@25.0.2(supports-color@7.2.0)(typescript@7.0.2)) + '@semantic-release/release-notes-generator': 14.1.0(semantic-release@25.0.2(supports-color@7.2.0)(typescript@7.0.2))(supports-color@7.2.0) aggregate-error: 5.0.0 - cosmiconfig: 9.0.2(typescript@5.9.3) + cosmiconfig: 9.0.2(typescript@7.0.2) debug: 4.4.3(supports-color@7.2.0) env-ci: 11.2.0 execa: 9.6.1 @@ -7405,7 +7814,30 @@ snapshots: possible-typed-array-names: 1.1.0 reflect.getprototypeof: 1.0.10 - typescript@5.9.3: {} + typescript@7.0.2: + optionalDependencies: + '@typescript/typescript-aix-ppc64': 7.0.2 + '@typescript/typescript-darwin-arm64': 7.0.2 + '@typescript/typescript-darwin-x64': 7.0.2 + '@typescript/typescript-freebsd-arm64': 7.0.2 + '@typescript/typescript-freebsd-x64': 7.0.2 + '@typescript/typescript-linux-arm': 7.0.2 + '@typescript/typescript-linux-arm64': 7.0.2 + '@typescript/typescript-linux-loong64': 7.0.2 + '@typescript/typescript-linux-mips64el': 7.0.2 + '@typescript/typescript-linux-ppc64': 7.0.2 + '@typescript/typescript-linux-riscv64': 7.0.2 + '@typescript/typescript-linux-s390x': 7.0.2 + '@typescript/typescript-linux-x64': 7.0.2 + '@typescript/typescript-netbsd-arm64': 7.0.2 + '@typescript/typescript-netbsd-x64': 7.0.2 + '@typescript/typescript-openbsd-arm64': 7.0.2 + '@typescript/typescript-openbsd-x64': 7.0.2 + '@typescript/typescript-sunos-x64': 7.0.2 + '@typescript/typescript-win32-arm64': 7.0.2 + '@typescript/typescript-win32-x64': 7.0.2 + + ufo@1.6.4: {} uglify-js@3.19.3: optional: true @@ -7452,24 +7884,24 @@ snapshots: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 - vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0): + vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0): dependencies: '@oxc-project/types': 0.141.0 '@oxlint/plugins': 1.73.0 - '@vitest/browser': 4.1.10(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(vitest@4.1.10) - '@vitest/browser-preview': 4.1.10(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(vitest@4.1.10) + '@vitest/browser': 4.1.10(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(vitest@4.1.10) + '@vitest/browser-preview': 4.1.10(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(vitest@4.1.10) '@vitest/expect': 4.1.10 - '@vitest/mocker': 4.1.10(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)) + '@vitest/mocker': 4.1.10(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)) '@vitest/pretty-format': 4.1.10 '@vitest/runner': 4.1.10 '@vitest/snapshot': 4.1.10 '@vitest/spy': 4.1.10 '@vitest/utils': 4.1.10 - '@voidzero-dev/vite-plus-core': 0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0) - oxfmt: 0.60.0(vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)) - oxlint: 1.75.0(oxlint-tsgolint@7.0.2001)(vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)) + '@voidzero-dev/vite-plus-core': 0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0) + oxfmt: 0.60.0(vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)) + oxlint: 1.75.0(oxlint-tsgolint@7.0.2001)(vite-plus@0.2.6(@types/node@24.9.1)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)) oxlint-tsgolint: 7.0.2001 - vitest: 4.1.10(@types/node@24.9.1)(@vitest/browser-preview@4.1.10)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)) + vitest: 4.1.10(@types/node@24.9.1)(@vitest/browser-preview@4.1.10)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)) optionalDependencies: '@voidzero-dev/vite-plus-darwin-arm64': 0.2.6 '@voidzero-dev/vite-plus-darwin-x64': 0.2.6 @@ -7510,10 +7942,10 @@ snapshots: - vite - yaml - vitest@4.1.10(@types/node@24.9.1)(@vitest/browser-preview@4.1.10)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)): + vitest@4.1.10(@types/node@24.9.1)(@vitest/browser-preview@4.1.10)(@vitest/coverage-v8@4.1.10)(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)): dependencies: '@vitest/expect': 4.1.10 - '@vitest/mocker': 4.1.10(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)) + '@vitest/mocker': 4.1.10(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)) '@vitest/pretty-format': 4.1.10 '@vitest/runner': 4.1.10 '@vitest/snapshot': 4.1.10 @@ -7530,11 +7962,11 @@ snapshots: tinyexec: 1.2.4 tinyglobby: 0.2.17 tinyrainbow: 3.1.1 - vite: '@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0)' + vite: '@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)' why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 24.9.1 - '@vitest/browser-preview': 4.1.10(@voidzero-dev/vite-plus-core@0.2.6(@types/node@24.9.1)(jiti@2.7.0)(typescript@5.9.3)(yaml@2.9.0))(vitest@4.1.10) + '@vitest/browser-preview': 4.1.10(@voidzero-dev/vite-plus-core@0.3.0(@types/node@24.9.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))(vitest@4.1.10) '@vitest/coverage-v8': 4.1.10(@vitest/browser@4.1.10)(vitest@4.1.10) transitivePeerDependencies: - msw diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index f88f07f5..c435b108 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,8 +1,8 @@ saveExact: true catalog: - vite: npm:@voidzero-dev/vite-plus-core@0.2.6 + vite: npm:@voidzero-dev/vite-plus-core@0.3.0 vitest: 4.1.10 - vite-plus: latest + vite-plus: 0.3.0 overrides: vite: 'catalog:' vitest: 'catalog:' @@ -13,7 +13,3 @@ peerDependencyRules: allowedVersions: vite: '*' vitest: '*' -allowBuilds: - unrs-resolver: true -minimumReleaseAgeExclude: - - '@fullstacksjs/oxlint-config@0.6.1' diff --git a/src/array/compact.spec.ts b/src/array/compact.spec.ts index 71a7087c..b746407e 100644 --- a/src/array/compact.spec.ts +++ b/src/array/compact.spec.ts @@ -1,6 +1,6 @@ import { compact } from './compact.ts'; -describe('compact', () => { +describe(compact, () => { it('should return empty array with an empty array as arg', () => { expect(compact([])).toEqual([]); }); diff --git a/src/array/copy.spec.ts b/src/array/copy.spec.ts index ef691000..4e613d3b 100644 --- a/src/array/copy.spec.ts +++ b/src/array/copy.spec.ts @@ -1,6 +1,6 @@ import { copy } from './copy.ts'; -describe('copyArray', () => { +describe(copy, () => { it('return value should be a new array', () => { const array = [1]; const copied = copy(array); diff --git a/src/array/ensureArray.spec.ts b/src/array/ensureArray.spec.ts index e261fd00..adc31fef 100644 --- a/src/array/ensureArray.spec.ts +++ b/src/array/ensureArray.spec.ts @@ -1,6 +1,6 @@ import { ensureArray } from './ensureArray.ts'; -describe('ensureArray', () => { +describe(ensureArray, () => { it(`should return [undefined] when arg is undefined array`, () => { expect(ensureArray(undefined)).toStrictEqual([undefined]); }); diff --git a/src/array/getRandom.spec.ts b/src/array/getRandom.spec.ts index 7e04a697..be7c2e01 100644 --- a/src/array/getRandom.spec.ts +++ b/src/array/getRandom.spec.ts @@ -1,6 +1,7 @@ +/* oxlint-disable vitest/no-conditional-in-test */ import { getRandom } from './getRandom.ts'; -describe('getRandom', () => { +describe(getRandom, () => { it('should return undefined when given empty array', () => { expect(getRandom([])).toBeUndefined(); }); diff --git a/src/array/isEmpty.spec.ts b/src/array/isEmpty.spec.ts index 0d9e3398..b2cc85c2 100644 --- a/src/array/isEmpty.spec.ts +++ b/src/array/isEmpty.spec.ts @@ -1,6 +1,6 @@ import { isEmpty } from './isEmpty.ts'; -describe('isEmpty', () => { +describe(isEmpty, () => { const cases = [ { arr: [], expected: true }, { arr: [1], expected: false }, diff --git a/src/array/isLastIndex.spec.ts b/src/array/isLastIndex.spec.ts index d5c0c1ff..1d2035fc 100644 --- a/src/array/isLastIndex.spec.ts +++ b/src/array/isLastIndex.spec.ts @@ -1,7 +1,7 @@ import { isLastIndex } from './isLastIndex.ts'; -describe('array', () => { - describe('isLastIndex', () => { +describe(isLastIndex, () => { + describe(isLastIndex, () => { const cases = [ { arr: [], index: 0, expected: false }, { arr: [1], index: 0, expected: true }, diff --git a/src/array/isNullOrEmptyArray.spec.ts b/src/array/isNullOrEmptyArray.spec.ts index 51af37b4..0ca268fe 100644 --- a/src/array/isNullOrEmptyArray.spec.ts +++ b/src/array/isNullOrEmptyArray.spec.ts @@ -1,6 +1,6 @@ import { isNullOrEmptyArray } from './isNullOrEmptyArray.ts'; -describe('isNullOrEmptyArray', () => { +describe(isNullOrEmptyArray, () => { const cases = [ { x: null, expected: true }, { x: undefined, expected: true }, diff --git a/src/array/range.spec.ts b/src/array/range.spec.ts index 3256b93e..dba5698c 100644 --- a/src/array/range.spec.ts +++ b/src/array/range.spec.ts @@ -1,6 +1,6 @@ import { range } from './range.ts'; -describe('range', () => { +describe(range, () => { it('should create an empty array for zero-length', () => { expect(range(0)).toStrictEqual([]); }); diff --git a/src/array/shuffle.spec.ts b/src/array/shuffle.spec.ts index a9a3dbdc..2f60cada 100644 --- a/src/array/shuffle.spec.ts +++ b/src/array/shuffle.spec.ts @@ -1,7 +1,7 @@ import { range } from './range.ts'; import { shuffle } from './shuffle.ts'; -describe('shuffle', () => { +describe(shuffle, () => { it('should return an empty array for empty array', () => { expect(shuffle([])).toEqual([]); }); diff --git a/src/array/toArray.spec.ts b/src/array/toArray.spec.ts index a5a2a068..c4c251fb 100644 --- a/src/array/toArray.spec.ts +++ b/src/array/toArray.spec.ts @@ -1,6 +1,6 @@ import { toArray } from './toArray.ts'; -describe('toArray', () => { +describe(toArray, () => { it('should return an empty array for null', () => { expect(toArray(null)).toStrictEqual([]); }); diff --git a/src/array/uniq.spec.ts b/src/array/uniq.spec.ts index c6291e52..9ad8312a 100644 --- a/src/array/uniq.spec.ts +++ b/src/array/uniq.spec.ts @@ -1,6 +1,6 @@ import { uniq } from './uniq.ts'; -describe('uniq', () => { +describe(uniq, () => { it('should not mutate original array', () => { const arr = [1, 2]; diff --git a/src/boolean/randomBool.spec.ts b/src/boolean/randomBool.spec.ts index e78b1259..a1859969 100644 --- a/src/boolean/randomBool.spec.ts +++ b/src/boolean/randomBool.spec.ts @@ -1,6 +1,7 @@ +/* oxlint-disable vitest/no-conditional-in-test */ import { randomBool } from './randomBool.ts'; -describe('randomBool', () => { +describe(randomBool, () => { it('should return an boolean', () => { for (let i = 0; i < 100; i++) { const boolean = randomBool(); diff --git a/src/error/assert.spec.ts b/src/error/assert.spec.ts index b3a52b29..07ec91d7 100644 --- a/src/error/assert.spec.ts +++ b/src/error/assert.spec.ts @@ -1,6 +1,6 @@ import { assert } from './assert.ts'; -describe('assert', () => { +describe(assert, () => { it('should throw error when condition is false', () => { expect(() => assert(false, 'WTF')).toThrow('WTF'); }); diff --git a/src/error/assertNotNull.spec.ts b/src/error/assertNotNull.spec.ts index 763d974e..206f2395 100644 --- a/src/error/assertNotNull.spec.ts +++ b/src/error/assertNotNull.spec.ts @@ -1,6 +1,6 @@ import { assertNotNull } from './assertNotNull.ts'; -describe('assertNotNull', () => { +describe(assertNotNull, () => { it('should throw error when condition is null', () => { expect(() => assertNotNull(null, 'WTF')).toThrow('WTF'); }); diff --git a/src/error/throwErr.spec.ts b/src/error/throwErr.spec.ts index 95aab265..154e5d9e 100644 --- a/src/error/throwErr.spec.ts +++ b/src/error/throwErr.spec.ts @@ -1,6 +1,6 @@ import { throwErr } from './throwErr.ts'; -describe('throwErr', () => { +describe(throwErr, () => { it('should throw Error instance', () => { expect(() => throwErr(new Error('error'))).toThrow('error'); }); diff --git a/src/function/callAll.spec.ts b/src/function/callAll.spec.ts index 1129e788..776a0d17 100644 --- a/src/function/callAll.spec.ts +++ b/src/function/callAll.spec.ts @@ -1,6 +1,6 @@ import { callAll } from './callAll.ts'; -describe('callAll', () => { +describe(callAll, () => { it('should call given functions with an args', () => { const fns = [vi.fn(), vi.fn(), vi.fn()]; const args = [1, 2, 3]; diff --git a/src/function/compose.spec.ts b/src/function/compose.spec.ts index 2a1f1a74..780c4636 100644 --- a/src/function/compose.spec.ts +++ b/src/function/compose.spec.ts @@ -7,7 +7,7 @@ const diff = (a: number, b: number) => a - b; const toString = (n: number) => n.toString(); const padStart = (s: string) => s.padStart(2, '0'); -describe('compose', () => { +describe(compose, () => { it('works when first function has 0 params', () => { expect(compose(one, inc)()).toBe(2); }); diff --git a/src/function/debounce.spec.ts b/src/function/debounce.spec.ts index 8ac25d1e..7a6bcf51 100644 --- a/src/function/debounce.spec.ts +++ b/src/function/debounce.spec.ts @@ -1,6 +1,6 @@ import { debounce } from './debounce.ts'; -describe('debounce', () => { +describe(debounce, () => { beforeEach(() => { vi.useFakeTimers(); }); diff --git a/src/function/formatSeconds.spec.ts b/src/function/formatSeconds.spec.ts index a7621afc..6410dc4d 100644 --- a/src/function/formatSeconds.spec.ts +++ b/src/function/formatSeconds.spec.ts @@ -1,6 +1,6 @@ import { formatSeconds } from './formatSeconds.ts'; -describe('secondToTime', () => { +describe(formatSeconds, () => { it('should return zero when pass 0 seconds', () => { const format = 'mm:ss'; const sec = 0; diff --git a/src/function/noop.spec.ts b/src/function/noop.spec.ts index 4483138e..19842434 100644 --- a/src/function/noop.spec.ts +++ b/src/function/noop.spec.ts @@ -1,6 +1,6 @@ import { noop } from './noop.ts'; -describe('noop', () => { +describe(noop, () => { it('should return undefined', () => { expect(noop()).toBeUndefined(); }); diff --git a/src/function/not.spec.ts b/src/function/not.spec.ts index 67de6536..5fd235d5 100644 --- a/src/function/not.spec.ts +++ b/src/function/not.spec.ts @@ -1,6 +1,6 @@ import { not } from './not.ts'; -describe('not', () => { +describe(not, () => { it('should negate boolean', () => { const t = true; const f = false; diff --git a/src/function/pipe.spec.ts b/src/function/pipe.spec.ts index 2a9e46c9..af467b61 100644 --- a/src/function/pipe.spec.ts +++ b/src/function/pipe.spec.ts @@ -1,6 +1,6 @@ import { pipe } from './pipe.ts'; -describe('pipe', () => { +describe(pipe, () => { it('should pipe value through functions from left to right', () => { const add = (x: number) => x + 1; const multiply = (x: number) => x * 2; diff --git a/src/function/sleep.spec.ts b/src/function/sleep.spec.ts index ae1f2fdc..b74187bb 100644 --- a/src/function/sleep.spec.ts +++ b/src/function/sleep.spec.ts @@ -1,6 +1,6 @@ import { sleep } from './sleep.ts'; -describe('sleep', () => { +describe(sleep, () => { beforeEach(() => { vi.useFakeTimers(); vi.spyOn(globalThis, 'setTimeout'); diff --git a/src/function/throttle.spec.ts b/src/function/throttle.spec.ts index 11904880..8a18bf29 100644 --- a/src/function/throttle.spec.ts +++ b/src/function/throttle.spec.ts @@ -2,7 +2,7 @@ import { throttle } from './throttle.ts'; const oneSecond = 1000; -describe('throttle', () => { +describe(throttle, () => { beforeEach(() => { vi.useFakeTimers(); }); diff --git a/src/function/tryOr.spec.ts b/src/function/tryOr.spec.ts index 4658af9d..f6572f3b 100644 --- a/src/function/tryOr.spec.ts +++ b/src/function/tryOr.spec.ts @@ -1,11 +1,11 @@ import { tryOr } from './tryOr.ts'; -describe('try catch', () => { +describe(tryOr, () => { it('should call the passed function to it', () => { const fn = vi.fn(); tryOr(fn); - expect(fn).toBeCalledWith(); + expect(fn).toHaveBeenCalledWith(); }); it('should return the function return value', () => { @@ -23,7 +23,7 @@ describe('try catch', () => { }; tryOr(fn, handler); - expect(handler).toBeCalledWith('custom error message'); + expect(handler).toHaveBeenCalledWith('custom error message'); }); it('should return the handler return value if there is an error', () => { @@ -49,7 +49,7 @@ describe('try catch', () => { tryOr(fn, handler); - expect(handler).toBeCalledWith(error); + expect(handler).toHaveBeenCalledWith(error); }); it('the default handler should return error', () => { @@ -75,7 +75,7 @@ describe('try catch', () => { const handler = vi.fn(); await tryOr(fn, handler); - expect(handler).toBeCalledWith(1); + expect(handler).toHaveBeenCalledWith(1); }); it("should return the handler return value if it's rejected", async () => { diff --git a/src/guards/isBoolean.spec.ts b/src/guards/isBoolean.spec.ts index 3b80c507..5ed4c010 100644 --- a/src/guards/isBoolean.spec.ts +++ b/src/guards/isBoolean.spec.ts @@ -1,6 +1,6 @@ import { isBoolean } from './isBoolean.ts'; -describe('isBoolean', () => { +describe(isBoolean, () => { const cases = [ { x: true, expected: true }, { x: false, expected: true }, diff --git a/src/guards/isEmptyObject.spec.ts b/src/guards/isEmptyObject.spec.ts index 1eb48241..6897075d 100644 --- a/src/guards/isEmptyObject.spec.ts +++ b/src/guards/isEmptyObject.spec.ts @@ -1,6 +1,6 @@ import { isEmptyObject } from './isEmptyObject.ts'; -describe('isEmptyObject', () => { +describe(isEmptyObject, () => { const cases = [ { x: {}, expected: true }, { x: [], expected: false }, diff --git a/src/guards/isFunction.spec.ts b/src/guards/isFunction.spec.ts index 9835cbaa..ad89a669 100644 --- a/src/guards/isFunction.spec.ts +++ b/src/guards/isFunction.spec.ts @@ -1,6 +1,6 @@ import { isFunction } from './isFunction.ts'; -describe('isFunction', () => { +describe(isFunction, () => { it('should return false for undefined', () => { expect(isFunction(undefined)).toBe(false); }); diff --git a/src/guards/isIterable.spec.ts b/src/guards/isIterable.spec.ts index abfc99d3..fcb0775b 100644 --- a/src/guards/isIterable.spec.ts +++ b/src/guards/isIterable.spec.ts @@ -1,6 +1,6 @@ import { isIterable } from './isIterable.ts'; -describe('isIterable', () => { +describe(isIterable, () => { it('should return false for undefined', () => { expect(isIterable(undefined)).toBe(false); }); diff --git a/src/guards/isMap.spec.ts b/src/guards/isMap.spec.ts index 046f3c9d..0ba19347 100644 --- a/src/guards/isMap.spec.ts +++ b/src/guards/isMap.spec.ts @@ -1,6 +1,6 @@ import { isMap } from './isMap.ts'; -describe('isMap', () => { +describe(isMap, () => { const cases = [ { x: new Map([['a', 1]]), expected: true }, { x: new Map(), expected: true }, diff --git a/src/guards/isNotNull.spec.ts b/src/guards/isNotNull.spec.ts index d500277e..9da7186c 100644 --- a/src/guards/isNotNull.spec.ts +++ b/src/guards/isNotNull.spec.ts @@ -1,6 +1,6 @@ import { isNotNull } from './isNotNull.ts'; -describe('isNotNull', () => { +describe(isNotNull, () => { const cases = [ { x: undefined, expected: false }, { x: null, expected: false }, diff --git a/src/guards/isNull.spec.ts b/src/guards/isNull.spec.ts index 05b2f8f8..4fcc5af5 100644 --- a/src/guards/isNull.spec.ts +++ b/src/guards/isNull.spec.ts @@ -1,6 +1,6 @@ import { isNull } from './isNull.ts'; -describe('isNull', () => { +describe(isNull, () => { const cases = [ { x: undefined, expected: true }, { x: null, expected: true }, diff --git a/src/guards/isObject.spec.ts b/src/guards/isObject.spec.ts index f1762b4b..8f77e646 100644 --- a/src/guards/isObject.spec.ts +++ b/src/guards/isObject.spec.ts @@ -1,6 +1,6 @@ import { isObject } from './isObject.ts'; -describe('isObject', () => { +describe(isObject, () => { const cases = [ { x: '', expected: false }, { x: 'hello world', expected: false }, diff --git a/src/guards/isPlainObject.spec.ts b/src/guards/isPlainObject.spec.ts index 4d8e8bd3..e6255964 100644 --- a/src/guards/isPlainObject.spec.ts +++ b/src/guards/isPlainObject.spec.ts @@ -1,6 +1,6 @@ import { isPlainObject } from './isPlainObject.ts'; -describe('isPlainObject', () => { +describe(isPlainObject, () => { const cases = [ { x: '', expected: false }, { x: 'hello world', expected: false }, diff --git a/src/guards/isPromise.spec.ts b/src/guards/isPromise.spec.ts index 9fa5ef15..c685ee33 100644 --- a/src/guards/isPromise.spec.ts +++ b/src/guards/isPromise.spec.ts @@ -1,6 +1,6 @@ import { isPromise } from './isPromise.ts'; -describe('isPromise', () => { +describe(isPromise, () => { const falseCases = [ null, undefined, diff --git a/src/guards/isSet.spec.ts b/src/guards/isSet.spec.ts index 2f6c1bcf..bbf39722 100644 --- a/src/guards/isSet.spec.ts +++ b/src/guards/isSet.spec.ts @@ -1,6 +1,6 @@ import { isSet } from './isSet.ts'; -describe('isSet', () => { +describe(isSet, () => { const cases = [ { x: new Set([1, 2]), expected: true }, { x: new Set(), expected: true }, diff --git a/src/guards/isString.spec.ts b/src/guards/isString.spec.ts index 69d18cfd..fa590123 100644 --- a/src/guards/isString.spec.ts +++ b/src/guards/isString.spec.ts @@ -1,6 +1,6 @@ import { isString } from './isString.ts'; -describe('isString', () => { +describe(isString, () => { const cases = [ { x: '', expected: true }, { x: undefined, expected: false }, diff --git a/src/guards/isTruthy.spec.ts b/src/guards/isTruthy.spec.ts index 41015ed8..b2b36b64 100644 --- a/src/guards/isTruthy.spec.ts +++ b/src/guards/isTruthy.spec.ts @@ -1,6 +1,6 @@ import { isTruthy } from './isTruthy.ts'; -describe('isTruthy', () => { +describe(isTruthy, () => { const cases = [ { x: undefined, expected: false }, { x: NaN, expected: false }, diff --git a/src/internals/changeCase.spec.ts b/src/internals/changeCase.spec.ts index 1475eddd..db71b265 100644 --- a/src/internals/changeCase.spec.ts +++ b/src/internals/changeCase.spec.ts @@ -1,6 +1,6 @@ import { changeCase } from './changeCase.ts'; -describe('changeCase', () => { +describe(changeCase, () => { const defaultCases = [ { x: '', expected: '' }, { x: ' ', expected: '' }, diff --git a/src/node/getNodeEnv.spec.ts b/src/node/getNodeEnv.spec.ts index 1f51adf1..78adbbec 100644 --- a/src/node/getNodeEnv.spec.ts +++ b/src/node/getNodeEnv.spec.ts @@ -1,6 +1,6 @@ import { getNodeEnv } from './getNodeEnv.ts'; -describe('getNodeEnv', () => { +describe(getNodeEnv, () => { beforeEach(() => { vi.unstubAllEnvs(); }); diff --git a/src/node/isDev.spec.ts b/src/node/isDev.spec.ts index 2f724423..f7c10c5e 100644 --- a/src/node/isDev.spec.ts +++ b/src/node/isDev.spec.ts @@ -1,6 +1,6 @@ import { isDev } from './isDev.ts'; -describe('isDev', () => { +describe(isDev, () => { beforeEach(() => { vi.unstubAllEnvs(); }); diff --git a/src/node/isProd.spec.ts b/src/node/isProd.spec.ts index 444c4e1c..cfe7b88f 100644 --- a/src/node/isProd.spec.ts +++ b/src/node/isProd.spec.ts @@ -1,6 +1,6 @@ import { isProd } from './isProd.ts'; -describe('isProd', () => { +describe(isProd, () => { beforeEach(() => { vi.unstubAllEnvs(); }); diff --git a/src/nullable/asyncNullableTryCatch.spec.ts b/src/nullable/asyncNullableTryCatch.spec.ts index bbd22380..92a36c7d 100644 --- a/src/nullable/asyncNullableTryCatch.spec.ts +++ b/src/nullable/asyncNullableTryCatch.spec.ts @@ -1,11 +1,11 @@ import { asyncNullableTryCatch } from './asyncNullableTryCatch.ts'; -describe('nullable async try catch', () => { +describe(asyncNullableTryCatch, () => { it('should call the passed function to it', async () => { const execute = vi.fn(); await asyncNullableTryCatch(execute); - expect(execute).toBeCalledWith(); + expect(execute).toHaveBeenCalledWith(); }); it('should return the function return value', async () => { diff --git a/src/nullable/bind.spec.ts b/src/nullable/bind.spec.ts index d76dabb5..fe3e24d3 100644 --- a/src/nullable/bind.spec.ts +++ b/src/nullable/bind.spec.ts @@ -11,7 +11,7 @@ const j = (_x: Record): Nullable => false; const k = (x: Nullable) => x; const l = (_x: (number | string)[]) => 50; -describe('bind', () => { +describe(bind, () => { const cases = [ { x: 'normal', fns: [f], expected: 2 }, { x: 'normal', fns: [f, g], expected: [1, 3] }, diff --git a/src/nullable/concatArrays.spec.ts b/src/nullable/concatArrays.spec.ts index c0cd3c2e..4afa40d6 100644 --- a/src/nullable/concatArrays.spec.ts +++ b/src/nullable/concatArrays.spec.ts @@ -1,6 +1,6 @@ import { concatArrays } from './concatArrays.ts'; -describe('concatArrays', () => { +describe(concatArrays, () => { it('should return empty array with no argument', () => { expect(concatArrays()).toEqual([]); }); diff --git a/src/nullable/nullableTryCatch.spec.ts b/src/nullable/nullableTryCatch.spec.ts index 3512fdac..29259aab 100644 --- a/src/nullable/nullableTryCatch.spec.ts +++ b/src/nullable/nullableTryCatch.spec.ts @@ -1,11 +1,11 @@ import { nullableTryCatch } from './nullableTryCatch.ts'; -describe('nullable try catch', () => { +describe(nullableTryCatch, () => { it('should call the passed function to it', () => { const execute = vi.fn(); nullableTryCatch(execute); - expect(execute).toBeCalledWith(); + expect(execute).toHaveBeenCalledWith(); }); it('should return the function return value', () => { diff --git a/src/number/clamp.spec.ts b/src/number/clamp.spec.ts index 5d14b158..833c9c04 100644 --- a/src/number/clamp.spec.ts +++ b/src/number/clamp.spec.ts @@ -1,6 +1,6 @@ import { clamp } from './clamp.ts'; -describe('clamp', () => { +describe(clamp, () => { it('should clamp if value less than min', () => { expect(clamp(-10, 0, 100)).toBe(0); }); diff --git a/src/number/dec.spec.ts b/src/number/dec.spec.ts index 2bb9540a..888b2642 100644 --- a/src/number/dec.spec.ts +++ b/src/number/dec.spec.ts @@ -1,6 +1,6 @@ import { dec } from './dec.ts'; -describe('dec', () => { +describe(dec, () => { it('should decrement by 1', () => { expect(dec(2)).toBe(1); expect(dec(5)).toBe(4); diff --git a/src/number/divide.spec.ts b/src/number/divide.spec.ts index 9cf555e0..d2514beb 100644 --- a/src/number/divide.spec.ts +++ b/src/number/divide.spec.ts @@ -1,6 +1,6 @@ import { divide } from './divide.ts'; -describe('divide', () => { +describe(divide, () => { it('should return the division of two number', () => { expect(divide(4, 2)).toBe(2); }); diff --git a/src/number/fallbackNumber.spec.ts b/src/number/fallbackNumber.spec.ts index 1ba51362..cefeef4b 100644 --- a/src/number/fallbackNumber.spec.ts +++ b/src/number/fallbackNumber.spec.ts @@ -1,6 +1,6 @@ import { fallbackNumber } from './fallbackNumber.ts'; -describe('fallbackNumber', () => { +describe(fallbackNumber, () => { const cases = [ { x: 0, defaultValue: 1, expected: 0 }, { x: null, defaultValue: 1, expected: 1 }, diff --git a/src/number/inc.spec.ts b/src/number/inc.spec.ts index a722a36d..19cbd0fb 100644 --- a/src/number/inc.spec.ts +++ b/src/number/inc.spec.ts @@ -1,6 +1,6 @@ import { inc } from './inc.ts'; -describe('inc', () => { +describe(inc, () => { it('should increment by 1', () => { expect(inc(0)).toBe(1); expect(inc(5)).toBe(6); diff --git a/src/number/isInRange.spec.ts b/src/number/isInRange.spec.ts index 2f5440b3..c1fccfad 100644 --- a/src/number/isInRange.spec.ts +++ b/src/number/isInRange.spec.ts @@ -1,6 +1,6 @@ import { isInRange } from './isInRange.ts'; -describe('isInRange', () => { +describe(isInRange, () => { it('should return false when value is greater than max', () => { expect(isInRange(51, 0, 50)).toBe(false); }); diff --git a/src/number/isNegative.spec.ts b/src/number/isNegative.spec.ts index e72f8798..5741499d 100644 --- a/src/number/isNegative.spec.ts +++ b/src/number/isNegative.spec.ts @@ -1,6 +1,6 @@ import { isNegative } from './isNegative.ts'; -describe('isNegative', () => { +describe(isNegative, () => { it('should return true for negative numbers', () => { expect(isNegative(-0.1)).toBe(true); expect(isNegative(-1)).toBe(true); diff --git a/src/number/isPositive.spec.ts b/src/number/isPositive.spec.ts index 1bacc04d..0be5362e 100644 --- a/src/number/isPositive.spec.ts +++ b/src/number/isPositive.spec.ts @@ -1,6 +1,6 @@ import { isPositive } from './isPositive.ts'; -describe('isPositive', () => { +describe(isPositive, () => { it('should return true for positive numbers', () => { expect(isPositive(0.1)).toBe(true); expect(isPositive(1)).toBe(true); diff --git a/src/number/mod.spec.ts b/src/number/mod.spec.ts index 6188ff16..3c7d2101 100644 --- a/src/number/mod.spec.ts +++ b/src/number/mod.spec.ts @@ -1,6 +1,6 @@ import { mod } from './mod.ts'; -describe('mod', () => { +describe(mod, () => { it.each([ { value: 10, divisor: 10, expected: 0 }, { value: 11, divisor: 10, expected: 1 }, diff --git a/src/number/percent.spec.ts b/src/number/percent.spec.ts index 347a9b26..7ecc0e46 100644 --- a/src/number/percent.spec.ts +++ b/src/number/percent.spec.ts @@ -1,6 +1,6 @@ import { percent } from './percent.ts'; -describe('percent', () => { +describe(percent, () => { const cases = [ { min: 0, max: 10, expected: 0 }, { min: 1, max: 10, expected: 10 }, diff --git a/src/number/randomInt.spec.ts b/src/number/randomInt.spec.ts index 856f15b1..98a01b01 100644 --- a/src/number/randomInt.spec.ts +++ b/src/number/randomInt.spec.ts @@ -1,6 +1,7 @@ +/* oxlint-disable vitest/no-conditional-in-test */ import { randomInt } from './randomInt.ts'; -describe('randomInt', () => { +describe(randomInt, () => { it('should return an integer between the range of min and max', () => { for (let i = 0; i < 100; i++) { const number = randomInt(1, 2); diff --git a/src/number/toDecimal.spec.ts b/src/number/toDecimal.spec.ts index 6d1fbe1e..2cd4d321 100644 --- a/src/number/toDecimal.spec.ts +++ b/src/number/toDecimal.spec.ts @@ -1,6 +1,6 @@ import { toDecimal } from './toDecimal.ts'; -describe('toDecimal', () => { +describe(toDecimal, () => { it('should convert the string to an integer', () => { expect(toDecimal('100')).toBe(100); }); diff --git a/src/object/clone.spec.ts b/src/object/clone.spec.ts index efd6bd98..dcb67920 100644 --- a/src/object/clone.spec.ts +++ b/src/object/clone.spec.ts @@ -1,6 +1,6 @@ import { clone } from './clone.ts'; -describe('clone', () => { +describe(clone, () => { it('the date should not change if its clone changes', () => { const date = new Date(); const clonedDate = clone(date); diff --git a/src/object/isEqual.spec.ts b/src/object/isEqual.spec.ts index ec8d4b0e..c5ec657c 100644 --- a/src/object/isEqual.spec.ts +++ b/src/object/isEqual.spec.ts @@ -1,7 +1,7 @@ import { clone } from './clone.ts'; import { isEqual } from './isEqual.ts'; -describe('isEqual', () => { +describe(isEqual, () => { it('should be able to compare primitives', () => { expect(isEqual('abc', 'abc')).toBe(true); expect(isEqual(1, 1)).toBe(true); diff --git a/src/object/merge.spec.ts b/src/object/merge.spec.ts index af74fda5..9c64553e 100644 --- a/src/object/merge.spec.ts +++ b/src/object/merge.spec.ts @@ -1,6 +1,6 @@ import { merge } from './merge.ts'; -describe('merge', () => { +describe(merge, () => { it('should have all properties', () => { const obj1 = { color: 'black', diff --git a/src/object/pruneKeyWhen.spec.ts b/src/object/pruneKeyWhen.spec.ts index 2a74b5de..f111614f 100644 --- a/src/object/pruneKeyWhen.spec.ts +++ b/src/object/pruneKeyWhen.spec.ts @@ -1,6 +1,6 @@ import { pruneKeyWhen } from './pruneKeyWhen.ts'; -describe('pruneKeyWhen', () => { +describe(pruneKeyWhen, () => { it('should return empty object', () => { expect(pruneKeyWhen({ a: null, b: '' }, key => key === 'b')).toEqual({ a: null, diff --git a/src/object/pruneValueWhen.spec.ts b/src/object/pruneValueWhen.spec.ts index f99f5ed2..09a5b239 100644 --- a/src/object/pruneValueWhen.spec.ts +++ b/src/object/pruneValueWhen.spec.ts @@ -1,6 +1,6 @@ import { pruneValueWhen } from './pruneValueWhen.ts'; -describe('pruneValueWhen', () => { +describe(pruneValueWhen, () => { it('should return empty object', () => { expect( pruneValueWhen({ a: null, b: '', c: undefined }, value => !value), diff --git a/src/object/replace.spec.ts b/src/object/replace.spec.ts index 2f5309bd..25ca43fb 100644 --- a/src/object/replace.spec.ts +++ b/src/object/replace.spec.ts @@ -1,6 +1,6 @@ import { replace } from './replace.ts'; -describe('replace', () => { +describe(replace, () => { it('should not affect the source', () => { const path = 'foo.a.b'; const source = { diff --git a/src/regex/escapeRegex.spec.ts b/src/regex/escapeRegex.spec.ts index 02ad36af..932933ce 100644 --- a/src/regex/escapeRegex.spec.ts +++ b/src/regex/escapeRegex.spec.ts @@ -1,6 +1,6 @@ import { escapeRegex } from './escapeRegex.ts'; -describe('escapeRegex', () => { +describe(escapeRegex, () => { it('should escape all especial characters', () => { expect(new RegExp(escapeRegex('^[](){}$')).test('^[](){}$')).toBe(true); expect(new RegExp(escapeRegex('^a$')).test('a')).toBe(false); diff --git a/src/regex/testRegex.spec.ts b/src/regex/testRegex.spec.ts index e9f6bc41..ff18f48c 100644 --- a/src/regex/testRegex.spec.ts +++ b/src/regex/testRegex.spec.ts @@ -1,6 +1,6 @@ import { testRegex } from './testRegex.ts'; -describe('testRegex', () => { +describe(testRegex, () => { it('should return true when regex is found', () => { const regex = /a/g; diff --git a/src/runtime/fixtures.ts b/src/runtime/fixtures.ts index a88b004d..0b60d687 100644 --- a/src/runtime/fixtures.ts +++ b/src/runtime/fixtures.ts @@ -1,6 +1,7 @@ export function mockNodeGlobal() { - vi.spyOn(globalThis.process, 'versions', 'get').mockImplementationOnce(() => { - return { ...globalThis.process.versions, node: 'mocked' }; + vi.spyOn(globalThis.process, 'versions', 'get').mockReturnValueOnce({ + ...globalThis.process.versions, + node: 'mocked', }); } @@ -16,16 +17,10 @@ export function mockBunGlobal() { } export function mockWindowGlobal() { - vi.spyOn(globalThis.constructor, 'name', 'get').mockImplementationOnce( - () => 'Window', - ); + vi.spyOn(globalThis.constructor, 'name', 'get').mockReturnValueOnce('Window'); - vi.spyOn(globalThis.process, 'versions', 'get').mockImplementationOnce( - // @ts-expect-error Deleting versions from process - () => { - return {}; - }, - ); + // @ts-expect-error Deleting versions from process + vi.spyOn(globalThis.process, 'versions', 'get').mockReturnValueOnce({}); } export function mockDenoGlobal() { diff --git a/src/runtime/isBrowser.spec.ts b/src/runtime/isBrowser.spec.ts index e6f939ef..616c0511 100644 --- a/src/runtime/isBrowser.spec.ts +++ b/src/runtime/isBrowser.spec.ts @@ -7,7 +7,7 @@ import { } from './fixtures.ts'; import { isBrowser } from './isBrowser.ts'; -describe('isBrowser', () => { +describe(isBrowser, () => { afterEach(() => { clearMocks(); }); diff --git a/src/runtime/isBun.spec.ts b/src/runtime/isBun.spec.ts index c975c032..2c1b246c 100644 --- a/src/runtime/isBun.spec.ts +++ b/src/runtime/isBun.spec.ts @@ -7,7 +7,7 @@ import { } from './fixtures.ts'; import { isBun } from './isBun.ts'; -describe('isBun', () => { +describe(isBun, () => { beforeEach(() => { clearMocks(); }); diff --git a/src/runtime/isDeno.spec.ts b/src/runtime/isDeno.spec.ts index 3713b922..2719c0d5 100644 --- a/src/runtime/isDeno.spec.ts +++ b/src/runtime/isDeno.spec.ts @@ -7,7 +7,7 @@ import { } from './fixtures.ts'; import { isDeno } from './isDeno.ts'; -describe('isDeno', () => { +describe(isDeno, () => { beforeEach(() => { clearMocks(); }); diff --git a/src/runtime/isNodeJS.spec.ts b/src/runtime/isNodeJS.spec.ts index b5c61d97..3c578230 100644 --- a/src/runtime/isNodeJS.spec.ts +++ b/src/runtime/isNodeJS.spec.ts @@ -7,7 +7,7 @@ import { } from './fixtures.ts'; import { isNodeJS } from './isNodeJS.ts'; -describe('isNode', () => { +describe(isNodeJS, () => { afterEach(() => { clearMocks(); }); diff --git a/src/runtime/isServer.spec.ts b/src/runtime/isServer.spec.ts index 27c159d7..31808130 100644 --- a/src/runtime/isServer.spec.ts +++ b/src/runtime/isServer.spec.ts @@ -6,7 +6,7 @@ import { } from './fixtures.ts'; import { isServer } from './isServer.ts'; -describe('isServer', () => { +describe(isServer, () => { beforeEach(() => { clearMocks(); }); diff --git a/src/string/comparePaths.spec.ts b/src/string/comparePaths.spec.ts index f3f0f99b..562931e5 100644 --- a/src/string/comparePaths.spec.ts +++ b/src/string/comparePaths.spec.ts @@ -1,6 +1,6 @@ import { comparePaths } from './comparePaths.ts'; -describe('comparePaths', () => { +describe(comparePaths, () => { it('should return 0 if paths are the same', () => { expect(comparePaths('/path1/', '/path1/')).toBe(0); }); diff --git a/src/string/crlfToLf.spec.ts b/src/string/crlfToLf.spec.ts index f6f7a156..5ec54807 100644 --- a/src/string/crlfToLf.spec.ts +++ b/src/string/crlfToLf.spec.ts @@ -1,6 +1,6 @@ import { crlfToLf } from './crlfToLf.ts'; -describe('crlfToLf', () => { +describe(crlfToLf, () => { const cases = [ { x: '', expected: '' }, { x: ' ', expected: ' ' }, diff --git a/src/string/fallbackString.spec.ts b/src/string/fallbackString.spec.ts index 29a2de8c..23e16d5b 100644 --- a/src/string/fallbackString.spec.ts +++ b/src/string/fallbackString.spec.ts @@ -1,6 +1,6 @@ import { fallbackString } from './fallbackString.ts'; -describe('fallbackString', () => { +describe(fallbackString, () => { const cases = [ { x: '', defaultValue: 'd', expected: 'd' }, { x: ' ', defaultValue: 'd', expected: ' ' }, diff --git a/src/string/getInitials.spec.ts b/src/string/getInitials.spec.ts index 52aff553..fb380ebb 100644 --- a/src/string/getInitials.spec.ts +++ b/src/string/getInitials.spec.ts @@ -1,6 +1,6 @@ import { getInitials } from './getInitials.ts'; -describe('getInitials', () => { +describe(getInitials, () => { const cases = [ { x: '', expected: '?' }, { x: ' ', expected: '?' }, diff --git a/src/string/isLowerCase.spec.ts b/src/string/isLowerCase.spec.ts index 8b48c722..eddaf2a0 100644 --- a/src/string/isLowerCase.spec.ts +++ b/src/string/isLowerCase.spec.ts @@ -1,6 +1,6 @@ import { isLowerCase } from './isLowerCase.ts'; -describe('isLowerCase', () => { +describe(isLowerCase, () => { it.each([ { x: '', expected: false }, { x: 'test', expected: true }, diff --git a/src/string/isNullOrEmptyString.spec.ts b/src/string/isNullOrEmptyString.spec.ts index 3b0fef1d..3799592b 100644 --- a/src/string/isNullOrEmptyString.spec.ts +++ b/src/string/isNullOrEmptyString.spec.ts @@ -1,6 +1,6 @@ import { isNullOrEmptyString } from './isNullOrEmptyString.ts'; -describe('isNullOrEmptyString', () => { +describe(isNullOrEmptyString, () => { const cases = [ { x: null, expected: true }, { x: undefined, expected: true }, diff --git a/src/string/joinPaths.spec.ts b/src/string/joinPaths.spec.ts index 9baa01dc..7aa14ab5 100644 --- a/src/string/joinPaths.spec.ts +++ b/src/string/joinPaths.spec.ts @@ -1,6 +1,6 @@ import { joinPaths } from './joinPaths.ts'; -describe('joinPaths', () => { +describe(joinPaths, () => { const cases = [ { args: ['a', 'b'], expected: 'a/b' }, { args: ['a', '/b'], expected: 'a/b' }, diff --git a/src/string/removeLeadingSlashes.spec.ts b/src/string/removeLeadingSlashes.spec.ts index 4e764794..ffcfb618 100644 --- a/src/string/removeLeadingSlashes.spec.ts +++ b/src/string/removeLeadingSlashes.spec.ts @@ -1,6 +1,6 @@ import { removeLeadingSlashes } from './removeLeadingSlashes.ts'; -describe('removeLeadingSlash', () => { +describe(removeLeadingSlashes, () => { const cases = [ { x: '', expected: '' }, { x: '/', expected: '' }, diff --git a/src/string/removeTrailingSlashes.spec.ts b/src/string/removeTrailingSlashes.spec.ts index 04fb5b7e..728fc2bd 100644 --- a/src/string/removeTrailingSlashes.spec.ts +++ b/src/string/removeTrailingSlashes.spec.ts @@ -1,6 +1,6 @@ import { removeTrailingSlashes } from './removeTrailingSlashes.ts'; -describe('removeTrailingSlash', () => { +describe(removeTrailingSlashes, () => { const cases = [ { x: '', expected: '' }, { x: '/', expected: '' }, diff --git a/src/string/toCamelCase.spec.ts b/src/string/toCamelCase.spec.ts index b0b76c63..0adc2a18 100644 --- a/src/string/toCamelCase.spec.ts +++ b/src/string/toCamelCase.spec.ts @@ -1,6 +1,6 @@ import { toCamelCase } from './toCamelCase.ts'; -describe('toCamelCase', () => { +describe(toCamelCase, () => { const cases = [ { x: '', expected: '' }, { x: ' ', expected: '' }, diff --git a/src/string/toCapitalCase.spec.ts b/src/string/toCapitalCase.spec.ts index ee8f3c6d..77b7dbda 100644 --- a/src/string/toCapitalCase.spec.ts +++ b/src/string/toCapitalCase.spec.ts @@ -1,6 +1,6 @@ import { toCapitalCase } from './toCapitalCase.ts'; -describe('toCapitalCase', () => { +describe(toCapitalCase, () => { const cases = [ { x: '', expected: '' }, { x: ' ', expected: '' }, diff --git a/src/string/toKebabCase.spec.ts b/src/string/toKebabCase.spec.ts index d7a83c75..9af67e01 100644 --- a/src/string/toKebabCase.spec.ts +++ b/src/string/toKebabCase.spec.ts @@ -1,6 +1,6 @@ import { toKebabCase } from './toKebabCase.ts'; -describe('toKebabCase', () => { +describe(toKebabCase, () => { const cases = [ { x: '', expected: '' }, { x: ' ', expected: '' }, diff --git a/src/string/toPascalCase.spec.ts b/src/string/toPascalCase.spec.ts index 522b6182..313818ec 100644 --- a/src/string/toPascalCase.spec.ts +++ b/src/string/toPascalCase.spec.ts @@ -1,6 +1,6 @@ import { toPascalCase } from './toPascalCase.ts'; -describe('toPascalCase', () => { +describe(toPascalCase, () => { const cases = [ { x: '', expected: '' }, { x: ' ', expected: '' }, diff --git a/src/string/toSnakeCase.spec.ts b/src/string/toSnakeCase.spec.ts index 73c28ab6..5c2ca658 100644 --- a/src/string/toSnakeCase.spec.ts +++ b/src/string/toSnakeCase.spec.ts @@ -1,6 +1,6 @@ import { toSnakeCase } from './toSnakeCase.ts'; -describe('toSnakeCase', () => { +describe(toSnakeCase, () => { const cases = [ { x: '', expected: '' }, { x: ' ', expected: '' }, diff --git a/src/string/toSpaceCase.spec.ts b/src/string/toSpaceCase.spec.ts index 02ea8b41..ee0f9c75 100644 --- a/src/string/toSpaceCase.spec.ts +++ b/src/string/toSpaceCase.spec.ts @@ -1,6 +1,6 @@ import { toSpaceCase } from './toSpaceCase.ts'; -describe('toSpaceCase', () => { +describe(toSpaceCase, () => { const cases = [ { x: '', expected: '' }, { x: ' ', expected: '' }, diff --git a/src/types/getTypeOf.spec.ts b/src/types/getTypeOf.spec.ts index f8a4823a..4f5acbc0 100644 --- a/src/types/getTypeOf.spec.ts +++ b/src/types/getTypeOf.spec.ts @@ -1,6 +1,6 @@ import { getTypeOf } from './getTypeOf.ts'; -describe('getTypeOf', () => { +describe(getTypeOf, () => { const cases = [ { value: class Foo { diff --git a/src/types/mutability.spec.ts b/src/types/mutability.spec.ts index fbfe024c..ebcb7c36 100644 --- a/src/types/mutability.spec.ts +++ b/src/types/mutability.spec.ts @@ -1,6 +1,6 @@ import type { Immutable, Mutable } from './mutability.ts'; -describe('mutable and Immutable', () => { +describe('Mutable and Immutable', () => { it('mutable allows reassignment', () => { interface Sample { readonly a: number;