Socket
Socket
Sign inDemoInstall

roarr

Package Overview
Dependencies
4
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.20.0 to 7.21.0

10

dist/utilities/stringify.js

@@ -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);

2

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc