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

result-tsk

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

result-tsk - npm Package Compare versions

Comparing version 2.1.7 to 2.1.8

8

CHANGELOG.md

@@ -120,3 +120,3 @@ # Changelog

## [2.1.7] — 2024-05-07
## [2.1.7] — 2024-06-07

@@ -126,1 +126,7 @@ ### Update

- Packages was updated.
## [2.1.8] — 2024-06-07
### Update
- keeping value content in Result<T>.

5

lib/generic/Result.js

@@ -84,9 +84,6 @@ "use strict";

const execution = yield promise;
let value = execution === null || execution === undefined ? undefined : execution.value;
if (execution.error) {
this.setError(execution.error, execution.statusCode);
}
else {
value = execution.value;
}
const value = execution.value;
return Object.assign(Object.assign({}, this), { value });

@@ -93,0 +90,0 @@ });

{
"name": "result-tsk",
"version": "2.1.7",
"version": "2.1.8",
"description": "result tool to use with or without NodeTskeleton template project",

@@ -5,0 +5,0 @@ "repository": {

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