result-tsk
Advanced tools
Comparing version 2.1.7 to 2.1.8
@@ -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>. |
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
0
23826
342