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

phosphor-tabs

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phosphor-tabs - npm Package Compare versions

Comparing version 1.0.0-rc.1 to 1.0.0-rc.2

4

lib/tabbar.d.ts

@@ -108,6 +108,2 @@ import { Message } from 'phosphor-messaging';

/**
* The static type of the constructor.
*/
'constructor': typeof TabBar;
/**
* Construct a new tab bar.

@@ -114,0 +110,0 @@ */

6

lib/tabbar.js

@@ -570,3 +570,4 @@ /*-----------------------------------------------------------------------------

// Ignore the click if it was not on a close icon.
var icon = this.constructor.tabCloseIcon(this._tabs[i]);
var constructor = this.constructor;
var icon = constructor.tabCloseIcon(this._tabs[i]);
if (!icon.contains(event.target)) {

@@ -601,3 +602,4 @@ return;

// Ignore the press if it was on a close icon.
var icon = this.constructor.tabCloseIcon(this._tabs[i]);
var constructor = this.constructor;
var icon = constructor.tabCloseIcon(this._tabs[i]);
if (icon.contains(event.target)) {

@@ -604,0 +606,0 @@ return;

@@ -35,6 +35,2 @@ import { StackedPanel } from 'phosphor-stackedpanel';

/**
* The static type of the constructor.
*/
'constructor': typeof TabPanel;
/**
* Construct a new tab panel.

@@ -41,0 +37,0 @@ */

@@ -50,4 +50,5 @@ /*-----------------------------------------------------------------------------

this.addClass(TAB_PANEL_CLASS);
this._tabBar = this.constructor.createTabBar();
this._stackedPanel = this.constructor.createStackedPanel();
var constructor = this.constructor;
this._tabBar = constructor.createTabBar();
this._stackedPanel = constructor.createStackedPanel();
this._tabBar.tabMoved.connect(this._onTabMoved, this);

@@ -54,0 +55,0 @@ this._tabBar.currentChanged.connect(this._onCurrentChanged, this);

{
"name": "phosphor-tabs",
"version": "1.0.0-rc.1",
"version": "1.0.0-rc.2",
"description": "Phosphor widgets for creating tab bars and tab panels.",

@@ -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