Socket
Socket
Sign inDemoInstall

react-inspector

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-inspector - npm Package Compare versions

Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4

6

package.json
{
"name": "react-inspector",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.4",
"description": "Power of Browser DevTools inspectors right inside your React app",

@@ -48,3 +48,3 @@ "main": "lib/index.js",

"devDependencies": {
"babel": "^6.0.0",
"babel-cli": "^6.7.5",
"babel-core": "^6.0.0",

@@ -66,3 +66,3 @@ "babel-eslint": "^6.0.0-beta.1",

"mocha": "^2.4.5",
"react": "^0.14.7",
"react": "^0.14.7 || ^15.0.0",
"react-addons-test-utils": "^0.14.7",

@@ -69,0 +69,0 @@ "react-dom": "^0.14.2",

@@ -40,3 +40,3 @@ react-inspector

#### `expandPaths: PropTypes.oneOfType([PropTypes.string, PropTypes.array])`: an array containing all the paths that should be expanded when the component is initialized, or just a string of just one path
#### `expandPaths: PropTypes.oneOfType([PropTypes.string, PropTypes.array])`: an array containing all the paths that should be expanded when the component is initialized, or a string of just one path
- The path string is similar to [JSONPath](http://goessner.net/articles/JsonPath/).

@@ -64,3 +64,3 @@ - It is a dot separated string like `$.foo.bar`. `$.foo.bar` expands the path `$.foo.bar` where `$` refers to the root node. Note that it only expands that single node (but not all its parents and the root node). Instead, you should use `expandPaths={['$', '$.foo', '$.foo.bar']}` to expand all the way to the `$.foo.bar` node.

const MyComponent = (data) => (
const MyComponent = (data) =>
<div>

@@ -73,3 +73,2 @@ <ObjectInspector data={data} />

</div>
)

@@ -97,6 +96,7 @@ let data = { /* ... */ };

- [x] Table style
- [ ] Column resizer
- [ ] Group style
## Contribution
Contribution is welcome. [Past contributors](https://github.com/xyc/react-object-inspector/graphs/contributors)
Contribution is welcome. [Past contributors](https://github.com/xyc/react-inspector/graphs/contributors)

@@ -103,0 +103,0 @@ ## Notes

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