Socket
Socket
Sign inDemoInstall

tts-narrator

Package Overview
Dependencies
177
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.16 to 1.0.17

2

dist/script-processor.d.ts

@@ -36,3 +36,3 @@ import { flags } from '@oclif/command';

protected sectionRange: MultiRange | undefined;
constructor(scriptFilePath: string, flags: Flags<typeof scriptProcessorFlags>);
constructor(scriptFilePath: string, flags: Flags<typeof scriptProcessorFlags>, cliConsole?: DefaultCliConsole);
protected hash(ssml: string, _paragraph: NarrationParagraph): string;

@@ -39,0 +39,0 @@ protected loadScript(): Promise<void>;

@@ -44,6 +44,6 @@ "use strict";

class ScriptProcessor {
constructor(scriptFilePath, flags) {
constructor(scriptFilePath, flags, cliConsole) {
this.scriptFilePath = scriptFilePath;
this.flags = flags;
this.cliConsole = (0, oclif_utils_1.cliConsoleWithColour)(this.flags, chalk_1.default);
this.cliConsole = cliConsole !== null && cliConsole !== void 0 ? cliConsole : (0, oclif_utils_1.cliConsoleWithColour)(this.flags, chalk_1.default);
}

@@ -50,0 +50,0 @@ hash(ssml, _paragraph) {

{
"name": "tts-narrator",
"version": "1.0.16",
"version": "1.0.17",
"description": "Generate narration with Text-To-Speech technology",

@@ -5,0 +5,0 @@ "main": "dist/types.js",

@@ -1068,3 +1068,3 @@ # tts-narrator

• **new ScriptProcessor**(`scriptFilePath`, `flags`)
• **new ScriptProcessor**(`scriptFilePath`, `flags`, `cliConsole?`)

@@ -1077,2 +1077,3 @@ ###### Parameters

| `flags` | `Object` |
| `cliConsole?` | `CliConsole`<`fn`, `fn`, `fn`, `fn`\> |

@@ -1079,0 +1080,0 @@ #### Properties

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc