@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,22 +1,98 @@
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
+ * The `querystring` module provides utilities for parsing and formatting URL
6
+ * query strings. It can be accessed using:
7
+ *
8
+ * ```js
9
+ * const querystring = require('querystring');
10
+ * ```
11
+ *
12
+ * `querystring` is more performant than `URLSearchParams` but is not a
13
+ * standardized API. Use `URLSearchParams` when performance is not critical
14
+ * or when compatibility with browser code is desirable.
15
+ * @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/querystring.js)
16
+ */
4
17
  declare module 'querystring' {
5
18
  interface StringifyOptions {
6
19
  encodeURIComponent?: ((str: string) => string) | undefined;
7
20
  }
8
-
9
21
  interface ParseOptions {
10
22
  maxKeys?: number | undefined;
11
23
  decodeURIComponent?: ((str: string) => string) | undefined;
12
24
  }
13
-
14
- interface ParsedUrlQuery extends NodeJS.Dict<string | string[]> { }
15
-
16
- interface ParsedUrlQueryInput extends NodeJS.Dict<string | number | boolean | ReadonlyArray<string> | ReadonlyArray<number> | ReadonlyArray<boolean> | null> {
17
- }
18
-
25
+ interface ParsedUrlQuery extends NodeJS.Dict<string | string[]> {}
26
+ interface ParsedUrlQueryInput extends NodeJS.Dict<string | number | boolean | ReadonlyArray<string> | ReadonlyArray<number> | ReadonlyArray<boolean> | null> {}
27
+ /**
28
+ * The `querystring.stringify()` method produces a URL query string from a
29
+ * given `obj` by iterating through the object's "own properties".
30
+ *
31
+ * It serializes the following types of values passed in `obj`:[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) |
32
+ * [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) |
33
+ * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) |
34
+ * [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) |
35
+ * [string\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) |
36
+ * [number\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) |
37
+ * [bigint\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) |
38
+ * [boolean\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) The numeric values must be finite. Any other input values will be coerced to
39
+ * empty strings.
40
+ *
41
+ * ```js
42
+ * querystring.stringify({ foo: 'bar', baz: ['qux', 'quux'], corge: '' });
43
+ * // Returns 'foo=bar&#x26;baz=qux&#x26;baz=quux&#x26;corge='
44
+ *
45
+ * querystring.stringify({ foo: 'bar', baz: 'qux' }, ';', ':');
46
+ * // Returns 'foo:bar;baz:qux'
47
+ * ```
48
+ *
49
+ * By default, characters requiring percent-encoding within the query string will
50
+ * be encoded as UTF-8\. If an alternative encoding is required, then an alternative`encodeURIComponent` option will need to be specified:
51
+ *
52
+ * ```js
53
+ * // Assuming gbkEncodeURIComponent function already exists,
54
+ *
55
+ * querystring.stringify({ w: '中文', foo: 'bar' }, null, null,
56
+ * { encodeURIComponent: gbkEncodeURIComponent });
57
+ * ```
58
+ * @since v0.1.25
59
+ * @param obj The object to serialize into a URL query string
60
+ * @param [sep='&'] The substring used to delimit key and value pairs in the query string.
61
+ * @param [eq='='] . The substring used to delimit keys and values in the query string.
62
+ */
19
63
  function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string;
64
+ /**
65
+ * The `querystring.parse()` method parses a URL query string (`str`) into a
66
+ * collection of key and value pairs.
67
+ *
68
+ * For example, the query string `'foo=bar&#x26;abc=xyz&#x26;abc=123'` is parsed into:
69
+ *
70
+ * ```js
71
+ * {
72
+ * foo: 'bar',
73
+ * abc: ['xyz', '123']
74
+ * }
75
+ * ```
76
+ *
77
+ * The object returned by the `querystring.parse()` method _does not_prototypically inherit from the JavaScript `Object`. This means that typical`Object` methods such as `obj.toString()`,
78
+ * `obj.hasOwnProperty()`, and others
79
+ * are not defined and _will not work_.
80
+ *
81
+ * By default, percent-encoded characters within the query string will be assumed
82
+ * to use UTF-8 encoding. If an alternative character encoding is used, then an
83
+ * alternative `decodeURIComponent` option will need to be specified:
84
+ *
85
+ * ```js
86
+ * // Assuming gbkDecodeURIComponent function already exists...
87
+ *
88
+ * querystring.parse('w=%D6%D0%CE%C4&#x26;foo=bar', null, null,
89
+ * { decodeURIComponent: gbkDecodeURIComponent });
90
+ * ```
91
+ * @since v0.1.25
92
+ * @param str The URL query string to parse
93
+ * @param [sep='&'] The substring used to delimit key and value pairs in the query string.
94
+ * @param [eq='='] . The substring used to delimit keys and values in the query string.
95
+ */
20
96
  function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery;
21
97
  /**
22
98
  * The querystring.encode() function is an alias for querystring.stringify().
@@ -26,7 +102,31 @@ declare module 'querystring' {
26
102
  * The querystring.decode() function is an alias for querystring.parse().
27
103
  */
28
104
  const decode: typeof parse;
105
+ /**
106
+ * The `querystring.escape()` method performs URL percent-encoding on the given`str` in a manner that is optimized for the specific requirements of URL
107
+ * query strings.
108
+ *
109
+ * The `querystring.escape()` method is used by `querystring.stringify()` and is
110
+ * generally not expected to be used directly. It is exported primarily to allow
111
+ * application code to provide a replacement percent-encoding implementation if
112
+ * necessary by assigning `querystring.escape` to an alternative function.
113
+ * @since v0.1.25
114
+ */
29
115
  function escape(str: string): string;
116
+ /**
117
+ * The `querystring.unescape()` method performs decoding of URL percent-encoded
118
+ * characters on the given `str`.
119
+ *
120
+ * The `querystring.unescape()` method is used by `querystring.parse()` and is
121
+ * generally not expected to be used directly. It is exported primarily to allow
122
+ * application code to provide a replacement decoding implementation if
123
+ * necessary by assigning `querystring.unescape` to an alternative function.
124
+ *
125
+ * By default, the `querystring.unescape()` method will attempt to use the
126
+ * JavaScript built-in `decodeURIComponent()` method to decode. If that fails,
127
+ * a safer equivalent that does not throw on malformed URLs will be used.
128
+ * @since v0.1.25
129
+ */
30
130
  function unescape(str: string): string;
31
131
  }
32
132
  declare module 'node:querystring' {