From 27af16246a9de50640451a0cbd3945b37141e6df Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Jun 2024 12:29:20 +0000 Subject: [PATCH 1/2] Bump ws from 6.2.2 to 6.2.3 Bumps [ws](https://github.com/websockets/ws) from 6.2.2 to 6.2.3. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/6.2.2...6.2.3) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index bfb496d7..b381f106 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17924,9 +17924,9 @@ } }, "node_modules/webpack-dev-server/node_modules/ws": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", - "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", + "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==", "dev": true, "dependencies": { "async-limiter": "~1.0.0" @@ -32774,9 +32774,9 @@ } }, "ws": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", - "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", + "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==", "dev": true, "requires": { "async-limiter": "~1.0.0" From d09f52991cbc45b369820827e2055e8f7a8023a7 Mon Sep 17 00:00:00 2001 From: Peter Markewitz Date: Thu, 20 Jun 2024 12:56:36 +0000 Subject: [PATCH 2/2] remove express-async-errors also --- package-lock.json | 15 --------------- package.json | 1 - src/server.ts | 1 - 3 files changed, 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index b381f106..807c48bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,6 @@ "cors": "^2.8.5", "csv-parse": "^4.16.3", "express": "^4.19.2", - "express-async-errors": "^3.1.1", "express-redis-cache-next": "^1.2.1", "lzma-native": "^8.0.6", "pm2": "^5.3.0", @@ -7885,14 +7884,6 @@ "node": ">= 0.10.0" } }, - "node_modules/express-async-errors": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/express-async-errors/-/express-async-errors-3.1.1.tgz", - "integrity": "sha512-h6aK1da4tpqWSbyCa3FxB/V6Ehd4EEB15zyQq9qe75OZBp0krinNKuH4rAY+S/U/2I36vdLAUFSjQJ+TFmODng==", - "peerDependencies": { - "express": "^4.16.2" - } - }, "node_modules/express-redis-cache-next": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/express-redis-cache-next/-/express-redis-cache-next-1.2.1.tgz", @@ -24749,12 +24740,6 @@ } } }, - "express-async-errors": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/express-async-errors/-/express-async-errors-3.1.1.tgz", - "integrity": "sha512-h6aK1da4tpqWSbyCa3FxB/V6Ehd4EEB15zyQq9qe75OZBp0krinNKuH4rAY+S/U/2I36vdLAUFSjQJ+TFmODng==", - "requires": {} - }, "express-redis-cache-next": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/express-redis-cache-next/-/express-redis-cache-next-1.2.1.tgz", diff --git a/package.json b/package.json index ae17983c..b3878847 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "cors": "^2.8.5", "csv-parse": "^4.16.3", "express": "^4.19.2", - "express-async-errors": "^3.1.1", "express-redis-cache-next": "^1.2.1", "lzma-native": "^8.0.6", "pm2": "^5.3.0", diff --git a/src/server.ts b/src/server.ts index 103a0019..05318749 100644 --- a/src/server.ts +++ b/src/server.ts @@ -3,7 +3,6 @@ import express, { NextFunction, Request, Response } from "express"; import cors from "cors"; import compression from "compression"; import queue from "@marlon360/express-queue"; -import "express-async-errors"; import axios from "axios"; import {