@yume-chan/struct 2.3.2 → 3.0.0-beta.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/LICENSE +1 -1
- package/esm/bipedal.d.ts +1 -1
- package/esm/bipedal.d.ts.map +1 -1
- package/esm/concat.js.map +1 -1
- package/esm/extend.js.map +1 -1
- package/esm/field/types.d.ts.map +1 -1
- package/esm/index.d.ts +0 -8
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js.map +1 -1
- package/esm/readable.d.ts +4 -0
- package/esm/readable.d.ts.map +1 -1
- package/esm/readable.js +5 -0
- package/esm/readable.js.map +1 -1
- package/esm/struct.d.ts +4 -0
- package/esm/struct.d.ts.map +1 -1
- package/esm/struct.js +5 -0
- package/esm/struct.js.map +1 -1
- package/esm/utils.d.ts +7 -2
- package/esm/utils.d.ts.map +1 -1
- package/esm/utils.js +1 -1
- package/esm/utils.js.map +1 -1
- package/package.json +8 -8
- package/src/bipedal.ts +1 -1
- package/src/concat.ts +1 -1
- package/src/extend.ts +1 -1
- package/src/field/types.ts +2 -4
- package/src/index.ts +0 -12
- package/src/readable.ts +12 -0
- package/src/struct.ts +13 -1
- package/src/utils.ts +7 -3
- package/tsconfig.build.json +0 -5
- package/CHANGELOG.md +0 -159
- package/tsconfig.build.tsbuildinfo +0 -1
package/LICENSE
CHANGED
package/esm/bipedal.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MaybePromiseLike } from "@yume-chan/async";
|
|
2
|
-
export type BipedalGenerator<This, T, A extends unknown[]> = (this: This, then: <U>(value: MaybePromiseLike<U>) => Iterable<unknown, U, unknown>, ...args: A) => Generator<unknown, T
|
|
2
|
+
export type BipedalGenerator<This, T, A extends unknown[]> = (this: This, then: <U>(value: MaybePromiseLike<U>) => Iterable<unknown, U, unknown>, ...args: A) => Generator<unknown, MaybePromiseLike<T>, unknown>;
|
|
3
3
|
export declare function bipedal<This, T, A extends unknown[]>(fn: BipedalGenerator<This, T, A>, bindThis?: This): {
|
|
4
4
|
(this: This, ...args: A): MaybePromiseLike<T>;
|
|
5
5
|
};
|
package/esm/bipedal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bipedal.d.ts","sourceRoot":"","sources":["../src/bipedal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAsBzD,MAAM,MAAM,gBAAgB,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,IAAI,CACzD,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,OAAO,EAAE,CAAC,EAAE,OAAO,CAAC,EACtE,GAAG,IAAI,EAAE,CAAC,KACT,SAAS,CAAC,OAAO,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"bipedal.d.ts","sourceRoot":"","sources":["../src/bipedal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAsBzD,MAAM,MAAM,gBAAgB,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,IAAI,CACzD,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,OAAO,EAAE,CAAC,EAAE,OAAO,CAAC,EACtE,GAAG,IAAI,EAAE,CAAC,KACT,SAAS,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;AAGtD,wBAAgB,OAAO,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,EAChD,EAAE,EAAE,gBAAgB,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,EAChC,QAAQ,CAAC,EAAE,IAAI,GAChB;IAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAA;CAAE,CAgCnD"}
|
package/esm/concat.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"concat.js","sourceRoot":"","sources":["../src/concat.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAwCrC,0BAA0B;AAC1B,MAAM,UAAU,MAAM,CAQlB,OAMC,EACD,GAAG,OAAU;IAEb,OAAO,MAAM,CACT,OAAO,CAAC,MAAM,CACV,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EACxD,EAAE,CACI,EACV;QACI,YAAY,EAAE,OAAO,CAAC,YAAY;QAClC,eAAe,EAAE,OAAO,CAAC,eAAe;QACxC,KAAK,EAAE,OAAO,CAAC,MAAM,CACjB,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CACf,MAAM,CAAC,gBAAgB,CACnB,MAAM,EACN,MAAM,CAAC,yBAAyB,CAAC,MAAM,CAAC,KAAK,CAAC,CACjD,EACL,EAAE,CACI;KACb,
|
|
1
|
+
{"version":3,"file":"concat.js","sourceRoot":"","sources":["../src/concat.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAwCrC,0BAA0B;AAC1B,MAAM,UAAU,MAAM,CAQlB,OAMC,EACD,GAAG,OAAU;IAEb,OAAO,MAAM,CACT,OAAO,CAAC,MAAM,CACV,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EACxD,EAAE,CACI,EACV;QACI,YAAY,EAAE,OAAO,CAAC,YAAY;QAClC,eAAe,EAAE,OAAO,CAAC,eAAe;QACxC,KAAK,EAAE,OAAO,CAAC,MAAM,CACjB,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CACf,MAAM,CAAC,gBAAgB,CACnB,MAAM,EACN,MAAM,CAAC,yBAAyB,CAAC,MAAM,CAAC,KAAK,CAAC,CACjD,EACL,EAAE,CACI;KACb,CACJ,CAAC;AACN,CAAC"}
|
package/esm/extend.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../src/extend.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,0BAA0B;AAC1B,MAAM,UAAU,MAAM,CAUlB,IAAU,EACV,MAAc,EACd,OAQC;IAED,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE;QAClD,YAAY,EAAE,OAAO,EAAE,YAAY,IAAI,IAAI,CAAC,YAAY;QACxD,KAAK,EAAE,IAAI,CAAC,KAAc;QAC1B,eAAe,EAAE,OAAO,EAAE,eAAe;KAC5C,
|
|
1
|
+
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../src/extend.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,0BAA0B;AAC1B,MAAM,UAAU,MAAM,CAUlB,IAAU,EACV,MAAc,EACd,OAQC;IAED,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE;QAClD,YAAY,EAAE,OAAO,EAAE,YAAY,IAAI,IAAI,CAAC,YAAY;QACxD,KAAK,EAAE,IAAI,CAAC,KAAc;QAC1B,eAAe,EAAE,OAAO,EAAE,eAAe;KAC5C,CAAC,CAAC;AACP,CAAC"}
|
package/esm/field/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/field/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAExE,MAAM,WAAW,4BAA4B;IACzC,YAAY,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/field/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAExE,MAAM,WAAW,4BAA4B;IACzC,YAAY,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,yBAA0B,SAAQ,4BAA4B;IAC3E,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,eAAe,CAAC,CAAC;IAC9B,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IAEb,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,4BAA4B,GAAG,UAAU,CAAC;IACxE,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,yBAAyB,GAAG,MAAM,CAAC;CACpE;AAED,MAAM,WAAW,KAAK,CAAC,CAAC,EAAE,QAAQ,SAAS,MAAM,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC,CACzD,SAAQ,eAAe,CAAC,GAAG,CAAC,EAAE,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC;IACrD,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAC;IAE/B;;OAEG;IACH,IAAI,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,GAAG,GAAG,CAAC;CACzC;AAED,MAAM,WAAW,uBAAuB,CAAC,CAAC;IACtC,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,CAAC,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC,EAAE,CAAC;IACnC,WAAW,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,uBAAuB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC3E,WAAW,CACP,MAAM,EAAE,kBAAkB,EAC1B,OAAO,EAAE,uBAAuB,CAAC,CAAC,CAAC,GACpC,gBAAgB,CAAC,CAAC,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,YAAY,CAAC,CAAC,EAAE,QAAQ,SAAS,MAAM,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC;IAChE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,KAAK,GAAG,CAAC,GAAG,SAAS,CAAC;CAC3D"}
|
package/esm/index.d.ts
CHANGED
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
|
package/esm/readable.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { MaybePromiseLike } from "@yume-chan/async";
|
|
2
|
+
declare const ExactReadableEndedErrorBrand: unique symbol;
|
|
2
3
|
export declare class ExactReadableEndedError extends Error {
|
|
4
|
+
[ExactReadableEndedErrorBrand]: boolean;
|
|
5
|
+
static [Symbol.hasInstance](value: unknown): boolean;
|
|
3
6
|
constructor();
|
|
4
7
|
}
|
|
5
8
|
export interface ExactReadable {
|
|
@@ -28,4 +31,5 @@ export interface AsyncExactReadable {
|
|
|
28
31
|
*/
|
|
29
32
|
readExactly(length: number): MaybePromiseLike<Uint8Array>;
|
|
30
33
|
}
|
|
34
|
+
export {};
|
|
31
35
|
//# sourceMappingURL=readable.d.ts.map
|
package/esm/readable.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readable.d.ts","sourceRoot":"","sources":["../src/readable.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,qBAAa,uBAAwB,SAAQ,KAAK;;
|
|
1
|
+
{"version":3,"file":"readable.d.ts","sourceRoot":"","sources":["../src/readable.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,QAAA,MAAM,4BAA4B,eAEjC,CAAC;AAEF,qBAAa,uBAAwB,SAAQ,KAAK;IAC9C,CAAC,4BAA4B,CAAC,UAAQ;WAEtB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,KAAK,EAAE,OAAO;;CAStD;AAED,MAAM,WAAW,aAAa;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B;;;;;OAKG;IACH,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC;CAC3C;AAED,qBAAa,uBAAwB,YAAW,aAAa;;IAIzD,IAAI,QAAQ,WAEX;gBAEW,IAAI,EAAE,UAAU;IAK5B,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU;CAa1C;AAED,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B;;;;;OAKG;IACH,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,gBAAgB,CAAC,UAAU,CAAC,CAAC;CAC7D"}
|
package/esm/readable.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
// TODO: allow over reading (returning a `Uint8Array`, an `offset` and a `length`) to avoid copying
|
|
2
|
+
const ExactReadableEndedErrorBrand = Symbol.for("ExactReadableEndedError.brand");
|
|
2
3
|
export class ExactReadableEndedError extends Error {
|
|
4
|
+
[ExactReadableEndedErrorBrand] = true;
|
|
5
|
+
static [Symbol.hasInstance](value) {
|
|
6
|
+
return !!value?.[ExactReadableEndedErrorBrand];
|
|
7
|
+
}
|
|
3
8
|
constructor() {
|
|
4
9
|
super("ExactReadable ended");
|
|
5
10
|
}
|
package/esm/readable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readable.js","sourceRoot":"","sources":["../src/readable.ts"],"names":[],"mappings":"AAAA,mGAAmG;A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B,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED,YAAY,IAAgB;QACxB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;IACvB,CAAC;IAED,WAAW,CAAC,MAAc;QACtB,IAAI,IAAI,CAAC,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;YAC9C,MAAM,IAAI,uBAAuB,EAAE,CAAC;QACxC,CAAC;QAED,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAC9B,IAAI,CAAC,SAAS,EACd,IAAI,CAAC,SAAS,GAAG,MAAM,CAC1B,CAAC;QAEF,IAAI,CAAC,SAAS,IAAI,MAAM,CAAC;QACzB,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ"}
|
package/esm/struct.d.ts
CHANGED
|
@@ -16,7 +16,10 @@ export declare class StructDeserializeError extends Error {
|
|
|
16
16
|
export declare class StructNotEnoughDataError extends StructDeserializeError {
|
|
17
17
|
constructor();
|
|
18
18
|
}
|
|
19
|
+
declare const StructEmptyErrorBrand: unique symbol;
|
|
19
20
|
export declare class StructEmptyError extends StructDeserializeError {
|
|
21
|
+
[StructEmptyErrorBrand]: boolean;
|
|
22
|
+
static [Symbol.hasInstance](value: unknown): boolean;
|
|
20
23
|
constructor();
|
|
21
24
|
}
|
|
22
25
|
export type ExtraToIntersection<Extra extends Record<PropertyKey, unknown> | undefined> = Extra extends undefined ? unknown : Extra;
|
|
@@ -30,4 +33,5 @@ export declare function struct<Fields extends Record<string, Field<unknown, stri
|
|
|
30
33
|
extra?: (Extra & ThisType<FieldsValue<Fields>>) | undefined;
|
|
31
34
|
postDeserialize?: ((this: FieldsValue<Fields> & ExtraToIntersection<Extra>, value: FieldsValue<Fields> & ExtraToIntersection<Extra>) => PostDeserialize) | undefined;
|
|
32
35
|
}): Struct<Fields, Extra, PostDeserialize>;
|
|
36
|
+
export {};
|
|
33
37
|
//# sourceMappingURL=struct.d.ts.map
|
package/esm/struct.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"struct.d.ts","sourceRoot":"","sources":["../src/struct.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACR,KAAK,EAIL,iBAAiB,EACpB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EACR,kBAAkB,EAClB,UAAU,EAEV,gBAAgB,EACnB,MAAM,YAAY,CAAC;AAEpB,MAAM,MAAM,WAAW,GACjB,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,GACxC,CAAC,gBAAgB,CAAC,OAAO,CAAC,GAAG,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC;AAEhE,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;AAEvD,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,YAAY,IAAI;KAC7C,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,iBAAiB,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,GAC1D,CAAC,GACD,KAAK;CACd,CAAC;AAEF,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,WAAW,IAC3C,CAAC,SAAS,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,GAC7C,MAAM,SAAS,CAAC,GACZ,KAAK,GACL,CAAC,GACL,KAAK,CAAC;AAEhB,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,YAAY,IAAI;KACjD,CAAC,IAAI,MAAM,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACtC,CAAC,MAAM,CAAC,CAAC,CAAC;AAEX,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,YAAY,IAAI,IAAI,CACjD,WAAW,CAAC,CAA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GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,mBAAmB,CAAC,KAAK,CAAC,EAElE,MAAM,EAAE,MAAM,EACd,OAAO,EAAE;IACL,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IAC5D,eAAe,CAAC,EACV,CAAC,CACG,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,mBAAmB,CAAC,KAAK,CAAC,EACtD,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,mBAAmB,CAAC,KAAK,CAAC,KACtD,eAAe,CAAC,GACrB,SAAS,CAAC;CACnB,GACF,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,eAAe,CAAC,CAkJxC"}
|
package/esm/struct.js
CHANGED
|
@@ -10,7 +10,12 @@ export class StructNotEnoughDataError extends StructDeserializeError {
|
|
|
10
10
|
super("The underlying readable was ended before the struct was fully deserialized");
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
+
const StructEmptyErrorBrand = Symbol.for("StructEmptyError.brand");
|
|
13
14
|
export class StructEmptyError extends StructDeserializeError {
|
|
15
|
+
[StructEmptyErrorBrand] = true;
|
|
16
|
+
static [Symbol.hasInstance](value) {
|
|
17
|
+
return !!value?.[StructEmptyErrorBrand];
|
|
18
|
+
}
|
|
14
19
|
constructor() {
|
|
15
20
|
super("The underlying readable doesn't contain any more struct");
|
|
16
21
|
}
|
package/esm/struct.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"struct.js","sourceRoot":"","sources":["../src/struct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AASvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAoCxD,MAAM,OAAO,sBAAuB,SAAQ,KAAK;IAC7C,YAAY,OAAe;QACvB,KAA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AAC,CACrC,CAAC;gBACN,CAAC;YACL,CAAC;YAAC,OAAO,CAAC,EAAE,CAAC;gBACT,IAAI,CAAC,CAAC,CAAC,YAAY,uBAAuB,CAAC,EAAE,CAAC;oBAC1C,MAAM,CAAC,CAAC;gBACZ,CAAC;gBAED,IAAI,MAAM,CAAC,QAAQ,KAAK,aAAa,EAAE,CAAC;oBACpC,MAAM,IAAI,gBAAgB,EAAE,CAAC;gBACjC,CAAC;qBAAM,CAAC;oBACJ,MAAM,IAAI,wBAAwB,EAAE,CAAC;gBACzC,CAAC;YACL,CAAC;YAED,IAAI,KAAK,EAAE,CAAC;gBACR,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;YAC3C,CAAC;YAED,IAAI,OAAO,CAAC,eAAe,EAAE,CAAC;gBAC1B,OAAO,OAAO,CAAC,eAAe,CAAC,IAAI,CAC/B,MAAe,EACf,MAAe,CAClB,CAAC;YACN,CAAC;iBAAM,CAAC;gBACJ,OAAO,MAAM,CAAC;YAClB,CAAC;QACL,CAAC,CAAC;KACI,CAAC;AACf,CAAC"}
|
package/esm/utils.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
interface TextEncoder {
|
|
2
|
-
encode(input: string): Uint8Array
|
|
2
|
+
encode(input: string): Uint8Array<ArrayBuffer>;
|
|
3
|
+
encodeInto(source: string, destination: Uint8Array): {
|
|
4
|
+
read: number;
|
|
5
|
+
written: number;
|
|
6
|
+
};
|
|
3
7
|
}
|
|
4
8
|
interface TextDecoder {
|
|
5
9
|
decode(buffer?: ArrayBufferView | ArrayBuffer, options?: {
|
|
@@ -7,7 +11,8 @@ interface TextDecoder {
|
|
|
7
11
|
}): string;
|
|
8
12
|
}
|
|
9
13
|
export declare const TextEncoder: new () => TextEncoder, TextDecoder: new () => TextDecoder;
|
|
10
|
-
export declare
|
|
14
|
+
export declare const SharedEncoder: TextEncoder;
|
|
15
|
+
export declare function encodeUtf8(input: string): Uint8Array<ArrayBuffer>;
|
|
11
16
|
export declare function decodeUtf8(buffer: ArrayBufferView | ArrayBuffer): string;
|
|
12
17
|
export {};
|
|
13
18
|
//# sourceMappingURL=utils.d.ts.map
|
package/esm/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAQA,UAAU,WAAW;IACjB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAQA,UAAU,WAAW;IACjB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;IAC/C,UAAU,CACN,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,UAAU,GACxB;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CACxC;AAED,UAAU,WAAW;IACjB,MAAM,CACF,MAAM,CAAC,EAAE,eAAe,GAAG,WAAW,EACtC,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,GAC/B,MAAM,CAAC;CACb;AAOD,eAAO,MAAQ,WAAW,YAJC,WAAW,EAIV,WAAW,YAHZ,WAIiB,CAAC;AAE7C,eAAO,MAAM,aAAa,aAAoC,CAAC;AAI/D,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,WAAW,CAAC,CAEjE;AAGD,wBAAgB,UAAU,CAAC,MAAM,EAAE,eAAe,GAAG,WAAW,GAAG,MAAM,CAIxE"}
|
package/esm/utils.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// because they will pollute the global scope
|
|
3
3
|
// So `TextEncoder` and `TextDecoder` types are not available
|
|
4
4
|
export const { TextEncoder, TextDecoder } = globalThis;
|
|
5
|
-
const SharedEncoder = /* #__PURE__ */ new TextEncoder();
|
|
5
|
+
export const SharedEncoder = /* #__PURE__ */ new TextEncoder();
|
|
6
6
|
const SharedDecoder = /* #__PURE__ */ new TextDecoder();
|
|
7
7
|
/* #__NO_SIDE_EFFECTS__ */
|
|
8
8
|
export function encodeUtf8(input) {
|
package/esm/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,6CAA6C;AAC7C,6DAA6D;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,6CAA6C;AAC7C,6DAA6D;AA0B7D,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,GACrC,UAAwC,CAAC;AAE7C,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC,IAAI,WAAW,EAAE,CAAC;AAC/D,MAAM,aAAa,GAAG,eAAe,CAAC,IAAI,WAAW,EAAE,CAAC;AAExD,0BAA0B;AAC1B,MAAM,UAAU,UAAU,CAAC,KAAa;IACpC,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACvC,CAAC;AAED,0BAA0B;AAC1B,MAAM,UAAU,UAAU,CAAC,MAAqC;IAC5D,oDAAoD;IACpD,wEAAwE;IACxE,OAAO,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACxC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yume-chan/struct",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-beta.0",
|
|
4
4
|
"description": "C-style structure serializer and deserializer.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"structure",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"email": "cnsimonchan@live.com",
|
|
15
15
|
"url": "https://chensi.moe/blog"
|
|
16
16
|
},
|
|
17
|
-
"homepage": "https://github.com/yume-chan/ya-webadb/tree/main/
|
|
17
|
+
"homepage": "https://github.com/yume-chan/ya-webadb/tree/main/libraries/struct#readme",
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
20
|
"url": "git+https://github.com/yume-chan/ya-webadb.git",
|
|
21
|
-
"directory": "
|
|
21
|
+
"directory": "libraries/struct"
|
|
22
22
|
},
|
|
23
23
|
"bugs": {
|
|
24
24
|
"url": "https://github.com/yume-chan/ya-webadb/issues"
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@yume-chan/async": "^4.1.3",
|
|
32
|
-
"@yume-chan/no-data-view": "
|
|
32
|
+
"@yume-chan/no-data-view": "3.0.0-beta.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@types/node": "^
|
|
36
|
-
"prettier": "^3.
|
|
37
|
-
"typescript": "^
|
|
35
|
+
"@types/node": "^26.0.0",
|
|
36
|
+
"prettier": "^3.8.4",
|
|
37
|
+
"typescript": "^6.0.3",
|
|
38
38
|
"@yume-chan/eslint-config": "^1.0.0",
|
|
39
39
|
"@yume-chan/test-runner": "^1.0.0",
|
|
40
40
|
"@yume-chan/tsconfig": "^1.0.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
|
-
"build": "tsc -
|
|
43
|
+
"build": "tsc -p tsconfig.build.json",
|
|
44
44
|
"lint": "run-eslint && prettier src/**/*.ts --write --tab-width 4",
|
|
45
45
|
"test": "run-test"
|
|
46
46
|
}
|
package/src/bipedal.ts
CHANGED
|
@@ -24,7 +24,7 @@ export type BipedalGenerator<This, T, A extends unknown[]> = (
|
|
|
24
24
|
this: This,
|
|
25
25
|
then: <U>(value: MaybePromiseLike<U>) => Iterable<unknown, U, unknown>,
|
|
26
26
|
...args: A
|
|
27
|
-
) => Generator<unknown, T
|
|
27
|
+
) => Generator<unknown, MaybePromiseLike<T>, unknown>;
|
|
28
28
|
|
|
29
29
|
/* #__NO_SIDE_EFFECTS__ */
|
|
30
30
|
export function bipedal<This, T, A extends unknown[]>(
|
package/src/concat.ts
CHANGED
package/src/extend.ts
CHANGED
package/src/field/types.ts
CHANGED
|
@@ -6,8 +6,7 @@ export interface FieldDefaultSerializeContext {
|
|
|
6
6
|
littleEndian: boolean;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export interface FieldByobSerializeContext
|
|
10
|
-
extends FieldDefaultSerializeContext {
|
|
9
|
+
export interface FieldByobSerializeContext extends FieldDefaultSerializeContext {
|
|
11
10
|
buffer: Uint8Array;
|
|
12
11
|
index?: number;
|
|
13
12
|
}
|
|
@@ -21,8 +20,7 @@ export interface FieldSerializer<T> {
|
|
|
21
20
|
}
|
|
22
21
|
|
|
23
22
|
export interface Field<T, OmitInit extends string, D, Raw = T>
|
|
24
|
-
extends FieldSerializer<Raw>,
|
|
25
|
-
FieldDeserializer<T, D> {
|
|
23
|
+
extends FieldSerializer<Raw>, FieldDeserializer<T, D> {
|
|
26
24
|
omitInit: OmitInit | undefined;
|
|
27
25
|
|
|
28
26
|
/**
|
package/src/index.ts
CHANGED
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
interface ArrayBuffer {
|
|
3
|
-
// Disallow assigning `Uint8Array` to `Arraybuffer`
|
|
4
|
-
__brand: never;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
interface SharedArrayBuffer {
|
|
8
|
-
// Allow `SharedArrayBuffer` to be assigned to `ArrayBuffer`
|
|
9
|
-
__brand: never;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
1
|
export * from "./bipedal.js";
|
|
14
2
|
export * from "./buffer.js";
|
|
15
3
|
export * from "./concat.js";
|
package/src/readable.ts
CHANGED
|
@@ -2,7 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
import type { MaybePromiseLike } from "@yume-chan/async";
|
|
4
4
|
|
|
5
|
+
const ExactReadableEndedErrorBrand = Symbol.for(
|
|
6
|
+
"ExactReadableEndedError.brand",
|
|
7
|
+
);
|
|
8
|
+
|
|
5
9
|
export class ExactReadableEndedError extends Error {
|
|
10
|
+
[ExactReadableEndedErrorBrand] = true;
|
|
11
|
+
|
|
12
|
+
static override [Symbol.hasInstance](value: unknown) {
|
|
13
|
+
return !!(value as ExactReadableEndedError | undefined)?.[
|
|
14
|
+
ExactReadableEndedErrorBrand
|
|
15
|
+
];
|
|
16
|
+
}
|
|
17
|
+
|
|
6
18
|
constructor() {
|
|
7
19
|
super("ExactReadable ended");
|
|
8
20
|
}
|
package/src/struct.ts
CHANGED
|
@@ -57,7 +57,17 @@ export class StructNotEnoughDataError extends StructDeserializeError {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
+
const StructEmptyErrorBrand = Symbol.for("StructEmptyError.brand");
|
|
61
|
+
|
|
60
62
|
export class StructEmptyError extends StructDeserializeError {
|
|
63
|
+
[StructEmptyErrorBrand] = true;
|
|
64
|
+
|
|
65
|
+
static override [Symbol.hasInstance](value: unknown) {
|
|
66
|
+
return !!(value as StructEmptyError | undefined)?.[
|
|
67
|
+
StructEmptyErrorBrand
|
|
68
|
+
];
|
|
69
|
+
}
|
|
70
|
+
|
|
61
71
|
constructor() {
|
|
62
72
|
super("The underlying readable doesn't contain any more struct");
|
|
63
73
|
}
|
|
@@ -71,7 +81,9 @@ export interface Struct<
|
|
|
71
81
|
Fields extends StructFields,
|
|
72
82
|
Extra extends Record<PropertyKey, unknown> | undefined = undefined,
|
|
73
83
|
PostDeserialize = FieldsValue<Fields> & Extra,
|
|
74
|
-
>
|
|
84
|
+
>
|
|
85
|
+
extends
|
|
86
|
+
StructSerializer<FieldsInit<Fields>>,
|
|
75
87
|
StructDeserializer<PostDeserialize> {
|
|
76
88
|
littleEndian: boolean;
|
|
77
89
|
fields: Fields;
|
package/src/utils.ts
CHANGED
|
@@ -7,7 +7,11 @@
|
|
|
7
7
|
// So there is no point to do that. Let's just assume they exist in global.
|
|
8
8
|
|
|
9
9
|
interface TextEncoder {
|
|
10
|
-
encode(input: string): Uint8Array
|
|
10
|
+
encode(input: string): Uint8Array<ArrayBuffer>;
|
|
11
|
+
encodeInto(
|
|
12
|
+
source: string,
|
|
13
|
+
destination: Uint8Array,
|
|
14
|
+
): { read: number; written: number };
|
|
11
15
|
}
|
|
12
16
|
|
|
13
17
|
interface TextDecoder {
|
|
@@ -25,11 +29,11 @@ interface GlobalExtension {
|
|
|
25
29
|
export const { TextEncoder, TextDecoder } =
|
|
26
30
|
globalThis as unknown as GlobalExtension;
|
|
27
31
|
|
|
28
|
-
const SharedEncoder = /* #__PURE__ */ new TextEncoder();
|
|
32
|
+
export const SharedEncoder = /* #__PURE__ */ new TextEncoder();
|
|
29
33
|
const SharedDecoder = /* #__PURE__ */ new TextDecoder();
|
|
30
34
|
|
|
31
35
|
/* #__NO_SIDE_EFFECTS__ */
|
|
32
|
-
export function encodeUtf8(input: string): Uint8Array {
|
|
36
|
+
export function encodeUtf8(input: string): Uint8Array<ArrayBuffer> {
|
|
33
37
|
return SharedEncoder.encode(input);
|
|
34
38
|
}
|
|
35
39
|
|
package/tsconfig.build.json
CHANGED
package/CHANGELOG.md
DELETED
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
# Change Log - @yume-chan/struct
|
|
2
|
-
|
|
3
|
-
## 2.3.2
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- 8ba86f7: Fix an issue that some overloads of `buffer` (and `string`) ignores specified value converter
|
|
8
|
-
|
|
9
|
-
## 2.0.1
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- 0bcb9b8: Fix `buffer` and `struct` may not have correct size
|
|
14
|
-
|
|
15
|
-
## 2.0.0
|
|
16
|
-
|
|
17
|
-
### Major Changes
|
|
18
|
-
|
|
19
|
-
- b79df96: Refactor struct package to allow `struct`s to be used as `field`
|
|
20
|
-
|
|
21
|
-
### Patch Changes
|
|
22
|
-
|
|
23
|
-
- Updated dependencies
|
|
24
|
-
- @yume-chan/no-data-view@2.0.0
|
|
25
|
-
|
|
26
|
-
## 1.0.1
|
|
27
|
-
|
|
28
|
-
### Patch Changes
|
|
29
|
-
|
|
30
|
-
- 53688d3: Use PNPM workspace and Changesets to manage the monorepo.
|
|
31
|
-
|
|
32
|
-
Because Changesets doesn't support alpha versions (`0.x.x`), this version is `1.0.0`. Future versions will follow SemVer rules, for example, breaking API changes will introduce a new major version.
|
|
33
|
-
|
|
34
|
-
- db8466f: Rewrite the struct API completely
|
|
35
|
-
- db8466f: Improve tree-shaking by removing TypeScript enum and namespace
|
|
36
|
-
- Updated dependencies [53688d3]
|
|
37
|
-
- @yume-chan/no-data-view@1.0.1
|
|
38
|
-
|
|
39
|
-
This log was last generated on Tue, 18 Jun 2024 02:49:43 GMT and should not be manually modified.
|
|
40
|
-
|
|
41
|
-
## 0.0.24
|
|
42
|
-
|
|
43
|
-
Tue, 18 Jun 2024 02:49:43 GMT
|
|
44
|
-
|
|
45
|
-
### Updates
|
|
46
|
-
|
|
47
|
-
- Rename some internal types to make them more distinguishable
|
|
48
|
-
|
|
49
|
-
## 0.0.23
|
|
50
|
-
|
|
51
|
-
Thu, 21 Mar 2024 03:15:10 GMT
|
|
52
|
-
|
|
53
|
-
_Version update only_
|
|
54
|
-
|
|
55
|
-
## 0.0.22
|
|
56
|
-
|
|
57
|
-
Wed, 13 Dec 2023 05:57:27 GMT
|
|
58
|
-
|
|
59
|
-
_Version update only_
|
|
60
|
-
|
|
61
|
-
## 0.0.21
|
|
62
|
-
|
|
63
|
-
Fri, 25 Aug 2023 14:05:18 GMT
|
|
64
|
-
|
|
65
|
-
_Version update only_
|
|
66
|
-
|
|
67
|
-
## 0.0.20
|
|
68
|
-
|
|
69
|
-
Mon, 05 Jun 2023 02:51:41 GMT
|
|
70
|
-
|
|
71
|
-
### Updates
|
|
72
|
-
|
|
73
|
-
- Rename `StructDeserializeStream` and `StructAsyncDeserializeStream` to `ExactReadable` and `AsyncExactReadable`. Rename its `read` method to `readExactly`. Add a `position` field so the caller can check how many bytes have been read.
|
|
74
|
-
- Improve performance for decoding integers.
|
|
75
|
-
- Rename `Struct#fields` to `Struct#concat`. Now `Struct#fields` returns an array of `[name: PropertyKey, definition: StructFieldDefinition<any, any, any>]` tuples.
|
|
76
|
-
- Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0).
|
|
77
|
-
|
|
78
|
-
## 0.0.19
|
|
79
|
-
|
|
80
|
-
Sun, 09 Apr 2023 05:55:33 GMT
|
|
81
|
-
|
|
82
|
-
_Version update only_
|
|
83
|
-
|
|
84
|
-
## 0.0.18
|
|
85
|
-
|
|
86
|
-
Wed, 25 Jan 2023 21:33:49 GMT
|
|
87
|
-
|
|
88
|
-
### Updates
|
|
89
|
-
|
|
90
|
-
- Refactor number types for easier extending (see `ScrcpyFloatToInt16FieldDefinition` for an example)
|
|
91
|
-
|
|
92
|
-
## 0.0.17
|
|
93
|
-
|
|
94
|
-
Tue, 18 Oct 2022 09:32:30 GMT
|
|
95
|
-
|
|
96
|
-
_Version update only_
|
|
97
|
-
|
|
98
|
-
## 0.0.16
|
|
99
|
-
|
|
100
|
-
Sat, 28 May 2022 03:56:37 GMT
|
|
101
|
-
|
|
102
|
-
### Updates
|
|
103
|
-
|
|
104
|
-
- Add support for custom TypeScript type for `uint8Array`
|
|
105
|
-
- Upgrade TypeScript to 4.7.2 to enable Node.js ESM
|
|
106
|
-
- Improve performance of `Struct#deserialize()` by up to 200%.
|
|
107
|
-
- Remove `SyncBird`, it's replaced by `SyncPromise`, which is based on native Promise and is 200% faster.
|
|
108
|
-
|
|
109
|
-
## 0.0.15
|
|
110
|
-
|
|
111
|
-
Mon, 02 May 2022 04:18:01 GMT
|
|
112
|
-
|
|
113
|
-
_Version update only_
|
|
114
|
-
|
|
115
|
-
## 0.0.14
|
|
116
|
-
|
|
117
|
-
Sat, 30 Apr 2022 14:05:48 GMT
|
|
118
|
-
|
|
119
|
-
_Version update only_
|
|
120
|
-
|
|
121
|
-
## 0.0.13
|
|
122
|
-
|
|
123
|
-
Thu, 28 Apr 2022 01:23:53 GMT
|
|
124
|
-
|
|
125
|
-
### Updates
|
|
126
|
-
|
|
127
|
-
- Fix an issue that `uint64` still deserialize to negative numbers
|
|
128
|
-
- Fix an issue where `Syncbird` can't synchronously invoke `then` on some Bluebird internal methods (for example `reduce`)
|
|
129
|
-
|
|
130
|
-
## 0.0.12
|
|
131
|
-
|
|
132
|
-
Sun, 03 Apr 2022 11:18:47 GMT
|
|
133
|
-
|
|
134
|
-
_Version update only_
|
|
135
|
-
|
|
136
|
-
## 0.0.11
|
|
137
|
-
|
|
138
|
-
Sun, 03 Apr 2022 11:18:11 GMT
|
|
139
|
-
|
|
140
|
-
### Updates
|
|
141
|
-
|
|
142
|
-
- Update to use Web Streams API
|
|
143
|
-
- Improve compatibility with Node.js 12 ESM format
|
|
144
|
-
- Update compatibility matrix
|
|
145
|
-
- Update license year
|
|
146
|
-
|
|
147
|
-
## 0.0.10
|
|
148
|
-
|
|
149
|
-
Sun, 09 Jan 2022 15:52:20 GMT
|
|
150
|
-
|
|
151
|
-
### Updates
|
|
152
|
-
|
|
153
|
-
- Add synchronized deserialize support
|
|
154
|
-
|
|
155
|
-
## 0.0.9
|
|
156
|
-
|
|
157
|
-
Sun, 09 Jan 2022 15:50:20 GMT
|
|
158
|
-
|
|
159
|
-
_Initial release_
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"fileNames":["../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.object.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2024.string.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.error.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/@yume-chan+async@4.1.3/node_modules/@yume-chan/async/dts/async-operation-manager.d.ts","../../node_modules/.pnpm/@yume-chan+async@4.1.3/node_modules/@yume-chan/async/dts/delay.d.ts","../../node_modules/.pnpm/@yume-chan+async@4.1.3/node_modules/@yume-chan/async/dts/maybe-promise.d.ts","../../node_modules/.pnpm/@yume-chan+async@4.1.3/node_modules/@yume-chan/async/dts/promise-resolver.d.ts","../../node_modules/.pnpm/@yume-chan+async@4.1.3/node_modules/@yume-chan/async/dts/index.d.ts","./src/bipedal.ts","./src/readable.ts","./src/field/types.ts","./src/field/serialize.ts","./src/field/factory.ts","./src/field/index.ts","./src/buffer.ts","./src/types.ts","./src/struct.ts","./src/concat.ts","./src/extend.ts","../no-data-view/esm/int16.d.ts","../no-data-view/esm/int32.d.ts","../no-data-view/esm/int64.d.ts","../no-data-view/esm/int8.d.ts","../no-data-view/esm/uint16.d.ts","../no-data-view/esm/uint32.d.ts","../no-data-view/esm/uint64.d.ts","../no-data-view/esm/index.d.ts","./src/number.ts","./src/utils.ts","./src/string.ts","./src/index.ts"],"fileIdsList":[[97,98,99,100,101,102,103],[85],[91],[94],[86,87,88,89],[88,89,90],[88],[85,87],[86,87,91,92,93,94,95,96,105,106,107],[85,87,91,104],[91,92,106],[86,87,91,93],[85,87,91],[81,82,83,84]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"4942ce52738852aac9e3eb7b2743abd920ea3f62dfc930e8ab49db6672c5d292","impliedFormat":99},{"version":"f232c6de4d9dacf27320453a89e04c29b3bcc7a084ee6184de18a15e4a1a3a1d","impliedFormat":99},{"version":"0bbbbb1b5a4f7a77a28dbcd2fc59311affab8cfed9dba97b5d5cf20ae7fbc3f3","impliedFormat":99},{"version":"557a9670c1bb00cdd5eb309ed1e28665fdefe501a4b12eb124dc1bcaa1498328","impliedFormat":99},{"version":"91ef0ad14ba3385732eceb83552b2a01fb9f86e0fa532f11d038368ab2ee4bc9","impliedFormat":99},{"version":"ed65a92de4fdc8e0e98dde42f8781a722df6390bcd956f37c8321a31b4a8c8a2","signature":"19872606f722ee6d7e7ae009f5e1d5518695d592de0bc88fbecffb09a190f61c","impliedFormat":99},{"version":"952a4efce87c10971fb453316944dc5e3cdd4e9d75eb76bdf1071dff7c5b256d","signature":"87b3f584a85a5c19bbc331b864710b5a17385c555449f10f1172a2fcdd461e80","impliedFormat":99},{"version":"5abd81e353697352b00e156d7b12bb92a44fb887c43183f068c8fcbc511dc327","signature":"ccf18e79b8dfa269e2e673e910d2f61b00cadfe7debc128bb0208c4b43f76bae","impliedFormat":99},{"version":"4f32905435c8f3f41a6dd5a6a71553fa8a73e6a7a87e0c1283fe48e082addc87","signature":"f479141fdc9002c67ba83693f4d6b61daecb7af890d5f821dada93894b1c72bf","impliedFormat":99},{"version":"fcb81f806866b989596ef8e1688165e1a6eec322bb1d8634a541adb7e29308ce","signature":"cc3fd3344888f2d160e3ef75189a200fd80e72f4ef4b61455a4474d79477bdeb","impliedFormat":99},{"version":"9ed39feaedfaa6d05973b74694ab07211fff43efb1ca554be3bda00ac86de46d","impliedFormat":99},{"version":"b8e5ff78f584fcd86af2f63ab754890cb44014abb3e32f5c8853b450bc169fdd","signature":"36e65139e176ee9404994d97c8432637f43acb2d21b595dda284c82fb822e518","impliedFormat":99},{"version":"0dda0b7e10cadc874d3a6fc0dd403b9ad52d08dd4e56a184a7666612979fae7f","signature":"f03d368eceab76c159f7d9649c64aabb9f9c02f46b8d2a2c60a9e9cf4e2053fb","impliedFormat":99},{"version":"c1d203d13b439b7e63c32fd916f6b96b66fcef83c38ca8576f5481508b685170","signature":"ef7f072d2e15105633948858169948be27240829cba599c2fa3d33964093b30d","impliedFormat":99},{"version":"840e3a92f6720ed5f6e18199a867185a3e985f9e0bb635fc373d861942ad8031","signature":"2b8f38a2e51f762168a4ab8a06c92a78240f65ddaed431005b1056df859f1457","impliedFormat":99},{"version":"bd67bbcfa4ea6ff62bfee20f3990c8df7859ad36d0674378295dbf8820d65462","signature":"a55b182059f77da2687ed0e8877fd4e24481e883fcaf311f48b8ad98673e3e74","impliedFormat":99},{"version":"ae05f9cd1c16cfc37310497693db5ae2a35187579d5bf1abeb033fc0cef5d711","impliedFormat":99},{"version":"58afd688a095623679cbe3a816936ee0f1dc41e2024f19be5c067594f61fcd87","impliedFormat":99},{"version":"1c7a7a88866d0a65928620cbbdd9f0a5d4e13a7ea9e629e2f26a96cacded7949","impliedFormat":99},{"version":"8d2e1284733147f944b2454b8013aa961527290720988eef4401a763213c03fa","impliedFormat":99},{"version":"e5592d565d21c0dab2769bdffe96ecc3409ab2711e651d277289adaa3e97fa35","impliedFormat":99},{"version":"ec4108b0012c9c2bed8d9c81e09a7d2f039564f9b0245eb7ad1fbc32120c1d96","impliedFormat":99},{"version":"5e56bf79192b77d47153ce8c8f7a2bd13ebcf2733538451d18e5c1edc8bd0f7b","impliedFormat":99},{"version":"5aba1004e83ebe1769f09111717b1d3438232eb659f8751d22c438ff14a001c7","impliedFormat":99},{"version":"bea7bd61581a88d5ee929e67fe13c439c7d2646aea7611f1bd9c2140a69a6d2e","signature":"e4a185f4c6aa238c812d3c2ba9746d4bf198a31e70e9fae83d107457f0ab10df","impliedFormat":99},{"version":"c881fd34faf6a9359013e7a32f431c1347658000390f30d81ed3ab6eb4be3f4d","signature":"0e7c5f81cf7dc16c999d304b346382a6002366a59278023907ea8c5685800c03","impliedFormat":99},{"version":"915448d92a6205d5809273888c400fd154fa2728ab2743664f4f8c9df7e96dc8","signature":"910abfd85acbc348dd025d4d661db4625d4458de02c7419d948af152c282e512","impliedFormat":99},{"version":"3de886d5ab0655e44175f014ecd9ebbb5f04b0c4671006c60cbc2475d8bddb87","signature":"ca896dd22a7f1395338a89d9af4199176e8de935628611e299b218183b0f3e8f","affectsGlobalScope":true,"impliedFormat":99}],"root":[[86,96],[105,108]],"options":{"composite":true,"declaration":true,"declarationDir":"./esm","declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitOverride":true,"noImplicitReturns":true,"noImplicitThis":true,"noUncheckedIndexedAccess":true,"noUncheckedSideEffectImports":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./esm","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":99,"verbatimModuleSyntax":true},"referencedMap":[[104,1],[86,2],[92,3],[95,4],[96,4],[90,5],[91,6],[89,7],[88,8],[108,9],[105,10],[87,2],[107,11],[94,12],[93,13],[85,14]],"latestChangedDtsFile":"./esm/index.d.ts","version":"5.9.2"}
|