react-devtools
Advanced tools
Comparing version 2.2.1 to 2.3.0
@@ -14,4 +14,2 @@ /** | ||
var path = require('path'); | ||
var updateNotifier = require('update-notifier'); | ||
var pkg = require('./package.json'); | ||
@@ -28,5 +26,2 @@ var mainWindow = null; | ||
app.on('ready', function() { | ||
// notify if there's an update | ||
updateNotifier({pkg}).notify({defer: false}); | ||
// Create the browser window. | ||
@@ -33,0 +28,0 @@ mainWindow = new BrowserWindow({width: 800, height: 600, icon: path.join(__dirname, 'icons/icon128.png')}); |
@@ -5,8 +5,13 @@ #!/usr/bin/env node | ||
var argv = process.argv.slice(2); | ||
var pkg = require('./package.json'); | ||
var updateNotifier = require('update-notifier'); | ||
// notify if there's an update | ||
updateNotifier({pkg}).notify({defer: false}); | ||
var result = spawn.sync( | ||
electron, | ||
[require.resolve('./app')].concat(argv), | ||
{stdio: 'inherit'} | ||
{stdio: 'ignore'} | ||
); | ||
process.exit(result.status); |
{ | ||
"name": "react-devtools", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"description": "Use react-devtools outside of the browser", | ||
@@ -29,5 +29,5 @@ "repository": { | ||
"minimist": "^1.2.0", | ||
"react-devtools-core": "^2.2.1", | ||
"react-devtools-core": "^2.3.0", | ||
"update-notifier": "^2.1.0" | ||
} | ||
} |
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
16265
Updatedreact-devtools-core@^2.3.0