Skip to content

Commit dadb98b

Browse files
committed
🔖 bump to version 2.0.0
1 parent 33832b9 commit dadb98b

File tree

7 files changed

+32
-17
lines changed

7 files changed

+32
-17
lines changed

dist/index.esm.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
1-
import { v1, v4, v5 } from 'uuid';
1+
import { v1, v3, v4, v5 } from 'uuid';
22

33
/**
4-
* @typedef {{ v1: typeof v1, v4: typeof v4, v5: typeof v5 }} UUID
4+
* @typedef {Object} UUID
5+
* @property {typeof v1} v1
6+
* @property {typeof v3} v3
7+
* @property {typeof v4} v4
8+
* @property {typeof v5} v5
59
*/
610

711
/**
8-
* An object with uuid's v1, v4 and v5 functions.
9-
* @type {UUI}
12+
* An object with uuid's v1, v3, v4 and v5 functions.
13+
* @type {UUID}
1014
*/
1115

1216
var uuid = {
1317
v1: v1,
18+
v3: v3,
1419
v4: v4,
1520
v5: v5
1621
};
1722
/**
1823
* Installs UUID on Vue instance. It creates a property on Vue instance to
19-
* expose an object with uuid's v1, v4 and v5 functions.
24+
* expose an object with uuid's v1, v3, v4 and v5 functions.
2025
* @example ```js
2126
* import Vue from 'vue';
2227
* import VueUUID from 'vue-uuid';

dist/index.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,27 @@ Object.defineProperty(exports, '__esModule', { value: true });
55
var uuid$1 = require('uuid');
66

77
/**
8-
* @typedef {{ v1: typeof v1, v4: typeof v4, v5: typeof v5 }} UUID
8+
* @typedef {Object} UUID
9+
* @property {typeof v1} v1
10+
* @property {typeof v3} v3
11+
* @property {typeof v4} v4
12+
* @property {typeof v5} v5
913
*/
1014

1115
/**
12-
* An object with uuid's v1, v4 and v5 functions.
13-
* @type {UUI}
16+
* An object with uuid's v1, v3, v4 and v5 functions.
17+
* @type {UUID}
1418
*/
1519

1620
var uuid = {
1721
v1: uuid$1.v1,
22+
v3: uuid$1.v3,
1823
v4: uuid$1.v4,
1924
v5: uuid$1.v5
2025
};
2126
/**
2227
* Installs UUID on Vue instance. It creates a property on Vue instance to
23-
* expose an object with uuid's v1, v4 and v5 functions.
28+
* expose an object with uuid's v1, v3, v4 and v5 functions.
2429
* @example ```js
2530
* import Vue from 'vue';
2631
* import VueUUID from 'vue-uuid';

dist/index.umd.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,22 +233,27 @@
233233
const v5 = v35('v5', 0x50, sha1);
234234

235235
/**
236-
* @typedef {{ v1: typeof v1, v4: typeof v4, v5: typeof v5 }} UUID
236+
* @typedef {Object} UUID
237+
* @property {typeof v1} v1
238+
* @property {typeof v3} v3
239+
* @property {typeof v4} v4
240+
* @property {typeof v5} v5
237241
*/
238242

239243
/**
240-
* An object with uuid's v1, v4 and v5 functions.
241-
* @type {UUI}
244+
* An object with uuid's v1, v3, v4 and v5 functions.
245+
* @type {UUID}
242246
*/
243247

244248
var uuid = {
245249
v1: v1,
250+
v3: v3,
246251
v4: v4,
247252
v5: v5
248253
};
249254
/**
250255
* Installs UUID on Vue instance. It creates a property on Vue instance to
251-
* expose an object with uuid's v1, v4 and v5 functions.
256+
* expose an object with uuid's v1, v3, v4 and v5 functions.
252257
* @example ```js
253258
* import Vue from 'vue';
254259
* import VueUUID from 'vue-uuid';

dist/index.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)