audio-speaker icon indicating copy to clipboard operation
audio-speaker copied to clipboard

Uses broken dependency of old audio-through version

Open pmo1948 opened this issue 3 years ago • 0 comments

This package has a dependency of audio-through v2.2.3 which has a bug

C:\...\node_modules\audio-through\index.js:162
Through.prototype.writableObjectMode = true;
                                     ^

TypeError: Cannot set property writableObjectMode of #<Duplex> which has only a getter
    at Object.<anonymous> (C:\...\node_modules\audio-through\index.js:162:38)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (C:\...\node_modules\audio-speaker\stream.js:10:15)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)

This bug appears with node v14.16.1. This bug in the old version makes this package unusable

pmo1948 avatar Apr 26 '21 06:04 pmo1948