From 1797700b7dbfcbec5ae6bb091d618eef504796f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Wed, 14 Sep 2022 21:08:22 +0200 Subject: [PATCH] Repare tests --- api/package.json | 4 +- api/source/plausible.ts | 11 +- api/source/test-e2e/index.test.ts | 3 +- yarn.lock | 403 ++++++++++++++++++++++++++++-- 4 files changed, 393 insertions(+), 28 deletions(-) diff --git a/api/package.json b/api/package.json index 5b663d732..8e822ed4a 100644 --- a/api/package.json +++ b/api/package.json @@ -53,9 +53,9 @@ "@types/swagger-ui-dist": "^3.30.1", "chai-http": "^4.3.0", "rimraf": "^3.0.2", - "ts-node": "^10.8.0", + "ts-node": "^10.9.1", "typescript": "^4.7.2", - "vitest": "^0.13.1", + "vitest": "^0.23.2", "wait-on": "^6.0.1" } } diff --git a/api/source/plausible.ts b/api/source/plausible.ts index 8ffc22b64..73845e179 100644 --- a/api/source/plausible.ts +++ b/api/source/plausible.ts @@ -1,5 +1,5 @@ import got, { RequestError } from 'got' -import { BaseContext, Next } from 'koa' +import { BaseContext } from 'koa' interface PlausibleEvent { eventName: string @@ -34,9 +34,12 @@ export const plausibleEvent = ( }) } -export const plausibleMiddleware = async (ctx: BaseContext, next: Next) => { +export const plausibleMiddleware = async ( + ctx: BaseContext, + next: () => Promise +) => { if (process.env.NODE_ENV !== 'production') { - return + return await next() } void plausibleEvent(ctx, { eventName: 'pageview' }).catch((err) => { @@ -44,7 +47,7 @@ export const plausibleMiddleware = async (ctx: BaseContext, next: Next) => { console.error(error.code, error.message) }) - const result = (await next()) as unknown + const result = await next() void plausibleEvent(ctx, { eventName: 'status', diff --git a/api/source/test-e2e/index.test.ts b/api/source/test-e2e/index.test.ts index ec426b1c5..6c7e4dbbc 100644 --- a/api/source/test-e2e/index.test.ts +++ b/api/source/test-e2e/index.test.ts @@ -1,5 +1,6 @@ +import chai from 'chai' import chaiHttp from 'chai-http' -import { chai, describe, expect, it } from 'vitest' +import { describe, expect, it } from 'vitest' import { server } from '../index.js' chai.use(chaiHttp) diff --git a/yarn.lock b/yarn.lock index 120336d6f..baa4d568e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3364,6 +3364,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-loong64@npm:0.15.7": + version: 0.15.7 + resolution: "@esbuild/linux-loong64@npm:0.15.7" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + "@eslint/eslintrc@npm:^1.3.0": version: 1.3.0 resolution: "@eslint/eslintrc@npm:1.3.0" @@ -8077,6 +8084,13 @@ __metadata: languageName: node linkType: hard +"@types/chai@npm:^4.3.3": + version: 4.3.3 + resolution: "@types/chai@npm:4.3.3" + checksum: 20cd094753e137cfc35939cae7f0ed78ecda7861e5c94704efab6979b9121a63807e9b631bdcf3a2792d6c6dba44050b13387262f9e63ebb040741c01c345f0a + languageName: node + linkType: hard + "@types/connect@npm:*": version: 3.4.35 resolution: "@types/connect@npm:3.4.35" @@ -9606,6 +9620,15 @@ __metadata: languageName: node linkType: hard +"acorn@npm:^8.8.0": + version: 8.8.0 + resolution: "acorn@npm:8.8.0" + bin: + acorn: bin/acorn + checksum: 7270ca82b242eafe5687a11fea6e088c960af712683756abf0791b68855ea9cace3057bd5e998ffcef50c944810c1e0ca1da526d02b32110e13c722aa959afdc + languageName: node + linkType: hard + "address@npm:^1.0.1": version: 1.2.0 resolution: "address@npm:1.2.0" @@ -10034,9 +10057,9 @@ __metadata: rate-limiter-flexible: ^2.3.8 rimraf: ^3.0.2 swagger-ui-dist: ^4.11.1 - ts-node: ^10.8.0 + ts-node: ^10.9.1 typescript: ^4.7.2 - vitest: ^0.13.1 + vitest: ^0.23.2 wait-on: ^6.0.1 languageName: unknown linkType: soft @@ -14408,6 +14431,13 @@ __metadata: languageName: node linkType: hard +"esbuild-android-64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-android-64@npm:0.15.7" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "esbuild-android-arm64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-android-arm64@npm:0.13.8" @@ -14422,6 +14452,13 @@ __metadata: languageName: node linkType: hard +"esbuild-android-arm64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-android-arm64@npm:0.15.7" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "esbuild-darwin-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-darwin-64@npm:0.13.8" @@ -14436,6 +14473,13 @@ __metadata: languageName: node linkType: hard +"esbuild-darwin-64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-darwin-64@npm:0.15.7" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "esbuild-darwin-arm64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-darwin-arm64@npm:0.13.8" @@ -14450,6 +14494,13 @@ __metadata: languageName: node linkType: hard +"esbuild-darwin-arm64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-darwin-arm64@npm:0.15.7" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "esbuild-freebsd-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-freebsd-64@npm:0.13.8" @@ -14464,6 +14515,13 @@ __metadata: languageName: node linkType: hard +"esbuild-freebsd-64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-freebsd-64@npm:0.15.7" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "esbuild-freebsd-arm64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-freebsd-arm64@npm:0.13.8" @@ -14478,6 +14536,13 @@ __metadata: languageName: node linkType: hard +"esbuild-freebsd-arm64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-freebsd-arm64@npm:0.15.7" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "esbuild-linux-32@npm:0.13.8": version: 0.13.8 resolution: "esbuild-linux-32@npm:0.13.8" @@ -14492,6 +14557,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-32@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-linux-32@npm:0.15.7" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "esbuild-linux-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-linux-64@npm:0.13.8" @@ -14506,6 +14578,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-linux-64@npm:0.15.7" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "esbuild-linux-arm64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-linux-arm64@npm:0.13.8" @@ -14520,6 +14599,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-arm64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-linux-arm64@npm:0.15.7" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "esbuild-linux-arm@npm:0.13.8": version: 0.13.8 resolution: "esbuild-linux-arm@npm:0.13.8" @@ -14534,6 +14620,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-arm@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-linux-arm@npm:0.15.7" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "esbuild-linux-mips64le@npm:0.13.8": version: 0.13.8 resolution: "esbuild-linux-mips64le@npm:0.13.8" @@ -14548,6 +14641,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-mips64le@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-linux-mips64le@npm:0.15.7" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "esbuild-linux-ppc64le@npm:0.13.8": version: 0.13.8 resolution: "esbuild-linux-ppc64le@npm:0.13.8" @@ -14562,6 +14662,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-ppc64le@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-linux-ppc64le@npm:0.15.7" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "esbuild-linux-riscv64@npm:0.14.48": version: 0.14.48 resolution: "esbuild-linux-riscv64@npm:0.14.48" @@ -14569,6 +14676,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-riscv64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-linux-riscv64@npm:0.15.7" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "esbuild-linux-s390x@npm:0.14.48": version: 0.14.48 resolution: "esbuild-linux-s390x@npm:0.14.48" @@ -14576,6 +14690,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-s390x@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-linux-s390x@npm:0.15.7" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "esbuild-netbsd-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-netbsd-64@npm:0.13.8" @@ -14590,6 +14711,13 @@ __metadata: languageName: node linkType: hard +"esbuild-netbsd-64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-netbsd-64@npm:0.15.7" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + "esbuild-openbsd-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-openbsd-64@npm:0.13.8" @@ -14604,6 +14732,13 @@ __metadata: languageName: node linkType: hard +"esbuild-openbsd-64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-openbsd-64@npm:0.15.7" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "esbuild-sunos-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-sunos-64@npm:0.13.8" @@ -14618,6 +14753,13 @@ __metadata: languageName: node linkType: hard +"esbuild-sunos-64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-sunos-64@npm:0.15.7" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "esbuild-windows-32@npm:0.13.8": version: 0.13.8 resolution: "esbuild-windows-32@npm:0.13.8" @@ -14632,6 +14774,13 @@ __metadata: languageName: node linkType: hard +"esbuild-windows-32@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-windows-32@npm:0.15.7" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "esbuild-windows-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-windows-64@npm:0.13.8" @@ -14646,6 +14795,13 @@ __metadata: languageName: node linkType: hard +"esbuild-windows-64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-windows-64@npm:0.15.7" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "esbuild-windows-arm64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-windows-arm64@npm:0.13.8" @@ -14660,6 +14816,13 @@ __metadata: languageName: node linkType: hard +"esbuild-windows-arm64@npm:0.15.7": + version: 0.15.7 + resolution: "esbuild-windows-arm64@npm:0.15.7" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "esbuild@npm:0.13.8": version: 0.13.8 resolution: "esbuild@npm:0.13.8" @@ -14793,6 +14956,80 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.15.6": + version: 0.15.7 + resolution: "esbuild@npm:0.15.7" + dependencies: + "@esbuild/linux-loong64": 0.15.7 + esbuild-android-64: 0.15.7 + esbuild-android-arm64: 0.15.7 + esbuild-darwin-64: 0.15.7 + esbuild-darwin-arm64: 0.15.7 + esbuild-freebsd-64: 0.15.7 + esbuild-freebsd-arm64: 0.15.7 + esbuild-linux-32: 0.15.7 + esbuild-linux-64: 0.15.7 + esbuild-linux-arm: 0.15.7 + esbuild-linux-arm64: 0.15.7 + esbuild-linux-mips64le: 0.15.7 + esbuild-linux-ppc64le: 0.15.7 + esbuild-linux-riscv64: 0.15.7 + esbuild-linux-s390x: 0.15.7 + esbuild-netbsd-64: 0.15.7 + esbuild-openbsd-64: 0.15.7 + esbuild-sunos-64: 0.15.7 + esbuild-windows-32: 0.15.7 + esbuild-windows-64: 0.15.7 + esbuild-windows-arm64: 0.15.7 + dependenciesMeta: + "@esbuild/linux-loong64": + optional: true + esbuild-android-64: + optional: true + esbuild-android-arm64: + optional: true + esbuild-darwin-64: + optional: true + esbuild-darwin-arm64: + optional: true + esbuild-freebsd-64: + optional: true + esbuild-freebsd-arm64: + optional: true + esbuild-linux-32: + optional: true + esbuild-linux-64: + optional: true + esbuild-linux-arm: + optional: true + esbuild-linux-arm64: + optional: true + esbuild-linux-mips64le: + optional: true + esbuild-linux-ppc64le: + optional: true + esbuild-linux-riscv64: + optional: true + esbuild-linux-s390x: + optional: true + esbuild-netbsd-64: + optional: true + esbuild-openbsd-64: + optional: true + esbuild-sunos-64: + optional: true + esbuild-windows-32: + optional: true + esbuild-windows-64: + optional: true + esbuild-windows-arm64: + optional: true + bin: + esbuild: bin/esbuild + checksum: 54ddaa6cf96798d817861b4f68cb8d176075dc09b6e0ed511c57e5db6fd86d2c673ac2ec631ad9b11678d58ad4a77cd6b7a3853b9c6eac29b7f5c6d38e42f92e + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -19918,6 +20155,13 @@ __metadata: languageName: node linkType: hard +"local-pkg@npm:^0.4.2": + version: 0.4.2 + resolution: "local-pkg@npm:0.4.2" + checksum: 22be451353c25c4411b552bf01880ebc9e995b93574b2facc7757968d888356df59199cacada14162ab53bbc9da055bb692c907b4171f008dbce45a2afc777c1 + languageName: node + linkType: hard + "localforage@npm:^1.8.1": version: 1.10.0 resolution: "localforage@npm:1.10.0" @@ -23115,6 +23359,17 @@ __metadata: languageName: node linkType: hard +"postcss@npm:^8.4.16": + version: 8.4.16 + resolution: "postcss@npm:8.4.16" + dependencies: + nanoid: ^3.3.4 + picocolors: ^1.0.0 + source-map-js: ^1.0.2 + checksum: 10eee25efd77868036403858577da0cefaf2e0905feeaba5770d5438ccdddba3d01cba8063e96b8aac4c6daa0ed413dd5ae0554a433a3c4db38df1d134cffc1f + languageName: node + linkType: hard + "precinct@npm:^9.0.1": version: 9.0.1 resolution: "precinct@npm:9.0.1" @@ -24701,7 +24956,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.10.0, resolve@npm:^1.10.1, resolve@npm:^1.12.0, resolve@npm:^1.14.2, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.3.2": +"resolve@npm:^1.10.0, resolve@npm:^1.10.1, resolve@npm:^1.12.0, resolve@npm:^1.14.2, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:^1.3.2": version: 1.22.1 resolution: "resolve@npm:1.22.1" dependencies: @@ -24743,7 +24998,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.10.1#~builtin, resolve@patch:resolve@^1.12.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin, resolve@patch:resolve@^1.3.2#~builtin": +"resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.10.1#~builtin, resolve@patch:resolve@^1.12.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.3.2#~builtin": version: 1.22.1 resolution: "resolve@patch:resolve@npm%3A1.22.1#~builtin::version=1.22.1&hash=07638b" dependencies: @@ -24951,7 +25206,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^2.75.7": +"rollup@npm:^2.75.7, rollup@npm:~2.78.0": version: 2.78.1 resolution: "rollup@npm:2.78.1" dependencies: @@ -26380,6 +26635,15 @@ __metadata: languageName: node linkType: hard +"strip-literal@npm:^0.4.0": + version: 0.4.1 + resolution: "strip-literal@npm:0.4.1" + dependencies: + acorn: ^8.8.0 + checksum: cc12ab62e795f1e8fc1e9dc3fd81a356e23d7001857bb609a1f4849e133fc8eaa21fbcde8b67121dc52aed9ddcc40720648703368994b7ad588e851f5a33193c + languageName: node + linkType: hard + "strip-outer@npm:^1.0.0": version: 1.0.1 resolution: "strip-outer@npm:1.0.1" @@ -26924,13 +27188,27 @@ __metadata: languageName: node linkType: hard -"tinypool@npm:^0.1.2, tinypool@npm:^0.1.3": +"tinybench@npm:^2.1.5": + version: 2.1.5 + resolution: "tinybench@npm:2.1.5" + checksum: 5a6d378271a00ace6fa6970404eb1efd539d3e9b9908a9cb6d66ad78acfd873762734f3fc69fe10d86217318871367997d2a8b9566039fd224c518493466aa96 + languageName: node + linkType: hard + +"tinypool@npm:^0.1.2": version: 0.1.3 resolution: "tinypool@npm:0.1.3" checksum: 13ac687a23c03b02c2bf0b9711a3bb191d2c37941775a001b9617aac541c11ba144fb08de74f3f9723ec2649410f5d4fa7f0398fedd462b39fe3b30d19615ad8 languageName: node linkType: hard +"tinypool@npm:^0.3.0": + version: 0.3.0 + resolution: "tinypool@npm:0.3.0" + checksum: 92291c309ed8d004c1ee1ef7f610cd90352383f12c52b0ec16abd9ebc665c03626e7afbc9993df97f63e67fea002b5cc18ba5e8f90260643867cbcac278a183c + languageName: node + linkType: hard + "tinyspy@npm:^0.3.2": version: 0.3.3 resolution: "tinyspy@npm:0.3.3" @@ -26938,6 +27216,13 @@ __metadata: languageName: node linkType: hard +"tinyspy@npm:^1.0.2": + version: 1.0.2 + resolution: "tinyspy@npm:1.0.2" + checksum: 32096121aa8d52bb625ad62c9314b3e4daba4ab9ac428217b12b1e1dfe9860e3c94d54a7affa279cc70dc6f10d88c6ba46b51de68896b318a06d02f05e87dcc3 + languageName: node + linkType: hard + "tmp-promise@npm:^3.0.2, tmp-promise@npm:^3.0.3": version: 3.0.3 resolution: "tmp-promise@npm:3.0.3" @@ -27253,6 +27538,44 @@ __metadata: languageName: node linkType: hard +"ts-node@npm:^10.9.1": + version: 10.9.1 + resolution: "ts-node@npm:10.9.1" + dependencies: + "@cspotcode/source-map-support": ^0.8.0 + "@tsconfig/node10": ^1.0.7 + "@tsconfig/node12": ^1.0.7 + "@tsconfig/node14": ^1.0.0 + "@tsconfig/node16": ^1.0.2 + acorn: ^8.4.1 + acorn-walk: ^8.1.1 + arg: ^4.1.0 + create-require: ^1.1.0 + diff: ^4.0.1 + make-error: ^1.1.1 + v8-compile-cache-lib: ^3.0.1 + yn: 3.1.1 + peerDependencies: + "@swc/core": ">=1.2.50" + "@swc/wasm": ">=1.2.50" + "@types/node": "*" + typescript: ">=2.7" + peerDependenciesMeta: + "@swc/core": + optional: true + "@swc/wasm": + optional: true + bin: + ts-node: dist/bin.js + ts-node-cwd: dist/bin-cwd.js + ts-node-esm: dist/bin-esm.js + ts-node-script: dist/bin-script.js + ts-node-transpile-only: dist/bin-transpile.js + ts-script: dist/bin-script-deprecated.js + checksum: 090adff1302ab20bd3486e6b4799e90f97726ed39e02b39e566f8ab674fd5bd5f727f43615debbfc580d33c6d9d1c6b1b3ce7d8e3cca3e20530a145ffa232c35 + languageName: node + linkType: hard + "ts-pnp@npm:^1.1.6": version: 1.2.0 resolution: "ts-pnp@npm:1.2.0" @@ -27476,11 +27799,11 @@ __metadata: "typescript@patch:typescript@^4.8.3#~builtin": version: 4.8.3 - resolution: "typescript@patch:typescript@npm%3A4.8.3#~builtin::version=4.8.3&hash=bda367" + resolution: "typescript@patch:typescript@npm%3A4.8.3#~builtin::version=4.8.3&hash=a1c5e5" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 0404a09c625df01934ef774b45ce1ca57ccae41cd625fcdbb82056715320d9329e70d9d75c2c732ec6ef947444ca978c189a332b71fa21f5c1437d5a83e24906 + checksum: 2222d2382fb3146089b1d27ce2b55e9d1f99cc64118f1aba75809b693b856c5d3c324f052f60c75b577947fc538bc1c27bad0eb76cbdba9a63a253489504ba7e languageName: node linkType: hard @@ -28255,7 +28578,39 @@ __metadata: languageName: node linkType: hard -"vite@npm:^2.9.13, vite@npm:^2.9.5, vite@npm:^2.9.9": +"vite@npm:^2.9.12 || ^3.0.0-0": + version: 3.1.0 + resolution: "vite@npm:3.1.0" + dependencies: + esbuild: ^0.15.6 + fsevents: ~2.3.2 + postcss: ^8.4.16 + resolve: ^1.22.1 + rollup: ~2.78.0 + peerDependencies: + less: "*" + sass: "*" + stylus: "*" + terser: ^5.4.0 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + less: + optional: true + sass: + optional: true + stylus: + optional: true + terser: + optional: true + bin: + vite: bin/vite.js + checksum: 1a343e3d46450181f79f34ff49cca5ff59bb7472de51ea2c4a042aa076f597d27d25c49f48405e82f607af7d8c1c13a9e789402ccb1b23570132382132ec3903 + languageName: node + linkType: hard + +"vite@npm:^2.9.13, vite@npm:^2.9.5": version: 2.9.13 resolution: "vite@npm:2.9.13" dependencies: @@ -28284,27 +28639,33 @@ __metadata: languageName: node linkType: hard -"vitest@npm:^0.13.1": - version: 0.13.1 - resolution: "vitest@npm:0.13.1" +"vitest@npm:^0.23.2": + version: 0.23.2 + resolution: "vitest@npm:0.23.2" dependencies: - "@types/chai": ^4.3.1 + "@types/chai": ^4.3.3 "@types/chai-subset": ^1.3.3 + "@types/node": "*" chai: ^4.3.6 debug: ^4.3.4 - local-pkg: ^0.4.1 - tinypool: ^0.1.3 - tinyspy: ^0.3.2 - vite: ^2.9.9 + local-pkg: ^0.4.2 + strip-literal: ^0.4.0 + tinybench: ^2.1.5 + tinypool: ^0.3.0 + tinyspy: ^1.0.2 + vite: ^2.9.12 || ^3.0.0-0 peerDependencies: + "@edge-runtime/vm": "*" + "@vitest/browser": "*" "@vitest/ui": "*" - c8: "*" happy-dom: "*" jsdom: "*" peerDependenciesMeta: - "@vitest/ui": + "@edge-runtime/vm": optional: true - c8: + "@vitest/browser": + optional: true + "@vitest/ui": optional: true happy-dom: optional: true @@ -28312,7 +28673,7 @@ __metadata: optional: true bin: vitest: vitest.mjs - checksum: 28006581e3c16f67838f1a7c2f08cd67415267849d5a2f46ece7fcceed683a1c2beb7c153d5e34e6891fd0f40d032ea0b3aa8775890f00c057fe0e91735114c7 + checksum: b3a9a297fa37930a5e236d8e0a8a64f6acbcd676274148684a48588bd21dc63ac6aec5598430bce53225ae4ddfdb4e792602f68a62579785cf288f610a8684e5 languageName: node linkType: hard