@node-red/editor-client 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/locales/de/editor.json +14 -11
- package/locales/en-US/editor.json +45 -14
- package/locales/ja/editor.json +53 -17
- package/locales/ko/editor.json +5 -2
- package/locales/ru/editor.json +14 -11
- package/locales/zh-CN/editor.json +14 -11
- package/locales/zh-TW/editor.json +14 -11
- package/package.json +1 -1
- package/public/red/about +119 -0
- package/public/red/images/grip-horizontal.svg +1 -0
- package/public/red/images/grip.svg +1 -0
- package/public/red/keymap.json +5 -1
- package/public/red/red.js +2161 -674
- package/public/red/red.min.js +2 -2
- package/public/red/style.min.css +2 -2
- package/public/red/tours/images/continuous-search.png +0 -0
- package/public/red/tours/images/debug-path-tooltip.png +0 -0
- package/public/red/tours/images/junction-quick-add.png +0 -0
- package/public/red/tours/images/junction-slice.gif +0 -0
- package/public/red/tours/images/split-wire-with-links.gif +0 -0
- package/public/red/tours/welcome.js +80 -97
- package/public/types/node/assert.d.ts +5 -1
- package/public/types/node/async_hooks.d.ts +4 -1
- package/public/types/node/buffer.d.ts +68 -1
- package/public/types/node/child_process.d.ts +4 -1
- package/public/types/node/cluster.d.ts +4 -1
- package/public/types/node/console.d.ts +10 -1
- package/public/types/node/crypto.d.ts +6 -3
- package/public/types/node/dgram.d.ts +12 -9
- package/public/types/node/dns.d.ts +8 -1
- package/public/types/node/domain.d.ts +4 -1
- package/public/types/node/events.d.ts +5 -1
- package/public/types/node/fs.d.ts +10 -7
- package/public/types/node/globals.d.ts +140 -7
- package/public/types/node/http.d.ts +10 -4
- package/public/types/node/http2.d.ts +8 -5
- package/public/types/node/https.d.ts +4 -1
- package/public/types/node/module.d.ts +5 -1
- package/public/types/node/net.d.ts +7 -4
- package/public/types/node/os.d.ts +4 -1
- package/public/types/node/path.d.ts +5 -1
- package/public/types/node/perf_hooks.d.ts +4 -1
- package/public/types/node/process.d.ts +6 -2
- package/public/types/node/querystring.d.ts +4 -1
- package/public/types/node/readline.d.ts +5 -1
- package/public/types/node/stream.d.ts +13 -9
- package/public/types/node/string_decoder.d.ts +4 -1
- package/public/types/node/timers.d.ts +4 -1
- package/public/types/node/tls.d.ts +6 -2
- package/public/types/node/trace_events.d.ts +4 -1
- package/public/types/node/tty.d.ts +4 -1
- package/public/types/node/url.d.ts +35 -2
- package/public/types/node/util.d.ts +11 -2
- package/public/types/node/v8.d.ts +4 -1
- package/public/types/node/vm.d.ts +4 -1
- package/public/types/node/wasi.d.ts +4 -1
- package/public/types/node/worker_threads.d.ts +4 -1
- package/public/types/node/zlib.d.ts +4 -1
- package/public/vendor/monaco/dist/ThirdPartyNotices.txt +382 -217
- package/public/vendor/monaco/dist/ade705761eb7e702770d.ttf +0 -0
- package/public/vendor/monaco/dist/css.worker.js +2 -1
- package/public/vendor/monaco/dist/css.worker.js.LICENSE.txt +6 -0
- package/public/vendor/monaco/dist/editor.js +2 -5
- package/public/vendor/monaco/dist/editor.js.LICENSE.txt +8 -0
- package/public/vendor/monaco/dist/editor.worker.js +1 -1
- package/public/vendor/monaco/dist/html.worker.js +2 -1
- package/public/vendor/monaco/dist/html.worker.js.LICENSE.txt +6 -0
- package/public/vendor/monaco/dist/json.worker.js +2 -1
- package/public/vendor/monaco/dist/json.worker.js.LICENSE.txt +6 -0
- package/public/vendor/monaco/dist/locale/cs.js +1550 -1445
- package/public/vendor/monaco/dist/locale/de.js +1550 -1445
- package/public/vendor/monaco/dist/locale/es.js +1550 -1445
- package/public/vendor/monaco/dist/locale/fr.js +1550 -1445
- package/public/vendor/monaco/dist/locale/it.js +1550 -1445
- package/public/vendor/monaco/dist/locale/ja.js +1550 -1445
- package/public/vendor/monaco/dist/locale/ko.js +1550 -1445
- package/public/vendor/monaco/dist/locale/pl.js +1550 -1445
- package/public/vendor/monaco/dist/locale/pt-br.js +1550 -1445
- package/public/vendor/monaco/dist/locale/qps-ploc.js +1550 -1445
- package/public/vendor/monaco/dist/locale/ru.js +1550 -1445
- package/public/vendor/monaco/dist/locale/tr.js +1550 -1445
- package/public/vendor/monaco/dist/locale/zh-hans.js +1550 -1445
- package/public/vendor/monaco/dist/locale/zh-hant.js +1550 -1445
- package/public/vendor/monaco/dist/theme/ace.json +197 -0
- package/public/vendor/monaco/dist/theme/active4d.json +4 -0
- package/public/vendor/monaco/dist/theme/all-hallows-eve.json +4 -0
- package/public/vendor/monaco/dist/theme/amy.json +4 -0
- package/public/vendor/monaco/dist/theme/birds-of-paradise.json +4 -0
- package/public/vendor/monaco/dist/theme/blackboard.json +4 -0
- package/public/vendor/monaco/dist/theme/brilliance-black.json +4 -0
- package/public/vendor/monaco/dist/theme/brilliance-dull.json +4 -0
- package/public/vendor/monaco/dist/theme/chrome-devtools.json +4 -0
- package/public/vendor/monaco/dist/theme/clouds-midnight.json +4 -0
- package/public/vendor/monaco/dist/theme/clouds.json +4 -0
- package/public/vendor/monaco/dist/theme/cobalt.json +4 -0
- package/public/vendor/monaco/dist/theme/cobalt2.json +859 -0
- package/public/vendor/monaco/dist/theme/dawn.json +4 -0
- package/public/vendor/monaco/dist/theme/dracula.json +208 -0
- package/public/vendor/monaco/dist/theme/dreamweaver.json +4 -0
- package/public/vendor/monaco/dist/theme/eiffel.json +4 -0
- package/public/vendor/monaco/dist/theme/espresso-libre.json +4 -0
- package/public/vendor/monaco/dist/theme/github.json +4 -0
- package/public/vendor/monaco/dist/theme/idle.json +4 -0
- package/public/vendor/monaco/dist/theme/idlefingers.json +4 -0
- package/public/vendor/monaco/dist/theme/iplastic.json +4 -0
- package/public/vendor/monaco/dist/theme/katzenmilch.json +4 -0
- package/public/vendor/monaco/dist/theme/krtheme.json +4 -0
- package/public/vendor/monaco/dist/theme/kuroir-theme.json +4 -0
- package/public/vendor/monaco/dist/theme/lazy.json +4 -0
- package/public/vendor/monaco/dist/theme/magicwb-amiga.json +4 -0
- package/public/vendor/monaco/dist/theme/merbivore-soft.json +4 -0
- package/public/vendor/monaco/dist/theme/merbivore.json +4 -0
- package/public/vendor/monaco/dist/theme/monoindustrial.json +4 -0
- package/public/vendor/monaco/dist/theme/monokai-bright.json +4 -0
- package/public/vendor/monaco/dist/theme/monokai.json +4 -0
- package/public/vendor/monaco/dist/theme/night-owl.json +4 -0
- package/public/vendor/monaco/dist/theme/oceanic-next.json +4 -0
- package/public/vendor/monaco/dist/theme/pastels-on-dark.json +4 -0
- package/public/vendor/monaco/dist/theme/slush-and-poppies.json +4 -0
- package/public/vendor/monaco/dist/theme/solarized-dark.json +4 -0
- package/public/vendor/monaco/dist/theme/solarized-light.json +4 -0
- package/public/vendor/monaco/dist/theme/spacecadet.json +4 -0
- package/public/vendor/monaco/dist/theme/sunburst.json +4 -0
- package/public/vendor/monaco/dist/theme/textmate-mac-classic.json +4 -0
- package/public/vendor/monaco/dist/theme/tomorrow-night-blue.json +4 -0
- package/public/vendor/monaco/dist/theme/tomorrow-night-bright.json +4 -0
- package/public/vendor/monaco/dist/theme/tomorrow-night-eighties.json +4 -0
- package/public/vendor/monaco/dist/theme/tomorrow-night.json +4 -0
- package/public/vendor/monaco/dist/theme/tomorrow.json +4 -0
- package/public/vendor/monaco/dist/theme/twilight.json +4 -0
- package/public/vendor/monaco/dist/theme/upstream-sunburst.json +4 -0
- package/public/vendor/monaco/dist/theme/vibrant-ink.json +4 -0
- package/public/vendor/monaco/dist/theme/xcode_default.json +4 -0
- package/public/vendor/monaco/dist/theme/zenburnesque.json +4 -0
- package/public/vendor/monaco/dist/ts.worker.js +2 -16
- package/public/vendor/monaco/dist/ts.worker.js.LICENSE.txt +6 -0
- package/public/vendor/vendor.js +4 -4
- package/public/red/images/grip-horizontal.png +0 -0
- package/public/red/images/grip.png +0 -0
- package/public/red/tours/images/delete-repair.gif +0 -0
- package/public/red/tours/images/detach-repair.gif +0 -0
- package/public/red/tours/images/slice.gif +0 -0
- package/public/red/tours/images/subflow-labels.png +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,52 +1,76 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
version: "
|
|
2
|
+
version: "3.0.0-beta.1",
|
|
3
3
|
steps: [
|
|
4
4
|
{
|
|
5
5
|
titleIcon: "fa fa-map-o",
|
|
6
6
|
title: {
|
|
7
|
-
"en-US": "Welcome to Node-RED
|
|
8
|
-
"ja": "Node-RED
|
|
7
|
+
"en-US": "Welcome to Node-RED 3.0 Beta 1!",
|
|
8
|
+
"ja": "Node-RED 3.0 ベータ1へようこそ!"
|
|
9
9
|
},
|
|
10
10
|
description: {
|
|
11
|
-
"en-US": "Let's take a moment to discover the new features in this release
|
|
12
|
-
"ja": "
|
|
11
|
+
"en-US": "<p>This is the first Beta release of Node-RED 3.0. It contains just about everything we have planned for the final release.</p><p>Let's take a moment to discover the new features in this release.</p>",
|
|
12
|
+
"ja": "<p>これはNode-RED 3.0の最初のベータリリースです。これには、最終リリースで計画しているほぼ全ての機能が含まれています。</p><p>本リリースの新機能を見つけてみましょう。</p>"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
title: {
|
|
17
|
-
"en-US": "
|
|
18
|
-
"ja": "
|
|
17
|
+
"en-US": "Wire Junctions",
|
|
18
|
+
"ja": "分岐点をワイヤーに追加"
|
|
19
19
|
},
|
|
20
|
+
image: 'images/junction-slice.gif',
|
|
20
21
|
description: {
|
|
21
|
-
"en-US":
|
|
22
|
-
|
|
22
|
+
"en-US": `<p>To make it easier to route wires around your flows, it is now possible to
|
|
23
|
+
add junction nodes that give you more control.</p>
|
|
24
|
+
<p>Junctions can be added to wires by holding the Shift key, then click and drag with
|
|
25
|
+
the right-hand mouse button across the wires.</p>`,
|
|
26
|
+
"ja": `<p>フローのワイヤーの経路をより制御しやすくするために、分岐点ノードを追加できるようになりました。</p>
|
|
27
|
+
<p>シフトキーを押しながら、マウスの右ボタンをクリックし、ワイヤーを横切るようにドラッグすることで、分岐点を追加できます。</p>`
|
|
23
28
|
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: {
|
|
32
|
+
"en-US": "Wire Junctions",
|
|
33
|
+
"ja": "分岐点をワイヤーに追加"
|
|
28
34
|
},
|
|
29
|
-
|
|
30
|
-
|
|
35
|
+
image: 'images/junction-quick-add.png',
|
|
36
|
+
description: {
|
|
37
|
+
"en-US": `<p>Junctions can also be added using the quick-add dialog.</p>
|
|
38
|
+
<p>The dialog is opened by holding the Ctrl (or Cmd) key when
|
|
39
|
+
clicking in the workspace.</p>`,
|
|
40
|
+
"ja": `<p>クイック追加ダイアログを用いて、分岐点を追加することもできます。</p>
|
|
41
|
+
<p>本ダイアログを開くには、Ctrl(またはCmd)キーを押しながら、ワークスペース上でクリックします。</p>`
|
|
31
42
|
},
|
|
32
43
|
},
|
|
33
44
|
{
|
|
34
45
|
title: {
|
|
35
|
-
"en-US": "
|
|
36
|
-
"ja": "
|
|
46
|
+
"en-US": "Debug Path Tooltip",
|
|
47
|
+
"ja": "デバッグパスのツールチップ"
|
|
37
48
|
},
|
|
49
|
+
image: 'images/debug-path-tooltip.png',
|
|
38
50
|
description: {
|
|
39
|
-
"en-US":
|
|
40
|
-
|
|
51
|
+
"en-US": `<p>When hovering over a node name in the Debug sidebar, a
|
|
52
|
+
new tooltip shows the full location of the node.</p>
|
|
53
|
+
<p>This is useful when working with subflows, making it
|
|
54
|
+
much easier to identify exactly which node generated
|
|
55
|
+
the message.</p>
|
|
56
|
+
<p>Clicking on any item in the list will reveal it in
|
|
57
|
+
the workspace.</p>`,
|
|
58
|
+
"ja": `<p>デバックサイドバー内のノード名の上にマウスカーソルを乗せると、新たにツールチップが表示され、ノードの場所が分かるようになっています。</p>
|
|
59
|
+
<p>これは、サブフローを用いる時に役立つ機能であり、メッセージがどのノードから出力されたかを正確に特定することが遥かに簡単になります。</p>
|
|
60
|
+
<p>本リスト内の要素をクリックすると、ワークスペース内にその要素が表示されます。</p>`
|
|
41
61
|
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
title: {
|
|
65
|
+
"en-US": "Continuous Search",
|
|
66
|
+
"ja": "連続した検索"
|
|
46
67
|
},
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
68
|
+
image: 'images/continuous-search.png',
|
|
69
|
+
description: {
|
|
70
|
+
"en-US": `<p>When searching for things in the editor, a new toolbar in
|
|
71
|
+
the workspace provides options to quickly jump between
|
|
72
|
+
the search results.</p>`,
|
|
73
|
+
"ja": `<p>ワークスペース内の新しいツールバーにあるオプションによって、エディタ内を検索する際に、検索結果の間を素早く移動できます。</p>`
|
|
50
74
|
},
|
|
51
75
|
},
|
|
52
76
|
{
|
|
@@ -54,85 +78,44 @@ export default {
|
|
|
54
78
|
"en-US": "New wiring actions",
|
|
55
79
|
"ja": "新しいワイヤー操作"
|
|
56
80
|
},
|
|
57
|
-
|
|
81
|
+
image: "images/split-wire-with-links.gif",
|
|
58
82
|
description: {
|
|
59
|
-
"en-US": `<p>A
|
|
83
|
+
"en-US": `<p>A new action has been added that will replace a wire with a pair of connected Link nodes:</p>
|
|
60
84
|
<ul>
|
|
61
|
-
<li><b><code>Wire
|
|
62
|
-
<li><b><code>Wire Node To Multiple</code></b> - wires the first node selected to all of the other selected nodes.</li>
|
|
85
|
+
<li><b><code>Split Wire With Link Nodes</code></b></li>
|
|
63
86
|
</ul>
|
|
64
87
|
<p>Actions can be accessed from the Action List in the main menu.</p>`,
|
|
65
|
-
"ja": `<p
|
|
88
|
+
"ja": `<p>ワイヤーを、接続されたLinkノードのペアに置き換える動作が新たに追加されました:</p>
|
|
66
89
|
<ul>
|
|
67
|
-
<li><b><code
|
|
68
|
-
<li><b><code>Wire Node To Multiple</code></b> - 最初に選択したノードから、他の選択した全てのノードに対して、ワイヤーを追加します。</li>
|
|
90
|
+
<li><b><code>ワイヤーをlinkノードで分割</code></b></li>
|
|
69
91
|
</ul>
|
|
70
|
-
<p
|
|
92
|
+
<p>本アクションは、メインメニュー内の動作一覧から呼び出せます。</p>`,
|
|
71
93
|
},
|
|
72
94
|
},
|
|
73
95
|
{
|
|
74
96
|
title: {
|
|
75
|
-
"en-US": "
|
|
76
|
-
"ja": "
|
|
77
|
-
},
|
|
78
|
-
image: "images/delete-repair.gif",
|
|
79
|
-
description: {
|
|
80
|
-
"en-US": `<p>It is now possible to delete a selection of nodes and automatically repair the wiring behind them.</p>
|
|
81
|
-
<p>This is really useful if you want to remove a node from the middle of the flow.</p>
|
|
82
|
-
<p>Hold the Ctrl (or Cmd) key when you press Delete and the nodes will be gone and the wires repaired.</p>
|
|
83
|
-
`,
|
|
84
|
-
"ja": `<p>選択したノードを削除した後、その背後にあるワイヤーを自動的に修復できるようになりました。</p>
|
|
85
|
-
<p>これは、フローの中からノードを削除する時に、とても便利に使えます。</p>
|
|
86
|
-
<p>Ctrl (またはCmd)キーを押しながらDeleteキーを押すと、ノードがなくなり、ワイヤーが修復されます。</p>
|
|
87
|
-
`
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
title: {
|
|
92
|
-
"en-US": "Detaching nodes from a flow",
|
|
93
|
-
"ja": "フローからノードの切り離し"
|
|
97
|
+
"en-US": "Default node names",
|
|
98
|
+
"ja": "標準ノードの名前"
|
|
94
99
|
},
|
|
95
|
-
image: "images/
|
|
96
|
-
description: {
|
|
97
|
-
"en-US": `<p>If you want to remove a node from a flow without deleting it,
|
|
98
|
-
you can use the <b><code>Detach Selected Nodes</code></b> action.</p>
|
|
99
|
-
<p>The nodes will be removed from their flow, the wiring repaired behind them, and then attached to the mouse
|
|
100
|
-
so you can drop them wherever you want in the workspace.</p>
|
|
101
|
-
<p>There isn't a default keyboard shortcut assigned for this new action, but
|
|
102
|
-
you can add your own via the Keyboard pane of the main Settings dialog.</p>`,
|
|
103
|
-
"ja": `<p>ノードを削除することなく、フローからノードを除きたい場合は、<b><code>Detach Selected Nodes</code></b>操作を利用できます。</p>
|
|
104
|
-
<p>フローからノードが除かれた後、背後のワイヤーが修復され、ノードはマウスポインタにつながります。そのため、ワークスペースの好きな所にノードを配置できます。</p>
|
|
105
|
-
<p>この新しい操作に対して、デフォルトのキーボードショートカットは登録されていませんが、メイン設定ダイアログのキーボード設定から追加できます。</p>`
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
title: {
|
|
110
|
-
"en-US": "More wiring tricks",
|
|
111
|
-
"ja": "その他のワイヤー操作"
|
|
112
|
-
},
|
|
113
|
-
image: "images/slice.gif",
|
|
100
|
+
// image: "images/",
|
|
114
101
|
description: {
|
|
115
|
-
"en-US": `<p>
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
<p>
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
102
|
+
"en-US": `<p>Some nodes have been updated to generate a unique name when
|
|
103
|
+
new instances are added to the workspace. This applies to
|
|
104
|
+
<code>Debug</code>, <code>Function</code> and <code>Link</code> nodes.</p>
|
|
105
|
+
<p>A new action has also been added to generate default names for the selected
|
|
106
|
+
nodes:</p>
|
|
107
|
+
<ul>
|
|
108
|
+
<li><b><code>Generate Node Names</code></b></li>
|
|
109
|
+
</ul><p>Actions can be accessed from the Action List in the main menu.</p>
|
|
110
|
+
`,
|
|
111
|
+
"ja": `<p>一部のノードは、ワークスペース上に新インスタンスとして追加した際に、一意の名前を付けるよう変更されました。この変更は、<code>Debug</code>、<code>Function</code>、<code>Link</code>ノードに適用されています。</p>
|
|
112
|
+
<p>選択したノードに対して、標準の名前を生成する動作も新たに追加されました:</p>
|
|
113
|
+
<ul>
|
|
114
|
+
<li><b><code>ノード名を生成</code></b></li>
|
|
115
|
+
</ul><p>本アクションは、メインメニュー内の動作一覧から呼び出せます。</p>
|
|
116
|
+
`
|
|
123
117
|
}
|
|
124
118
|
},
|
|
125
|
-
{
|
|
126
|
-
title: {
|
|
127
|
-
"en-US": "Subflow Output Labels",
|
|
128
|
-
"ja": "サブフローの出力ラベル"
|
|
129
|
-
},
|
|
130
|
-
image: "images/subflow-labels.png",
|
|
131
|
-
description: {
|
|
132
|
-
"en-US": "<p>If a subflow has labels set for its outputs, they now get shown on the ports within the subflow template view.</p>",
|
|
133
|
-
"ja": "<p>サブフローの出力にラベルが設定されている場合、サブフローテンプレート画面内のポートにラベルが表示されるようになりました。</p>"
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
119
|
{
|
|
137
120
|
title: {
|
|
138
121
|
"en-US": "Node Updates",
|
|
@@ -141,14 +124,14 @@ export default {
|
|
|
141
124
|
// image: "images/",
|
|
142
125
|
description: {
|
|
143
126
|
"en-US": `<ul>
|
|
144
|
-
<li>The
|
|
145
|
-
<li>The
|
|
146
|
-
<li>The
|
|
127
|
+
<li>The Debug node can be configured to count messages it receives</li>
|
|
128
|
+
<li>The Link Call node can use a message property to dynamically target the link it should call</li>
|
|
129
|
+
<li>The HTTP Request node can be preconfigured with HTTP headers</li>
|
|
147
130
|
</ul>`,
|
|
148
131
|
"ja": `<ul>
|
|
149
|
-
<li>
|
|
150
|
-
<li>
|
|
151
|
-
<li>
|
|
132
|
+
<li>Debugノードは、受信したメッセージの数をカウントするよう設定できるようになりました。</li>
|
|
133
|
+
<li>Link Callノードは、メッセージのプロパティによって、呼び出し対象のlinkを動的に指定できるようになりました。</li>
|
|
134
|
+
<li>HTTP Requestノードは、HTTPヘッダを事前設定できるようになりました。</li>
|
|
152
135
|
</ul>`
|
|
153
136
|
}
|
|
154
137
|
}
|
|
@@ -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/Steve-Mcl/monaco-editor-esm-i18n */
|
|
3
3
|
|
|
4
4
|
declare module 'assert' {
|
|
5
5
|
/** An alias of `assert.ok()`. */
|
|
@@ -125,3 +125,7 @@ declare module 'assert' {
|
|
|
125
125
|
|
|
126
126
|
export = assert;
|
|
127
127
|
}
|
|
128
|
+
declare module 'node:assert' {
|
|
129
|
+
import assert = require('assert');
|
|
130
|
+
export = assert;
|
|
131
|
+
}
|
|
@@ -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/Steve-Mcl/monaco-editor-esm-i18n */
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Async Hooks module: https://nodejs.org/api/async_hooks.html
|
|
@@ -227,3 +227,6 @@ declare module 'async_hooks' {
|
|
|
227
227
|
enterWith(store: T): void;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
+
declare module 'node:async_hooks' {
|
|
231
|
+
export * from 'async_hooks';
|
|
232
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
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/Steve-Mcl/monaco-editor-esm-i18n */
|
|
3
3
|
|
|
4
4
|
declare module 'buffer' {
|
|
5
|
+
import { BinaryLike } from 'node:crypto';
|
|
5
6
|
export const INSPECT_MAX_BYTES: number;
|
|
6
7
|
export const kMaxLength: number;
|
|
7
8
|
export const kStringMaxLength: number;
|
|
@@ -20,6 +21,72 @@ declare module 'buffer' {
|
|
|
20
21
|
new(size: number): Buffer;
|
|
21
22
|
prototype: Buffer;
|
|
22
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* @experimental
|
|
26
|
+
*/
|
|
27
|
+
export interface BlobOptions {
|
|
28
|
+
/**
|
|
29
|
+
* @default 'utf8'
|
|
30
|
+
*/
|
|
31
|
+
encoding?: BufferEncoding | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* The Blob content-type. The intent is for `type` to convey
|
|
34
|
+
* the MIME media type of the data, however no validation of the type format
|
|
35
|
+
* is performed.
|
|
36
|
+
*/
|
|
37
|
+
type?: string | undefined;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob) encapsulates immutable, raw data that can be safely shared across
|
|
41
|
+
* multiple worker threads.
|
|
42
|
+
* @since v14.18.0
|
|
43
|
+
* @experimental
|
|
44
|
+
*/
|
|
45
|
+
export class Blob {
|
|
46
|
+
/**
|
|
47
|
+
* The total size of the `Blob` in bytes.
|
|
48
|
+
* @since v14.18.0
|
|
49
|
+
*/
|
|
50
|
+
readonly size: number;
|
|
51
|
+
/**
|
|
52
|
+
* The content-type of the `Blob`.
|
|
53
|
+
* @since v14.18.0
|
|
54
|
+
*/
|
|
55
|
+
readonly type: string;
|
|
56
|
+
/**
|
|
57
|
+
* Creates a new `Blob` object containing a concatenation of the given sources.
|
|
58
|
+
*
|
|
59
|
+
* {ArrayBuffer}, {TypedArray}, {DataView}, and {Buffer} sources are copied into
|
|
60
|
+
* the 'Blob' and can therefore be safely modified after the 'Blob' is created.
|
|
61
|
+
*
|
|
62
|
+
* String sources are also copied into the `Blob`.
|
|
63
|
+
*/
|
|
64
|
+
constructor(sources: Array<BinaryLike | Blob>, options?: BlobOptions);
|
|
65
|
+
/**
|
|
66
|
+
* 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
|
|
67
|
+
* the `Blob` data.
|
|
68
|
+
* @since v14.18.0
|
|
69
|
+
*/
|
|
70
|
+
arrayBuffer(): Promise<ArrayBuffer>;
|
|
71
|
+
/**
|
|
72
|
+
* Creates and returns a new `Blob` containing a subset of this `Blob` objects
|
|
73
|
+
* data. The original `Blob` is not altered.
|
|
74
|
+
* @since v14.18.0
|
|
75
|
+
* @param start The starting index.
|
|
76
|
+
* @param end The ending index.
|
|
77
|
+
* @param type The content-type for the new `Blob`
|
|
78
|
+
*/
|
|
79
|
+
slice(start?: number, end?: number, type?: string): Blob;
|
|
80
|
+
/**
|
|
81
|
+
* Returns a promise that fulfills with the contents of the `Blob` decoded as a
|
|
82
|
+
* UTF-8 string.
|
|
83
|
+
* @since v14.18.0
|
|
84
|
+
*/
|
|
85
|
+
text(): Promise<string>;
|
|
86
|
+
}
|
|
23
87
|
|
|
24
88
|
export { BuffType as Buffer };
|
|
25
89
|
}
|
|
90
|
+
declare module 'node:buffer' {
|
|
91
|
+
export * from 'buffer';
|
|
92
|
+
}
|
|
@@ -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/Steve-Mcl/monaco-editor-esm-i18n */
|
|
3
3
|
|
|
4
4
|
declare module 'child_process' {
|
|
5
5
|
import { BaseEncodingOptions } from 'fs';
|
|
@@ -512,3 +512,6 @@ declare module 'child_process' {
|
|
|
512
512
|
function execFileSync(command: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
|
|
513
513
|
function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): string | Buffer;
|
|
514
514
|
}
|
|
515
|
+
declare module 'node:child_process' {
|
|
516
|
+
export * from 'child_process';
|
|
517
|
+
}
|
|
@@ -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/Steve-Mcl/monaco-editor-esm-i18n */
|
|
3
3
|
|
|
4
4
|
declare module 'cluster' {
|
|
5
5
|
import * as child from 'child_process';
|
|
@@ -263,3 +263,6 @@ declare module 'cluster' {
|
|
|
263
263
|
|
|
264
264
|
function eventNames(): string[];
|
|
265
265
|
}
|
|
266
|
+
declare module 'node:cluster' {
|
|
267
|
+
export * from 'cluster';
|
|
268
|
+
}
|
|
@@ -1,7 +1,11 @@
|
|
|
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/Steve-Mcl/monaco-editor-esm-i18n */
|
|
3
3
|
|
|
4
4
|
declare module 'console' {
|
|
5
|
+
import console = require('node:console');
|
|
6
|
+
export = console;
|
|
7
|
+
}
|
|
8
|
+
declare module 'node:console' {
|
|
5
9
|
import { InspectOptions } from 'util';
|
|
6
10
|
|
|
7
11
|
global {
|
|
@@ -118,6 +122,11 @@ declare module 'console' {
|
|
|
118
122
|
ignoreErrors?: boolean | undefined;
|
|
119
123
|
colorMode?: boolean | 'auto' | undefined;
|
|
120
124
|
inspectOptions?: InspectOptions | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* Set group indentation
|
|
127
|
+
* @default 2
|
|
128
|
+
*/
|
|
129
|
+
groupIndentation?: number | undefined;
|
|
121
130
|
}
|
|
122
131
|
|
|
123
132
|
interface ConsoleConstructor {
|
|
@@ -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/Steve-Mcl/monaco-editor-esm-i18n */
|
|
3
3
|
|
|
4
4
|
declare module 'crypto' {
|
|
5
5
|
import * as stream from 'stream';
|
|
@@ -143,7 +143,7 @@ declare module 'crypto' {
|
|
|
143
143
|
function createHmac(algorithm: string, key: BinaryLike | KeyObject, options?: stream.TransformOptions): Hmac;
|
|
144
144
|
|
|
145
145
|
// https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings
|
|
146
|
-
type BinaryToTextEncoding = 'base64' | 'hex';
|
|
146
|
+
type BinaryToTextEncoding = 'base64' | 'base64url' | 'hex';
|
|
147
147
|
type CharacterEncoding = 'utf8' | 'utf-8' | 'utf16le' | 'latin1';
|
|
148
148
|
type LegacyCharacterEncoding = 'ascii' | 'binary' | 'ucs2' | 'ucs-2';
|
|
149
149
|
|
|
@@ -517,7 +517,7 @@ declare module 'crypto' {
|
|
|
517
517
|
key: BinaryLike,
|
|
518
518
|
curve: string,
|
|
519
519
|
inputEncoding?: BinaryToTextEncoding,
|
|
520
|
-
outputEncoding?: 'latin1' | 'hex' | 'base64',
|
|
520
|
+
outputEncoding?: 'latin1' | 'hex' | 'base64' | 'base64url',
|
|
521
521
|
format?: 'uncompressed' | 'compressed' | 'hybrid',
|
|
522
522
|
): Buffer | string;
|
|
523
523
|
generateKeys(): Buffer;
|
|
@@ -1187,3 +1187,6 @@ declare module 'crypto' {
|
|
|
1187
1187
|
*/
|
|
1188
1188
|
function diffieHellman(options: { privateKey: KeyObject; publicKey: KeyObject }): Buffer;
|
|
1189
1189
|
}
|
|
1190
|
+
declare module 'node:crypto' {
|
|
1191
|
+
export * from 'crypto';
|
|
1192
|
+
}
|
|
@@ -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/Steve-Mcl/monaco-editor-esm-i18n */
|
|
3
3
|
|
|
4
4
|
declare module 'dgram' {
|
|
5
5
|
import { AddressInfo } from 'net';
|
|
@@ -40,11 +40,11 @@ declare module 'dgram' {
|
|
|
40
40
|
class Socket extends EventEmitter {
|
|
41
41
|
addMembership(multicastAddress: string, multicastInterface?: string): void;
|
|
42
42
|
address(): AddressInfo;
|
|
43
|
-
bind(port?: number, address?: string, callback?: () => void):
|
|
44
|
-
bind(port?: number, callback?: () => void):
|
|
45
|
-
bind(callback?: () => void):
|
|
46
|
-
bind(options: BindOptions, callback?: () => void):
|
|
47
|
-
close(callback?: () => void):
|
|
43
|
+
bind(port?: number, address?: string, callback?: () => void): this;
|
|
44
|
+
bind(port?: number, callback?: () => void): this;
|
|
45
|
+
bind(callback?: () => void): this;
|
|
46
|
+
bind(options: BindOptions, callback?: () => void): this;
|
|
47
|
+
close(callback?: () => void): this;
|
|
48
48
|
connect(port: number, address?: string, callback?: () => void): void;
|
|
49
49
|
connect(port: number, callback: () => void): void;
|
|
50
50
|
disconnect(): void;
|
|
@@ -61,11 +61,11 @@ declare module 'dgram' {
|
|
|
61
61
|
send(msg: string | Uint8Array, offset: number, length: number, callback?: (error: Error | null, bytes: number) => void): void;
|
|
62
62
|
setBroadcast(flag: boolean): void;
|
|
63
63
|
setMulticastInterface(multicastInterface: string): void;
|
|
64
|
-
setMulticastLoopback(flag: boolean):
|
|
65
|
-
setMulticastTTL(ttl: number):
|
|
64
|
+
setMulticastLoopback(flag: boolean): boolean;
|
|
65
|
+
setMulticastTTL(ttl: number): number;
|
|
66
66
|
setRecvBufferSize(size: number): void;
|
|
67
67
|
setSendBufferSize(size: number): void;
|
|
68
|
-
setTTL(ttl: number):
|
|
68
|
+
setTTL(ttl: number): number;
|
|
69
69
|
unref(): this;
|
|
70
70
|
/**
|
|
71
71
|
* Tells the kernel to join a source-specific multicast channel at the given
|
|
@@ -142,3 +142,6 @@ declare module 'dgram' {
|
|
|
142
142
|
prependOnceListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
+
declare module 'node:dgram' {
|
|
146
|
+
export * from 'dgram';
|
|
147
|
+
}
|
|
@@ -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/Steve-Mcl/monaco-editor-esm-i18n */
|
|
3
3
|
|
|
4
4
|
declare module 'dns' {
|
|
5
5
|
// Supported getaddrinfo flags.
|
|
@@ -253,6 +253,8 @@ declare module 'dns' {
|
|
|
253
253
|
function setServers(servers: ReadonlyArray<string>): void;
|
|
254
254
|
function getServers(): string[];
|
|
255
255
|
|
|
256
|
+
function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
|
|
257
|
+
|
|
256
258
|
// Error codes
|
|
257
259
|
const NODATA: string;
|
|
258
260
|
const FORMERR: string;
|
|
@@ -359,6 +361,8 @@ declare module 'dns' {
|
|
|
359
361
|
|
|
360
362
|
function setServers(servers: ReadonlyArray<string>): void;
|
|
361
363
|
|
|
364
|
+
function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
|
|
365
|
+
|
|
362
366
|
class Resolver {
|
|
363
367
|
constructor(options?: ResolverOptions);
|
|
364
368
|
cancel(): void;
|
|
@@ -381,3 +385,6 @@ declare module 'dns' {
|
|
|
381
385
|
}
|
|
382
386
|
}
|
|
383
387
|
}
|
|
388
|
+
declare module 'node:dns' {
|
|
389
|
+
export * from 'dns';
|
|
390
|
+
}
|
|
@@ -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/Steve-Mcl/monaco-editor-esm-i18n */
|
|
3
3
|
|
|
4
4
|
declare module 'domain' {
|
|
5
5
|
import EventEmitter = require('events');
|
|
@@ -25,3 +25,6 @@ declare module 'domain' {
|
|
|
25
25
|
|
|
26
26
|
function create(): Domain;
|
|
27
27
|
}
|
|
28
|
+
declare module 'node:domain' {
|
|
29
|
+
export * from 'domain';
|
|
30
|
+
}
|
|
@@ -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/Steve-Mcl/monaco-editor-esm-i18n */
|
|
3
3
|
|
|
4
4
|
declare module 'events' {
|
|
5
5
|
interface EventEmitterOptions {
|
|
@@ -79,3 +79,7 @@ declare module 'events' {
|
|
|
79
79
|
|
|
80
80
|
export = EventEmitter;
|
|
81
81
|
}
|
|
82
|
+
declare module 'node:events' {
|
|
83
|
+
import events = require('events');
|
|
84
|
+
export = events;
|
|
85
|
+
}
|
|
@@ -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/Steve-Mcl/monaco-editor-esm-i18n */
|
|
3
3
|
|
|
4
4
|
declare module 'fs' {
|
|
5
5
|
import * as stream from 'stream';
|
|
@@ -146,7 +146,7 @@ declare module 'fs' {
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
export class ReadStream extends stream.Readable {
|
|
149
|
-
close(): void;
|
|
149
|
+
close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
|
|
150
150
|
bytesRead: number;
|
|
151
151
|
path: string | Buffer;
|
|
152
152
|
pending: boolean;
|
|
@@ -214,7 +214,7 @@ declare module 'fs' {
|
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
export class WriteStream extends stream.Writable {
|
|
217
|
-
close(): void;
|
|
217
|
+
close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
|
|
218
218
|
bytesWritten: number;
|
|
219
219
|
path: string | Buffer;
|
|
220
220
|
pending: boolean;
|
|
@@ -2244,13 +2244,13 @@ declare module 'fs' {
|
|
|
2244
2244
|
bufferSize?: number | undefined;
|
|
2245
2245
|
}
|
|
2246
2246
|
|
|
2247
|
-
export function opendirSync(path:
|
|
2247
|
+
export function opendirSync(path: PathLike, options?: OpenDirOptions): Dir;
|
|
2248
2248
|
|
|
2249
|
-
export function opendir(path:
|
|
2250
|
-
export function opendir(path:
|
|
2249
|
+
export function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
|
|
2250
|
+
export function opendir(path: PathLike, options: OpenDirOptions, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
|
|
2251
2251
|
|
|
2252
2252
|
export namespace opendir {
|
|
2253
|
-
function __promisify__(path:
|
|
2253
|
+
function __promisify__(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
|
|
2254
2254
|
}
|
|
2255
2255
|
|
|
2256
2256
|
export interface BigIntStats extends StatsBase<bigint> {
|
|
@@ -2271,3 +2271,6 @@ declare module 'fs' {
|
|
|
2271
2271
|
bigint?: boolean | undefined;
|
|
2272
2272
|
}
|
|
2273
2273
|
}
|
|
2274
|
+
declare module 'node:fs' {
|
|
2275
|
+
export * from 'fs';
|
|
2276
|
+
}
|