1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

Merge branch 'node-red:master' into andowinger-add-median

This commit is contained in:
andowinger 2022-04-10 22:47:25 +02:00 committed by GitHub
commit 402d30ff5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 10 deletions

View File

@ -1,9 +1,9 @@
{
"name": "node-red-node-data-generator",
"version": "1.0.0",
"version": "1.0.1",
"description": "A Node-RED node to create a string of dummy data values from a template. Useful for test-cases.",
"dependencies": {
"dummy-json": "^3.0.4"
"dummy-json": "^3.0.5"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,6 @@
<style>
.rpi-gpio-pinTable {
color: #555;
width: 340px;
display: inline-table;
font-size: 13px;

View File

@ -1,6 +1,6 @@
{
"name": "node-red-node-pi-gpio",
"version": "2.0.2",
"version": "2.0.3",
"description": "The basic Node-RED node for Pi GPIO",
"dependencies" : {
},

View File

@ -55,7 +55,7 @@
"sentiment": "^2.1.0",
"should": "^13.2.3",
"sinon": "~7.5.0",
"smtp-server": "^3.9.0",
"smtp-server": "^3.10.0",
"supertest": "^4.0.2",
"when": "^3.7.8"
},

View File

@ -1,12 +1,12 @@
{
"name": "node-red-node-email",
"version": "1.15.0",
"version": "1.15.1",
"description": "Node-RED nodes to send and receive simple emails.",
"dependencies": {
"imap": "^0.8.19",
"mailparser": "^3.4.0",
"nodemailer": "^6.7.2",
"smtp-server": "^3.9.0"
"nodemailer": "^6.7.3",
"smtp-server": "^3.10.0"
},
"bundledDependencies": [
"imap",

View File

@ -444,7 +444,7 @@ module.exports = function(RED) {
if (body) {
var msg = { payload:body.getText(), subject:node.subject[stanza.attrs.from.split('/')[0]] };
var ids = stanza.attrs.from.split('/');
if (ids[1].length !== 36) {
if (ids.length > 1 && ids[1].length !== 36) {
msg.topic = stanza.attrs.from
}
else { msg.topic = ids[0]; }

View File

@ -1,9 +1,9 @@
{
"name": "node-red-node-xmpp",
"version": "0.5.9",
"version": "0.5.10",
"description": "A Node-RED node to talk to an XMPP server",
"dependencies": {
"@xmpp/client": "^0.13.0"
"@xmpp/client": "^0.13.1"
},
"bundledDependencies": [
"@xmpp/client"