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 +1 -1
- package/node.d.ts +3 -54
- package/node.deps.json +1 -1
- package/node.js +15 -285
- package/node.js.map +1 -1
- package/node.meta.tree +0 -58
- package/node.mjs +15 -285
- package/node.test.js +53 -347
- package/node.test.js.map +1 -1
- package/package.json +2 -10
- package/web.audit.js +1 -1
- package/web.d.ts +3 -13
- package/web.deps.json +1 -1
- package/web.js +11 -108
- package/web.js.map +1 -1
- package/web.meta.tree +0 -58
- package/web.mjs +11 -108
- package/web.test.js +33 -57
- package/web.test.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mol_dump_lib",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.182",
|
|
4
4
|
"exports": {
|
|
5
5
|
"node": {
|
|
6
6
|
"import": "./node.mjs",
|
|
@@ -164,13 +164,6 @@
|
|
|
164
164
|
"$mol_charset_encoding",
|
|
165
165
|
"$mol_charset_encode",
|
|
166
166
|
"$mol_compare_array",
|
|
167
|
-
"$hyoo_lingua_translate",
|
|
168
|
-
"$hyoo_lingua",
|
|
169
|
-
"$hyoo",
|
|
170
|
-
"$mol_huggingface",
|
|
171
|
-
"$mol_fetch",
|
|
172
|
-
"$mol_action",
|
|
173
|
-
"$mol_dom_parse",
|
|
174
167
|
"$mol_check_expand",
|
|
175
168
|
"$mol_check",
|
|
176
169
|
"$mol_maybe",
|
|
@@ -181,7 +174,6 @@
|
|
|
181
174
|
],
|
|
182
175
|
"dependencies": {
|
|
183
176
|
"jsdom": "*",
|
|
184
|
-
"chokidar": "*"
|
|
185
|
-
"undici": "*"
|
|
177
|
+
"chokidar": "*"
|
|
186
178
|
}
|
|
187
179
|
}
|
package/web.audit.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
console.info(
|
|
1
|
+
console.info( '%c ▫ $mol_build ▫ Audit passed', 'color:forestgreen; font-weight:bolder' )
|
package/web.d.ts
CHANGED
|
@@ -1349,7 +1349,9 @@ declare namespace $ {
|
|
|
1349
1349
|
export type $mol_style_guard<View extends $mol_view, Config> = {
|
|
1350
1350
|
[key in Keys<View>]?: unknown;
|
|
1351
1351
|
} & {
|
|
1352
|
-
[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
|
|
1352
|
+
[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}]` ? {
|
|
1353
|
+
[val in keyof Config[key]]: $mol_style_guard<View, Config[key][val]>;
|
|
1354
|
+
} : 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', {
|
|
1353
1355
|
Returns: Sub;
|
|
1354
1356
|
}> : $mol_type_error<'Field is not a Property'> : key extends `$${string}` ? $mol_type_error<'Unknown View Class'> : $mol_type_error<'Unknown CSS Property'>;
|
|
1355
1357
|
};
|
|
@@ -2006,18 +2008,6 @@ declare namespace $ {
|
|
|
2006
2008
|
}
|
|
2007
2009
|
}
|
|
2008
2010
|
|
|
2009
|
-
declare namespace $ {
|
|
2010
|
-
function $mol_huggingface_run(this: $, space: string, method: string | number, ...data: readonly any[]): readonly any[];
|
|
2011
|
-
function $mol_huggingface_rest(space: string, method: string, ...data: readonly any[]): readonly any[];
|
|
2012
|
-
function $mol_huggingface_ws(space: string, fn_index: number, ...data: readonly any[]): Promise<readonly any[]> & {
|
|
2013
|
-
destructor: () => void;
|
|
2014
|
-
};
|
|
2015
|
-
}
|
|
2016
|
-
|
|
2017
|
-
declare namespace $ {
|
|
2018
|
-
function $hyoo_lingua_translate(this: $, lang: string, text: string): string;
|
|
2019
|
-
}
|
|
2020
|
-
|
|
2021
2011
|
declare namespace $ {
|
|
2022
2012
|
interface $mol_locale_dict {
|
|
2023
2013
|
[key: string]: string;
|