diff --git a/vue-toutiao/package-lock.json b/vue-toutiao/package-lock.json index 4bbcdb4..427e023 100644 --- a/vue-toutiao/package-lock.json +++ b/vue-toutiao/package-lock.json @@ -338,12 +338,11 @@ "optional": true }, "axios": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.17.1.tgz", - "integrity": "sha1-LY4+XQvb1zJ/kbyBT1xXZg+Bgk0=", + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", + "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", "requires": { - "follow-redirects": "^1.2.5", - "is-buffer": "^1.1.5" + "follow-redirects": "^1.10.0" } }, "babel-code-frame": { @@ -5073,7 +5072,8 @@ "is-buffer": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true }, "is-callable": { "version": "1.2.3", diff --git a/vue-toutiao/package.json b/vue-toutiao/package.json index c15bc94..8c5c22d 100644 --- a/vue-toutiao/package.json +++ b/vue-toutiao/package.json @@ -47,7 +47,7 @@ "webpack-merge": "^4.1.1" }, "dependencies": { - "axios": "^0.17.1", + "axios": "^0.21.1", "babel-polyfill": "^6.26.0", "qs": "^6.5.1", "vue": "^2.5.13",