From be3294c17eddb21e29a95a1ec8a563198dab69a0 Mon Sep 17 00:00:00 2001 From: Rodrigo Del Angel Gerardo <20210658@uthh.edu.mx> Date: Tue, 16 Apr 2024 08:50:28 -0600 Subject: [PATCH] Instalacion de express --- package-lock.json | 20 ++++++++++++++++++++ package.json | 1 + yarn.lock | 9 ++++++++- 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 2ab2c82..414cbf4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,6 +17,7 @@ "cors": "^2.8.5", "dotenv": "^16.3.2", "express": "^4.19.2", + "express-fileupload": "^1.5.0", "express-validator": "^7.0.1", "follow-redirects": "^1.15.6", "fs-extra": "^11.2.0", @@ -3584,6 +3585,17 @@ "node": ">= 0.10.0" } }, + "node_modules/express-fileupload": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/express-fileupload/-/express-fileupload-1.5.0.tgz", + "integrity": "sha512-jSW3w9evqM37VWkEPkL2Ck5wUo2a8qa03MH+Ou/0ZSTpNlQFBvSLjU12k2nYcHhaMPv4JVvv6+Ac1OuLgUZb7w==", + "dependencies": { + "busboy": "^1.6.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/express-validator": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/express-validator/-/express-validator-7.0.1.tgz", @@ -9445,6 +9457,14 @@ } } }, + "express-fileupload": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/express-fileupload/-/express-fileupload-1.5.0.tgz", + "integrity": "sha512-jSW3w9evqM37VWkEPkL2Ck5wUo2a8qa03MH+Ou/0ZSTpNlQFBvSLjU12k2nYcHhaMPv4JVvv6+Ac1OuLgUZb7w==", + "requires": { + "busboy": "^1.6.0" + } + }, "express-validator": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/express-validator/-/express-validator-7.0.1.tgz", diff --git a/package.json b/package.json index a41b36c..1b16bea 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "cors": "^2.8.5", "dotenv": "^16.3.2", "express": "^4.19.2", + "express-fileupload": "^1.5.0", "express-validator": "^7.0.1", "follow-redirects": "^1.15.6", "fs-extra": "^11.2.0", diff --git a/yarn.lock b/yarn.lock index dbbf408..728f9ef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1591,7 +1591,7 @@ "resolved" "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz" "version" "1.1.2" -"busboy@^1.0.0": +"busboy@^1.0.0", "busboy@^1.6.0": "integrity" "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==" "resolved" "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz" "version" "1.6.0" @@ -2067,6 +2067,13 @@ "jest-message-util" "^29.7.0" "jest-util" "^29.7.0" +"express-fileupload@^1.5.0": + "integrity" "sha512-jSW3w9evqM37VWkEPkL2Ck5wUo2a8qa03MH+Ou/0ZSTpNlQFBvSLjU12k2nYcHhaMPv4JVvv6+Ac1OuLgUZb7w==" + "resolved" "https://registry.npmjs.org/express-fileupload/-/express-fileupload-1.5.0.tgz" + "version" "1.5.0" + dependencies: + "busboy" "^1.6.0" + "express-validator@^7.0.1": "integrity" "sha512-oB+z9QOzQIE8FnlINqyIFA8eIckahC6qc8KtqLdLJcU3/phVyuhXH3bA4qzcrhme+1RYaCSwrq+TlZ/kAKIARA==" "resolved" "https://registry.npmjs.org/express-validator/-/express-validator-7.0.1.tgz"