From 91fd0dad3c03de46752d00ff6c93b7a43547ff69 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Tue, 16 Aug 2022 22:39:28 +0200 Subject: [PATCH] meta: upgrade all dev dependencies (#3903) --- package.json | 38 ++++++++++++++++++------------------- test/__tests__/companion.js | 4 ++-- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 79ac7a639c..283091dc8c 100644 --- a/package.json +++ b/package.json @@ -30,19 +30,19 @@ "dependencies": { "atob": "2.1.2", "aws-sdk": "^2.1038.0", - "body-parser": "1.19.0", - "chalk": "2.4.2", - "common-tags": "1.8.0", + "body-parser": "1.20.0", + "chalk": "4.1.2", + "common-tags": "1.8.2", "connect-redis": "6.1.3", "cookie-parser": "1.4.6", "cors": "^2.8.5", "escape-goat": "3.0.0", - "escape-string-regexp": "2.0.0", - "express": "4.17.1", + "escape-string-regexp": "4.0.0", + "express": "4.18.1", "express-interceptor": "1.2.0", - "express-prom-bundle": "6.3.0", + "express-prom-bundle": "6.5.0", "express-request-id": "1.4.1", - "express-session": "1.17.1", + "express-session": "1.17.3", "form-data": "^3.0.0", "got": "11", "grant": "4.7.0", @@ -50,19 +50,19 @@ "ipaddr.js": "^2.0.1", "jsonwebtoken": "8.5.1", "lodash.merge": "^4.6.2", - "mime-types": "2.1.25", + "mime-types": "2.1.35", "moment": "^2.29.2", "moment-timezone": "^0.5.31", "morgan": "1.10.0", - "ms": "2.1.2", - "node-schedule": "1.3.2", - "prom-client": "12.0.0", + "ms": "2.1.3", + "node-schedule": "2.1.0", + "prom-client": "14.0.1", "redis": "4.2.0", - "semver": "6.3.0", + "semver": "7.3.7", "serialize-error": "^2.1.0", "serialize-javascript": "^6.0.0", "tus-js-client": "^3.0.0", - "validator": "^12.1.0", + "validator": "^13.0.0", "ws": "8.8.1" }, "devDependencies": { @@ -77,15 +77,15 @@ "@types/morgan": "1.7.37", "@types/ms": "0.7.31", "@types/node": "^18.0.3", - "@types/react": "^17.0.13", - "@types/request": "2.48.4", + "@types/react": "^18.0.0", + "@types/request": "2.48.8", "@types/webpack": "^5.28.0", - "@types/ws": "6.0.4", + "@types/ws": "8.5.3", "into-stream": "^6.0.0", - "jest": "^27.0.6", + "jest": "^28.0.0", "nock": "^13.1.3", - "supertest": "3.4.2", - "typescript": "~4.4" + "supertest": "6.2.4", + "typescript": "~4.7" }, "files": [ "bin/", diff --git a/test/__tests__/companion.js b/test/__tests__/companion.js index 6ccce932f2..6f4662867b 100644 --- a/test/__tests__/companion.js +++ b/test/__tests__/companion.js @@ -236,7 +236,7 @@ it('respects allowLocalUrls, localhost', async () => { res = await runUrlGetTest('http://localhost/') expect(res.statusCode).toBe(400) expect(res.body).toEqual({ error: 'Invalid request body' }) -}, 1000) +}) it('respects allowLocalUrls, valid hostname that resolves to localhost', async () => { let res = await runUrlMetaTest(`http://${fakeLocalhost}/`) @@ -246,4 +246,4 @@ it('respects allowLocalUrls, valid hostname that resolves to localhost', async ( res = await runUrlGetTest(`http://${fakeLocalhost}/`) expect(res.statusCode).toBe(500) expect(res.body).toEqual({ message: 'failed to fetch URL metadata' }) -}, 1000) +})