diff --git a/packages/vitest/package.json b/packages/vitest/package.json index 58bdbc1a1916..a561c277da5f 100644 --- a/packages/vitest/package.json +++ b/packages/vitest/package.json @@ -185,7 +185,7 @@ "flatted": "^3.2.9", "get-tsconfig": "^4.7.2", "happy-dom": "^12.10.3", - "jsdom": "^23.0.1", + "jsdom": "^24.0.0", "log-update": "^5.0.1", "micromatch": "^4.0.5", "p-limit": "^5.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aed81bb2adfa..172c77b13479 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1425,8 +1425,8 @@ importers: specifier: ^12.10.3 version: 12.10.3 jsdom: - specifier: ^23.0.1 - version: 23.0.1 + specifier: ^24.0.0 + version: 24.0.0 log-update: specifier: ^5.0.1 version: 5.0.1 @@ -13651,6 +13651,13 @@ packages: rrweb-cssom: 0.6.0 dev: true + /cssstyle@4.0.1: + resolution: {integrity: sha512-8ZYiJ3A/3OkDd093CBT/0UKDWry7ak4BdPTFP2+QEP7cmhouyq/Up709ASSj2cK02BbZiMgk7kYjZNS4QP5qrQ==} + engines: {node: '>=18'} + dependencies: + rrweb-cssom: 0.6.0 + dev: true + /csstype@3.1.0: resolution: {integrity: sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==} @@ -19227,8 +19234,8 @@ packages: - utf-8-validate dev: true - /jsdom@23.0.1: - resolution: {integrity: sha512-2i27vgvlUsGEBO9+/kJQRbtqtm+191b5zAZrU/UezVmnC2dlDAFLgDYJvAEi94T4kjsRKkezEtLQTgsNEsW2lQ==} + /jsdom@24.0.0: + resolution: {integrity: sha512-UDS2NayCvmXSXVP6mpTj+73JnNQadZlr9N68189xib2tx5Mls7swlTNao26IoHv46BZJFvXygyRtyXd1feAk1A==} engines: {node: '>=18'} peerDependencies: canvas: ^2.11.2 @@ -19236,7 +19243,7 @@ packages: canvas: optional: true dependencies: - cssstyle: 3.0.0 + cssstyle: 4.0.1 data-urls: 5.0.0 decimal.js: 10.4.3 form-data: 4.0.0 @@ -19255,7 +19262,7 @@ packages: whatwg-encoding: 3.1.1 whatwg-mimetype: 4.0.0 whatwg-url: 14.0.0 - ws: 8.14.2 + ws: 8.16.0 xml-name-validator: 5.0.0 transitivePeerDependencies: - bufferutil @@ -27119,6 +27126,19 @@ packages: utf-8-validate: optional: true + /ws@8.16.0: + resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: true + /x-default-browser@0.4.0: resolution: {integrity: sha512-7LKo7RtWfoFN/rHx1UELv/2zHGMx8MkZKDq1xENmOCTkfIqZJ0zZ26NEJX8czhnPXVcqS0ARjjfJB+eJ0/5Cvw==} hasBin: true