Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(security): upgrade vitest to 4.1.12 to patch @vitest/mocker advisories (#5318)

claude[bot]a630ffb012e5
diff --git a/apps/api/package.json b/apps/api/package.json
index 589ca8f1c..ffaf287f5 100644
--- a/apps/api/package.json
+++ b/apps/api/package.json
@@ -68,7 +68,7 @@
"tsc-watch": "^7.1.1",
"tsx": "^4.20.3",
"undici-types": "^7.16.0",
- "vitest": "^4.1.11"
+ "vitest": "^4.1.12"
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.84",
diff --git a/apps/api/pnpm-lock.yaml b/apps/api/pnpm-lock.yaml
index dce6fb1e2..5b81c00d7 100644
--- a/apps/api/pnpm-lock.yaml
+++ b/apps/api/pnpm-lock.yaml
@@ -378,8 +378,8 @@ importers:
specifier: ^7.16.0
version: 7.16.0
vitest:
- specifier: ^4.1.11
+ specifier: ^4.1.12
native:
devDependencies:
@@ -1574,12 +1574,14 @@ packages:
'@opentelemetry/[email protected]':
resolution: {integrity: sha512-H19x/TX/LZdqiYOjM7fqtSxwlplC5pgelavqbQdHbhdq0q/AI/TGkM2dfGuuynTXmJPeF2HoZVoPDu+TGoW78A==}
engines: {node: ^18.19.0 || >=20.6.0}
+ deprecated: Use @opentelemetry/sdk-trace package
peerDependencies:
'@opentelemetry/api': '>=1.3.0 <1.10.0'
'@opentelemetry/[email protected]':
resolution: {integrity: sha512-CuvCMJmZxswhNLlM2LfuLOW3h3fZujA4hsG4B+Sz4dX2zvaXO8Ng74cnDHWD64gLszTlhiG3c0iNUjj4g+0/sA==}
engines: {node: ^18.19.0 || >=20.6.0}
+ deprecated: Use @opentelemetry/sdk-trace package
peerDependencies:
'@opentelemetry/api': '>=1.0.0 <1.10.0'
@@ -2271,11 +2273,11 @@ packages:
resolution: {integrity: sha512-Fw28YZpRnA3cAHHDlkt7xQHiJ0fcL+NRcIqsocZQUSmbzeIKRpwttJjik5ZGanXP+vlA4SbTg+AbA3bP363l+w==}
engines: {node: '>= 20'}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-VX2x5vNJXET47KAFzwERI+KRMtTTCSWTfSMKsW7JsUsXV4psq++e3DvZpuTDOpHcxytiDs6p2nhVb2tVDiiUYw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-vFlTt+YEu9WBpNjdGayNmlMVzrWPi1+sv853/7t2FU7hpO5gAFBKHzQmkCq5Xjpr+evegF2994LQT3hF3mRlqQ==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-fKShNpKZzupWZuY0z7egydvL0sqW4INEZBEExMBMAa6izlENEVHwoXgdaTCaBZ5fwlr4xf2o1wXC83n9RpO+NA==}
peerDependencies:
msw: ^2.4.9
vite: 8.1.6
@@ -2285,20 +2287,20 @@ packages:
vite:
optional: true
- '@vitest/[email protected]':
- resolution: {integrity: sha512-yiZzPbGTS9Sr/JpFl8zHrcIkAofNbFV6k21vIgQN/cY/oxZeXhJv5sc/MBJ5jFKWmWs+oJHw0UXLZjmf931+Vw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-XW9O8+Mxx4VpCtkYdMJLZQQwsVryP9wk7cPKDxtXFfwSak6yRh5+2fep/Y0XF/ElBvJHq8bcYdi6aeuai0opZA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-LztvUgdwMNJMIkj3hQnnxiC2Xy1zNxq928W/xhjCLaNCzqTZOudjwbQf6v9IntZGPw132i2Lq2rgTRZHD3JHNw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-NKlVKCr5QnCe8jijdMnmkpHHU+WTqiLFR6G0pHji9uRjXK9xJl1k1nTw6F3pOOj2PDcsDt2GKQMI7wIsaT491w==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-pN7ikn1ON7h8ee4gIAp4AzyK+zBtJPzVbqOgu5LCEh4VaJVbPQcgYQYJIMGQPXVeJJq1fnfazis7a5pFNPahog==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-ko1y1Qgb/slzQ9mr+b89Cuqud8WG1TKtsPD8r7ZUBdvVOGt85Af2HwCqHujrhwJq95hs/9RM7fcAPg57o1vlzw==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-apNa/prQy2qCeywhnixOHPRCgGNhvg7T4Dapfl1GahLp/R+uhBm5cPyFoNVyqsNd2h1nJxL6BqqdIjiABL60YA==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-RGq9x4JNGNTZHEJxvN0oSiJjeSCExm0n2gZKKJZHY9cX5AVA6M7VJILBT3ZJ/tJ/0J9uWT7fETV9/btoi//vSg==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-zTCVGpyFsGWBhllOyKlTw/vnr6D9qxsfSDyfbyZmTyjHw5N/VuvzHpHoQjm2ZJzn4RJgx5w4r7V0er69CmLgPQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-Q3awXrwOfEV+qc3WmO5ONyE0yO7Q1gQ9/oyHxGLZ/pl7N3NO/ZztqQwKLuwMkV+CA1JYSIeO3gkHnRDIo4AVaA==}
resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==}
@@ -4585,20 +4587,20 @@ packages:
yaml:
optional: true
- resolution: {integrity: sha512-fhACrNXUidIbGSBr5FlbuBkO7VWC1ZyLl0DO4CU2DrQoAPxX84Ysxs+HeGQpii5lZWV1Q4gBZTTu49mF+A6Edw==}
+ resolution: {integrity: sha512-5eWdz2yb3ajxWF3C8C4TjkXl7FGm3n2E/VlazALrQHzK7nYMSGFnCZto0bbPNl77AwkOZVLk0YnBAejUu0NiWA==}
engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@opentelemetry/api': ^1.9.0
'@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0
- '@vitest/browser-playwright': 4.1.11
- '@vitest/browser-preview': 4.1.11
- '@vitest/browser-webdriverio': 4.1.11
- '@vitest/coverage-istanbul': 4.1.11
- '@vitest/coverage-v8': 4.1.11
- '@vitest/ui': 4.1.11
+ '@vitest/browser-playwright': 4.1.12
+ '@vitest/browser-preview': 4.1.12
+ '@vitest/browser-webdriverio': ^4.1.11
+ '@vitest/coverage-istanbul': 4.1.12
+ '@vitest/coverage-v8': 4.1.12
+ '@vitest/ui': 4.1.12
happy-dom: '*'
jsdom: '*'
vite: 8.1.6
@@ -6334,44 +6336,44 @@ snapshots:
'@vercel/[email protected]': {}
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
'@standard-schema/spec': 1.1.0
'@types/chai': 5.2.3
- '@vitest/spy': 4.1.11
- '@vitest/utils': 4.1.11
+ '@vitest/spy': 4.1.12
+ '@vitest/utils': 4.1.12
chai: 6.2.2
tinyrainbow: 3.1.0
dependencies:
- '@vitest/spy': 4.1.11
+ '@vitest/spy': 4.1.12
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
tinyrainbow: 3.1.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/utils': 4.1.11
+ '@vitest/utils': 4.1.12
pathe: 2.0.3
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/pretty-format': 4.1.11
- '@vitest/utils': 4.1.11
+ '@vitest/pretty-format': 4.1.12
+ '@vitest/utils': 4.1.12
magic-string: 0.30.21
pathe: 2.0.3
- '@vitest/[email protected]': {}
+ '@vitest/[email protected]': {}
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/pretty-format': 4.1.11
+ '@vitest/pretty-format': 4.1.12
convert-source-map: 2.0.0
tinyrainbow: 3.1.0
@@ -8657,15 +8659,15 @@ snapshots:
tsx: 4.20.3
yaml: 2.9.1
dependencies:
- '@vitest/expect': 4.1.11
- '@vitest/pretty-format': 4.1.11
- '@vitest/runner': 4.1.11
- '@vitest/snapshot': 4.1.11
- '@vitest/spy': 4.1.11
- '@vitest/utils': 4.1.11
+ '@vitest/expect': 4.1.12
+ '@vitest/pretty-format': 4.1.12
+ '@vitest/runner': 4.1.12
+ '@vitest/snapshot': 4.1.12
+ '@vitest/spy': 4.1.12
+ '@vitest/utils': 4.1.12
es-module-lexer: 2.1.0
expect-type: 1.3.0
magic-string: 0.30.21
diff --git a/apps/js-sdk/firecrawl/package.json b/apps/js-sdk/firecrawl/package.json
index 61379075d..4eec88e3d 100644
--- a/apps/js-sdk/firecrawl/package.json
+++ b/apps/js-sdk/firecrawl/package.json
@@ -1,6 +1,6 @@
{
"name": "@mendable/firecrawl-js",
- "version": "4.50.0",
+ "version": "4.50.1",
"description": "JavaScript SDK for Firecrawl, the context API for AI agents: search, scrape, parse, crawl, map, and interact with the web, run Agent and Monitor jobs, and search scientific papers (PubMed, bioRxiv, medRxiv, arXiv)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -44,7 +44,7 @@
"tsup": "^8.5.0",
"typescript": "^5.4.5",
"uuid": "^14.0.0",
- "vitest": "^4.1.11"
+ "vitest": "^4.1.12"
},
"keywords": [
"firecrawl",
diff --git a/apps/js-sdk/firecrawl/pnpm-lock.yaml b/apps/js-sdk/firecrawl/pnpm-lock.yaml
index 296c527f0..c83cfe51f 100644
--- a/apps/js-sdk/firecrawl/pnpm-lock.yaml
+++ b/apps/js-sdk/firecrawl/pnpm-lock.yaml
@@ -57,8 +57,8 @@ importers:
specifier: ^14.0.0
version: 14.0.0
vitest:
- specifier: ^4.1.11
+ specifier: ^4.1.12
packages:
@@ -504,11 +504,11 @@ packages:
resolution: {integrity: sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-VX2x5vNJXET47KAFzwERI+KRMtTTCSWTfSMKsW7JsUsXV4psq++e3DvZpuTDOpHcxytiDs6p2nhVb2tVDiiUYw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-vFlTt+YEu9WBpNjdGayNmlMVzrWPi1+sv853/7t2FU7hpO5gAFBKHzQmkCq5Xjpr+evegF2994LQT3hF3mRlqQ==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-fKShNpKZzupWZuY0z7egydvL0sqW4INEZBEExMBMAa6izlENEVHwoXgdaTCaBZ5fwlr4xf2o1wXC83n9RpO+NA==}
peerDependencies:
msw: ^2.4.9
vite: ^6.0.0 || ^7.0.0 || ^8.0.0
@@ -518,20 +518,20 @@ packages:
vite:
optional: true
- '@vitest/[email protected]':
- resolution: {integrity: sha512-yiZzPbGTS9Sr/JpFl8zHrcIkAofNbFV6k21vIgQN/cY/oxZeXhJv5sc/MBJ5jFKWmWs+oJHw0UXLZjmf931+Vw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-XW9O8+Mxx4VpCtkYdMJLZQQwsVryP9wk7cPKDxtXFfwSak6yRh5+2fep/Y0XF/ElBvJHq8bcYdi6aeuai0opZA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-LztvUgdwMNJMIkj3hQnnxiC2Xy1zNxq928W/xhjCLaNCzqTZOudjwbQf6v9IntZGPw132i2Lq2rgTRZHD3JHNw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-NKlVKCr5QnCe8jijdMnmkpHHU+WTqiLFR6G0pHji9uRjXK9xJl1k1nTw6F3pOOj2PDcsDt2GKQMI7wIsaT491w==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-pN7ikn1ON7h8ee4gIAp4AzyK+zBtJPzVbqOgu5LCEh4VaJVbPQcgYQYJIMGQPXVeJJq1fnfazis7a5pFNPahog==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-ko1y1Qgb/slzQ9mr+b89Cuqud8WG1TKtsPD8r7ZUBdvVOGt85Af2HwCqHujrhwJq95hs/9RM7fcAPg57o1vlzw==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-apNa/prQy2qCeywhnixOHPRCgGNhvg7T4Dapfl1GahLp/R+uhBm5cPyFoNVyqsNd2h1nJxL6BqqdIjiABL60YA==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-RGq9x4JNGNTZHEJxvN0oSiJjeSCExm0n2gZKKJZHY9cX5AVA6M7VJILBT3ZJ/tJ/0J9uWT7fETV9/btoi//vSg==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-zTCVGpyFsGWBhllOyKlTw/vnr6D9qxsfSDyfbyZmTyjHw5N/VuvzHpHoQjm2ZJzn4RJgx5w4r7V0er69CmLgPQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-Q3awXrwOfEV+qc3WmO5ONyE0yO7Q1gQ9/oyHxGLZ/pl7N3NO/ZztqQwKLuwMkV+CA1JYSIeO3gkHnRDIo4AVaA==}
resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==}
@@ -1180,20 +1180,20 @@ packages:
yaml:
optional: true
- resolution: {integrity: sha512-fhACrNXUidIbGSBr5FlbuBkO7VWC1ZyLl0DO4CU2DrQoAPxX84Ysxs+HeGQpii5lZWV1Q4gBZTTu49mF+A6Edw==}
+ resolution: {integrity: sha512-5eWdz2yb3ajxWF3C8C4TjkXl7FGm3n2E/VlazALrQHzK7nYMSGFnCZto0bbPNl77AwkOZVLk0YnBAejUu0NiWA==}
engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@opentelemetry/api': ^1.9.0
'@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0
- '@vitest/browser-playwright': 4.1.11
- '@vitest/browser-preview': 4.1.11
- '@vitest/browser-webdriverio': 4.1.11
- '@vitest/coverage-istanbul': 4.1.11
- '@vitest/coverage-v8': 4.1.11
- '@vitest/ui': 4.1.11
+ '@vitest/browser-playwright': 4.1.12
+ '@vitest/browser-preview': 4.1.12
+ '@vitest/browser-webdriverio': ^4.1.11
+ '@vitest/coverage-istanbul': 4.1.12
+ '@vitest/coverage-v8': 4.1.12
+ '@vitest/ui': 4.1.12
happy-dom: '*'
jsdom: '*'
vite: ^6.0.0 || ^7.0.0 || ^8.0.0
@@ -1356,7 +1356,7 @@ snapshots:
'@jridgewell/[email protected]':
dependencies:
'@jridgewell/resolve-uri': 3.1.2
- '@jridgewell/sourcemap-codec': 1.5.4
+ '@jridgewell/sourcemap-codec': 1.6.0
'@oxc-project/[email protected]': {}
@@ -1506,44 +1506,44 @@ snapshots:
'@types/[email protected]': {}
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
'@standard-schema/spec': 1.1.0
'@types/chai': 5.2.3
- '@vitest/spy': 4.1.11
- '@vitest/utils': 4.1.11
+ '@vitest/spy': 4.1.12
+ '@vitest/utils': 4.1.12
chai: 6.3.0
tinyrainbow: 3.2.0
dependencies:
- '@vitest/spy': 4.1.11
+ '@vitest/spy': 4.1.12
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
tinyrainbow: 3.2.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/utils': 4.1.11
+ '@vitest/utils': 4.1.12
pathe: 2.0.3
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/pretty-format': 4.1.11
- '@vitest/utils': 4.1.11
+ '@vitest/pretty-format': 4.1.12
+ '@vitest/utils': 4.1.12
magic-string: 0.30.21
pathe: 2.0.3
- '@vitest/[email protected]': {}
+ '@vitest/[email protected]': {}
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/pretty-format': 4.1.11
+ '@vitest/pretty-format': 4.1.12
convert-source-map: 2.0.0
tinyrainbow: 3.2.0
@@ -1707,9 +1707,9 @@ snapshots:
optionalDependencies:
picomatch: 4.0.4
optionalDependencies:
- picomatch: 4.0.4
+ picomatch: 4.0.7
dependencies:
@@ -2075,8 +2075,8 @@ snapshots:
dependencies:
- fdir: 6.5.0([email protected])
- picomatch: 4.0.4
+ fdir: 6.5.0([email protected])
+ picomatch: 4.0.7
@@ -2138,21 +2138,21 @@ snapshots:
esbuild: 0.28.1
fsevents: 2.3.3
dependencies:
- '@vitest/expect': 4.1.11
- '@vitest/mocker': 4.1.11([email protected](@types/[email protected])([email protected]))
- '@vitest/pretty-format': 4.1.11
- '@vitest/runner': 4.1.11
- '@vitest/snapshot': 4.1.11
- '@vitest/spy': 4.1.11
- '@vitest/utils': 4.1.11
+ '@vitest/expect': 4.1.12
+ '@vitest/mocker': 4.1.12([email protected](@types/[email protected])([email protected]))
+ '@vitest/pretty-format': 4.1.12
+ '@vitest/runner': 4.1.12
+ '@vitest/snapshot': 4.1.12
+ '@vitest/spy': 4.1.12
+ '@vitest/utils': 4.1.12
es-module-lexer: 2.3.2
expect-type: 1.4.0
magic-string: 0.30.21
obug: 2.2.1
pathe: 2.0.3
- picomatch: 4.0.4
+ picomatch: 4.0.7
std-env: 4.3.0
tinybench: 2.9.0
tinyexec: 1.3.1