@node-red/editor-client 4.0.0-beta.1 → 4.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.
Files changed (139) hide show
  1. package/locales/de/editor.json +2 -0
  2. package/locales/en-US/editor.json +2 -0
  3. package/locales/fr/editor.json +8 -1
  4. package/locales/ja/editor.json +10 -3
  5. package/package.json +1 -1
  6. package/public/red/about +30 -0
  7. package/public/red/red.js +815 -162
  8. package/public/red/red.min.js +3 -3
  9. package/public/red/style.min.css +1 -1
  10. package/public/red/tours/3.1/welcome.js +8 -8
  11. package/public/red/tours/images/nr4-config-select.png +0 -0
  12. package/public/red/tours/images/nr4-multiplayer.png +0 -0
  13. package/public/red/tours/images/nr4-plugins.png +0 -0
  14. package/public/red/tours/welcome.js +105 -11
  15. package/public/types/node/assert/strict.d.ts +1 -1
  16. package/public/types/node/assert.d.ts +8 -9
  17. package/public/types/node/async_hooks.d.ts +9 -5
  18. package/public/types/node/buffer.d.ts +43 -18
  19. package/public/types/node/child_process.d.ts +8 -5
  20. package/public/types/node/cluster.d.ts +15 -19
  21. package/public/types/node/console.d.ts +2 -2
  22. package/public/types/node/crypto.d.ts +165 -70
  23. package/public/types/node/dgram.d.ts +4 -4
  24. package/public/types/node/diagnostics_channel.d.ts +8 -7
  25. package/public/types/node/dns/promises.d.ts +11 -9
  26. package/public/types/node/dns.d.ts +18 -13
  27. package/public/types/node/dom-events.d.ts +129 -0
  28. package/public/types/node/domain.d.ts +2 -2
  29. package/public/types/node/events.d.ts +49 -12
  30. package/public/types/node/fs/promises.d.ts +68 -24
  31. package/public/types/node/fs.d.ts +132 -59
  32. package/public/types/node/globals.d.ts +31 -17
  33. package/public/types/node/http.d.ts +138 -27
  34. package/public/types/node/http2.d.ts +38 -5
  35. package/public/types/node/https.d.ts +12 -3
  36. package/public/types/node/module.d.ts +1 -2
  37. package/public/types/node/net.d.ts +69 -28
  38. package/public/types/node/os.d.ts +16 -5
  39. package/public/types/node/path.d.ts +5 -5
  40. package/public/types/node/perf_hooks.d.ts +48 -9
  41. package/public/types/node/process.d.ts +18 -17
  42. package/public/types/node/querystring.d.ts +2 -2
  43. package/public/types/node/readline/promises.d.ts +146 -0
  44. package/public/types/node/readline.d.ts +141 -31
  45. package/public/types/node/stream/consumers.d.ts +2 -2
  46. package/public/types/node/stream/promises.d.ts +1 -1
  47. package/public/types/node/stream/web.d.ts +4 -66
  48. package/public/types/node/stream.d.ts +96 -118
  49. package/public/types/node/string_decoder.d.ts +2 -2
  50. package/public/types/node/test.d.ts +200 -16
  51. package/public/types/node/timers/promises.d.ts +1 -26
  52. package/public/types/node/timers.d.ts +2 -2
  53. package/public/types/node/tls.d.ts +21 -12
  54. package/public/types/node/trace_events.d.ts +12 -2
  55. package/public/types/node/ts4.8/assert/strict.d.ts +11 -0
  56. package/public/types/node/ts4.8/assert.d.ts +964 -0
  57. package/public/types/node/ts4.8/async_hooks.d.ts +504 -0
  58. package/public/types/node/ts4.8/buffer.d.ts +2262 -0
  59. package/public/types/node/ts4.8/child_process.d.ts +1372 -0
  60. package/public/types/node/ts4.8/cluster.d.ts +413 -0
  61. package/public/types/node/ts4.8/console.d.ts +415 -0
  62. package/public/types/node/ts4.8/crypto.d.ts +3967 -0
  63. package/public/types/node/ts4.8/dgram.d.ts +548 -0
  64. package/public/types/node/ts4.8/diagnostics_channel.d.ts +156 -0
  65. package/public/types/node/ts4.8/dns/promises.d.ts +373 -0
  66. package/public/types/node/ts4.8/dns.d.ts +662 -0
  67. package/public/types/node/ts4.8/dom-events.d.ts +129 -0
  68. package/public/types/node/ts4.8/domain.d.ts +173 -0
  69. package/public/types/node/ts4.8/events.d.ts +681 -0
  70. package/public/types/node/ts4.8/fs/promises.d.ts +1141 -0
  71. package/public/types/node/ts4.8/fs.d.ts +3875 -0
  72. package/public/types/node/ts4.8/globals.d.ts +297 -0
  73. package/public/types/node/ts4.8/http.d.ts +1617 -0
  74. package/public/types/node/ts4.8/http2.d.ts +2137 -0
  75. package/public/types/node/ts4.8/https.d.ts +544 -0
  76. package/public/types/node/ts4.8/module.d.ts +117 -0
  77. package/public/types/node/ts4.8/net.d.ts +872 -0
  78. package/public/types/node/ts4.8/os.d.ts +469 -0
  79. package/public/types/node/ts4.8/path.d.ts +194 -0
  80. package/public/types/node/ts4.8/perf_hooks.d.ts +628 -0
  81. package/public/types/node/ts4.8/process.d.ts +1485 -0
  82. package/public/types/node/ts4.8/querystring.d.ts +134 -0
  83. package/public/types/node/ts4.8/readline/promises.d.ts +146 -0
  84. package/public/types/node/ts4.8/readline.d.ts +656 -0
  85. package/public/types/node/ts4.8/stream/consumers.d.ts +15 -0
  86. package/public/types/node/ts4.8/stream/promises.d.ts +45 -0
  87. package/public/types/node/ts4.8/stream/web.d.ts +333 -0
  88. package/public/types/node/ts4.8/stream.d.ts +1343 -0
  89. package/public/types/node/ts4.8/string_decoder.d.ts +70 -0
  90. package/public/types/node/ts4.8/test.d.ts +377 -0
  91. package/public/types/node/ts4.8/timers/promises.d.ts +71 -0
  92. package/public/types/node/ts4.8/timers.d.ts +97 -0
  93. package/public/types/node/ts4.8/tls.d.ts +1031 -0
  94. package/public/types/node/ts4.8/trace_events.d.ts +174 -0
  95. package/public/types/node/ts4.8/tty.d.ts +209 -0
  96. package/public/types/node/ts4.8/url.d.ts +900 -0
  97. package/public/types/node/ts4.8/util.d.ts +1853 -0
  98. package/public/types/node/ts4.8/v8.d.ts +399 -0
  99. package/public/types/node/ts4.8/vm.d.ts +512 -0
  100. package/public/types/node/ts4.8/wasi.d.ts +161 -0
  101. package/public/types/node/ts4.8/worker_threads.d.ts +692 -0
  102. package/public/types/node/ts4.8/zlib.d.ts +520 -0
  103. package/public/types/node/tty.d.ts +5 -3
  104. package/public/types/node/url.d.ts +81 -39
  105. package/public/types/node/util.d.ts +269 -13
  106. package/public/types/node/v8.d.ts +22 -4
  107. package/public/types/node/vm.d.ts +7 -5
  108. package/public/types/node/wasi.d.ts +2 -2
  109. package/public/types/node/worker_threads.d.ts +51 -11
  110. package/public/types/node/zlib.d.ts +2 -2
  111. package/public/types/node-red/func.d.ts +26 -17
  112. package/public/vendor/ace/worker-jsonata.js +1 -1
  113. package/public/vendor/monaco/dist/{fa2cc0ab9f0bec2b3365.ttf → 0c718f5b7d2bce997c5f.ttf} +0 -0
  114. package/public/vendor/monaco/dist/css.worker.js +1 -1
  115. package/public/vendor/monaco/dist/css.worker.js.LICENSE.txt +1 -1
  116. package/public/vendor/monaco/dist/editor.js +1 -29
  117. package/public/vendor/monaco/dist/editor.js.LICENSE.txt +2 -2
  118. package/public/vendor/monaco/dist/editor.worker.js +1 -1
  119. package/public/vendor/monaco/dist/html.worker.js +1 -1
  120. package/public/vendor/monaco/dist/html.worker.js.LICENSE.txt +1 -1
  121. package/public/vendor/monaco/dist/json.worker.js +1 -1
  122. package/public/vendor/monaco/dist/json.worker.js.LICENSE.txt +1 -1
  123. package/public/vendor/monaco/dist/locale/cs.js +324 -106
  124. package/public/vendor/monaco/dist/locale/de.js +336 -118
  125. package/public/vendor/monaco/dist/locale/es.js +329 -111
  126. package/public/vendor/monaco/dist/locale/fr.js +334 -116
  127. package/public/vendor/monaco/dist/locale/it.js +327 -109
  128. package/public/vendor/monaco/dist/locale/ja.js +329 -111
  129. package/public/vendor/monaco/dist/locale/ko.js +330 -112
  130. package/public/vendor/monaco/dist/locale/pl.js +329 -111
  131. package/public/vendor/monaco/dist/locale/pt-br.js +329 -111
  132. package/public/vendor/monaco/dist/locale/qps-ploc.js +330 -112
  133. package/public/vendor/monaco/dist/locale/ru.js +331 -113
  134. package/public/vendor/monaco/dist/locale/tr.js +329 -111
  135. package/public/vendor/monaco/dist/locale/zh-hans.js +331 -113
  136. package/public/vendor/monaco/dist/locale/zh-hant.js +331 -113
  137. package/public/vendor/monaco/dist/ts.worker.js +2 -2
  138. package/public/vendor/vendor.js +1 -1
  139. 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>ユーザ設定に新しく追加された「大域環境変数」のセクションで、全てのノードとフローに適用される環境変数を登録できます。</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
  },
@@ -1,12 +1,12 @@
1
1
  export default {
2
- version: "4.0.0-beta.1",
2
+ version: "4.0.0-beta.2",
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 1!",
8
- "ja": "Node-RED 4.0 Beta 0へようこそ!",
9
- "fr": "Bienvenue dans Node-RED 4.0 Beta 1!"
7
+ "en-US": "Welcome to Node-RED 4.0 Beta 2!",
8
+ "ja": "Node-RED 4.0 Beta 2へようこそ!",
9
+ "fr": "Bienvenue dans Node-RED 4.0 Beta 2!"
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,63 @@ 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
+ },
21
+ image: 'images/nr4-multiplayer.png',
22
+ description: {
23
+ "en-US": `<p>This release includes the first small steps towards making Node-RED easier
24
+ to work with when you have multiple people editing flows at the same time.</p>
25
+ <p>When this feature is enabled, you will now see who else has the editor open and some
26
+ basic information on where they are in the editor.</p>
27
+ <p>Check the release post for details on how to enable this feature in your settings file.</p>`
28
+ }
29
+ },
30
+ {
31
+ title: {
32
+ "en-US": "Better Configuration Node UX"
33
+ },
34
+ image: 'images/nr4-config-select.png',
35
+ description: {
36
+ "en-US": `<p>The Configuration node selection UI has had a small update to have a dedicated 'add' button
37
+ next to the select box.</p>
38
+ <p>It's a small change, but should make it easier to work with your config nodes.</p>`
39
+ }
40
+ },
41
+ {
42
+ title: {
43
+ "en-US": "Remembering palette state"
44
+ },
45
+ description: {
46
+ "en-US": `<p>The palette now remembers what categories you have hidden between reloads - as well as any
47
+ filter you have applied.</p>`
48
+ }
49
+ },
50
+ {
51
+ title: {
52
+ "en-US": "Plugins shown in the Palette Manager"
53
+ },
54
+ image: 'images/nr4-plugins.png',
55
+ description: {
56
+ "en-US": `<p>The palette manager now shows any plugin modules you have installed, such as
57
+ <code>node-red-debugger</code>. Previously they would only be shown if they plugin include
58
+ nodes for the palette.</p>`
59
+ }
60
+ },
61
+ {
62
+ title: {
63
+ "en-US": "That's if for Beta 2!"
64
+ },
65
+ description: {
66
+ "en-US": `<p>Keep clicking through to see what was added in Beta 1</p>`
67
+ }
68
+ },
17
69
  {
18
70
  title: {
19
71
  "en-US": "Timestamp formatting options",
20
- // "ja": ""
72
+ "ja": "タイムスタンプの形式の項目",
73
+ "fr": "Options de formatage de l'horodatage"
21
74
  },
22
75
  image: 'images/nr4-timestamp-formatting.png',
23
76
  description: {
@@ -26,28 +79,47 @@ export default {
26
79
  <ul>
27
80
  <li>Milliseconds since epoch - this is existing behaviour of the timestamp option</li>
28
81
  <li>ISO 8601 - a common format used by many systems</li>
29
- <li>JavaScript Data Object</li>
82
+ <li>JavaScript Date Object</li>
83
+ </ul>`,
84
+ "ja": `<p>タイムスタンプを設定するノードに、タイムスタンプの形式を指定できる項目が追加されました。</p>
85
+ <p>次の3つの項目を追加したことで、簡単に選択できるようになりました:<p>
86
+ <ul>
87
+ <li>エポックからのミリ秒 - 従来動作と同じになるタイムスタンプの項目</li>
88
+ <li>ISO 8601 - 多くのシステムで使用されている共通の形式</li>
89
+ <li>JavaScript日付オブジェクト</li>
30
90
  </ul>`,
31
- // "ja": ``
91
+ "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>
92
+ <p>Nous gardons les choses simples en proposant trois options :<p>
93
+ <ul>
94
+ <li>Millisecondes depuis l'époque : il s'agit du comportement existant de l'option d'horodatage</li>
95
+ <li>ISO 8601 : un format commun utilisé par de nombreux systèmes</li>
96
+ <li>Objet Date JavaScript</li>
97
+ </ul>`
32
98
  }
33
99
  },
34
100
  {
35
101
  title: {
36
102
  "en-US": "Auto-complete of flow/global and env types",
37
- // "ja": ""
103
+ "ja": "フロー/グローバル、環境変数の型の自動補完",
104
+ "fr": "Saisie automatique des types de flux/global et env"
38
105
  },
39
106
  image: 'images/nr4-auto-complete.png',
40
107
  description: {
41
108
  "en-US": `<p>The <code>flow</code>/<code>global</code> context inputs and the <code>env</code> input
42
109
  now all include auto-complete suggestions based on the live state of your flows.</p>
43
110
  `,
44
- // "ja": ``
111
+ "ja": `<p><code>flow</code>/<code>global</code>コンテキストや<code>env</code>の入力を、現在のフローの状態をもとに自動補完で提案するようになりました。</p>
112
+ `,
113
+ "fr": `<p>Les entrées contextuelles <code>flow</code>/<code>global</code> et l'entrée <code>env</code>
114
+ incluent désormais des suggestions de saisie semi-automatique basées sur l'état actuel de vos flux.</p>
115
+ `,
45
116
  }
46
117
  },
47
118
  {
48
119
  title: {
49
120
  "en-US": "Config node customisation in Subflows",
50
- // "ja": ""
121
+ "ja": "サブフローでの設定ノードのカスタマイズ",
122
+ "fr": "Personnalisation du noeud de configuration dans les sous-flux"
51
123
  },
52
124
  image: 'images/nr4-sf-config.png',
53
125
  description: {
@@ -56,7 +128,14 @@ export default {
56
128
  <p>For example, each instance of a subflow that connects to an MQTT Broker and does some post-processing
57
129
  of the messages received can be pointed at a different broker.</p>
58
130
  `,
59
- // "ja": ``
131
+ "ja": `<p>サブフローをカスタマイズして、選択した型の異なる設定ノードを各インスタンスが使用できるようになりました。</p>
132
+ <p>例えば、MQTTブローカへ接続し、メッセージ受信と後処理を行うサブフローの各インスタンスに異なるブローカを指定することも可能です。</p>
133
+ `,
134
+ "fr": `<p>Les sous-flux peuvent désormais être personnalisés pour permettre à chaque instance d'utiliser un
135
+ noeud de configuration d'un type sélectionné.</p>
136
+ <p>Par exemple, chaque instance d'un sous-flux qui se connecte à un courtier MQTT et effectue un post-traitement
137
+ des messages reçus peut être pointée vers un autre courtier.</p>
138
+ `
60
139
  }
61
140
  },
62
141
  {
@@ -74,6 +153,21 @@ export default {
74
153
  <li>Customisable headers on the WebSocket node</li>
75
154
  <li>Split node now can operate on any message property</li>
76
155
  <li>and lots more...</li>
156
+ </ul>`,
157
+ "ja": `<p>コアノードには沢山の軽微な修正、ドキュメント更新、小さな機能拡張が入っています。全リストはヘルプサイドバーにある変更履歴を参照してください。</p>
158
+ <ul>
159
+ <li>RFC4180に完全に準拠したCSVモード</li>
160
+ <li>WebSocketノードのカスタマイズ可能なヘッダ</li>
161
+ <li>Splitノードは、メッセージプロパティで操作できるようになりました</li>
162
+ <li>他にも沢山あります...</li>
163
+ </ul>`,
164
+ "fr": `<p>Les noeuds principaux ont reçu de nombreux correctifs mineurs ainsi que des améliorations. La documentation a été mise à jour.
165
+ 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>
166
+ <ul>
167
+ <li>Un mode CSV entièrement conforme à la norme RFC4180</li>
168
+ <li>En-têtes personnalisables pour le noeud WebSocket</li>
169
+ <li>Le noeud Split peut désormais fonctionner sur n'importe quelle propriété de message</li>
170
+ <li>Et bien plus encore...</li>
77
171
  </ul>`
78
172
  }
79
173
  }
@@ -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/Steve-Mcl/monaco-editor-esm-i18n */
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/Steve-Mcl/monaco-editor-esm-i18n */
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/v16.9.0/lib/assert.js)
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 [Abstract Equality Comparison](https://tc39.github.io/ecma262/#sec-abstract-equality-comparison) ( `==` ). `NaN` is special handled
294
- * and treated as being identical in case both sides are `NaN`.
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 [Abstract Equality Comparison](https://tc39.github.io/ecma262/#sec-abstract-equality-comparison)(`!=` ). `NaN` is special handled and treated as
327
- * being identical in case both
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 the [SameValue Comparison](https://tc39.github.io/ecma262/#sec-samevalue).
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 the [SameValue Comparison](https://tc39.github.io/ecma262/#sec-samevalue).
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/Steve-Mcl/monaco-editor-esm-i18n */
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/v16.9.0/lib/async_hooks.js)
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 or
402
- * the asynchronous operations created within the callback.
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/Steve-Mcl/monaco-editor-esm-i18n */
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/v16.9.0/lib/buffer.js)
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): number;
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 and_may contain sensitive data_. Use `Buffer.alloc()` instead to initialize`Buffer` instances with zeroes.
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 and_may contain sensitive data_. Use `buf.fill(0)` to initialize
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): 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.slice()`.
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/Steve-Mcl/monaco-editor-esm-i18n */
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 it is in the `options` object. Otherwise, `process.env.PATH` is
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/v16.9.0/lib/child_process.js)
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 false
630
+ * @default true
628
631
  */
629
632
  windowsHide?: boolean | undefined;
630
633
  /**
@@ -1,10 +1,11 @@
1
1
 
2
- /* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
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
- * A single instance of Node.js runs in a single thread. To take advantage of
6
- * multi-core systems, the user will sometimes want to launch a cluster of Node.js
7
- * processes to handle the load.
5
+ * Clusters of Node.js processes can be used to run multiple instances of Node.js
6
+ * that can distribute workloads among their application threads. When process
7
+ * isolation is not needed, use the `worker_threads` module instead, which
8
+ * allows running multiple application threads within a single Node.js instance.
8
9
  *
9
10
  * The cluster module allows easy creation of child processes that all share
10
11
  * server ports.
@@ -52,7 +53,7 @@
52
53
  * ```
53
54
  *
54
55
  * On Windows, it is not yet possible to set up a named pipe server in a worker.
55
- * @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/cluster.js)
56
+ * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/cluster.js)
56
57
  */
57
58
  declare module 'cluster' {
58
59
  import * as child from 'node:child_process';
@@ -102,9 +103,9 @@ declare module 'cluster' {
102
103
  /**
103
104
  * Send a message to a worker or primary, optionally with a handle.
104
105
  *
105
- * In the primary this sends a message to a specific worker. It is identical to `ChildProcess.send()`.
106
+ * In the primary, this sends a message to a specific worker. It is identical to `ChildProcess.send()`.
106
107
  *
107
- * In a worker this sends a message to the primary. It is identical to`process.send()`.
108
+ * In a worker, this sends a message to the primary. It is identical to`process.send()`.
108
109
  *
109
110
  * This example will echo back all messages from the primary:
110
111
  *
@@ -126,19 +127,13 @@ declare module 'cluster' {
126
127
  send(message: child.Serializable, sendHandle: child.SendHandle, callback?: (error: Error | null) => void): boolean;
127
128
  send(message: child.Serializable, sendHandle: child.SendHandle, options?: child.MessageOptions, callback?: (error: Error | null) => void): boolean;
128
129
  /**
129
- * This function will kill the worker. In the primary, it does this
130
- * by disconnecting the `worker.process`, and once disconnected, killing
131
- * with `signal`. In the worker, it does it by disconnecting the channel,
132
- * and then exiting with code `0`.
130
+ * This function will kill the worker. In the primary worker, it does this by
131
+ * disconnecting the `worker.process`, and once disconnected, killing with`signal`. In the worker, it does it by killing the process with `signal`.
133
132
  *
134
- * Because `kill()` attempts to gracefully disconnect the worker process, it is
135
- * susceptible to waiting indefinitely for the disconnect to complete. For example,
136
- * if the worker enters an infinite loop, a graceful disconnect will never occur.
137
- * If the graceful disconnect behavior is not needed, use `worker.process.kill()`.
133
+ * The `kill()` function kills the worker process without waiting for a graceful
134
+ * disconnect, it has the same behavior as `worker.process.kill()`.
138
135
  *
139
- * Causes `.exitedAfterDisconnect` to be set.
140
- *
141
- * This method is aliased as `worker.destroy()` for backward compatibility.
136
+ * This method is aliased as `worker.destroy()` for backwards compatibility.
142
137
  *
143
138
  * In a worker, `process.kill()` exists, but it is not this function;
144
139
  * it is `kill()`.
@@ -256,7 +251,8 @@ declare module 'cluster' {
256
251
  */
257
252
  isDead(): boolean;
258
253
  /**
259
- * This property is `true` if the worker exited due to `.kill()` or`.disconnect()`. If the worker exited any other way, it is `false`. If the
254
+ * This property is `true` if the worker exited due to `.disconnect()`.
255
+ * If the worker exited any other way, it is `false`. If the
260
256
  * worker has not exited, it is `undefined`.
261
257
  *
262
258
  * The boolean `worker.exitedAfterDisconnect` allows distinguishing between