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

@internetarchive/audio-element

Package Overview
Dependencies
Maintainers
11
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internetarchive/audio-element - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2-alpha.1

1

lib/audio-element.d.ts

@@ -8,2 +8,3 @@ import { LitElement, TemplateResult, PropertyValues } from 'lit-element';

sources: AudioSource[];
preload: 'auto' | 'metadata' | 'none';
readonly duration: number;

@@ -10,0 +11,0 @@ readonly currentTime: number;

@@ -15,2 +15,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

this.sources = [];
this.preload = 'auto';
}

@@ -64,2 +65,3 @@ get duration() {

<audio
.preload=${this.preload}
@timeupdate=${this.handleTimeChange}

@@ -138,2 +140,5 @@ @durationchange=${this.handleDurationChange}

], AudioElement.prototype, "sources", void 0);
__decorate([
property({ type: String })
], AudioElement.prototype, "preload", void 0);
AudioElement = __decorate([

@@ -140,0 +145,0 @@ customElement('audio-element')

2

package.json
{
"name": "@internetarchive/audio-element",
"version": "0.0.1",
"version": "0.0.2-alpha.1",
"description": "An Audio Element that wraps the HTML audio tag.",

@@ -5,0 +5,0 @@ "license": "AGPL-3.0-only",

@@ -21,2 +21,4 @@ import {

@property({ type: String }) preload: 'auto' | 'metadata' | 'none' = 'auto';
get duration(): number {

@@ -72,2 +74,3 @@ /* istanbul ignore next */

<audio
.preload=${this.preload}
@timeupdate=${this.handleTimeChange}

@@ -74,0 +77,0 @@ @durationchange=${this.handleDurationChange}

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