diff --git a/lib/read-body.js b/lib/read-body.js index 6af6be6b..c7277504 100644 --- a/lib/read-body.js +++ b/lib/read-body.js @@ -2,7 +2,7 @@ import { extname } from 'node:path' import { pipeline as _pipeline } from 'node:stream' import { promisify } from 'node:util' -import Busboy from 'busboy' +import Busboy from '@fastify/busboy' import { createWriteStream } from 'fs-temp' import hasOwnProperty from 'has-own-property' import _onFinished from 'on-finished' diff --git a/package.json b/package.json index ede222b5..35dce7cd 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "middleware" ], "dependencies": { + "@fastify/busboy": "^1.0.0", "append-field": "^2.0.0", - "busboy": "^0.3.1", "bytes": "^3.1.0", "fs-temp": "^2.0.1", "has-own-property": "^2.0.0",