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

react-devtools

Package Overview
Dependencies
Maintainers
5
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-devtools - npm Package Compare versions

Comparing version 2.1.8 to 2.1.9

7

app.js

@@ -18,2 +18,3 @@ /**

var mainWindow = null;
var argv = process.argv.slice(2);

@@ -33,2 +34,8 @@ app.on('window-all-closed', function() {

mainWindow.loadURL('file://' + __dirname + '/app.html'); // eslint-disable-line no-path-concat
mainWindow.webContents.executeJavaScript(
// We use this so that RN can keep relative JSX __source filenames
// but "click to open in editor" still works. js1 passes project roots
// as the argument to DevTools.
'window.devtools.setProjectRoots(' + JSON.stringify(argv) + ')'
);

@@ -35,0 +42,0 @@ // Emitted when the window is closed.

3

bin.js
#!/usr/bin/env node
var electron = require('electron');
var spawn = require('cross-spawn');
var argv = process.argv.slice(2);
var result = spawn.sync(
electron,
[require.resolve('./app')],
[require.resolve('./app')].concat(argv),
{stdio: 'inherit'}
);
process.exit(result.status);
{
"name": "react-devtools",
"version": "2.1.8",
"version": "2.1.9",
"description": "Use react-devtools outside of the browser",

@@ -28,5 +28,5 @@ "repository": {

"ip": "^1.1.4",
"react-devtools-core": "^2.1.8",
"react-devtools-core": "^2.1.9",
"update-notifier": "^2.1.0"
}
}

Sorry, the diff of this file is not supported yet

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