Skip to content

Commit eb64353

Browse files
committed
Upgrade some deps
1 parent f4565a2 commit eb64353

File tree

3 files changed

+24
-14
lines changed

3 files changed

+24
-14
lines changed

gulpfile.js

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ gulp.task('server', function () {
1717
name: 'VueAuthentication',
1818
root: './example',
1919
base: 'example',
20+
host: 'localhost',
2021
port: 8080,
2122
livereload: true,
2223
verbose: true,

package.json

+21-12
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,21 @@
2525
},
2626
"license": "MIT",
2727
"devDependencies": {
28-
"axios": "^0.17.1",
29-
"babel-core": "^6.24.0",
30-
"babel-loader": "^6.4.1",
31-
"babel-plugin-external-helpers": "^6.22.0",
28+
"@babel/core": "^7.3.4",
29+
"babel-loader": "^8.0.5",
3230
"babel-preset-es2015": "^6.24.1",
3331
"babel-preset-es2015-rollup": "^3.0.0",
3432
"body-parser": "^1.17.1",
3533
"connect-history-api-fallback": "^1.3.0",
3634
"cors": "^2.8.1",
3735
"express": "^4.15.2",
38-
"gulp": "^3.9.1",
36+
"gulp": "3.9.1",
3937
"gulp-connect": "^5.0.0",
4038
"gulp-webpack": "^1.5.0",
4139
"node-dev": "^3.1.3",
4240
"oauth": "^0.9.15",
4341
"oauth-signature": "^1.3.1",
44-
"parallelshell": "^2.0.0",
42+
"parallelshell": "3.0.1",
4543
"request": "^2.81.0",
4644
"rollup": "^0.41.6",
4745
"rollup-plugin-babel": "^2.7.1",
@@ -53,11 +51,15 @@
5351
"uglify-js": "^2.8.22",
5452
"unix-timestamp": "^0.2.0",
5553
"vinyl-source-stream": "^1.1.0",
56-
"vue-axios": "^2.0.2",
57-
"vue-router": "^2.3.0",
58-
"vuex": "^2.2.1",
59-
"webpack": "^2.3.2",
60-
"webpack-dev-server": "^2.4.2"
54+
"vue-router": "^3.0.2",
55+
"vuex": "^3.1.0",
56+
"webpack": "^4.29.6",
57+
"webpack-dev-server": "^3.2.1"
58+
},
59+
"peerDependencies": {
60+
"acorn-dynamic-import": "^4.0.0",
61+
"acorn": "^6.0.0",
62+
"ajv": "^6.9.1"
6163
},
6264
"tags": [
6365
"auth",
@@ -75,5 +77,12 @@
7577
"oauth",
7678
"oauth 1.0",
7779
"oauth 2.0"
78-
]
80+
],
81+
"dependencies": {
82+
"acorn": "^6.0.0",
83+
"ajv": "^6.9.1",
84+
"axios": "^0.18.0",
85+
"vue": "^2.5.17",
86+
"vue-axios": "^2.1.4"
87+
}
7988
}

src/oauth/oauth2.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ export default class OAuth2 {
7777
exchangeForToken(oauth, userData) {
7878
let payload = objectExtend({}, userData)
7979

80-
for (let key in defaultProviderConfig.responseParams) {
81-
let value = defaultProviderConfig[key]
80+
for (let key in this.providerConfig.responseParams) {
81+
let value = this.providerConfig.responseParams[key]
8282

8383
switch(key) {
8484
case 'code':

0 commit comments

Comments
 (0)