mol_dump_lib 0.0.180 → 0.0.182

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
@@ -1466,7 +1466,9 @@ declare namespace $ {
1466
1466
  export type $mol_style_guard<View extends $mol_view, Config> = {
1467
1467
  [key in Keys<View>]?: unknown;
1468
1468
  } & {
1469
- [key in keyof Config]: key extends keyof $mol_style_properties ? $mol_style_properties[key] : key extends '>' | $mol_style_pseudo_class | $mol_style_pseudo_element ? $mol_style_guard<View, Config[key]> : key extends '@' ? Attrs<View, Config[key]> : key extends '@media' ? Medias<View, Config[key]> : key extends `--${string}` ? any : key extends keyof $ ? $mol_style_guard<InstanceType<Extract<$[key], typeof $mol_view>>, Config[key]> : key extends keyof View ? View[key] extends (id?: any) => infer Sub ? Sub extends $mol_view ? $mol_style_guard<Sub, Config[key]> : $mol_type_error<'Property returns non $mol_view', {
1469
+ [key in keyof Config]: key extends keyof $mol_style_properties ? $mol_style_properties[key] : key extends '>' | $mol_style_pseudo_class | $mol_style_pseudo_element ? $mol_style_guard<View, Config[key]> : key extends '@' ? Attrs<View, Config[key]> : key extends '@media' ? Medias<View, Config[key]> : key extends `[${string}]` ? {
1470
+ [val in keyof Config[key]]: $mol_style_guard<View, Config[key][val]>;
1471
+ } : key extends `--${string}` ? any : key extends keyof $ ? $mol_style_guard<InstanceType<Extract<$[key], typeof $mol_view>>, Config[key]> : key extends keyof View ? View[key] extends (id?: any) => infer Sub ? Sub extends $mol_view ? $mol_style_guard<Sub, Config[key]> : $mol_type_error<'Property returns non $mol_view', {
1470
1472
  Returns: Sub;
1471
1473
  }> : $mol_type_error<'Field is not a Property'> : key extends `$${string}` ? $mol_type_error<'Unknown View Class'> : $mol_type_error<'Unknown CSS Property'>;
1472
1474
  };
@@ -2073,59 +2075,6 @@ declare namespace $ {
2073
2075
  }
2074
2076
  }
2075
2077
 
2076
- declare namespace $ {
2077
- let $mol_action: typeof $mol_wire_method;
2078
- }
2079
-
2080
- declare namespace $ {
2081
- function $mol_dom_parse(text: string, type?: DOMParserSupportedType): Document;
2082
- }
2083
-
2084
- declare namespace $ {
2085
- class $mol_fetch_response extends $mol_object2 {
2086
- readonly native: Response;
2087
- constructor(native: Response);
2088
- status(): "unknown" | "success" | "inform" | "redirect" | "wrong" | "failed";
2089
- code(): number;
2090
- message(): string;
2091
- headers(): Headers;
2092
- mime(): string | null;
2093
- stream(): ReadableStream<Uint8Array> | null;
2094
- text(): string;
2095
- json(): unknown;
2096
- buffer(): ArrayBuffer;
2097
- xml(): Document;
2098
- xhtml(): Document;
2099
- html(): Document;
2100
- }
2101
- class $mol_fetch extends $mol_object2 {
2102
- static request(input: RequestInfo, init?: RequestInit): Promise<Response> & {
2103
- destructor: () => void;
2104
- };
2105
- static response(input: RequestInfo, init?: RequestInit): $mol_fetch_response;
2106
- static success(input: RequestInfo, init?: RequestInit): $mol_fetch_response;
2107
- static stream(input: RequestInfo, init?: RequestInit): ReadableStream<Uint8Array> | null;
2108
- static text(input: RequestInfo, init?: RequestInit): string;
2109
- static json(input: RequestInfo, init?: RequestInit): unknown;
2110
- static buffer(input: RequestInfo, init?: RequestInit): ArrayBuffer;
2111
- static xml(input: RequestInfo, init?: RequestInit): Document;
2112
- static xhtml(input: RequestInfo, init?: RequestInit): Document;
2113
- static html(input: RequestInfo, init?: RequestInit): Document;
2114
- }
2115
- }
2116
-
2117
- declare namespace $ {
2118
- function $mol_huggingface_run(this: $, space: string, method: string | number, ...data: readonly any[]): readonly any[];
2119
- function $mol_huggingface_rest(space: string, method: string, ...data: readonly any[]): readonly any[];
2120
- function $mol_huggingface_ws(space: string, fn_index: number, ...data: readonly any[]): Promise<readonly any[]> & {
2121
- destructor: () => void;
2122
- };
2123
- }
2124
-
2125
- declare namespace $ {
2126
- function $hyoo_lingua_translate(this: $, lang: string, text: string): string;
2127
- }
2128
-
2129
2078
  declare namespace $ {
2130
2079
  interface $mol_locale_dict {
2131
2080
  [key: string]: string;