🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-object-inspector

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-object-inspector - npm Package Compare versions

Comparing version

to
0.2.1

2

package.json
{
"name": "react-object-inspector",
"version": "0.2.0",
"version": "0.2.1",
"description": "Simple object inspector styled similarly to Chrome DevTools",

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

@@ -27,3 +27,3 @@ react-object-inspector

#### `name`: specify the name of the root node, default to undefined
#### `name`: specify the name of the root node, default to `undefined`

@@ -34,3 +34,3 @@ #### `initialExpandedPaths`: an array containing all the paths that should be expanded when the component is initialized.

- For example, `['root']` expands the first level nodes
- `['myCustomName']` can also expand the first level nodes if the component is setup as `<ObjectInspector name="myCustomName" data={/*...*/} initialExpandedPaths=['myCustomName', /*...*/]>`.
- `['myCustomName']` can also expand the first level nodes if the component is setup as `<ObjectInspector name="myCustomName" data={{/*...*/}} initialExpandedPaths={['myCustomName', /*...*/]}>`.
- `['root.foo.bar']` expands the path `root.foo.bar` if `root.foo.bar` is an existing property

@@ -37,0 +37,0 @@ - You can use wildcard to expand all paths on a specific level