@types/uuid
Advanced tools
Comparing version 2.0.31 to 2.0.32
@@ -10,6 +10,6 @@ // Type definitions for uuid v2.0.3 | ||
interface V1Options { | ||
node?: number[]; | ||
clockseq?: number; | ||
msecs?: number | Date; | ||
nsecs?: number; | ||
node?: number[] | undefined; | ||
clockseq?: number | undefined; | ||
msecs?: number | Date | undefined; | ||
nsecs?: number | undefined; | ||
} | ||
@@ -16,0 +16,0 @@ |
{ | ||
"name": "@types/uuid", | ||
"version": "2.0.31", | ||
"version": "2.0.32", | ||
"description": "TypeScript definitions for uuid", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid", | ||
"license": "MIT", | ||
@@ -24,4 +25,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "436103b753f6c726812aa84c1b6ff6e10c9ca587116dcdde250b3859666f5375", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "bc438cf68e9260e0159825e2fa5ea2249fbaea49c000cdb12c1f3cf31ff9436d", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -9,5 +9,44 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid/v2. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid/v2/index.d.ts) | ||
````ts | ||
// Type definitions for uuid v2.0.3 | ||
// Project: https://github.com/defunctzombie/node-uuid | ||
// Definitions by: Oliver Hoffmann <https://github.com/iamolivinius/> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/// <reference types="node" /> | ||
declare namespace uuid { | ||
interface V1Options { | ||
node?: number[] | undefined; | ||
clockseq?: number | undefined; | ||
msecs?: number | Date | undefined; | ||
nsecs?: number | undefined; | ||
} | ||
type V4Options = { random: number[] } | { rng: () => number[]; } | ||
interface UuidStatic { | ||
(options?: V4Options): string; | ||
(options: V4Options | null, buffer: number[], offset?: number): number[]; | ||
(options: V4Options | null, buffer: Buffer, offset?: number): Buffer; | ||
v1(options?: V1Options): string; | ||
v1(options: V1Options | null, buffer: number[], offset?: number): number[]; | ||
v1(options: V1Options | null, buffer: Buffer, offset?: number): Buffer; | ||
v4: UuidStatic; | ||
parse(id: string): number[]; | ||
parse(id: string, buffer: number[], offset?: number): number[]; | ||
parse(id: string, buffer: Buffer, offset?: number): Buffer; | ||
unparse(buffer: number[] | Buffer, offset?: number): string; | ||
} | ||
} | ||
declare const uuid: uuid.UuidStatic | ||
export = uuid | ||
```` | ||
### Additional Details | ||
* Last updated: Fri, 15 May 2020 13:12:52 GMT | ||
* Last updated: Fri, 02 Jul 2021 18:04:55 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +53,0 @@ * Global values: none |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5237
0
56