@vtex/lean-shipping-calculator
Advanced tools
Comparing version 0.2.16 to 0.2.17
@@ -203,2 +203,6 @@ "use strict"; | ||
function removeAddressValidation(address) { | ||
if (address == null) { | ||
return {}; | ||
} | ||
var newAddressEntries = Object.entries(address).map(function (_ref3) { | ||
@@ -209,3 +213,3 @@ var _ref4 = _slicedToArray(_ref3, 2), | ||
var newValue = value.value == null ? _typeof(value) === 'object' ? null : value : value.value; | ||
var newValue = value == null || value.value == null ? _typeof(value) === 'object' ? null : value : value.value; | ||
return [key, newValue]; | ||
@@ -212,0 +216,0 @@ }); |
{ | ||
"name": "@vtex/lean-shipping-calculator", | ||
"version": "0.2.16", | ||
"version": "0.2.17", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
185149
25
3984
0