From 348ee9b542e3905c63f922c041343bbda96c29fc Mon Sep 17 00:00:00 2001 From: bourgeoa Date: Mon, 27 Dec 2021 17:19:43 +0100 Subject: [PATCH] update busboy --- lib/handlers/post.js | 2 +- package-lock.json | 34 +++++++++++++--------------------- package.json | 2 +- 3 files changed, 15 insertions(+), 23 deletions(-) diff --git a/lib/handlers/post.js b/lib/handlers/post.js index c0cd9a321..5942519f9 100644 --- a/lib/handlers/post.js +++ b/lib/handlers/post.js @@ -1,6 +1,6 @@ module.exports = handler -const Busboy = require('busboy') +const Busboy = require('@fastify/busboy') const debug = require('debug')('solid:post') const path = require('path') const header = require('../header') diff --git a/package-lock.json b/package-lock.json index 5ee2f01a6..92060314b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -501,6 +501,14 @@ } } }, + "@fastify/busboy": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-1.0.0.tgz", + "integrity": "sha512-tzTXX1TFEjWCseEsNdIlXXkD+48uJoN+zpqIojUX4pSoMscsbhO/UuVEB5SzJucexqDWOo2ma0ECwdD7hZdrzg==", + "requires": { + "text-decoding": "^1.0.0" + } + }, "@humanwhocodes/config-array": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", @@ -2510,14 +2518,6 @@ "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" }, - "busboy": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/busboy/-/busboy-0.3.1.tgz", - "integrity": "sha512-y7tTxhGKXcyBxRKAni+awqx8uqaJKrSFSNFSeRG5CsWNdmy2BIK+6VGWEW7TZnIO/533mtMEA4rOevQV815YJw==", - "requires": { - "dicer": "0.3.0" - } - }, "bytes": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.1.tgz", @@ -3206,14 +3206,6 @@ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" }, - "dicer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/dicer/-/dicer-0.3.0.tgz", - "integrity": "sha512-MdceRRWqltEG2dZqO769g27N/3PXfcKl04VhYnBlo2YhH7zPi88VebsjTKclaOyiuMaGU72hTfw3VkUitGcVCA==", - "requires": { - "streamsearch": "0.1.2" - } - }, "diff": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", @@ -8457,11 +8449,6 @@ "readable-stream": "^3.5.0" } }, - "streamsearch": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz", - "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=" - }, "string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", @@ -8640,6 +8627,11 @@ "minimatch": "^3.0.4" } }, + "text-decoding": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-decoding/-/text-decoding-1.0.0.tgz", + "integrity": "sha512-/0TJD42KDnVwKmDK6jj3xP7E2MG7SHAOG4tyTgyUCRPdHwvkquYNLEQltmdMa3owq3TkddCVcTsoctJI8VQNKA==" + }, "text-encoder-lite": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/text-encoder-lite/-/text-encoder-lite-2.0.0.tgz", diff --git a/package.json b/package.json index d900cee7e..82b71ce07 100644 --- a/package.json +++ b/package.json @@ -55,13 +55,13 @@ "homepage": "https://github.com/solid/node-solid-server", "bugs": "https://github.com/solid/node-solid-server/issues", "dependencies": { + "@fastify/busboy": "^1.0.0", "@solid/acl-check": "^0.4.5", "@solid/oidc-auth-manager": "^0.24.1", "@solid/oidc-op": "0.11.5", "async-lock": "^1.3.0", "body-parser": "^1.19.1", "bootstrap": "^3.4.1", - "busboy": "^0.3.1", "cached-path-relative": "^1.0.2", "camelize": "^1.0.0", "cheerio": "^1.0.0-rc.10",