@effection/core
Advanced tools
Comparing version 2.2.2 to 2.2.3
# @effection/core | ||
## \[2.2.3] | ||
- [`96b0ce0`](https://github.com/thefrontside/effection/commit/96b0ce039445d5831e96e0f0ced96537a111b9cb) Add the `cause` property to all wrapped errors | ||
## \[2.2.2] | ||
@@ -4,0 +8,0 @@ |
@@ -20,2 +20,6 @@ "use strict"; | ||
}, | ||
cause: { | ||
get: () => error, | ||
enumerable: true, | ||
}, | ||
effectionTrace: { | ||
@@ -22,0 +26,0 @@ value: [...(error.effectionTrace || []), info], |
@@ -17,2 +17,6 @@ export function addTrace(error, task) { | ||
}, | ||
cause: { | ||
get: () => error, | ||
enumerable: true, | ||
}, | ||
effectionTrace: { | ||
@@ -19,0 +23,0 @@ value: [...(error.effectionTrace || []), info], |
{ | ||
"name": "@effection/core", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"main": "dist-cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist-esm/index.js", |
@@ -27,2 +27,6 @@ import type { Task, TaskInfo } from './task'; | ||
}, | ||
cause: { | ||
get: () => error, | ||
enumerable: true, | ||
}, | ||
effectionTrace: { | ||
@@ -29,0 +33,0 @@ value: [...(error.effectionTrace || []), info], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
330858
6288