@yume-chan/adb 0.0.12 → 0.0.13

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 (130) hide show
  1. package/CHANGELOG.json +18 -0
  2. package/CHANGELOG.md +10 -1
  3. package/README.md +24 -17
  4. package/esm/adb.d.ts +6 -6
  5. package/esm/adb.d.ts.map +1 -1
  6. package/esm/adb.js +77 -59
  7. package/esm/adb.js.map +1 -1
  8. package/esm/auth.d.ts +6 -6
  9. package/esm/auth.d.ts.map +1 -1
  10. package/esm/auth.js +8 -6
  11. package/esm/auth.js.map +1 -1
  12. package/esm/backend.d.ts +2 -2
  13. package/esm/commands/install.d.ts.map +1 -1
  14. package/esm/commands/install.js +5 -7
  15. package/esm/commands/install.js.map +1 -1
  16. package/esm/commands/reverse.d.ts +2 -2
  17. package/esm/commands/subprocess/index.d.ts +19 -20
  18. package/esm/commands/subprocess/index.d.ts.map +1 -1
  19. package/esm/commands/subprocess/index.js +36 -31
  20. package/esm/commands/subprocess/index.js.map +1 -1
  21. package/esm/commands/subprocess/legacy.d.ts +14 -7
  22. package/esm/commands/subprocess/legacy.d.ts.map +1 -1
  23. package/esm/commands/subprocess/legacy.js +14 -5
  24. package/esm/commands/subprocess/legacy.js.map +1 -1
  25. package/esm/commands/subprocess/protocol.d.ts +3 -2
  26. package/esm/commands/subprocess/protocol.d.ts.map +1 -1
  27. package/esm/commands/subprocess/protocol.js +6 -4
  28. package/esm/commands/subprocess/protocol.js.map +1 -1
  29. package/esm/commands/subprocess/protocols/index.d.ts +4 -0
  30. package/esm/commands/subprocess/protocols/index.d.ts.map +1 -0
  31. package/esm/commands/subprocess/protocols/index.js +4 -0
  32. package/esm/commands/subprocess/protocols/index.js.map +1 -0
  33. package/esm/commands/subprocess/protocols/none.d.ts +35 -0
  34. package/esm/commands/subprocess/protocols/none.d.ts.map +1 -0
  35. package/esm/commands/subprocess/protocols/none.js +53 -0
  36. package/esm/commands/subprocess/protocols/none.js.map +1 -0
  37. package/esm/commands/subprocess/protocols/shell.d.ts +39 -0
  38. package/esm/commands/subprocess/protocols/shell.d.ts.map +1 -0
  39. package/esm/commands/subprocess/protocols/shell.js +155 -0
  40. package/esm/commands/subprocess/protocols/shell.js.map +1 -0
  41. package/esm/commands/subprocess/protocols/types.d.ts +50 -0
  42. package/esm/commands/subprocess/protocols/types.d.ts.map +1 -0
  43. package/esm/commands/subprocess/protocols/types.js +2 -0
  44. package/esm/commands/subprocess/protocols/types.js.map +1 -0
  45. package/esm/commands/subprocess/types.d.ts +9 -6
  46. package/esm/commands/subprocess/types.d.ts.map +1 -1
  47. package/esm/commands/sync/list.d.ts +25 -1
  48. package/esm/commands/sync/list.d.ts.map +1 -1
  49. package/esm/commands/sync/list.js +40 -5
  50. package/esm/commands/sync/list.js.map +1 -1
  51. package/esm/commands/sync/request.d.ts +1 -0
  52. package/esm/commands/sync/request.d.ts.map +1 -1
  53. package/esm/commands/sync/request.js +1 -0
  54. package/esm/commands/sync/request.js.map +1 -1
  55. package/esm/commands/sync/response.d.ts +2 -1
  56. package/esm/commands/sync/response.d.ts.map +1 -1
  57. package/esm/commands/sync/response.js +2 -1
  58. package/esm/commands/sync/response.js.map +1 -1
  59. package/esm/commands/sync/stat.d.ts +13 -1
  60. package/esm/commands/sync/stat.d.ts.map +1 -1
  61. package/esm/commands/sync/stat.js +20 -7
  62. package/esm/commands/sync/stat.js.map +1 -1
  63. package/esm/commands/sync/sync.d.ts +13 -35
  64. package/esm/commands/sync/sync.d.ts.map +1 -1
  65. package/esm/commands/sync/sync.js +39 -9
  66. package/esm/commands/sync/sync.js.map +1 -1
  67. package/esm/crypto.d.ts +23 -10
  68. package/esm/crypto.d.ts.map +1 -1
  69. package/esm/crypto.js +64 -46
  70. package/esm/crypto.js.map +1 -1
  71. package/esm/features.d.ts +4 -2
  72. package/esm/features.d.ts.map +1 -1
  73. package/esm/features.js +6 -2
  74. package/esm/features.js.map +1 -1
  75. package/esm/packet.d.ts +21 -2
  76. package/esm/packet.d.ts.map +1 -1
  77. package/esm/packet.js +2 -2
  78. package/esm/packet.js.map +1 -1
  79. package/esm/socket/dispatcher.d.ts +15 -11
  80. package/esm/socket/dispatcher.d.ts.map +1 -1
  81. package/esm/socket/dispatcher.js +16 -19
  82. package/esm/socket/dispatcher.js.map +1 -1
  83. package/esm/socket/socket.d.ts +19 -7
  84. package/esm/socket/socket.d.ts.map +1 -1
  85. package/esm/socket/socket.js +20 -11
  86. package/esm/socket/socket.js.map +1 -1
  87. package/esm/stream/detect.d.ts +1 -17
  88. package/esm/stream/detect.d.ts.map +1 -1
  89. package/esm/stream/detect.js +4 -5
  90. package/esm/stream/detect.js.map +1 -1
  91. package/esm/stream/detect.polyfill.d.ts.map +1 -1
  92. package/esm/stream/detect.polyfill.js +4 -1
  93. package/esm/stream/detect.polyfill.js.map +1 -1
  94. package/esm/stream/transform.d.ts +23 -23
  95. package/esm/stream/transform.d.ts.map +1 -1
  96. package/esm/stream/transform.js +74 -24
  97. package/esm/stream/transform.js.map +1 -1
  98. package/esm/utils/encoding.d.ts.map +1 -1
  99. package/esm/utils/encoding.js.map +1 -1
  100. package/esm/utils/index.d.ts +1 -1
  101. package/esm/utils/index.d.ts.map +1 -1
  102. package/esm/utils/index.js +1 -1
  103. package/esm/utils/index.js.map +1 -1
  104. package/package.json +6 -6
  105. package/src/adb.ts +93 -70
  106. package/src/auth.ts +21 -18
  107. package/src/backend.ts +2 -2
  108. package/src/commands/install.ts +7 -9
  109. package/src/commands/reverse.ts +2 -2
  110. package/src/commands/subprocess/index.ts +57 -42
  111. package/src/commands/subprocess/protocols/index.ts +3 -0
  112. package/src/commands/subprocess/{legacy.ts → protocols/none.ts} +18 -8
  113. package/src/commands/subprocess/{protocol.ts → protocols/shell.ts} +22 -17
  114. package/src/commands/subprocess/{types.ts → protocols/types.ts} +13 -9
  115. package/src/commands/sync/list.ts +51 -5
  116. package/src/commands/sync/request.ts +1 -0
  117. package/src/commands/sync/response.ts +8 -2
  118. package/src/commands/sync/stat.ts +36 -9
  119. package/src/commands/sync/sync.ts +55 -19
  120. package/src/crypto.ts +72 -56
  121. package/src/features.ts +6 -2
  122. package/src/packet.ts +17 -6
  123. package/src/socket/dispatcher.ts +43 -29
  124. package/src/socket/socket.ts +29 -22
  125. package/src/stream/detect.polyfill.ts +4 -1
  126. package/src/stream/detect.ts +4 -24
  127. package/src/stream/transform.ts +96 -40
  128. package/src/utils/index.ts +1 -1
  129. package/tsconfig.build.tsbuildinfo +1 -1
  130. package/src/utils/encoding.ts +0 -13
@@ -1,6 +1,6 @@
1
1
  import { PromiseResolver } from "@yume-chan/async";
2
2
  import { AdbCommand } from '../packet.js';
3
- import { ChunkStream, DuplexStreamFactory, pipeFrom, ReadableStream, WritableStream, type PushReadableStreamController } from '../stream/index.js';
3
+ import { ChunkStream, DuplexStreamFactory, pipeFrom, type PushReadableStreamController, type ReadableStream, type ReadableWritablePair, type WritableStream } from '../stream/index.js';
4
4
  import type { AdbPacketDispatcher } from './dispatcher.js';
5
5
 
6
6
  export interface AdbSocketInfo {
@@ -8,25 +8,16 @@ export interface AdbSocketInfo {
8
8
  remoteId: number;
9
9
 
10
10
  localCreated: boolean;
11
-
12
11
  serviceString: string;
13
12
  }
14
13
 
15
- export interface AdbSocketConstructionOptions {
14
+ export interface AdbSocketConstructionOptions extends AdbSocketInfo {
16
15
  dispatcher: AdbPacketDispatcher;
17
16
 
18
- localId: number;
19
-
20
- remoteId: number;
21
-
22
- localCreated: boolean;
23
-
24
- serviceString: string;
25
-
26
17
  highWaterMark?: number | undefined;
27
18
  }
28
19
 
29
- export class AdbSocket implements AdbSocketInfo {
20
+ export class AdbSocketController implements AdbSocketInfo, ReadableWritablePair<Uint8Array, Uint8Array> {
30
21
  private readonly dispatcher!: AdbPacketDispatcher;
31
22
 
32
23
  public readonly localId!: number;
@@ -46,6 +37,9 @@ export class AdbSocket implements AdbSocketInfo {
46
37
  private _closed = false;
47
38
  public get closed() { return this._closed; }
48
39
 
40
+ private _socket: AdbSocket;
41
+ public get socket() { return this._socket; }
42
+
49
43
  public constructor(options: AdbSocketConstructionOptions) {
50
44
  Object.assign(this, options);
51
45
 
@@ -80,20 +74,16 @@ export class AdbSocket implements AdbSocketInfo {
80
74
  await this._writePromise.promise;
81
75
  },
82
76
  }),
83
- new ChunkStream(this.dispatcher.maxPayloadSize)
77
+ new ChunkStream(this.dispatcher.options.maxPayloadSize)
84
78
  );
79
+
80
+ this._socket = new AdbSocket(this);
85
81
  }
86
82
 
87
- /**
88
- * @internal
89
- */
90
83
  public async enqueue(packet: Uint8Array) {
91
84
  await this._readableController.enqueue(packet);
92
85
  }
93
86
 
94
- /**
95
- * @internal
96
- */
97
87
  public ack() {
98
88
  this._writePromise?.resolve();
99
89
  }
@@ -115,9 +105,6 @@ export class AdbSocket implements AdbSocketInfo {
115
105
  }
116
106
  }
117
107
 
118
- /**
119
- * @internal
120
- */
121
108
  public dispose() {
122
109
  this._closed = true;
123
110
 
@@ -127,3 +114,23 @@ export class AdbSocket implements AdbSocketInfo {
127
114
  this.close();
128
115
  }
129
116
  }
117
+
118
+ export class AdbSocket implements AdbSocketInfo, ReadableWritablePair<Uint8Array, Uint8Array>{
119
+ private _controller: AdbSocketController;
120
+
121
+ public get localId(): number { return this._controller.localId; }
122
+ public get remoteId(): number { return this._controller.remoteId; }
123
+ public get localCreated(): boolean { return this._controller.localCreated; }
124
+ public get serviceString(): string { return this._controller.serviceString; }
125
+
126
+ public get readable(): ReadableStream<Uint8Array> { return this._controller.readable; }
127
+ public get writable(): WritableStream<Uint8Array> { return this._controller.writable; }
128
+
129
+ public constructor(controller: AdbSocketController) {
130
+ this._controller = controller;
131
+ }
132
+
133
+ public close() {
134
+ return this._controller.close();
135
+ }
136
+ }
@@ -1,7 +1,10 @@
1
1
  // cspell: ignore ponyfill
2
2
 
3
3
  import type { AbortSignal } from "web-streams-polyfill";
4
- // TODO: import the ponyfill instead (as a library should do)
4
+ // TODO: Upgrade to `web-streams-polyfill@4.0.0-beta.2` once released.
5
+ // `web-streams-polyfill@4.0.0-beta.1` changed the default export to ponyfill,
6
+ // But it forgot to include `type` export so it's unusable.
7
+ // See https://github.com/MattiasBuelens/web-streams-polyfill/pull/107
5
8
  export * from 'web-streams-polyfill';
6
9
 
7
10
  /** A controller object that allows you to abort one or more DOM requests as and when desired. */
@@ -1,25 +1,5 @@
1
- // cspell: ignore ponyfill
1
+ // cspell: ignore vercel
2
2
 
3
- import type { AbortSignal } from "web-streams-polyfill";
4
- // TODO: import the ponyfill instead (as a library should do)
5
- export * from 'web-streams-polyfill';
6
-
7
- /** A controller object that allows you to abort one or more DOM requests as and when desired. */
8
- export interface AbortController {
9
- /**
10
- * Returns the AbortSignal object associated with this object.
11
- */
12
-
13
- readonly signal: AbortSignal;
14
- /**
15
- * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
16
- */
17
- abort(): void;
18
- }
19
-
20
- export let AbortController: {
21
- prototype: AbortController;
22
- new(): AbortController;
23
- };
24
-
25
- ({ AbortController } = globalThis as any);
3
+ // Always use polyfilled version because
4
+ // Vercel doesn't support Node.js 16 (`streams/web` module) yet
5
+ export * from './detect.polyfill.js';
@@ -1,6 +1,6 @@
1
1
  import { PromiseResolver } from "@yume-chan/async";
2
2
  import type Struct from "@yume-chan/struct";
3
- import type { StructValueType } from "@yume-chan/struct";
3
+ import type { StructValueType, ValueOrPromise } from "@yume-chan/struct";
4
4
  import { decodeUtf8 } from "../utils/index.js";
5
5
  import { BufferedStream, BufferedStreamEndedError } from "./buffered.js";
6
6
  import { AbortController, AbortSignal, ReadableStream, ReadableStreamDefaultReader, TransformStream, WritableStream, WritableStreamDefaultWriter, type QueuingStrategy, type ReadableStreamDefaultController, type ReadableWritablePair, type UnderlyingSink, type UnderlyingSource } from "./detect.js";
@@ -11,6 +11,12 @@ export interface DuplexStreamFactoryOptions {
11
11
  close?: (() => void | Promise<void>) | undefined;
12
12
  }
13
13
 
14
+ /**
15
+ * A factory for creating a duplex stream.
16
+ *
17
+ * It can create multiple `ReadableStream`s and `WritableStream`s,
18
+ * when any of them is closed, all other streams will be closed as well.
19
+ */
14
20
  export class DuplexStreamFactory<R, W> {
15
21
  private readableControllers: ReadableStreamDefaultController<R>[] = [];
16
22
  private pushReadableControllers: PushReadableStreamController<R>[] = [];
@@ -42,6 +48,8 @@ export class DuplexStreamFactory<R, W> {
42
48
  await controller.enqueue(chunk);
43
49
  },
44
50
  close: async () => {
51
+ // The source signals stream ended,
52
+ // usually means the other end closed the connection first.
45
53
  controller.close();
46
54
  this._closeRequestedByReadable = true;
47
55
  await this.close();
@@ -55,15 +63,15 @@ export class DuplexStreamFactory<R, W> {
55
63
  }, strategy);
56
64
  };
57
65
 
58
- public createWrapReadable(readable: ReadableStream<R>): WrapReadableStream<R, ReadableStream<R>, void> {
59
- return new WrapReadableStream<R, ReadableStream<R>, void>({
66
+ public createWrapReadable(wrapper: ReadableStream<R> | WrapReadableStreamStart<R> | ReadableStreamWrapper<R>): WrapReadableStream<R> {
67
+ return new WrapReadableStream<R>({
60
68
  async start() {
61
- return {
62
- readable,
63
- state: undefined,
64
- };
69
+ return getWrappedReadableStream(wrapper);
65
70
  },
66
71
  close: async () => {
72
+ if ('close' in wrapper) {
73
+ await wrapper.close?.();
74
+ }
67
75
  this._closeRequestedByReadable = true;
68
76
  await this.close();
69
77
  },
@@ -147,21 +155,21 @@ export class DecodeUtf8Stream extends TransformStream<Uint8Array, string>{
147
155
  }
148
156
  }
149
157
 
150
- export class GatherStringStream extends TransformStream<string, string>{
158
+ export class GatherStringStream extends WritableStream<string>{
151
159
  // Optimization: rope (concat strings) is faster than `[].join('')`
152
160
  private _result = '';
153
161
  public get result() { return this._result; }
154
162
 
155
163
  public constructor() {
156
164
  super({
157
- transform: (chunk) => {
165
+ write: (chunk) => {
158
166
  this._result += chunk;
159
167
  },
160
168
  });
161
169
  }
162
170
  }
163
171
 
164
- // TODO: Find other ways to implement `StructTransformStream`
172
+ // TODO: StructTransformStream: Looking for better implementation
165
173
  export class StructDeserializeStream<T extends Struct<any, any, any, any>>
166
174
  implements ReadableWritablePair<Uint8Array, StructValueType<T>>{
167
175
  private _readable: ReadableStream<StructValueType<T>>;
@@ -219,25 +227,43 @@ export class StructSerializeStream<T extends Struct<any, any, any, any>>
219
227
  }
220
228
  }
221
229
 
222
- export interface WritableStreamWrapper<T, W extends WritableStream<T>, S> {
223
- start(): Promise<{ writable: W, state: S; }>;
224
- close?(state: S): Promise<void>;
230
+ export type WrapWritableStreamStart<T> = () => ValueOrPromise<WritableStream<T>>;
231
+
232
+ export interface WritableStreamWrapper<T> {
233
+ start: WrapWritableStreamStart<T>;
234
+ close?(): Promise<void>;
235
+ }
236
+
237
+ async function getWrappedWritableStream<T>(
238
+ wrapper: WritableStream<T> | WrapWritableStreamStart<T> | WritableStreamWrapper<T>
239
+ ) {
240
+ if ('start' in wrapper) {
241
+ return await wrapper.start();
242
+ } else if (typeof wrapper === 'function') {
243
+ return await wrapper();
244
+ } else {
245
+ // Can't use `wrapper instanceof WritableStream`
246
+ // Because we want to be compatible with any WritableStream-like objects
247
+ return wrapper;
248
+ }
225
249
  }
226
250
 
227
- export class WrapWritableStream<T, W extends WritableStream<T>, S> extends WritableStream<T>{
228
- public writable!: W;
251
+ export class WrapWritableStream<T> extends WritableStream<T> {
252
+ public writable!: WritableStream<T>;
229
253
 
230
254
  private writer!: WritableStreamDefaultWriter<T>;
231
255
 
232
- private state!: S;
233
-
234
- public constructor(wrapper: WritableStreamWrapper<T, W, S>) {
256
+ public constructor(wrapper: WritableStream<T> | WrapWritableStreamStart<T> | WritableStreamWrapper<T>) {
235
257
  super({
236
258
  start: async () => {
237
- const { writable, state } = await wrapper.start();
238
- this.writable = writable;
239
- this.writer = writable.getWriter();
240
- this.state = state;
259
+ // `start` is invoked before `ReadableStream`'s constructor finish,
260
+ // so using `this` synchronously causes
261
+ // "Must call super constructor in derived class before accessing 'this' or returning from derived constructor".
262
+ // Queue a microtask to avoid this.
263
+ await Promise.resolve();
264
+
265
+ this.writable = await getWrappedWritableStream(wrapper);
266
+ this.writer = this.writable.getWriter();
241
267
  },
242
268
  write: async (chunk) => {
243
269
  // Maintain back pressure
@@ -246,45 +272,75 @@ export class WrapWritableStream<T, W extends WritableStream<T>, S> extends Writa
246
272
  },
247
273
  abort: async (reason) => {
248
274
  await this.writer.abort(reason);
249
- wrapper.close?.(this.state);
275
+ if ('close' in wrapper) {
276
+ await wrapper.close?.();
277
+ }
250
278
  },
251
279
  close: async () => {
280
+ // Close the inner stream first.
281
+ // Usually the inner stream is a logical sub-stream over the outer stream,
282
+ // closing the outer stream first will make the inner stream incapable of
283
+ // sending data in its `close` handler.
252
284
  await this.writer.close();
253
- await wrapper.close?.(this.state);
285
+ if ('close' in wrapper) {
286
+ await wrapper.close?.();
287
+ }
254
288
  },
255
289
  });
256
290
  }
257
291
  }
258
292
 
259
- export interface ReadableStreamWrapper<T, R extends ReadableStream<T>, S> {
260
- start(): Promise<{ readable: R, state: S; }>;
261
- close?(state: S): Promise<void>;
293
+ export type WrapReadableStreamStart<T> = () => ValueOrPromise<ReadableStream<T>>;
294
+
295
+ export interface ReadableStreamWrapper<T> {
296
+ start: WrapReadableStreamStart<T>;
297
+ close?(): Promise<void>;
262
298
  }
263
299
 
264
- export class WrapReadableStream<T, R extends ReadableStream<T>, S> extends ReadableStream<T>{
265
- public readable!: R;
300
+ function getWrappedReadableStream<T>(
301
+ wrapper: ReadableStream<T> | WrapReadableStreamStart<T> | ReadableStreamWrapper<T>
302
+ ) {
303
+ if ('start' in wrapper) {
304
+ return wrapper.start();
305
+ } else if (typeof wrapper === 'function') {
306
+ return wrapper();
307
+ } else {
308
+ // Can't use `wrapper instanceof ReadableStream`
309
+ // Because we want to be compatible with any ReadableStream-like objects
310
+ return wrapper;
311
+ }
312
+ }
266
313
 
267
- private reader!: ReadableStreamDefaultReader<T>;
314
+ export class WrapReadableStream<T> extends ReadableStream<T>{
315
+ public readable!: ReadableStream<T>;
268
316
 
269
- private state!: S;
317
+ private reader!: ReadableStreamDefaultReader<T>;
270
318
 
271
- public constructor(wrapper: ReadableStreamWrapper<T, R, S>) {
319
+ public constructor(wrapper: ReadableStream<T> | WrapReadableStreamStart<T> | ReadableStreamWrapper<T>) {
272
320
  super({
273
321
  start: async () => {
274
- const { readable, state } = await wrapper.start();
275
- this.readable = readable;
276
- this.reader = readable.getReader();
277
- this.state = state;
322
+ // `start` is invoked before `ReadableStream`'s constructor finish,
323
+ // so using `this` synchronously causes
324
+ // "Must call super constructor in derived class before accessing 'this' or returning from derived constructor".
325
+ // Queue a microtask to avoid this.
326
+ await Promise.resolve();
327
+
328
+ this.readable = await getWrappedReadableStream(wrapper);
329
+ this.reader = this.readable.getReader();
278
330
  },
279
331
  cancel: async (reason) => {
280
332
  await this.reader.cancel(reason);
281
- wrapper.close?.(this.state);
333
+ if ('close' in wrapper) {
334
+ await wrapper.close?.();
335
+ }
282
336
  },
283
337
  pull: async (controller) => {
284
338
  const result = await this.reader.read();
285
339
  if (result.done) {
286
- wrapper.close?.(this.state);
287
340
  controller.close();
341
+ if ('close' in wrapper) {
342
+ await wrapper.close?.();
343
+ }
288
344
  } else {
289
345
  controller.enqueue(result.value);
290
346
  }
@@ -394,7 +450,7 @@ export class PushReadableStream<T> extends ReadableStream<T> {
394
450
  source({
395
451
  abortSignal: canceled.signal,
396
452
  async enqueue(chunk) {
397
- // Only when the stream in errored, `desiredSize` will be `null`.
453
+ // Only when the stream is errored, `desiredSize` will be `null`.
398
454
  // But since `null <= 0` is `true`
399
455
  // (`null <= 0` is evaluated as `!(null > 0)` => `!false` => `true`),
400
456
  // not handling it will cause a deadlock.
@@ -419,8 +475,8 @@ export class PushReadableStream<T> extends ReadableStream<T> {
419
475
  waterMarkLow?.resolve();
420
476
  },
421
477
  cancel: async (reason) => {
422
- waterMarkLow?.reject(reason);
423
478
  canceled.abort();
479
+ waterMarkLow?.reject(reason);
424
480
  },
425
481
  }, strategy);
426
482
  }
@@ -1,3 +1,3 @@
1
+ export { decodeUtf8, encodeUtf8 } from '@yume-chan/struct';
1
2
  export * from './auto-reset-event.js';
2
3
  export * from './base64.js';
3
- export * from './encoding.js';
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es5.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2015.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2016.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2017.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2018.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2019.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2020.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2021.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2022.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.esnext.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2015.core.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2017.object.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2017.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2019.array.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2019.object.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2019.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2020.date.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2020.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2020.number.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2021.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2022.array.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2022.error.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2022.object.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.es2022.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-dev.20220403/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../common/temp/node_modules/.pnpm/tslib@2.3.1/node_modules/tslib/tslib.d.ts","../../common/temp/node_modules/.pnpm/@yume-chan+async@2.1.4/node_modules/@yume-chan/async/dts/async-operation-manager.d.ts","../../common/temp/node_modules/.pnpm/@yume-chan+async@2.1.4/node_modules/@yume-chan/async/dts/promise-resolver.d.ts","../../common/temp/node_modules/.pnpm/@yume-chan+async@2.1.4/node_modules/@yume-chan/async/dts/index.d.ts","../event/esm/disposable.d.ts","../event/esm/event.d.ts","../event/esm/event-emitter.d.ts","../event/esm/utils.d.ts","../event/esm/index.d.ts","../struct/esm/basic/stream.d.ts","../struct/esm/basic/options.d.ts","../struct/esm/basic/struct-value.d.ts","../struct/esm/basic/field-value.d.ts","../struct/esm/basic/definition.d.ts","../struct/esm/basic/index.d.ts","../struct/esm/types/bigint.d.ts","../struct/esm/types/buffer/base.d.ts","../struct/esm/types/buffer/fixed-length.d.ts","../struct/esm/utils.d.ts","../struct/esm/types/buffer/variable-length.d.ts","../struct/esm/types/buffer/index.d.ts","../struct/esm/types/number.d.ts","../struct/esm/types/index.d.ts","../struct/esm/struct.d.ts","../struct/esm/index.d.ts","../dataview-bigint-polyfill/esm/fallback.d.ts","./src/crypto.ts","./src/utils/auto-reset-event.ts","./src/utils/base64.ts","./src/utils/encoding.ts","./src/utils/index.ts","./src/socket/dispatcher.ts","./src/socket/socket.ts","./src/socket/index.ts","../../common/temp/node_modules/.pnpm/web-streams-polyfill@3.2.0/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts","./src/stream/detect.ts","./src/stream/transform.ts","./src/stream/buffered.ts","./src/stream/index.ts","./src/packet.ts","./src/auth.ts","./src/commands/base.ts","./src/commands/framebuffer.ts","./src/commands/subprocess/types.ts","./src/commands/subprocess/legacy.ts","./src/features.ts","./src/commands/subprocess/protocol.ts","./src/commands/subprocess/utils.ts","./src/commands/subprocess/index.ts","./src/commands/sync/request.ts","./src/commands/sync/response.ts","./src/commands/sync/stat.ts","./src/commands/sync/list.ts","./src/commands/sync/pull.ts","./src/commands/sync/push.ts","./src/commands/sync/sync.ts","./src/commands/sync/index.ts","./src/commands/install.ts","./src/commands/power.ts","./src/commands/reverse.ts","./src/commands/tcpip.ts","./src/commands/index.ts","./src/adb.ts","./src/backend.ts","./src/index.ts","./src/stream/detect.native.ts","./src/stream/detect.polyfill.ts"],"fileInfos":[{"version":"05e5ff32bb69fdf10b81d78e757c4632b81b64ddad5ec1febc9d0ff0cd3a67ad","affectsGlobalScope":true,"impliedFormat":1},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2f93dda35dafec68ec217c9ce67f0f4fbbbb030c055ac312641565ad60dd7e26","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true,"impliedFormat":1},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true,"impliedFormat":1},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"369ef81ec43a468c7e58d2d70f55354f399ac5127a260a4f488f12db88cb90fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"ef193b21b99f3d42e0f88a7c4fde6ad14c98111b46981862fafa286ece4fcbb3","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b66f5f0cc4133c194f9b1ecab09b57c5c9035c76c5460552ad03ed808b704dd8","affectsGlobalScope":true,"impliedFormat":1},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true,"impliedFormat":1},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true,"impliedFormat":1},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true,"impliedFormat":1},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true,"impliedFormat":1},"12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75","f6ad331f1763968b8a2d5575c1a8581f056009464e98415a266cab49762bc7a5","b309791da689ee6cc3029bd77ff301b011a490021f1c5e87b97029a2ab1c8a1a","52e6225011e81e8a56d58b88823de3926d5e5113583250ed2d58dc04e1d37347","3d4fc1ed5c1c6f311aebeff68ec8038718a12eaef5d0ae5cbd5133112956356f","68b04ac11e3d6a641d8004373420cb061c5056692eea594eb5848d24a3750209","56626e4d962c8eed0cb0d9df0d116dcf7ac4dd166c74e6e1b731203b4c4fca71","aacfeda09eafef77950b51b382d6e29c876b38178a36b7775afb3722ab10c415","8cc812db40101403f8753561d5d56444e582d6658a1825fd65d8b6dc33001854","42c58a27eb98e797c79bef3bdabb4c7fca56897a871caf5c56f8fc21c66695e5","a916bd79fa897dfbfcfef0885727e005c015727e5ade51a5ca91f61eeca4b00f","280512e685352f327cccf84b94972811eef44d5cfdaebaff920ec93d7b84fc96","f82ff502240e2b1cd9e2de9e8e46d7ba4320e08cf866599817ae009a667d423b","6ee02f787d62dd0744f470f9ee6b0cb42144933e3a5cda844271be0be70f442d","4000865d5ddad64d7894da59d95ef9900473502006100a4ed82cc950cf7c2f56","5297a6a60076abaf8d3e3d76d978d9e4949e0856e1bbf6a7ac042847c68209ef","7614ccd9e58f7baa91a3cbbcc275122f6b785bb6ae6a77bc300b12b8ac6b417a","1785accb5aa4a677f20f824c12a924c68fc81955f2c12899c412993eccbc6ca8","0fce61a4965600605902f03675e336882e1bbbc387ee95539666f5f614a9da9a","ce38bb4dfd58ea3c841d674beb3515f7bac7c7226c7a4f4616cc9e9136955857","05ff8aaf99e2fe90a8bead1f2abe7001b1f2883b3733f68edc138d42d4a64fbc","7499b53a6122ba8f7e4cd7cbb51121fa40fdc4ba7fef7271fd776839df24f076","deb19b18352719845b83f911ec5f6520b11918c45327267d828658ad3e15f59a","05997167d658924a4823163a5b443fcbd7ce8c745e0075f1c95dbf834133dec0",{"version":"16b6014cf97bb1eed71f5955ba76e1714f852e0ada929661c2f3215b8b2694f7","affectsGlobalScope":true,"impliedFormat":99},"ea9a35cd9e4fc405c1e35f2ab6d2219205cc1d0a99338af5d462472ebcfbd855","01e8b271487d4b2cc8db5eb2ce5e4af24d2375d2dce58b49d5a5a9b615ea3a19","7fda0e19d2d2422812264b69dac056db145e9ea6e512c6ff8b507629fd402929","99d2eb500b030c6fff24f65ae75a4b6083bbe579550986cef63aa2e7f78c7212","b6693c397638374586a3158038a7558ca6d2d442738472597101dbd24a7a48b7","dca8644ef6431878705964ed34f0255d2049c973f5c8fb4ce877e7ddccc318bf","122fe5f16767d817602f75729be733b47ade4e08b912062dcd885eabe2337180","a1611e50cbda9c454d1554b0b1fb56776f205538a99527917b1b02b1328214a5","0de7c253a483479d15abdaa8bc41d67b34f53991ca72001de6840d973fa81114","39bf6bdc4a79a0a88ceeac26f98a01a87c910f8fb7a13bff2d4d60f4df5239b7","f3c4ed278eff2d4a0de0412d3f3ca1a6ef393ff255495af918879a464784fef1","03929c6b3d76d1764692c990a5bbe2dad477003c058c4a27e82dc089e9836441","73bd8d8ed88f2c7fc37bf269b11817b1b7bb38c9b7700d53066d92510e8a3953","ec01f9873abc1b4c2318768379795f2a0c33dcd81ff5e3359b52b12421d2b057","36f32e40cb56c9165f275a99ceeb7e21b0fe6375af0021aa179f2145d064dba3","50dc979de9b018ab1bd831138b5136919aaff103b134b240c4b73b0c6292795d","6b212aad521a3550d8c95588d03aff03a1352f548aa52856d1027461717eecdb","0f7b94b71ebdbfded57a811c8c77d9ec0fe3d74a2acaab875223a6802a5406a0","98cf98938f1ffc4c4c7122cd1214f486a7039f433c7743ccd3772aa43b12b572","7cabfd5c8e043cd92ffe3ca1e0c0470baca3fc9101d095da9fec32fd8cc5155b","6d029cd908827fdb30cf44e6655532382fd1be948f238b3d757f90a81ab053e7","516efbe58819d719221670cbc75461ddc5e79591249c6d73cea2f8630e9ba3d1","e001cbffd541e15372c9546f22a2eded9b49d977b87dd177e050e7a192338fcd","696d5199cf062464ddffc8a5ad0a49d9b0d5434a04e13e2afdde4d17ebb71b59","5b994911c6f7001cf1b39b16fff3e7d029c5509826177a3e6b9cd12f2f589211","1caaf084e2eccded1618d5030af2993bae819a184b3015b17d49b6bd9e151dc8","c64699f2ae460ae5c4d83b27052d0dd4205c19cb99ea8c27c8516a1ac93d91b2","4a477f0706897d0e6e7681fad3936f9841bc1dfdcd6ed7d39f48aeb7c7b1c63c","cec79de073ea5ae9956e4463b929f592ea85c97267bd12d7511f6cce21e4acd0","844250a267b978b383a7f767229b33a785b3255e756f0c2ebc7ad9aa62b683ba","8fa607d77a91f494522f607f0b1a1dbcf476392eb172d859591fa7e85358f055","59de09194b42abd91858e592b0c722567c8a087d64300d8b6662cfafb5bbab75","291ccd5bd78c196a063215a5f88e9d9e8d116a616282cb027d13a9ee7ddde177","94b4b259adc35a7394efa77750bed8af3fa7c7454ad4fdc3ac242d1f9be1b1b9","3cf7249d3a757047aea8a393c2c9c3c9eb802cff610fe58d1070209f4a8865b7","eaed0ef9b975fe55e6ec0dcab890d2aefc9f8060c3be0029a52f76b460478497","ff2bb6bbf0dad381971dd6c0153c5ce9046f4d9b5c7663f74a0976c76bec7f05","c1aaaa49e5cd3bfca2cfa172e793e4cadb2341dc626a679759edc08ca2e52743","90a07136e99e3f4a04d7215f4cb138b936d356a8b629d1b34df8cf860e37eec0","9c68c4d988655092e8653b37c2ab00832c5cdd75a13b67d2f0d33862c936a84b","9645a041f967fede75c4c57132406be199da37da7d597638f29ea5c1745d6e7c","f3c4ed278eff2d4a0de0412d3f3ca1a6ef393ff255495af918879a464784fef1"],"options":{"composite":true,"declaration":true,"declarationDir":"./esm","declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"importHelpers":true,"importsNotUsedAsValues":2,"module":100,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitOverride":true,"noImplicitReturns":true,"noImplicitThis":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"outDir":"./esm","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":99},"fileIdsList":[[53,54],[52,55,82,85,90,91,92,97,113],[52,55,60,76,78,82,91],[52,76,90,91],[52,60,114],[52,76,90,114],[52,93,94,100,108,109,110,111,112],[52,90,100,108,114],[52,93],[52,60,76,82,85,90,91],[52,90,95,96,98,99,114],[52,85,90,95,114],[52,55,76,82,85,90,95,97,114],[52,76,85,90,114],[52],[52,101,102,103,104,105,106,107],[52,76,90,101,102,103],[52,76,90,101,102],[52,76,82,90],[52,60,82,85,90,97,103,104,105,106,114],[52,77],[52,78,82,85,90,91,92,97,113,114,115],[52,76,90],[52,55,60,82,84,90,91],[52,83,84],[52,55,83,90,91],[52,76,85,87,88],[52,86],[52,87,88,89],[52,55,76,82,87,89],[52,55,60],[52,79,80,81],[56,57],[56],[56,57,58,59],[57],[61,62,63,64],[62,63,65],[61,62,63,64,65],[64],[66,70,74,75],[66,70,74],[66],[68],[68,69,71],[66,68,70],[67,72,73]],"referencedMap":[[55,1],[114,2],[92,3],[115,4],[93,5],[94,6],[113,7],[109,8],[110,9],[111,10],[100,11],[96,12],[98,13],[95,14],[99,15],[108,16],[104,17],[105,18],[106,17],[101,19],[102,19],[103,18],[107,20],[112,9],[78,21],[97,15],[116,22],[91,23],[83,24],[85,25],[84,26],[89,27],[117,15],[118,28],[87,28],[90,29],[88,30],[79,31],[80,15],[81,15],[82,32],[58,33],[57,34],[60,35],[59,36],[65,37],[64,38],[66,39],[63,40],[76,41],[75,42],[67,43],[68,43],[69,44],[72,45],[71,46],[74,47],[73,43]],"exportedModulesMap":[[55,1],[114,2],[92,3],[115,4],[93,5],[94,6],[113,7],[109,8],[110,9],[111,10],[100,11],[96,12],[98,13],[95,14],[99,15],[108,16],[104,17],[105,18],[106,17],[101,19],[102,19],[103,18],[107,20],[112,9],[78,21],[97,15],[116,22],[91,23],[83,24],[85,25],[84,26],[89,27],[117,15],[118,28],[87,28],[90,29],[88,30],[79,31],[80,15],[81,15],[82,32],[58,33],[57,34],[60,35],[59,36],[65,37],[64,38],[66,39],[63,40],[76,41],[75,42],[67,43],[68,43],[69,44],[72,45],[71,46],[74,47],[73,43]],"semanticDiagnosticsPerFile":[53,55,54,52,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,36,41,42,37,38,39,40,8,46,43,44,45,47,9,48,49,50,1,10,51,86,114,92,115,93,94,113,109,110,111,100,96,98,95,99,108,104,105,106,101,102,103,107,112,78,97,116,91,83,85,84,89,117,118,87,90,88,79,80,81,82,77,56,58,57,60,59,65,64,66,62,61,63,76,75,67,68,69,72,71,74,73,70]},"version":"4.7.0-dev.20220403"}
1
+ {"program":{"fileNames":["../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es5.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2016.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2017.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2018.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2019.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2021.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2022.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.esnext.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.core.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2017.object.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2017.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2019.array.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2019.object.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2019.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.date.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2020.number.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2021.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2022.array.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2022.error.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2022.object.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.es2022.string.d.ts","../../common/temp/node_modules/.pnpm/typescript@4.7.0-beta/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../common/temp/node_modules/.pnpm/tslib@2.3.1/node_modules/tslib/tslib.d.ts","../../common/temp/node_modules/.pnpm/@yume-chan+async@2.1.4/node_modules/@yume-chan/async/dts/async-operation-manager.d.ts","../../common/temp/node_modules/.pnpm/@yume-chan+async@2.1.4/node_modules/@yume-chan/async/dts/promise-resolver.d.ts","../../common/temp/node_modules/.pnpm/@yume-chan+async@2.1.4/node_modules/@yume-chan/async/dts/index.d.ts","../event/esm/disposable.d.ts","../event/esm/event.d.ts","../event/esm/event-emitter.d.ts","../event/esm/utils.d.ts","../event/esm/index.d.ts","../struct/esm/basic/stream.d.ts","../struct/esm/basic/options.d.ts","../struct/esm/basic/struct-value.d.ts","../struct/esm/basic/field-value.d.ts","../struct/esm/basic/definition.d.ts","../struct/esm/basic/index.d.ts","../struct/esm/types/bigint.d.ts","../struct/esm/types/buffer/base.d.ts","../struct/esm/types/buffer/fixed-length.d.ts","../struct/esm/utils.d.ts","../struct/esm/types/buffer/variable-length.d.ts","../struct/esm/types/buffer/index.d.ts","../struct/esm/types/number.d.ts","../struct/esm/types/index.d.ts","../struct/esm/struct.d.ts","../struct/esm/index.d.ts","../dataview-bigint-polyfill/esm/fallback.d.ts","./src/crypto.ts","./src/utils/auto-reset-event.ts","./src/utils/base64.ts","./src/utils/index.ts","./src/socket/dispatcher.ts","./src/socket/socket.ts","./src/socket/index.ts","../../common/temp/node_modules/.pnpm/web-streams-polyfill@3.2.1/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts","./src/stream/detect.polyfill.ts","./src/stream/detect.ts","./src/stream/transform.ts","./src/stream/buffered.ts","./src/stream/index.ts","./src/packet.ts","./src/auth.ts","./src/commands/base.ts","./src/commands/framebuffer.ts","./src/commands/subprocess/protocols/types.ts","./src/commands/subprocess/protocols/none.ts","./src/features.ts","./src/commands/subprocess/protocols/shell.ts","./src/commands/subprocess/protocols/index.ts","./src/commands/subprocess/utils.ts","./src/commands/subprocess/index.ts","./src/commands/sync/request.ts","./src/commands/sync/response.ts","./src/commands/sync/stat.ts","./src/commands/sync/list.ts","./src/commands/sync/pull.ts","./src/commands/sync/push.ts","./src/commands/sync/sync.ts","./src/commands/sync/index.ts","./src/commands/install.ts","./src/commands/power.ts","./src/commands/reverse.ts","./src/commands/tcpip.ts","./src/commands/index.ts","./src/adb.ts","./src/backend.ts","./src/index.ts","./src/stream/detect.native.ts"],"fileInfos":[{"version":"b9aed7b5bbb9d757ea0c1111ddf8835e3bd99a67388d176633d41c594b5eb847","affectsGlobalScope":true,"impliedFormat":1},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2f93dda35dafec68ec217c9ce67f0f4fbbbb030c055ac312641565ad60dd7e26","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true,"impliedFormat":1},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true,"impliedFormat":1},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"369ef81ec43a468c7e58d2d70f55354f399ac5127a260a4f488f12db88cb90fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true,"impliedFormat":1},{"version":"ff667ee99e5a28c3dc5063a3cfd4d3436699e3fb035d4451037da7f567da542a","affectsGlobalScope":true,"impliedFormat":1},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true,"impliedFormat":1},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true,"impliedFormat":1},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true,"impliedFormat":1},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true,"impliedFormat":1},"12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75","f6ad331f1763968b8a2d5575c1a8581f056009464e98415a266cab49762bc7a5","b309791da689ee6cc3029bd77ff301b011a490021f1c5e87b97029a2ab1c8a1a","52e6225011e81e8a56d58b88823de3926d5e5113583250ed2d58dc04e1d37347","3d4fc1ed5c1c6f311aebeff68ec8038718a12eaef5d0ae5cbd5133112956356f","68b04ac11e3d6a641d8004373420cb061c5056692eea594eb5848d24a3750209","56626e4d962c8eed0cb0d9df0d116dcf7ac4dd166c74e6e1b731203b4c4fca71","aacfeda09eafef77950b51b382d6e29c876b38178a36b7775afb3722ab10c415","8cc812db40101403f8753561d5d56444e582d6658a1825fd65d8b6dc33001854","42c58a27eb98e797c79bef3bdabb4c7fca56897a871caf5c56f8fc21c66695e5","a916bd79fa897dfbfcfef0885727e005c015727e5ade51a5ca91f61eeca4b00f","280512e685352f327cccf84b94972811eef44d5cfdaebaff920ec93d7b84fc96","f82ff502240e2b1cd9e2de9e8e46d7ba4320e08cf866599817ae009a667d423b","6ee02f787d62dd0744f470f9ee6b0cb42144933e3a5cda844271be0be70f442d","4000865d5ddad64d7894da59d95ef9900473502006100a4ed82cc950cf7c2f56","5297a6a60076abaf8d3e3d76d978d9e4949e0856e1bbf6a7ac042847c68209ef","7614ccd9e58f7baa91a3cbbcc275122f6b785bb6ae6a77bc300b12b8ac6b417a","1785accb5aa4a677f20f824c12a924c68fc81955f2c12899c412993eccbc6ca8","df836b37a8ad0d5f179158be9bd733ea0e4cb9d53879a06fbe20ffbdcbb7c65f","4ce90a91c6a81467789f3e9017c616178996a372e91fb702403e3acd16f11b1a","05ff8aaf99e2fe90a8bead1f2abe7001b1f2883b3733f68edc138d42d4a64fbc","7499b53a6122ba8f7e4cd7cbb51121fa40fdc4ba7fef7271fd776839df24f076","deb19b18352719845b83f911ec5f6520b11918c45327267d828658ad3e15f59a","05997167d658924a4823163a5b443fcbd7ce8c745e0075f1c95dbf834133dec0",{"version":"16b6014cf97bb1eed71f5955ba76e1714f852e0ada929661c2f3215b8b2694f7","affectsGlobalScope":true,"impliedFormat":99},"ea9a35cd9e4fc405c1e35f2ab6d2219205cc1d0a99338af5d462472ebcfbd855",{"version":"f4b3415359c47307906afa88864ee8eeb7bbd266b3661888676f45211b09cdbc","signature":"631d36651820d17f94053f125746ab7a0c96a8f5c4b3d6a3fcb50d7ad99a25b9","impliedFormat":99},{"version":"7fda0e19d2d2422812264b69dac056db145e9ea6e512c6ff8b507629fd402929","signature":"09dde3fee0f0a7c5022063b13b9b1d6bfafba9916ae3d2e782256bea5157b5e6","impliedFormat":99},{"version":"99d2eb500b030c6fff24f65ae75a4b6083bbe579550986cef63aa2e7f78c7212","signature":"83b0d39f2ae59a3ec30d2d56a4fd4353b41d22f59a47bf43fcf5946c0ca57615","impliedFormat":99},"dfd3c561fe633424048a65a09c14c2950fbd22efaf7b4ba8253ed4a1986988cf",{"version":"4d84eb78ad24d39d293c7902e3e230cdf5548e0fac7ccb2a91351cb5996ad2a6","signature":"203cffd476bc07695715c358093b39c6f9d333ecde819cc0597f5b4f5fdeedd3","impliedFormat":99},"b2222f7927d38615aed5665d68665e4860da2600f748e3ad5b653a3ab9c778c0","0de7c253a483479d15abdaa8bc41d67b34f53991ca72001de6840d973fa81114","39bf6bdc4a79a0a88ceeac26f98a01a87c910f8fb7a13bff2d4d60f4df5239b7",{"version":"64bb3368c8d2108816f020dc7b43b07672e20126bd0c5ed469ac957759d86f78","signature":"6aa13f744d0f53d98b87c02f7c99ae999d9fb1e4205512800ac9aadc590cdb8d","impliedFormat":99},{"version":"f52e8b0040d29d5d307f64d56816cc36808e7974fa0fcf882a730ac56e265ec5","signature":"1599f4cd1f4205d1213ab331acb3456fb2b3c5403eaefd6384a3fc4565311591","impliedFormat":99},"135db3a79bb21abb5cefe85ae57e52f97ad07781d8877e0ed31a8e4bbf245812","73bd8d8ed88f2c7fc37bf269b11817b1b7bb38c9b7700d53066d92510e8a3953","ec01f9873abc1b4c2318768379795f2a0c33dcd81ff5e3359b52b12421d2b057","26e42f312e78b959c09a0463d28f5ec6f2bea79b774fa68cce910dcec3de48a6",{"version":"a9ed85d0aa867ed7264d8df6c901c5924146b7a80bdfd14177268e0917d71708","signature":"aa34cfc64d26fb74875d0c0a612d67c6509381501a1c4f498790ce818ebd04aa","impliedFormat":99},"6b212aad521a3550d8c95588d03aff03a1352f548aa52856d1027461717eecdb","0f7b94b71ebdbfded57a811c8c77d9ec0fe3d74a2acaab875223a6802a5406a0","c5fbb3d4bc31d06844e9f9dafb18b2a5b0ca260ac52c9698a3cbe23a64f07670","04195c6840071454d518c537ccc5a1583fba54a7db09fb11507ed11f93bf2efa",{"version":"8f76b4b2dd576d5de896ee0644844d5a03c7b8292998bd0ad11cfba3a10c4026","signature":"b208195f20f0fac9efa29ca1a33f7ab0b5259ed68e84a1efaa4fd51480c314be","impliedFormat":99},{"version":"b63275584aeb428ef5117e8eef03be033cf43243877db288384f23c9584f896a","signature":"7d1411830502fd54718b5981320f57b799c935420510620041d9af165e026ac1","impliedFormat":99},"a54c04a56fa26cf1ac69c4e80d00280ec2bc1d498917c3a8dc94cc2fa6d8aeff",{"version":"e001cbffd541e15372c9546f22a2eded9b49d977b87dd177e050e7a192338fcd","signature":"b90f54963f39da1caf8138d8b136041c35e932c3ac5c8a6cf6fb4c990e566244","impliedFormat":99},"bfef624d316c35f8cdf2da4eca63bb9cefdfde6ec9a43fd44569bd265ed847d6","6e575f5d9e7e5415d03977ab4f6de1fd7b0a73e7e38381a995f811dae0539d46","26ee130b4784fbff312af1370f14216a9287cdd3738ec1a7c26fae1af37483d0","9500cc1f2d0b91dd5d84451aa8dc329e9cbd17df6a18eb73ee8956d09436fd8b","b5b1be7d1aec9650de6caeb8aa300a3cc7536492c1467474e46093de78a4d035","cec79de073ea5ae9956e4463b929f592ea85c97267bd12d7511f6cce21e4acd0","844250a267b978b383a7f767229b33a785b3255e756f0c2ebc7ad9aa62b683ba","74cbd3ea9c1e41974179882a2898435bb01289269049340df967683751fdbdb7","59de09194b42abd91858e592b0c722567c8a087d64300d8b6662cfafb5bbab75","709adbd5270f3bfa51d437b3d668b15034ede8c8ee6c1d211ae4af35820435f1","94b4b259adc35a7394efa77750bed8af3fa7c7454ad4fdc3ac242d1f9be1b1b9","86114ae1ee7c77bdc104d63659962de0a7a206798fe14191c6088646ce65684a","eaed0ef9b975fe55e6ec0dcab890d2aefc9f8060c3be0029a52f76b460478497","ff2bb6bbf0dad381971dd6c0153c5ce9046f4d9b5c7663f74a0976c76bec7f05","c33d0d43936855063ba1fb96da2dfbf530872677c7238d4b06883a97baac5ea8","a0f20d05f9c3594a722d527cc0bc4192544a599740f64dda6bc74f62f6b17b30","9c68c4d988655092e8653b37c2ab00832c5cdd75a13b67d2f0d33862c936a84b",{"version":"9645a041f967fede75c4c57132406be199da37da7d597638f29ea5c1745d6e7c","signature":"b26b65bdb8a1b30ab1938619f62221049df455c118ada7ff0b89c99cb76e3596","impliedFormat":99}],"options":{"composite":true,"declaration":true,"declarationDir":"./esm","declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"importHelpers":true,"importsNotUsedAsValues":2,"module":100,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitOverride":true,"noImplicitReturns":true,"noImplicitThis":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"outDir":"./esm","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":99},"fileIdsList":[[53,54],[52,55,81,84,90,91,92,97,114],[52,55,60,76,78,81,91],[52,76,90,91],[52,60,115],[52,76,90,115],[52,93,94,101,109,110,111,112,113],[52,90,101,109,115],[52,93],[52,60,76,81,84,90,91],[52,90,99,100,115],[52,95,96,98],[52,84,90,95,115],[52,55,76,81,84,90,95,97,115],[52,76,84,90,115],[52],[52,102,103,104,105,106,107,108],[52,76,90,102,103,104],[52,76,90,102,103],[52,76,81,90],[52,60,81,84,90,97,104,105,106,107,114,115],[52,77],[52,78,81,84,90,91,92,97,114,115,116],[52,76,90],[52,55,60,81,83,90,91],[52,82,83],[52,55,82,90,91],[52,76,84,87,88],[52,85],[52,86],[52,87,88,89],[52,55,76,81,87,89],[52,55,60],[52,76,79,80],[56,57],[56],[56,57,58,59],[57],[61,62,63,64],[62,63,65],[61,62,63,64,65],[64],[66,70,74,75],[66,70,74],[66],[68],[68,69,71],[66,68,70],[67,72,73],[60,76,91],[84,90,95,115],[60,83,90,91],[85],[86],[60],[76,79,80]],"referencedMap":[[55,1],[115,2],[92,3],[116,4],[93,5],[94,6],[114,7],[110,8],[111,9],[112,10],[101,11],[99,12],[96,13],[98,14],[95,15],[100,16],[109,17],[105,18],[106,19],[107,18],[102,20],[103,20],[104,19],[108,21],[113,9],[78,22],[97,16],[117,23],[91,24],[82,25],[84,26],[83,27],[89,28],[118,16],[86,29],[87,30],[90,31],[88,32],[79,33],[80,16],[81,34],[58,35],[57,36],[60,37],[59,38],[65,39],[64,40],[66,41],[63,42],[76,43],[75,44],[67,45],[68,45],[69,46],[72,47],[71,48],[74,49],[73,45]],"exportedModulesMap":[[55,1],[115,2],[92,50],[116,4],[93,5],[94,6],[114,7],[110,8],[111,9],[112,10],[101,11],[99,12],[96,13],[98,51],[95,15],[109,17],[105,18],[106,19],[107,18],[102,20],[103,20],[104,19],[108,21],[113,9],[117,23],[91,24],[82,52],[84,26],[83,27],[89,28],[86,53],[87,54],[90,31],[88,32],[79,55],[81,56],[58,35],[57,36],[60,37],[59,38],[65,39],[64,40],[66,41],[63,42],[76,43],[75,44],[67,45],[68,45],[69,46],[72,47],[71,48],[74,49],[73,45]],"semanticDiagnosticsPerFile":[53,55,54,52,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,36,41,42,37,38,39,40,8,46,43,44,45,47,9,48,49,50,1,10,51,85,115,92,116,93,94,114,110,111,112,101,99,96,98,95,100,109,105,106,107,102,103,104,108,113,78,97,117,91,82,84,83,89,118,86,87,90,88,79,80,81,77,56,58,57,60,59,65,64,66,62,61,63,76,75,67,68,69,72,71,74,73,70]},"version":"4.7.0-beta"}
@@ -1,13 +0,0 @@
1
-
2
- // @ts-expect-error @types/node missing `TextEncoder`
3
- const Utf8Encoder = new TextEncoder();
4
- // @ts-expect-error @types/node missing `TextDecoder`
5
- const Utf8Decoder = new TextDecoder();
6
-
7
- export function encodeUtf8(input: string): Uint8Array {
8
- return Utf8Encoder.encode(input);
9
- }
10
-
11
- export function decodeUtf8(buffer: ArrayBufferView | ArrayBuffer): string {
12
- return Utf8Decoder.decode(buffer);
13
- }