mol_plot_all 1.2.844 → 1.2.846

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/node.audit.js CHANGED
@@ -1 +1 @@
1
- console.info("Audit passed")
1
+ console.info( '%c ▫ $mol_build ▫ Audit passed', 'color:forestgreen; font-weight:bolder' )
package/node.d.ts CHANGED
@@ -256,91 +256,6 @@ declare namespace $ {
256
256
  function $mol_compare_deep<Value>(left: Value, right: Value): boolean;
257
257
  }
258
258
 
259
- declare namespace $ {
260
- class $mol_wire_task<Host, Args extends readonly unknown[], Result> extends $mol_wire_fiber<Host, Args, Result> {
261
- static getter<Host, Args extends readonly unknown[], Result>(task: (this: Host, ...args: Args) => Result): (host: Host, args: Args) => $mol_wire_task<Host, Args, Result>;
262
- get temp(): boolean;
263
- complete(): void;
264
- put(next: Result | Error | Promise<Result | Error>): Error | Result | Promise<Error | Result>;
265
- }
266
- }
267
-
268
- declare namespace $ {
269
- function $mol_wire_method<Host extends object, Args extends readonly any[]>(host: Host, field: PropertyKey, descr?: TypedPropertyDescriptor<(...args: Args) => any>): {
270
- value: (this: Host, ...args: Args) => any;
271
- enumerable?: boolean | undefined;
272
- configurable?: boolean | undefined;
273
- writable?: boolean | undefined;
274
- get?: (() => (...args: Args) => any) | undefined;
275
- set?: ((value: (...args: Args) => any) => void) | undefined;
276
- };
277
- }
278
-
279
- declare namespace $ {
280
- type $mol_type_tail<Tuple extends readonly any[]> = ((...tail: Tuple) => any) extends ((head: any, ...tail: infer Tail) => any) ? Tail : never;
281
- }
282
-
283
- declare namespace $ {
284
- type $mol_type_foot<Tuple extends readonly any[]> = Tuple['length'] extends 0 ? never : Tuple[$mol_type_tail<Tuple>['length']];
285
- }
286
-
287
- declare namespace $ {
288
- function $mol_fail_catch(error: unknown): boolean;
289
- }
290
-
291
- declare namespace $ {
292
- function $mol_fail_log(error: unknown): boolean;
293
- }
294
-
295
- declare namespace $ {
296
- class $mol_wire_atom<Host, Args extends readonly unknown[], Result> extends $mol_wire_fiber<Host, Args, Result> {
297
- static solo<Host, Args extends readonly unknown[], Result>(host: Host, task: (this: Host, ...args: Args) => Result): $mol_wire_atom<Host, Args, Result>;
298
- static plex<Host, Args extends readonly unknown[], Result>(host: Host, task: (this: Host, ...args: Args) => Result, key: Args[0]): $mol_wire_atom<Host, Args, Result>;
299
- static watching: Set<$mol_wire_atom<any, any, any>>;
300
- static watcher: $mol_after_frame | null;
301
- static watch(): void;
302
- watch(): void;
303
- resync(args: Args): Error | Result | Promise<Error | Result>;
304
- once(): Awaited<Result>;
305
- channel(): ((next?: $mol_type_foot<Args>) => Awaited<Result>) & {
306
- atom: $mol_wire_atom<Host, Args, Result>;
307
- };
308
- destructor(): void;
309
- put(next: Result | Error | Promise<Result | Error>): Error | Result | Promise<Error | Result>;
310
- }
311
- }
312
-
313
- declare namespace $ {
314
- export function $mol_wire_solo<Args extends any[]>(host: object, field: string, descr?: TypedPropertyDescriptor<(...args: Args) => any>): TypedPropertyDescriptor<(...args: First_optional<Args>) => any>;
315
- type First_optional<Args extends any[]> = Args extends [] ? [] : [Args[0] | undefined, ...$mol_type_tail<Args>];
316
- export {};
317
- }
318
-
319
- declare namespace $ {
320
- function $mol_wire_plex<Args extends [any, ...any[]]>(host: object, field: string, descr?: TypedPropertyDescriptor<(...args: Args) => any>): {
321
- value: (this: typeof host, ...args: Args) => any;
322
- enumerable?: boolean | undefined;
323
- configurable?: boolean | undefined;
324
- writable?: boolean | undefined;
325
- get?: (() => (...args: Args) => any) | undefined;
326
- set?: ((value: (...args: Args) => any) => void) | undefined;
327
- };
328
- }
329
-
330
- declare namespace $ {
331
- let $mol_mem: typeof $mol_wire_solo;
332
- let $mol_mem_key: typeof $mol_wire_plex;
333
- }
334
-
335
- declare namespace $ {
336
- var $mol_dom_context: typeof globalThis;
337
- }
338
-
339
- interface $node {
340
- [key: string]: any;
341
- }
342
- declare var $node: $node;
343
-
344
259
  declare namespace $ {
345
260
  type $mol_log3_event<Fields> = {
346
261
  [key in string]: unknown;
@@ -474,6 +389,91 @@ declare namespace $ {
474
389
  function $mol_log3_node_make(level: keyof Console, output: 'stdout' | 'stderr', type: string, color: (str: string) => string): (this: $, event: $mol_log3_event<{}>) => () => void;
475
390
  }
476
391
 
392
+ declare namespace $ {
393
+ class $mol_wire_task<Host, Args extends readonly unknown[], Result> extends $mol_wire_fiber<Host, Args, Result> {
394
+ static getter<Host, Args extends readonly unknown[], Result>(task: (this: Host, ...args: Args) => Result): (host: Host, args: Args) => $mol_wire_task<Host, Args, Result>;
395
+ get temp(): boolean;
396
+ complete(): void;
397
+ put(next: Result | Error | Promise<Result | Error>): Error | Result | Promise<Error | Result>;
398
+ }
399
+ }
400
+
401
+ declare namespace $ {
402
+ function $mol_wire_method<Host extends object, Args extends readonly any[]>(host: Host, field: PropertyKey, descr?: TypedPropertyDescriptor<(...args: Args) => any>): {
403
+ value: (this: Host, ...args: Args) => any;
404
+ enumerable?: boolean | undefined;
405
+ configurable?: boolean | undefined;
406
+ writable?: boolean | undefined;
407
+ get?: (() => (...args: Args) => any) | undefined;
408
+ set?: ((value: (...args: Args) => any) => void) | undefined;
409
+ };
410
+ }
411
+
412
+ declare namespace $ {
413
+ type $mol_type_tail<Tuple extends readonly any[]> = ((...tail: Tuple) => any) extends ((head: any, ...tail: infer Tail) => any) ? Tail : never;
414
+ }
415
+
416
+ declare namespace $ {
417
+ type $mol_type_foot<Tuple extends readonly any[]> = Tuple['length'] extends 0 ? never : Tuple[$mol_type_tail<Tuple>['length']];
418
+ }
419
+
420
+ declare namespace $ {
421
+ function $mol_fail_catch(error: unknown): boolean;
422
+ }
423
+
424
+ declare namespace $ {
425
+ function $mol_fail_log(error: unknown): boolean;
426
+ }
427
+
428
+ declare namespace $ {
429
+ class $mol_wire_atom<Host, Args extends readonly unknown[], Result> extends $mol_wire_fiber<Host, Args, Result> {
430
+ static solo<Host, Args extends readonly unknown[], Result>(host: Host, task: (this: Host, ...args: Args) => Result): $mol_wire_atom<Host, Args, Result>;
431
+ static plex<Host, Args extends readonly unknown[], Result>(host: Host, task: (this: Host, ...args: Args) => Result, key: Args[0]): $mol_wire_atom<Host, Args, Result>;
432
+ static watching: Set<$mol_wire_atom<any, any, any>>;
433
+ static watcher: $mol_after_frame | null;
434
+ static watch(): void;
435
+ watch(): void;
436
+ resync(args: Args): Error | Result | Promise<Error | Result>;
437
+ once(): Awaited<Result>;
438
+ channel(): ((next?: $mol_type_foot<Args>) => Awaited<Result>) & {
439
+ atom: $mol_wire_atom<Host, Args, Result>;
440
+ };
441
+ destructor(): void;
442
+ put(next: Result | Error | Promise<Result | Error>): Error | Result | Promise<Error | Result>;
443
+ }
444
+ }
445
+
446
+ declare namespace $ {
447
+ export function $mol_wire_solo<Args extends any[]>(host: object, field: string, descr?: TypedPropertyDescriptor<(...args: Args) => any>): TypedPropertyDescriptor<(...args: First_optional<Args>) => any>;
448
+ type First_optional<Args extends any[]> = Args extends [] ? [] : [Args[0] | undefined, ...$mol_type_tail<Args>];
449
+ export {};
450
+ }
451
+
452
+ declare namespace $ {
453
+ function $mol_wire_plex<Args extends [any, ...any[]]>(host: object, field: string, descr?: TypedPropertyDescriptor<(...args: Args) => any>): {
454
+ value: (this: typeof host, ...args: Args) => any;
455
+ enumerable?: boolean | undefined;
456
+ configurable?: boolean | undefined;
457
+ writable?: boolean | undefined;
458
+ get?: (() => (...args: Args) => any) | undefined;
459
+ set?: ((value: (...args: Args) => any) => void) | undefined;
460
+ };
461
+ }
462
+
463
+ declare namespace $ {
464
+ let $mol_mem: typeof $mol_wire_solo;
465
+ let $mol_mem_key: typeof $mol_wire_plex;
466
+ }
467
+
468
+ declare namespace $ {
469
+ var $mol_dom_context: typeof globalThis;
470
+ }
471
+
472
+ interface $node {
473
+ [key: string]: any;
474
+ }
475
+ declare var $node: $node;
476
+
477
477
  declare namespace $ {
478
478
  function $mol_env(): Record<string, string | undefined>;
479
479
  }