@e-mc/module 0.13.10 → 0.14.0

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.
Files changed (3) hide show
  1. package/README.md +9 -9
  2. package/index.js +285 -277
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @e-mc/module
2
2
 
3
- * NodeJS 18.20 LTS
3
+ * NodeJS 20 (Minimum 18)
4
4
  * ES2022
5
5
 
6
6
  ## General Usage
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- * [View Source](https://www.unpkg.com/@e-mc/types@0.13.10/lib/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.14.0/lib/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { LogStatus } from "./squared";
@@ -192,7 +192,7 @@ interface ModuleConstructor {
192
192
  asString(value: unknown, cacheKey?: boolean | "throws"): string;
193
193
  asHash(data: BinaryLike, options?: AsHashOptions): string;
194
194
  asHash(data: BinaryLike, algorithm?: string, options?: AsHashOptions): string;
195
- asHash(data: BinaryLike, algorithm?: string, encoding?: BinaryToTextEncoding): string;
195
+ asHash(data: BinaryLike, algorithm?: string, encoding?: BufferEncoding): string;
196
196
  readHash(value: string | URL, options?: ReadHashOptions): Promise<string>;
197
197
  toPosix(value: unknown, normalize: boolean): string;
198
198
  toPosix(value: unknown, filename?: string, normalize?: boolean): string;
@@ -433,12 +433,12 @@ interface LoggerModule {
433
433
 
434
434
  ## References
435
435
 
436
- - https://www.unpkg.com/@e-mc/types@0.13.10/lib/squared.d.ts
437
- - https://www.unpkg.com/@e-mc/types@0.13.10/lib/core.d.ts
438
- - https://www.unpkg.com/@e-mc/types@0.13.10/lib/logger.d.ts
439
- - https://www.unpkg.com/@e-mc/types@0.13.10/lib/module.d.ts
440
- - https://www.unpkg.com/@e-mc/types@0.13.10/lib/node.d.ts
441
- - https://www.unpkg.com/@e-mc/types@0.13.10/lib/settings.d.ts
436
+ - https://www.unpkg.com/@e-mc/types@0.14.0/lib/squared.d.ts
437
+ - https://www.unpkg.com/@e-mc/types@0.14.0/lib/core.d.ts
438
+ - https://www.unpkg.com/@e-mc/types@0.14.0/lib/logger.d.ts
439
+ - https://www.unpkg.com/@e-mc/types@0.14.0/lib/module.d.ts
440
+ - https://www.unpkg.com/@e-mc/types@0.14.0/lib/node.d.ts
441
+ - https://www.unpkg.com/@e-mc/types@0.14.0/lib/settings.d.ts
442
442
 
443
443
  * https://www.npmjs.com/package/@types/node
444
444
  * https://www.npmjs.com/package/file-type