diff --git a/packages/core/core/package.json b/packages/core/core/package.json index 988e779b1..80c9547e3 100644 --- a/packages/core/core/package.json +++ b/packages/core/core/package.json @@ -33,7 +33,7 @@ "access": "public" }, "dependencies": { - "http-errors": "1.8.1", + "http-errors": "2.0.0", "http-status-codes": "2.2.0", "semver": "7.5.0", "ajv": "8.11.2", diff --git a/packages/plugins/htpasswd/package.json b/packages/plugins/htpasswd/package.json index 6265b2539..c36296bf6 100644 --- a/packages/plugins/htpasswd/package.json +++ b/packages/plugins/htpasswd/package.json @@ -39,7 +39,7 @@ "apache-md5": "1.1.8", "bcryptjs": "2.4.3", "core-js": "3.28.0", - "http-errors": "1.8.1", + "http-errors": "2.0.0", "debug": "4.3.4", "unix-crypt-td-js": "1.1.4" }, diff --git a/packages/server/express/package.json b/packages/server/express/package.json index 16e3679cb..7b146b90d 100644 --- a/packages/server/express/package.json +++ b/packages/server/express/package.json @@ -51,7 +51,7 @@ "@types/node": "16.18.10", "@verdaccio/proxy": "workspace:6.0.0-6-next.46", "@verdaccio/test-helper": "workspace:2.0.0-6-next.8", - "http-errors": "1.8.1" + "http-errors": "2.0.0" }, "scripts": { "clean": "rimraf ./build", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9a8235acf..3bcf7852f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -670,8 +670,8 @@ importers: specifier: 3.28.0 version: 3.28.0 http-errors: - specifier: 1.8.1 - version: 1.8.1 + specifier: 2.0.0 + version: 2.0.0 http-status-codes: specifier: 2.2.0 version: 2.2.0 @@ -1056,8 +1056,8 @@ importers: specifier: 4.3.4 version: 4.3.4(supports-color@6.1.0) http-errors: - specifier: 1.8.1 - version: 1.8.1 + specifier: 2.0.0 + version: 2.0.0 unix-crypt-td-js: specifier: 1.1.4 version: 1.1.4 @@ -1511,8 +1511,8 @@ importers: specifier: workspace:2.0.0-6-next.8 version: link:../../tools/helpers http-errors: - specifier: 1.8.1 - version: 1.8.1 + specifier: 2.0.0 + version: 2.0.0 packages/server/fastify: dependencies: @@ -17420,16 +17420,6 @@ packages: setprototypeof: 1.1.0 statuses: 1.5.0 - /http-errors@1.8.1: - resolution: {integrity: sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==} - engines: {node: '>= 0.6'} - dependencies: - depd: 1.1.2 - inherits: 2.0.4 - setprototypeof: 1.2.0 - statuses: 1.5.0 - toidentifier: 1.0.1 - /http-errors@2.0.0: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'}