@node-red/editor-client 2.2.0 → 3.0.0-beta.1
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 +44 -14
- package/locales/ja/editor.json +50 -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 +109 -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 +2091 -614
- 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 +65 -99
- 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/types/node-red/func.d.ts +16 -2
- package/public/vendor/ace/worker-jsonata.js +1 -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,137 +1,107 @@
|
|
|
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 Beta 1へようこそ!"
|
|
9
9
|
},
|
|
10
10
|
description: {
|
|
11
|
-
"en-US": "Let's take a moment to discover the new features in this release
|
|
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
12
|
"ja": "本リリースの新機能を見つけてみましょう。"
|
|
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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
RED.search.show();
|
|
27
|
-
setTimeout(done,400);
|
|
28
|
-
},
|
|
29
|
-
complete() {
|
|
30
|
-
RED.search.hide();
|
|
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": ""
|
|
31
27
|
},
|
|
32
28
|
},
|
|
33
29
|
{
|
|
34
30
|
title: {
|
|
35
|
-
"en-US": "
|
|
36
|
-
"ja": "
|
|
31
|
+
"en-US": "Wire Junctions",
|
|
32
|
+
// "ja": ""
|
|
37
33
|
},
|
|
34
|
+
image: 'images/junction-quick-add.png',
|
|
38
35
|
description: {
|
|
39
|
-
"en-US":
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
prepare(done) {
|
|
44
|
-
RED.actions.invoke("core:show-user-settings")
|
|
45
|
-
setTimeout(done,400);
|
|
46
|
-
},
|
|
47
|
-
complete(done) {
|
|
48
|
-
$("#node-dialog-ok").trigger("click");
|
|
49
|
-
setTimeout(done,400);
|
|
36
|
+
"en-US": `<p>Junctions can also be added using the quick-add dialog.</p>
|
|
37
|
+
<p>The dialog is opened by holding the Ctrl (or Cmd) key when
|
|
38
|
+
clicking in the workspace.</p>`,
|
|
39
|
+
// "ja": ""
|
|
50
40
|
},
|
|
51
41
|
},
|
|
52
42
|
{
|
|
53
43
|
title: {
|
|
54
|
-
"en-US": "
|
|
55
|
-
"ja": "
|
|
44
|
+
"en-US": "Debug Path Tooltip",
|
|
45
|
+
// "ja": ""
|
|
56
46
|
},
|
|
57
|
-
|
|
47
|
+
image: 'images/debug-path-tooltip.png',
|
|
58
48
|
description: {
|
|
59
|
-
"en-US": `<p>
|
|
60
|
-
|
|
61
|
-
<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
<p>
|
|
65
|
-
|
|
66
|
-
|
|
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>`
|
|
49
|
+
"en-US": `<p>When hovering over a node name in the Debug sidebar, a
|
|
50
|
+
new tooltip shows the full location of the node.</p>
|
|
51
|
+
<p>This is useful when working with subflows, making it
|
|
52
|
+
much easier to identify exactly which node generated
|
|
53
|
+
the message.</p>
|
|
54
|
+
<p>Clicking on any item in the list will reveal it in
|
|
55
|
+
the workspace.</p>`,
|
|
56
|
+
// "ja": ""
|
|
71
57
|
},
|
|
72
58
|
},
|
|
73
59
|
{
|
|
74
60
|
title: {
|
|
75
|
-
"en-US": "
|
|
76
|
-
"ja": "
|
|
61
|
+
"en-US": "Continuous Search",
|
|
62
|
+
// "ja": ""
|
|
77
63
|
},
|
|
78
|
-
image:
|
|
64
|
+
image: 'images/continuous-search.png',
|
|
79
65
|
description: {
|
|
80
|
-
"en-US": `<p>
|
|
81
|
-
|
|
82
|
-
|
|
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": "フローからノードの切り離し"
|
|
66
|
+
"en-US": `<p>When searching for things in the editor, a new toolbar in
|
|
67
|
+
the workspace provides options to quickly jump between
|
|
68
|
+
the search results.</p>`,
|
|
69
|
+
// "ja": ""
|
|
94
70
|
},
|
|
95
|
-
image: "images/detach-repair.gif",
|
|
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
71
|
},
|
|
108
72
|
{
|
|
109
73
|
title: {
|
|
110
|
-
"en-US": "
|
|
111
|
-
"ja": "
|
|
74
|
+
"en-US": "New wiring actions",
|
|
75
|
+
"ja": "新しいワイヤー操作"
|
|
112
76
|
},
|
|
113
|
-
image: "images/
|
|
77
|
+
image: "images/split-wire-with-links.gif",
|
|
114
78
|
description: {
|
|
115
|
-
"en-US": `<p>A
|
|
116
|
-
<
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"ja":
|
|
121
|
-
|
|
122
|
-
<p>Ctrl (またはCmd)キーを押しながら、マウスの右ボタンを用いてドラッグすると、ワイヤーを切って削除できます。</p>`
|
|
123
|
-
}
|
|
79
|
+
"en-US": `<p>A new action has been added that will replace a wire with a pair of connected Link nodes:</p>
|
|
80
|
+
<ul>
|
|
81
|
+
<li><b><code>Split Wire With Link Nodes</code></b></li>
|
|
82
|
+
</ul>
|
|
83
|
+
<p>Actions can be accessed from the Action List in the main menu.</p>`,
|
|
84
|
+
// "ja": ``
|
|
85
|
+
},
|
|
124
86
|
},
|
|
125
87
|
{
|
|
126
88
|
title: {
|
|
127
|
-
"en-US": "
|
|
128
|
-
"ja": "
|
|
89
|
+
"en-US": "Default node names",
|
|
90
|
+
// "ja": ""
|
|
129
91
|
},
|
|
130
|
-
image: "images/
|
|
92
|
+
// image: "images/",
|
|
131
93
|
description: {
|
|
132
|
-
"en-US":
|
|
133
|
-
|
|
134
|
-
|
|
94
|
+
"en-US": `<p>Some nodes have been updated to generate a unique name when
|
|
95
|
+
new instances are added to the workspace. This applies to
|
|
96
|
+
<code>Debug</code>, <code>Function</code> and <code>Link</code> nodes.</p>
|
|
97
|
+
<p>A new action has also been added to generate default names for the selected
|
|
98
|
+
nodes:</p>
|
|
99
|
+
<ul>
|
|
100
|
+
<li><b><code>Generate Node Names</code></b></li>
|
|
101
|
+
</ul><p>Actions can be accessed from the Action List in the main menu.</p>
|
|
102
|
+
`,
|
|
103
|
+
// "ja": ``
|
|
104
|
+
}
|
|
135
105
|
},
|
|
136
106
|
{
|
|
137
107
|
title: {
|
|
@@ -141,15 +111,11 @@ export default {
|
|
|
141
111
|
// image: "images/",
|
|
142
112
|
description: {
|
|
143
113
|
"en-US": `<ul>
|
|
144
|
-
<li>The
|
|
145
|
-
<li>The
|
|
146
|
-
<li>The
|
|
114
|
+
<li>The Debug node can be configured to count messages it receives</li>
|
|
115
|
+
<li>The Link Call node can use a message property to dynamically target the link it should call</li>
|
|
116
|
+
<li>The HTTP Request node can be preconfigured with HTTP headers</li>
|
|
147
117
|
</ul>`,
|
|
148
|
-
"ja":
|
|
149
|
-
<li>JSONノードが、バッファ形式のペイロードを解析できるようになりました。</li>
|
|
150
|
-
<li>TCPクライアントノードが、TLS接続をサポートしました。</li>
|
|
151
|
-
<li>WebSocketノードで、接続時にサブプロトコルを指定できるようになりました。</li>
|
|
152
|
-
</ul>`
|
|
118
|
+
// "ja": ``
|
|
153
119
|
}
|
|
154
120
|
}
|
|
155
121
|
]
|
|
@@ -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
|
+
}
|