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

@html-element-wrappers/audio

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@html-element-wrappers/audio - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

12

lib/audio.js

@@ -1,2 +0,2 @@

import { HTMLMediaElement } from '../../media';
import { HTMLMediaElement } from '../../media/lib/media';
import { html, render as litRender} from 'lit-html/lib/shady-render';

@@ -10,5 +10,5 @@ export { html } from 'lit-html';

this.attachShadow({mode: 'open', delegatesFocus: this.hasAttribute('delegatesfocus')});
this.attachShadow({mode: 'open', delegatesFocus: this.__delegatesFocus});
this.render();
if(this.hasAttribute('delegatesfocus')) this.__initFocusDelegation();
if(!this.__delegatesFocus) this.addEventListener('focus', () => this.$element.focus());
}

@@ -84,9 +84,3 @@

}
__initFocusDelegation() {
if(this.shadowRoot.delegatesFocus) return;
this.addEventListener('focus', () => this.$element.focus());
this.addEventListener('click', () => this.$element.focus());
}
}
{
"name": "@html-element-wrappers/audio",
"version": "0.5.1",
"version": "0.5.2",
"description": "HTMLAudioElement",

@@ -29,3 +29,3 @@ "author": "Wouter Vroege <wouter@woutervroege.nl>",

},
"gitHead": "fb19e921fef4b9bad5ca4ba2e1559b1cb9624836",
"gitHead": "b54e57b87681c12814ef51e78f24dc483514cc35",
"dependencies": {

@@ -32,0 +32,0 @@ "html-element-property-mixins": "^0.10.11",

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