Skip to content

Commit

Permalink
Update dependency http-errors to v2 (#107)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [http-errors](https://github.com/jshttp/http-errors) | dependencies | major | [`^1.8.0` -> `^2.0.0`](https://renovatebot.com/diffs/npm/http-errors/1.8.0/2.0.0) |
| [@types/http-errors](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-errors) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | dependencies | major | [`^1.8.0` -> `^2.0.0`](https://renovatebot.com/diffs/npm/@types%2fhttp-errors/1.8.0/2.0.1) |

---

### Release Notes

<details>
<summary>jshttp/http-errors</summary>

### [`v2.0.0`](https://github.com/jshttp/http-errors/blob/HEAD/HISTORY.md#&#8203;200--2021-12-17)

[Compare Source](jshttp/http-errors@1.8.1...v2.0.0)

\==================

-   Drop support for Node.js 0.6
-   Remove `I'mateapot` export; use `ImATeapot` instead
-   Remove support for status being non-first argument
-   Rename `UnorderedCollection` constructor to `TooEarly`
-   deps: depd@2.0.0
    -   Replace internal `eval` usage with `Function` constructor
    -   Use instance methods on `process` to check for listeners
-   deps: statuses@2.0.1
    -   Fix messaging casing of `418 I'm a Teapot`
    -   Remove code 306
    -   Rename `425 Unordered Collection` to standard `425 Too Early`

### [`v1.8.1`](https://github.com/jshttp/http-errors/blob/HEAD/HISTORY.md#&#8203;2021-11-14--181)

[Compare Source](jshttp/http-errors@1.8.0...1.8.1)

\==================

-   deps: toidentifier@1.0.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->

Co-authored-by: Renovate Bot <renovate@vylpes.com>
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/Droplet/pulls/107
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: RenovateBot <renovate@vylpes.com>
Co-committed-by: RenovateBot <renovate@vylpes.com>
  • Loading branch information
RenovateBot authored and Vylpes committed May 1, 2023
1 parent 8fa5477 commit 74befab
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -20,7 +20,7 @@
"@types/cookie-parser": "^1.4.2",
"@types/express": "^4.17.11",
"@types/express-session": "^1.17.3",
"@types/http-errors": "^1.8.0",
"@types/http-errors": "^2.0.0",
"@types/morgan": "^1.9.2",
"@types/node": "^15.6.0",
"@types/nodemailer": "^6.4.4",
Expand All @@ -31,7 +31,7 @@
"dotenv": "^16.0.0",
"express": "^4.17.1",
"express-session": "^1.17.2",
"http-errors": "^1.8.0",
"http-errors": "^2.0.0",
"morgan": "^1.10.0",
"mysql2": "^2.2.5",
"nodemailer": "^6.7.2",
Expand Down
42 changes: 26 additions & 16 deletions yarn.lock
Expand Up @@ -650,10 +650,10 @@
dependencies:
"@types/node" "*"

"@types/http-errors@^1.8.0":
version "1.8.0"
resolved "https://registry.npmjs.org/@types/http-errors/-/http-errors-1.8.0.tgz"
integrity sha512-2aoSC4UUbHDj2uCsCxcG/vRMXey/m17bC7UwitVm5hn22nI8O8Y9iDpA76Orc+DWkQ4zZrOKEshCqR/jSuXAHA==
"@types/http-errors@^2.0.0":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@types/http-errors/-/http-errors-2.0.1.tgz#20172f9578b225f6c7da63446f56d4ce108d5a65"
integrity sha512-/K3ds8TRAfBvi5vfjuz8y6+GiAYBZ0x4tXv1Av6CWBWn0IlADc+ZX9pMq7oU0fNQPnBwIZl3rmeLp6SBApbxSQ==

"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1":
version "2.0.3"
Expand Down Expand Up @@ -1745,16 +1745,16 @@ denque@^1.4.1:
resolved "https://registry.npmjs.org/denque/-/denque-1.5.0.tgz"
integrity sha512-CYiCSgIF1p6EUByQPlGkKnP1M9g0ZV3qMIrqMqZqdwazygIA/YP2vrbcyl1h/WppKJTdl1F85cXIle+394iDAQ==

depd@2.0.0, depd@~2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz"
integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==

depd@~1.1.2:
version "1.1.2"
resolved "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz"
integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=

depd@~2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz"
integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==

destroy@~1.0.4:
version "1.0.4"
resolved "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz"
Expand Down Expand Up @@ -2583,16 +2583,16 @@ http-errors@1.7.2:
statuses ">= 1.5.0 < 2"
toidentifier "1.0.0"

http-errors@^1.8.0:
version "1.8.0"
resolved "https://registry.npmjs.org/http-errors/-/http-errors-1.8.0.tgz"
integrity sha512-4I8r0C5JDhT5VkvI47QktDW75rNlGVsUf/8hzjCC/wkWI/jdTRmBb9aI7erSG82r1bjKY3F6k28WnsVxB1C73A==
http-errors@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3"
integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==
dependencies:
depd "~1.1.2"
depd "2.0.0"
inherits "2.0.4"
setprototypeof "1.2.0"
statuses ">= 1.5.0 < 2"
toidentifier "1.0.0"
statuses "2.0.1"
toidentifier "1.0.1"

http-errors@~1.7.2:
version "1.7.3"
Expand Down Expand Up @@ -4818,6 +4818,11 @@ static-extend@^0.1.1:
define-property "^0.2.5"
object-copy "^0.1.0"

statuses@2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63"
integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==

"statuses@>= 1.5.0 < 2", statuses@~1.5.0:
version "1.5.0"
resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz"
Expand Down Expand Up @@ -5011,6 +5016,11 @@ toidentifier@1.0.0:
resolved "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz"
integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==

toidentifier@1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35"
integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==

token-stream@1.0.0:
version "1.0.0"
resolved "https://registry.npmjs.org/token-stream/-/token-stream-1.0.0.tgz"
Expand Down

0 comments on commit 74befab

Please sign in to comment.