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

react-json-tree

Package Overview
Dependencies
Maintainers
3
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-json-tree - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

51

lib/createStylingFromTheme.js

@@ -67,13 +67,18 @@ 'use strict';

value: {
paddingTop: 3,
paddingBottom: 3,
paddingRight: 0,
marginLeft: 14,
WebkitUserSelect: 'text',
MozUserSelect: 'text',
wordWrap: 'break-word',
paddingLeft: 34,
textIndent: -7,
wordBreak: 'break-all'
value: function value(_ref, nodeType, keyPath) {
var style = _ref.style;
return {
style: (0, _extends3['default'])({}, style, {
paddingTop: 3,
paddingBottom: 3,
paddingRight: 0,
marginLeft: 14,
WebkitUserSelect: 'text',
MozUserSelect: 'text',
wordWrap: 'break-word',
paddingLeft: keyPath.length > 1 ? 34 : 20,
textIndent: -7,
wordBreak: 'break-all'
})
};
},

@@ -90,4 +95,4 @@

valueText: function valueText(_ref, nodeType) {
var style = _ref.style;
valueText: function valueText(_ref2, nodeType) {
var style = _ref2.style;
return {

@@ -106,4 +111,4 @@ style: (0, _extends3['default'])({}, style, {

arrow: function arrow(_ref2, nodeType, expanded) {
var style = _ref2.style;
arrow: function arrow(_ref3, nodeType, expanded) {
var style = _ref3.style;
return {

@@ -126,4 +131,4 @@ style: (0, _extends3['default'])({}, style, {

arrowContainer: function arrowContainer(_ref3, arrowStyle) {
var style = _ref3.style;
arrowContainer: function arrowContainer(_ref4, arrowStyle) {
var style = _ref4.style;
return {

@@ -155,4 +160,4 @@ style: (0, _extends3['default'])({}, style, {

nestedNode: function nestedNode(_ref4, nodeType, expanded, keyPath) {
var style = _ref4.style;
nestedNode: function nestedNode(_ref5, nodeType, expanded, keyPath) {
var style = _ref5.style;
return {

@@ -179,4 +184,4 @@ style: (0, _extends3['default'])({}, style, {

nestedNodeItemString: function nestedNodeItemString(_ref5, nodeType, expanded) {
var style = _ref5.style;
nestedNodeItemString: function nestedNodeItemString(_ref6, nodeType, expanded) {
var style = _ref6.style;
return {

@@ -195,4 +200,4 @@ style: (0, _extends3['default'])({}, style, {

nestedNodeChildren: function nestedNodeChildren(_ref6, nodeType, expanded) {
var style = _ref6.style;
nestedNodeChildren: function nestedNodeChildren(_ref7, nodeType, expanded) {
var style = _ref7.style;
return {

@@ -199,0 +204,0 @@ style: (0, _extends3['default'])({}, style, {

{
"name": "react-json-tree",
"version": "0.8.1",
"version": "0.8.2",
"description": "React JSON Viewer Component, Extracted from redux-devtools",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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