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

node-red-contrib-sonospollytts

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-sonospollytts - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

5

CHANGELOG.md

@@ -8,2 +8,7 @@ ![Sample Node](img/logo.png)

<p>
<b>Version 1.1.7</b><br/>
- NEW: You can now UPLOAD your own mp3 files and play it via the newly added OwnFile node.<br/>
- NEW: You can now DELETE your own mp3 files from the OwnFile node config page.<br/>
</p>
<p>
<b>Version 1.1.6</b><br/>

@@ -10,0 +15,0 @@ - NEW: You can now UPLOAD your own mp3 files and play it via the newly added OwnFile node.<br/>

2

package.json
{
"name": "node-red-contrib-sonospollytts",
"version": "1.1.6",
"version": "1.1.7",
"description": "Node-Red TTS with Sonos and Amazon Polly or with your own local mp3 announcement files. This node is specific for security alarm announcement, zone announcement, doorbell, weather annoucement etc.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -24,2 +24,12 @@

// 27/02/2020 Delete OwnFile_
RED.httpAdmin.get("/deleteOwnFile", RED.auth.needsPermission('ownfile.read'), function (req, res) {
try {
var newPath = __dirname + "/ttspermanentfiles/" + req.query.FileName;
fs.unlinkSync(newPath)
} catch(err) {
}
res.json({ status: 220 });
});
function ownfile(config) {

@@ -26,0 +36,0 @@ RED.nodes.createNode(this, config);

Sorry, the diff of this file is not supported yet

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