Skip to content

Commit

Permalink
feat: Publish 8.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Olian04 committed Oct 16, 2023
1 parent 2d36a3e commit 0bf57e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.github
assets
demo
scripts
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
![Minified and gzipped bundle size](./assets/size.badge.svg)
![Type support](https://img.shields.io/npm/types/simply-result)
[![CI status](https://img.shields.io/github/actions/workflow/status/olian04/simply-result/ci.yml?event=push&label=tests)](https://github.com/Olian04/simply-result/actions/workflows/ci.yml)
[![Code coverage](https://img.shields.io/codecov/c/gh/olian04/simply-result?token=54HYINU8yj&label=test%20coverage)](https://codecov.io/gh/Olian04/simply-result)
[![Downloads from NPM](https://img.shields.io/npm/dm/simply-result?label=downloads%20npm)](https://www.npmjs.com/package/simply-result)
[![MIT licensed](https://img.shields.io/npm/l/simply-result)](./LICENSE)

Expand Down Expand Up @@ -151,7 +152,6 @@ function flatten<V, E>(outerResult: Result<Result<V, E>, E>): Result<V, E>
function fromPromise<T, E = Error>(promiselike: PromiseLike<T>): Promise<Result<T, E>>
```


## Performance

| | Code | Result |
Expand All @@ -161,4 +161,3 @@ function fromPromise<T, E = Error>(promiselike: PromiseLike<T>): Promise<Result<
| Baseline | `String(new Error())` | `211,627 ops/sec ±0.39% (89 runs sampled)` |

Tests were ran on a `32gb MacBook M1 Pro` running `macOS 14.0`. The test code can be found [here](./demo/perf.ts).

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simply-result",
"version": "8.1.2",
"version": "8.1.3",
"description": "Simply typesafe Result and Option monads in typescript and javascript.",
"main": "dist/main.js",
"sideEffects": false,
Expand Down

0 comments on commit 0bf57e0

Please sign in to comment.