@universal-packages/dynamic-api
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -17,4 +17,10 @@ "use strict"; | ||
const currentModule = finalModules[i]; | ||
if (currentModule.error) | ||
throw currentModule.error; | ||
if (currentModule.error) { | ||
if (currentModule.error instanceof Error) { | ||
throw currentModule.error; | ||
} | ||
else { | ||
throw new Error(currentModule.error); | ||
} | ||
} | ||
} | ||
@@ -21,0 +27,0 @@ for (let i = 0; i < finalModules.length; i++) { |
{ | ||
"name": "@universal-packages/dynamic-api", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Dynamic decoupling-adapting system", | ||
@@ -5,0 +5,0 @@ "author": "David De Anda <david@universal-packages.com> (https://github.com/universal-packages)", |
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
26950
262