@node-red/editor-client 2.2.2 → 3.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 +14 -11
- package/locales/en-US/editor.json +88 -57
- package/locales/en-US/infotips.json +19 -19
- package/locales/en-US/jsonata.json +40 -40
- package/locales/ja/editor.json +54 -17
- package/locales/ja/infotips.json +1 -1
- 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 +151 -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 +2837 -839
- package/public/red/red.min.js +2 -2
- package/public/red/style.min.css +2 -2
- package/public/red/tours/images/context-menu.png +0 -0
- 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 +91 -95
- 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
|
|
Binary file
|
|
@@ -1,137 +1,133 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
version: "
|
|
2
|
+
version: "3.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
|
|
8
|
-
"ja": "Node-RED
|
|
7
|
+
"en-US": "Welcome to Node-RED 3.0 Beta 3!",
|
|
8
|
+
"ja": "Node-RED 3.0 ベータ3へようこそ!"
|
|
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 final beta release of Node-RED 3.0.</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": "Context Menu"
|
|
19
18
|
},
|
|
19
|
+
image: 'images/context-menu.png',
|
|
20
20
|
description: {
|
|
21
|
-
"en-US":
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
RED.search.show();
|
|
27
|
-
setTimeout(done,400);
|
|
28
|
-
},
|
|
29
|
-
complete() {
|
|
30
|
-
RED.search.hide();
|
|
31
|
-
},
|
|
21
|
+
"en-US": `<p>The editor now has its own context menu when you
|
|
22
|
+
right-click in the workspace.</p>
|
|
23
|
+
<p>This makes many of the built-in actions much easier
|
|
24
|
+
to access.</p>`
|
|
25
|
+
}
|
|
32
26
|
},
|
|
33
27
|
{
|
|
34
28
|
title: {
|
|
35
|
-
"en-US": "
|
|
36
|
-
"ja": "
|
|
29
|
+
"en-US": "Wire Junctions",
|
|
30
|
+
"ja": "分岐点をワイヤーに追加"
|
|
37
31
|
},
|
|
32
|
+
image: 'images/junction-slice.gif',
|
|
38
33
|
description: {
|
|
39
|
-
"en-US":
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
},
|
|
47
|
-
complete(done) {
|
|
48
|
-
$("#node-dialog-ok").trigger("click");
|
|
49
|
-
setTimeout(done,400);
|
|
34
|
+
"en-US": `<p>To make it easier to route wires around your flows,
|
|
35
|
+
it is now possible to add junction nodes that give
|
|
36
|
+
you more control.</p>
|
|
37
|
+
<p>Junctions can be added to wires by holding the Alt key
|
|
38
|
+
then click and drag the mouse across the wires.</p>`,
|
|
39
|
+
// "ja": `<p>フローのワイヤーの経路をより制御しやすくするために、分岐点ノードを追加できるようになりました。</p>
|
|
40
|
+
// <p>シフトキーを押しながら、マウスの右ボタンをクリックし、ワイヤーを横切るようにドラッグすることで、分岐点を追加できます。</p>`
|
|
50
41
|
},
|
|
51
42
|
},
|
|
52
43
|
{
|
|
53
44
|
title: {
|
|
54
|
-
"en-US": "
|
|
55
|
-
"ja": "
|
|
45
|
+
"en-US": "Wire Junctions",
|
|
46
|
+
"ja": "分岐点をワイヤーに追加"
|
|
56
47
|
},
|
|
57
|
-
|
|
48
|
+
image: 'images/junction-quick-add.png',
|
|
58
49
|
description: {
|
|
59
|
-
"en-US": `<p>
|
|
60
|
-
<
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
<p>Actions can be accessed from the Action List in the main menu.</p>`,
|
|
65
|
-
"ja": `<p>ノード接続を支援する2つの新しい操作が追加されました:</p>
|
|
66
|
-
<ul>
|
|
67
|
-
<li><b><code>Wire Series Of Nodes</code></b> - ノードを選択した順序で、各ノードのペアの間にワイヤーを(必要に応じて)追加します。</li>
|
|
68
|
-
<li><b><code>Wire Node To Multiple</code></b> - 最初に選択したノードから、他の選択した全てのノードに対して、ワイヤーを追加します。</li>
|
|
69
|
-
</ul>
|
|
70
|
-
<p>メインメニュー内の動作一覧から、これらの操作を利用できます。</p>`
|
|
50
|
+
"en-US": `<p>Junctions can also be added using the quick-add dialog.</p>
|
|
51
|
+
<p>The dialog is opened by holding the Ctrl (or Cmd) key when
|
|
52
|
+
clicking in the workspace.</p>`,
|
|
53
|
+
"ja": `<p>クイック追加ダイアログを用いて、分岐点を追加することもできます。</p>
|
|
54
|
+
<p>本ダイアログを開くには、Ctrl(またはCmd)キーを押しながら、ワークスペース上でクリックします。</p>`
|
|
71
55
|
},
|
|
72
56
|
},
|
|
73
57
|
{
|
|
74
58
|
title: {
|
|
75
|
-
"en-US": "
|
|
76
|
-
"ja": "
|
|
59
|
+
"en-US": "Debug Path Tooltip",
|
|
60
|
+
"ja": "デバッグパスのツールチップ"
|
|
77
61
|
},
|
|
78
|
-
image:
|
|
62
|
+
image: 'images/debug-path-tooltip.png',
|
|
79
63
|
description: {
|
|
80
|
-
"en-US": `<p>
|
|
81
|
-
|
|
82
|
-
<p>
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
64
|
+
"en-US": `<p>When hovering over a node name in the Debug sidebar, a
|
|
65
|
+
new tooltip shows the full location of the node.</p>
|
|
66
|
+
<p>This is useful when working with subflows, making it
|
|
67
|
+
much easier to identify exactly which node generated
|
|
68
|
+
the message.</p>
|
|
69
|
+
<p>Clicking on any item in the list will reveal it in
|
|
70
|
+
the workspace.</p>`,
|
|
71
|
+
"ja": `<p>デバックサイドバー内のノード名の上にマウスカーソルを乗せると、新たにツールチップが表示され、ノードの場所が分かるようになっています。</p>
|
|
72
|
+
<p>これは、サブフローを用いる時に役立つ機能であり、メッセージがどのノードから出力されたかを正確に特定することが遥かに簡単になります。</p>
|
|
73
|
+
<p>本リスト内の要素をクリックすると、ワークスペース内にその要素が表示されます。</p>`
|
|
74
|
+
},
|
|
89
75
|
},
|
|
90
76
|
{
|
|
91
77
|
title: {
|
|
92
|
-
"en-US": "
|
|
93
|
-
"ja": "
|
|
78
|
+
"en-US": "Continuous Search",
|
|
79
|
+
"ja": "連続した検索"
|
|
94
80
|
},
|
|
95
|
-
image:
|
|
81
|
+
image: 'images/continuous-search.png',
|
|
96
82
|
description: {
|
|
97
|
-
"en-US": `<p>
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
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
|
-
}
|
|
83
|
+
"en-US": `<p>When searching for things in the editor, a new toolbar in
|
|
84
|
+
the workspace provides options to quickly jump between
|
|
85
|
+
the search results.</p>`,
|
|
86
|
+
"ja": `<p>ワークスペース内の新しいツールバーにあるオプションによって、エディタ内を検索する際に、検索結果の間を素早く移動できます。</p>`
|
|
87
|
+
},
|
|
107
88
|
},
|
|
108
89
|
{
|
|
109
90
|
title: {
|
|
110
|
-
"en-US": "
|
|
111
|
-
"ja": "
|
|
91
|
+
"en-US": "New wiring actions",
|
|
92
|
+
"ja": "新しいワイヤー操作"
|
|
112
93
|
},
|
|
113
|
-
image: "images/
|
|
94
|
+
image: "images/split-wire-with-links.gif",
|
|
114
95
|
description: {
|
|
115
|
-
"en-US": `<p>A
|
|
116
|
-
<
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"ja": `<p
|
|
121
|
-
<
|
|
122
|
-
<
|
|
123
|
-
|
|
96
|
+
"en-US": `<p>A new action has been added that will replace a wire with a pair of connected Link nodes:</p>
|
|
97
|
+
<ul>
|
|
98
|
+
<li><b><code>Split Wire With Link Nodes</code></b></li>
|
|
99
|
+
</ul>
|
|
100
|
+
<p>Actions can be accessed from the Action List in the main menu.</p>`,
|
|
101
|
+
"ja": `<p>ワイヤーを、接続されたLinkノードのペアに置き換える動作が新たに追加されました:</p>
|
|
102
|
+
<ul>
|
|
103
|
+
<li><b><code>ワイヤーをlinkノードで分割</code></b></li>
|
|
104
|
+
</ul>
|
|
105
|
+
<p>本アクションは、メインメニュー内の動作一覧から呼び出せます。</p>`,
|
|
106
|
+
},
|
|
124
107
|
},
|
|
125
108
|
{
|
|
126
109
|
title: {
|
|
127
|
-
"en-US": "
|
|
128
|
-
"ja": "
|
|
110
|
+
"en-US": "Default node names",
|
|
111
|
+
"ja": "標準ノードの名前"
|
|
129
112
|
},
|
|
130
|
-
image: "images/
|
|
113
|
+
// image: "images/",
|
|
131
114
|
description: {
|
|
132
|
-
"en-US":
|
|
133
|
-
|
|
134
|
-
|
|
115
|
+
"en-US": `<p>Some nodes have been updated to generate a unique name when
|
|
116
|
+
new instances are added to the workspace. This applies to
|
|
117
|
+
<code>Debug</code>, <code>Function</code> and <code>Link</code> nodes.</p>
|
|
118
|
+
<p>A new action has also been added to generate default names for the selected
|
|
119
|
+
nodes:</p>
|
|
120
|
+
<ul>
|
|
121
|
+
<li><b><code>Generate Node Names</code></b></li>
|
|
122
|
+
</ul><p>Actions can be accessed from the Action List in the main menu.</p>
|
|
123
|
+
`,
|
|
124
|
+
"ja": `<p>一部のノードは、ワークスペース上に新インスタンスとして追加した際に、一意の名前を付けるよう変更されました。この変更は、<code>Debug</code>、<code>Function</code>、<code>Link</code>ノードに適用されています。</p>
|
|
125
|
+
<p>選択したノードに対して、標準の名前を生成する動作も新たに追加されました:</p>
|
|
126
|
+
<ul>
|
|
127
|
+
<li><b><code>ノード名を生成</code></b></li>
|
|
128
|
+
</ul><p>本アクションは、メインメニュー内の動作一覧から呼び出せます。</p>
|
|
129
|
+
`
|
|
130
|
+
}
|
|
135
131
|
},
|
|
136
132
|
{
|
|
137
133
|
title: {
|
|
@@ -141,14 +137,14 @@ export default {
|
|
|
141
137
|
// image: "images/",
|
|
142
138
|
description: {
|
|
143
139
|
"en-US": `<ul>
|
|
144
|
-
<li>The
|
|
145
|
-
<li>The
|
|
146
|
-
<li>The
|
|
140
|
+
<li>The Debug node can be configured to count messages it receives</li>
|
|
141
|
+
<li>The Link Call node can use a message property to dynamically target the link it should call</li>
|
|
142
|
+
<li>The HTTP Request node can be preconfigured with HTTP headers</li>
|
|
147
143
|
</ul>`,
|
|
148
144
|
"ja": `<ul>
|
|
149
|
-
<li>
|
|
150
|
-
<li>
|
|
151
|
-
<li>
|
|
145
|
+
<li>Debugノードは、受信したメッセージの数をカウントするよう設定できるようになりました。</li>
|
|
146
|
+
<li>Link Callノードは、メッセージのプロパティによって、呼び出し対象のlinkを動的に指定できるようになりました。</li>
|
|
147
|
+
<li>HTTP Requestノードは、HTTPヘッダを事前設定できるようになりました。</li>
|
|
152
148
|
</ul>`
|
|
153
149
|
}
|
|
154
150
|
}
|
|
@@ -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
|
+
}
|