Comparing version 7.20.0 to 7.21.0
@@ -7,2 +7,11 @@ "use strict"; | ||
deterministic: false, | ||
// The reason for the following values is because it is fairly easy | ||
// to accidentally pass astronomically large objects to the logger. | ||
// For context, we were debugging a UI slowdown that was caused by | ||
// unknowingly trying to pass 5MB worth of data to the logger context. | ||
// | ||
// I am starting with hard limits for now to assess the impact of the changes, | ||
// but we may want to make these configurable in the future. | ||
maximumBreadth: 10, | ||
maximumDepth: 10, | ||
strict: false, | ||
@@ -16,2 +25,3 @@ }); | ||
catch (error) { | ||
// The only time I've seen this happen is when the value was excessively large. | ||
// eslint-disable-next-line no-console | ||
@@ -18,0 +28,0 @@ console.error('[roarr] could not serialize value', value); |
@@ -71,3 +71,3 @@ { | ||
"types": "./dist/Roarr.d.ts", | ||
"version": "7.20.0" | ||
"version": "7.21.0" | ||
} |
@@ -5,2 +5,11 @@ import { configure } from 'safe-stable-stringify'; | ||
deterministic: false, | ||
// The reason for the following values is because it is fairly easy | ||
// to accidentally pass astronomically large objects to the logger. | ||
// For context, we were debugging a UI slowdown that was caused by | ||
// unknowingly trying to pass 5MB worth of data to the logger context. | ||
// | ||
// I am starting with hard limits for now to assess the impact of the changes, | ||
// but we may want to make these configurable in the future. | ||
maximumBreadth: 10, | ||
maximumDepth: 10, | ||
strict: false, | ||
@@ -13,2 +22,3 @@ }); | ||
} catch (error) { | ||
// The only time I've seen this happen is when the value was excessively large. | ||
// eslint-disable-next-line no-console | ||
@@ -15,0 +25,0 @@ console.error('[roarr] could not serialize value', value); |
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
98422
1332