factory-girl
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -32,4 +32,4 @@ import _slicedToArray from 'babel-runtime/helpers/slicedToArray'; | ||
promise = asyncPopulate(target[attr], source[attr]); | ||
} else if (source[attr] === null) { | ||
target[attr] = null; | ||
} else if (source[attr] === null || source[attr] === undefined) { | ||
target[attr] = source[attr]; | ||
} else if (isPlainObject(source[attr])) { | ||
@@ -36,0 +36,0 @@ target[attr] = target[attr] || {}; |
@@ -38,4 +38,4 @@ 'use strict'; | ||
promise = asyncPopulate(target[attr], source[attr]); | ||
} else if (source[attr] === null) { | ||
target[attr] = null; | ||
} else if (source[attr] === null || source[attr] === undefined) { | ||
target[attr] = source[attr]; | ||
} else if (isPlainObject(source[attr])) { | ||
@@ -42,0 +42,0 @@ target[attr] = target[attr] || {}; |
@@ -38,4 +38,4 @@ (function (global, factory) { | ||
promise = asyncPopulate(target[attr], source[attr]); | ||
} else if (source[attr] === null) { | ||
target[attr] = null; | ||
} else if (source[attr] === null || source[attr] === undefined) { | ||
target[attr] = source[attr]; | ||
} else if (isPlainObject(source[attr])) { | ||
@@ -42,0 +42,0 @@ target[attr] = target[attr] || {}; |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"keywords": [ | ||
@@ -12,0 +12,0 @@ "factory", |
Sorry, the diff of this file is too big to display
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
755434