Skip to content
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

Bump chai-http from 2.0.1 to 4.3.0 #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 26, 2020

Bumps chai-http from 2.0.1 to 4.3.0.

Release notes

Sourced from chai-http's releases.

4.3.0 / 2019-04-26

This feature release allows you to pass a Regular Expression to the redirectTo function.

expect(res).to.redirectTo(/^\/search\/results\?orderBy=desc$/);

Community Contributions

Code Features & Fixes

4.2.1 / 2019-01-02

This patch fixes usability issues for TypeScript definitions.

Community Contributions

Code Features & Fixes

4.2.0 / 2018-08-29

This is a minor update that adds TypeScript definitions.

Community Contributions

Code Features & Fixes

4.1.0 / 2018-08-03

This is a minor update to fix a bug with keepOpen() now allowing close() to be called, and also some additional support for other http libraries - namely the http-errors library.

Community Contributions

Code Features & Fixes

  • #219 Allow for status / statusCode to exist on the prototype (by @austince)
  • #217 Enable closing after keepOpen() has been called (by @martypdx)

4.0.0 / 2018-03-22

This is a major update to the underlying dependencies and also introduces some breaking changes.

  • The biggest breaking change is that this library will _no longer throw based on the status code! This means a request that returns a 404, or 500 or any other status code cannot be asserted on in the catch block, instead must be asserted on in the then block. In other words this behaves more akin to fetch.
  • Another large breaking change is that the chai.request(server) object will automatically close the server connection after the first request. This means if you have code like this:
const request = chai.request(app)
request.get('/bar')
request.get('/bar')

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by chaijs, a new releaser for chai-http since your current version.


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)

Bumps [chai-http](https://github.com/chaijs/chai-http) from 2.0.1 to 4.3.0.
- [Release notes](https://github.com/chaijs/chai-http/releases)
- [Changelog](https://github.com/chaijs/chai-http/blob/master/History.md)
- [Commits](chaijs/chai-http@2.0.1...4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants