Skip to content

Commit

Permalink
chore: updated dev dependencies (fixes security issues)
Browse files Browse the repository at this point in the history
  • Loading branch information
broofa committed Jun 22, 2018
1 parent 02161b2 commit 4c85376
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 249 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Version 1 (timestamp):

```javascript
const uuidv1 = require('uuid/v1');
uuidv1(); // ⇨ '3b99e3e0-7598-11e8-90be-95472fb3ecbd'
uuidv1(); // ⇨ '4ced1000-763c-11e8-998f-cf9b46a65ec5'

```

Expand Down Expand Up @@ -56,7 +56,7 @@ Version 4 (random):

```javascript
const uuidv4 = require('uuid/v4');
uuidv4(); // ⇨ '3a017fc5-4f50-4db9-b0ce-4547ba0a1bfd'
uuidv4(); // ⇨ 'bfb01a03-b8db-4bdc-9277-aa154ebbae96'

```

Expand Down Expand Up @@ -167,8 +167,8 @@ Example: In-place generation of two binary IDs
```javascript
// Generate two ids in an array
const arr = new Array();
uuidv1(null, arr, 0); // ⇨ [ 59, 155, 106, 128, 117, 152, 17, 232, 146, 52, 149, 71, 47, 179, 236, 189 ]
uuidv1(null, arr, 16); // ⇨ [ 59, 155, 106, 128, 117, 152, 17, 232, 146, 52, 149, 71, 47, 179, 236, 189, 59, 155, 145, 144, 117, 152, 17, 232, 146, 52, 149, 71, 47, 179, 236, 189 ]
uuidv1(null, arr, 0); // ⇨ [ 76, 239, 11, 208, 118, 60, 17, 232, 146, 52, 207, 155, 70, 166, 94, 197 ]
uuidv1(null, arr, 16); // ⇨ [ 76, 239, 11, 208, 118, 60, 17, 232, 146, 52, 207, 155, 70, 166, 94, 197, 76, 239, 50, 224, 118, 60, 17, 232, 146, 52, 207, 155, 70, 166, 94, 197 ]

```

Expand Down Expand Up @@ -237,8 +237,8 @@ Example: Generate two IDs in a single buffer

```javascript
const buffer = new Array();
uuidv4(null, buffer, 0); // ⇨ [ 202, 18, 44, 182, 222, 65, 71, 82, 164, 80, 208, 169, 173, 93, 252, 13 ]
uuidv4(null, buffer, 16); // ⇨ [ 202, 18, 44, 182, 222, 65, 71, 82, 164, 80, 208, 169, 173, 93, 252, 13, 243, 221, 205, 191, 130, 146, 75, 199, 146, 71, 96, 195, 45, 156, 124, 9 ]
uuidv4(null, buffer, 0); // ⇨ [ 238, 255, 44, 72, 153, 43, 78, 0, 149, 45, 156, 168, 49, 162, 164, 42 ]
uuidv4(null, buffer, 16); // ⇨ [ 238, 255, 44, 72, 153, 43, 78, 0, 149, 45, 156, 168, 49, 162, 164, 42, 79, 202, 23, 218, 213, 212, 76, 65, 175, 76, 25, 62, 19, 16, 95, 131 ]

```

Expand Down
Loading

0 comments on commit 4c85376

Please # to comment.