@node-red/editor-client 4.0.0-beta.1 → 4.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.
- package/locales/de/editor.json +2 -0
- package/locales/en-US/editor.json +9 -1
- package/locales/fr/editor.json +17 -3
- package/locales/ja/editor.json +18 -4
- package/package.json +1 -1
- package/public/red/about +70 -0
- package/public/red/red.js +1602 -425
- package/public/red/red.min.js +3 -3
- package/public/red/style.min.css +2 -2
- package/public/red/tours/3.1/welcome.js +8 -8
- package/public/red/tours/images/nr4-background-deploy.png +0 -0
- package/public/red/tours/images/nr4-config-select.png +0 -0
- package/public/red/tours/images/nr4-diff-update.png +0 -0
- package/public/red/tours/images/nr4-multiplayer-location.png +0 -0
- package/public/red/tours/images/nr4-multiplayer.png +0 -0
- package/public/red/tours/images/nr4-plugins.png +0 -0
- package/public/red/tours/welcome.js +166 -11
- package/public/types/node/assert/strict.d.ts +1 -1
- package/public/types/node/assert.d.ts +8 -9
- package/public/types/node/async_hooks.d.ts +9 -5
- package/public/types/node/buffer.d.ts +43 -18
- package/public/types/node/child_process.d.ts +8 -5
- package/public/types/node/cluster.d.ts +15 -19
- package/public/types/node/console.d.ts +2 -2
- package/public/types/node/crypto.d.ts +165 -70
- package/public/types/node/dgram.d.ts +4 -4
- package/public/types/node/diagnostics_channel.d.ts +8 -7
- package/public/types/node/dns/promises.d.ts +11 -9
- package/public/types/node/dns.d.ts +18 -13
- package/public/types/node/dom-events.d.ts +129 -0
- package/public/types/node/domain.d.ts +2 -2
- package/public/types/node/events.d.ts +49 -12
- package/public/types/node/fs/promises.d.ts +68 -24
- package/public/types/node/fs.d.ts +132 -59
- package/public/types/node/globals.d.ts +31 -17
- package/public/types/node/http.d.ts +138 -27
- package/public/types/node/http2.d.ts +38 -5
- package/public/types/node/https.d.ts +12 -3
- package/public/types/node/module.d.ts +1 -2
- package/public/types/node/net.d.ts +69 -28
- package/public/types/node/os.d.ts +16 -5
- package/public/types/node/path.d.ts +5 -5
- package/public/types/node/perf_hooks.d.ts +48 -9
- package/public/types/node/process.d.ts +18 -17
- package/public/types/node/querystring.d.ts +2 -2
- package/public/types/node/readline/promises.d.ts +146 -0
- package/public/types/node/readline.d.ts +141 -31
- package/public/types/node/stream/consumers.d.ts +2 -2
- package/public/types/node/stream/promises.d.ts +1 -1
- package/public/types/node/stream/web.d.ts +4 -66
- package/public/types/node/stream.d.ts +96 -118
- package/public/types/node/string_decoder.d.ts +2 -2
- package/public/types/node/test.d.ts +200 -16
- package/public/types/node/timers/promises.d.ts +1 -26
- package/public/types/node/timers.d.ts +2 -2
- package/public/types/node/tls.d.ts +21 -12
- package/public/types/node/trace_events.d.ts +12 -2
- package/public/types/node/ts4.8/assert/strict.d.ts +11 -0
- package/public/types/node/ts4.8/assert.d.ts +964 -0
- package/public/types/node/ts4.8/async_hooks.d.ts +504 -0
- package/public/types/node/ts4.8/buffer.d.ts +2262 -0
- package/public/types/node/ts4.8/child_process.d.ts +1372 -0
- package/public/types/node/ts4.8/cluster.d.ts +413 -0
- package/public/types/node/ts4.8/console.d.ts +415 -0
- package/public/types/node/ts4.8/crypto.d.ts +3967 -0
- package/public/types/node/ts4.8/dgram.d.ts +548 -0
- package/public/types/node/ts4.8/diagnostics_channel.d.ts +156 -0
- package/public/types/node/ts4.8/dns/promises.d.ts +373 -0
- package/public/types/node/ts4.8/dns.d.ts +662 -0
- package/public/types/node/ts4.8/dom-events.d.ts +129 -0
- package/public/types/node/ts4.8/domain.d.ts +173 -0
- package/public/types/node/ts4.8/events.d.ts +681 -0
- package/public/types/node/ts4.8/fs/promises.d.ts +1141 -0
- package/public/types/node/ts4.8/fs.d.ts +3875 -0
- package/public/types/node/ts4.8/globals.d.ts +297 -0
- package/public/types/node/ts4.8/http.d.ts +1617 -0
- package/public/types/node/ts4.8/http2.d.ts +2137 -0
- package/public/types/node/ts4.8/https.d.ts +544 -0
- package/public/types/node/ts4.8/module.d.ts +117 -0
- package/public/types/node/ts4.8/net.d.ts +872 -0
- package/public/types/node/ts4.8/os.d.ts +469 -0
- package/public/types/node/ts4.8/path.d.ts +194 -0
- package/public/types/node/ts4.8/perf_hooks.d.ts +628 -0
- package/public/types/node/ts4.8/process.d.ts +1485 -0
- package/public/types/node/ts4.8/querystring.d.ts +134 -0
- package/public/types/node/ts4.8/readline/promises.d.ts +146 -0
- package/public/types/node/ts4.8/readline.d.ts +656 -0
- package/public/types/node/ts4.8/stream/consumers.d.ts +15 -0
- package/public/types/node/ts4.8/stream/promises.d.ts +45 -0
- package/public/types/node/ts4.8/stream/web.d.ts +333 -0
- package/public/types/node/ts4.8/stream.d.ts +1343 -0
- package/public/types/node/ts4.8/string_decoder.d.ts +70 -0
- package/public/types/node/ts4.8/test.d.ts +377 -0
- package/public/types/node/ts4.8/timers/promises.d.ts +71 -0
- package/public/types/node/ts4.8/timers.d.ts +97 -0
- package/public/types/node/ts4.8/tls.d.ts +1031 -0
- package/public/types/node/ts4.8/trace_events.d.ts +174 -0
- package/public/types/node/ts4.8/tty.d.ts +209 -0
- package/public/types/node/ts4.8/url.d.ts +900 -0
- package/public/types/node/ts4.8/util.d.ts +1853 -0
- package/public/types/node/ts4.8/v8.d.ts +399 -0
- package/public/types/node/ts4.8/vm.d.ts +512 -0
- package/public/types/node/ts4.8/wasi.d.ts +161 -0
- package/public/types/node/ts4.8/worker_threads.d.ts +692 -0
- package/public/types/node/ts4.8/zlib.d.ts +520 -0
- package/public/types/node/tty.d.ts +5 -3
- package/public/types/node/url.d.ts +81 -39
- package/public/types/node/util.d.ts +269 -13
- package/public/types/node/v8.d.ts +22 -4
- package/public/types/node/vm.d.ts +7 -5
- package/public/types/node/wasi.d.ts +2 -2
- package/public/types/node/worker_threads.d.ts +51 -11
- package/public/types/node/zlib.d.ts +2 -2
- package/public/types/node-red/func.d.ts +26 -17
- package/public/types/node-red/util.d.ts +1 -1
- package/public/vendor/ace/worker-jsonata.js +1 -1
- package/public/vendor/monaco/dist/{fa2cc0ab9f0bec2b3365.ttf → 0c718f5b7d2bce997c5f.ttf} +0 -0
- package/public/vendor/monaco/dist/css.worker.js +1 -1
- package/public/vendor/monaco/dist/css.worker.js.LICENSE.txt +1 -1
- package/public/vendor/monaco/dist/editor.js +1 -29
- package/public/vendor/monaco/dist/editor.js.LICENSE.txt +2 -2
- package/public/vendor/monaco/dist/editor.worker.js +1 -1
- package/public/vendor/monaco/dist/html.worker.js +1 -1
- package/public/vendor/monaco/dist/html.worker.js.LICENSE.txt +1 -1
- package/public/vendor/monaco/dist/json.worker.js +1 -1
- package/public/vendor/monaco/dist/json.worker.js.LICENSE.txt +1 -1
- package/public/vendor/monaco/dist/locale/cs.js +324 -106
- package/public/vendor/monaco/dist/locale/de.js +336 -118
- package/public/vendor/monaco/dist/locale/es.js +329 -111
- package/public/vendor/monaco/dist/locale/fr.js +334 -116
- package/public/vendor/monaco/dist/locale/it.js +327 -109
- package/public/vendor/monaco/dist/locale/ja.js +329 -111
- package/public/vendor/monaco/dist/locale/ko.js +330 -112
- package/public/vendor/monaco/dist/locale/pl.js +329 -111
- package/public/vendor/monaco/dist/locale/pt-br.js +329 -111
- package/public/vendor/monaco/dist/locale/qps-ploc.js +330 -112
- package/public/vendor/monaco/dist/locale/ru.js +331 -113
- package/public/vendor/monaco/dist/locale/tr.js +329 -111
- package/public/vendor/monaco/dist/locale/zh-hans.js +331 -113
- package/public/vendor/monaco/dist/locale/zh-hant.js +331 -113
- package/public/vendor/monaco/dist/ts.worker.js +2 -2
- package/public/vendor/vendor.js +1 -1
- package/public/vendor/monaco/dist/7064e66c3890a12c47b4.ttf +0 -0
|
@@ -50,7 +50,7 @@ export default {
|
|
|
50
50
|
"ja": "タブ上の変更通知",
|
|
51
51
|
"fr": "Notification de changement sur les onglets"
|
|
52
52
|
},
|
|
53
|
-
image: 'images/tab-changes.png',
|
|
53
|
+
image: '3.1/images/tab-changes.png',
|
|
54
54
|
description: {
|
|
55
55
|
"en-US": `<p>When a tab contains undeployed changes it now shows the
|
|
56
56
|
same style of change icon used by nodes.</p>
|
|
@@ -89,7 +89,7 @@ export default {
|
|
|
89
89
|
"ja": "ヘルプを見つける",
|
|
90
90
|
"fr": "Trouver de l'aide"
|
|
91
91
|
},
|
|
92
|
-
image: 'images/node-help.png',
|
|
92
|
+
image: '3.1/images/node-help.png',
|
|
93
93
|
description: {
|
|
94
94
|
"en-US": `<p>All node edit dialogs now include a link to that node's help
|
|
95
95
|
in the footer.</p>
|
|
@@ -107,7 +107,7 @@ export default {
|
|
|
107
107
|
"ja": "コンテキストメニューの改善",
|
|
108
108
|
"fr": "Menu contextuel amélioré"
|
|
109
109
|
},
|
|
110
|
-
image: 'images/context-menu.png',
|
|
110
|
+
image: '3.1/images/context-menu.png',
|
|
111
111
|
description: {
|
|
112
112
|
"en-US": `<p>The editor's context menu has been expanded to make lots more of
|
|
113
113
|
the built-in actions available.</p>
|
|
@@ -129,7 +129,7 @@ export default {
|
|
|
129
129
|
"ja": "フローを非表示",
|
|
130
130
|
"fr": "Masquage de flux"
|
|
131
131
|
},
|
|
132
|
-
image: 'images/hiding-flows.png',
|
|
132
|
+
image: '3.1/images/hiding-flows.png',
|
|
133
133
|
description: {
|
|
134
134
|
"en-US": `<p>Hiding flows is now done through the flow context menu.</p>
|
|
135
135
|
<p>The 'hide' button in previous releases has been removed from the tabs
|
|
@@ -147,7 +147,7 @@ export default {
|
|
|
147
147
|
"ja": "フローを固定",
|
|
148
148
|
"fr": "Verrouillage de flux"
|
|
149
149
|
},
|
|
150
|
-
image: 'images/locking-flows.png',
|
|
150
|
+
image: '3.1/images/locking-flows.png',
|
|
151
151
|
description: {
|
|
152
152
|
"en-US": `<p>Flows can now be locked to prevent accidental changes being made.</p>
|
|
153
153
|
<p>When locked you cannot modify the nodes in any way.</p>
|
|
@@ -187,7 +187,7 @@ export default {
|
|
|
187
187
|
"ja": "Mermaid図を追加",
|
|
188
188
|
"fr": "Ajout de diagrammes Mermaid"
|
|
189
189
|
},
|
|
190
|
-
image: 'images/mermaid.png',
|
|
190
|
+
image: '3.1/images/mermaid.png',
|
|
191
191
|
description: {
|
|
192
192
|
"en-US": `<p>You can also add <a href="https://github.com/mermaid-js/mermaid">Mermaid</a> diagrams directly into your node or flow descriptions.</p>
|
|
193
193
|
<p>This gives you much richer options for documenting your flows.</p>`,
|
|
@@ -203,11 +203,11 @@ export default {
|
|
|
203
203
|
"ja": "グローバル環境変数の管理",
|
|
204
204
|
"fr": "Gestion des variables d'environnement globales"
|
|
205
205
|
},
|
|
206
|
-
image: 'images/global-env-vars.png',
|
|
206
|
+
image: '3.1/images/global-env-vars.png',
|
|
207
207
|
description: {
|
|
208
208
|
"en-US": `<p>You can set environment variables that apply to all nodes and flows in the new
|
|
209
209
|
'Global Environment Variables' section of User Settings.</p>`,
|
|
210
|
-
"ja": `<p
|
|
210
|
+
"ja": `<p>ユーザ設定に新しく追加された「グローバル環境変数」のセクションで、全てのノードとフローに適用される環境変数を登録できます。</p>`,
|
|
211
211
|
"fr": `<p>Vous pouvez définir des variables d'environnement qui s'appliquent à tous les noeuds et flux dans la nouvelle
|
|
212
212
|
section "Global Environment Variables" des paramètres utilisateur.</p>`
|
|
213
213
|
},
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
version: "4.0.0-beta.
|
|
2
|
+
version: "4.0.0-beta.3",
|
|
3
3
|
steps: [
|
|
4
4
|
{
|
|
5
5
|
titleIcon: "fa fa-map-o",
|
|
6
6
|
title: {
|
|
7
|
-
"en-US": "Welcome to Node-RED 4.0 Beta
|
|
8
|
-
"ja": "Node-RED 4.0 Beta
|
|
9
|
-
"fr": "Bienvenue dans Node-RED 4.0 Beta
|
|
7
|
+
"en-US": "Welcome to Node-RED 4.0 Beta 3!",
|
|
8
|
+
"ja": "Node-RED 4.0 Beta 3へようこそ!",
|
|
9
|
+
"fr": "Bienvenue dans Node-RED 4.0 Beta 3!"
|
|
10
10
|
},
|
|
11
11
|
description: {
|
|
12
12
|
"en-US": "<p>Let's take a moment to discover the new features in this release.</p>",
|
|
@@ -14,10 +14,124 @@ export default {
|
|
|
14
14
|
"fr": "<p>Prenons un moment pour découvrir les nouvelles fonctionnalités de cette version.</p>"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
+
{
|
|
18
|
+
title: {
|
|
19
|
+
"en-US": "Multiplayer Mode",
|
|
20
|
+
"ja": "複数ユーザ同時利用モード",
|
|
21
|
+
"fr": "Mode Multi-utilisateur"
|
|
22
|
+
},
|
|
23
|
+
image: 'images/nr4-multiplayer-location.png',
|
|
24
|
+
description: {
|
|
25
|
+
"en-US": `<p>Multiplayer mode was introduced in the previous beta. With this release it
|
|
26
|
+
now shows where in the editor other users are.</p>
|
|
27
|
+
<p>As with the last beta, check the release post for details on how to enable this feature in your settings file.</p>`,
|
|
28
|
+
// "ja": ``,
|
|
29
|
+
"fr": `<p>Le mode multi-utilisateur a été introduit dans la version bêta précédente. Avec cette nouvelle version, vous
|
|
30
|
+
pourrez désormais savoir où ces utilisateurs se trouvent dans l'éditeur.</p>
|
|
31
|
+
<p>Comme pour la dernière version bêta, consultez la note de publication pour plus de détails sur la façon d'activer
|
|
32
|
+
cette fonctionnalité dans votre fichier de paramètres.</p>`
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
title: {
|
|
37
|
+
"en-US": "Better background deploy handling",
|
|
38
|
+
// "ja": "",
|
|
39
|
+
"fr": "Meilleure gestion du déploiement en arrière-plan"
|
|
40
|
+
},
|
|
41
|
+
image: 'images/nr4-background-deploy.png',
|
|
42
|
+
description: {
|
|
43
|
+
"en-US": `<p>If another user deploys changes whilst you are editing, we now use a more discrete notification
|
|
44
|
+
that doesn't stop you continuing your work - especially if they are being very productive and deploying lots
|
|
45
|
+
of changes.</p>`,
|
|
46
|
+
// "ja": ``,
|
|
47
|
+
"fr": `<p>Si un autre utilisateur déploie des modifications pendant que vous êtes en train de modifier, vous recevrez
|
|
48
|
+
une notification plus discrète qu'auparavant qui ne vous empêche pas de continuer votre travail.</p>`
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
title: {
|
|
53
|
+
"en-US": "Improved flow diffs",
|
|
54
|
+
// "ja": "",
|
|
55
|
+
"fr": "Amélioration des différences de flux"
|
|
56
|
+
},
|
|
57
|
+
image: 'images/nr4-diff-update.png',
|
|
58
|
+
description: {
|
|
59
|
+
"en-US": `<p>When viewing changes made to a flow, Node-RED now distinguishes between nodes that have had configuration
|
|
60
|
+
changes and those that have only been moved.<p>
|
|
61
|
+
<p>When faced with a long list of changes to look at, this makes it much easier to focus on more sigificant items.</p>`,
|
|
62
|
+
// "ja": ``,
|
|
63
|
+
"fr": `<p>Lors de l'affichage des modifications apportées à un flux, Node-RED fait désormais la distinction entre les
|
|
64
|
+
noeuds qui ont changé de configuration et ceux qui ont seulement été déplacés.<p>
|
|
65
|
+
<p>Face à une longue liste de changements à examiner, il est beaucoup plus facile de se concentrer sur les éléments les
|
|
66
|
+
plus importants.</p>`
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
title: {
|
|
71
|
+
"en-US": "That's it for Beta 3!",
|
|
72
|
+
"ja": "ベータ2については以上です!",
|
|
73
|
+
"fr": "C'est tout pour la bêta 3 !"
|
|
74
|
+
},
|
|
75
|
+
description: {
|
|
76
|
+
"en-US": `<p>Keep clicking through to see what was added in previous beta releases</p>`,
|
|
77
|
+
"ja": `<p>クリックを続けてベータ1で追加された内容を確認してください。</p>`,
|
|
78
|
+
"fr": `<p>Continuez à cliquer pour voir ce qui a été ajouté dans la version bêta 1</p>`
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
title: {
|
|
83
|
+
"en-US": "Better Configuration Node UX",
|
|
84
|
+
"ja": "設定ノードのUXが向上",
|
|
85
|
+
"fr": "Meilleure expérience utilisateur du noeud de configuration"
|
|
86
|
+
},
|
|
87
|
+
image: 'images/nr4-config-select.png',
|
|
88
|
+
description: {
|
|
89
|
+
"en-US": `<p>The Configuration node selection UI has had a small update to have a dedicated 'add' button
|
|
90
|
+
next to the select box.</p>
|
|
91
|
+
<p>It's a small change, but should make it easier to work with your config nodes.</p>`,
|
|
92
|
+
"ja": `<p>設定ノードを選択するUIが修正され、選択ボックスの隣に専用の「追加」ボタンが追加されました。</p>
|
|
93
|
+
<p>微修正ですが設定ノードの操作が容易になります。</p>`,
|
|
94
|
+
"fr": `<p>L'interface utilisateur de la sélection du noeud de configuration a fait l'objet d'une petite
|
|
95
|
+
mise à jour afin de disposer d'un bouton « Ajouter » à côté de la zone de sélection.</p>
|
|
96
|
+
<p>C'est un petit changement, mais cela devrait faciliter le travail avec vos noeuds de configuration.</p>`
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
title: {
|
|
101
|
+
"en-US": "Remembering palette state",
|
|
102
|
+
"ja": "パレットの状態を維持",
|
|
103
|
+
"fr": "Mémorisation de l'état de la palette"
|
|
104
|
+
},
|
|
105
|
+
description: {
|
|
106
|
+
"en-US": `<p>The palette now remembers what categories you have hidden between reloads - as well as any
|
|
107
|
+
filter you have applied.</p>`,
|
|
108
|
+
"ja": `<p>パレット上で非表示にしたカテゴリや適用したフィルタが、リロードしても記憶されるようになりました。</p>`,
|
|
109
|
+
"fr": `<p>La palette se souvient désormais des catégories que vous avez masquées entre les rechargements,
|
|
110
|
+
ainsi que le filtre que vous avez appliqué.</p>`
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
title: {
|
|
115
|
+
"en-US": "Plugins shown in the Palette Manager",
|
|
116
|
+
"ja": "パレット管理にプラグインを表示",
|
|
117
|
+
"fr": "Affichage des Plugins dans le gestionnaire de palettes"
|
|
118
|
+
},
|
|
119
|
+
image: 'images/nr4-plugins.png',
|
|
120
|
+
description: {
|
|
121
|
+
"en-US": `<p>The palette manager now shows any plugin modules you have installed, such as
|
|
122
|
+
<code>node-red-debugger</code>. Previously they would only be shown if the plugins include
|
|
123
|
+
nodes for the palette.</p>`,
|
|
124
|
+
"ja": `<p>パレットの管理に <code>node-red-debugger</code> の様なインストールしたプラグインが表示されます。以前はプラグインにパレット向けのノードが含まれている時のみ表示されていました。</p>`,
|
|
125
|
+
"fr": `<p>Le gestionnaire de palettes affiche désormais tous les plugins que vous avez installés,
|
|
126
|
+
tels que <code>node-red-debugger</code>. Auparavant, ils n'étaient affichés que s'ils contenaient
|
|
127
|
+
des noeuds pour la palette.</p>`
|
|
128
|
+
}
|
|
129
|
+
},
|
|
17
130
|
{
|
|
18
131
|
title: {
|
|
19
132
|
"en-US": "Timestamp formatting options",
|
|
20
|
-
|
|
133
|
+
"ja": "タイムスタンプの形式の項目",
|
|
134
|
+
"fr": "Options de formatage de l'horodatage"
|
|
21
135
|
},
|
|
22
136
|
image: 'images/nr4-timestamp-formatting.png',
|
|
23
137
|
description: {
|
|
@@ -26,28 +140,47 @@ export default {
|
|
|
26
140
|
<ul>
|
|
27
141
|
<li>Milliseconds since epoch - this is existing behaviour of the timestamp option</li>
|
|
28
142
|
<li>ISO 8601 - a common format used by many systems</li>
|
|
29
|
-
<li>JavaScript
|
|
143
|
+
<li>JavaScript Date Object</li>
|
|
144
|
+
</ul>`,
|
|
145
|
+
"ja": `<p>タイムスタンプを設定するノードに、タイムスタンプの形式を指定できる項目が追加されました。</p>
|
|
146
|
+
<p>次の3つの項目を追加したことで、簡単に選択できるようになりました:<p>
|
|
147
|
+
<ul>
|
|
148
|
+
<li>エポックからのミリ秒 - 従来動作と同じになるタイムスタンプの項目</li>
|
|
149
|
+
<li>ISO 8601 - 多くのシステムで使用されている共通の形式</li>
|
|
150
|
+
<li>JavaScript日付オブジェクト</li>
|
|
30
151
|
</ul>`,
|
|
31
|
-
|
|
152
|
+
"fr": `<p>Les noeuds qui vous permettent de définir un horodatage disposent désormais d'options sur le format dans lequel cet horodatage peut être défini.</p>
|
|
153
|
+
<p>Nous gardons les choses simples en proposant trois options :<p>
|
|
154
|
+
<ul>
|
|
155
|
+
<li>Millisecondes depuis l'époque : il s'agit du comportement existant de l'option d'horodatage</li>
|
|
156
|
+
<li>ISO 8601 : un format commun utilisé par de nombreux systèmes</li>
|
|
157
|
+
<li>Objet Date JavaScript</li>
|
|
158
|
+
</ul>`
|
|
32
159
|
}
|
|
33
160
|
},
|
|
34
161
|
{
|
|
35
162
|
title: {
|
|
36
163
|
"en-US": "Auto-complete of flow/global and env types",
|
|
37
|
-
|
|
164
|
+
"ja": "フロー/グローバル、環境変数の型の自動補完",
|
|
165
|
+
"fr": "Saisie automatique des types de flux/global et env"
|
|
38
166
|
},
|
|
39
167
|
image: 'images/nr4-auto-complete.png',
|
|
40
168
|
description: {
|
|
41
169
|
"en-US": `<p>The <code>flow</code>/<code>global</code> context inputs and the <code>env</code> input
|
|
42
170
|
now all include auto-complete suggestions based on the live state of your flows.</p>
|
|
43
171
|
`,
|
|
44
|
-
|
|
172
|
+
"ja": `<p><code>flow</code>/<code>global</code>コンテキストや<code>env</code>の入力を、現在のフローの状態をもとに自動補完で提案するようになりました。</p>
|
|
173
|
+
`,
|
|
174
|
+
"fr": `<p>Les entrées contextuelles <code>flow</code>/<code>global</code> et l'entrée <code>env</code>
|
|
175
|
+
incluent désormais des suggestions de saisie semi-automatique basées sur l'état actuel de vos flux.</p>
|
|
176
|
+
`,
|
|
45
177
|
}
|
|
46
178
|
},
|
|
47
179
|
{
|
|
48
180
|
title: {
|
|
49
181
|
"en-US": "Config node customisation in Subflows",
|
|
50
|
-
|
|
182
|
+
"ja": "サブフローでの設定ノードのカスタマイズ",
|
|
183
|
+
"fr": "Personnalisation du noeud de configuration dans les sous-flux"
|
|
51
184
|
},
|
|
52
185
|
image: 'images/nr4-sf-config.png',
|
|
53
186
|
description: {
|
|
@@ -56,7 +189,14 @@ export default {
|
|
|
56
189
|
<p>For example, each instance of a subflow that connects to an MQTT Broker and does some post-processing
|
|
57
190
|
of the messages received can be pointed at a different broker.</p>
|
|
58
191
|
`,
|
|
59
|
-
|
|
192
|
+
"ja": `<p>サブフローをカスタマイズして、選択した型の異なる設定ノードを各インスタンスが使用できるようになりました。</p>
|
|
193
|
+
<p>例えば、MQTTブローカへ接続し、メッセージ受信と後処理を行うサブフローの各インスタンスに異なるブローカを指定することも可能です。</p>
|
|
194
|
+
`,
|
|
195
|
+
"fr": `<p>Les sous-flux peuvent désormais être personnalisés pour permettre à chaque instance d'utiliser un
|
|
196
|
+
noeud de configuration d'un type sélectionné.</p>
|
|
197
|
+
<p>Par exemple, chaque instance d'un sous-flux qui se connecte à un courtier MQTT et effectue un post-traitement
|
|
198
|
+
des messages reçus peut être pointée vers un autre courtier.</p>
|
|
199
|
+
`
|
|
60
200
|
}
|
|
61
201
|
},
|
|
62
202
|
{
|
|
@@ -74,6 +214,21 @@ export default {
|
|
|
74
214
|
<li>Customisable headers on the WebSocket node</li>
|
|
75
215
|
<li>Split node now can operate on any message property</li>
|
|
76
216
|
<li>and lots more...</li>
|
|
217
|
+
</ul>`,
|
|
218
|
+
"ja": `<p>コアノードには沢山の軽微な修正、ドキュメント更新、小さな機能拡張が入っています。全リストはヘルプサイドバーにある変更履歴を参照してください。</p>
|
|
219
|
+
<ul>
|
|
220
|
+
<li>RFC4180に完全に準拠したCSVモード</li>
|
|
221
|
+
<li>WebSocketノードのカスタマイズ可能なヘッダ</li>
|
|
222
|
+
<li>Splitノードは、メッセージプロパティで操作できるようになりました</li>
|
|
223
|
+
<li>他にも沢山あります...</li>
|
|
224
|
+
</ul>`,
|
|
225
|
+
"fr": `<p>Les noeuds principaux ont reçu de nombreux correctifs mineurs ainsi que des améliorations. La documentation a été mise à jour.
|
|
226
|
+
Consultez le journal des modifications dans la barre latérale d'aide pour une liste complète. Ci-dessous, les changements les plus importants :</p>
|
|
227
|
+
<ul>
|
|
228
|
+
<li>Un mode CSV entièrement conforme à la norme RFC4180</li>
|
|
229
|
+
<li>En-têtes personnalisables pour le noeud WebSocket</li>
|
|
230
|
+
<li>Le noeud Split peut désormais fonctionner sur n'importe quelle propriété de message</li>
|
|
231
|
+
<li>Et bien plus encore...</li>
|
|
77
232
|
</ul>`
|
|
78
233
|
}
|
|
79
234
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/
|
|
2
|
+
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/node-red/nr-monaco-build */
|
|
3
3
|
|
|
4
4
|
declare module 'assert/strict' {
|
|
5
5
|
import { strict } from 'node:assert';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/
|
|
2
|
+
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/node-red/nr-monaco-build */
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The `assert` module provides a set of assertion functions for verifying
|
|
6
6
|
* invariants.
|
|
7
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
7
|
+
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/assert.js)
|
|
8
8
|
*/
|
|
9
9
|
declare module 'assert' {
|
|
10
10
|
/**
|
|
@@ -290,8 +290,8 @@ declare module 'assert' {
|
|
|
290
290
|
* > Stability: 3 - Legacy: Use {@link strictEqual} instead.
|
|
291
291
|
*
|
|
292
292
|
* Tests shallow, coercive equality between the `actual` and `expected` parameters
|
|
293
|
-
* using the [
|
|
294
|
-
* and treated as being identical
|
|
293
|
+
* using the [`==` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality). `NaN` is specially handled
|
|
294
|
+
* and treated as being identical if both sides are `NaN`.
|
|
295
295
|
*
|
|
296
296
|
* ```js
|
|
297
297
|
* import assert from 'assert';
|
|
@@ -323,9 +323,8 @@ declare module 'assert' {
|
|
|
323
323
|
*
|
|
324
324
|
* > Stability: 3 - Legacy: Use {@link notStrictEqual} instead.
|
|
325
325
|
*
|
|
326
|
-
* Tests shallow, coercive inequality with the [
|
|
327
|
-
* being identical
|
|
328
|
-
* sides are `NaN`.
|
|
326
|
+
* Tests shallow, coercive inequality with the [`!=` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Inequality). `NaN` is
|
|
327
|
+
* specially handled and treated as being identical if both sides are `NaN`.
|
|
329
328
|
*
|
|
330
329
|
* ```js
|
|
331
330
|
* import assert from 'assert';
|
|
@@ -415,7 +414,7 @@ declare module 'assert' {
|
|
|
415
414
|
function notDeepEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
416
415
|
/**
|
|
417
416
|
* Tests strict equality between the `actual` and `expected` parameters as
|
|
418
|
-
* determined by
|
|
417
|
+
* determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).
|
|
419
418
|
*
|
|
420
419
|
* ```js
|
|
421
420
|
* import assert from 'assert/strict';
|
|
@@ -453,7 +452,7 @@ declare module 'assert' {
|
|
|
453
452
|
function strictEqual<T>(actual: unknown, expected: T, message?: string | Error): asserts actual is T;
|
|
454
453
|
/**
|
|
455
454
|
* Tests strict inequality between the `actual` and `expected` parameters as
|
|
456
|
-
* determined by
|
|
455
|
+
* determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).
|
|
457
456
|
*
|
|
458
457
|
* ```js
|
|
459
458
|
* import assert from 'assert/strict';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/
|
|
2
|
+
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/node-red/nr-monaco-build */
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The `async_hooks` module provides an API to track asynchronous resources. It
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* import async_hooks from 'async_hooks';
|
|
10
10
|
* ```
|
|
11
11
|
* @experimental
|
|
12
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
12
|
+
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/async_hooks.js)
|
|
13
13
|
*/
|
|
14
14
|
declare module 'async_hooks' {
|
|
15
15
|
/**
|
|
@@ -367,7 +367,7 @@ declare module 'async_hooks' {
|
|
|
367
367
|
*
|
|
368
368
|
* Each instance of `AsyncLocalStorage` maintains an independent storage context.
|
|
369
369
|
* Multiple instances can safely exist simultaneously without risk of interfering
|
|
370
|
-
* with each other data.
|
|
370
|
+
* with each other's data.
|
|
371
371
|
* @since v13.10.0, v12.17.0
|
|
372
372
|
*/
|
|
373
373
|
class AsyncLocalStorage<T> {
|
|
@@ -398,8 +398,9 @@ declare module 'async_hooks' {
|
|
|
398
398
|
getStore(): T | undefined;
|
|
399
399
|
/**
|
|
400
400
|
* Runs a function synchronously within a context and returns its
|
|
401
|
-
* return value. The store is not accessible outside of the callback function
|
|
402
|
-
*
|
|
401
|
+
* return value. The store is not accessible outside of the callback function.
|
|
402
|
+
* The store is accessible to any asynchronous operations created within the
|
|
403
|
+
* callback.
|
|
403
404
|
*
|
|
404
405
|
* The optional `args` are passed to the callback function.
|
|
405
406
|
*
|
|
@@ -413,6 +414,9 @@ declare module 'async_hooks' {
|
|
|
413
414
|
* try {
|
|
414
415
|
* asyncLocalStorage.run(store, () => {
|
|
415
416
|
* asyncLocalStorage.getStore(); // Returns the store object
|
|
417
|
+
* setTimeout(() => {
|
|
418
|
+
* asyncLocalStorage.getStore(); // Returns the store object
|
|
419
|
+
* }, 200);
|
|
416
420
|
* throw new Error();
|
|
417
421
|
* });
|
|
418
422
|
* } catch (e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/
|
|
2
|
+
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/node-red/nr-monaco-build */
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* `Buffer` objects are used to represent a fixed-length sequence of bytes. Many
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
* // Creates a Buffer containing the Latin-1 bytes [0x74, 0xe9, 0x73, 0x74].
|
|
45
45
|
* const buf7 = Buffer.from('tést', 'latin1');
|
|
46
46
|
* ```
|
|
47
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
47
|
+
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/buffer.js)
|
|
48
48
|
*/
|
|
49
49
|
declare module 'buffer' {
|
|
50
50
|
import { BinaryLike } from 'node:crypto';
|
|
@@ -117,18 +117,17 @@ declare module 'buffer' {
|
|
|
117
117
|
/**
|
|
118
118
|
* A [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob) encapsulates immutable, raw data that can be safely shared across
|
|
119
119
|
* multiple worker threads.
|
|
120
|
-
* @since v15.7.0
|
|
121
|
-
* @experimental
|
|
120
|
+
* @since v15.7.0, v14.18.0
|
|
122
121
|
*/
|
|
123
122
|
export class Blob {
|
|
124
123
|
/**
|
|
125
124
|
* The total size of the `Blob` in bytes.
|
|
126
|
-
* @since v15.7.0
|
|
125
|
+
* @since v15.7.0, v14.18.0
|
|
127
126
|
*/
|
|
128
127
|
readonly size: number;
|
|
129
128
|
/**
|
|
130
129
|
* The content-type of the `Blob`.
|
|
131
|
-
* @since v15.7.0
|
|
130
|
+
* @since v15.7.0, v14.18.0
|
|
132
131
|
*/
|
|
133
132
|
readonly type: string;
|
|
134
133
|
/**
|
|
@@ -143,13 +142,13 @@ declare module 'buffer' {
|
|
|
143
142
|
/**
|
|
144
143
|
* Returns a promise that fulfills with an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) containing a copy of
|
|
145
144
|
* the `Blob` data.
|
|
146
|
-
* @since v15.7.0
|
|
145
|
+
* @since v15.7.0, v14.18.0
|
|
147
146
|
*/
|
|
148
147
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
149
148
|
/**
|
|
150
149
|
* Creates and returns a new `Blob` containing a subset of this `Blob` objects
|
|
151
150
|
* data. The original `Blob` is not altered.
|
|
152
|
-
* @since v15.7.0
|
|
151
|
+
* @since v15.7.0, v14.18.0
|
|
153
152
|
* @param start The starting index.
|
|
154
153
|
* @param end The ending index.
|
|
155
154
|
* @param type The content-type for the new `Blob`
|
|
@@ -158,7 +157,7 @@ declare module 'buffer' {
|
|
|
158
157
|
/**
|
|
159
158
|
* Returns a promise that fulfills with the contents of the `Blob` decoded as a
|
|
160
159
|
* UTF-8 string.
|
|
161
|
-
* @since v15.7.0
|
|
160
|
+
* @since v15.7.0, v14.18.0
|
|
162
161
|
*/
|
|
163
162
|
text(): Promise<string>;
|
|
164
163
|
/**
|
|
@@ -169,6 +168,12 @@ declare module 'buffer' {
|
|
|
169
168
|
}
|
|
170
169
|
export import atob = globalThis.atob;
|
|
171
170
|
export import btoa = globalThis.btoa;
|
|
171
|
+
|
|
172
|
+
import { Blob as NodeBlob } from 'buffer';
|
|
173
|
+
// This conditional type will be the existing global Blob in a browser, or
|
|
174
|
+
// the copy below in a Node environment.
|
|
175
|
+
type __Blob = typeof globalThis extends { onmessage: any, Blob: infer T }
|
|
176
|
+
? T : NodeBlob;
|
|
172
177
|
global {
|
|
173
178
|
// Buffer class
|
|
174
179
|
type BufferEncoding = 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex';
|
|
@@ -394,7 +399,7 @@ declare module 'buffer' {
|
|
|
394
399
|
* @since v0.11.13
|
|
395
400
|
* @return Either `-1`, `0`, or `1`, depending on the result of the comparison. See `compare` for details.
|
|
396
401
|
*/
|
|
397
|
-
compare(buf1: Uint8Array, buf2: Uint8Array):
|
|
402
|
+
compare(buf1: Uint8Array, buf2: Uint8Array): -1 | 0 | 1;
|
|
398
403
|
/**
|
|
399
404
|
* Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the`Buffer` will be zero-filled.
|
|
400
405
|
*
|
|
@@ -447,7 +452,7 @@ declare module 'buffer' {
|
|
|
447
452
|
* Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_INVALID_ARG_VALUE` is thrown.
|
|
448
453
|
*
|
|
449
454
|
* The underlying memory for `Buffer` instances created in this way is _not_
|
|
450
|
-
* _initialized_. The contents of the newly created `Buffer` are unknown
|
|
455
|
+
* _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `Buffer.alloc()` instead to initialize`Buffer` instances with zeroes.
|
|
451
456
|
*
|
|
452
457
|
* ```js
|
|
453
458
|
* import { Buffer } from 'buffer';
|
|
@@ -485,7 +490,7 @@ declare module 'buffer' {
|
|
|
485
490
|
* if `size` is 0.
|
|
486
491
|
*
|
|
487
492
|
* The underlying memory for `Buffer` instances created in this way is _not_
|
|
488
|
-
* _initialized_. The contents of the newly created `Buffer` are unknown
|
|
493
|
+
* _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `buf.fill(0)` to initialize
|
|
489
494
|
* such `Buffer` instances with zeroes.
|
|
490
495
|
*
|
|
491
496
|
* When using `Buffer.allocUnsafe()` to allocate new `Buffer` instances,
|
|
@@ -708,7 +713,7 @@ declare module 'buffer' {
|
|
|
708
713
|
* @param [sourceStart=0] The offset within `buf` at which to begin comparison.
|
|
709
714
|
* @param [sourceEnd=buf.length] The offset within `buf` at which to end comparison (not inclusive).
|
|
710
715
|
*/
|
|
711
|
-
compare(target: Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number):
|
|
716
|
+
compare(target: Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): -1 | 0 | 1;
|
|
712
717
|
/**
|
|
713
718
|
* Copies data from a region of `buf` to a region in `target`, even if the `target`memory region overlaps with `buf`.
|
|
714
719
|
*
|
|
@@ -767,8 +772,6 @@ declare module 'buffer' {
|
|
|
767
772
|
* Returns a new `Buffer` that references the same memory as the original, but
|
|
768
773
|
* offset and cropped by the `start` and `end` indices.
|
|
769
774
|
*
|
|
770
|
-
* This is the same behavior as `buf.subarray()`.
|
|
771
|
-
*
|
|
772
775
|
* This method is not compatible with the `Uint8Array.prototype.slice()`,
|
|
773
776
|
* which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`.
|
|
774
777
|
*
|
|
@@ -784,8 +787,17 @@ declare module 'buffer' {
|
|
|
784
787
|
*
|
|
785
788
|
* console.log(buf.toString());
|
|
786
789
|
* // Prints: buffer
|
|
790
|
+
*
|
|
791
|
+
* // With buf.slice(), the original buffer is modified.
|
|
792
|
+
* const notReallyCopiedBuf = buf.slice();
|
|
793
|
+
* notReallyCopiedBuf[0]++;
|
|
794
|
+
* console.log(notReallyCopiedBuf.toString());
|
|
795
|
+
* // Prints: cuffer
|
|
796
|
+
* console.log(buf.toString());
|
|
797
|
+
* // Also prints: cuffer (!)
|
|
787
798
|
* ```
|
|
788
799
|
* @since v0.3.0
|
|
800
|
+
* @deprecated Use `subarray` instead.
|
|
789
801
|
* @param [start=0] Where the new `Buffer` will start.
|
|
790
802
|
* @param [end=buf.length] Where the new `Buffer` will end (not inclusive).
|
|
791
803
|
*/
|
|
@@ -1952,7 +1964,7 @@ declare module 'buffer' {
|
|
|
1952
1964
|
*
|
|
1953
1965
|
* * a string, `value` is interpreted according to the character encoding in`encoding`.
|
|
1954
1966
|
* * a `Buffer` or [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array), `value` will be used in its entirety.
|
|
1955
|
-
* To compare a partial `Buffer`, use `buf.
|
|
1967
|
+
* To compare a partial `Buffer`, use `buf.subarray`.
|
|
1956
1968
|
* * a number, `value` will be interpreted as an unsigned 8-bit integer
|
|
1957
1969
|
* value between `0` and `255`.
|
|
1958
1970
|
*
|
|
@@ -2208,7 +2220,7 @@ declare module 'buffer' {
|
|
|
2208
2220
|
* **binary data and predate the introduction of typed arrays in JavaScript.**
|
|
2209
2221
|
* **For code running using Node.js APIs, converting between base64-encoded strings**
|
|
2210
2222
|
* **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.**
|
|
2211
|
-
* @since v15.13.0
|
|
2223
|
+
* @since v15.13.0, v14.17.0
|
|
2212
2224
|
* @deprecated Use `Buffer.from(data, 'base64')` instead.
|
|
2213
2225
|
* @param data The Base64-encoded input string.
|
|
2214
2226
|
*/
|
|
@@ -2224,11 +2236,24 @@ declare module 'buffer' {
|
|
|
2224
2236
|
* **binary data and predate the introduction of typed arrays in JavaScript.**
|
|
2225
2237
|
* **For code running using Node.js APIs, converting between base64-encoded strings**
|
|
2226
2238
|
* **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.**
|
|
2227
|
-
* @since v15.13.0
|
|
2239
|
+
* @since v15.13.0, v14.17.0
|
|
2228
2240
|
* @deprecated Use `buf.toString('base64')` instead.
|
|
2229
2241
|
* @param data An ASCII (Latin1) string.
|
|
2230
2242
|
*/
|
|
2231
2243
|
function btoa(data: string): string;
|
|
2244
|
+
|
|
2245
|
+
interface Blob extends __Blob {}
|
|
2246
|
+
/**
|
|
2247
|
+
* `Blob` class is a global reference for `require('node:buffer').Blob`
|
|
2248
|
+
* https://nodejs.org/api/buffer.html#class-blob
|
|
2249
|
+
* @since v18.0.0
|
|
2250
|
+
*/
|
|
2251
|
+
var Blob: typeof globalThis extends {
|
|
2252
|
+
onmessage: any;
|
|
2253
|
+
Blob: infer T;
|
|
2254
|
+
}
|
|
2255
|
+
? T
|
|
2256
|
+
: typeof NodeBlob;
|
|
2232
2257
|
}
|
|
2233
2258
|
}
|
|
2234
2259
|
declare module 'node:buffer' {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/
|
|
2
|
+
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/node-red/nr-monaco-build */
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The `child_process` module provides the ability to spawn subprocesses in
|
|
@@ -31,8 +31,11 @@
|
|
|
31
31
|
* identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }`option if the output will not be consumed.
|
|
32
32
|
*
|
|
33
33
|
* The command lookup is performed using the `options.env.PATH` environment
|
|
34
|
-
* variable if
|
|
35
|
-
* used.
|
|
34
|
+
* variable if `env` is in the `options` object. Otherwise, `process.env.PATH` is
|
|
35
|
+
* used. If `options.env` is set without `PATH`, lookup on Unix is performed
|
|
36
|
+
* on a default search path search of `/usr/bin:/bin` (see your operating system's
|
|
37
|
+
* manual for execvpe/execvp), on Windows the current processes environment
|
|
38
|
+
* variable `PATH` is used.
|
|
36
39
|
*
|
|
37
40
|
* On Windows, environment variables are case-insensitive. Node.js
|
|
38
41
|
* lexicographically sorts the `env` keys and uses the first one that
|
|
@@ -63,7 +66,7 @@
|
|
|
63
66
|
* For certain use cases, such as automating shell scripts, the `synchronous counterparts` may be more convenient. In many cases, however,
|
|
64
67
|
* the synchronous methods can have significant impact on performance due to
|
|
65
68
|
* stalling the event loop while spawned processes complete.
|
|
66
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
69
|
+
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/child_process.js)
|
|
67
70
|
*/
|
|
68
71
|
declare module 'child_process' {
|
|
69
72
|
import { ObjectEncodingOptions } from 'node:fs';
|
|
@@ -624,7 +627,7 @@ declare module 'child_process' {
|
|
|
624
627
|
}
|
|
625
628
|
interface CommonOptions extends ProcessEnvOptions {
|
|
626
629
|
/**
|
|
627
|
-
* @default
|
|
630
|
+
* @default true
|
|
628
631
|
*/
|
|
629
632
|
windowsHide?: boolean | undefined;
|
|
630
633
|
/**
|