@e-mc/types 0.8.14 → 0.8.16
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 +3 -3
- package/constant.d.ts +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/module.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
## Interface
|
|
11
11
|
|
|
12
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
12
|
+
- https://www.unpkg.com/@e-mc/types@0.8.16/index.d.ts
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
15
|
import type { LogArguments } from "./lib/logger";
|
|
@@ -186,8 +186,8 @@ const IMPORT_MAP: Record<string, string | undefined>;
|
|
|
186
186
|
|
|
187
187
|
## References
|
|
188
188
|
|
|
189
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
190
|
-
- https://www.unpkg.com/@e-mc/types@0.8.
|
|
189
|
+
- https://www.unpkg.com/@e-mc/types@0.8.16/lib/logger.d.ts
|
|
190
|
+
- https://www.unpkg.com/@e-mc/types@0.8.16/lib/module.d.ts
|
|
191
191
|
|
|
192
192
|
* https://nodejs.org/api/perf_hooks.html
|
|
193
193
|
* https://www.npmjs.com/package/@types/bytes
|
package/constant.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -703,8 +703,8 @@ declare namespace functions {
|
|
|
703
703
|
parseFunction<U = unknown>(value: unknown, absolute: boolean, sync?: boolean): Null<FunctionType<Promise<U> | U>>;
|
|
704
704
|
asString(value: unknown, cacheKey?: boolean | "throws"): string;
|
|
705
705
|
asHash(data: BinaryLike, options: AsHashOptions): string;
|
|
706
|
-
asHash(data: BinaryLike,
|
|
707
|
-
asHash(data: BinaryLike, algorithm?: NumString | AsHashOptions,
|
|
706
|
+
asHash(data: BinaryLike, digest: unknown): string;
|
|
707
|
+
asHash(data: BinaryLike, algorithm?: NumString | AsHashOptions, digest?: unknown): string;
|
|
708
708
|
readHash(value: string | URL, options?: ReadHashOptions): Promise<string>;
|
|
709
709
|
toPosix(value: unknown, normalize: boolean): string;
|
|
710
710
|
toPosix(value: unknown, filename?: string, normalize?: boolean): string;
|
package/lib/module.d.ts
CHANGED