Socket
Socket
Sign inDemoInstall

@github/tab-container-element

Package Overview
Dependencies
Maintainers
16
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@github/tab-container-element - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

4

dist/index.js

@@ -8,2 +8,4 @@ export default class TabContainerElement extends HTMLElement {

return;
if (target.closest(this.tagName) !== this)
return;
if (target.getAttribute('role') !== 'tab' && !target.closest('[role="tablist"]'))

@@ -38,2 +40,4 @@ return;

return;
if (event.target.closest(this.tagName) !== this)
return;
const tab = event.target.closest('[role="tab"]');

@@ -40,0 +44,0 @@ if (!tab || !tab.closest('[role="tablist"]'))

16

package.json
{
"name": "@github/tab-container-element",
"version": "3.1.0",
"version": "3.1.1",
"description": "Tab container element",

@@ -15,3 +15,3 @@ "main": "dist/index.js",

"clean": "rm -rf dist",
"lint": "github-lint",
"lint": "eslint src/*.ts test/*.js",
"prebuild": "npm run clean && npm run lint && mkdir dist",

@@ -24,13 +24,15 @@ "build": "tsc",

},
"prettier": "@github/prettier-config",
"devDependencies": {
"@github/prettier-config": "0.0.4",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-plugin-github": "^3.4.1",
"karma": "^4.4.1",
"eslint": "^7.9.0",
"eslint-plugin-github": "^4.1.1",
"karma": "^5.2.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^1.3.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^7.1.0",
"typescript": "^3.8.3"
"typescript": "^4.0.3"
},

@@ -37,0 +39,0 @@ "eslintIgnore": [

@@ -51,3 +51,3 @@ # <tab-container> element

[support]: https://caniuse.com/#feat=custom-elementsv1
[polyfill]: https://github.com/webcomponents/custom-elements
[polyfill]: https://github.com/webcomponents/polyfills/tree/master/packages/custom-elements

@@ -54,0 +54,0 @@ ## Development

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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