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

react-json-tree

Package Overview
Dependencies
Maintainers
6
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.13.0 to 0.14.0

20

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

# [0.13.0](https://github.com/reduxjs/redux-devtools/compare/react-json-tree@0.12.1...react-json-tree@0.13.0) (2020-09-07)
# [0.14.0](https://github.com/reduxjs/redux-devtools/compare/react-json-tree@0.13.0...react-json-tree@0.14.0) (2021-03-06)

@@ -12,3 +12,3 @@

* **react-base16-styling:** fix Styling type ([#602](https://github.com/reduxjs/redux-devtools/issues/602)) ([e7304b5](https://github.com/reduxjs/redux-devtools/commit/e7304b5853a572b53429809ed8ac4b7a198c90f8))
* **react-json-tree:** remove isRequired from `data` prop type ([#685](https://github.com/reduxjs/redux-devtools/issues/685)) ([d76d6c6](https://github.com/reduxjs/redux-devtools/commit/d76d6c678d3b3b304cf53c1b4b1b329e8962f7b0))

@@ -18,5 +18,3 @@

* **react-dock:** convert to TypeScript ([#607](https://github.com/reduxjs/redux-devtools/issues/607)) ([78ded9e](https://github.com/reduxjs/redux-devtools/commit/78ded9e0ca5ced5f6ae4e6d4474fa133b6d081b9))
* **redux-devtools:** convert counter example to TypeScript ([#616](https://github.com/reduxjs/redux-devtools/issues/616)) ([f1e3f4f](https://github.com/reduxjs/redux-devtools/commit/f1e3f4f8340dea288de5229006acf9dc1ef1cccf))
* **redux-devtools:** convert todomvc example to TypeScript ([#618](https://github.com/reduxjs/redux-devtools/issues/618)) ([37191e4](https://github.com/reduxjs/redux-devtools/commit/37191e46e600cd9ac2839f0687efb347fc4ef7c1))
* **react-json-tree:** Add keyPath to getItemString ([#694](https://github.com/reduxjs/redux-devtools/issues/694)) ([85b4b0f](https://github.com/reduxjs/redux-devtools/commit/85b4b0fb04b1d6d95054d5073fa17fa61efc0df3))

@@ -27,2 +25,14 @@

# [0.13.0](https://github.com/reduxjs/redux-devtools/compare/react-json-tree@0.12.1...react-json-tree@0.13.0) (2020-09-07)
### Bug Fixes
- **react-base16-styling:** fix Styling type ([#602](https://github.com/reduxjs/redux-devtools/issues/602)) ([e7304b5](https://github.com/reduxjs/redux-devtools/commit/e7304b5853a572b53429809ed8ac4b7a198c90f8))
### Features
- **react-dock:** convert to TypeScript ([#607](https://github.com/reduxjs/redux-devtools/issues/607)) ([78ded9e](https://github.com/reduxjs/redux-devtools/commit/78ded9e0ca5ced5f6ae4e6d4474fa133b6d081b9))
- **redux-devtools:** convert counter example to TypeScript ([#616](https://github.com/reduxjs/redux-devtools/issues/616)) ([f1e3f4f](https://github.com/reduxjs/redux-devtools/commit/f1e3f4f8340dea288de5229006acf9dc1ef1cccf))
- **redux-devtools:** convert todomvc example to TypeScript ([#618](https://github.com/reduxjs/redux-devtools/issues/618)) ([37191e4](https://github.com/reduxjs/redux-devtools/commit/37191e46e600cd9ac2839f0687efb347fc4ef7c1))
## [0.12.1](https://github.com/reduxjs/redux-devtools/compare/react-json-tree@0.12.0...react-json-tree@0.12.1) (2020-08-14)

@@ -29,0 +39,0 @@

@@ -15,3 +15,3 @@ import React from 'react';

static propTypes: {
data: PropTypes.Validator<any>;
data: PropTypes.Requireable<any>;
hideRoot: PropTypes.Requireable<boolean>;

@@ -18,0 +18,0 @@ theme: PropTypes.Requireable<string | object>;

@@ -214,3 +214,3 @@ "use strict";

_defineProperty(JSONTree, "propTypes", {
data: _propTypes["default"].any.isRequired,
data: _propTypes["default"].any,
hideRoot: _propTypes["default"].bool,

@@ -236,2 +236,2 @@ theme: _propTypes["default"].oneOfType([_propTypes["default"].object, _propTypes["default"].string]),

});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiaWRlbnRpdHkiLCJ2YWx1ZS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UGF0aCxcbiAgICAgIHBvc3Rwcm9jZXNzVmFsdWUsXG4gICAgICBoaWRlUm9vdCxcbiAgICAgIHRoZW1lLCAvLyBlc2xpbnQtZGlzYWJsZS1saW5lIG5vLXVudXNlZC12YXJzXG4gICAgICBpbnZlcnRUaGVtZTogXywgLy8gZXNsaW50LWRpc2FibGUtbGluZSBuby11bnVzZWQtdmFyc1xuICAgICAgLi4ucmVzdFxuICAgIH0gPSB0aGlzLnByb3BzO1xuXG4gICAgY29uc3QgeyBzdHlsaW5nIH0gPSB0aGlzLnN0YXRlO1xuXG4gICAgcmV0dXJuIChcbiAgICAgIDx1bCB7Li4uc3R5bGluZygndHJlZScpfT5cbiAgICAgICAgPEpTT05Ob2RlXG4gICAgICAgICAgey4uLnsgcG9zdHByb2Nlc3NWYWx1ZSwgaGlkZVJvb3QsIHN0eWxpbmcsIC4uLnJlc3QgfX1cbiAgICAgICAgICBrZXlQYXRoPXtoaWRlUm9vdCA/IFtdIDoga2V5UGF0aH1cbiAgICAgICAgICB2YWx1ZT17cG9zdHByb2Nlc3NWYWx1ZSh2YWx1ZSl9XG4gICAgICAgIC8+XG4gICAgICA8L3VsPlxuICAgICk7XG4gIH1cbn1cblxuZXhwb3J0IHsgU3R5bGluZ1ZhbHVlIH07XG4iXX0=

@@ -177,3 +177,3 @@ "use strict";

var renderedItemString = getItemString(nodeType, data, itemType, createItemString(data, collectionLimit));
var renderedItemString = getItemString(nodeType, data, itemType, createItemString(data, collectionLimit), keyPath);
var stylingArgs = [keyPath, nodeType, expanded, expandable];

@@ -222,2 +222,2 @@ return hideRoot ? /*#__PURE__*/_react["default"].createElement("li", styling.apply(void 0, ['rootNode'].concat(stylingArgs)), /*#__PURE__*/_react["default"].createElement("ul", styling.apply(void 0, ['rootNodeChildren'].concat(stylingArgs)), renderedChildren)) : /*#__PURE__*/_react["default"].createElement("li", styling.apply(void 0, ['nestedNode'].concat(stylingArgs)), expandable && /*#__PURE__*/_react["default"].createElement(_JSONArrow["default"],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QXJncyl9PlxuICAgICAgICAgIHtyZW5kZXJlZENoaWxkcmVufVxuICAgICAgICA8L3VsPlxuICAgICAgPC9saT5cbiAgICApIDogKFxuICAgICAgPGxpIHsuLi5zdHlsaW5nKCduZXN0ZWROb2RlJywgLi4uc3R5bGluZ0FyZ3MpfT5cbiAgICAgICAge2V4cGFuZGFibGUgJiYgKFxuICAgICAgICAgIDxKU09OQXJyb3dcbiAgICAgICAgICAgIHN0eWxpbmc9e3N0eWxpbmd9XG4gICAgICAgICAgICBub2RlVHlwZT17bm9kZVR5cGV9XG4gICAgICAgICAgICBleHBhbmRlZD17ZXhwYW5kZWR9XG4gICAgICAgICAgICBvbkNsaWNrPXt0aGlzLmhhbmRsZUNsaWNrfVxuICAgICAgICAgIC8+XG4gICAgICAgICl9XG4gICAgICAgIDxsYWJlbFxuICAgICAgICAgIHsuLi5zdHlsaW5nKFsnbGFiZWwnLCAnbmVzdGVkTm9kZUxhYmVsJ10sIC4uLnN0eWxpbmdBcmdzKX1cbiAgICAgICAgICBvbkNsaWNrPXt0aGlzLmhhbmRsZUNsaWNrfVxuICAgICAgICA+XG4gICAgICAgICAge2xhYmVsUmVuZGVyZXIoLi4uc3R5bGluZ0FyZ3MpfVxuICAgICAgICA8L2xhYmVsPlxuICAgICAgICA8c3BhblxuICAgICAgICAgIHsuLi5zdHlsaW5nKCduZXN0ZWROb2RlSXRlbVN0cmluZycsIC4uLnN0eWxpbmdBcmdzKX1cbiAgICAgICAgICBvbkNsaWNrPXt0aGlzLmhhbmRsZUNsaWNrfVxuICAgICAgICA+XG4gICAgICAgICAge3JlbmRlcmVkSXRlbVN0cmluZ31cbiAgICAgICAgPC9zcGFuPlxuICAgICAgICA8dWwgey4uLnN0eWxpbmcoJ25lc3RlZE5vZGVDaGlsZHJlbicsIC4uLnN0eWxpbmdBcmdzKX0+XG4gICAgICAgICAge3JlbmRlcmVkQ2hpbGRyZW59XG4gICAgICAgIDwvdWw+XG4gICAgICA8L2xpPlxuICAgICk7X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biAgICAgICAgICB7cmVuZGVyZWRJdGVtU3RyaW5nfVxuICAgICAgICA8L3NwYW4+XG4gICAgICAgIDx1bCB7Li4uc3R5bGluZygnbmVzdGVkTm9kZUNoaWxkcmVuJywgLi4uc3R5bGluZ0FyZ3MpfT5cbiAgICAgICAgICB7cmVuZGVyZWRDaGlsZHJlbn1cbiAgICAgICAgPC91bD5cbiAgICAgIDwvbGk+XG4gICAgKTtcbiAgfVxuXG4gIGhhbmRsZUNsaWNrID0gKCkgPT4ge1xuICAgIGlmICh0aGlzLnByb3BzLmV4cGFuZGFibGUpIHtcbiAgICAgIHRoaXMuc2V0U3RhdGUoeyBleHBhbmRlZDogIXRoaXMuc3RhdGUuZXhwYW5kZWQgfSk7XG4gICAgfVxuICB9O1xufVxuIl19

@@ -17,3 +17,3 @@ import React from 'react';

hideRoot: boolean;
getItemString: (nodeType: string, data: any, itemType: React.ReactNode, itemString: string) => React.ReactNode;
getItemString: (nodeType: string, data: any, itemType: React.ReactNode, itemString: string, keyPath: (string | number)[]) => React.ReactNode;
postprocessValue: (value: any) => any;

@@ -20,0 +20,0 @@ isCustomNode: (value: any) => boolean;

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

@@ -63,3 +63,3 @@ "keywords": [

},
"gitHead": "f4405ac0f016b7997e1a6d31796aa99ad632889e"
"gitHead": "5ef9b00cd4717ac878068ce8003e1999e680c72e"
}

@@ -37,3 +37,3 @@ # react-json-tree

- [base16](http://chriskempson.github.io/base16) theme data. [The example theme data can be found here](https://github.com/gaearon/redux-devtools/tree/75322b15ee7ba03fddf10ac3399881e302848874/src/react/themes).
- [base16](http://chriskempson.com/projects/base16/) theme data. [The example theme data can be found here](https://github.com/gaearon/redux-devtools/tree/75322b15ee7ba03fddf10ac3399881e302848874/src/react/themes).
- object that contains style objects, strings (that treated as classnames) or functions. A function is used to extend its first argument `{ style, className }` and should return an object with the same structure. Other arguments depend on particular context (and should be described here). See [createStylingFromTheme.js](https://github.com/alexkuz/react-json-tree/blob/feature-refactor-styling/src/createStylingFromTheme.js) for the list of styling object keys. Also, this object can extend `base16` theme via `extend` property.

@@ -106,3 +106,3 @@

```jsx
<JSONTree getItemString={(type, data, itemType, itemString)
<JSONTree getItemString={(type, data, itemType, itemString, keyPath)
=> <span>{itemType} {itemString}</span>}

@@ -114,3 +114,3 @@ ```

```jsx
const getItemString = (type, data, itemType, itemString)
const getItemString = (type, data, itemType, itemString, keyPath)
=> (<span> // {type}</span>);

@@ -117,0 +117,0 @@ ```

@@ -38,3 +38,4 @@ import React from 'react';

itemType: React.ReactNode,
itemString: string
itemString: string,
keyPath: (string | number)[]
) => React.ReactNode;

@@ -41,0 +42,0 @@ postprocessValue: (value: any) => any;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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