redact-axios-error
Advanced tools
Comparing version 0.1.13 to 0.1.14
@@ -148,3 +148,3 @@ 'use strict'; | ||
if (errConfig.method != null) clonedConfig.method = errConfig.method; | ||
if (errConfig.data != null) clonedConfig.data = errConfig.data; | ||
if (errConfig.data != null) clonedConfig.data = (0, _safeCloneDeep2.default)(errConfig.data); | ||
@@ -151,0 +151,0 @@ if (errConfig.baseURL != null) clonedConfig.baseURL = errConfig.baseURL; |
@@ -108,3 +108,3 @@ import traverse from 'traverse' | ||
if (errConfig.method != null) clonedConfig.method = errConfig.method | ||
if (errConfig.data != null) clonedConfig.data = errConfig.data | ||
if (errConfig.data != null) clonedConfig.data = safeClone(errConfig.data) | ||
@@ -111,0 +111,0 @@ if (errConfig.baseURL != null) clonedConfig.baseURL = errConfig.baseURL |
{ | ||
"name": "redact-axios-error", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "grooms and redacts axios errors to trim them down and make them more useful for logging", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
35877