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

fix(deps): bump neverthrow from 4.0.1 to 4.1.0 #1170

Merged
merged 2 commits into from
Feb 19, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 16, 2021

Bumps neverthrow from 4.0.1 to 4.1.0.

Release notes

Sourced from neverthrow's releases.

All andThen variations now allow you to return distinct error types! 🔥 (now out of beta)

This release:

All andThen variations now allow you to return distinct error types! 🔥

I finally caved and have gone ahead and "loosened" the restriction that all andThen variations (Result.andThen, Result.asyncAndThen, and ResultAsync.andThen) had before. The restriction prevented the callback inside all andThen variations from returning a distinct / different error type.

See supermacro/neverthrow#30 for more context on the "problem" that this addresses.

This release is downloadable behind a beta tag on npm.

> npm install neverthrow@beta

Docs have been updated to reflect this change.

Here's an example diff.

-   andThen<U>(f: (t: T) => Result<U, E>): Result<U, E> {
+   andThen<U, F>(f: (t: T) => Result<U, F>): Result<U, E | F> {

And here is the full diff:

supermacro/neverthrow@8f87ef0

Commits
  • c587f6f Bump to version 4.1.0
  • bb73215 Update README
  • 73d91c0 Merge pull request #230 from supermacro/renovate/jest-26.x
  • 4929590 Update dependency @types/jest to v26.0.20
  • 74d78b0 Merge pull request #229 from mariosant/export-factories-directly
  • 6e77ffc Export factories directly
  • ae83140 Bump to v4.1.0-beta.0
  • 8f87ef0 Permit distinct error types for all andThen variations
  • e44023b Make combine test on ResultAsync more rigorous
  • See full diff in compare view

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 Feb 16, 2021
@mantariksh mantariksh requested review from karrui and tshuli February 18, 2021 04:16
Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wonderful

@mantariksh mantariksh merged commit cc5843c into develop Feb 19, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/neverthrow-4.1.0 branch February 19, 2021 03:59
@karrui karrui mentioned this pull request Feb 23, 2021
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants