qiwi / qorsproxy

Yet another cors proxy
MIT License
5 stars 3 forks source link

fix(deps): update dependency http-status-codes to v2 - autoclosed #39

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
http-status-codes dependencies major ^1.4.0 -> ^2.0.0

Release Notes

prettymuchbryce/node-http-status ### [`v2.1.4`](https://togithub.com/prettymuchbryce/node-http-status/releases/v2.1.4) [Compare Source](https://togithub.com/prettymuchbryce/node-http-status/compare/v2.1.3...v2.1.4) Introduced some non-breaking changes to the module in order to take better advantage of tree-shaking as suggested in [#​55](https://togithub.com/prettymuchbryce/node-http-status/issues/55) and [#​58](https://togithub.com/prettymuchbryce/node-http-status/issues/58). This should reduce file size for most users who are able to take advantage of tree shaking, especially those who are only using a subset of this library's features. Thanks to [@​EvgenyOrekhov](https://togithub.com/EvgenyOrekhov) and [@​OliverJAsh](https://togithub.com/OliverJAsh) for their suggestions and feedback on these issues. ### [`v2.1.3`](https://togithub.com/prettymuchbryce/node-http-status/releases/v2.1.3) [Compare Source](https://togithub.com/prettymuchbryce/node-http-status/compare/v2.1.2...v2.1.3) - Fix an issue where the common.js bundle was not working with react native projects. [#​60](https://togithub.com/prettymuchbryce/node-http-status/issues/60) [#​56](https://togithub.com/prettymuchbryce/node-http-status/issues/56) - Mark the module as "side-effect free" for tree shaking [#​58](https://togithub.com/prettymuchbryce/node-http-status/issues/58) ### [`v2.1.2`](https://togithub.com/prettymuchbryce/node-http-status/releases/2.1.2) [Compare Source](https://togithub.com/prettymuchbryce/node-http-status/compare/v2.1.1...v2.1.2) Exports ESM module for browser environments which fixes [#​56](https://togithub.com/prettymuchbryce/node-http-status/issues/56) Provides a default export for additional backwards compatibility with v1 [#​54](https://togithub.com/prettymuchbryce/node-http-status/issues/54) ### [`v2.1.1`](https://togithub.com/prettymuchbryce/node-http-status/releases/2.1.1) [Compare Source](https://togithub.com/prettymuchbryce/node-http-status/compare/v2.1.0...v2.1.1) Fixes a bug with the way the TypeScript definitions were being built. [#​52](https://togithub.com/prettymuchbryce/node-http-status/issues/52) Thanks to [@​Benno007](https://togithub.com/Benno007) for finding and reporting this issue. ### [`v2.1.0`](https://togithub.com/prettymuchbryce/node-http-status/releases/2.1.0) [Compare Source](https://togithub.com/prettymuchbryce/node-http-status/compare/v2.0.0...v2.1.0) - Adds a new status code: `451 Unavailable For Legal Reasons` Thanks [@​ffflorian](https://togithub.com/ffflorian) for this contribution. ### [`v2.0.0`](https://togithub.com/prettymuchbryce/node-http-status/releases/v2.0.0) [Compare Source](https://togithub.com/prettymuchbryce/node-http-status/compare/v1.4.0...v2.0.0) This release marks a new major version of http-status-codes. Improvements include: - Project rewritten in TypeScript - TypeScript enums "StatusCodes" and "ReasonPhrases" - Test coverage - Automated source code generation of codes and documentation - Change the reason phrase "Server Error" to the correct one, "Internal Server Error" - Rename "getStatusText" -> "getReasonPhrase" to make the API more consistent Thanks to [@​seanmhanson](https://togithub.com/seanmhanson) for their help on this new version. ##### Migrating from v1.x.x http-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes. ##### [Breaking Change] 'Server Error' The reason phrase for the status code `500` has been changed from `"Server Error"` to `"Internal Server Error"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you. ##### [Non-breaking change] getStatusText renamed getReasonPhrase The function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before. ##### [Non-breaking change] StatusCodes In http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

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

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.