Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-json-view-lite

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

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 0.9.6 to 0.9.7

1

dist/DataTypeDetection.d.ts
export declare const isBoolean: (data: any) => boolean;
export declare const isNumber: (data: any) => boolean;
export declare const isBigInt: (data: any) => boolean;
export declare const isString: (data: any) => boolean;

@@ -4,0 +5,0 @@ export declare const isArray: (data: any) => boolean;

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

};
var isBigInt = function isBigInt(data) {
return typeof data === 'bigint' || data instanceof BigInt;
};
var isString = function isString(data) {

@@ -180,2 +183,5 @@ return typeof data === 'string' || data instanceof String;

valueStyle = style.numberValue;
} else if (isBigInt(value)) {
stringValue = value.toString() + "n";
valueStyle = style.numberValue;
} else {

@@ -182,0 +188,0 @@ stringValue = value.toString();

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

};
var isBigInt = function isBigInt(data) {
return typeof data === 'bigint' || data instanceof BigInt;
};
var isString = function isString(data) {

@@ -180,2 +183,5 @@ return typeof data === 'string' || data instanceof String;

valueStyle = style.numberValue;
} else if (isBigInt(value)) {
stringValue = value.toString() + "n";
valueStyle = style.numberValue;
} else {

@@ -182,0 +188,0 @@ stringValue = value.toString();

2

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

@@ -5,0 +5,0 @@ "homepage": "http://anyroad.github.io/react-json-view-lite",

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc