@lab009/magma-utils
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -21,3 +21,4 @@ const execIfFunc = x => (typeof x === 'function' ? x() : x) | ||
export default function ifElse(condition) { | ||
return (then, or) => (execIfFunc(condition) ? execIfFunc(then) : execIfFunc(or)) | ||
return (then, or) => | ||
execIfFunc(condition) ? execIfFunc(then) : execIfFunc(or) | ||
} |
{ | ||
"name": "@lab009/magma-utils", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Utils for Magma.", | ||
@@ -19,4 +19,4 @@ "repository": "lab009/magma", | ||
"app-root-dir": "1.0.2", | ||
"happypack": "3.0.3" | ||
"happypack": "3.1.0" | ||
} | ||
} |
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
7837
141
+ Addedhappypack@3.1.0(transitive)
+ Addedserialize-error@2.1.0(transitive)
- Removedhappypack@3.0.3(transitive)
Updatedhappypack@3.1.0