node-red-contrib-tts-ultimate 1.0.50 → 1.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  [![Donate via PayPal](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square)](https://www.paypal.me/techtoday)
4
4
 
5
+ <p>
6
+ <b>Version 1.0.52</b> September 2022<br/>
7
+ - Updated microsoft azure sdk for compatibility with node 18 LTS<br/>
8
+ </p>
9
+ <p>
10
+ <b>Version 1.0.51</b> September 2022<br/>
11
+ - Updated microsoft azure sdk for compatibility with node 16.17.0<br/>
12
+ </p>
5
13
  <p>
6
14
  <b>Version 1.0.50</b> August 2022<br/>
7
15
  - Fixed a wrong "sonos unreachable" message when you select to simply save the file instead of using it with sonos<br/>
package/README.md CHANGED
@@ -21,7 +21,7 @@
21
21
  </details>
22
22
 
23
23
  ## WARNING
24
- Due to Microsoft Azure SDK limitation, the node can only be installed on systems with **NodeJS** versions: (^12.22.0, ^14.17.0, or >=16.0.0) built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.). Currently, the **Microsoft Azure SDK and, thus, TTS-Ultimate, doesn't run on NodeJS 18.x.x !!**
24
+ Due to Microsoft Azure SDK limitation, the node can only be installed on systems with **NodeJS** versions: (^12.22.0, ^14.17.0, or >=16.0.0) built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.).
25
25
 
26
26
  ## DESCRIPTION
27
27
  This node transforms a text into a speech audio that you can hear natively via <b>SONOS</b> speakers.<br/>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-tts-ultimate",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
4
4
  "description": "Transforms the text in speech and hear it using Sonos player or generate an audio file to be used with third parties nodes. Works with voices from Amazon, Google (without credentials as well), Microsoft TTS Azure, or your own voice. You can also only create a TTS file to be read by third party nodes. Update of the popular SonosPollyTTS node.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -48,7 +48,7 @@
48
48
  "path": ">=0.12.7",
49
49
  "@google-cloud/text-to-speech": "3.4.0",
50
50
  "google-translate-tts": ">=0.3.0",
51
- "microsoft-cognitiveservices-speech-sdk": "1.21.1"
51
+ "microsoft-cognitiveservices-speech-sdk": "1.24.1"
52
52
  },
53
53
  "devDependencies": {
54
54
  "eslint": ">=4.18.2",
@@ -6,7 +6,7 @@ module.exports = function (RED) {
6
6
  // 31/05/2022 checking nodejs version due to Microsoft Azure SDK bad nodejs compatibility.
7
7
  let nodejsVersion = process.version.match(/^v(\d+\.\d+)/)[1];
8
8
  if (nodejsVersion.startsWith("18")) {
9
- RED.log.error('ttsultimate-config: YOUR NODEJS VERSION IS CURRENTLY INCOMPATIBLE WITH Microsoft Azure SDK. Your NodeJS version: ' + nodejsVersion + ", please install one of these: (^12.22.0, ^14.17.0, or >=16.0.0), with SSL support.");
9
+ //RED.log.error('ttsultimate-config: YOUR NODEJS VERSION IS CURRENTLY INCOMPATIBLE WITH Microsoft Azure SDK. Your NodeJS version: ' + nodejsVersion + ", please install one of these: (^12.22.0, ^14.17.0, or >=16.0.0), with SSL support.");
10
10
  }
11
11
 
12
12
 
@@ -1,17 +0,0 @@
1
- {
2
- // Usare IntelliSense per informazioni sui possibili attributi.
3
- // Al passaggio del mouse vengono visualizzate le descrizioni degli attributi esistenti.
4
- // Per altre informazioni, visitare: https://go.microsoft.com/fwlink/?linkid=830387
5
- "version": "0.2.0",
6
- "configurations": [
7
- {
8
- "type": "pwa-node",
9
- "request": "launch",
10
- "name": "Launch Program",
11
- "skipFiles": [
12
- "<node_internals>/**"
13
- ],
14
- "program": "${file}"
15
- }
16
- ]
17
- }