New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

neverthrow

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neverthrow - npm Package Versions

234567

8.2.0

Diff
delgado14
published 8.2.0 •

Changelog

Source

8.2.0

Minor Changes

delgado14
published 8.1.1 •

Changelog

Source

8.1.1

Patch Changes

  • #600 3aee20a Thanks @m-shaka! - docs: updated README.md about safeTry and added @deprecated tag to safeUnwrap
delgado14
published 8.1.0 •

Changelog

Source

8.1.0

Minor Changes

delgado14
published 8.0.0 •

Changelog

Source

8.0.0

Major Changes

  • #484 09faf35 Thanks @braxtonhall! - Allow orElse method to change ok types. This makes the orElse types match the implementation.

    This is a breaking change for the orElse type argument list, as the ok type must now be provided before the err type.

    - result.orElse<ErrType>(foo)
    + result.orElse<OkType, ErrType>(foo)
    

    This only applies if type arguments were explicitly provided at an orElse callsite. If the type arguments were inferred, no updates are needed during the upgrade.

delgado14
published 7.2.0 •

Changelog

Source

7.2.0

Minor Changes

  • #562 547352f Thanks @sharno! - change the return type of safeTry to be ResultAsync<T, E> instead of Promise<Result<T, E>> for better composability
delgado14
published 7.1.0 •

Changelog

Source

7.1.0

Minor Changes

Patch Changes

delgado14
published 7.0.1 •

Changelog

Source

7.0.1

Patch Changes

delgado14
published 7.0.0 •

Changelog

Source

7.0.0

Major Changes

  • #553 5a3af0a Thanks @m-shaka! - Declare the minimum supported Node.js version

    Neverthrow does not depend on any Node.js version-specific features, so it should work with any version of Node.js that supports ES6 and other runtimes like Browser, Deno, etc.

    However, for the sake of maintaining a consistent development environment, we should declare the minimum supported version of Node.js in the engines field of the package.json file.

delgado14
published 6.2.2 •
delgado14
published 6.2.1 •