diff --git a/package-lock.json b/package-lock.json index bfb496d7..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", @@ -17924,9 +17915,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" @@ -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", @@ -32774,9 +32759,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" 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 {