Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-result

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-result - npm Package Compare versions

Comparing version 9.0.0 to 9.1.0

2

lib/index.d.ts

@@ -30,2 +30,3 @@ export { ResultError } from 'node-result-error';

unwrapAsync(): Promise<D>;
isOkAndUnwrap(): [AtomOK, D];
}

@@ -36,2 +37,3 @@ export declare class ResultFAIL<E> extends Result<undefined, E> {

unwrapAsync(): Promise<E>;
isOkAndUnwrap(): [AtomFAIL, E];
}

@@ -38,0 +40,0 @@ export declare const ResultOk: <D>(data: D) => ResultOK<D>;

@@ -68,2 +68,5 @@ "use strict";

}
isOkAndUnwrap() {
return [AtomOK.OK, this.data];
}
}

@@ -81,2 +84,5 @@ exports.ResultOK = ResultOK;

}
isOkAndUnwrap() {
return [AtomFAIL.FAIL, this.error];
}
}

@@ -83,0 +89,0 @@ exports.ResultFAIL = ResultFAIL;

2

package.json
{
"name": "node-result",
"version": "9.0.0",
"version": "9.1.0",
"description": "result",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc