@types/uuid
Advanced tools
Comparing version 3.4.5 to 3.4.6
@@ -6,2 +6,3 @@ // Type definitions for uuid 3.4 | ||
// Chris Barth <https://github.com/cjbarth> | ||
// Rauno Viskus <https://github.com/rauno56> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -8,0 +9,0 @@ // TypeScript Version: 2.2 |
@@ -5,5 +5,6 @@ /// <reference types="node" /> | ||
export type OutputBuffer = ArrayLike<number> | Buffer; | ||
export type InputBuffer = ArrayLike<number> | Buffer; | ||
export interface V1Options { | ||
node?: number[]; | ||
node?: InputBuffer; | ||
clockseq?: number; | ||
@@ -14,3 +15,3 @@ msecs?: number | Date; | ||
export type V4Options = {random: number[]} | {rng(): number[]}; | ||
export type V4Options = {random: InputBuffer} | {rng(): InputBuffer}; | ||
@@ -25,4 +26,4 @@ export type v1String = (options?: V1Options) => string; | ||
export type v5String = (name: string | number[], namespace: string | number[]) => string; | ||
export type v5Buffer = <T extends OutputBuffer>(name: string | number[], namespace: string | number[], buffer: T, offset?: number) => T; | ||
export type v5String = (name: string | InputBuffer, namespace: string | InputBuffer) => string; | ||
export type v5Buffer = <T extends OutputBuffer>(name: string | InputBuffer, namespace: string | InputBuffer, buffer: T, offset?: number) => T; | ||
export type v5 = v5Buffer & v5String; |
{ | ||
"name": "@types/uuid", | ||
"version": "3.4.5", | ||
"version": "3.4.6", | ||
"description": "TypeScript definitions for uuid", | ||
@@ -21,2 +21,7 @@ "license": "MIT", | ||
"githubUsername": "cjbarth" | ||
}, | ||
{ | ||
"name": "Rauno Viskus", | ||
"url": "https://github.com/rauno56", | ||
"githubUsername": "rauno56" | ||
} | ||
@@ -35,4 +40,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "a10d638ea8a096d40c44c9c3ef7d6c85ad3f8849386f1ce43096385bf47cadc9", | ||
"typesPublisherContentHash": "cba5030cf8509ea78c75e0e7f6794c6b4ea1bb578d09001bd5e6b7a862ef5001", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 01 Jul 2019 19:49:35 GMT | ||
* Last updated: Wed, 30 Oct 2019 17:15:26 GMT | ||
* Dependencies: @types/node | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Oliver Hoffmann <https://github.com/iamolivinius>, Felipe Ochoa <https://github.com/felipeochoa>, and Chris Barth <https://github.com/cjbarth>. | ||
These definitions were written by Oliver Hoffmann <https://github.com/iamolivinius>, Felipe Ochoa <https://github.com/felipeochoa>, Chris Barth <https://github.com/cjbarth>, and Rauno Viskus <https://github.com/rauno56>. |
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
5291
53