@node-red/nodes 5.0.0-beta.1 → 5.0.0-beta.3

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.
@@ -16,6 +16,7 @@
16
16
 
17
17
  <script type="text/html" data-help-name="delay">
18
18
  <p>Delays each message passing through the node or limits the rate at which they can pass.</p>
19
+ <p>Not all input parameters apply to all modes.</p>
19
20
  <h3>Inputs</h3>
20
21
  <dl class="message-properties">
21
22
  <dt class="optional">delay <span class="property-type">number</span></dt>
@@ -47,9 +48,11 @@
47
48
  Each message is delayed independently of any other message, based on
48
49
  the time of its arrival.
49
50
  </p>
50
- <p>When configured to rate limit messages, their delivery is spread across
51
- the configured time period. The status shows the number of messages currently in the queue.
52
- It can optionally discard intermediate messages as they arrive.</p>
51
+ <p>When configured to rate limit messages, the node can operate in several modes.
52
+ By default the messages are delivered evenly spread across
53
+ the configured time period. e.g. 3 msgs in 12 seconds means 1 message every 4 seconds.
54
+ The status shows the number of messages currently in the queue.
55
+ It can optionally discard intermediate messages as they arrive.
53
56
  </p>
54
57
  <p>If set to allow override of the rate, the new rate will be applied immediately,
55
58
  and will remain in effect until changed again, the node is reset, or the flow is restarted.</p>
@@ -59,6 +62,12 @@
59
62
  the most recent message for all topics, or release the most recent message
60
63
  for the next topic.
61
64
  </p>
65
+ <p>In burst mode, messages are passed through up to the configured limit immediately,
66
+ any further messages will be dropped or sent to the second output until the time
67
+ period has elapsed. At that point the next burst of messages can be sent.
68
+ The status shows green when messages can be sent immediately, and red when
69
+ messages are blocked.
70
+ </p>
62
71
  <p><b>Note</b>: In rate limit mode the maximum queue depth can be set by a property in your
63
72
  <i>settings.js</i> file. For example <code>nodeMessageBufferMaxLength: 1000,</code></p>
64
73
  </script>
@@ -166,7 +166,12 @@
166
166
  "selectAll": "select all",
167
167
  "selectNone": "select none",
168
168
  "all": "all",
169
- "filtered": "filtered"
169
+ "filtered": "filtered",
170
+ "pause": "pause",
171
+ "paused": "Paused",
172
+ "resume": "resume",
173
+ "messagesDropped": "__count__ message dropped",
174
+ "messagesDropped_plural": "__count__ messages dropped"
170
175
  },
171
176
  "messageMenu": {
172
177
  "collapseAll": "Collapse all paths",
@@ -208,7 +213,8 @@
208
213
  "certtype": "Cert Type",
209
214
  "files": "Individual files",
210
215
  "p12": "pfx or p12",
211
- "pfx": "pfx or p12 file"
216
+ "pfx": "pfx or p12 file",
217
+ "env": "Environment Variable"
212
218
  },
213
219
  "placeholder": {
214
220
  "cert": "path to certificate (PEM format)",
@@ -308,7 +314,8 @@
308
314
  "delayvarmsg": "Override delay with msg.delay",
309
315
  "randomdelay": "Random delay",
310
316
  "limitrate": "Rate Limit",
311
- "limitall": "All messages",
317
+ "limitall": "All messages - even spacing",
318
+ "limitburst": "All messages - burst mode",
312
319
  "limittopic": "For each msg.topic",
313
320
  "fairqueue": "Send each topic in turn",
314
321
  "timedqueue": "Send all topics",
@@ -332,6 +339,7 @@
332
339
  "label": {
333
340
  "delay": "delay",
334
341
  "variable": "variable",
342
+ "burst": "burst",
335
343
  "limit": "limit",
336
344
  "limitTopic": "limit topic",
337
345
  "random": "random",
@@ -166,7 +166,10 @@
166
166
  "selectAll": "seleccionar todo",
167
167
  "selectNone": "seleccionar ninguno",
168
168
  "all": "todo",
169
- "filtered": "filtrado"
169
+ "filtered": "filtrado",
170
+ "pause": "pausa",
171
+ "paused": "Pausado",
172
+ "resume": "reanudar"
170
173
  },
171
174
  "messageMenu": {
172
175
  "collapseAll": "Colapsar todas las rutas",
@@ -166,7 +166,10 @@
166
166
  "selectAll": "Tout sélectionner",
167
167
  "selectNone": "Ne rien sélectionner",
168
168
  "all": "Tout",
169
- "filtered": "Filtrés"
169
+ "filtered": "Filtrés",
170
+ "pause": "pause",
171
+ "paused": "Interrompue",
172
+ "resume": "continuer"
170
173
  },
171
174
  "messageMenu": {
172
175
  "collapseAll": "Réduire tous les chemins",
@@ -166,7 +166,10 @@
166
166
  "selectAll": "全てを選択",
167
167
  "selectNone": "選択を外す",
168
168
  "all": "全て",
169
- "filtered": "選択したメッセージ"
169
+ "filtered": "選択したメッセージ",
170
+ "pause": "一時停止",
171
+ "paused": "一時停止",
172
+ "resume": "再開"
170
173
  },
171
174
  "messageMenu": {
172
175
  "collapseAll": "全パスを折りたたむ",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-red/nodes",
3
- "version": "5.0.0-beta.1",
3
+ "version": "5.0.0-beta.3",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,10 +15,10 @@
15
15
  }
16
16
  ],
17
17
  "dependencies": {
18
- "acorn": "8.15.0",
19
- "acorn-walk": "8.3.4",
20
- "ajv": "8.17.1",
21
- "body-parser": "1.20.3",
18
+ "acorn": "8.16.0",
19
+ "acorn-walk": "8.3.5",
20
+ "ajv": "8.18.0",
21
+ "body-parser": "1.20.4",
22
22
  "cheerio": "1.0.0-rc.10",
23
23
  "content-type": "1.0.5",
24
24
  "cookie-parser": "1.4.7",
@@ -35,8 +35,8 @@
35
35
  "is-utf8": "0.2.1",
36
36
  "js-yaml": "4.1.1",
37
37
  "media-typer": "1.1.0",
38
- "mqtt": "5.11.0",
39
- "multer": "2.0.2",
38
+ "mqtt": "5.15.0",
39
+ "multer": "2.1.1",
40
40
  "mustache": "4.2.0",
41
41
  "node-watch": "0.7.4",
42
42
  "on-headers": "1.1.0",