dozy 1.0.60 → 1.0.61
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/dist/index.d.ts +12 -8
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -19,10 +19,18 @@ declare class Dozy {
|
|
|
19
19
|
}
|
|
20
20
|
declare const dozy: Dozy;
|
|
21
21
|
|
|
22
|
-
type Any = Items
|
|
23
|
-
type
|
|
22
|
+
type Any = Items<any>;
|
|
23
|
+
type Null<T> = T | undefined | null;
|
|
24
|
+
type Nullable<T> = Null<T>;
|
|
25
|
+
type Items<T> = {
|
|
24
26
|
[x: string]: T;
|
|
25
27
|
};
|
|
28
|
+
type Hel = HTMLElement;
|
|
29
|
+
type UNumber = number | [number, number];
|
|
30
|
+
type Coord = [number, number];
|
|
31
|
+
type Coord3 = [number, number, number];
|
|
32
|
+
type IOpt = Object | undefined;
|
|
33
|
+
type Atoa<T> = (i: T) => T;
|
|
26
34
|
|
|
27
35
|
declare function $isObject(value: unknown): value is Record<string, unknown>;
|
|
28
36
|
declare function $deepClone<T>(value: T): T;
|
|
@@ -229,10 +237,6 @@ declare class StringObfuscator {
|
|
|
229
237
|
de(obfuscated: string): string;
|
|
230
238
|
}
|
|
231
239
|
|
|
232
|
-
type Items<T> = {
|
|
233
|
-
[key: string]: T;
|
|
234
|
-
};
|
|
235
|
-
|
|
236
240
|
declare function $escapeHTML(str: string): string;
|
|
237
241
|
declare class RainbowGen {
|
|
238
242
|
i: number;
|
|
@@ -327,6 +331,6 @@ declare function toRgbString(input: string | Color | any): string | undefined;
|
|
|
327
331
|
*/
|
|
328
332
|
declare function toHslString(input: string | Color | any): string | undefined;
|
|
329
333
|
|
|
330
|
-
declare const DOZY = "1.0.
|
|
334
|
+
declare const DOZY = "1.0.61";
|
|
331
335
|
|
|
332
|
-
export { $Headers, $Request, $Response, $URL, $URLSearchParams, $arrayFrom, $arrayIsArray, $assign, $capitalize, $checkValidEmailWithUnicode, $clamp, $clearInterval, $clearTimeout, $clone, $compressImage, $copy, $crypto, $date, $decodeBase64ToBinary, $decodeBase64ToUnicode, $deepClone, $defineProperty, $document, $encodeUnicodeToBase64, $entries, $escapeHTML, $fallbackCopy, $fetch, $fileToBase64, $formatDate, $formatWithCommas, $freeze, $genSSF, $getFileType, $getTimeString, $hasKey, $if, $inRange, $inRange2, $is, $isObject, $isPlainClass, $isValidEmailWithUnicode, $isValidOrBriefURL, $jsonParse, $jsonStringify, $keys, $lastIndex, $lindex, $loadOpt, $location, $log, $lplus, $magic, $math, $now, $numberIsFinite, $numberIsNaN, $oc, $open, $parseParams, $promise, $pureText, $randomByte, $replaceHolesWithUndefined, $rmvSlash, $rsValue, $rsetValue, $rvalue, $s, $sc, $setInterval, $setRange, $setTimeout, $stringFromCharCode, $stringFromCodePoint, $stringToRange, $strings, $validName, $values, $window, DOZY, type DozyConfig, type DozyConfigItem, type FileType, Gens, type Items, RainbowGen, type ScaleComputer, type ScaleIniter, StringObfuscator, __GensDirectives, _res, boxShadow, dozy, enableScaler, err403, errArg, errCode, errContent, errMsg, errNotLoggedIn, errToString, getBrightness, getColorMap, isNowAroundUtcHour, isValidColor, maybeString, registerCustomColor, s, smallChance, smartParse, smartString, standardIniter, textShadow, toHexString, toHslString, toRgbString, toRgbaArray, web$enableHttpsRedirect, web$enableProdProtector, web$encodeURI, web$pathStartData, web$redirectToDomain, web$setPathTarget, xtrim };
|
|
336
|
+
export { $Headers, $Request, $Response, $URL, $URLSearchParams, $arrayFrom, $arrayIsArray, $assign, $capitalize, $checkValidEmailWithUnicode, $clamp, $clearInterval, $clearTimeout, $clone, $compressImage, $copy, $crypto, $date, $decodeBase64ToBinary, $decodeBase64ToUnicode, $deepClone, $defineProperty, $document, $encodeUnicodeToBase64, $entries, $escapeHTML, $fallbackCopy, $fetch, $fileToBase64, $formatDate, $formatWithCommas, $freeze, $genSSF, $getFileType, $getTimeString, $hasKey, $if, $inRange, $inRange2, $is, $isObject, $isPlainClass, $isValidEmailWithUnicode, $isValidOrBriefURL, $jsonParse, $jsonStringify, $keys, $lastIndex, $lindex, $loadOpt, $location, $log, $lplus, $magic, $math, $now, $numberIsFinite, $numberIsNaN, $oc, $open, $parseParams, $promise, $pureText, $randomByte, $replaceHolesWithUndefined, $rmvSlash, $rsValue, $rsetValue, $rvalue, $s, $sc, $setInterval, $setRange, $setTimeout, $stringFromCharCode, $stringFromCodePoint, $stringToRange, $strings, $validName, $values, $window, type Any, type Atoa, type Coord, type Coord3, DOZY, type DozyConfig, type DozyConfigItem, type FileType, Gens, type Hel, type IOpt, type Items, type Null, type Nullable, RainbowGen, type ScaleComputer, type ScaleIniter, StringObfuscator, type UNumber, __GensDirectives, _res, boxShadow, dozy, enableScaler, err403, errArg, errCode, errContent, errMsg, errNotLoggedIn, errToString, getBrightness, getColorMap, isNowAroundUtcHour, isValidColor, maybeString, registerCustomColor, s, smallChance, smartParse, smartString, standardIniter, textShadow, toHexString, toHslString, toRgbString, toRgbaArray, web$enableHttpsRedirect, web$enableProdProtector, web$encodeURI, web$pathStartData, web$redirectToDomain, web$setPathTarget, xtrim };
|