@wasm-audio-decoders/common
Advanced tools
Comparing version 6.0.0 to 6.0.1
{ | ||
"name": "@wasm-audio-decoders/common", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Web Assembly Audio Decoders Common", | ||
@@ -5,0 +5,0 @@ "module": "index.js", |
@@ -1,5 +0,7 @@ | ||
import Worker from "@eshaz/web-worker"; | ||
import NodeWorker from "@eshaz/web-worker"; | ||
import WASMAudioDecoderCommon from "./WASMAudioDecoderCommon.js"; | ||
export default class WASMAudioDecoderWorker extends Worker { | ||
const getWorker = () => globalThis.Worker || NodeWorker; | ||
export default class WASMAudioDecoderWorker extends getWorker() { | ||
constructor(options, name, Decoder, EmscriptenWASM) { | ||
@@ -6,0 +8,0 @@ if (!WASMAudioDecoderCommon.modules) new WASMAudioDecoderCommon(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59555
377