aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2023-05-08 14:33:52 +0200
committerGitHub <[email protected]>2023-05-08 14:33:52 +0200
commit1c9043bf5b1ea6cc40f8b5276a996bb2b60b4177 (patch)
tree7622c7b922412abeedc1ef531bd8f73e8d31355c
parent30b40ada8f9ed8195a7c088c5057d5a9748df897 (diff)
downloadfaker-1c9043bf5b1ea6cc40f8b5276a996bb2b60b4177.tar.xz
faker-1c9043bf5b1ea6cc40f8b5276a996bb2b60b4177.zip
chore(deps): update vitest to ~0.31.0 (#2136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Shinigami92 <[email protected]>
-rw-r--r--package.json6
-rw-r--r--pnpm-lock.yaml106
-rw-r--r--test/vitest-extensions.ts13
3 files changed, 74 insertions, 51 deletions
diff --git a/package.json b/package.json
index 91ff9bc2..a42eae5e 100644
--- a/package.json
+++ b/package.json
@@ -104,8 +104,8 @@
"@types/validator": "~13.7.16",
"@typescript-eslint/eslint-plugin": "~5.59.2",
"@typescript-eslint/parser": "~5.59.2",
- "@vitest/coverage-c8": "~0.30.1",
- "@vitest/ui": "~0.30.1",
+ "@vitest/coverage-c8": "~0.31.0",
+ "@vitest/ui": "~0.31.0",
"@vueuse/core": "~10.1.2",
"c8": "~7.13.0",
"conventional-changelog-cli": "~2.2.2",
@@ -135,7 +135,7 @@
"validator": "~13.9.0",
"vite": "~4.3.5",
"vitepress": "1.0.0-alpha.75",
- "vitest": "~0.30.1",
+ "vitest": "~0.31.0",
"vue": "~3.2.47"
},
"packageManager": "[email protected]",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e7f2dc05..9e4f5afa 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -38,11 +38,11 @@ devDependencies:
specifier: ~5.59.2
'@vitest/coverage-c8':
- specifier: ~0.30.1
- version: 0.30.1([email protected])
+ specifier: ~0.31.0
+ version: 0.31.0([email protected])
'@vitest/ui':
- specifier: ~0.30.1
- version: 0.30.1
+ specifier: ~0.31.0
+ version: 0.31.0([email protected])
'@vueuse/core':
specifier: ~10.1.2
version: 10.1.2([email protected])
@@ -131,8 +131,8 @@ devDependencies:
specifier: 1.0.0-alpha.75
vitest:
- specifier: ~0.30.1
- version: 0.30.1(@vitest/[email protected])
+ specifier: ~0.31.0
+ version: 0.31.0(@vitest/[email protected])
vue:
specifier: ~3.2.47
version: 3.2.47
@@ -267,6 +267,14 @@ packages:
'@algolia/requester-common': 4.17.0
dev: true
+ /@ampproject/[email protected]:
+ resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==}
+ engines: {node: '>=6.0.0'}
+ dependencies:
+ '@jridgewell/gen-mapping': 0.3.3
+ '@jridgewell/trace-mapping': 0.3.18
+ dev: true
+
resolution: {integrity: sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==}
engines: {node: '>=6.9.0'}
@@ -702,11 +710,25 @@ packages:
engines: {node: '>=8'}
dev: true
+ /@jridgewell/[email protected]:
+ resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==}
+ engines: {node: '>=6.0.0'}
+ dependencies:
+ '@jridgewell/set-array': 1.1.2
+ '@jridgewell/sourcemap-codec': 1.4.15
+ '@jridgewell/trace-mapping': 0.3.18
+ dev: true
+
/@jridgewell/[email protected]:
resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==}
engines: {node: '>=6.0.0'}
dev: true
+ /@jridgewell/[email protected]:
+ resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==}
+ engines: {node: '>=6.0.0'}
+ dev: true
+
/@jridgewell/[email protected]:
resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==}
dev: true
@@ -1097,62 +1119,67 @@ packages:
vue: 3.2.47
dev: true
- resolution: {integrity: sha512-/Wa3dtSuckpdngAmiCwowaEXXgJkqPrtfvrs9HTB9QoEfNbZWPu4E4cjEn4lJZb4qcGf4fxFtUA2f9DnDNAzBA==}
+ resolution: {integrity: sha512-h72qN1D962AO7UefQVulm9JFP5ACS7OfhCdBHioXU8f7ohH/+NTZCgAqmgcfRNHHO/8wLFxx+93YVxhodkEJVA==}
peerDependencies:
vitest: '>=0.30.0 <1'
dependencies:
+ '@ampproject/remapping': 2.2.1
c8: 7.13.0
+ magic-string: 0.30.0
picocolors: 1.0.0
std-env: 3.3.3
- vitest: 0.30.1(@vitest/[email protected])
+ vitest: 0.31.0(@vitest/[email protected])
dev: true
- /@vitest/[email protected]:
- resolution: {integrity: sha512-c3kbEtN8XXJSeN81iDGq29bUzSjQhjES2WR3aColsS4lPGbivwLtas4DNUe0jD9gg/FYGIteqOenfU95EFituw==}
+ /@vitest/[email protected]:
+ resolution: {integrity: sha512-Jlm8ZTyp6vMY9iz9Ny9a0BHnCG4fqBa8neCF6Pk/c/6vkUk49Ls6UBlgGAU82QnzzoaUs9E/mUhq/eq9uMOv/g==}
dependencies:
- '@vitest/spy': 0.30.1
- '@vitest/utils': 0.30.1
+ '@vitest/spy': 0.31.0
+ '@vitest/utils': 0.31.0
chai: 4.3.7
dev: true
- /@vitest/[email protected]:
- resolution: {integrity: sha512-W62kT/8i0TF1UBCNMRtRMOBWJKRnNyv9RrjIgdUryEe0wNpGZvvwPDLuzYdxvgSckzjp54DSpv1xUbv4BQ0qVA==}
+ /@vitest/[email protected]:
+ resolution: {integrity: sha512-H1OE+Ly7JFeBwnpHTrKyCNm/oZgr+16N4qIlzzqSG/YRQDATBYmJb/KUn3GrZaiQQyL7GwpNHVZxSQd6juLCgw==}
dependencies:
- '@vitest/utils': 0.30.1
+ '@vitest/utils': 0.31.0
concordance: 5.0.4
p-limit: 4.0.0
pathe: 1.1.0
dev: true
- /@vitest/[email protected]:
- resolution: {integrity: sha512-fJZqKrE99zo27uoZA/azgWyWbFvM1rw2APS05yB0JaLwUIg9aUtvvnBf4q7JWhEcAHmSwbrxKFgyBUga6tq9Tw==}
+ /@vitest/[email protected]:
+ resolution: {integrity: sha512-5dTXhbHnyUMTMOujZPB0wjFjQ6q5x9c8TvAsSPUNKjp1tVU7i9pbqcKPqntyu2oXtmVxKbuHCqrOd+Ft60r4tg==}
dependencies:
magic-string: 0.30.0
pathe: 1.1.0
pretty-format: 27.5.1
dev: true
- /@vitest/[email protected]:
- resolution: {integrity: sha512-YfJeIf37GvTZe04ZKxzJfnNNuNSmTEGnla2OdL60C8od16f3zOfv9q9K0nNii0NfjDJRt/CVN/POuY5/zTS+BA==}
+ /@vitest/[email protected]:
+ resolution: {integrity: sha512-IzCEQ85RN26GqjQNkYahgVLLkULOxOm5H/t364LG0JYb3Apg0PsYCHLBYGA006+SVRMWhQvHlBBCyuByAMFmkg==}
dependencies:
tinyspy: 2.1.0
dev: true
- /@vitest/[email protected]:
- resolution: {integrity: sha512-Izz4ElDmdvX02KImSC2nCJI6CsGo9aETbKqxli55M0rbbPPAMtF0zDcJIqgEP5V6Y+4Ysf6wvsjLbLCTnaBvKw==}
+ resolution: {integrity: sha512-Dy86l6r3/dbJposgm7w+oqb/15UWJ0lDBbEQaS1ived3+0CTaMbT8OMkUf9vNBkSL47kvBHEBnZLa5fw5i9gUQ==}
+ peerDependencies:
+ vitest: '>=0.30.1 <1'
dependencies:
- '@vitest/utils': 0.30.1
+ '@vitest/utils': 0.31.0
fast-glob: 3.2.12
fflate: 0.7.4
flatted: 3.2.7
pathe: 1.1.0
picocolors: 1.0.0
sirv: 2.0.3
+ vitest: 0.31.0(@vitest/[email protected])
dev: true
- /@vitest/[email protected]:
- resolution: {integrity: sha512-/c8Xv2zUVc+rnNt84QF0Y0zkfxnaGhp87K2dYJMLtLOIckPzuxLVzAtFCicGFdB4NeBHNzTRr1tNn7rCtQcWFA==}
+ /@vitest/[email protected]:
+ resolution: {integrity: sha512-kahaRyLX7GS1urekRXN2752X4gIgOGVX4Wo8eDUGUkTWlGpXzf5ZS6N9RUUS+Re3XEE8nVGqNyxkSxF5HXlGhQ==}
dependencies:
concordance: 5.0.4
loupe: 2.3.6
@@ -4776,8 +4803,8 @@ packages:
resolution: {integrity: sha512-kRwSG8Zx4tjF9ZiyH4bhaebu+EDz1BOx9hOigYHlUW4xxI/wKIUQUqo018UlU4ar6ATPBsaMrdbKZ+tmPdohFA==}
dev: true
- resolution: {integrity: sha512-2ksntHOKf893wSAH4z/+JbPpi92esw8Gn9N2deXX+B0EO92hexAVI9GIZZPx7P5aYo5KULfeOSt3kMOmSOy6uA==}
+ resolution: {integrity: sha512-paHQtnrlS1QZYKF/GnLoOM/DN9fqaGOFbCbxzAhwniySnzl9Ebk8w73/dd34DAhe/obUbPAOldTyYXQZxnPBPQ==}
engines: {node: '>=14.0.0'}
dev: true
@@ -5026,8 +5053,8 @@ packages:
extsprintf: 1.3.0
dev: true
- resolution: {integrity: sha512-vTikpU/J7e6LU/8iM3dzBo8ZhEiKZEKRznEMm+mJh95XhWaPrJQraT/QsT2NWmuEf+zgAoMe64PKT7hfZ1Njmg==}
+ resolution: {integrity: sha512-8x1x1LNuPvE2vIvkSB7c1mApX5oqlgsxzHQesYF7l5n1gKrEmrClIiZuOFbFDQcjLsmcWSwwmrWrcGWm9Fxc/g==}
engines: {node: '>=v14.18.0'}
hasBin: true
dependencies:
@@ -5109,8 +5136,8 @@ packages:
- terser
dev: true
- resolution: {integrity: sha512-y35WTrSTlTxfMLttgQk4rHcaDkbHQwDP++SNwPb+7H8yb13Q3cu2EixrtHzF27iZ8v0XCciSsLg00RkPAzB/aA==}
+ resolution: {integrity: sha512-JwWJS9p3GU9GxkG7eBSmr4Q4x4bvVBSswaCFf1PBNHiPx00obfhHRJfgHcnI0ffn+NMlIh9QGvG75FlaIBdKGA==}
engines: {node: '>=v14.18.0'}
hasBin: true
peerDependencies:
@@ -5143,12 +5170,12 @@ packages:
'@types/chai': 4.3.5
'@types/chai-subset': 1.3.3
'@types/node': 18.16.5
- '@vitest/expect': 0.30.1
- '@vitest/runner': 0.30.1
- '@vitest/snapshot': 0.30.1
- '@vitest/spy': 0.30.1
- '@vitest/ui': 0.30.1
- '@vitest/utils': 0.30.1
+ '@vitest/expect': 0.31.0
+ '@vitest/runner': 0.31.0
+ '@vitest/snapshot': 0.31.0
+ '@vitest/spy': 0.31.0
+ '@vitest/ui': 0.31.0([email protected])
+ '@vitest/utils': 0.31.0
acorn: 8.8.2
acorn-walk: 8.2.0
cac: 6.7.14
@@ -5159,13 +5186,12 @@ packages:
magic-string: 0.30.0
pathe: 1.1.0
picocolors: 1.0.0
- source-map: 0.6.1
std-env: 3.3.3
strip-literal: 1.0.1
tinybench: 2.5.0
- tinypool: 0.4.0
+ tinypool: 0.5.0
vite: 4.3.5(@types/[email protected])
- vite-node: 0.30.1(@types/[email protected])
+ vite-node: 0.31.0(@types/[email protected])
why-is-node-running: 2.2.2
transitivePeerDependencies:
- less
diff --git a/test/vitest-extensions.ts b/test/vitest-extensions.ts
index b33919ef..d8b2f773 100644
--- a/test/vitest-extensions.ts
+++ b/test/vitest-extensions.ts
@@ -22,12 +22,9 @@ interface CustomMatchers {
toContainDuplicates(): void;
}
-declare global {
- // eslint-disable-next-line @typescript-eslint/no-namespace
- namespace Vi {
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
- interface Assertion extends CustomMatchers {}
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
- interface AsymmetricMatchersContaining extends CustomMatchers {}
- }
+declare module 'vitest' {
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
+ interface Assertion extends CustomMatchers {}
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
+ interface AsymmetricMatchersContaining extends CustomMatchers {}
}