@node-red/editor-client 2.2.2 → 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.
Files changed (143) hide show
  1. package/locales/de/editor.json +14 -11
  2. package/locales/en-US/editor.json +44 -14
  3. package/locales/ja/editor.json +50 -17
  4. package/locales/ko/editor.json +5 -2
  5. package/locales/ru/editor.json +14 -11
  6. package/locales/zh-CN/editor.json +14 -11
  7. package/locales/zh-TW/editor.json +14 -11
  8. package/package.json +1 -1
  9. package/public/red/about +77 -0
  10. package/public/red/images/grip-horizontal.svg +1 -0
  11. package/public/red/images/grip.svg +1 -0
  12. package/public/red/keymap.json +5 -1
  13. package/public/red/red.js +2060 -610
  14. package/public/red/red.min.js +2 -2
  15. package/public/red/style.min.css +2 -2
  16. package/public/red/tours/images/continuous-search.png +0 -0
  17. package/public/red/tours/images/debug-path-tooltip.png +0 -0
  18. package/public/red/tours/images/junction-quick-add.png +0 -0
  19. package/public/red/tours/images/junction-slice.gif +0 -0
  20. package/public/red/tours/images/split-wire-with-links.gif +0 -0
  21. package/public/red/tours/welcome.js +65 -99
  22. package/public/types/node/assert.d.ts +5 -1
  23. package/public/types/node/async_hooks.d.ts +4 -1
  24. package/public/types/node/buffer.d.ts +68 -1
  25. package/public/types/node/child_process.d.ts +4 -1
  26. package/public/types/node/cluster.d.ts +4 -1
  27. package/public/types/node/console.d.ts +10 -1
  28. package/public/types/node/crypto.d.ts +6 -3
  29. package/public/types/node/dgram.d.ts +12 -9
  30. package/public/types/node/dns.d.ts +8 -1
  31. package/public/types/node/domain.d.ts +4 -1
  32. package/public/types/node/events.d.ts +5 -1
  33. package/public/types/node/fs.d.ts +10 -7
  34. package/public/types/node/globals.d.ts +140 -7
  35. package/public/types/node/http.d.ts +10 -4
  36. package/public/types/node/http2.d.ts +8 -5
  37. package/public/types/node/https.d.ts +4 -1
  38. package/public/types/node/module.d.ts +5 -1
  39. package/public/types/node/net.d.ts +7 -4
  40. package/public/types/node/os.d.ts +4 -1
  41. package/public/types/node/path.d.ts +5 -1
  42. package/public/types/node/perf_hooks.d.ts +4 -1
  43. package/public/types/node/process.d.ts +6 -2
  44. package/public/types/node/querystring.d.ts +4 -1
  45. package/public/types/node/readline.d.ts +5 -1
  46. package/public/types/node/stream.d.ts +13 -9
  47. package/public/types/node/string_decoder.d.ts +4 -1
  48. package/public/types/node/timers.d.ts +4 -1
  49. package/public/types/node/tls.d.ts +6 -2
  50. package/public/types/node/trace_events.d.ts +4 -1
  51. package/public/types/node/tty.d.ts +4 -1
  52. package/public/types/node/url.d.ts +35 -2
  53. package/public/types/node/util.d.ts +11 -2
  54. package/public/types/node/v8.d.ts +4 -1
  55. package/public/types/node/vm.d.ts +4 -1
  56. package/public/types/node/wasi.d.ts +4 -1
  57. package/public/types/node/worker_threads.d.ts +4 -1
  58. package/public/types/node/zlib.d.ts +4 -1
  59. package/public/vendor/monaco/dist/ThirdPartyNotices.txt +382 -217
  60. package/public/vendor/monaco/dist/ade705761eb7e702770d.ttf +0 -0
  61. package/public/vendor/monaco/dist/css.worker.js +2 -1
  62. package/public/vendor/monaco/dist/css.worker.js.LICENSE.txt +6 -0
  63. package/public/vendor/monaco/dist/editor.js +2 -5
  64. package/public/vendor/monaco/dist/editor.js.LICENSE.txt +8 -0
  65. package/public/vendor/monaco/dist/editor.worker.js +1 -1
  66. package/public/vendor/monaco/dist/html.worker.js +2 -1
  67. package/public/vendor/monaco/dist/html.worker.js.LICENSE.txt +6 -0
  68. package/public/vendor/monaco/dist/json.worker.js +2 -1
  69. package/public/vendor/monaco/dist/json.worker.js.LICENSE.txt +6 -0
  70. package/public/vendor/monaco/dist/locale/cs.js +1550 -1445
  71. package/public/vendor/monaco/dist/locale/de.js +1550 -1445
  72. package/public/vendor/monaco/dist/locale/es.js +1550 -1445
  73. package/public/vendor/monaco/dist/locale/fr.js +1550 -1445
  74. package/public/vendor/monaco/dist/locale/it.js +1550 -1445
  75. package/public/vendor/monaco/dist/locale/ja.js +1550 -1445
  76. package/public/vendor/monaco/dist/locale/ko.js +1550 -1445
  77. package/public/vendor/monaco/dist/locale/pl.js +1550 -1445
  78. package/public/vendor/monaco/dist/locale/pt-br.js +1550 -1445
  79. package/public/vendor/monaco/dist/locale/qps-ploc.js +1550 -1445
  80. package/public/vendor/monaco/dist/locale/ru.js +1550 -1445
  81. package/public/vendor/monaco/dist/locale/tr.js +1550 -1445
  82. package/public/vendor/monaco/dist/locale/zh-hans.js +1550 -1445
  83. package/public/vendor/monaco/dist/locale/zh-hant.js +1550 -1445
  84. package/public/vendor/monaco/dist/theme/ace.json +197 -0
  85. package/public/vendor/monaco/dist/theme/active4d.json +4 -0
  86. package/public/vendor/monaco/dist/theme/all-hallows-eve.json +4 -0
  87. package/public/vendor/monaco/dist/theme/amy.json +4 -0
  88. package/public/vendor/monaco/dist/theme/birds-of-paradise.json +4 -0
  89. package/public/vendor/monaco/dist/theme/blackboard.json +4 -0
  90. package/public/vendor/monaco/dist/theme/brilliance-black.json +4 -0
  91. package/public/vendor/monaco/dist/theme/brilliance-dull.json +4 -0
  92. package/public/vendor/monaco/dist/theme/chrome-devtools.json +4 -0
  93. package/public/vendor/monaco/dist/theme/clouds-midnight.json +4 -0
  94. package/public/vendor/monaco/dist/theme/clouds.json +4 -0
  95. package/public/vendor/monaco/dist/theme/cobalt.json +4 -0
  96. package/public/vendor/monaco/dist/theme/cobalt2.json +859 -0
  97. package/public/vendor/monaco/dist/theme/dawn.json +4 -0
  98. package/public/vendor/monaco/dist/theme/dracula.json +208 -0
  99. package/public/vendor/monaco/dist/theme/dreamweaver.json +4 -0
  100. package/public/vendor/monaco/dist/theme/eiffel.json +4 -0
  101. package/public/vendor/monaco/dist/theme/espresso-libre.json +4 -0
  102. package/public/vendor/monaco/dist/theme/github.json +4 -0
  103. package/public/vendor/monaco/dist/theme/idle.json +4 -0
  104. package/public/vendor/monaco/dist/theme/idlefingers.json +4 -0
  105. package/public/vendor/monaco/dist/theme/iplastic.json +4 -0
  106. package/public/vendor/monaco/dist/theme/katzenmilch.json +4 -0
  107. package/public/vendor/monaco/dist/theme/krtheme.json +4 -0
  108. package/public/vendor/monaco/dist/theme/kuroir-theme.json +4 -0
  109. package/public/vendor/monaco/dist/theme/lazy.json +4 -0
  110. package/public/vendor/monaco/dist/theme/magicwb-amiga.json +4 -0
  111. package/public/vendor/monaco/dist/theme/merbivore-soft.json +4 -0
  112. package/public/vendor/monaco/dist/theme/merbivore.json +4 -0
  113. package/public/vendor/monaco/dist/theme/monoindustrial.json +4 -0
  114. package/public/vendor/monaco/dist/theme/monokai-bright.json +4 -0
  115. package/public/vendor/monaco/dist/theme/monokai.json +4 -0
  116. package/public/vendor/monaco/dist/theme/night-owl.json +4 -0
  117. package/public/vendor/monaco/dist/theme/oceanic-next.json +4 -0
  118. package/public/vendor/monaco/dist/theme/pastels-on-dark.json +4 -0
  119. package/public/vendor/monaco/dist/theme/slush-and-poppies.json +4 -0
  120. package/public/vendor/monaco/dist/theme/solarized-dark.json +4 -0
  121. package/public/vendor/monaco/dist/theme/solarized-light.json +4 -0
  122. package/public/vendor/monaco/dist/theme/spacecadet.json +4 -0
  123. package/public/vendor/monaco/dist/theme/sunburst.json +4 -0
  124. package/public/vendor/monaco/dist/theme/textmate-mac-classic.json +4 -0
  125. package/public/vendor/monaco/dist/theme/tomorrow-night-blue.json +4 -0
  126. package/public/vendor/monaco/dist/theme/tomorrow-night-bright.json +4 -0
  127. package/public/vendor/monaco/dist/theme/tomorrow-night-eighties.json +4 -0
  128. package/public/vendor/monaco/dist/theme/tomorrow-night.json +4 -0
  129. package/public/vendor/monaco/dist/theme/tomorrow.json +4 -0
  130. package/public/vendor/monaco/dist/theme/twilight.json +4 -0
  131. package/public/vendor/monaco/dist/theme/upstream-sunburst.json +4 -0
  132. package/public/vendor/monaco/dist/theme/vibrant-ink.json +4 -0
  133. package/public/vendor/monaco/dist/theme/xcode_default.json +4 -0
  134. package/public/vendor/monaco/dist/theme/zenburnesque.json +4 -0
  135. package/public/vendor/monaco/dist/ts.worker.js +2 -16
  136. package/public/vendor/monaco/dist/ts.worker.js.LICENSE.txt +6 -0
  137. package/public/vendor/vendor.js +4 -4
  138. package/public/red/images/grip-horizontal.png +0 -0
  139. package/public/red/images/grip.png +0 -0
  140. package/public/red/tours/images/delete-repair.gif +0 -0
  141. package/public/red/tours/images/detach-repair.gif +0 -0
  142. package/public/red/tours/images/slice.gif +0 -0
  143. package/public/red/tours/images/subflow-labels.png +0 -0
@@ -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/node-red/nr-monaco-build */
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 'util' {
5
5
  interface InspectOptions extends NodeJS.InspectOptions { }
@@ -10,6 +10,7 @@ declare module 'util' {
10
10
  }
11
11
  function format(format?: any, ...param: any[]): string;
12
12
  function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string;
13
+ function getSystemErrorName(err: number): string;
13
14
  /** @deprecated since v0.11.3 - use a third party module instead. */
14
15
  function log(string: string): void;
15
16
  function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
@@ -35,7 +36,12 @@ declare module 'util' {
35
36
  /** @deprecated since v4.0.0 - use `util.types.isNativeError()` instead. */
36
37
  function isError(object: any): object is Error;
37
38
  function inherits(constructor: any, superConstructor: any): void;
38
- function debuglog(key: string): (msg: string, ...param: any[]) => void;
39
+ type DebugLoggerFunction = (msg: string, ...param: any[]) => void;
40
+ interface DebugLogger extends DebugLoggerFunction {
41
+ enabled: boolean;
42
+ }
43
+ function debuglog(key: string, callback?: (fn: DebugLoggerFunction) => void): DebugLogger;
44
+ const debug: typeof debuglog;
39
45
  /** @deprecated since v4.0.0 - use `typeof value === 'boolean'` instead. */
40
46
  function isBoolean(object: any): object is boolean;
41
47
  /** @deprecated since v4.0.0 - use `Buffer.isBuffer()` instead. */
@@ -208,3 +214,6 @@ declare module 'util' {
208
214
  encodeInto(input: string, output: Uint8Array): EncodeIntoResult;
209
215
  }
210
216
  }
217
+ declare module 'node:util' {
218
+ export * from 'util';
219
+ }
@@ -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/node-red/nr-monaco-build */
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 'v8' {
5
5
  import { Readable } from 'stream';
@@ -188,3 +188,6 @@ declare module 'v8' {
188
188
  */
189
189
  function deserialize(data: NodeJS.TypedArray): any;
190
190
  }
191
+ declare module 'node:v8' {
192
+ export * from 'v8';
193
+ }
@@ -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/node-red/nr-monaco-build */
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 'vm' {
5
5
  interface Context extends NodeJS.Dict<any> { }
@@ -153,3 +153,6 @@ declare module 'vm' {
153
153
  */
154
154
  function measureMemory(options?: MeasureMemoryOptions): Promise<MemoryMeasurement>;
155
155
  }
156
+ declare module 'node:vm' {
157
+ export * from 'vm';
158
+ }
@@ -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/node-red/nr-monaco-build */
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 'wasi' {
5
5
  interface WASIOptions {
@@ -87,3 +87,6 @@ declare module 'wasi' {
87
87
  readonly wasiImport: NodeJS.Dict<any>; // TODO: Narrow to DOM types
88
88
  }
89
89
  }
90
+ declare module 'node:wasi' {
91
+ export * from 'wasi';
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/node-red/nr-monaco-build */
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 'worker_threads' {
5
5
  import { Context } from 'vm';
@@ -239,3 +239,6 @@ declare module 'worker_threads' {
239
239
  */
240
240
  function receiveMessageOnPort(port: MessagePort): { message: any } | undefined;
241
241
  }
242
+ declare module 'node:worker_threads' {
243
+ export * from 'worker_threads';
244
+ }
@@ -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/node-red/nr-monaco-build */
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 'zlib' {
5
5
  import * as stream from 'stream';
@@ -362,3 +362,6 @@ declare module 'zlib' {
362
362
  /** @deprecated */
363
363
  const Z_DEFLATED: number;
364
364
  }
365
+ declare module 'node:zlib' {
366
+ export * from 'zlib';
367
+ }