@gjsify/buffer 0.0.3 → 0.1.0

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/test.node.mjs DELETED
@@ -1,439 +0,0 @@
1
- // ../../../node_modules/@girs/gjs/gjs.js
2
- var imports = globalThis.imports || {};
3
-
4
- // ../../gjs/unit/lib/esm/index.js
5
- import nodeAssert from "assert";
6
- var mainloop = globalThis?.imports?.mainloop;
7
- var countTestsOverall = 0;
8
- var countTestsFailed = 0;
9
- var countTestsIgnored = 0;
10
- var runtime = "";
11
- var RED = "\x1B[31m";
12
- var GREEN = "\x1B[32m";
13
- var BLUE = "\x1B[34m";
14
- var GRAY = "\x1B[90m";
15
- var RESET = "\x1B[39m";
16
- var print = globalThis.print || console.log;
17
- var MatcherFactory = class {
18
- constructor(actualValue, positive, negated) {
19
- this.actualValue = actualValue;
20
- this.positive = positive;
21
- if (negated) {
22
- this.not = negated;
23
- } else {
24
- this.not = new MatcherFactory(actualValue, !positive, this);
25
- }
26
- }
27
- not;
28
- triggerResult(success, msg) {
29
- if (success && !this.positive || !success && this.positive) {
30
- ++countTestsFailed;
31
- throw new Error(msg);
32
- }
33
- }
34
- to(callback) {
35
- this.triggerResult(
36
- callback(this.actualValue),
37
- ` Expected callback to validate`
38
- );
39
- }
40
- toBe(expectedValue) {
41
- this.triggerResult(
42
- this.actualValue === expectedValue,
43
- ` Expected values to match using ===
44
- Expected: ${expectedValue} (${typeof expectedValue})
45
- Actual: ${this.actualValue} (${typeof this.actualValue})`
46
- );
47
- }
48
- toEqual(expectedValue) {
49
- this.triggerResult(
50
- this.actualValue == expectedValue,
51
- ` Expected values to match using ==
52
- Expected: ${expectedValue} (${typeof expectedValue})
53
- Actual: ${this.actualValue} (${typeof this.actualValue})`
54
- );
55
- }
56
- toEqualArray(expectedValue) {
57
- let success = Array.isArray(this.actualValue) && Array.isArray(expectedValue) && this.actualValue.length === expectedValue.length;
58
- for (let i = 0; i < this.actualValue.length; i++) {
59
- const actualVal = this.actualValue[i];
60
- const expectedVal = expectedValue[i];
61
- success = actualVal == expectedVal;
62
- if (!success)
63
- break;
64
- }
65
- this.triggerResult(
66
- success,
67
- ` Expected array items to match using ==
68
- Expected: ${expectedValue} (${typeof expectedValue})
69
- Actual: ${this.actualValue} (${typeof this.actualValue})`
70
- );
71
- }
72
- toMatch(expectedValue) {
73
- if (typeof this.actualValue.match !== "function") {
74
- throw new Error(`You can not use toMatch on type ${typeof this.actualValue}`);
75
- }
76
- this.triggerResult(
77
- !!this.actualValue.match(expectedValue),
78
- " Expected values to match using regular expression\n Expression: " + expectedValue + "\n Actual: " + this.actualValue
79
- );
80
- }
81
- toBeDefined() {
82
- this.triggerResult(
83
- typeof this.actualValue !== "undefined",
84
- ` Expected value to be defined`
85
- );
86
- }
87
- toBeUndefined() {
88
- this.triggerResult(
89
- typeof this.actualValue === "undefined",
90
- ` Expected value to be undefined`
91
- );
92
- }
93
- toBeNull() {
94
- this.triggerResult(
95
- this.actualValue === null,
96
- ` Expected value to be null`
97
- );
98
- }
99
- toBeTruthy() {
100
- this.triggerResult(
101
- this.actualValue,
102
- ` Expected value to be truthy`
103
- );
104
- }
105
- toBeFalsy() {
106
- this.triggerResult(
107
- !this.actualValue,
108
- ` Expected value to be falsy`
109
- );
110
- }
111
- toContain(needle) {
112
- this.triggerResult(
113
- this.actualValue instanceof Array && this.actualValue.indexOf(needle) !== -1,
114
- ` Expected ` + this.actualValue + ` to contain ` + needle
115
- );
116
- }
117
- toBeLessThan(greaterValue) {
118
- this.triggerResult(
119
- this.actualValue < greaterValue,
120
- ` Expected ` + this.actualValue + ` to be less than ` + greaterValue
121
- );
122
- }
123
- toBeGreaterThan(smallerValue) {
124
- this.triggerResult(
125
- this.actualValue > smallerValue,
126
- ` Expected ` + this.actualValue + ` to be greater than ` + smallerValue
127
- );
128
- }
129
- toBeCloseTo(expectedValue, precision) {
130
- const shiftHelper = Math.pow(10, precision);
131
- this.triggerResult(
132
- Math.round(this.actualValue * shiftHelper) / shiftHelper === Math.round(expectedValue * shiftHelper) / shiftHelper,
133
- ` Expected ` + this.actualValue + ` with precision ` + precision + ` to be close to ` + expectedValue
134
- );
135
- }
136
- toThrow(ErrorType) {
137
- let errorMessage = "";
138
- let didThrow = false;
139
- let typeMatch = true;
140
- try {
141
- this.actualValue();
142
- didThrow = false;
143
- } catch (e) {
144
- errorMessage = e.message || "";
145
- didThrow = true;
146
- if (ErrorType) {
147
- typeMatch = e instanceof ErrorType;
148
- }
149
- }
150
- const functionName = this.actualValue.name || typeof this.actualValue === "function" ? "[anonymous function]" : this.actualValue.toString();
151
- this.triggerResult(
152
- didThrow,
153
- ` Expected ${functionName} to ${this.positive ? "throw" : "not throw"} an exception ${!this.positive && errorMessage ? `, but an error with the message "${errorMessage}" was thrown` : ""}`
154
- );
155
- if (ErrorType) {
156
- this.triggerResult(
157
- typeMatch,
158
- ` Expected Error type '${ErrorType.name}', but the error is not an instance of it`
159
- );
160
- }
161
- }
162
- };
163
- var describe = async function(moduleName, callback) {
164
- print("\n" + moduleName);
165
- await callback();
166
- beforeEachCb = null;
167
- afterEachCb = null;
168
- };
169
- var beforeEachCb;
170
- var afterEachCb;
171
- var it = async function(expectation, callback) {
172
- try {
173
- if (typeof beforeEachCb === "function") {
174
- await beforeEachCb();
175
- }
176
- await callback();
177
- if (typeof afterEachCb === "function") {
178
- await afterEachCb();
179
- }
180
- print(` ${GREEN}\u2714${RESET} ${GRAY}${expectation}${RESET}`);
181
- } catch (e) {
182
- print(` ${RED}\u274C${RESET} ${GRAY}${expectation}${RESET}`);
183
- print(`${RED}${e.message}${RESET}`);
184
- if (e.stack)
185
- print(e.stack);
186
- }
187
- };
188
- var expect = function(actualValue) {
189
- ++countTestsOverall;
190
- const expecter = new MatcherFactory(actualValue, true);
191
- return expecter;
192
- };
193
- var assert = function(success, message) {
194
- ++countTestsOverall;
195
- if (!success) {
196
- ++countTestsFailed;
197
- }
198
- nodeAssert(success, message);
199
- };
200
- assert.strictEqual = function(actual, expected, message) {
201
- ++countTestsOverall;
202
- try {
203
- nodeAssert.strictEqual(actual, expected, message);
204
- } catch (error) {
205
- ++countTestsFailed;
206
- throw error;
207
- }
208
- };
209
- assert.throws = function(promiseFn, ...args) {
210
- ++countTestsOverall;
211
- let error;
212
- try {
213
- promiseFn();
214
- } catch (e) {
215
- error = e;
216
- }
217
- if (!error)
218
- ++countTestsFailed;
219
- nodeAssert.throws(() => {
220
- if (error)
221
- throw error;
222
- }, args[0], args[1]);
223
- };
224
- assert.deepStrictEqual = function(actual, expected, message) {
225
- ++countTestsOverall;
226
- try {
227
- nodeAssert.deepStrictEqual(actual, expected, message);
228
- } catch (error) {
229
- ++countTestsFailed;
230
- throw error;
231
- }
232
- };
233
- var runTests = async function(namespaces) {
234
- for (const subNamespace in namespaces) {
235
- const namespace = namespaces[subNamespace];
236
- if (typeof namespace === "function") {
237
- await namespace();
238
- } else if (typeof namespace === "object") {
239
- await runTests(namespace);
240
- }
241
- }
242
- };
243
- var printResult = () => {
244
- if (countTestsIgnored) {
245
- print(`
246
- ${BLUE}\u2714 ${countTestsIgnored} ignored test${countTestsIgnored > 1 ? "s" : ""}${RESET}`);
247
- }
248
- if (countTestsFailed) {
249
- print(`
250
- ${RED}\u274C ${countTestsFailed} of ${countTestsOverall} tests failed${RESET}`);
251
- } else {
252
- print(`
253
- ${GREEN}\u2714 ${countTestsOverall} completed${RESET}`);
254
- }
255
- };
256
- var getRuntime = async () => {
257
- if (runtime && runtime !== "Unknown") {
258
- return runtime;
259
- }
260
- if (globalThis.Deno?.version?.deno) {
261
- return "Deno " + globalThis.Deno?.version?.deno;
262
- } else {
263
- let process = globalThis.process;
264
- if (!process) {
265
- try {
266
- process = await import("process");
267
- } catch (error) {
268
- console.error(error);
269
- console.warn(error.message);
270
- runtime = "Unknown";
271
- }
272
- }
273
- if (process?.versions?.gjs) {
274
- runtime = "Gjs " + process.versions.gjs;
275
- } else if (process?.versions?.node) {
276
- runtime = "Node.js " + process.versions.node;
277
- }
278
- }
279
- return runtime || "Unknown";
280
- };
281
- var printRuntime = async () => {
282
- const runtime2 = await getRuntime();
283
- print(`
284
- Running on ${runtime2}`);
285
- };
286
- var run = async (namespaces) => {
287
- printRuntime().then(async () => {
288
- return runTests(namespaces).then(() => {
289
- printResult();
290
- print();
291
- mainloop?.quit();
292
- });
293
- });
294
- mainloop?.run();
295
- };
296
-
297
- // src/index.spec.ts
298
- import { Buffer } from "buffer";
299
- var index_spec_default = async () => {
300
- await describe("alloc fails if size is not a number", async () => {
301
- const invalidSizes = [{}, "1", "foo", []];
302
- await it("should throw on non-number size", async () => {
303
- for (const size of invalidSizes) {
304
- expect(() => {
305
- Buffer.alloc(size);
306
- }).toThrow(TypeError);
307
- }
308
- });
309
- });
310
- await describe("alloc allocates a buffer with the expected size", async () => {
311
- const buffer = Buffer.alloc(1);
312
- await it("Buffer size should be 1", async () => {
313
- expect(buffer.length).toBe(1);
314
- });
315
- await it("Content should be filled with 0", async () => {
316
- expect(buffer[0]).toBe(0);
317
- });
318
- });
319
- await describe("alloc(0) creates an empty buffer", async () => {
320
- const buffer = Buffer.alloc(0);
321
- await it("Buffer size should be 0", async () => {
322
- expect(buffer.length).toBe(0);
323
- });
324
- });
325
- await describe("allocUnsafe allocates a buffer with the expected size", async () => {
326
- const buffer = Buffer.allocUnsafe(1);
327
- await it("Buffer size should be 1", async () => {
328
- expect(buffer.length).toBe(1);
329
- });
330
- });
331
- await describe("allocUnsafe(0) creates an empty buffer", async () => {
332
- const buffer = Buffer.allocUnsafe(0);
333
- await it("Buffer size should be 0", async () => {
334
- expect(buffer.length).toBe(0);
335
- });
336
- });
337
- await describe("alloc filled correctly with integer", async () => {
338
- const buffer = Buffer.alloc(3, 5);
339
- await it("Should be equal to `Buffer.from([5, 5, 5])`", async () => {
340
- expect(buffer).toEqualArray(Buffer.from([5, 5, 5]));
341
- });
342
- });
343
- await describe("alloc filled correctly with single character", async () => {
344
- await it("Should be equal to `Buffer.from([97, 97, 97, 97, 97])`", async () => {
345
- expect(Buffer.alloc(5, "a")).toEqualArray(Buffer.from([97, 97, 97, 97, 97]));
346
- });
347
- });
348
- await describe("alloc filled correctly with base64 string", async () => {
349
- await it("Should be equal to `Buffer.from([104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100])`", async () => {
350
- expect(Buffer.alloc(11, "aGVsbG8gd29ybGQ=", "base64")).toEqualArray(Buffer.from([104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100]));
351
- });
352
- });
353
- await describe("alloc filled correctly with hex string", async () => {
354
- await it("Should be equal to `Buffer.from([100, 101, 110, 111])`", async () => {
355
- expect(Buffer.alloc(4, "64656e6f", "hex")).toEqualArray(Buffer.from([100, 101, 110, 111]));
356
- });
357
- });
358
- await describe("alloc filled correctly with hex string smaller than alloc size", async () => {
359
- await it("Should be equal to `denodenodenod`", async () => {
360
- expect(Buffer.alloc(13, "64656e6f", "hex").toString()).toEqual("denodenodenod");
361
- });
362
- });
363
- await describe("alloc filled correctly with Uint8Array smaller than alloc size", async () => {
364
- await it("Should be equal to `Buffer.from([100, 101, 100, 101, 100, 101, 100])`", async () => {
365
- expect(Buffer.alloc(7, new Uint8Array([100, 101]))).toEqualArray(Buffer.from([100, 101, 100, 101, 100, 101, 100]));
366
- });
367
- await it("Should be equal to `Buffer.from([100, 101, 100, 101, 100, 101])`", async () => {
368
- expect(Buffer.alloc(6, new Uint8Array([100, 101]))).toEqualArray(Buffer.from([100, 101, 100, 101, 100, 101]));
369
- });
370
- });
371
- await describe("alloc filled correctly with Uint8Array bigger than alloc size", async () => {
372
- await it("Should be equal to `Buffer.from([100])`", async () => {
373
- expect(Buffer.alloc(1, new Uint8Array([100, 101]))).toEqualArray(Buffer.from([100]));
374
- });
375
- });
376
- await describe("alloc filled correctly with Buffer", async () => {
377
- await it("Should be equal to `Buffer.from([100, 101, 100, 101, 100, 101])`", async () => {
378
- expect(Buffer.alloc(6, Buffer.from([100, 101]))).toEqualArray(Buffer.from([100, 101, 100, 101, 100, 101]));
379
- });
380
- await it("Should be equal to `Buffer.from([100, 101, 100, 101, 100, 101, 100])`", async () => {
381
- expect(Buffer.alloc(7, Buffer.from([100, 101]))).toEqualArray(Buffer.from([100, 101, 100, 101, 100, 101, 100]));
382
- });
383
- });
384
- await describe("Buffer.byteLength()", async () => {
385
- await it("Byte length is the expected for strings`", async () => {
386
- expect(Buffer.byteLength("", "ascii")).toBe(0);
387
- expect(Buffer.byteLength("", "HeX")).toBe(0);
388
- expect(Buffer.byteLength("\u2211\xE9ll\xF6 w\xF8rl\u2202!", "utf-8")).toBe(19);
389
- expect(Buffer.byteLength("\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF", "utf8")).toBe(12);
390
- expect(Buffer.byteLength("\u6335\u6336\u6337\u6338\u6339", "utf-8")).toBe(15);
391
- expect(Buffer.byteLength("\u{20779}\u{20C53}\u{20C78}", "UTF8")).toBe(12);
392
- expect(Buffer.byteLength("hey there")).toBe(9);
393
- expect(Buffer.byteLength("\u{20C78}\u6336\u03BD\u03BE#xx :)")).toBe(17);
394
- expect(Buffer.byteLength("hello world", "")).toBe(11);
395
- expect(Buffer.byteLength("hello world", "abc")).toBe(11);
396
- expect(Buffer.byteLength("\xDF\u0153\u2211\u2248", "unkn0wn enc0ding")).toBe(10);
397
- expect(Buffer.byteLength("aGVsbG8gd29ybGQ=", "base64")).toBe(11);
398
- expect(Buffer.byteLength("aGVsbG8gd29ybGQ=", "BASE64")).toBe(11);
399
- expect(Buffer.byteLength("bm9kZS5qcyByb2NrcyE=", "base64")).toBe(14);
400
- expect(Buffer.byteLength("aGkk", "base64")).toBe(3);
401
- expect(
402
- Buffer.byteLength("bHNrZGZsa3NqZmtsc2xrZmFqc2RsZmtqcw==", "base64")
403
- ).toBe(25);
404
- expect(Buffer.byteLength("aaa=", "base64")).toBe(2);
405
- expect(Buffer.byteLength("aaaa==", "base64")).toBe(3);
406
- expect(Buffer.byteLength("Il \xE9tait tu\xE9")).toBe(14);
407
- expect(Buffer.byteLength("Il \xE9tait tu\xE9", "utf8")).toBe(14);
408
- ["ascii", "latin1", "binary"].reduce((es, e) => es.concat(e, e.toUpperCase()), []).forEach((encoding) => {
409
- expect(Buffer.byteLength("Il \xE9tait tu\xE9", encoding)).toBe(12);
410
- });
411
- ["ucs2", "ucs-2", "utf16le", "utf-16le"].reduce((es, e) => es.concat(e, e.toUpperCase()), []).forEach((encoding) => {
412
- expect(Buffer.byteLength("Il \xE9tait tu\xE9", encoding)).toBe(24);
413
- });
414
- });
415
- });
416
- await describe("Byte length is the expected one for non-strings", async () => {
417
- await it("Byte length differs on buffers", async () => {
418
- expect(
419
- Buffer.byteLength(Buffer.alloc(0))
420
- ).toBe(
421
- Buffer.alloc(0).byteLength
422
- );
423
- });
424
- });
425
- await describe("Two Buffers are concatenated", async () => {
426
- await it("The buffers should be equal", async () => {
427
- const data1 = [1, 2, 3];
428
- const data2 = [4, 5, 6];
429
- const buffer1 = Buffer.from(data1);
430
- const buffer2 = Buffer.from(data2);
431
- const resultBuffer = Buffer.concat([buffer1, buffer2]);
432
- const expectedBuffer = Buffer.from([...data1, ...data2]);
433
- expect(resultBuffer).toEqualArray(expectedBuffer);
434
- });
435
- });
436
- };
437
-
438
- // src/test.mts
439
- run({ testSuite: index_spec_default });
@@ -1,7 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "emitDeclarationOnly": true
5
- },
6
- "exclude": ["src/test.ts", "src/test.mts", "src/**/*.spec.ts", "src/**/*.spec.mts"]
7
- }
@@ -1 +0,0 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","../../deno/std/lib/node/buffer.d.ts","./src/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"f59215c5f1d886b05395ee7aca73e0ac69ddfad2843aa88530e797879d511bad","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"3dda5344576193a4ae48b8d03f105c86f20b2f2aff0a1d1fd7935f5d68649654","affectsGlobalScope":true},{"version":"35299ae4a62086698444a5aaee27fc7aa377c68cbb90b441c9ace246ffd05c97","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"9d9885c728913c1d16e0d2831b40341d6ad9a0ceecaabc55209b306ad9c736a5","affectsGlobalScope":true},{"version":"17bea081b9c0541f39dd1ae9bc8c78bdd561879a682e60e2f25f688c0ecab248","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"f06948deb2a51aae25184561c9640fb66afeddb34531a9212d011792b1d19e0a","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"930b0e15811f84e203d3c23508674d5ded88266df4b10abee7b31b2ac77632d2","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"7823c8aa42d88e6cb454fe7dc56996c6fd174b28a9f050e9bdea1c25b7d114ea","4cf60c65572ee95a060c5aae151c945635ad671bb1b63b211afb1e934f994d52",{"version":"8a961982f20c2443eb0f0d73b041be1a6c1e3e1bbf05140ca79a5e8c52fa8512","signature":"36184a95aaf46b869a7b48d1cb116ef5df93cd8c5358da66f043367b6096924a"},"587f13f1e8157bd8cec0adda0de4ef558bb8573daa9d518d1e2af38e87ecc91f","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"bce910d9164785c9f0d4dcea4be359f5f92130c7c7833dea6138ab1db310a1f9","affectsGlobalScope":true},"7a435e0c814f58f23e9a0979045ec0ef5909aac95a70986e8bcce30c27dff228",{"version":"a7534271773a27ff7d136d550e86b41894d8090fa857ba4c02b5bb18d2eb1c8e","affectsGlobalScope":true},"db71be322f07f769200108aa19b79a75dd19a187c9dca2a30c4537b233aa2863","57135ce61976a8b1dadd01bb412406d1805b90db6e8ecb726d0d78e0b5f76050",{"version":"49479e21a040c0177d1b1bc05a124c0383df7a08a0726ad4d9457619642e875a","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","b8e431e9b9bb2dc832b23d4e3e02774e953d5537998923f215ea446169e9a61e","3690133deae19c8127c5505fcb67b04bdc9eb053796008538a9b9abbb70d85aa","5b1c0a23f464f894e7c2b2b6c56df7b9afa60ed48c5345f8618d389a636b2108","be2b092f2765222757c6441b86c53a5ea8dfed47bbc43eab4c5fe37942c866b3","8e6b05abc98adba15e1ac78e137c64576c74002e301d682e66feb77a23907ab8","1ca735bb3d407b2af4fbee7665f3a0a83be52168c728cc209755060ba7ed67bd",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"b85c02e14ecb2a873dad5a1de72319b265160ba48f1b83661aeb3bba1366c1bc","affectsGlobalScope":true},"7a2ba0c9af860ac3e77b35ed01fd96d15986f17aa22fe40f188ae556fb1070df","fc3764040518a1008dd04bdc80964591b566b896283e00df85c95851c1f46237","55709608060f77965c270ac10ac646286589f1bd1cb174fff1778a2dd9a7ef31","790623a47c5eda62910098884ecb154dc0e5f3a23fc36c1bfb3b5b9ed44e2c2d","42b40e40f2a358cda332456214fad311e1806a6abf3cebaaac72496e07556642","354612fe1d49ecc9551ea3a27d94eef2887b64ef4a71f72ca444efe0f2f0ba80",{"version":"125af9d85cb9d5e508353f10a8d52f01652d2d48b2cea54789a33e5b4d289c1c","affectsGlobalScope":true},"f5490f53d40291cc8607f5463434d1ac6c5564bc4fbb03abceb03a8f6b014457","5e2b91328a540a0933ab5c2203f4358918e6f0fe7505d22840a891a6117735f1","3abc3512fa04aa0230f59ea1019311fd8667bd935d28306311dccc8b17e79d5d",{"version":"14a50dafe3f45713f7f27cb6320dff07c6ac31678f07959c2134260061bf91ff","affectsGlobalScope":true},{"version":"19da7150ca062323b1db6311a6ef058c9b0a39cc64d836b5e9b75d301869653b","affectsGlobalScope":true},"1349077576abb41f0e9c78ec30762ff75b710208aff77f5fdcc6a8c8ce6289dd","e2ce82603102b5c0563f59fb40314cc1ff95a4d521a66ad14146e130ea80d89c","a3e0395220255a350aa9c6d56f882bfcb5b85c19fddf5419ec822cf22246a26d","c27b01e8ddff5cd280711af5e13aecd9a3228d1c256ea797dd64f8fdec5f7df5","898840e876dfd21843db9f2aa6ae38ba2eab550eb780ff62b894b9fbfebfae6b","0cab4d7d4edc40cd3af9eea7c3ed6d1016910c0954c49c4297e479bf3822a625","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","164deb2409ac5f4da3cd139dbcee7f7d66753d90363a4d7e2db8d8874f272270","1fb6c5ec52332a8b531a8d7a5300ac9301f98c4fe62f68e744e0841ccba65e7e",{"version":"ab294c4b7279318ee2a8fdf681305457ecc05970c94108d304933f18823eeac1","affectsGlobalScope":true},"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","bbda6ea452a2386093a1eda18a6e26a989e98869f1b9f37e46f510a986d2e740","812b25f798033c202baedf386a1ccc41f9191b122f089bffd10fdccce99fba11","993325544790073f77e945bee046d53988c0bc3ac5695c9cf8098166feb82661",{"version":"75dd741ca6a6c8d2437a6ca8349b64b816421dbf9fe82dd026afaba965576962","affectsGlobalScope":true},{"version":"8799401a7ab57764f0d464513a7fa7c72e1d70a226b172ec60fff534ea94d108","affectsGlobalScope":true},"2ce2210032ccaff7710e2abf6a722e62c54960458e73e356b6a365c93ab6ca66","92db194ef7d208d5e4b6242a3434573fd142a621ff996d84cc9dbba3553277d0","16a3080e885ed52d4017c902227a8d0d8daf723d062bec9e45627c6fdcd6699b",{"version":"0bd9543cd8fc0959c76fb8f4f5a26626c2ed62ef4be98fd857bce268066db0a2","affectsGlobalScope":true},"1ca6858a0cbcd74d7db72d7b14c5360a928d1d16748a55ecfa6bfaff8b83071b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"247aa3419c98713231952b33801d4f46563fe542e03604acd8c63ac45a32409c"],"root":[66],"options":{"allowImportingTsExtensions":true,"composite":true,"declarationDir":"./lib/types","emitDeclarationOnly":true,"experimentalDecorators":true,"module":99,"outDir":"./lib","rootDir":"./src","target":99},"fileIdsList":[[67,113],[70,113],[71,76,104,113],[72,83,84,91,101,112,113],[72,73,83,91,113],[74,113],[75,76,84,92,113],[76,101,109,113],[77,79,83,91,113],[78,113],[79,80,113],[83,113],[81,83,113],[83,84,85,101,112,113],[83,84,85,98,101,104,113],[113,117],[113],[79,83,86,91,101,112,113],[83,84,86,87,91,101,109,112,113],[86,88,101,109,112,113],[67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119],[83,89,113],[90,112,113],[79,83,91,101,113],[92,113],[93,113],[70,94,113],[95,111,113,117],[96,113],[97,113],[83,98,99,113],[98,100,113,115],[71,83,101,102,103,104,113],[71,101,103,113],[101,102,113],[104,113],[105,113],[101,113],[83,107,108,113],[107,108,113],[76,91,101,109,113],[110,113],[91,111,113],[71,86,97,112,113],[76,113],[101,113,114],[113,115],[113,116],[71,76,83,85,94,101,112,113,115,117],[101,113,118],[65,113],[65]],"referencedMap":[[67,1],[68,1],[70,2],[71,3],[72,4],[73,5],[74,6],[75,7],[76,8],[77,9],[78,10],[79,11],[80,11],[82,12],[81,13],[83,12],[84,14],[85,15],[69,16],[119,17],[86,18],[87,19],[88,20],[120,21],[89,22],[90,23],[91,24],[92,25],[93,26],[94,27],[95,28],[96,29],[97,30],[98,31],[99,31],[100,32],[101,33],[103,34],[102,35],[104,36],[105,37],[106,38],[107,39],[108,40],[109,41],[110,42],[111,43],[112,44],[113,45],[114,46],[115,47],[116,48],[117,49],[118,50],[62,17],[63,17],[12,17],[13,17],[17,17],[16,17],[2,17],[18,17],[19,17],[20,17],[21,17],[22,17],[23,17],[24,17],[25,17],[3,17],[4,17],[29,17],[26,17],[27,17],[28,17],[30,17],[31,17],[32,17],[5,17],[33,17],[34,17],[35,17],[36,17],[6,17],[40,17],[37,17],[38,17],[39,17],[41,17],[7,17],[42,17],[47,17],[48,17],[43,17],[44,17],[45,17],[46,17],[8,17],[52,17],[49,17],[50,17],[51,17],[53,17],[9,17],[54,17],[55,17],[56,17],[59,17],[57,17],[58,17],[60,17],[10,17],[1,17],[11,17],[64,17],[61,17],[15,17],[14,17],[65,17],[66,51]],"exportedModulesMap":[[67,1],[68,1],[70,2],[71,3],[72,4],[73,5],[74,6],[75,7],[76,8],[77,9],[78,10],[79,11],[80,11],[82,12],[81,13],[83,12],[84,14],[85,15],[69,16],[119,17],[86,18],[87,19],[88,20],[120,21],[89,22],[90,23],[91,24],[92,25],[93,26],[94,27],[95,28],[96,29],[97,30],[98,31],[99,31],[100,32],[101,33],[103,34],[102,35],[104,36],[105,37],[106,38],[107,39],[108,40],[109,41],[110,42],[111,43],[112,44],[113,45],[114,46],[115,47],[116,48],[117,49],[118,50],[62,17],[63,17],[12,17],[13,17],[17,17],[16,17],[2,17],[18,17],[19,17],[20,17],[21,17],[22,17],[23,17],[24,17],[25,17],[3,17],[4,17],[29,17],[26,17],[27,17],[28,17],[30,17],[31,17],[32,17],[5,17],[33,17],[34,17],[35,17],[36,17],[6,17],[40,17],[37,17],[38,17],[39,17],[41,17],[7,17],[42,17],[47,17],[48,17],[43,17],[44,17],[45,17],[46,17],[8,17],[52,17],[49,17],[50,17],[51,17],[53,17],[9,17],[54,17],[55,17],[56,17],[59,17],[57,17],[58,17],[60,17],[10,17],[1,17],[11,17],[64,17],[61,17],[15,17],[14,17],[65,17],[66,52]],"semanticDiagnosticsPerFile":[67,68,70,71,72,73,74,75,76,77,78,79,80,82,81,83,84,85,69,119,86,87,88,120,89,90,91,92,93,94,95,96,97,98,99,100,101,103,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,62,63,12,13,17,16,2,18,19,20,21,22,23,24,25,3,4,29,26,27,28,30,31,32,5,33,34,35,36,6,40,37,38,39,41,7,42,47,48,43,44,45,46,8,52,49,50,51,53,9,54,55,56,59,57,58,60,10,1,11,64,61,15,14,65,66],"latestChangedDtsFile":"./lib/types/index.d.ts"},"version":"5.1.3"}