Skip to content

build(deps-dev): bump http-status-codes from 1.4.0 to 2.1.4 #625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 10, 2020

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 10, 2020

Bumps http-status-codes from 1.4.0 to 2.1.4.

Release notes

Sourced from http-status-codes's releases.

http-status-codes 2.1.4

Introduced some non-breaking changes to the module in order to take better advantage of tree-shaking as suggested in #55 and #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 and @OliverJAsh for their suggestions and feedback on these issues.

https://bundlephobia.com/[email protected]

http-status-codes 2.1.3

  • Fix an issue where the common.js bundle was not working with react native projects. #60 #56
  • Mark the module as "side-effect free" for tree shaking #58

http-status-codes 2.1.2

Exports ESM module for browser environments which fixes #56

Provides a default export for additional backwards compatibility with v1 #54

http-status-codes 2.1.1

Fixes a bug with the way the TypeScript definitions were being built. #52

Thanks to @Benno007 for finding and reporting this issue.

http-status-codes v2.1.0

  • Adds a new status code: 451 Unavailable For Legal Reasons

Thanks @ffflorian for this contribution.

http-status-codes 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 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.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 10, 2020
@jotamorais jotamorais merged commit d8392cb into develop Dec 10, 2020
@jotamorais jotamorais deleted the dependabot/npm_and_yarn/http-status-codes-2.1.4 branch December 10, 2020 15:55
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

1 participant