You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

react-json-view-lite

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-json-view-lite - npm Package Compare versions

Comparing version

to
2.3.0

@@ -40,2 +40,5 @@ var React = require('react');

}
function quoteStringValue(value, quoted) {
return quoted ? `"${value}"` : value;
}
function ExpandableObject(_ref) {

@@ -264,3 +267,3 @@ let {

} else if (isString(value)) {
stringValue = quoteString(value, !style.noQuotesForStringValues);
stringValue = quoteStringValue(value, !style.noQuotesForStringValues);
valueStyle = style.stringValue;

@@ -267,0 +270,0 @@ } else if (isBoolean(value)) {

@@ -40,2 +40,5 @@ import { useState, createElement, useRef, useEffect, useId } from 'react';

}
function quoteStringValue(value, quoted) {
return quoted ? `"${value}"` : value;
}
function ExpandableObject(_ref) {

@@ -264,3 +267,3 @@ let {

} else if (isString(value)) {
stringValue = quoteString(value, !style.noQuotesForStringValues);
stringValue = quoteStringValue(value, !style.noQuotesForStringValues);
valueStyle = style.stringValue;

@@ -267,0 +270,0 @@ } else if (isBoolean(value)) {

{
"name": "react-json-view-lite",
"version": "2.2.0",
"version": "2.3.0",
"description": "JSON viewer component for React focused on performance for large volume input while still providing few customiziation features",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/AnyRoad/react-json-view-lite",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet