react-json-view
Advanced tools
Comparing version 1.14.3 to 1.15.0
{ | ||
"name": "react-json-view", | ||
"description": "Interactive react component for displaying javascript arrays and JSON objects.", | ||
"version": "1.14.3", | ||
"version": "1.15.0", | ||
"main": "dist/main.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
@@ -51,2 +51,3 @@ ![alt text](https://github.com/mac-s-g/react-json-view/blob/master/doc/rjv-icon-alt.png?raw=true) | ||
`collapseStringsAfterLength`|`integer`|`false`|When an integer value is assigned, strings will be cut off at that length. Collapsed strings are followed by an ellipsis. String content can be expanded and collapsed by clicking on the string value. | ||
`shouldCollapse`|`(delete)=>{}`|`false`|Callback function to provide control over what objects and arrays should be collapsed by default. An object is passed to the callback containing `name`, `src`, `type` ("array" or "object") and `namespace`. | ||
`groupArraysAfterLength`|`integer`|`100`|When an integer value is assigned, arrays will be displayed in groups by count of the value. Groups are displayed with brakcet notation and can be expanded and collapsed by clickong on the brackets. | ||
@@ -130,4 +131,6 @@ `enableClipboard`|`boolean` or `(copy)=>{}`|`true`|When prop is not `false`, the user can copy objects and arrays to clipboard by clicking on the clipboard icon. Copy callbacks are supported. | ||
``` | ||
Please add tests for your code before posting a pull request. You can run the test suite in with hot-reloading with `npm run test:watch`. | ||
Please add tests for your code before posting a pull request. | ||
You can run the test suite with `npm run test` or `npm run test:watch` to automatically reload when files are modified. | ||
#### Docker Tools | ||
@@ -137,3 +140,3 @@ | ||
For information about contributing with Docker, see the [README in ./docker](https://github.com/mac-s-g/react-json-view/blob/master/docker/README.md#contributing-to-this-project). | ||
For information about contributing with Docker, see the [README in ./docker](https://github.com/mac-s-g/react-json-view/blob/master/docker/README.md#contributing-to-this-project-using-docker). | ||
@@ -140,0 +143,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
165996
144