@websanova/vue-auth
Advanced tools
Comparing version 2.4.3-beta to 2.5.0-beta
@@ -43,2 +43,6 @@ import App from './components/App.vue'; | ||
}, | ||
'/async': { | ||
name: 'async', | ||
component: function(resolve) { require(['./components/pages/Async.vue'], resolve); } | ||
}, | ||
'/admin': { | ||
@@ -45,0 +49,0 @@ auth: 'admin', |
@@ -41,2 +41,6 @@ import App from './components/App.vue'; | ||
}, { | ||
path: '/async', | ||
name: 'async', | ||
component: function(resolve) { require(['./components/pages/Async.vue'], resolve); } | ||
}, { | ||
path: '/admin', | ||
@@ -43,0 +47,0 @@ name: 'admin', |
@@ -17,3 +17,3 @@ { | ||
"version": "2.4.3-beta", | ||
"version": "2.5.0-beta", | ||
@@ -28,19 +28,22 @@ "repository": { | ||
"dependencies": { | ||
"@websanova/vue-auth": "2.4.3-beta" | ||
"@websanova/vue-auth": "2.5.0-beta" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "6.9.1", | ||
"babel-loader": "6.2.4", | ||
"babel-plugin-transform-runtime": "6.9.0", | ||
"babel-preset-es2015": "6.9.0", | ||
"babel-core": "6.16.0", | ||
"babel-loader": "6.2.5", | ||
"babel-runtime": "6.9.2", | ||
"css-loader": "0.23.1", | ||
"babel-plugin-transform-runtime": "6.12.0", | ||
"babel-preset-es2015": "6.16.0", | ||
"vue-loader": "9.5.1", | ||
"vue-style-loader": "1.0.0", | ||
"css-loader": "0.25.0", | ||
"style-loader": "0.13.1", | ||
"vue-hot-reload-api": "1.3.2", | ||
"vue-html-loader": "1.2.3", | ||
"vue-style-loader": "1.0.0", | ||
"vue-loader": "8.5.2", | ||
"file-loader": "^0.8.4", | ||
"webpack": "1.13.1", | ||
"webpack-dev-server": "1.14.1", | ||
"webpack-dev-server": "1.16.1", | ||
"webpack-stream": "3.2.0", | ||
@@ -47,0 +50,0 @@ "copy-webpack-plugin": "3.0.1", |
@@ -50,2 +50,3 @@ var __utils = require('./lib/utils.js'), | ||
if ( ! __cookie.exists.call(this)) { | ||
console.log('routerBeforeEach') | ||
this.options.logoutProcess.call(this, null, {}); | ||
@@ -152,2 +153,3 @@ | ||
data.error = function (res) { | ||
console.log('error'); | ||
_this.watch.loaded = true; | ||
@@ -162,2 +164,3 @@ | ||
else { | ||
console.log('duckPunch') | ||
__duckPunch.call(this, 'fetch', data); | ||
@@ -168,5 +171,6 @@ } | ||
function _fetchProcess(res, data) { | ||
console.log('fetchProcess'); | ||
this.watch.loaded = true; | ||
this.watch.authenticated = true; | ||
this.watch.data = this.options.parseUserData.call(this, this.options.http._httpData.call(this, res)); | ||
this.watch.loaded = true; | ||
@@ -173,0 +177,0 @@ if (data.success) { data.success.call(this, res); } |
@@ -9,2 +9,3 @@ var Auth = require('./auth.js')(); | ||
// var ready = auth.ready; | ||
var login = auth.login; | ||
@@ -22,2 +23,3 @@ var fetch = auth.fetch; | ||
get: function () { | ||
// auth.ready = ready.bind(this); | ||
auth.login = login.bind(this); | ||
@@ -24,0 +26,0 @@ auth.fetch = fetch.bind(this); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
391737
66
3301
5