Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
response(message: ArrayBuffer) {
const decoder = new TextDecoder("utf8");
const encoded = decoder.decode(new Uint8Array(message));
timerFlush();
this.emit(this.onResponse, encoded);
this.execInScriptTag(encoded);
}