@websanova/vue-auth
Advanced tools
Comparing version 2.8.1-beta to 2.8.2-beta
@@ -17,3 +17,3 @@ { | ||
"version": "2.8.1-beta", | ||
"version": "2.8.2-beta", | ||
@@ -52,3 +52,3 @@ "repository": { | ||
"@websanova/vue-auth": "2.8.1-beta", | ||
"@websanova/vue-auth": "2.8.2-beta", | ||
"axios": "0.15.3", | ||
@@ -55,0 +55,0 @@ "vue-axios": "1.2.2" |
@@ -12,3 +12,3 @@ module.exports = (function (){ | ||
function toArray(val) { | ||
return val === undefined || (typeof val) === 'string' || (typeof val) === 'number' ? [val] : val; | ||
return (typeof val) === 'string' || (typeof val) === 'number' ? [val] : val; | ||
} | ||
@@ -58,3 +58,3 @@ | ||
if (one.constructor !== Array || two.constructor !== Array) { | ||
if (!one || !two || one.constructor !== Array || two.constructor !== Array) { | ||
return false; | ||
@@ -61,0 +61,0 @@ } |
Sorry, the diff of this file is not supported yet
371036
69
2700