Comparing version 1.3.7 to 1.3.8
@@ -56,7 +56,4 @@ const fs = require("fs"); | ||
const page = await browser.newPage(); | ||
await goto(page, `https://azure.microsoft.com/en-us/services/cognitive-services/text-to-speech/#features`, 0, "#ttstext",); | ||
await page.waitForSelector('#ttstext', {visible: true}); | ||
await page.mouse.click(1, 1); | ||
@@ -82,3 +79,2 @@ | ||
await sleep(250) | ||
await page.focus('#ttstext'); | ||
@@ -104,3 +100,2 @@ await page.keyboard.down('ControlLeft') | ||
const play = await page.$("#playbtn"); | ||
//await play.click(); | ||
await page.evaluate((b) => b.click(), play); | ||
@@ -117,5 +112,6 @@ } catch (err) { | ||
let output = typeof settings.output == "string" ? fs.createWriteStream(settings.output) : settings.output | ||
stream.pipe(output); | ||
console.log(`0`) | ||
setTimeout(async () => { | ||
@@ -122,0 +118,0 @@ await page.evaluate(() => { |
{ | ||
"name": "azuretts", | ||
"version": "1.3.7", | ||
"version": "1.3.8", | ||
"description": "Module based on puppeteer to get free quality tts from Microsoft Azure", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
0
5331
3
127