mol_vary 0.0.21 → 0.0.23
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/README.md +11 -10
- package/node.d.ts +476 -3
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +2132 -28
- package/node.js.map +1 -1
- package/node.mjs +2132 -28
- package/node.test.js +3719 -3681
- package/node.test.js.map +1 -1
- package/package.json +55 -3
- package/web.d.ts +14 -3
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +58 -28
- package/web.js.map +1 -1
- package/web.mjs +58 -28
- package/web.test.js +29 -21
- package/web.test.js.map +1 -1
package/README.md
CHANGED
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
- CBOR: [cbor-x](https://github.com/kriszyp/cbor-x) - fastest implementation with all required extensions (which are standardized, although its don't have wide support).
|
|
18
18
|
- MsgPack: [msgpackr](https://github.com/kriszyp/msgpackr) - fastest implementaion with all required extensions (which incompatible with other libs).
|
|
19
19
|
|
|
20
|
-
| | $mol_vary | cbor-x | msgpackr
|
|
21
|
-
|
|
22
|
-
| Language | ✅ TS | ✅ TS | ❌ JS
|
|
23
|
-
| Performance |
|
|
24
|
-
| Packed Size |
|
|
25
|
-
| Lib Size | ✅ 3KB | ❌ 11 KB | ❌ 11 KB
|
|
26
|
-
| Compatibility | ✅ std | ⭕ ext-std | ❌ ext
|
|
20
|
+
| | $mol_vary | cbor-x | msgpackr | bson
|
|
21
|
+
|----------------|-----------|-------------|----------|-----
|
|
22
|
+
| Language | ✅ TS | ✅ TS | ❌ JS | ✅ TS
|
|
23
|
+
| Performance | ✅ 100% | ✅ 100% | ✅ 100% | ❌ 30%
|
|
24
|
+
| Packed Size | ✅ 100% | ❌ +33% | ❌ +25% | ❌ +160%
|
|
25
|
+
| Lib Size | ✅ 3KB | ❌ 11 KB | ❌ 11 KB | ❌ 21 KB
|
|
26
|
+
| Compatibility | ✅ std | ⭕ ext-std | ❌ ext | ❌ domain-ext
|
|
27
27
|
|
|
28
28
|
[Benchmark](https://perf.js.hyoo.ru/#!bench=j1peaq_k376h9) results:
|
|
29
29
|
|
|
@@ -71,9 +71,10 @@ class Foo {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
$mol_vary.type(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
foo => [ foo.a, foo.b ], //
|
|
74
|
+
Foo, // Instance super class
|
|
75
|
+
[ 'a', 'b' ], // Keys as shape
|
|
76
|
+
foo => [ foo.a, foo.b ], // Vals extractor
|
|
77
|
+
( a, b )=> new Foo( a, b ), // Factory from vals
|
|
77
78
|
)
|
|
78
79
|
```
|
|
79
80
|
|
package/node.d.ts
CHANGED
|
@@ -36,6 +36,479 @@ declare namespace $ {
|
|
|
36
36
|
function $mol_charset_decode_from(buffer: Uint8Array, from: number, count: number): readonly [string, number];
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
declare namespace $ {
|
|
40
|
+
var $mol_dom_context: typeof globalThis;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare namespace $ {
|
|
44
|
+
function $mol_promise_like(val: any): val is Promise<any>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare namespace $ {
|
|
48
|
+
function $mol_fail_hidden(error: any): never;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
declare namespace $ {
|
|
52
|
+
function $mol_fail_catch(error: unknown): boolean;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare namespace $ {
|
|
56
|
+
function $mol_try<Result>(handler: () => Result): Result | Error;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare namespace $ {
|
|
60
|
+
function $mol_fail_log(error: unknown): boolean;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
interface $node {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
}
|
|
66
|
+
declare var $node: $node;
|
|
67
|
+
declare const cache: Map<string, any>;
|
|
68
|
+
|
|
69
|
+
declare namespace $ {
|
|
70
|
+
function $mol_func_name(this: $, func: Function): string;
|
|
71
|
+
function $mol_func_name_from<Target extends Function>(target: Target, source: Function): Target;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
declare namespace $ {
|
|
75
|
+
class $mol_error_mix<Cause extends {} = {}> extends AggregateError {
|
|
76
|
+
readonly cause: Cause;
|
|
77
|
+
name: string;
|
|
78
|
+
constructor(message: string, cause?: Cause, ...errors: readonly Error[]);
|
|
79
|
+
static [Symbol.toPrimitive](): string;
|
|
80
|
+
static toString(): string;
|
|
81
|
+
static make(...params: ConstructorParameters<typeof $mol_error_mix>): $mol_error_mix<{}>;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
declare namespace $ {
|
|
86
|
+
const $mol_ambient_ref: unique symbol;
|
|
87
|
+
type $mol_ambient_context = $;
|
|
88
|
+
function $mol_ambient(this: $ | void, overrides: Partial<$>): $;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
declare namespace $ {
|
|
92
|
+
function $mol_delegate<Value extends object>(proto: Value, target: () => Value): Value;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
declare namespace $ {
|
|
96
|
+
const $mol_owning_map: WeakMap<any, any>;
|
|
97
|
+
function $mol_owning_allow<Having>(having: Having): having is Having & {
|
|
98
|
+
destructor(): void;
|
|
99
|
+
};
|
|
100
|
+
function $mol_owning_get<Having, Owner extends object>(having: Having, Owner?: {
|
|
101
|
+
new (): Owner;
|
|
102
|
+
}): Owner | null;
|
|
103
|
+
function $mol_owning_check<Owner, Having>(owner: Owner, having: Having): having is Having & {
|
|
104
|
+
destructor(): void;
|
|
105
|
+
};
|
|
106
|
+
function $mol_owning_catch<Owner, Having>(owner: Owner, having: Having): boolean;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
declare namespace $ {
|
|
110
|
+
type $mol_type_writable<T> = {
|
|
111
|
+
-readonly [P in keyof T]: T[P];
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
declare namespace $ {
|
|
116
|
+
class $mol_object2 {
|
|
117
|
+
static $: $;
|
|
118
|
+
[Symbol.toStringTag]: string;
|
|
119
|
+
[$mol_ambient_ref]: $;
|
|
120
|
+
get $(): $;
|
|
121
|
+
set $(next: $);
|
|
122
|
+
static create<Instance>(this: new (init?: (instance: any) => void) => Instance, init?: (instance: $mol_type_writable<Instance>) => void): Instance;
|
|
123
|
+
static [Symbol.toPrimitive](): any;
|
|
124
|
+
static toString(): any;
|
|
125
|
+
static toJSON(): any;
|
|
126
|
+
destructor(): void;
|
|
127
|
+
static destructor(): void;
|
|
128
|
+
toString(): string;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
declare namespace $ {
|
|
133
|
+
namespace $$ { }
|
|
134
|
+
const $mol_object_field: unique symbol;
|
|
135
|
+
class $mol_object extends $mol_object2 {
|
|
136
|
+
static make<This extends typeof $mol_object>(this: This, config: Partial<InstanceType<This>>): InstanceType<This>;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
declare namespace $ {
|
|
141
|
+
function $mol_env(): Record<string, string | undefined>;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
declare namespace $ {
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
declare namespace $ {
|
|
148
|
+
function $mol_guid(length?: number, exists?: (id: string) => boolean): string;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
declare namespace $ {
|
|
152
|
+
enum $mol_wire_cursor {
|
|
153
|
+
stale = -1,
|
|
154
|
+
doubt = -2,
|
|
155
|
+
fresh = -3,
|
|
156
|
+
final = -4
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
declare namespace $ {
|
|
161
|
+
class $mol_wire_pub extends Object {
|
|
162
|
+
constructor(id?: string);
|
|
163
|
+
[Symbol.toStringTag]: string;
|
|
164
|
+
data: unknown[];
|
|
165
|
+
static get [Symbol.species](): ArrayConstructor;
|
|
166
|
+
protected sub_from: number;
|
|
167
|
+
get sub_list(): readonly $mol_wire_sub[];
|
|
168
|
+
get sub_empty(): boolean;
|
|
169
|
+
sub_on(sub: $mol_wire_pub, pub_pos: number): number;
|
|
170
|
+
sub_off(sub_pos: number): void;
|
|
171
|
+
reap(): void;
|
|
172
|
+
promote(): void;
|
|
173
|
+
fresh(): void;
|
|
174
|
+
complete(): void;
|
|
175
|
+
get incompleted(): boolean;
|
|
176
|
+
emit(quant?: $mol_wire_cursor): void;
|
|
177
|
+
peer_move(from_pos: number, to_pos: number): void;
|
|
178
|
+
peer_repos(peer_pos: number, self_pos: number): void;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
declare namespace $ {
|
|
183
|
+
interface $mol_wire_sub extends $mol_wire_pub {
|
|
184
|
+
temp: boolean;
|
|
185
|
+
pub_list: $mol_wire_pub[];
|
|
186
|
+
track_on(): $mol_wire_sub | null;
|
|
187
|
+
track_next(pub?: $mol_wire_pub): $mol_wire_pub | null;
|
|
188
|
+
pub_off(pub_pos: number): void;
|
|
189
|
+
track_cut(sub: $mol_wire_pub | null): void;
|
|
190
|
+
track_off(sub: $mol_wire_pub | null): void;
|
|
191
|
+
absorb(quant: $mol_wire_cursor, pos: number): void;
|
|
192
|
+
destructor(): void;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
declare namespace $ {
|
|
197
|
+
let $mol_wire_auto_sub: $mol_wire_sub | null;
|
|
198
|
+
function $mol_wire_auto(next?: $mol_wire_sub | null): $mol_wire_sub | null;
|
|
199
|
+
const $mol_wire_affected: ($mol_wire_sub | number)[];
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
declare namespace $ {
|
|
203
|
+
function $mol_dev_format_register(config: {
|
|
204
|
+
header: (val: any, config: any) => any;
|
|
205
|
+
hasBody: (val: any, config: any) => false;
|
|
206
|
+
} | {
|
|
207
|
+
header: (val: any, config: any) => any;
|
|
208
|
+
hasBody: (val: any, config: any) => boolean;
|
|
209
|
+
body: (val: any, config: any) => any;
|
|
210
|
+
}): void;
|
|
211
|
+
const $mol_dev_format_head: unique symbol;
|
|
212
|
+
const $mol_dev_format_body: unique symbol;
|
|
213
|
+
function $mol_dev_format_native(obj: any): any[];
|
|
214
|
+
function $mol_dev_format_auto(obj: any): any[];
|
|
215
|
+
function $mol_dev_format_element(element: string, style: object, ...content: any[]): any[];
|
|
216
|
+
let $mol_dev_format_span: (style: object, ...content: any[]) => any[];
|
|
217
|
+
let $mol_dev_format_div: (style: object, ...content: any[]) => any[];
|
|
218
|
+
let $mol_dev_format_ol: (style: object, ...content: any[]) => any[];
|
|
219
|
+
let $mol_dev_format_li: (style: object, ...content: any[]) => any[];
|
|
220
|
+
let $mol_dev_format_table: (style: object, ...content: any[]) => any[];
|
|
221
|
+
let $mol_dev_format_tr: (style: object, ...content: any[]) => any[];
|
|
222
|
+
let $mol_dev_format_td: (style: object, ...content: any[]) => any[];
|
|
223
|
+
let $mol_dev_format_accent: (...args: any[]) => any[];
|
|
224
|
+
let $mol_dev_format_strong: (...args: any[]) => any[];
|
|
225
|
+
let $mol_dev_format_string: (...args: any[]) => any[];
|
|
226
|
+
let $mol_dev_format_shade: (...args: any[]) => any[];
|
|
227
|
+
let $mol_dev_format_indent: (...args: any[]) => any[];
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
declare namespace $ {
|
|
231
|
+
class $mol_wire_pub_sub extends $mol_wire_pub implements $mol_wire_sub {
|
|
232
|
+
protected pub_from: number;
|
|
233
|
+
protected cursor: $mol_wire_cursor;
|
|
234
|
+
get temp(): boolean;
|
|
235
|
+
get pub_list(): $mol_wire_pub[];
|
|
236
|
+
track_on(): $mol_wire_sub | null;
|
|
237
|
+
promote(): void;
|
|
238
|
+
track_next(pub?: $mol_wire_pub): $mol_wire_pub | null;
|
|
239
|
+
track_off(sub: $mol_wire_sub | null): void;
|
|
240
|
+
pub_off(sub_pos: number): void;
|
|
241
|
+
destructor(): void;
|
|
242
|
+
track_cut(): void;
|
|
243
|
+
complete(): void;
|
|
244
|
+
complete_pubs(): void;
|
|
245
|
+
absorb(quant?: $mol_wire_cursor, pos?: number): void;
|
|
246
|
+
[$mol_dev_format_head](): any[];
|
|
247
|
+
get pub_empty(): boolean;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
declare namespace $ {
|
|
252
|
+
class $mol_after_tick extends $mol_object2 {
|
|
253
|
+
task: () => void;
|
|
254
|
+
static promise: Promise<void> | null;
|
|
255
|
+
cancelled: boolean;
|
|
256
|
+
constructor(task: () => void);
|
|
257
|
+
destructor(): void;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare namespace $ {
|
|
262
|
+
abstract class $mol_wire_fiber<Host, Args extends readonly unknown[], Result> extends $mol_wire_pub_sub {
|
|
263
|
+
readonly task: (this: Host, ...args: Args) => Result;
|
|
264
|
+
readonly host?: Host | undefined;
|
|
265
|
+
static warm: boolean;
|
|
266
|
+
static planning: Set<$mol_wire_fiber<any, any, any>>;
|
|
267
|
+
static reaping: Set<$mol_wire_fiber<any, any, any>>;
|
|
268
|
+
static plan_task: $mol_after_tick | null;
|
|
269
|
+
static plan(): void;
|
|
270
|
+
static sync(): void;
|
|
271
|
+
cache: Result | Error | Promise<Result | Error>;
|
|
272
|
+
get args(): Args;
|
|
273
|
+
result(): Result | undefined;
|
|
274
|
+
get incompleted(): boolean;
|
|
275
|
+
field(): string;
|
|
276
|
+
constructor(id: string, task: (this: Host, ...args: Args) => Result, host?: Host | undefined, args?: Args);
|
|
277
|
+
plan(): this;
|
|
278
|
+
reap(): void;
|
|
279
|
+
toString(): string;
|
|
280
|
+
toJSON(): string;
|
|
281
|
+
[$mol_dev_format_head](): any[];
|
|
282
|
+
[$mol_dev_format_body](): null;
|
|
283
|
+
get $(): any;
|
|
284
|
+
emit(quant?: $mol_wire_cursor): void;
|
|
285
|
+
fresh(): this | undefined;
|
|
286
|
+
refresh(): void;
|
|
287
|
+
abstract put(next: Result | Error | Promise<Result | Error>): Result | Error | Promise<Result | Error>;
|
|
288
|
+
sync(): Awaited<Result>;
|
|
289
|
+
async_raw(): Promise<Result>;
|
|
290
|
+
async(): Promise<Result> & {
|
|
291
|
+
destructor(): void;
|
|
292
|
+
};
|
|
293
|
+
step(): Promise<null>;
|
|
294
|
+
destructor(): void;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
declare namespace $ {
|
|
299
|
+
let $mol_compare_deep_cache: WeakMap<any, WeakMap<any, boolean>>;
|
|
300
|
+
function $mol_compare_deep<Value>(left: Value, right: Value): boolean;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
declare namespace $ {
|
|
304
|
+
type $mol_log3_event<Fields> = {
|
|
305
|
+
[key in string]: unknown;
|
|
306
|
+
} & {
|
|
307
|
+
time?: string;
|
|
308
|
+
place: unknown;
|
|
309
|
+
message: string;
|
|
310
|
+
} & Fields;
|
|
311
|
+
type $mol_log3_logger<Fields, Res = void> = (this: $, event: $mol_log3_event<Fields>) => Res;
|
|
312
|
+
let $mol_log3_come: $mol_log3_logger<{}>;
|
|
313
|
+
let $mol_log3_done: $mol_log3_logger<{}>;
|
|
314
|
+
let $mol_log3_fail: $mol_log3_logger<{}>;
|
|
315
|
+
let $mol_log3_warn: $mol_log3_logger<{
|
|
316
|
+
hint: string;
|
|
317
|
+
}>;
|
|
318
|
+
let $mol_log3_rise: $mol_log3_logger<{}>;
|
|
319
|
+
let $mol_log3_area: $mol_log3_logger<{}, () => void>;
|
|
320
|
+
function $mol_log3_area_lazy(this: $, event: $mol_log3_event<{}>): () => void;
|
|
321
|
+
let $mol_log3_stack: (() => void)[];
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
declare namespace $ {
|
|
325
|
+
class $mol_span extends $mol_object2 {
|
|
326
|
+
readonly uri: string;
|
|
327
|
+
readonly source: string;
|
|
328
|
+
readonly row: number;
|
|
329
|
+
readonly col: number;
|
|
330
|
+
readonly length: number;
|
|
331
|
+
constructor(uri: string, source: string, row: number, col: number, length: number);
|
|
332
|
+
static unknown: $mol_span;
|
|
333
|
+
static begin(uri: string, source?: string): $mol_span;
|
|
334
|
+
static end(uri: string, source: string): $mol_span;
|
|
335
|
+
static entire(uri: string, source: string): $mol_span;
|
|
336
|
+
toString(): string;
|
|
337
|
+
toJSON(): {
|
|
338
|
+
uri: string;
|
|
339
|
+
row: number;
|
|
340
|
+
col: number;
|
|
341
|
+
length: number;
|
|
342
|
+
};
|
|
343
|
+
error(message: string, Class?: ErrorConstructor): Error;
|
|
344
|
+
span(row: number, col: number, length: number): $mol_span;
|
|
345
|
+
after(length?: number): $mol_span;
|
|
346
|
+
slice(begin: number, end?: number): $mol_span;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
declare namespace $ {
|
|
351
|
+
function $mol_tree2_to_string(this: $, tree: $mol_tree2): string;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
declare namespace $ {
|
|
355
|
+
function $mol_maybe<Value>(value: Value | null | undefined): Value[];
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
declare namespace $ {
|
|
359
|
+
type $mol_tree2_path = Array<string | number | null>;
|
|
360
|
+
type $mol_tree2_hack<Context> = (input: $mol_tree2, belt: $mol_tree2_belt<Context>, context: Context) => readonly $mol_tree2[];
|
|
361
|
+
type $mol_tree2_belt<Context> = Record<string, $mol_tree2_hack<Context>>;
|
|
362
|
+
class $mol_tree2 extends Object {
|
|
363
|
+
readonly type: string;
|
|
364
|
+
readonly value: string;
|
|
365
|
+
readonly kids: readonly $mol_tree2[];
|
|
366
|
+
readonly span: $mol_span;
|
|
367
|
+
constructor(type: string, value: string, kids: readonly $mol_tree2[], span: $mol_span);
|
|
368
|
+
static list(kids: readonly $mol_tree2[], span?: $mol_span): $mol_tree2;
|
|
369
|
+
list(kids: readonly $mol_tree2[]): $mol_tree2;
|
|
370
|
+
static data(value: string, kids?: readonly $mol_tree2[], span?: $mol_span): $mol_tree2;
|
|
371
|
+
data(value: string, kids?: readonly $mol_tree2[]): $mol_tree2;
|
|
372
|
+
static struct(type: string, kids?: readonly $mol_tree2[], span?: $mol_span): $mol_tree2;
|
|
373
|
+
struct(type: string, kids?: readonly $mol_tree2[]): $mol_tree2;
|
|
374
|
+
clone(kids: readonly $mol_tree2[], span?: $mol_span): $mol_tree2;
|
|
375
|
+
text(): string;
|
|
376
|
+
static fromString(str: string, uri?: string): $mol_tree2;
|
|
377
|
+
toString(): string;
|
|
378
|
+
insert(value: $mol_tree2 | null, ...path: $mol_tree2_path): $mol_tree2;
|
|
379
|
+
update(value: readonly $mol_tree2[], ...path: $mol_tree2_path): readonly $mol_tree2[];
|
|
380
|
+
select(...path: $mol_tree2_path): $mol_tree2;
|
|
381
|
+
filter(path: string[], value?: string): $mol_tree2;
|
|
382
|
+
hack_self<Context extends {
|
|
383
|
+
span?: $mol_span;
|
|
384
|
+
[key: string]: unknown;
|
|
385
|
+
} = {}>(belt: $mol_tree2_belt<Context>, context?: Context): readonly $mol_tree2[];
|
|
386
|
+
hack<Context extends {
|
|
387
|
+
span?: $mol_span;
|
|
388
|
+
[key: string]: unknown;
|
|
389
|
+
} = {}>(belt: $mol_tree2_belt<Context>, context?: Context): $mol_tree2[];
|
|
390
|
+
error(message: string, Class?: ErrorConstructor): Error;
|
|
391
|
+
}
|
|
392
|
+
class $mol_tree2_empty extends $mol_tree2 {
|
|
393
|
+
constructor();
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
declare namespace $ {
|
|
398
|
+
class $mol_error_syntax extends SyntaxError {
|
|
399
|
+
reason: string;
|
|
400
|
+
line: string;
|
|
401
|
+
span: $mol_span;
|
|
402
|
+
constructor(reason: string, line: string, span: $mol_span);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
declare namespace $ {
|
|
407
|
+
function $mol_tree2_from_string(this: $, str: string, uri?: string): $mol_tree2;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
declare namespace $ {
|
|
411
|
+
function $mol_tree2_from_json(json: any, span?: $mol_span): $mol_tree2;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
declare namespace $ {
|
|
415
|
+
class $mol_term_color {
|
|
416
|
+
static reset: (str: string) => string;
|
|
417
|
+
static bold: (str: string) => string;
|
|
418
|
+
static italic: (str: string) => string;
|
|
419
|
+
static underline: (str: string) => string;
|
|
420
|
+
static inverse: (str: string) => string;
|
|
421
|
+
static hidden: (str: string) => string;
|
|
422
|
+
static strike: (str: string) => string;
|
|
423
|
+
static gray: (str: string) => string;
|
|
424
|
+
static red: (str: string) => string;
|
|
425
|
+
static green: (str: string) => string;
|
|
426
|
+
static yellow: (str: string) => string;
|
|
427
|
+
static blue: (str: string) => string;
|
|
428
|
+
static magenta: (str: string) => string;
|
|
429
|
+
static cyan: (str: string) => string;
|
|
430
|
+
static Gray: (str: string) => string;
|
|
431
|
+
static Red: (str: string) => string;
|
|
432
|
+
static Green: (str: string) => string;
|
|
433
|
+
static Yellow: (str: string) => string;
|
|
434
|
+
static Blue: (str: string) => string;
|
|
435
|
+
static Magenta: (str: string) => string;
|
|
436
|
+
static Cyan: (str: string) => string;
|
|
437
|
+
static ansi(open: number, close: number): (str: string) => string;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
declare namespace $ {
|
|
442
|
+
function $mol_log3_node_make(level: keyof Console, output: 'stdout' | 'stderr', type: string, color: (str: string) => string): (this: $, event: $mol_log3_event<{}>) => () => void;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
declare namespace $ {
|
|
446
|
+
class $mol_wire_task<Host, Args extends readonly unknown[], Result> extends $mol_wire_fiber<Host, Args, Result> {
|
|
447
|
+
static getter<Host, Args extends readonly unknown[], Result>(task: (this: Host, ...args: Args) => Result): (host: Host, args: Args) => $mol_wire_task<Host, Args, Result>;
|
|
448
|
+
get temp(): boolean;
|
|
449
|
+
complete(): void;
|
|
450
|
+
put(next: Result | Error | Promise<Result | Error>): Error | Result | Promise<Error | Result>;
|
|
451
|
+
destructor(): void;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
declare namespace $ {
|
|
456
|
+
export function $mol_wire_sync<Host extends object>(obj: Host): ObjectOrFunctionResultAwaited<Host>;
|
|
457
|
+
type FunctionResultAwaited<Some> = Some extends (...args: infer Args) => infer Res ? (...args: Args) => Awaited<Res> : Some;
|
|
458
|
+
type ConstructorResultAwaited<Some> = Some extends new (...args: infer Args) => infer Res ? new (...args: Args) => Res : {};
|
|
459
|
+
type MethodsResultAwaited<Host extends Object> = {
|
|
460
|
+
[K in keyof Host]: FunctionResultAwaited<Host[K]>;
|
|
461
|
+
};
|
|
462
|
+
type ObjectOrFunctionResultAwaited<Some> = (Some extends (...args: any) => unknown ? FunctionResultAwaited<Some> : {}) & (Some extends Object ? MethodsResultAwaited<Some> & ConstructorResultAwaited<Some> : Some);
|
|
463
|
+
export {};
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
declare namespace $ {
|
|
467
|
+
type $mol_run_error_context = {
|
|
468
|
+
pid?: number;
|
|
469
|
+
stdout: Buffer | string;
|
|
470
|
+
stderr: Buffer | string;
|
|
471
|
+
};
|
|
472
|
+
class $mol_run_error extends $mol_error_mix<{
|
|
473
|
+
timeout_kill?: boolean;
|
|
474
|
+
pid?: number;
|
|
475
|
+
signal?: NodeJS.Signals | null;
|
|
476
|
+
status?: number | null;
|
|
477
|
+
command: string;
|
|
478
|
+
dir: string;
|
|
479
|
+
}> {
|
|
480
|
+
}
|
|
481
|
+
const $mol_run_spawn: (...args: Parameters<(typeof $node)["child_process"]["spawn"]>) => import("child_process").ChildProcess;
|
|
482
|
+
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
483
|
+
type $mol_run_options = {
|
|
484
|
+
command: readonly string[] | string;
|
|
485
|
+
dir: string;
|
|
486
|
+
timeout?: number;
|
|
487
|
+
env?: Record<string, string | undefined>;
|
|
488
|
+
};
|
|
489
|
+
class $mol_run extends $mol_object {
|
|
490
|
+
static async_enabled(): boolean;
|
|
491
|
+
static spawn(options: $mol_run_options): $mol_run_error_context | import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
492
|
+
static spawn_async({ dir, sync, timeout, command, env }: $mol_run_options & {
|
|
493
|
+
sync?: boolean;
|
|
494
|
+
}): import("child_process").SpawnSyncReturns<string | NonSharedBuffer> | (Promise<$mol_run_error_context> & {
|
|
495
|
+
destructor: () => void;
|
|
496
|
+
});
|
|
497
|
+
static error_message(res?: $mol_run_error_context): string;
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
declare namespace $ {
|
|
502
|
+
function $mol_exec(this: $, dir: string, command: string, ...args: readonly string[]): $mol_run_error_context | import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
declare namespace $ {
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
declare namespace $ {
|
|
509
|
+
var $mol_dom: typeof globalThis;
|
|
510
|
+
}
|
|
511
|
+
|
|
39
512
|
declare namespace $ {
|
|
40
513
|
enum $mol_vary_tip {
|
|
41
514
|
uint = 0,
|
|
@@ -65,11 +538,11 @@ declare namespace $ {
|
|
|
65
538
|
class $mol_vary extends DataView<ArrayBuffer> {
|
|
66
539
|
static pack(data: unknown): Uint8Array<ArrayBuffer>;
|
|
67
540
|
static take(buf: Uint8Array<ArrayBuffer>): unknown;
|
|
68
|
-
static leanes: Map<object, (val: any) => readonly any[]>;
|
|
69
|
-
static keys: Map<object, readonly string[]>;
|
|
70
541
|
static riches: Map<string, (...vals: readonly any[]) => object>;
|
|
71
|
-
static type<const Instance extends object, const Keys extends readonly any[], const Vals extends readonly any[]>(
|
|
542
|
+
static type<const Instance extends object, const Keys extends readonly any[], const Vals extends readonly any[]>(Class: new (...vals: any[]) => Instance, keys: Keys, lean: (obj: Instance) => Vals, rich: (...vals: Vals) => Instance): void;
|
|
72
543
|
}
|
|
544
|
+
const $mol_vary_lean: unique symbol;
|
|
545
|
+
const $mol_vary_keys: unique symbol;
|
|
73
546
|
}
|
|
74
547
|
|
|
75
548
|
export = $;
|
package/node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../mam.d.ts","../../fail/fail.d.ts","../../charset/encode/encode.d.ts","../../charset/encoding/encoding.d.ts","../../charset/decode/decode.d.ts","../../charset/decode/from/from.d.ts","../vary.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACfA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;ACLA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":[null,null,null,null,null,null,null]}
|
|
1
|
+
{"version":3,"sources":["../../../mam.d.ts","../../fail/fail.d.ts","../../charset/encode/encode.d.ts","../../charset/encoding/encoding.d.ts","../../charset/decode/decode.d.ts","../../charset/decode/from/from.d.ts","../../dom/context/context.d.ts","../../promise/like/like.d.ts","../../fail/hidden/hidden.d.ts","../../fail/catch/catch.d.ts","../../try/try.node.d.ts","../../fail/log/log.d.ts","../../../node/node.node.d.ts","../../func/name/name.d.ts","../../error/mix/mix.d.ts","../../ambient/ambient.d.ts","../../delegate/delegate.d.ts","../../owning/owning.d.ts","../../type/writable/writable.d.ts","../../object2/object2.d.ts","../../object/object.d.ts","../../env/env.d.ts","../../env/env.node.d.ts","../../guid/guid.d.ts","../../wire/cursor/cursor.d.ts","../../wire/pub/pub.d.ts","../../wire/sub/sub.d.ts","../../wire/wire.d.ts","../../dev/format/format.d.ts","../../wire/pub/sub/sub.d.ts","../../after/tick/tick.d.ts","../../wire/fiber/fiber.d.ts","../../compare/deep/deep.d.ts","../../log3/log3.d.ts","../../span/span.d.ts","../../tree2/to/string/string.d.ts","../../maybe/maybe.d.ts","../../tree2/tree2.d.ts","../../error/syntax/syntax.d.ts","../../tree2/from/string/string.d.ts","../../tree2/from/json/json.d.ts","../../term/color/color.d.ts","../../log3/log3.node.d.ts","../../wire/task/task.d.ts","../../wire/sync/sync.d.ts","../../run/run.node.d.ts","../../exec/exec.node.d.ts","../../dom/context/context.node.d.ts","../../dom/dom.d.ts","../vary.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACfA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;ACLA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;ACLA;AACA;AACA;AACA;AACA;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACVA;AACA;AACA;AACA;AACA;AACA;ACLA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACbA;AACA;AACA;AACA;AACA;AACA;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACPA;AACA;AACA;AACA;ACHA;AACA;AACA;ACFA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACbA;AACA;AACA;AACA;AACA;AACA;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACpCA;AACA;AACA;AACA;AACA;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACzBA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACRA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC1BA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AClCA;AACA;AACA;AACA;ACHA;AACA;AACA;ACFA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]}
|
package/node.deps.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"files":["mam.ts","LICENSE","README.md","mam.jam.js","tsfmt.json","package.json","tsconfig.json","lang.lang.tree","meta.lang.tree","sandbox.config.json","mol/CNAME","mol/LICENSE","mol/readme.md","mol/mol.meta.tree","mol/CONTRIBUTING.md","mol/CODE_OF_CONDUCT.md","mol/fail/fail.ts","mol/charset/encode/encode.ts","mol/charset/encoding/encoding.ts","mol/charset/decode/decode.ts","mol/charset/decode/from/from.ts","mol/vary/vary.ts","mol/vary/readme.md"],"mods":{},"deps_in":{"mol":{"mol/vary":-999,"mol/fail":-999,"mol/charset":-999},"":{"mol":-999},"mol/fail":{"mol/vary":-4},"mol/charset/encode":{"mol/vary":-4},"mol/charset":{"mol/charset/encode":-999,"mol/charset/decode":-999,"mol/charset/encoding":-999},"mol/charset/decode/from":{"mol/vary":-4},"mol/charset/decode":{"mol/charset/decode/from":-999},"mol/charset/encoding":{"mol/charset/decode":-1}},"deps_out":{"mol/vary":{"mol":-999,"mol/fail":-4,"mol/charset/encode":-4,"mol/charset/decode/from":-4},"mol":{"":-999},"mol/fail":{"mol":-999},"mol/charset/encode":{"mol/charset":-999},"mol/charset":{"mol":-999},"mol/charset/decode/from":{"mol/charset/decode":-999},"mol/charset/decode":{"mol/charset":-999,"mol/charset/encoding":-1},"mol/charset/encoding":{"mol/charset":-999}},"sloc":{"ts":528,"LICENSE":113,"md":525,"js":9,"json":82,"tree":41,"CNAME":1},"deps":{"mol/vary":{"..":-999,"/mol/vary/tip":-1,"/mol/vary/len":-1,"/mol/vary/spec":-1,"/mol/vary/tip/spec":-2,"/mol/vary":-1,"/mol/fail":-4,"/mol/vary/tip/link":-4,"/mol/vary/tip/text":-4,"/mol/charset/encode/to":-4,"/mol/vary/tip/blob":-4,"/mol/vary/tip/uint":-4,"/mol/vary/tip/sint":-4,"/mol/vary/spec/fp32":-4,"/mol/vary/spec/fp64":-4,"/mol/vary/tip/list":-4,"/mol/vary/tip/tupl":-4,"/mol/vary/spec/both":-5,"/mol/vary/spec/true":-5,"/mol/vary/spec/fake":-5,"/mol/vary/spec/none":-5,"/mol/charset/decode/from":-4,"/mol/vary/spec/fp16":-5,"/mol/vary/type":-1},"mol":{"..":-999},"":{},"mol/fail":{"..":-999,"/mol/fail":-1},"mol/charset/encode":{"..":-999,"/mol/charset/encode":-1,"/mol/charset/encode/to":-1,"/mol/charset/encode/size":-1},"mol/charset":{"..":-999},"mol/charset/decode/from":{"..":-999,"/mol/charset/decode/from":-1},"mol/charset/decode":{"..":-999,"/mol/charset/encoding":-1,"/mol/charset/decode":-1},"mol/charset/encoding":{"..":-999,"/mol/charset/encoding":-1}}}
|
|
1
|
+
{"files":["mam.ts","LICENSE","README.md","mam.jam.js","tsfmt.json","package.json","tsconfig.json","lang.lang.tree","meta.lang.tree","sandbox.config.json","mol/CNAME","mol/LICENSE","mol/readme.md","mol/mol.meta.tree","mol/CONTRIBUTING.md","mol/CODE_OF_CONDUCT.md","mol/fail/fail.ts","mol/charset/encode/encode.ts","mol/charset/encoding/encoding.ts","mol/charset/decode/decode.ts","mol/charset/decode/from/from.ts","mol/dom/context/context.ts","node/node.ts","mol/promise/like/like.ts","mol/fail/hidden/hidden.ts","mol/fail/catch/catch.ts","mol/try/try.node.ts","mol/fail/log/log.ts","node/node.node.ts","mol/func/name/name.ts","mol/error/mix/mix.ts","mol/ambient/readme.md","mol/ambient/ambient.ts","mol/delegate/delegate.ts","mol/owning/owning.ts","mol/type/README.md","mol/type/writable/writable.ts","mol/object2/object2.ts","mol/object/object.ts","mol/object/readme.md","mol/env/env.ts","mol/env/env.node.ts","mol/guid/guid.ts","mol/wire/cursor/cursor.ts","mol/wire/pub/pub.ts","mol/wire/sub/sub.ts","mol/wire/wire.ts","mol/wire/README.md","mol/dev/format/format.ts","mol/wire/pub/sub/sub.ts","mol/wire/pub/sub/README.md","mol/after/tick/tick.ts","mol/wire/fiber/fiber.ts","mol/wire/fiber/readme.md","mol/compare/deep/deep.ts","mol/compare/deep/README.md","mol/log3/log3.ts","mol/span/span.ts","mol/tree2/to/string/string.ts","mol/maybe/maybe.ts","mol/tree2/tree2.ts","mol/tree2/readme.md","mol/error/syntax/syntax.ts","mol/tree2/from/string/string.ts","mol/tree2/from/json/json.ts","mol/term/readme.md","mol/term/color/color.ts","mol/log3/log3.node.ts","mol/wire/task/task.ts","mol/wire/sync/sync.ts","mol/wire/sync/README.md","mol/run/run.node.ts","mol/exec/exec.node.ts","mol/dom/context/context.node.ts","mol/dom/dom.ts","mol/vary/vary.ts","mol/vary/readme.md"],"mods":{},"deps_in":{"mol":{"mol/vary":-999,"mol/fail":-999,"mol/charset":-999,"mol/dom":-999,"mol/exec":-999,"mol/run":-999,"mol/error":-999,"mol/func":-999,"mol/object":-999,"mol/object2":-999,"mol/ambient":-999,"mol/owning":-999,"mol/delegate":-999,"mol/type":-999,"mol/env":-999,"mol/wire":-999,"mol/guid":-999,"mol/dev":-999,"mol/after":-999,"mol/promise":-999,"mol/compare":-999,"mol/log3":-999,"mol/tree2":-999,"mol/span":-999,"mol/maybe":-999,"mol/term":-999,"mol/try":-999},"":{"mol":-999,"node":-999},"mol/fail":{"mol/vary":-4,"mol/fail/hidden":-999,"mol/wire/pub":-4,"mol/wire/pub/sub":-3,"mol/span":-3,"mol/tree2":-4,"mol/tree2/from/string":-4,"mol/fail/catch":-999,"mol/fail/log":-999},"mol/charset/encode":{"mol/vary":-4},"mol/charset":{"mol/charset/encode":-999,"mol/charset/decode":-999,"mol/charset/encoding":-999},"mol/charset/decode/from":{"mol/vary":-4},"mol/charset/decode":{"mol/charset/decode/from":-999},"mol/charset/encoding":{"mol/charset/decode":-1},"mol/dom":{"mol/vary":-2},"mol/dom/context":{"mol/dom":-1},"mol/dom/context/context.ts":{"mol/dom/context":0},"node":{"mol/dom/context":-1,"mol/run":-1},"node/node.ts":{"node":0},"mol/exec":{"mol/dom/context":-3},"mol/run":{"mol/exec":-2},"mol/error/mix":{"mol/run":-1},"mol/error":{"mol/error/mix":-999,"mol/error/syntax":-999},"mol/func/name":{"mol/error/mix":-2,"mol/object2":-3,"mol/wire/sync":-2},"mol/func":{"mol/func/name":-999},"mol/object":{"mol/run":-1},"mol/object2":{"mol/object":-1,"mol/after/tick":-1,"mol/span":-1},"mol/ambient":{"mol/object2":-2},"mol/owning":{"mol/object2":-3,"mol/wire/fiber":-3,"mol/wire/task":-4},"mol/delegate":{"mol/owning":-3},"mol/fail/hidden":{"mol/object2":-3,"mol/dev/format":-5,"mol/wire/fiber":-4,"mol/tree2":-4,"mol/fail/catch":-2,"mol/fail/log":-2},"mol/type/writable":{"mol/object2":-3},"mol/type":{"mol/type/writable":-999},"mol/env":{"mol/run":-3},"mol/env/env.ts":{"mol/env":0},"mol/wire":{"mol/run":-3,"mol/wire/sync":-999,"mol/wire/task":-4,"mol/wire/fiber":-999,"mol/wire/pub/sub":-3},"mol/wire/sub":{"mol/wire":-1,"mol/wire/pub/sub":-1},"mol/wire/pub":{"mol/wire/sub":-1,"mol/wire/pub/sub":-1,"mol/wire/fiber":-5},"mol/guid":{"mol/wire/pub":-2},"mol/wire/cursor":{"mol/wire/pub":-2,"mol/wire/sub":-2,"mol/wire/pub/sub":-2,"mol/wire/fiber":-2,"mol/wire/task":-3},"mol/wire/sync":{"mol/run":-3},"mol/wire/task":{"mol/wire/sync":-4},"mol/wire/fiber":{"mol/wire/task":-1},"mol/wire/pub/sub":{"mol/wire/fiber":-1},"mol/dev/format":{"mol/wire/pub/sub":-2,"mol/wire/fiber":-2},"mol/dev":{"mol/dev/format":-999},"mol/after/tick":{"mol/wire/fiber":-2},"mol/after":{"mol/after/tick":-999},"mol/promise/like":{"mol/wire/fiber":-3,"mol/wire/task":-3,"mol/fail/catch":-2,"mol/fail/log":-2},"mol/promise":{"mol/promise/like":-999},"mol/compare/deep":{"mol/wire/task":-5},"mol/compare":{"mol/compare/deep":-999},"mol/log3":{"mol/wire/task":-5,"mol/run":-3},"mol/log3/log3.ts":{"mol/log3":0},"mol/tree2/from/json":{"mol/log3":-3},"mol/tree2/from":{"mol/tree2/from/json":-999},"mol/tree2":{"mol/tree2/from":-999,"mol/tree2/from/string":-1,"mol/tree2/from/json":-1},"mol/span":{"mol/tree2":-2,"mol/tree2/from/string":-2,"mol/error/syntax":-3,"mol/tree2/from/json":-1},"mol/tree2/from/string":{"mol/tree2/from":-2},"mol/error/syntax":{"mol/tree2/from/string":-4},"mol/tree2/to/string":{"mol/tree2":-3},"mol/tree2/to":{"mol/tree2/to/string":-999},"mol/maybe":{"mol/tree2":-3},"mol/term/color":{"mol/log3":-1},"mol/term":{"mol/term/color":-999},"mol/fail/catch":{"node":-3,"mol/fail/log":-2},"mol/fail/log":{"node":-3},"mol/try":{"mol/fail/log":-2}},"deps_out":{"mol/vary":{"mol":-999,"mol/fail":-4,"mol/charset/encode":-4,"mol/charset/decode/from":-4,"mol/dom":-2},"mol":{"":-999},"mol/fail":{"mol":-999},"mol/charset/encode":{"mol/charset":-999},"mol/charset":{"mol":-999},"mol/charset/decode/from":{"mol/charset/decode":-999},"mol/charset/decode":{"mol/charset":-999,"mol/charset/encoding":-1},"mol/charset/encoding":{"mol/charset":-999},"mol/dom":{"mol":-999,"mol/dom/context":-1},"mol/dom/context":{"mol/dom/context/context.ts":0,"node":-1,"mol/exec":-3},"mol/dom/context/context.ts":{},"node":{"":-999,"node/node.ts":0,"mol/fail/catch":-3,"mol/fail/log":-3},"mol/exec":{"mol":-999,"mol/run":-2},"mol/run":{"mol":-999,"mol/error/mix":-1,"node":-1,"mol/object":-1,"mol/env":-3,"mol/wire":-3,"mol/wire/sync":-3,"mol/log3":-3},"mol/error/mix":{"mol/error":-999,"mol/func/name":-2},"mol/error":{"mol":-999},"mol/func/name":{"mol/func":-999},"mol/func":{"mol":-999},"mol/object":{"mol":-999,"mol/object2":-1},"mol/object2":{"mol":-999,"mol/ambient":-2,"mol/owning":-3,"mol/fail/hidden":-3,"mol/type/writable":-3,"mol/func/name":-3},"mol/ambient":{"mol":-999},"mol/owning":{"mol":-999,"mol/delegate":-3},"mol/delegate":{"mol":-999},"mol/fail/hidden":{"mol/fail":-999},"mol/type/writable":{"mol/type":-999},"mol/type":{"mol":-999},"mol/env":{"mol":-999,"mol/env/env.ts":0},"mol/env/env.ts":{},"mol/wire":{"mol":-999,"mol/wire/sub":-1},"mol/wire/sub":{"mol/wire/pub":-1,"mol/wire/cursor":-2},"mol/wire/pub":{"mol/guid":-2,"mol/fail":-4,"mol/wire/cursor":-2},"mol/guid":{"mol":-999},"mol/wire/cursor":{},"mol/wire/sync":{"mol/wire":-999,"mol/func/name":-2,"mol/wire/task":-4},"mol/wire/task":{"mol/wire":-4,"mol/wire/fiber":-1,"mol/compare/deep":-5,"mol/log3":-5,"mol/promise/like":-3,"mol/wire/cursor":-3,"mol/owning":-4},"mol/wire/fiber":{"mol/wire":-999,"mol/wire/pub/sub":-1,"mol/after/tick":-2,"mol/wire/cursor":-2,"mol/promise/like":-3,"mol/dev/format":-2,"mol/owning":-3,"mol/wire/pub":-5,"mol/fail/hidden":-4},"mol/wire/pub/sub":{"mol/wire/pub":-1,"mol/wire/sub":-1,"mol/wire/cursor":-2,"mol/wire":-3,"mol/fail":-3,"mol/dev/format":-2},"mol/dev/format":{"mol/dev":-999,"mol/fail/hidden":-5},"mol/dev":{"mol":-999},"mol/after/tick":{"mol/after":-999,"mol/object2":-1},"mol/after":{"mol":-999},"mol/promise/like":{"mol/promise":-999},"mol/promise":{"mol":-999},"mol/compare/deep":{"mol/compare":-999},"mol/compare":{"mol":-999},"mol/log3":{"mol":-999,"mol/log3/log3.ts":0,"mol/tree2/from/json":-3,"mol/term/color":-1},"mol/log3/log3.ts":{},"mol/tree2/from/json":{"mol/tree2/from":-999,"mol/span":-1,"mol/tree2":-1},"mol/tree2/from":{"mol/tree2":-999,"mol/tree2/from/string":-2},"mol/tree2":{"mol":-999,"mol/span":-2,"mol/fail":-4,"mol/tree2/to/string":-3,"mol/maybe":-3,"mol/fail/hidden":-4},"mol/span":{"mol":-999,"mol/object2":-1,"mol/fail":-3},"mol/tree2/from/string":{"mol/tree2":-1,"mol/span":-2,"mol/fail":-4,"mol/error/syntax":-4},"mol/error/syntax":{"mol/error":-999,"mol/span":-3},"mol/tree2/to/string":{"mol/tree2/to":-999},"mol/tree2/to":{},"mol/maybe":{"mol":-999},"mol/term/color":{"mol/term":-999},"mol/term":{"mol":-999},"mol/fail/catch":{"mol/fail":-999,"mol/promise/like":-2,"mol/fail/hidden":-2},"mol/fail/log":{"mol/fail":-999,"mol/promise/like":-2,"mol/fail/catch":-2,"mol/try":-2,"mol/fail/hidden":-2},"mol/try":{"mol":-999}},"sloc":{"ts":2730,"LICENSE":113,"md":1139,"js":9,"json":82,"tree":41,"CNAME":1},"deps":{"mol/vary":{"..":-999,"/mol/vary/tip":-1,"/mol/vary/len":-1,"/mol/vary/spec":-1,"/mol/vary/tip/spec":-2,"/mol/vary":-1,"/mol/fail":-4,"/mol/vary/tip/link":-4,"/mol/vary/tip/text":-4,"/mol/charset/encode/to":-4,"/mol/vary/tip/blob":-4,"/mol/vary/tip/uint":-4,"/mol/vary/tip/sint":-4,"/mol/vary/spec/fp32":-4,"/mol/vary/spec/fp64":-4,"/mol/vary/tip/list":-4,"/mol/vary/keys":-1,"/mol/vary/lean":-1,"/mol/vary/tip/tupl":-4,"/mol/vary/spec/both":-5,"/mol/vary/spec/true":-5,"/mol/vary/spec/fake":-5,"/mol/vary/spec/none":-5,"/mol/charset/decode/from":-4,"/mol/vary/spec/fp16":-5,"/mol/vary/type":-1,"/mol/dom":-2,"/mol/dom/document/create/element":-3,"/mol/dom/document/create/text/node":-4},"mol":{"..":-999},"":{},"mol/fail":{"..":-999,"/mol/fail":-1},"mol/charset/encode":{"..":-999,"/mol/charset/encode":-1,"/mol/charset/encode/to":-1,"/mol/charset/encode/size":-1},"mol/charset":{"..":-999},"mol/charset/decode/from":{"..":-999,"/mol/charset/decode/from":-1},"mol/charset/decode":{"..":-999,"/mol/charset/encoding":-1,"/mol/charset/decode":-1},"mol/charset/encoding":{"..":-999,"/mol/charset/encoding":-1},"mol/dom":{"..":-999,"/mol/dom":-1,"/mol/dom/context":-1},"mol/dom/context":{"..":-999,"/mol/dom/context":-1,"./context.ts":0,"/node/jsdom":-1},"mol/dom/context/context.ts":{"/mol/dom/context":-1},"node":{"..":-999,"./node.ts":0,"/node":0,"/mol/exec":-3,"/mol/fail/catch":-3,"/mol/fail/log":-3},"node/node.ts":{},"mol/exec":{"..":-999,"./exec.ts":0,"/mol/exec":-1,"/mol/run/spawn":-2},"mol/run":{"..":-999,"./run.ts":0,"/mol/run/error/context":-1,"/mol/run/error":-1,"/mol/error/mix":-1,"/mol/run/spawn":-1,"/node/child_process":-1,"/mol/run/spawn/sync":-1,"/mol/run/options":-1,"/mol/run":-1,"/mol/object":-1,"/mol/env":-3,"/mol/wire/auto":-3,"/mol/wire/sync":-3,"/node/path/relative":-4,"/mol/log3/come":-3,"/mol/log3/done":-5},"mol/error/mix":{"..":-999,"/mol/error/mix":-1,"/mol/func/name":-2},"mol/error":{"..":-999},"mol/func/name":{"..":-999,"/mol/func/name":-1,"/mol/func/name/from":-1},"mol/func":{"..":-999},"mol/object":{"..":-999,"/mol/object/field":-1,"/mol/object":-1,"/mol/object2":-1},"mol/object2":{"..":-999,"/mol/object2":-1,"/mol/ambient/ref":-2,"/mol/owning/get":-3,"/mol/fail/hidden":-3,"/mol/type/writable":-3,"/mol/func/name":-3},"mol/ambient":{"..":-999,"/mol/ambient/ref":-1,"/mol/ambient/context":-1,"/mol/ambient":-1},"mol/owning":{"..":-999,"/mol/owning/map":-1,"/mol/owning/allow":-1,"/mol/delegate":-3,"/mol/owning/get":-1,"/mol/owning/map/get":-2,"/mol/owning/check":-1,"/mol/owning/catch":-1,"/mol/owning/map/set":-2},"mol/delegate":{"..":-999,"/mol/delegate":-1},"mol/fail/hidden":{"..":-999,"/mol/fail/hidden":-1},"mol/type/writable":{"..":-999,"/mol/type/writable":-1},"mol/type":{"..":-999},"mol/env":{"..":-999,"/mol/env":-1,"./env.ts":0},"mol/env/env.ts":{"/mol/env":-1},"mol/wire":{"..":-999,"/mol/wire/auto/sub":-1,"/mol/wire/sub":-1,"/mol/wire/auto":-1,"/mol/wire/affected":-1},"mol/wire/sub":{"..":-999,"/mol/wire/sub":-1,"/mol/wire/pub":-1,"/mol/wire/cursor":-2},"mol/wire/pub":{"..":-999,"/mol/wire/pub":-1,"/mol/guid":-2,"/mol/wire/sub":-3,"/mol/fail":-4,"/mol/wire/auto":-3,"/mol/wire/cursor/stale":-2},"mol/guid":{"..":-999,"/mol/guid":-1},"mol/wire/cursor":{"..":-999,"/mol/wire/cursor":-1},"mol/wire/sync":{"..":-999,"/mol/func/name/from":-2,"/mol/wire/sync":-1,"/mol/wire/task/getter":-4},"mol/wire/task":{"..":-999,"/mol/wire/task":-1,"/mol/wire/fiber":-1,"/mol/wire/task/get":-3,"/mol/wire/auto":-4,"/mol/compare/deep":-5,"/mol/log3/warn":-5,"/mol/promise/like":-3,"/mol/wire/cursor/fresh":-4,"/mol/owning/catch":-4,"/mol/wire/cursor/final":-3},"mol/wire/fiber":{"..":-999,"/mol/wire/fiber":-1,"/mol/wire/pub/sub":-1,"/mol/after/tick":-2,"/mol/wire/fiber/plan/task":-5,"/mol/wire/cursor/final":-3,"/mol/promise/like":-3,"/mol/wire/fiber/planning/add":-3,"/mol/wire/fiber/plan":-3,"/mol/wire/fiber/reaping/add":-3,"/mol/dev/format/head":-2,"/mol/wire/cursor/stale":-2,"/mol/wire/cursor/doubt":-3,"/mol/wire/cursor/fresh":-3,"/mol/dev/format/div":-3,"/mol/owning/check":-3,"/mol/dev/format/shade":-5,"/mol/dev/format/auto":-4,"/mol/dev/format/body":-2,"/mol/wire/pub":-5,"/mol/wire/fiber/warm":-3,"/mol/fail/hidden":-4,"/mol/wire/fiber/planning/delete":-3},"mol/wire/pub/sub":{"..":-999,"/mol/wire/pub/sub":-1,"/mol/wire/pub":-1,"/mol/wire/sub":-1,"/mol/wire/cursor/stale":-2,"/mol/wire/auto":-3,"/mol/fail":-3,"/mol/wire/cursor/fresh":-3,"/mol/wire/cursor/final":-3,"/mol/wire/cursor/doubt":-3,"/mol/dev/format/head":-2,"/mol/dev/format/native":-3},"mol/dev/format":{"..":-999,"/mol/dev/format/register":-1,"/mol/dev/format/head":-1,"/mol/dev/format/body":-1,"/mol/dev/format/button":-1,"/mol/dev/format/auto":-1,"/mol/dev/format/span":-1,"/mol/dev/format/accent":-1,"/mol/dev/format/native":-1,"/mol/fail/hidden":-5,"/mol/dev/format/shade":-1,"/mol/dev/format/element":-1,"/mol/dev/format/element/bind":-1,"/mol/dev/format/div":-1,"/mol/dev/format/ol":-1,"/mol/dev/format/li":-1,"/mol/dev/format/table":-1,"/mol/dev/format/tr":-1,"/mol/dev/format/td":-1,"/mol/dev/format/span/bind":-1,"/mol/dev/format/strong":-1,"/mol/dev/format/string":-1,"/mol/dev/format/indent":-1,"/mol/dev/format/div/bind":-1},"mol/dev":{"..":-999},"mol/after/tick":{"..":-999,"/mol/after/tick":-1,"/mol/object2":-1,"/mol/after/tick/promise":-3,"/mol/after/tick/promise/then":-3},"mol/after":{"..":-999},"mol/promise/like":{"..":-999,"/mol/promise/like":-1},"mol/promise":{"..":-999},"mol/compare/deep":{"..":-999,"/mol/compare/deep/cache":-1,"/mol/compare/deep":-1,"/mol/compare/deep/cache/get":-2,"/mol/compare/deep/cache/set":-3},"mol/compare":{"..":-999},"mol/log3":{"..":-999,"/mol/log3/event":-1,"/mol/log3/logger":-1,"/mol/log3/come":-1,"/mol/log3/done":-1,"/mol/log3/fail":-1,"/mol/log3/warn":-1,"/mol/log3/rise":-1,"/mol/log3/area":-1,"/mol/log3/area/lazy":-1,"/mol/log3/stack":-1,"/mol/log3/area/call":-3,"./log3.ts":0,"/mol/log3/node/make":-1,"/mol/tree2/from/json":-3,"/mol/term/color/blue":-1,"/mol/term/color/green":-1,"/mol/term/color/red":-1,"/mol/term/color/yellow":-1,"/mol/term/color/magenta":-1,"/mol/term/color/cyan":-1},"mol/log3/log3.ts":{"/mol/log3/event":-1,"/mol/log3/logger":-1,"/mol/log3/come":-1,"/mol/log3/done":-1,"/mol/log3/fail":-1,"/mol/log3/warn":-1,"/mol/log3/rise":-1,"/mol/log3/area":-1,"/mol/log3/area/lazy":-1,"/mol/log3/stack":-1,"/mol/log3/area/call":-3},"mol/tree2/from/json":{"..":-999,"/mol/tree2/from/json":-1,"/mol/span/unknown":-1,"/mol/tree2":-1,"/mol/tree2/data":-3},"mol/tree2/from":{"..":-999},"mol/tree2":{"..":-999,"/mol/tree2/path":-1,"/mol/tree2/hack":-1,"/mol/tree2":-1,"/mol/tree2/belt":-1,"/mol/span":-2,"/mol/span/unknown":-3,"/mol/tree2/list":-3,"/mol/tree2/data":-3,"/mol/fail":-4,"/mol/tree2/struct":-3,"/mol/tree2/from/string":-2,"/mol/tree2/to/string":-3,"/mol/maybe":-3,"/mol/fail/hidden":-4,"/mol/tree2/empty":-1},"mol/span":{"..":-999,"/mol/span":-1,"/mol/object2":-1,"/mol/span/begin":-2,"/mol/fail":-3},"mol/tree2/from/string":{"..":-999,"/mol/tree2/from/string":-1,"/mol/tree2":-1,"/mol/span/entire":-2,"/mol/tree2/list":-2,"/mol/fail":-4,"/mol/error/syntax":-4},"mol/error/syntax":{"..":-999,"/mol/error/syntax":-1,"/mol/span":-3},"mol/tree2/to/string":{"..":-999,"/mol/tree2/to/string":-1,"/mol/tree2":-2},"mol/tree2/to":{"..":-999},"mol/maybe":{"..":-999,"/mol/maybe":-1},"mol/term/color":{"..":-999,"/mol/term/color":-1},"mol/term":{"..":-999},"mol/fail/catch":{"..":-999,"/mol/fail/catch":-1,"/mol/promise/like":-2,"/mol/fail/hidden":-2},"mol/fail/log":{"..":-999,"/mol/fail/log":-1,"/mol/promise/like":-2,"/mol/fail/catch":-2,"/mol/try":-2,"/mol/fail/hidden":-2},"mol/try":{"..":-999,"./try.ts":0,"/mol/try":-1}}}
|