Socket
Book a DemoInstallSign in
Socket

audio-context-singleton

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audio-context-singleton - npm Package Compare versions

Comparing version

to
1.2.3

2

index.js

@@ -26,3 +26,3 @@ /* global webkitAudioContext */

if (audioContext) {
if (audioContext && audioContext.state !== 'closed') {
audioContext.close().then(passNewContext);

@@ -29,0 +29,0 @@ } else {

{
"name": "audio-context-singleton",
"version": "1.2.2",
"version": "1.2.3",
"description": "When you want to have an audioContext singleton but don't want to rewrite [this code](index.js), use this. Deals with browser differences in AudioContext and maintains the singleton.",

@@ -5,0 +5,0 @@ "main": "index.js",