@node-red/editor-client 3.0.2 → 3.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.
Files changed (127) hide show
  1. package/locales/de/editor.json +2 -0
  2. package/locales/de/infotips.json +0 -0
  3. package/locales/de/jsonata.json +0 -0
  4. package/locales/en-US/editor.json +37 -6
  5. package/locales/en-US/infotips.json +0 -0
  6. package/locales/en-US/jsonata.json +0 -0
  7. package/locales/fr/editor.json +1238 -0
  8. package/locales/fr/infotips.json +23 -0
  9. package/locales/fr/jsonata.json +274 -0
  10. package/locales/ja/editor.json +48 -9
  11. package/locales/ko/editor.json +233 -31
  12. package/locales/ko/infotips.json +0 -0
  13. package/locales/ko/jsonata.json +0 -0
  14. package/locales/pt-BR/editor.json +1208 -0
  15. package/locales/pt-BR/infotips.json +23 -0
  16. package/locales/pt-BR/jsonata.json +274 -0
  17. package/locales/ru/editor.json +2 -0
  18. package/locales/ru/infotips.json +0 -0
  19. package/locales/ru/jsonata.json +0 -0
  20. package/locales/zh-CN/editor.json +1175 -1049
  21. package/locales/zh-TW/editor.json +3 -0
  22. package/package.json +1 -1
  23. package/public/red/about +140 -0
  24. package/public/red/red.js +2699 -1397
  25. package/public/red/red.min.js +4 -3
  26. package/public/red/style.min.css +1 -1
  27. package/public/red/tours/3.0/images/context-menu.png +0 -0
  28. package/public/red/tours/3.0/welcome.js +155 -0
  29. package/public/red/tours/images/context-menu.png +0 -0
  30. package/public/red/tours/images/global-env-vars.png +0 -0
  31. package/public/red/tours/images/hiding-flows.png +0 -0
  32. package/public/red/tours/images/locking-flows.png +0 -0
  33. package/public/red/tours/images/mermaid.png +0 -0
  34. package/public/red/tours/images/node-help.png +0 -0
  35. package/public/red/tours/images/tab-changes.png +0 -0
  36. package/public/red/tours/welcome.js +111 -94
  37. package/public/types/node/assert/strict.d.ts +11 -0
  38. package/public/types/node/assert.d.ts +898 -64
  39. package/public/types/node/async_hooks.d.ts +362 -94
  40. package/public/types/node/buffer.d.ts +2158 -14
  41. package/public/types/node/child_process.d.ts +1109 -257
  42. package/public/types/node/cluster.d.ts +349 -200
  43. package/public/types/node/console.d.ts +313 -43
  44. package/public/types/node/crypto.d.ts +3329 -656
  45. package/public/types/node/dgram.d.ts +459 -58
  46. package/public/types/node/diagnostics_channel.d.ts +155 -0
  47. package/public/types/node/dns/promises.d.ts +371 -0
  48. package/public/types/node/dns.d.ts +532 -265
  49. package/public/types/node/domain.d.ts +159 -16
  50. package/public/types/node/events.d.ts +589 -30
  51. package/public/types/node/fs/promises.d.ts +1097 -0
  52. package/public/types/node/fs.d.ts +2484 -958
  53. package/public/types/node/globals.d.ts +43 -503
  54. package/public/types/node/http.d.ts +1156 -145
  55. package/public/types/node/http2.d.ts +1610 -470
  56. package/public/types/node/https.d.ts +462 -72
  57. package/public/types/node/module.d.ts +72 -13
  58. package/public/types/node/net.d.ts +663 -131
  59. package/public/types/node/os.d.ts +238 -25
  60. package/public/types/node/path.d.ts +57 -23
  61. package/public/types/node/perf_hooks.d.ts +424 -112
  62. package/public/types/node/process.d.ts +1261 -193
  63. package/public/types/node/querystring.d.ts +107 -7
  64. package/public/types/node/readline.d.ts +443 -74
  65. package/public/types/node/stream/consumers.d.ts +15 -0
  66. package/public/types/node/stream/promises.d.ts +45 -0
  67. package/public/types/node/stream/web.d.ts +395 -0
  68. package/public/types/node/stream.d.ts +1081 -177
  69. package/public/types/node/string_decoder.d.ts +57 -0
  70. package/public/types/node/test.d.ts +193 -0
  71. package/public/types/node/timers/promises.d.ts +96 -0
  72. package/public/types/node/timers.d.ts +87 -12
  73. package/public/types/node/tls.d.ts +457 -222
  74. package/public/types/node/trace_events.d.ts +107 -10
  75. package/public/types/node/tty.d.ts +158 -23
  76. package/public/types/node/url.d.ts +734 -28
  77. package/public/types/node/util.d.ts +1542 -164
  78. package/public/types/node/v8.d.ts +261 -73
  79. package/public/types/node/vm.d.ts +384 -32
  80. package/public/types/node/wasi.d.ts +92 -23
  81. package/public/types/node/worker_threads.d.ts +531 -123
  82. package/public/types/node/zlib.d.ts +216 -63
  83. package/public/types/node-red/func.d.ts +3 -0
  84. package/public/vendor/jquery/css/base/images/ui-icons_444444_256x240.png +0 -0
  85. package/public/vendor/jquery/css/base/images/ui-icons_555555_256x240.png +0 -0
  86. package/public/vendor/jquery/css/base/images/ui-icons_777620_256x240.png +0 -0
  87. package/public/vendor/jquery/css/base/images/ui-icons_777777_256x240.png +0 -0
  88. package/public/vendor/jquery/css/base/images/ui-icons_cc0000_256x240.png +0 -0
  89. package/public/vendor/jquery/css/base/images/ui-icons_ffffff_256x240.png +0 -0
  90. package/public/vendor/jquery/css/base/jquery-ui.min.css +4 -4
  91. package/public/vendor/mermaid/mermaid.min.js +1284 -0
  92. package/public/vendor/monaco/dist/{ade705761eb7e702770d.ttf → 7064e66c3890a12c47b4.ttf} +0 -0
  93. package/public/vendor/monaco/dist/css.worker.js +1 -1
  94. package/public/vendor/monaco/dist/css.worker.js.LICENSE.txt +1 -1
  95. package/public/vendor/monaco/dist/editor.js +1 -1
  96. package/public/vendor/monaco/dist/editor.js.LICENSE.txt +5 -1
  97. package/public/vendor/monaco/dist/editor.worker.js +1 -1
  98. package/public/vendor/monaco/dist/html.worker.js +1 -1
  99. package/public/vendor/monaco/dist/html.worker.js.LICENSE.txt +1 -1
  100. package/public/vendor/monaco/dist/json.worker.js +1 -1
  101. package/public/vendor/monaco/dist/json.worker.js.LICENSE.txt +1 -1
  102. package/public/vendor/monaco/dist/locale/cs.js +319 -71
  103. package/public/vendor/monaco/dist/locale/de.js +323 -75
  104. package/public/vendor/monaco/dist/locale/es.js +318 -70
  105. package/public/vendor/monaco/dist/locale/fr.js +327 -79
  106. package/public/vendor/monaco/dist/locale/it.js +325 -77
  107. package/public/vendor/monaco/dist/locale/ja.js +337 -89
  108. package/public/vendor/monaco/dist/locale/ko.js +324 -76
  109. package/public/vendor/monaco/dist/locale/pl.js +322 -74
  110. package/public/vendor/monaco/dist/locale/pt-br.js +321 -73
  111. package/public/vendor/monaco/dist/locale/qps-ploc.js +1580 -1332
  112. package/public/vendor/monaco/dist/locale/ru.js +324 -76
  113. package/public/vendor/monaco/dist/locale/tr.js +326 -78
  114. package/public/vendor/monaco/dist/locale/zh-hans.js +328 -80
  115. package/public/vendor/monaco/dist/locale/zh-hant.js +321 -73
  116. package/public/vendor/monaco/dist/theme/forge.json +236 -0
  117. package/public/vendor/monaco/dist/theme/github-dark.json +348 -0
  118. package/public/vendor/monaco/dist/theme/github-light.json +348 -0
  119. package/public/vendor/monaco/dist/theme/nord.json +93 -0
  120. package/public/vendor/monaco/dist/ts.worker.js +1 -1
  121. package/public/vendor/monaco/dist/ts.worker.js.LICENSE.txt +14 -6
  122. package/public/vendor/vendor.js +9 -15
  123. /package/public/red/tours/{images → 3.0/images}/continuous-search.png +0 -0
  124. /package/public/red/tours/{images → 3.0/images}/debug-path-tooltip.png +0 -0
  125. /package/public/red/tours/{images → 3.0/images}/junction-quick-add.png +0 -0
  126. /package/public/red/tours/{images → 3.0/images}/junction-slice.gif +0 -0
  127. /package/public/red/tours/{images → 3.0/images}/split-wire-with-links.gif +0 -0
@@ -1,15 +1,53 @@
1
1
 
2
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
+ /**
5
+ * @since v0.3.7
6
+ */
4
7
  declare module 'module' {
5
- import { URL } from 'url';
8
+ import { URL } from 'node:url';
6
9
  namespace Module {
7
10
  /**
8
- * Updates all the live bindings for builtin ES Modules to match the properties of the CommonJS exports.
9
- * It does not add or remove exported names from the ES Modules.
11
+ * The `module.syncBuiltinESMExports()` method updates all the live bindings for
12
+ * builtin `ES Modules` to match the properties of the `CommonJS` exports. It
13
+ * does not add or remove exported names from the `ES Modules`.
14
+ *
15
+ * ```js
16
+ * const fs = require('fs');
17
+ * const assert = require('assert');
18
+ * const { syncBuiltinESMExports } = require('module');
19
+ *
20
+ * fs.readFile = newAPI;
21
+ *
22
+ * delete fs.readFileSync;
23
+ *
24
+ * function newAPI() {
25
+ * // ...
26
+ * }
27
+ *
28
+ * fs.newAPI = newAPI;
29
+ *
30
+ * syncBuiltinESMExports();
31
+ *
32
+ * import('fs').then((esmFS) => {
33
+ * // It syncs the existing readFile property with the new value
34
+ * assert.strictEqual(esmFS.readFile, newAPI);
35
+ * // readFileSync has been deleted from the required fs
36
+ * assert.strictEqual('readFileSync' in fs, false);
37
+ * // syncBuiltinESMExports() does not remove readFileSync from esmFS
38
+ * assert.strictEqual('readFileSync' in esmFS, true);
39
+ * // syncBuiltinESMExports() does not add names
40
+ * assert.strictEqual(esmFS.newAPI, undefined);
41
+ * });
42
+ * ```
43
+ * @since v12.12.0
10
44
  */
11
45
  function syncBuiltinESMExports(): void;
12
-
46
+ /**
47
+ * `path` is the resolved path for the file for which a corresponding source map
48
+ * should be fetched.
49
+ * @since v13.7.0, v12.17.0
50
+ */
13
51
  function findSourceMap(path: string, error?: Error): SourceMap;
14
52
  interface SourceMapPayload {
15
53
  file: string;
@@ -20,7 +58,6 @@ declare module 'module' {
20
58
  mappings: string;
21
59
  sourceRoot: string;
22
60
  }
23
-
24
61
  interface SourceMapping {
25
62
  generatedLine: number;
26
63
  generatedColumn: number;
@@ -28,10 +65,20 @@ declare module 'module' {
28
65
  originalLine: number;
29
66
  originalColumn: number;
30
67
  }
31
-
68
+ /**
69
+ * @since v13.7.0, v12.17.0
70
+ */
32
71
  class SourceMap {
72
+ /**
73
+ * Getter for the payload used to construct the `SourceMap` instance.
74
+ */
33
75
  readonly payload: SourceMapPayload;
34
76
  constructor(payload: SourceMapPayload);
77
+ /**
78
+ * Given a line number and column number in the generated source file, returns
79
+ * an object representing the position in the original file. The object returned
80
+ * consists of the following keys:
81
+ */
35
82
  findEntry(line: number, column: number): SourceMapping;
36
83
  }
37
84
  }
@@ -39,18 +86,30 @@ declare module 'module' {
39
86
  class Module {
40
87
  static runMain(): void;
41
88
  static wrap(code: string): string;
42
-
43
- /**
44
- * @deprecated Deprecated since: v12.2.0. Please use createRequire() instead.
45
- */
46
- static createRequireFromPath(path: string): NodeRequire;
47
89
  static createRequire(path: string | URL): NodeRequire;
48
90
  static builtinModules: string[];
49
-
91
+ static isBuiltin(moduleName: string): boolean;
50
92
  static Module: typeof Module;
51
-
52
93
  constructor(id: string, parent?: Module);
53
94
  }
95
+ global {
96
+ interface ImportMeta {
97
+ url: string;
98
+ /**
99
+ * @experimental
100
+ * This feature is only available with the `--experimental-import-meta-resolve`
101
+ * command flag enabled.
102
+ *
103
+ * Provides a module-relative resolution function scoped to each module, returning
104
+ * the URL string.
105
+ *
106
+ * @param specified The module specifier to resolve relative to `parent`.
107
+ * @param parent The absolute parent module URL to resolve from. If none
108
+ * is specified, the value of `import.meta.url` is used as the default.
109
+ */
110
+ resolve?(specified: string, parent?: string | URL): Promise<string>;
111
+ }
112
+ }
54
113
  export = Module;
55
114
  }
56
115
  declare module 'node:module' {