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

edge-tts-node

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-tts-node - npm Package Compare versions

Comparing version 1.1.15 to 1.1.16

7

dist/MsEdgeTTS.js

@@ -83,2 +83,3 @@ "use strict";

if (this._enableLogger) {
o.unshift('edgetts:');
console.log(...o);

@@ -136,3 +137,3 @@ }

this._ws.onmessage = (m) => {
this._log("ttttttt: ", typeof m.data);
this._log("type:::::::: ", typeof m.data);
let mdata = m.data;

@@ -163,3 +164,3 @@ if (typeof mdata === 'string') {

const buffer = buffer_1.Buffer.from(mdata);
const message = mdata.toString();
const message = buffer.toString();
const requestId = /X-RequestId:(.*?)\r\n/gm.exec(message)[1];

@@ -178,3 +179,3 @@ this._log(message.includes("Path:audio"), buffer_1.Buffer.isBuffer(mdata), mdata instanceof ArrayBuffer);

else if (message.includes("Path:audio") && buffer_1.Buffer.isBuffer(mdata)) {
this._pushAudioData(mdata, requestId);
this._pushAudioData(buffer, requestId);
}

@@ -181,0 +182,0 @@ else {

{
"name": "edge-tts-node",
"version": "1.1.15",
"version": "1.1.16",
"description": "An Azure Speech Service module that uses the Microsoft Edge Read Aloud API.",

@@ -5,0 +5,0 @@ "author": "Migushthe2nd <Migushthe2nd@users.noreply.github.com>",

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