@e-mc/types 0.9.2 → 0.9.3
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/index.d.ts +1 -0
- package/lib/dom.d.ts +9 -0
- package/lib/index.d.ts +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
## Interface
|
|
11
11
|
|
|
12
|
-
* [View Source](https://www.unpkg.com/@e-mc/types@0.9.
|
|
12
|
+
* [View Source](https://www.unpkg.com/@e-mc/types@0.9.3/index.d.ts)
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
15
|
import type { LogArguments } from "./lib/logger";
|
|
@@ -194,8 +194,8 @@ const IMPORT_MAP: Record<string, string | undefined>;
|
|
|
194
194
|
|
|
195
195
|
## References
|
|
196
196
|
|
|
197
|
-
- https://www.unpkg.com/@e-mc/types@0.9.
|
|
198
|
-
- https://www.unpkg.com/@e-mc/types@0.9.
|
|
197
|
+
- https://www.unpkg.com/@e-mc/types@0.9.3/lib/logger.d.ts
|
|
198
|
+
- https://www.unpkg.com/@e-mc/types@0.9.3/lib/module.d.ts
|
|
199
199
|
|
|
200
200
|
* https://nodejs.org/api/perf_hooks.html
|
|
201
201
|
* https://www.npmjs.com/package/@types/bytes
|
package/constant.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -311,6 +311,7 @@ declare namespace types {
|
|
|
311
311
|
function getEncoding(value: unknown, fallback?: BufferEncoding): BufferEncoding;
|
|
312
312
|
function encryptUTF8(algorithm: CipherGCMTypes, key: BinaryLike, iv: BinaryLike, data: string, encoding?: Encoding): Undef<string>;
|
|
313
313
|
function decryptUTF8(algorithm: CipherGCMTypes, key: BinaryLike, iv: BinaryLike, data: string, encoding?: Encoding): Undef<string>;
|
|
314
|
+
/* @deprecated - crypto.randomUUID */
|
|
314
315
|
function generateUUID(): string;
|
|
315
316
|
function incrementUUID(restart?: boolean): string;
|
|
316
317
|
function validateUUID(value: unknown): boolean;
|
package/lib/dom.d.ts
ADDED
package/lib/index.d.ts
CHANGED
|
@@ -255,7 +255,9 @@ declare namespace functions {
|
|
|
255
255
|
|
|
256
256
|
interface DocumentConstructor<T extends IFileManager<U>, U extends ExternalAsset = ExternalAsset, V extends ClientModule = DocumentModule, W extends DocumentComponent = DocumentComponent, X extends DocumentComponentOption = DocumentComponentOption, Y extends ICloud = ICloud<T>> extends ModuleConstructor {
|
|
257
257
|
finalize(this: T, instance: IDocument<T, U, V, W, X, Y>): Promise<unknown>;
|
|
258
|
+
/* @deprecated */
|
|
258
259
|
createSourceMap(code: string, remove: boolean): SourceMap;
|
|
260
|
+
/* @deprecated */
|
|
259
261
|
createSourceMap(code: string, uri?: string, remove?: boolean): SourceMap;
|
|
260
262
|
writeSourceMap(uri: string, data: SourceCode, options?: SourceMapOptions): Undef<string>;
|
|
261
263
|
updateGradle(source: string, namespaces: string[], value: string, upgrade: boolean): string;
|
|
@@ -577,6 +579,7 @@ declare namespace functions {
|
|
|
577
579
|
interface IModule<T extends IHost = IHost> extends EventEmitter, IAbortComponent {
|
|
578
580
|
readonly status: LogStatus<StatusType>[];
|
|
579
581
|
readonly errors: unknown[];
|
|
582
|
+
/* @deprecated */
|
|
580
583
|
supported(major: number, minor?: number, patch?: number, lts?: boolean): boolean;
|
|
581
584
|
supports(name: string, value?: boolean): boolean;
|
|
582
585
|
getTempDir(options: GetTempDirOptions): string;
|