New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nw-dev

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nw-dev - npm Package Compare versions

Comparing version 1.2.3 to 1.3.0

16

lib/dev.js

@@ -30,8 +30,12 @@ // Generated by CoffeeScript 1.9.2

window.addEventListener("keydown", function(e) {
if (e.keyCode === 123) {
if (nwwin.isDevToolsOpen()) {
return nwwin.closeDevTools();
} else {
return nwwin.showDevTools();
}
switch (e.keyIdentifier) {
case "F12":
if (nwwin.isDevToolsOpen()) {
return nwwin.closeDevTools();
} else {
return nwwin.showDevTools();
}
break;
case "F5":
return window.location.reload();
}

@@ -38,0 +42,0 @@ });

{
"name": "nw-dev",
"description": "A drop-in library for nw.js development",
"version": "1.2.3",
"version": "1.3.0",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -8,2 +8,4 @@

* Reloads when you press <kbd>F5</kbd>
* Opens devtools when you press <kbd>F12</kbd>

@@ -10,0 +12,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