@types/uuid
Advanced tools
Comparing version 9.0.8 to 10.0.0
@@ -32,3 +32,12 @@ // disable automatic export | ||
export type V4Options = RandomOptions | RngOptions; | ||
export type V6Options = V1Options; | ||
interface V7BaseOptions { | ||
msecs?: number | Date | undefined; | ||
seq?: number; | ||
} | ||
export type V7Options = (RandomOptions | RngOptions) & V7BaseOptions; | ||
type VToV = ((uuid: string) => string) & ((uuid: OutputBuffer) => Uint8Array); | ||
type v1String = (options?: V1Options) => string; | ||
@@ -38,2 +47,4 @@ type v1Buffer = <T extends OutputBuffer>(options: V1Options | null | undefined, buffer: T, offset?: number) => T; | ||
type v1ToV6 = VToV; | ||
type v4String = (options?: V4Options) => string; | ||
@@ -73,3 +84,14 @@ type v4Buffer = <T extends OutputBuffer>(options: V4Options | null | undefined, buffer: T, offset?: number) => T; | ||
type v6String = (options?: V6Options) => string; | ||
type v6Buffer = <T extends OutputBuffer>(options: V6Options | null | undefined, buffer: T, offset?: number) => T; | ||
type v6 = v6Buffer & v6String; | ||
type v6ToV1 = VToV; | ||
type v7String = (options?: V7Options) => string; | ||
type v7Buffer = <T extends OutputBuffer>(options: V7Options | null | undefined, buffer: T, offset?: number) => T; | ||
type v7 = v7Buffer & v7String; | ||
type NIL = string; | ||
type MAX = string; | ||
@@ -82,9 +104,14 @@ type parse = (uuid: string) => Uint8Array; | ||
export const NIL: NIL; | ||
export const MAX: MAX; | ||
export const parse: parse; | ||
export const stringify: stringify; | ||
export const v1: v1; | ||
export const v1ToV6: v1ToV6; | ||
export const v3: v3; | ||
export const v4: v4; | ||
export const v5: v5; | ||
export const v6: v6; | ||
export const v6ToV1: v6ToV1; | ||
export const v7: v7; | ||
export const validate: validate; | ||
export const version: version; |
{ | ||
"name": "@types/uuid", | ||
"version": "9.0.8", | ||
"version": "10.0.0", | ||
"description": "TypeScript definitions for uuid", | ||
@@ -52,4 +52,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "ee6ba7ad17fbbead7a508faf213a9ad0f49c12929e8c6b0f05fb35129bc72d61", | ||
"typeScriptVersion": "4.6" | ||
"typesPublisherContentHash": "08fbc5ff7d23aaac1e81b5acf98181d2544ce6ffd5578e9879e2a75f0c087d54", | ||
"typeScriptVersion": "4.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 25 Jan 2024 23:07:19 GMT | ||
* Last updated: Thu, 20 Jun 2024 21:07:25 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7823
96