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

tabs-manager

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tabs-manager - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

7

lib/caller.js

@@ -83,6 +83,11 @@ "use strict";

TabsManagerWorkerCaller.prototype.initDomListener = function () {
var _this = this;
if (!this.workerInstance)
return;
window.addEventListener('focus', this.setActiveTab);
document.addEventListener('visibilitychange', this.setActiveTab);
document.addEventListener('visibilitychange', function () {
if (document.visibilityState !== 'hidden') {
_this.setActiveTab();
}
});
window.addEventListener('unload', this.closeWindow);

@@ -89,0 +94,0 @@ if (document.visibilityState === 'visible') {

2

package.json
{
"name": "tabs-manager",
"version": "1.0.3",
"version": "1.0.4",
"description": "Definition one active tab on multiple tabs scenarios. ",

@@ -5,0 +5,0 @@ "main": "./lib/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