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

lgutil

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lgutil - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

8

dom/eventListener.js

@@ -20,8 +20,8 @@ var ie = !document.addEventListener;

if (ie) {
document.attachEvent('onfocusin', handler);
remove = function() { document.detachEvent('onfocusin', handler); };
document.attachEvent('onfocusin', callback);
remove = function() { document.detachEvent('onfocusin', callback); };
}
else { // chrome/ff, use event capture to simulate this event
document.addEventListener('focus', handler, true);
remove = function() { document.removeEventListener('focus', handler, true); };
document.addEventListener('focus', callback, true);
remove = function() { document.removeEventListener('focus', callback, true); };
}

@@ -28,0 +28,0 @@

{
"name": "lgutil",
"version": "0.1.4",
"version": "0.1.5",
"description": "util function",

@@ -5,0 +5,0 @@ "main": "index.js",

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