result-tsk
Advanced tools
Comparing version 2.1.6 to 2.1.7
@@ -119,1 +119,7 @@ # Changelog | ||
- Packages was updated and the functions now can be call in a chained way | ||
## [2.1.7] — 2024-05-07 | ||
### Update | ||
- Packages was updated. |
@@ -0,0 +0,0 @@ const result_tsk = require("result-tsk"); |
@@ -83,4 +83,4 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
let value = undefined; | ||
const execution = yield promise; | ||
let value = execution === null || execution === undefined ? undefined : execution.value; | ||
if (execution.error) { | ||
@@ -87,0 +87,0 @@ this.setError(execution.error, execution.statusCode); |
@@ -72,3 +72,2 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
let value = undefined; | ||
const execution = yield promise; | ||
@@ -78,5 +77,3 @@ if (execution.error) { | ||
} | ||
else { | ||
value = execution.value; | ||
} | ||
const value = execution.value; | ||
return Object.assign(Object.assign({}, this), { value }); | ||
@@ -83,0 +80,0 @@ }); |
{ | ||
"name": "result-tsk", | ||
"version": "2.1.6", | ||
"version": "2.1.7", | ||
"description": "result tool to use with or without NodeTskeleton template project", | ||
@@ -16,3 +16,3 @@ "repository": { | ||
], | ||
"author": "Vickodev<harvic3@ingenieros.com>", | ||
"author": "Vickodev<harvic3@proton.me>", | ||
"license": "MIT", | ||
@@ -19,0 +19,0 @@ "homepage": "https://github.com/harvic3/nodetskeleton-tools/blob/master/src/result-tsk/README.md", |
Sorry, the diff of this file is not supported yet
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
23874
345