@node-red/nodes 2.2.1 → 3.0.0-beta.2
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/99-sample.html.demo +1 -1
- package/core/common/05-junction.html +5 -0
- package/core/common/05-junction.js +12 -0
- package/core/common/20-inject.html +25 -13
- package/core/common/21-debug.html +59 -6
- package/core/common/21-debug.js +57 -27
- package/core/common/60-link.html +65 -29
- package/core/common/60-link.js +169 -20
- package/core/common/lib/debug/debug-utils.js +34 -1
- package/core/function/10-function.html +57 -21
- package/core/function/10-switch.html +19 -12
- package/core/function/10-switch.js +1 -0
- package/core/function/15-change.html +40 -12
- package/core/function/16-range.html +14 -5
- package/core/function/80-template.html +16 -12
- package/core/function/89-delay.html +46 -6
- package/core/function/89-trigger.html +12 -4
- package/core/function/rbe.html +7 -3
- package/core/network/05-tls.html +10 -4
- package/core/network/06-httpproxy.html +10 -1
- package/core/network/10-mqtt.html +73 -17
- package/core/network/10-mqtt.js +252 -105
- package/core/network/21-httpin.html +10 -6
- package/core/network/21-httprequest.html +219 -12
- package/core/network/21-httprequest.js +98 -17
- package/core/network/22-websocket.html +19 -5
- package/core/network/22-websocket.js +16 -13
- package/core/network/31-tcpin.html +47 -10
- package/core/network/31-tcpin.js +8 -3
- package/core/network/32-udp.html +14 -2
- package/core/parsers/70-CSV.html +4 -1
- package/core/parsers/70-JSON.html +3 -2
- package/core/parsers/70-XML.html +2 -1
- package/core/parsers/70-YAML.html +2 -1
- package/core/sequence/17-split.html +6 -2
- package/core/sequence/19-batch.html +28 -4
- package/core/storage/10-file.html +68 -8
- package/core/storage/10-file.js +46 -3
- package/core/storage/23-watch.html +2 -1
- package/core/storage/23-watch.js +21 -43
- package/locales/de/messages.json +1 -0
- package/locales/en-US/common/60-link.html +19 -3
- package/locales/en-US/messages.json +71 -18
- package/locales/en-US/network/21-httprequest.html +1 -1
- package/locales/en-US/storage/10-file.html +6 -2
- package/locales/ja/common/60-link.html +13 -0
- package/locales/ja/messages.json +84 -32
- package/locales/ja/network/21-httprequest.html +1 -1
- package/locales/ja/storage/10-file.html +8 -6
- package/locales/ko/messages.json +1 -0
- package/locales/ru/messages.json +1 -0
- package/locales/zh-CN/messages.json +1 -0
- package/locales/zh-TW/messages.json +1 -0
- package/package.json +12 -12
|
@@ -15,11 +15,12 @@
|
|
|
15
15
|
-->
|
|
16
16
|
|
|
17
17
|
<script type="text/html" data-help-name="file">
|
|
18
|
-
<p><code>msg.payload</code
|
|
18
|
+
<p><code>msg.payload</code>をファイルに書き出します。書き出しは、ファイルの最後に追記もしくは既存の内容の置き換えを選択できます。その他、ファイルの削除を行うことも可能です。</p>
|
|
19
19
|
<h3>入力</h3>
|
|
20
20
|
<dl class="message-properties">
|
|
21
21
|
<dt class="optional">filename <span class="property-type">文字列</span></dt>
|
|
22
|
-
<dd
|
|
22
|
+
<dd>更新するファイルの名前は、ノード設定やメッセージのプロパティで指定できます。デフォルトでは、<code>msg.filename</code>が使われますが、ノード内でカスタマイズすることも可能です。
|
|
23
|
+
</dd>
|
|
23
24
|
<dt class="optional">encoding <span class="property-type">文字列</span></dt>
|
|
24
25
|
<dd>エンコーディングをmsgで設定する構成にした際は、この任意のプロパティでエンコーディングを設定できます。</dt>
|
|
25
26
|
</dl>
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
<p><code>msg.filename</code>を使う場合、書き込みを行う毎にファイルをクローズします。より良い性能を得るためにはファイル名をノードに設定してください。</p>
|
|
31
32
|
<p>追記を行う代わりに、ファイル全体を上書きするように設定することもできます。例えば、画像のようなバイナリデータをファイルに書き出す場合は、このオプションを指定し、改行を追記するオプションを指定しないようにします。</p>
|
|
32
33
|
<p>ファイル出力の際のエンコーディングは、エンコーディングリストから選択できます。</p>
|
|
33
|
-
<p
|
|
34
|
+
<p>その他、ファイルの削除を行うことも可能です。</p>
|
|
34
35
|
</script>
|
|
35
36
|
|
|
36
37
|
<script type="text/html" data-help-name="file in">
|
|
@@ -38,14 +39,15 @@
|
|
|
38
39
|
<h3>入力</h3>
|
|
39
40
|
<dl class="message-properties">
|
|
40
41
|
<dt class="optional">filename <span class="property-type">文字列</span></dt>
|
|
41
|
-
<dd
|
|
42
|
+
<dd>読み込むファイルの名前は、ノード設定やメッセージのプロパティで指定できます。デフォルトでは、<code>msg.filename</code>が使われますが、ノード内でカスタマイズすることも可能です。
|
|
43
|
+
</dd>
|
|
42
44
|
</dl>
|
|
43
45
|
<h3>出力</h3>
|
|
44
46
|
<dl class="message-properties">
|
|
45
47
|
<dt>payload <span class="property-type">文字列 | バッファ</span></dt>
|
|
46
|
-
<dd
|
|
48
|
+
<dd>ファイルの内容を文字列もしくはバッファで表現します。</dd>
|
|
47
49
|
<dt class="optional">filename <span class="property-type">文字列</span></dt>
|
|
48
|
-
<dd
|
|
50
|
+
<dd>読み出し対象のファイル名をノードに設定していない場合、この任意のプロパティでファイルの名前を指定します。</dd>
|
|
49
51
|
</dl>
|
|
50
52
|
<h3>詳細</h3>
|
|
51
53
|
<p>ファイルネームは絶対パスでの指定を推奨します。絶対パスを指定しない場合は、Node-REDプロセスのワーキングディレクトリからの相対パスとして扱います。</p>
|
package/locales/ko/messages.json
CHANGED
package/locales/ru/messages.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-red/nodes",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-beta.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,32 +15,32 @@
|
|
|
15
15
|
}
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"acorn": "8.7.
|
|
18
|
+
"acorn": "8.7.1",
|
|
19
19
|
"acorn-walk": "8.2.0",
|
|
20
|
-
"ajv": "8.
|
|
21
|
-
"body-parser": "1.
|
|
20
|
+
"ajv": "8.11.0",
|
|
21
|
+
"body-parser": "1.20.0",
|
|
22
22
|
"cheerio": "1.0.0-rc.10",
|
|
23
23
|
"content-type": "1.0.4",
|
|
24
24
|
"cookie-parser": "1.4.6",
|
|
25
|
-
"cookie": "0.
|
|
25
|
+
"cookie": "0.5.0",
|
|
26
26
|
"cors": "2.8.5",
|
|
27
27
|
"cronosjs": "1.7.1",
|
|
28
28
|
"denque": "2.0.1",
|
|
29
29
|
"form-data": "4.0.0",
|
|
30
|
-
"fs-extra": "10.
|
|
31
|
-
"fs.notify": "0.0.4",
|
|
30
|
+
"fs-extra": "10.1.0",
|
|
32
31
|
"got": "11.8.3",
|
|
33
32
|
"hash-sum": "2.0.0",
|
|
34
|
-
"hpagent": "0.
|
|
35
|
-
"https-proxy-agent": "5.0.
|
|
33
|
+
"hpagent": "1.0.0",
|
|
34
|
+
"https-proxy-agent": "5.0.1",
|
|
36
35
|
"is-utf8": "0.2.1",
|
|
37
|
-
"js-yaml": "
|
|
36
|
+
"js-yaml": "4.1.0",
|
|
38
37
|
"media-typer": "1.1.0",
|
|
39
|
-
"mqtt": "4.3.
|
|
38
|
+
"mqtt": "4.3.7",
|
|
40
39
|
"multer": "1.4.4",
|
|
41
40
|
"mustache": "4.2.0",
|
|
41
|
+
"node-watch": "0.7.3",
|
|
42
42
|
"on-headers": "1.0.2",
|
|
43
|
-
"raw-body": "2.
|
|
43
|
+
"raw-body": "2.5.1",
|
|
44
44
|
"tough-cookie": "4.0.0",
|
|
45
45
|
"uuid": "8.3.2",
|
|
46
46
|
"ws": "7.5.6",
|