@node-red/editor-client 3.1.0-beta.1 → 3.1.0-beta.3
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/de/editor.json +2 -0
- package/locales/en-US/editor.json +9 -2
- package/locales/fr/editor.json +1238 -0
- package/locales/fr/infotips.json +23 -0
- package/locales/fr/jsonata.json +274 -0
- package/locales/ja/editor.json +15 -3
- package/locales/ko/editor.json +233 -31
- package/locales/pt-BR/editor.json +1208 -0
- package/locales/pt-BR/infotips.json +23 -0
- package/locales/pt-BR/jsonata.json +274 -0
- package/locales/ru/editor.json +2 -0
- package/locales/zh-CN/editor.json +1175 -1049
- package/locales/zh-TW/editor.json +3 -0
- package/package.json +1 -1
- package/public/red/about +85 -1
- package/public/red/red.js +1250 -1092
- package/public/red/red.min.js +3 -3
- package/public/red/style.min.css +1 -1
- package/public/red/tours/3.0/welcome.js +6 -6
- package/public/red/tours/images/node-help.png +0 -0
- package/public/red/tours/images/tab-changes.png +0 -0
- package/public/red/tours/welcome.js +82 -7
- package/public/types/node/assert/strict.d.ts +11 -0
- package/public/types/node/assert.d.ts +898 -64
- package/public/types/node/async_hooks.d.ts +362 -94
- package/public/types/node/buffer.d.ts +2158 -14
- package/public/types/node/child_process.d.ts +1109 -257
- package/public/types/node/cluster.d.ts +349 -200
- package/public/types/node/console.d.ts +313 -43
- package/public/types/node/crypto.d.ts +3338 -658
- package/public/types/node/dgram.d.ts +459 -58
- package/public/types/node/diagnostics_channel.d.ts +155 -0
- package/public/types/node/dns/promises.d.ts +371 -0
- package/public/types/node/dns.d.ts +532 -265
- package/public/types/node/domain.d.ts +159 -16
- package/public/types/node/events.d.ts +589 -30
- package/public/types/node/fs/promises.d.ts +1097 -0
- package/public/types/node/fs.d.ts +2484 -958
- package/public/types/node/globals.d.ts +44 -504
- package/public/types/node/http.d.ts +1156 -145
- package/public/types/node/http2.d.ts +1610 -470
- package/public/types/node/https.d.ts +462 -72
- package/public/types/node/module.d.ts +72 -13
- package/public/types/node/net.d.ts +663 -131
- package/public/types/node/os.d.ts +238 -25
- package/public/types/node/path.d.ts +57 -23
- package/public/types/node/perf_hooks.d.ts +424 -112
- package/public/types/node/process.d.ts +1261 -193
- package/public/types/node/querystring.d.ts +107 -7
- package/public/types/node/readline.d.ts +443 -74
- package/public/types/node/stream/consumers.d.ts +15 -0
- package/public/types/node/stream/promises.d.ts +45 -0
- package/public/types/node/stream/web.d.ts +395 -0
- package/public/types/node/stream.d.ts +1180 -177
- package/public/types/node/string_decoder.d.ts +57 -0
- package/public/types/node/test.d.ts +193 -0
- package/public/types/node/timers/promises.d.ts +96 -0
- package/public/types/node/timers.d.ts +87 -12
- package/public/types/node/tls.d.ts +457 -222
- package/public/types/node/trace_events.d.ts +107 -10
- package/public/types/node/tty.d.ts +158 -23
- package/public/types/node/url.d.ts +734 -28
- package/public/types/node/util.d.ts +1542 -164
- package/public/types/node/v8.d.ts +261 -73
- package/public/types/node/vm.d.ts +384 -32
- package/public/types/node/wasi.d.ts +92 -23
- package/public/types/node/worker_threads.d.ts +531 -123
- package/public/types/node/zlib.d.ts +216 -63
- package/public/types/node-red/func.d.ts +2 -3
- package/public/vendor/jquery/css/base/images/ui-icons_444444_256x240.png +0 -0
- package/public/vendor/jquery/css/base/images/ui-icons_555555_256x240.png +0 -0
- package/public/vendor/jquery/css/base/images/ui-icons_777620_256x240.png +0 -0
- package/public/vendor/jquery/css/base/images/ui-icons_777777_256x240.png +0 -0
- package/public/vendor/jquery/css/base/images/ui-icons_cc0000_256x240.png +0 -0
- package/public/vendor/jquery/css/base/images/ui-icons_ffffff_256x240.png +0 -0
- package/public/vendor/jquery/css/base/jquery-ui.min.css +4 -4
- package/public/vendor/mermaid/mermaid.min.js +713 -417
- package/public/vendor/monaco/dist/{ade705761eb7e702770d.ttf → 7064e66c3890a12c47b4.ttf} +0 -0
- package/public/vendor/monaco/dist/css.worker.js +1 -1
- package/public/vendor/monaco/dist/css.worker.js.LICENSE.txt +1 -1
- package/public/vendor/monaco/dist/editor.js +29 -1
- package/public/vendor/monaco/dist/editor.js.LICENSE.txt +5 -1
- package/public/vendor/monaco/dist/editor.worker.js +1 -1
- package/public/vendor/monaco/dist/fa2cc0ab9f0bec2b3365.ttf +0 -0
- package/public/vendor/monaco/dist/html.worker.js +1 -1
- package/public/vendor/monaco/dist/html.worker.js.LICENSE.txt +1 -1
- package/public/vendor/monaco/dist/json.worker.js +1 -1
- package/public/vendor/monaco/dist/json.worker.js.LICENSE.txt +1 -1
- package/public/vendor/monaco/dist/locale/cs.js +393 -84
- package/public/vendor/monaco/dist/locale/de.js +397 -88
- package/public/vendor/monaco/dist/locale/es.js +392 -83
- package/public/vendor/monaco/dist/locale/fr.js +401 -92
- package/public/vendor/monaco/dist/locale/it.js +399 -90
- package/public/vendor/monaco/dist/locale/ja.js +411 -102
- package/public/vendor/monaco/dist/locale/ko.js +398 -89
- package/public/vendor/monaco/dist/locale/pl.js +396 -87
- package/public/vendor/monaco/dist/locale/pt-br.js +397 -88
- package/public/vendor/monaco/dist/locale/qps-ploc.js +1643 -1334
- package/public/vendor/monaco/dist/locale/ru.js +398 -89
- package/public/vendor/monaco/dist/locale/tr.js +400 -91
- package/public/vendor/monaco/dist/locale/zh-hans.js +403 -94
- package/public/vendor/monaco/dist/locale/zh-hant.js +395 -86
- package/public/vendor/monaco/dist/theme/forge-dark.json +213 -0
- package/public/vendor/monaco/dist/theme/forge-light.json +227 -0
- package/public/vendor/monaco/dist/theme/forge.json +236 -0
- package/public/vendor/monaco/dist/theme/github-dark.json +348 -0
- package/public/vendor/monaco/dist/theme/github-light.json +348 -0
- package/public/vendor/monaco/dist/theme/nord.json +93 -0
- package/public/vendor/monaco/dist/ts.worker.js +6 -1
- package/public/vendor/monaco/dist/ts.worker.js.LICENSE.txt +14 -6
- package/public/vendor/vendor.js +6 -13
|
@@ -1,9 +1,100 @@
|
|
|
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 `zlib` module provides compression functionality implemented using Gzip,
|
|
6
|
+
* Deflate/Inflate, and Brotli.
|
|
7
|
+
*
|
|
8
|
+
* To access it:
|
|
9
|
+
*
|
|
10
|
+
* ```js
|
|
11
|
+
* const zlib = require('zlib');
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* Compression and decompression are built around the Node.js `Streams API`.
|
|
15
|
+
*
|
|
16
|
+
* Compressing or decompressing a stream (such as a file) can be accomplished by
|
|
17
|
+
* piping the source stream through a `zlib` `Transform` stream into a destination
|
|
18
|
+
* stream:
|
|
19
|
+
*
|
|
20
|
+
* ```js
|
|
21
|
+
* const { createGzip } = require('zlib');
|
|
22
|
+
* const { pipeline } = require('stream');
|
|
23
|
+
* const {
|
|
24
|
+
* createReadStream,
|
|
25
|
+
* createWriteStream
|
|
26
|
+
* } = require('fs');
|
|
27
|
+
*
|
|
28
|
+
* const gzip = createGzip();
|
|
29
|
+
* const source = createReadStream('input.txt');
|
|
30
|
+
* const destination = createWriteStream('input.txt.gz');
|
|
31
|
+
*
|
|
32
|
+
* pipeline(source, gzip, destination, (err) => {
|
|
33
|
+
* if (err) {
|
|
34
|
+
* console.error('An error occurred:', err);
|
|
35
|
+
* process.exitCode = 1;
|
|
36
|
+
* }
|
|
37
|
+
* });
|
|
38
|
+
*
|
|
39
|
+
* // Or, Promisified
|
|
40
|
+
*
|
|
41
|
+
* const { promisify } = require('util');
|
|
42
|
+
* const pipe = promisify(pipeline);
|
|
43
|
+
*
|
|
44
|
+
* async function do_gzip(input, output) {
|
|
45
|
+
* const gzip = createGzip();
|
|
46
|
+
* const source = createReadStream(input);
|
|
47
|
+
* const destination = createWriteStream(output);
|
|
48
|
+
* await pipe(source, gzip, destination);
|
|
49
|
+
* }
|
|
50
|
+
*
|
|
51
|
+
* do_gzip('input.txt', 'input.txt.gz')
|
|
52
|
+
* .catch((err) => {
|
|
53
|
+
* console.error('An error occurred:', err);
|
|
54
|
+
* process.exitCode = 1;
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* It is also possible to compress or decompress data in a single step:
|
|
59
|
+
*
|
|
60
|
+
* ```js
|
|
61
|
+
* const { deflate, unzip } = require('zlib');
|
|
62
|
+
*
|
|
63
|
+
* const input = '.................................';
|
|
64
|
+
* deflate(input, (err, buffer) => {
|
|
65
|
+
* if (err) {
|
|
66
|
+
* console.error('An error occurred:', err);
|
|
67
|
+
* process.exitCode = 1;
|
|
68
|
+
* }
|
|
69
|
+
* console.log(buffer.toString('base64'));
|
|
70
|
+
* });
|
|
71
|
+
*
|
|
72
|
+
* const buffer = Buffer.from('eJzT0yMAAGTvBe8=', 'base64');
|
|
73
|
+
* unzip(buffer, (err, buffer) => {
|
|
74
|
+
* if (err) {
|
|
75
|
+
* console.error('An error occurred:', err);
|
|
76
|
+
* process.exitCode = 1;
|
|
77
|
+
* }
|
|
78
|
+
* console.log(buffer.toString());
|
|
79
|
+
* });
|
|
80
|
+
*
|
|
81
|
+
* // Or, Promisified
|
|
82
|
+
*
|
|
83
|
+
* const { promisify } = require('util');
|
|
84
|
+
* const do_unzip = promisify(unzip);
|
|
85
|
+
*
|
|
86
|
+
* do_unzip(buffer)
|
|
87
|
+
* .then((buf) => console.log(buf.toString()))
|
|
88
|
+
* .catch((err) => {
|
|
89
|
+
* console.error('An error occurred:', err);
|
|
90
|
+
* process.exitCode = 1;
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
93
|
+
* @since v0.5.8
|
|
94
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/zlib.js)
|
|
95
|
+
*/
|
|
4
96
|
declare module 'zlib' {
|
|
5
|
-
import * as stream from 'stream';
|
|
6
|
-
|
|
97
|
+
import * as stream from 'node:stream';
|
|
7
98
|
interface ZlibOptions {
|
|
8
99
|
/**
|
|
9
100
|
* @default constants.Z_NO_FLUSH
|
|
@@ -25,7 +116,6 @@ declare module 'zlib' {
|
|
|
25
116
|
info?: boolean | undefined;
|
|
26
117
|
maxOutputLength?: number | undefined;
|
|
27
118
|
}
|
|
28
|
-
|
|
29
119
|
interface BrotliOptions {
|
|
30
120
|
/**
|
|
31
121
|
* @default constants.BROTLI_OPERATION_PROCESS
|
|
@@ -39,15 +129,16 @@ declare module 'zlib' {
|
|
|
39
129
|
* @default 16*1024
|
|
40
130
|
*/
|
|
41
131
|
chunkSize?: number | undefined;
|
|
42
|
-
params?:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
132
|
+
params?:
|
|
133
|
+
| {
|
|
134
|
+
/**
|
|
135
|
+
* Each key is a `constants.BROTLI_*` constant.
|
|
136
|
+
*/
|
|
137
|
+
[key: number]: boolean | number;
|
|
138
|
+
}
|
|
139
|
+
| undefined;
|
|
48
140
|
maxOutputLength?: number | undefined;
|
|
49
141
|
}
|
|
50
|
-
|
|
51
142
|
interface Zlib {
|
|
52
143
|
/** @deprecated Use bytesWritten instead. */
|
|
53
144
|
readonly bytesRead: number;
|
|
@@ -57,111 +148,192 @@ declare module 'zlib' {
|
|
|
57
148
|
flush(kind?: number, callback?: () => void): void;
|
|
58
149
|
flush(callback?: () => void): void;
|
|
59
150
|
}
|
|
60
|
-
|
|
61
151
|
interface ZlibParams {
|
|
62
152
|
params(level: number, strategy: number, callback: () => void): void;
|
|
63
153
|
}
|
|
64
|
-
|
|
65
154
|
interface ZlibReset {
|
|
66
155
|
reset(): void;
|
|
67
156
|
}
|
|
68
|
-
|
|
69
|
-
interface
|
|
70
|
-
interface
|
|
71
|
-
interface
|
|
72
|
-
interface
|
|
73
|
-
interface
|
|
74
|
-
interface
|
|
75
|
-
interface
|
|
76
|
-
interface
|
|
77
|
-
|
|
78
|
-
|
|
157
|
+
interface BrotliCompress extends stream.Transform, Zlib {}
|
|
158
|
+
interface BrotliDecompress extends stream.Transform, Zlib {}
|
|
159
|
+
interface Gzip extends stream.Transform, Zlib {}
|
|
160
|
+
interface Gunzip extends stream.Transform, Zlib {}
|
|
161
|
+
interface Deflate extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
|
|
162
|
+
interface Inflate extends stream.Transform, Zlib, ZlibReset {}
|
|
163
|
+
interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
|
|
164
|
+
interface InflateRaw extends stream.Transform, Zlib, ZlibReset {}
|
|
165
|
+
interface Unzip extends stream.Transform, Zlib {}
|
|
166
|
+
/**
|
|
167
|
+
* Creates and returns a new `BrotliCompress` object.
|
|
168
|
+
* @since v11.7.0, v10.16.0
|
|
169
|
+
*/
|
|
79
170
|
function createBrotliCompress(options?: BrotliOptions): BrotliCompress;
|
|
171
|
+
/**
|
|
172
|
+
* Creates and returns a new `BrotliDecompress` object.
|
|
173
|
+
* @since v11.7.0, v10.16.0
|
|
174
|
+
*/
|
|
80
175
|
function createBrotliDecompress(options?: BrotliOptions): BrotliDecompress;
|
|
176
|
+
/**
|
|
177
|
+
* Creates and returns a new `Gzip` object.
|
|
178
|
+
* See `example`.
|
|
179
|
+
* @since v0.5.8
|
|
180
|
+
*/
|
|
81
181
|
function createGzip(options?: ZlibOptions): Gzip;
|
|
182
|
+
/**
|
|
183
|
+
* Creates and returns a new `Gunzip` object.
|
|
184
|
+
* @since v0.5.8
|
|
185
|
+
*/
|
|
82
186
|
function createGunzip(options?: ZlibOptions): Gunzip;
|
|
187
|
+
/**
|
|
188
|
+
* Creates and returns a new `Deflate` object.
|
|
189
|
+
* @since v0.5.8
|
|
190
|
+
*/
|
|
83
191
|
function createDeflate(options?: ZlibOptions): Deflate;
|
|
192
|
+
/**
|
|
193
|
+
* Creates and returns a new `Inflate` object.
|
|
194
|
+
* @since v0.5.8
|
|
195
|
+
*/
|
|
84
196
|
function createInflate(options?: ZlibOptions): Inflate;
|
|
197
|
+
/**
|
|
198
|
+
* Creates and returns a new `DeflateRaw` object.
|
|
199
|
+
*
|
|
200
|
+
* An upgrade of zlib from 1.2.8 to 1.2.11 changed behavior when `windowBits`is set to 8 for raw deflate streams. zlib would automatically set `windowBits`to 9 if was initially set to 8\. Newer
|
|
201
|
+
* versions of zlib will throw an exception,
|
|
202
|
+
* so Node.js restored the original behavior of upgrading a value of 8 to 9,
|
|
203
|
+
* since passing `windowBits = 9` to zlib actually results in a compressed stream
|
|
204
|
+
* that effectively uses an 8-bit window only.
|
|
205
|
+
* @since v0.5.8
|
|
206
|
+
*/
|
|
85
207
|
function createDeflateRaw(options?: ZlibOptions): DeflateRaw;
|
|
208
|
+
/**
|
|
209
|
+
* Creates and returns a new `InflateRaw` object.
|
|
210
|
+
* @since v0.5.8
|
|
211
|
+
*/
|
|
86
212
|
function createInflateRaw(options?: ZlibOptions): InflateRaw;
|
|
213
|
+
/**
|
|
214
|
+
* Creates and returns a new `Unzip` object.
|
|
215
|
+
* @since v0.5.8
|
|
216
|
+
*/
|
|
87
217
|
function createUnzip(options?: ZlibOptions): Unzip;
|
|
88
|
-
|
|
89
218
|
type InputType = string | ArrayBuffer | NodeJS.ArrayBufferView;
|
|
90
|
-
|
|
91
219
|
type CompressCallback = (error: Error | null, result: Buffer) => void;
|
|
92
|
-
|
|
220
|
+
/**
|
|
221
|
+
* @since v11.7.0, v10.16.0
|
|
222
|
+
*/
|
|
93
223
|
function brotliCompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
|
|
94
224
|
function brotliCompress(buf: InputType, callback: CompressCallback): void;
|
|
95
225
|
namespace brotliCompress {
|
|
96
226
|
function __promisify__(buffer: InputType, options?: BrotliOptions): Promise<Buffer>;
|
|
97
227
|
}
|
|
98
|
-
|
|
228
|
+
/**
|
|
229
|
+
* Compress a chunk of data with `BrotliCompress`.
|
|
230
|
+
* @since v11.7.0, v10.16.0
|
|
231
|
+
*/
|
|
99
232
|
function brotliCompressSync(buf: InputType, options?: BrotliOptions): Buffer;
|
|
100
|
-
|
|
233
|
+
/**
|
|
234
|
+
* @since v11.7.0, v10.16.0
|
|
235
|
+
*/
|
|
101
236
|
function brotliDecompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
|
|
102
237
|
function brotliDecompress(buf: InputType, callback: CompressCallback): void;
|
|
103
238
|
namespace brotliDecompress {
|
|
104
239
|
function __promisify__(buffer: InputType, options?: BrotliOptions): Promise<Buffer>;
|
|
105
240
|
}
|
|
106
|
-
|
|
241
|
+
/**
|
|
242
|
+
* Decompress a chunk of data with `BrotliDecompress`.
|
|
243
|
+
* @since v11.7.0, v10.16.0
|
|
244
|
+
*/
|
|
107
245
|
function brotliDecompressSync(buf: InputType, options?: BrotliOptions): Buffer;
|
|
108
|
-
|
|
246
|
+
/**
|
|
247
|
+
* @since v0.6.0
|
|
248
|
+
*/
|
|
109
249
|
function deflate(buf: InputType, callback: CompressCallback): void;
|
|
110
250
|
function deflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
111
251
|
namespace deflate {
|
|
112
252
|
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
113
253
|
}
|
|
114
|
-
|
|
254
|
+
/**
|
|
255
|
+
* Compress a chunk of data with `Deflate`.
|
|
256
|
+
* @since v0.11.12
|
|
257
|
+
*/
|
|
115
258
|
function deflateSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
116
|
-
|
|
259
|
+
/**
|
|
260
|
+
* @since v0.6.0
|
|
261
|
+
*/
|
|
117
262
|
function deflateRaw(buf: InputType, callback: CompressCallback): void;
|
|
118
263
|
function deflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
119
264
|
namespace deflateRaw {
|
|
120
265
|
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
121
266
|
}
|
|
122
|
-
|
|
267
|
+
/**
|
|
268
|
+
* Compress a chunk of data with `DeflateRaw`.
|
|
269
|
+
* @since v0.11.12
|
|
270
|
+
*/
|
|
123
271
|
function deflateRawSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
124
|
-
|
|
272
|
+
/**
|
|
273
|
+
* @since v0.6.0
|
|
274
|
+
*/
|
|
125
275
|
function gzip(buf: InputType, callback: CompressCallback): void;
|
|
126
276
|
function gzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
127
277
|
namespace gzip {
|
|
128
278
|
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
129
279
|
}
|
|
130
|
-
|
|
280
|
+
/**
|
|
281
|
+
* Compress a chunk of data with `Gzip`.
|
|
282
|
+
* @since v0.11.12
|
|
283
|
+
*/
|
|
131
284
|
function gzipSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
132
|
-
|
|
285
|
+
/**
|
|
286
|
+
* @since v0.6.0
|
|
287
|
+
*/
|
|
133
288
|
function gunzip(buf: InputType, callback: CompressCallback): void;
|
|
134
289
|
function gunzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
135
290
|
namespace gunzip {
|
|
136
291
|
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
137
292
|
}
|
|
138
|
-
|
|
293
|
+
/**
|
|
294
|
+
* Decompress a chunk of data with `Gunzip`.
|
|
295
|
+
* @since v0.11.12
|
|
296
|
+
*/
|
|
139
297
|
function gunzipSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
140
|
-
|
|
298
|
+
/**
|
|
299
|
+
* @since v0.6.0
|
|
300
|
+
*/
|
|
141
301
|
function inflate(buf: InputType, callback: CompressCallback): void;
|
|
142
302
|
function inflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
143
303
|
namespace inflate {
|
|
144
304
|
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
145
305
|
}
|
|
146
|
-
|
|
306
|
+
/**
|
|
307
|
+
* Decompress a chunk of data with `Inflate`.
|
|
308
|
+
* @since v0.11.12
|
|
309
|
+
*/
|
|
147
310
|
function inflateSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
148
|
-
|
|
311
|
+
/**
|
|
312
|
+
* @since v0.6.0
|
|
313
|
+
*/
|
|
149
314
|
function inflateRaw(buf: InputType, callback: CompressCallback): void;
|
|
150
315
|
function inflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
151
316
|
namespace inflateRaw {
|
|
152
317
|
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
153
318
|
}
|
|
154
|
-
|
|
319
|
+
/**
|
|
320
|
+
* Decompress a chunk of data with `InflateRaw`.
|
|
321
|
+
* @since v0.11.12
|
|
322
|
+
*/
|
|
155
323
|
function inflateRawSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
156
|
-
|
|
324
|
+
/**
|
|
325
|
+
* @since v0.6.0
|
|
326
|
+
*/
|
|
157
327
|
function unzip(buf: InputType, callback: CompressCallback): void;
|
|
158
328
|
function unzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
159
329
|
namespace unzip {
|
|
160
330
|
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
161
331
|
}
|
|
162
|
-
|
|
332
|
+
/**
|
|
333
|
+
* Decompress a chunk of data with `Unzip`.
|
|
334
|
+
* @since v0.11.12
|
|
335
|
+
*/
|
|
163
336
|
function unzipSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
164
|
-
|
|
165
337
|
namespace constants {
|
|
166
338
|
const BROTLI_DECODE: number;
|
|
167
339
|
const BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: number;
|
|
@@ -199,7 +371,6 @@ declare module 'zlib' {
|
|
|
199
371
|
const BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: number;
|
|
200
372
|
const BROTLI_DECODER_RESULT_SUCCESS: number;
|
|
201
373
|
const BROTLI_DECODER_SUCCESS: number;
|
|
202
|
-
|
|
203
374
|
const BROTLI_DEFAULT_MODE: number;
|
|
204
375
|
const BROTLI_DEFAULT_QUALITY: number;
|
|
205
376
|
const BROTLI_DEFAULT_WINDOW: number;
|
|
@@ -211,16 +382,13 @@ declare module 'zlib' {
|
|
|
211
382
|
const BROTLI_MIN_INPUT_BLOCK_BITS: number;
|
|
212
383
|
const BROTLI_MIN_QUALITY: number;
|
|
213
384
|
const BROTLI_MIN_WINDOW_BITS: number;
|
|
214
|
-
|
|
215
385
|
const BROTLI_MODE_FONT: number;
|
|
216
386
|
const BROTLI_MODE_GENERIC: number;
|
|
217
387
|
const BROTLI_MODE_TEXT: number;
|
|
218
|
-
|
|
219
388
|
const BROTLI_OPERATION_EMIT_METADATA: number;
|
|
220
389
|
const BROTLI_OPERATION_FINISH: number;
|
|
221
390
|
const BROTLI_OPERATION_FLUSH: number;
|
|
222
391
|
const BROTLI_OPERATION_PROCESS: number;
|
|
223
|
-
|
|
224
392
|
const BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: number;
|
|
225
393
|
const BROTLI_PARAM_LARGE_WINDOW: number;
|
|
226
394
|
const BROTLI_PARAM_LGBLOCK: number;
|
|
@@ -230,7 +398,6 @@ declare module 'zlib' {
|
|
|
230
398
|
const BROTLI_PARAM_NPOSTFIX: number;
|
|
231
399
|
const BROTLI_PARAM_QUALITY: number;
|
|
232
400
|
const BROTLI_PARAM_SIZE_HINT: number;
|
|
233
|
-
|
|
234
401
|
const DEFLATE: number;
|
|
235
402
|
const DEFLATERAW: number;
|
|
236
403
|
const GUNZIP: number;
|
|
@@ -238,7 +405,6 @@ declare module 'zlib' {
|
|
|
238
405
|
const INFLATE: number;
|
|
239
406
|
const INFLATERAW: number;
|
|
240
407
|
const UNZIP: number;
|
|
241
|
-
|
|
242
408
|
// Allowed flush values.
|
|
243
409
|
const Z_NO_FLUSH: number;
|
|
244
410
|
const Z_PARTIAL_FLUSH: number;
|
|
@@ -247,7 +413,6 @@ declare module 'zlib' {
|
|
|
247
413
|
const Z_FINISH: number;
|
|
248
414
|
const Z_BLOCK: number;
|
|
249
415
|
const Z_TREES: number;
|
|
250
|
-
|
|
251
416
|
// Return codes for the compression/decompression functions.
|
|
252
417
|
// Negative values are errors, positive values are used for special but normal events.
|
|
253
418
|
const Z_OK: number;
|
|
@@ -259,39 +424,31 @@ declare module 'zlib' {
|
|
|
259
424
|
const Z_MEM_ERROR: number;
|
|
260
425
|
const Z_BUF_ERROR: number;
|
|
261
426
|
const Z_VERSION_ERROR: number;
|
|
262
|
-
|
|
263
427
|
// Compression levels.
|
|
264
428
|
const Z_NO_COMPRESSION: number;
|
|
265
429
|
const Z_BEST_SPEED: number;
|
|
266
430
|
const Z_BEST_COMPRESSION: number;
|
|
267
431
|
const Z_DEFAULT_COMPRESSION: number;
|
|
268
|
-
|
|
269
432
|
// Compression strategy.
|
|
270
433
|
const Z_FILTERED: number;
|
|
271
434
|
const Z_HUFFMAN_ONLY: number;
|
|
272
435
|
const Z_RLE: number;
|
|
273
436
|
const Z_FIXED: number;
|
|
274
437
|
const Z_DEFAULT_STRATEGY: number;
|
|
275
|
-
|
|
276
438
|
const Z_DEFAULT_WINDOWBITS: number;
|
|
277
439
|
const Z_MIN_WINDOWBITS: number;
|
|
278
440
|
const Z_MAX_WINDOWBITS: number;
|
|
279
|
-
|
|
280
441
|
const Z_MIN_CHUNK: number;
|
|
281
442
|
const Z_MAX_CHUNK: number;
|
|
282
443
|
const Z_DEFAULT_CHUNK: number;
|
|
283
|
-
|
|
284
444
|
const Z_MIN_MEMLEVEL: number;
|
|
285
445
|
const Z_MAX_MEMLEVEL: number;
|
|
286
446
|
const Z_DEFAULT_MEMLEVEL: number;
|
|
287
|
-
|
|
288
447
|
const Z_MIN_LEVEL: number;
|
|
289
448
|
const Z_MAX_LEVEL: number;
|
|
290
449
|
const Z_DEFAULT_LEVEL: number;
|
|
291
|
-
|
|
292
450
|
const ZLIB_VERNUM: number;
|
|
293
451
|
}
|
|
294
|
-
|
|
295
452
|
// Allowed flush values.
|
|
296
453
|
/** @deprecated Use `constants.Z_NO_FLUSH` */
|
|
297
454
|
const Z_NO_FLUSH: number;
|
|
@@ -307,7 +464,6 @@ declare module 'zlib' {
|
|
|
307
464
|
const Z_BLOCK: number;
|
|
308
465
|
/** @deprecated Use `constants.Z_TREES` */
|
|
309
466
|
const Z_TREES: number;
|
|
310
|
-
|
|
311
467
|
// Return codes for the compression/decompression functions.
|
|
312
468
|
// Negative values are errors, positive values are used for special but normal events.
|
|
313
469
|
/** @deprecated Use `constants.Z_OK` */
|
|
@@ -328,7 +484,6 @@ declare module 'zlib' {
|
|
|
328
484
|
const Z_BUF_ERROR: number;
|
|
329
485
|
/** @deprecated Use `constants.Z_VERSION_ERROR` */
|
|
330
486
|
const Z_VERSION_ERROR: number;
|
|
331
|
-
|
|
332
487
|
// Compression levels.
|
|
333
488
|
/** @deprecated Use `constants.Z_NO_COMPRESSION` */
|
|
334
489
|
const Z_NO_COMPRESSION: number;
|
|
@@ -338,7 +493,6 @@ declare module 'zlib' {
|
|
|
338
493
|
const Z_BEST_COMPRESSION: number;
|
|
339
494
|
/** @deprecated Use `constants.Z_DEFAULT_COMPRESSION` */
|
|
340
495
|
const Z_DEFAULT_COMPRESSION: number;
|
|
341
|
-
|
|
342
496
|
// Compression strategy.
|
|
343
497
|
/** @deprecated Use `constants.Z_FILTERED` */
|
|
344
498
|
const Z_FILTERED: number;
|
|
@@ -350,7 +504,6 @@ declare module 'zlib' {
|
|
|
350
504
|
const Z_FIXED: number;
|
|
351
505
|
/** @deprecated Use `constants.Z_DEFAULT_STRATEGY` */
|
|
352
506
|
const Z_DEFAULT_STRATEGY: number;
|
|
353
|
-
|
|
354
507
|
/** @deprecated */
|
|
355
508
|
const Z_BINARY: number;
|
|
356
509
|
/** @deprecated */
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/
|
|
3
|
-
|
|
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 */
|
|
4
3
|
|
|
5
4
|
interface NodeMessage {
|
|
6
5
|
topic?: string;
|
|
@@ -281,5 +280,5 @@ declare class env {
|
|
|
281
280
|
* @example
|
|
282
281
|
* ```const flowName = env.get("NR_FLOW_NAME");```
|
|
283
282
|
*/
|
|
284
|
-
static get(name:string) :
|
|
283
|
+
static get(name:string) :any;
|
|
285
284
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|