uuid
Advanced tools
Comparing version 3.3.2 to 3.3.3
@@ -1,5 +0,7 @@ | ||
# Change Log | ||
# Changelog | ||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
### [3.3.3](https://github.com/kelektiv/node-uuid/compare/v3.3.2...v3.3.3) (2019-08-19) | ||
<a name="3.3.2"></a> | ||
@@ -6,0 +8,0 @@ ## [3.3.2](https://github.com/kelektiv/node-uuid/compare/v3.3.1...v3.3.2) (2018-06-28) |
{ | ||
"name": "uuid", | ||
"version": "3.3.2", | ||
"version": "3.3.3", | ||
"description": "RFC4122 (v1, v4, and v5) UUIDs", | ||
@@ -20,12 +20,12 @@ "commitlint": { | ||
"devDependencies": { | ||
"@commitlint/cli": "7.0.0", | ||
"@commitlint/config-conventional": "7.0.1", | ||
"eslint": "4.19.1", | ||
"husky": "0.14.3", | ||
"mocha": "5.2.0", | ||
"runmd": "1.0.1", | ||
"standard-version": "4.4.0" | ||
"@commitlint/cli": "8.1.0", | ||
"@commitlint/config-conventional": "8.1.0", | ||
"eslint": "6.2.0", | ||
"husky": "3.0.4", | ||
"mocha": "6.2.0", | ||
"runmd": "1.2.1", | ||
"standard-version": "7.0.0" | ||
}, | ||
"scripts": { | ||
"commitmsg": "commitlint -E GIT_PARAMS", | ||
"commitmsg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"test": "mocha test/test.js", | ||
@@ -32,0 +32,0 @@ "md": "runmd --watch --output=README.md README_js.md", |
@@ -31,3 +31,3 @@ <!-- | ||
const uuidv1 = require('uuid/v1'); | ||
uuidv1(); // ⇨ '45745c60-7b1a-11e8-9c9c-2d42b21b1a3e' | ||
uuidv1(); // ⇨ '2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d' | ||
@@ -60,3 +60,3 @@ ``` | ||
const uuidv4 = require('uuid/v4'); | ||
uuidv4(); // ⇨ '10ba038e-48da-487b-96e8-8d3b99b6d18a' | ||
uuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed' | ||
@@ -152,3 +152,3 @@ ``` | ||
Note: The <node> id is generated guaranteed to stay constant for the lifetime of the current JS runtime. (Future versions of this module may use persistent storage mechanisms to extend this guarantee.) | ||
Note: The default [node id](https://tools.ietf.org/html/rfc4122#section-4.1.6) (the last 12 digits in the UUID) is generated once, randomly, on process startup, and then remains unchanged for the duration of the process. | ||
@@ -173,4 +173,4 @@ Example: Generate string UUID with fully-specified options | ||
const arr = new Array(); | ||
uuidv1(null, arr, 0); // ⇨ [ 69, 117, 109, 208, 123, 26, 17, 232, 146, 52, 45, 66, 178, 27, 26, 62 ] | ||
uuidv1(null, arr, 16); // ⇨ [ 69, 117, 109, 208, 123, 26, 17, 232, 146, 52, 45, 66, 178, 27, 26, 62, 69, 117, 109, 209, 123, 26, 17, 232, 146, 52, 45, 66, 178, 27, 26, 62 ] | ||
uuidv1(null, arr, 0); // ⇨ [ 44, 94, 164, 192, 64, 103, 17, 233, 146, 52, 155, 29, 235, 77, 59, 125 ] | ||
uuidv1(null, arr, 16); // ⇨ [ 44, 94, 164, 192, 64, 103, 17, 233, 146, 52, 155, 29, 235, 77, 59, 125, 44, 94, 164, 193, 64, 103, 17, 233, 146, 52, 155, 29, 235, 77, 59, 125 ] | ||
@@ -244,4 +244,4 @@ ``` | ||
const buffer = new Array(); | ||
uuidv4(null, buffer, 0); // ⇨ [ 54, 122, 218, 70, 45, 70, 65, 24, 171, 53, 95, 130, 83, 195, 242, 45 ] | ||
uuidv4(null, buffer, 16); // ⇨ [ 54, 122, 218, 70, 45, 70, 65, 24, 171, 53, 95, 130, 83, 195, 242, 45, 108, 204, 255, 103, 171, 86, 76, 94, 178, 225, 188, 236, 150, 20, 151, 87 ] | ||
uuidv4(null, buffer, 0); // ⇨ [ 155, 29, 235, 77, 59, 125, 75, 173, 155, 221, 43, 13, 123, 61, 203, 109 ] | ||
uuidv4(null, buffer, 16); // ⇨ [ 155, 29, 235, 77, 59, 125, 75, 173, 155, 221, 43, 13, 123, 61, 203, 109, 27, 157, 107, 205, 187, 253, 75, 45, 155, 93, 171, 141, 251, 189, 75, 237 ] | ||
@@ -248,0 +248,0 @@ ``` |
34683
19
531