@types/uuid
Advanced tools
Comparing version 9.0.1 to 9.0.2
@@ -13,3 +13,3 @@ // Type definitions for uuid 9.0 | ||
// Uses ArrayLike to admit Unit8 and co. | ||
// Uses ArrayLike to admit Uint8 and co. | ||
type OutputBuffer = ArrayLike<number>; | ||
@@ -19,5 +19,7 @@ type InputBuffer = ArrayLike<number>; | ||
interface RandomOptions { | ||
/** `Array` of 16 random bytes (0-255) */ | ||
random?: InputBuffer | undefined; | ||
} | ||
interface RngOptions { | ||
/** Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) */ | ||
rng?: (() => InputBuffer) | undefined; | ||
@@ -27,5 +29,9 @@ } | ||
interface V1BaseOptions { | ||
/** RFC "node" field as an `Array[6]` of byte values (per 4.1.6) */ | ||
node?: InputBuffer | undefined; | ||
/** RFC "clock sequence" as a `Number` between 0 - 0x3fff */ | ||
clockseq?: number | undefined; | ||
/** RFC "timestamp" field (`Number` of milliseconds, unix epoch) */ | ||
msecs?: number | Date | undefined; | ||
/** RFC "timestamp" field (`Number` of nanoseconds to add to msecs, should be 0-10,000) */ | ||
nsecs?: number | undefined; | ||
@@ -32,0 +38,0 @@ } |
{ | ||
"name": "@types/uuid", | ||
"version": "9.0.1", | ||
"version": "9.0.2", | ||
"description": "TypeScript definitions for uuid", | ||
@@ -43,4 +43,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "960e341662c90dd3808bb9d88f8b2b55d25603a5e59a0adce183de525875f416", | ||
"typeScriptVersion": "4.2", | ||
"typesPublisherContentHash": "3213c87118af95e8668dbdfbbcf3a959d1bfc274b6aae55d03fdb2942b792b77", | ||
"typeScriptVersion": "4.3", | ||
"exports": { | ||
@@ -47,0 +47,0 @@ "./package.json": "./package.json", |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 22 Feb 2023 02:32:35 GMT | ||
* Last updated: Thu, 08 Jun 2023 20:32:59 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,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
7100
73