Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hypertabs

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypertabs - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

2

package.json
{
"name": "hypertabs",
"description": "tabbed interface with hyperscript",
"version": "5.0.0",
"version": "5.0.1",
"homepage": "https://github.com/dominictarr/hypertabs",

@@ -6,0 +6,0 @@ "repository": {

@@ -43,2 +43,8 @@ var h = require('hyperscript')

function build_tab (page) {
function close () {
page.parentNode.removeChild(page)
tabs.removeChild(tab)
onClose && onClose(page.firstChild)
}
var link = h('a.link', {

@@ -57,2 +63,9 @@ href: '#',

}
},
onauxclick: function (ev) {
if(ev.which && ev.which === 2) {
ev.preventDefault()
ev.stopPropagation()
close()
}
}},

@@ -66,6 +79,3 @@ getTitle(page)

ev.stopPropagation()
page.parentNode.removeChild(page)
tabs.removeChild(tab)
onClose && onClose(page.firstChild)
close()
}},

@@ -133,1 +143,3 @@ 'x'

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