@node-red/editor-client 2.0.4 → 2.1.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/en-US/editor.json +37 -7
- package/locales/ko/editor.json +1 -1
- package/package.json +2 -2
- package/public/red/about +109 -0
- package/public/red/images/node-red-256.svg +1 -0
- package/public/red/keymap.json +13 -2
- package/public/red/red.js +6122 -3663
- package/public/red/red.min.js +1 -1
- package/public/red/style.min.css +2 -2
- package/public/red/tours/first-flow.js +80 -0
- package/public/red/tours/welcome.js +135 -0
- package/public/tours/first-flow.js +82 -0
- package/public/types/node/assert.d.ts +127 -0
- package/public/types/node/async_hooks.d.ts +229 -0
- package/public/types/node/buffer.d.ts +25 -1
- package/public/types/node/child_process.d.ts +514 -6
- package/public/types/node/cluster.d.ts +265 -0
- package/public/types/node/console.d.ts +136 -1
- package/public/types/node/crypto.d.ts +1189 -1
- package/public/types/node/dgram.d.ts +144 -1
- package/public/types/node/dns.d.ts +383 -10
- package/public/types/node/domain.d.ts +27 -1
- package/public/types/node/events.d.ts +81 -1
- package/public/types/node/fs.d.ts +2273 -1
- package/public/types/node/globals.d.ts +616 -1
- package/public/types/node/http.d.ts +489 -1
- package/public/types/node/http2.d.ts +961 -0
- package/public/types/node/https.d.ts +142 -0
- package/public/types/node/module.d.ts +55 -0
- package/public/types/node/net.d.ts +296 -1
- package/public/types/node/os.d.ts +242 -1
- package/public/types/node/path.d.ts +156 -1
- package/public/types/node/perf_hooks.d.ts +274 -0
- package/public/types/node/process.d.ts +412 -1
- package/public/types/node/querystring.d.ts +31 -1
- package/public/types/node/readline.d.ts +173 -0
- package/public/types/node/stream.d.ts +358 -0
- package/public/types/node/string_decoder.d.ts +10 -0
- package/public/types/node/timers.d.ts +19 -0
- package/public/types/node/tls.d.ts +783 -0
- package/public/types/node/trace_events.d.ts +64 -0
- package/public/types/node/tty.d.ts +69 -0
- package/public/types/node/url.d.ts +119 -1
- package/public/types/node/util.d.ts +210 -0
- package/public/types/node/v8.d.ts +190 -0
- package/public/types/node/vm.d.ts +155 -0
- package/public/types/node/wasi.d.ts +89 -0
- package/public/types/node/worker_threads.d.ts +241 -0
- package/public/types/node/zlib.d.ts +364 -0
- package/public/types/node-red/func.d.ts +1 -1
- package/public/types/node-red/util.d.ts +1 -1
- package/public/vendor/ace/worker-jsonata.js +1 -1
- package/public/vendor/monaco/dist/ThirdPartyNotices.txt +192 -192
- package/public/vendor/monaco/dist/css.worker.js +1 -1
- package/public/vendor/monaco/dist/editor.js +2 -2
- package/public/vendor/monaco/dist/editor.worker.js +1 -1
- package/public/vendor/monaco/dist/html.worker.js +1 -1
- package/public/vendor/monaco/dist/json.worker.js +1 -1
- package/public/vendor/monaco/dist/locale/cs.js +44 -10
- package/public/vendor/monaco/dist/locale/de.js +46 -12
- package/public/vendor/monaco/dist/locale/es.js +46 -12
- package/public/vendor/monaco/dist/locale/fr.js +43 -9
- package/public/vendor/monaco/dist/locale/it.js +45 -11
- package/public/vendor/monaco/dist/locale/ja.js +45 -11
- package/public/vendor/monaco/dist/locale/ko.js +44 -10
- package/public/vendor/monaco/dist/locale/pl.js +42 -8
- package/public/vendor/monaco/dist/locale/pt-br.js +49 -15
- package/public/vendor/monaco/dist/locale/qps-ploc.js +1445 -0
- package/public/vendor/monaco/dist/locale/ru.js +48 -14
- package/public/vendor/monaco/dist/locale/tr.js +49 -15
- package/public/vendor/monaco/dist/locale/zh-hans.js +48 -14
- package/public/vendor/monaco/dist/locale/zh-hant.js +45 -11
- package/public/vendor/monaco/dist/theme/monoindustrial.json +228 -0
- package/public/vendor/monaco/dist/theme/solarized-dark.json +1082 -0
- package/public/vendor/monaco/dist/ts.worker.js +2 -2
- package/public/vendor/vendor.js +4 -4
- package/templates/index.mst +5 -1
|
@@ -1 +1,81 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/node-red/nr-monaco-build */
|
|
3
|
+
|
|
4
|
+
declare module 'events' {
|
|
5
|
+
interface EventEmitterOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Enables automatic capturing of promise rejection.
|
|
8
|
+
*/
|
|
9
|
+
captureRejections?: boolean | undefined;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface NodeEventTarget {
|
|
13
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface DOMEventTarget {
|
|
17
|
+
addEventListener(event: string, listener: (...args: any[]) => void, opts?: { once: boolean }): any;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
interface EventEmitter extends NodeJS.EventEmitter {}
|
|
21
|
+
class EventEmitter {
|
|
22
|
+
constructor(options?: EventEmitterOptions);
|
|
23
|
+
|
|
24
|
+
static once(emitter: NodeEventTarget, event: string | symbol): Promise<any[]>;
|
|
25
|
+
static once(emitter: DOMEventTarget, event: string): Promise<any[]>;
|
|
26
|
+
static on(emitter: NodeJS.EventEmitter, event: string): AsyncIterableIterator<any>;
|
|
27
|
+
|
|
28
|
+
/** @deprecated since v4.0.0 */
|
|
29
|
+
static listenerCount(emitter: NodeJS.EventEmitter, event: string | symbol): number;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* This symbol shall be used to install a listener for only monitoring `'error'`
|
|
33
|
+
* events. Listeners installed using this symbol are called before the regular
|
|
34
|
+
* `'error'` listeners are called.
|
|
35
|
+
*
|
|
36
|
+
* Installing a listener using this symbol does not change the behavior once an
|
|
37
|
+
* `'error'` event is emitted, therefore the process will still crash if no
|
|
38
|
+
* regular `'error'` listener is installed.
|
|
39
|
+
*/
|
|
40
|
+
static readonly errorMonitor: unique symbol;
|
|
41
|
+
static readonly captureRejectionSymbol: unique symbol;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Sets or gets the default captureRejection value for all emitters.
|
|
45
|
+
*/
|
|
46
|
+
// TODO: These should be described using static getter/setter pairs:
|
|
47
|
+
static captureRejections: boolean;
|
|
48
|
+
static defaultMaxListeners: number;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
import internal = require('events');
|
|
52
|
+
namespace EventEmitter {
|
|
53
|
+
// Should just be `export { EventEmitter }`, but that doesn't work in TypeScript 3.4
|
|
54
|
+
export { internal as EventEmitter };
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
global {
|
|
58
|
+
namespace NodeJS {
|
|
59
|
+
interface EventEmitter {
|
|
60
|
+
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
61
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
62
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
63
|
+
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
64
|
+
off(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
65
|
+
removeAllListeners(event?: string | symbol): this;
|
|
66
|
+
setMaxListeners(n: number): this;
|
|
67
|
+
getMaxListeners(): number;
|
|
68
|
+
listeners(event: string | symbol): Function[];
|
|
69
|
+
rawListeners(event: string | symbol): Function[];
|
|
70
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
|
71
|
+
listenerCount(event: string | symbol): number;
|
|
72
|
+
// Added in Node 6...
|
|
73
|
+
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
74
|
+
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
75
|
+
eventNames(): Array<string | symbol>;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export = EventEmitter;
|
|
81
|
+
}
|