Skip to content

Commit 27af201

Browse files
authored
chore: Update @fastify/multipart used in tests to the latest version (#7379)
1 parent d51ac85 commit 27af201

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/dd-trace/test/appsec/index.fastify.plugin.spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,10 @@ withVersions('fastify', 'fastify', '>=2', (fastifyVersion, _, fastifyLoadedVersi
561561
this.skip()
562562
}
563563

564+
if (semver.intersects(multipartLoadedVersion, '>=9.4.0') && semver.intersects(fastifyLoadedVersion, '<4')) {
565+
this.skip()
566+
}
567+
564568
return agent.load(['fastify', '@fastify/multipart', 'http'], { client: false })
565569
})
566570

packages/dd-trace/test/plugins/externals.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
},
189189
{
190190
"name": "@fastify/multipart",
191-
"versions": [">=6"]
191+
"versions": [">=6", "9.3.0"]
192192
},
193193
{
194194
"name": "pg",

packages/dd-trace/test/plugins/versions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@elastic/transport": "9.3.0",
3030
"@fast-check/jest": "2.1.1",
3131
"@fastify/cookie": "11.0.2",
32-
"@fastify/multipart": "9.3.0",
32+
"@fastify/multipart": "9.4.0",
3333
"@google-cloud/pubsub": "5.2.2",
3434
"@google-cloud/vertexai": "1.10.0",
3535
"@google/genai": "1.37.0",

0 commit comments

Comments
 (0)