Skip to content

Commit 5f235d2

Browse files
committed
Update vitest to 1.6.1 to address security vulnerability CVE-2025-24964
1 parent 83c66c4 commit 5f235d2

File tree

10 files changed

+81
-66
lines changed

10 files changed

+81
-66
lines changed

packages/all/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@
5050
],
5151
"devDependencies": {
5252
"puppeteer": "^20.9.0",
53+
"typescript": "^5.4.5",
5354
"vite": "^5.3.1",
5455
"vite-plugin-dts": "^3.9.1",
55-
"vitest": "^1.4.0",
56-
"typescript": "^5.4.5"
56+
"vitest": "^1.6.1"
5757
},
5858
"dependencies": {
59-
"@rrweb/types": "^2.0.0-alpha.18",
6059
"@rrweb/packer": "^2.0.0-alpha.18",
60+
"@rrweb/types": "^2.0.0-alpha.18",
6161
"rrweb": "^2.0.0-alpha.18"
6262
},
6363
"browserslist": [

packages/all/tsconfig.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
22
"extends": "../../tsconfig.base.json",
3-
"include": ["src"],
3+
"include": [
4+
"src"
5+
],
46
"compilerOptions": {
57
"rootDir": "src",
68
"tsBuildInfoFile": "./tsconfig.tsbuildinfo"
79
},
810
"references": [
911
{
10-
"path": "../types"
12+
"path": "../packer"
1113
},
1214
{
13-
"path": "../packer"
15+
"path": "../types"
1416
},
1517
{
1618
"path": "../rrweb"

packages/packer/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@
7171
"package.json"
7272
],
7373
"devDependencies": {
74+
"typescript": "^5.4.5",
7475
"vite": "^5.3.1",
7576
"vite-plugin-dts": "^3.9.1",
76-
"vitest": "^1.4.0",
77-
"typescript": "^5.4.5"
77+
"vitest": "^1.6.1"
7878
},
7979
"dependencies": {
80-
"fflate": "^0.4.4",
81-
"@rrweb/types": "^2.0.0-alpha.18"
80+
"@rrweb/types": "^2.0.0-alpha.18",
81+
"fflate": "^0.4.4"
8282
},
8383
"browserslist": [
8484
"supports es6-class"

packages/plugins/rrweb-plugin-console-record/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
},
4646
"homepage": "https://github.com/rrweb-io/rrweb#readme",
4747
"devDependencies": {
48+
"puppeteer": "^20.9.0",
4849
"rrweb": "^2.0.0-alpha.18",
4950
"typescript": "^5.4.5",
5051
"vite": "^5.3.1",
5152
"vite-plugin-dts": "^3.9.1",
52-
"vitest": "^1.4.0",
53-
"puppeteer": "^20.9.0"
53+
"vitest": "^1.6.1"
5454
},
5555
"peerDependencies": {
5656
"rrweb": "^2.0.0-alpha.18"

packages/record/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
],
5050
"devDependencies": {
5151
"puppeteer": "^20.9.0",
52+
"typescript": "^5.4.5",
5253
"vite": "^5.3.1",
5354
"vite-plugin-dts": "^3.9.1",
54-
"vitest": "^1.4.0",
55-
"typescript": "^5.4.5"
55+
"vitest": "^1.6.1"
5656
},
5757
"dependencies": {
5858
"@rrweb/types": "^2.0.0-alpha.18",

packages/replay/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
],
5151
"devDependencies": {
5252
"puppeteer": "^20.9.0",
53+
"typescript": "^5.4.5",
5354
"vite": "^5.3.1",
5455
"vite-plugin-dts": "^3.9.1",
55-
"vitest": "^1.4.0",
56-
"typescript": "^5.4.5"
56+
"vitest": "^1.6.1"
5757
},
5858
"dependencies": {
5959
"@rrweb/types": "^2.0.0-alpha.18",

packages/rrdom-nodejs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@
4646
"compare-versions": "^4.1.3",
4747
"eslint": "^8.15.0",
4848
"puppeteer": "^9.1.1",
49+
"typescript": "^5.4.5",
4950
"vite": "^5.3.1",
5051
"vite-plugin-dts": "^3.9.1",
51-
"vitest": "^1.4.0",
52-
"typescript": "^5.4.5"
52+
"vitest": "^1.6.1"
5353
},
5454
"dependencies": {
55+
"@rrweb/types": "^2.0.0-alpha.18",
5556
"cssom": "^0.5.0",
5657
"cssstyle": "^2.3.0",
5758
"nwsapi": "2.2.0",
58-
"rrdom": "^2.0.0-alpha.18",
59-
"@rrweb/types": "^2.0.0-alpha.18"
59+
"rrdom": "^2.0.0-alpha.18"
6060
}
6161
}

packages/rrdom-nodejs/tsconfig.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
22
"extends": "../../tsconfig.base.json",
3-
"include": ["src"],
3+
"include": [
4+
"src"
5+
],
46
"compilerOptions": {
57
"rootDir": "src",
68
"tsBuildInfoFile": "./tsconfig.tsbuildinfo"
79
},
810
"references": [
911
{
10-
"path": "../rrdom"
12+
"path": "../types"
1113
},
1214
{
13-
"path": "../types"
15+
"path": "../rrdom"
1416
}
1517
]
1618
}

packages/rrweb-snapshot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"typescript": "^5.4.5",
6666
"vite": "^5.3.1",
6767
"vite-plugin-dts": "^3.9.1",
68-
"vitest": "^1.4.0"
68+
"vitest": "^1.6.1"
6969
},
7070
"dependencies": {
7171
"postcss": "^8.4.38"

yarn.lock

Lines changed: 53 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2620,7 +2620,7 @@
26202620
dependencies:
26212621
"@types/dom-webcodecs" "*"
26222622

2623-
"@types/dom-webcodecs@*", "@types/dom-webcodecs@0.1.5":
2623+
"@types/dom-webcodecs@*":
26242624
version "0.1.5"
26252625
resolved "https://registry.yarnpkg.com/@types/dom-webcodecs/-/dom-webcodecs-0.1.5.tgz#2252fdb4a3229924d27f054242cc614e2cd5b83b"
26262626
integrity sha512-dsAE+4ws75W5mmNmIZ7IKZwv4bcz5GgPuA87u+Mk1CeVWB6g7ZwBfizRwBZDeyO12RSxoU3NlRa8jgLYQeSZGg==
@@ -3079,44 +3079,44 @@
30793079
"@types/babel__core" "^7.20.5"
30803080
react-refresh "^0.14.2"
30813081

3082-
"@vitest/expect@1.6.0":
3083-
version "1.6.0"
3084-
resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-1.6.0.tgz#0b3ba0914f738508464983f4d811bc122b51fb30"
3085-
integrity sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==
3082+
"@vitest/expect@1.6.1":
3083+
version "1.6.1"
3084+
resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-1.6.1.tgz#b90c213f587514a99ac0bf84f88cff9042b0f14d"
3085+
integrity sha512-jXL+9+ZNIJKruofqXuuTClf44eSpcHlgj3CiuNihUF3Ioujtmc0zIa3UJOW5RjDK1YLBJZnWBlPuqhYycLioog==
30863086
dependencies:
3087-
"@vitest/spy" "1.6.0"
3088-
"@vitest/utils" "1.6.0"
3087+
"@vitest/spy" "1.6.1"
3088+
"@vitest/utils" "1.6.1"
30893089
chai "^4.3.10"
30903090

3091-
"@vitest/runner@1.6.0":
3092-
version "1.6.0"
3093-
resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-1.6.0.tgz#a6de49a96cb33b0e3ba0d9064a3e8d6ce2f08825"
3094-
integrity sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==
3091+
"@vitest/runner@1.6.1":
3092+
version "1.6.1"
3093+
resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-1.6.1.tgz#10f5857c3e376218d58c2bfacfea1161e27e117f"
3094+
integrity sha512-3nSnYXkVkf3mXFfE7vVyPmi3Sazhb/2cfZGGs0JRzFsPFvAMBEcrweV1V1GsrstdXeKCTXlJbvnQwGWgEIHmOA==
30953095
dependencies:
3096-
"@vitest/utils" "1.6.0"
3096+
"@vitest/utils" "1.6.1"
30973097
p-limit "^5.0.0"
30983098
pathe "^1.1.1"
30993099

3100-
"@vitest/snapshot@1.6.0":
3101-
version "1.6.0"
3102-
resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-1.6.0.tgz#deb7e4498a5299c1198136f56e6e0f692e6af470"
3103-
integrity sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==
3100+
"@vitest/snapshot@1.6.1":
3101+
version "1.6.1"
3102+
resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-1.6.1.tgz#90414451a634bb36cd539ccb29ae0d048a8c0479"
3103+
integrity sha512-WvidQuWAzU2p95u8GAKlRMqMyN1yOJkGHnx3M1PL9Raf7AQ1kwLKg04ADlCa3+OXUZE7BceOhVZiuWAbzCKcUQ==
31043104
dependencies:
31053105
magic-string "^0.30.5"
31063106
pathe "^1.1.1"
31073107
pretty-format "^29.7.0"
31083108

3109-
"@vitest/spy@1.6.0":
3110-
version "1.6.0"
3111-
resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-1.6.0.tgz#362cbd42ccdb03f1613798fde99799649516906d"
3112-
integrity sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==
3109+
"@vitest/spy@1.6.1":
3110+
version "1.6.1"
3111+
resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-1.6.1.tgz#33376be38a5ed1ecd829eb986edaecc3e798c95d"
3112+
integrity sha512-MGcMmpGkZebsMZhbQKkAf9CX5zGvjkBTqf8Zx3ApYWXr3wG+QvEu2eXWfnIIWYSJExIp4V9FCKDEeygzkYrXMw==
31133113
dependencies:
31143114
tinyspy "^2.2.0"
31153115

3116-
"@vitest/utils@1.6.0":
3117-
version "1.6.0"
3118-
resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-1.6.0.tgz#5c5675ca7d6f546a7b4337de9ae882e6c57896a1"
3119-
integrity sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==
3116+
"@vitest/utils@1.6.1":
3117+
version "1.6.1"
3118+
resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-1.6.1.tgz#6d2f36cb6d866f2bbf59da854a324d6bf8040f17"
3119+
integrity sha512-jOrrUvXM4Av9ZWiG1EajNto0u96kWAhJ1LmPmJhXXQx/32MecEKd10pOLYgS2BQx1TgkGhloPU1ArDW2vvaY6g==
31203120
dependencies:
31213121
diff-sequences "^29.6.3"
31223122
estree-walker "^3.0.3"
@@ -4331,9 +4331,20 @@ cssesc@^3.0.0:
43314331
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"
43324332
integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==
43334333

4334-
cssom@^0.4.4, cssom@^0.5.0, "cssom@https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz", cssom@~0.3.6:
4335-
version "0.6.0"
4336-
resolved "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz#ed298055b97cbddcdeb278f904857629dec5e0e1"
4334+
cssom@^0.4.4:
4335+
version "0.4.4"
4336+
resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10"
4337+
integrity sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==
4338+
4339+
cssom@^0.5.0:
4340+
version "0.5.0"
4341+
resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.5.0.tgz#d254fa92cd8b6fbd83811b9fbaed34663cc17c36"
4342+
integrity sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==
4343+
4344+
cssom@~0.3.6:
4345+
version "0.3.8"
4346+
resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a"
4347+
integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==
43374348

43384349
cssstyle@^2.3.0:
43394350
version "2.3.0"
@@ -10276,10 +10287,10 @@ vary@~1.1.2:
1027610287
resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
1027710288
integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==
1027810289

10279-
vite-node@1.6.0:
10280-
version "1.6.0"
10281-
resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-1.6.0.tgz#2c7e61129bfecc759478fa592754fd9704aaba7f"
10282-
integrity sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==
10290+
vite-node@1.6.1:
10291+
version "1.6.1"
10292+
resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-1.6.1.tgz#fff3ef309296ea03ceaa6ca4bb660922f5416c57"
10293+
integrity sha512-YAXkfvGtuTzwWbDSACdJSg4A4DZiAqckWe90Zapc/sEX3XvHcw1NdurM/6od8J207tSDqNbSsgdCacBgvJKFuA==
1028310294
dependencies:
1028410295
cac "^6.7.14"
1028510296
debug "^4.3.4"
@@ -10352,16 +10363,16 @@ vitefu@^0.2.5:
1035210363
resolved "https://registry.yarnpkg.com/vitefu/-/vitefu-0.2.5.tgz#c1b93c377fbdd3e5ddd69840ea3aa70b40d90969"
1035310364
integrity sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==
1035410365

10355-
vitest@^1.4.0:
10356-
version "1.6.0"
10357-
resolved "https://registry.yarnpkg.com/vitest/-/vitest-1.6.0.tgz#9d5ad4752a3c451be919e412c597126cffb9892f"
10358-
integrity sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==
10359-
dependencies:
10360-
"@vitest/expect" "1.6.0"
10361-
"@vitest/runner" "1.6.0"
10362-
"@vitest/snapshot" "1.6.0"
10363-
"@vitest/spy" "1.6.0"
10364-
"@vitest/utils" "1.6.0"
10366+
vitest@^1.6.1:
10367+
version "1.6.1"
10368+
resolved "https://registry.yarnpkg.com/vitest/-/vitest-1.6.1.tgz#b4a3097adf8f79ac18bc2e2e0024c534a7a78d2f"
10369+
integrity sha512-Ljb1cnSJSivGN0LqXd/zmDbWEM0RNNg2t1QW/XUhYl/qPqyu7CsqeWtqQXHVaJsecLPuDoak2oJcZN2QoRIOag==
10370+
dependencies:
10371+
"@vitest/expect" "1.6.1"
10372+
"@vitest/runner" "1.6.1"
10373+
"@vitest/snapshot" "1.6.1"
10374+
"@vitest/spy" "1.6.1"
10375+
"@vitest/utils" "1.6.1"
1036510376
acorn-walk "^8.3.2"
1036610377
chai "^4.3.10"
1036710378
debug "^4.3.4"
@@ -10375,7 +10386,7 @@ vitest@^1.4.0:
1037510386
tinybench "^2.5.1"
1037610387
tinypool "^0.8.3"
1037710388
vite "^5.0.0"
10378-
vite-node "1.6.0"
10389+
vite-node "1.6.1"
1037910390
why-is-node-running "^2.2.2"
1038010391

1038110392
vue-template-compiler@^2.7.14:

0 commit comments

Comments
 (0)