Skip to content

Commit

Permalink
🔖 bump to version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorLuizC committed Oct 30, 2018
1 parent 7b9e00a commit 2b09e5d
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 6 deletions.
29 changes: 28 additions & 1 deletion dist/vue-uuid.cjs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-uuid v1.0.0
* vue-uuid v1.1.0
* (c) 2017-present Vitor Luiz Cavalcanti
* Released under the MIT License.
*/
Expand All @@ -13,11 +13,38 @@ var v1 = _interopDefault(require('uuid/v1'));
var v4 = _interopDefault(require('uuid/v4'));
var v5 = _interopDefault(require('uuid/v5'));

/**
* @typedef {{ v1: typeof v1, v4: typeof v4, v5: typeof v5 }} UUID
*/

/**
* An object with uuid's v1, v4 and v5 functions.
* @type {UUI}
*/

var uuid = {
v1: v1,
v4: v4,
v5: v5
};
/**
* Installs UUID on Vue instance. It creates a property on Vue instance to
* expose an object with uuid's v1, v4 and v5 functions.
* @example ```js
* import Vue from 'vue';
* import VueUUID from 'vue-uuid';
*
* Vue.use(VueUUID);
*
* new Vue({
* mounted () {
* console.log(this.$uuid.v1());
* }
* });
* ```
* @param {import('vue').default} Vue Vue constructor.
*/

function install(Vue) {
Vue.prototype.$uuid = uuid;
}
Expand Down
29 changes: 28 additions & 1 deletion dist/vue-uuid.es.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,44 @@
/*!
* vue-uuid v1.0.0
* vue-uuid v1.1.0
* (c) 2017-present Vitor Luiz Cavalcanti
* Released under the MIT License.
*/
import v1 from 'uuid/v1';
import v4 from 'uuid/v4';
import v5 from 'uuid/v5';

/**
* @typedef {{ v1: typeof v1, v4: typeof v4, v5: typeof v5 }} UUID
*/

/**
* An object with uuid's v1, v4 and v5 functions.
* @type {UUI}
*/

var uuid = {
v1: v1,
v4: v4,
v5: v5
};
/**
* Installs UUID on Vue instance. It creates a property on Vue instance to
* expose an object with uuid's v1, v4 and v5 functions.
* @example ```js
* import Vue from 'vue';
* import VueUUID from 'vue-uuid';
*
* Vue.use(VueUUID);
*
* new Vue({
* mounted () {
* console.log(this.$uuid.v1());
* }
* });
* ```
* @param {import('vue').default} Vue Vue constructor.
*/

function install(Vue) {
Vue.prototype.$uuid = uuid;
}
Expand Down
29 changes: 28 additions & 1 deletion dist/vue-uuid.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-uuid v1.0.0
* vue-uuid v1.1.0
* (c) 2017-present Vitor Luiz Cavalcanti
* Released under the MIT License.
*/
Expand Down Expand Up @@ -355,11 +355,38 @@

var v5 = v35('v5', 0x50, sha1Browser);

/**
* @typedef {{ v1: typeof v1, v4: typeof v4, v5: typeof v5 }} UUID
*/

/**
* An object with uuid's v1, v4 and v5 functions.
* @type {UUI}
*/

var uuid = {
v1: v1_1,
v4: v4_1,
v5: v5
};
/**
* Installs UUID on Vue instance. It creates a property on Vue instance to
* expose an object with uuid's v1, v4 and v5 functions.
* @example ```js
* import Vue from 'vue';
* import VueUUID from 'vue-uuid';
*
* Vue.use(VueUUID);
*
* new Vue({
* mounted () {
* console.log(this.$uuid.v1());
* }
* });
* ```
* @param {import('vue').default} Vue Vue constructor.
*/

function install(Vue) {
Vue.prototype.$uuid = uuid;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-uuid.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-uuid.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-uuid",
"version": "1.0.0",
"version": "1.1.0",
"description": "Add UUID to Vue instance.",
"cdn": "dist/vue-uuid.min.js",
"main": "dist/vue-uuid.cjs.js",
Expand Down

0 comments on commit 2b09e5d

Please sign in to comment.