@node-red/editor-client 3.1.0-beta.1 → 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 (106) hide show
  1. package/locales/de/editor.json +2 -0
  2. package/locales/en-US/editor.json +8 -2
  3. package/locales/fr/editor.json +1238 -0
  4. package/locales/fr/infotips.json +23 -0
  5. package/locales/fr/jsonata.json +274 -0
  6. package/locales/ja/editor.json +14 -3
  7. package/locales/ko/editor.json +233 -31
  8. package/locales/pt-BR/editor.json +1208 -0
  9. package/locales/pt-BR/infotips.json +23 -0
  10. package/locales/pt-BR/jsonata.json +274 -0
  11. package/locales/ru/editor.json +2 -0
  12. package/locales/zh-CN/editor.json +1175 -1049
  13. package/locales/zh-TW/editor.json +3 -0
  14. package/package.json +1 -1
  15. package/public/red/about +50 -1
  16. package/public/red/red.js +1073 -984
  17. package/public/red/red.min.js +3 -3
  18. package/public/red/style.min.css +1 -1
  19. package/public/red/tours/3.0/welcome.js +6 -6
  20. package/public/red/tours/images/node-help.png +0 -0
  21. package/public/red/tours/images/tab-changes.png +0 -0
  22. package/public/red/tours/welcome.js +60 -4
  23. package/public/types/node/assert/strict.d.ts +11 -0
  24. package/public/types/node/assert.d.ts +898 -64
  25. package/public/types/node/async_hooks.d.ts +362 -94
  26. package/public/types/node/buffer.d.ts +2158 -14
  27. package/public/types/node/child_process.d.ts +1109 -257
  28. package/public/types/node/cluster.d.ts +349 -200
  29. package/public/types/node/console.d.ts +313 -43
  30. package/public/types/node/crypto.d.ts +3329 -656
  31. package/public/types/node/dgram.d.ts +459 -58
  32. package/public/types/node/diagnostics_channel.d.ts +155 -0
  33. package/public/types/node/dns/promises.d.ts +371 -0
  34. package/public/types/node/dns.d.ts +532 -265
  35. package/public/types/node/domain.d.ts +159 -16
  36. package/public/types/node/events.d.ts +589 -30
  37. package/public/types/node/fs/promises.d.ts +1097 -0
  38. package/public/types/node/fs.d.ts +2484 -958
  39. package/public/types/node/globals.d.ts +43 -503
  40. package/public/types/node/http.d.ts +1156 -145
  41. package/public/types/node/http2.d.ts +1610 -470
  42. package/public/types/node/https.d.ts +462 -72
  43. package/public/types/node/module.d.ts +72 -13
  44. package/public/types/node/net.d.ts +663 -131
  45. package/public/types/node/os.d.ts +238 -25
  46. package/public/types/node/path.d.ts +57 -23
  47. package/public/types/node/perf_hooks.d.ts +424 -112
  48. package/public/types/node/process.d.ts +1261 -193
  49. package/public/types/node/querystring.d.ts +107 -7
  50. package/public/types/node/readline.d.ts +443 -74
  51. package/public/types/node/stream/consumers.d.ts +15 -0
  52. package/public/types/node/stream/promises.d.ts +45 -0
  53. package/public/types/node/stream/web.d.ts +395 -0
  54. package/public/types/node/stream.d.ts +1081 -177
  55. package/public/types/node/string_decoder.d.ts +57 -0
  56. package/public/types/node/test.d.ts +193 -0
  57. package/public/types/node/timers/promises.d.ts +96 -0
  58. package/public/types/node/timers.d.ts +87 -12
  59. package/public/types/node/tls.d.ts +457 -222
  60. package/public/types/node/trace_events.d.ts +107 -10
  61. package/public/types/node/tty.d.ts +158 -23
  62. package/public/types/node/url.d.ts +734 -28
  63. package/public/types/node/util.d.ts +1542 -164
  64. package/public/types/node/v8.d.ts +261 -73
  65. package/public/types/node/vm.d.ts +384 -32
  66. package/public/types/node/wasi.d.ts +92 -23
  67. package/public/types/node/worker_threads.d.ts +531 -123
  68. package/public/types/node/zlib.d.ts +216 -63
  69. package/public/vendor/jquery/css/base/images/ui-icons_444444_256x240.png +0 -0
  70. package/public/vendor/jquery/css/base/images/ui-icons_555555_256x240.png +0 -0
  71. package/public/vendor/jquery/css/base/images/ui-icons_777620_256x240.png +0 -0
  72. package/public/vendor/jquery/css/base/images/ui-icons_777777_256x240.png +0 -0
  73. package/public/vendor/jquery/css/base/images/ui-icons_cc0000_256x240.png +0 -0
  74. package/public/vendor/jquery/css/base/images/ui-icons_ffffff_256x240.png +0 -0
  75. package/public/vendor/jquery/css/base/jquery-ui.min.css +4 -4
  76. package/public/vendor/monaco/dist/{ade705761eb7e702770d.ttf → 7064e66c3890a12c47b4.ttf} +0 -0
  77. package/public/vendor/monaco/dist/css.worker.js +1 -1
  78. package/public/vendor/monaco/dist/css.worker.js.LICENSE.txt +1 -1
  79. package/public/vendor/monaco/dist/editor.js +1 -1
  80. package/public/vendor/monaco/dist/editor.js.LICENSE.txt +5 -1
  81. package/public/vendor/monaco/dist/editor.worker.js +1 -1
  82. package/public/vendor/monaco/dist/html.worker.js +1 -1
  83. package/public/vendor/monaco/dist/html.worker.js.LICENSE.txt +1 -1
  84. package/public/vendor/monaco/dist/json.worker.js +1 -1
  85. package/public/vendor/monaco/dist/json.worker.js.LICENSE.txt +1 -1
  86. package/public/vendor/monaco/dist/locale/cs.js +319 -71
  87. package/public/vendor/monaco/dist/locale/de.js +323 -75
  88. package/public/vendor/monaco/dist/locale/es.js +318 -70
  89. package/public/vendor/monaco/dist/locale/fr.js +327 -79
  90. package/public/vendor/monaco/dist/locale/it.js +325 -77
  91. package/public/vendor/monaco/dist/locale/ja.js +337 -89
  92. package/public/vendor/monaco/dist/locale/ko.js +324 -76
  93. package/public/vendor/monaco/dist/locale/pl.js +322 -74
  94. package/public/vendor/monaco/dist/locale/pt-br.js +321 -73
  95. package/public/vendor/monaco/dist/locale/qps-ploc.js +1580 -1332
  96. package/public/vendor/monaco/dist/locale/ru.js +324 -76
  97. package/public/vendor/monaco/dist/locale/tr.js +326 -78
  98. package/public/vendor/monaco/dist/locale/zh-hans.js +328 -80
  99. package/public/vendor/monaco/dist/locale/zh-hant.js +321 -73
  100. package/public/vendor/monaco/dist/theme/forge.json +236 -0
  101. package/public/vendor/monaco/dist/theme/github-dark.json +348 -0
  102. package/public/vendor/monaco/dist/theme/github-light.json +348 -0
  103. package/public/vendor/monaco/dist/theme/nord.json +93 -0
  104. package/public/vendor/monaco/dist/ts.worker.js +1 -1
  105. package/public/vendor/monaco/dist/ts.worker.js.LICENSE.txt +14 -6
  106. package/public/vendor/vendor.js +6 -13
@@ -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' {