Skip to content

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

fix: resolve npm audit vulnerabilities for undici, yauzl (#3145)

Abimael Martellbca1a3637990
diff --git a/apps/api/package.json b/apps/api/package.json
index 106cce85b..c65e60976 100644
--- a/apps/api/package.json
+++ b/apps/api/package.json
@@ -140,7 +140,7 @@
"tldts": "^6.1.75",
"tough-cookie": "^4.1.4",
"turndown": "^7.1.3",
- "undici": "^7.18.2",
+ "undici": "7.24.1",
"uuid": "^13.0.0",
"winston": "^3.14.2",
"ws": "^8.18.0",
@@ -186,7 +186,9 @@
"qs@<6.14.2": ">=6.14.2",
"minimatch@<10.2.3": ">=10.2.3",
"bn.js@<5.2.3": ">=5.2.3",
- "@tootallnate/once@<3.0.1": ">=3.0.1"
+ "@tootallnate/once@<3.0.1": ">=3.0.1",
+ "yauzl": "^3.2.1",
+ "undici": "7.24.1"
}
},
"lint-staged": {
diff --git a/apps/api/pnpm-lock.yaml b/apps/api/pnpm-lock.yaml
index a2f7a8146..041bf29c4 100644
--- a/apps/api/pnpm-lock.yaml
+++ b/apps/api/pnpm-lock.yaml
@@ -16,6 +16,8 @@ overrides:
minimatch@<10.2.3: '>=10.2.3'
bn.js@<5.2.3: '>=5.2.3'
'@tootallnate/once@<3.0.1': '>=3.0.1'
+ yauzl: ^3.2.1
+ undici: 7.24.1
importers:
@@ -146,7 +148,7 @@ importers:
version: 2.0.6
http-cookie-agent:
specifier: ^7.0.1
ioredis:
specifier: ^5.6.1
version: 5.6.1
@@ -226,8 +228,8 @@ importers:
specifier: ^7.1.3
version: 7.2.0
undici:
- specifier: ^7.18.2
- version: 7.18.2
+ specifier: 7.24.1
+ version: 7.24.1
uuid:
specifier: ^13.0.0
version: 13.0.0
@@ -3699,9 +3701,6 @@ packages:
resolution: {integrity: sha512-jKmm9YtsNXN789RS/0mSzOC1NUq9mkVd65vbSSVsKdjGvYXBuE4oWe2QOEoFeRmJg+lPuZxpmrfFclNhoRMneQ==}
- resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==}
-
resolution: {integrity: sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==}
@@ -3941,7 +3940,7 @@ packages:
engines: {node: '>=20.0.0'}
peerDependencies:
tough-cookie: ^4.0.0 || ^5.0.0
- undici: ^7.0.0
+ undici: 7.24.1
peerDependenciesMeta:
undici:
optional: true
@@ -5509,8 +5508,8 @@ packages:
resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
- resolution: {integrity: sha512-y+8YjDFzWdQlSE9N5nzKMT3g4a5UBX1HKowfdXh0uvAnTaqqwqB92Jt4UXBAeKekDs5IaDKyJFR4X1gYVCgXcw==}
+ resolution: {integrity: sha512-5xoBibbmnjlcR3jdqtY2Lnx7WbrD/tHlT01TmvqZUFVc9Q1w4+j5hbnapTqbcXITMH1ovjq/W7BkqBilHiVAaA==}
engines: {node: '>=20.18.1'}
@@ -5752,8 +5751,9 @@ packages:
resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==}
+ resolution: {integrity: sha512-k1isifdbpNSFEHFJ1ZY4YDewv0IH9FR61lDetaRMD3j2ae3bIXGV+7c+LHCqtQGofSd8PIyV4X6+dHMAnSr60A==}
+ engines: {node: '>=12'}
resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==}
@@ -9322,10 +9322,6 @@ snapshots:
dependencies:
walk-up-path: 4.0.0
- dependencies:
- pend: 1.2.0
-
@@ -9469,7 +9465,7 @@ snapshots:
async: 2.6.4
countries-list: 3.1.1
ip-address: 6.4.0
- yauzl: 2.10.0
+ yauzl: 3.2.1
@@ -9621,12 +9617,12 @@ snapshots:
domutils: 3.1.0
entities: 4.5.0
dependencies:
agent-base: 7.1.3
tough-cookie: 4.1.4
optionalDependencies:
- undici: 7.18.2
+ undici: 7.24.1
dependencies:
@@ -11412,7 +11408,7 @@ snapshots:
@@ -11644,10 +11640,10 @@ snapshots:
y18n: 5.0.8
yargs-parser: 21.1.1
dependencies:
buffer-crc32: 0.2.13
- fd-slicer: 1.1.0
+ pend: 1.2.0
optional: true
diff --git a/apps/test-suite/package.json b/apps/test-suite/package.json
index 1888fdfa4..57b1bce04 100644
--- a/apps/test-suite/package.json
+++ b/apps/test-suite/package.json
@@ -13,7 +13,8 @@
"pnpm": {
"overrides": {
"fast-xml-parser": "^5.3.8",
- "minimatch@<10.2.3": ">=10.2.3"
+ "minimatch@<10.2.3": ">=10.2.3",
+ "undici": "^7.24.1"
}
}
}
diff --git a/apps/test-suite/pnpm-lock.yaml b/apps/test-suite/pnpm-lock.yaml
index 009b18662..f9d4df342 100644
--- a/apps/test-suite/pnpm-lock.yaml
+++ b/apps/test-suite/pnpm-lock.yaml
@@ -7,6 +7,7 @@ settings:
overrides:
fast-xml-parser: ^5.3.8
minimatch@<10.2.3: '>=10.2.3'
+ undici: '>=7.24.1'
importers:
@@ -2453,8 +2454,8 @@ packages:
resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
- resolution: {integrity: sha512-MJZrkjyd7DeC+uPZh+5/YaMDxFiiEEaDgbUSVMXayofAkDWF1088CDo+2RPg7B1BuS1qf1vgNE7xqwPxE0DuSQ==}
+ resolution: {integrity: sha512-5xoBibbmnjlcR3jdqtY2Lnx7WbrD/tHlT01TmvqZUFVc9Q1w4+j5hbnapTqbcXITMH1ovjq/W7BkqBilHiVAaA==}
engines: {node: '>=20.18.1'}
@@ -5165,7 +5166,7 @@ snapshots:
parse5: 7.3.0
parse5-htmlparser2-tree-adapter: 7.1.0
parse5-parser-stream: 7.1.2
- undici: 7.20.0
+ undici: 7.24.1
whatwg-mimetype: 4.0.0
@@ -6293,7 +6294,7 @@ snapshots:
dependencies: