@datadog/browser-core
Advanced tools
Comparing version 1.2.9 to 1.2.10
@@ -126,5 +126,9 @@ "use strict"; | ||
} | ||
var result; | ||
try { | ||
return JSON.stringify(value, replacer, space); | ||
result = JSON.stringify(value, undefined, space); | ||
} | ||
catch (_a) { | ||
result = '<error: unable to serialize object>'; | ||
} | ||
finally { | ||
@@ -140,2 +144,3 @@ if (originalToJSON[0]) { | ||
} | ||
return result; | ||
} | ||
@@ -142,0 +147,0 @@ exports.jsonStringify = jsonStringify; |
@@ -115,5 +115,9 @@ export var ONE_SECOND = 1000; | ||
} | ||
var result; | ||
try { | ||
return JSON.stringify(value, replacer, space); | ||
result = JSON.stringify(value, undefined, space); | ||
} | ||
catch (_a) { | ||
result = '<error: unable to serialize object>'; | ||
} | ||
finally { | ||
@@ -129,2 +133,3 @@ if (originalToJSON[0]) { | ||
} | ||
return result; | ||
} | ||
@@ -131,0 +136,0 @@ function hasToJSON(value) { |
{ | ||
"name": "@datadog/browser-core", | ||
"version": "1.2.9", | ||
"version": "1.2.10", | ||
"license": "Apache-2.0", | ||
@@ -25,3 +25,3 @@ "main": "cjs/index.js", | ||
}, | ||
"gitHead": "a658583cd4b462bdcf89381927ae8a85c74e2ddf" | ||
"gitHead": "a679846346eacb262ff8c9300a1d546fb924fa5d" | ||
} |
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
298631
4965
3