Remove axios

This commit is contained in:
Christian Cueni 2021-05-17 12:09:46 +02:00
parent 08e259ebf6
commit f39deb8cf1
5 changed files with 12 additions and 50 deletions

View File

@ -22,7 +22,6 @@
"apollo-link-http": "^1.5.16",
"appolo": "^6.0.19",
"autoprefixer": "^7.1.2",
"axios": "^0.18.0",
"babel-eslint": "^8.2.1",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^8.0.6",
@ -72,7 +71,6 @@
"vue": "^2.5.17",
"vue-analytics": "^5.16.2",
"vue-apollo": "^3.0.0-beta.16",
"vue-axios": "^2.1.1",
"vue-loader": "^15.9.6",
"vue-matomo": "^3.13.4-0",
"vue-router": "^3.0.1",
@ -5473,15 +5471,6 @@
"resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz",
"integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ=="
},
"node_modules/axios": {
"version": "0.18.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.18.0.tgz",
"integrity": "sha1-MtU+SFHv3AoRmTts0AB4nXDAUQI=",
"dependencies": {
"follow-redirects": "^1.3.0",
"is-buffer": "^1.1.5"
}
},
"node_modules/babel-bridge": {
"version": "1.12.11",
"resolved": "https://registry.npmjs.org/babel-bridge/-/babel-bridge-1.12.11.tgz",
@ -11827,6 +11816,7 @@
},
"node_modules/fsevents/node_modules/chownr": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz",
"integrity": "sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE=",
"inBundle": true,
"license": "ISC",
@ -11949,6 +11939,7 @@
},
"node_modules/fsevents/node_modules/glob": {
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
"integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
"inBundle": true,
"license": "ISC",
@ -12331,6 +12322,7 @@
},
"node_modules/fsevents/node_modules/rimraf": {
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz",
"integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==",
"inBundle": true,
"license": "ISC",
@ -12367,6 +12359,7 @@
},
"node_modules/fsevents/node_modules/semver": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz",
"integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==",
"inBundle": true,
"license": "ISC",
@ -25351,11 +25344,6 @@
"throttle-debounce": "^2.0.0"
}
},
"node_modules/vue-axios": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/vue-axios/-/vue-axios-2.1.3.tgz",
"integrity": "sha512-F4njDY6yqETynPh4iA/x3ohHuL6eNp4Jnn30VU//L7mrq3x7PwaHAoKrT++XjbKLjjNOZevTAGNyYXrdYEC90A=="
},
"node_modules/vue-eslint-parser": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz",
@ -31508,15 +31496,6 @@
"resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz",
"integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ=="
},
"axios": {
"version": "0.18.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.18.0.tgz",
"integrity": "sha1-MtU+SFHv3AoRmTts0AB4nXDAUQI=",
"requires": {
"follow-redirects": "^1.3.0",
"is-buffer": "^1.1.5"
}
},
"babel-bridge": {
"version": "1.12.11",
"resolved": "https://registry.npmjs.org/babel-bridge/-/babel-bridge-1.12.11.tgz",
@ -36865,6 +36844,7 @@
},
"chownr": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz",
"integrity": "sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE=",
"bundled": true,
"optional": true
@ -36962,6 +36942,7 @@
},
"glob": {
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
"integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
"bundled": true,
"optional": true,
@ -37266,6 +37247,7 @@
},
"rimraf": {
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz",
"integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==",
"bundled": true,
"optional": true,
@ -37295,6 +37277,7 @@
},
"semver": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz",
"integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==",
"bundled": true,
"optional": true
@ -47969,11 +47952,6 @@
"throttle-debounce": "^2.0.0"
}
},
"vue-axios": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/vue-axios/-/vue-axios-2.1.3.tgz",
"integrity": "sha512-F4njDY6yqETynPh4iA/x3ohHuL6eNp4Jnn30VU//L7mrq3x7PwaHAoKrT++XjbKLjjNOZevTAGNyYXrdYEC90A=="
},
"vue-eslint-parser": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz",

View File

@ -86,7 +86,6 @@
"vue": "^2.5.17",
"vue-analytics": "^5.16.2",
"vue-apollo": "^3.0.0-beta.16",
"vue-axios": "^2.1.1",
"vue-loader": "^15.9.6",
"vue-matomo": "^3.13.4-0",
"vue-router": "^3.0.1",

View File

@ -1,7 +1,5 @@
import '@babel/polyfill';
import Vue from 'vue';
import axios from 'axios';
import VueAxios from 'vue-axios';
import VueVimeoPlayer from 'vue-vimeo-player';
import apolloClientFactory from './graphql/client';
import VueApollo from 'vue-apollo';
@ -28,7 +26,6 @@ const isProduction = process.env.NODE_ENV === 'production';
Vue.use(VueModal);
Vue.use(VueRemoveEdges);
Vue.use(VueApollo);
Vue.use(VueAxios, axios);
Vue.use(VueVimeoPlayer);
Vue.use(VueToast);
Vue.use(VueLogger, {

View File

@ -3,8 +3,9 @@
<h1
class="hello__title public-page__title"
data-cy="hello-title">Wollen Sie {{ pageTitle }} jetzt im Unterricht verwenden?</h1>
<a href="/api/oauth/login/"
data-cy="oauth-login">Login</a>
<a
href="/api/oauth/login/"
data-cy="oauth-login">Login</a>
</div>
</template>

View File

@ -2152,14 +2152,6 @@
"resolved" "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz"
"version" "1.8.0"
"axios@^0.18.0":
"integrity" "sha1-MtU+SFHv3AoRmTts0AB4nXDAUQI="
"resolved" "https://registry.npmjs.org/axios/-/axios-0.18.0.tgz"
"version" "0.18.0"
dependencies:
"follow-redirects" "^1.3.0"
"is-buffer" "^1.1.5"
"babel-bridge@^1.12.11":
"integrity" "sha512-TFN5SV/vPkVgIaGdRO5ui3hqIV3ElJ6rvsmoADaR8YVsN1hAxtyUlRerOul2mXwOFY6N8QewiPF+NPyk1PKIRQ=="
"resolved" "https://registry.npmjs.org/babel-bridge/-/babel-bridge-1.12.11.tgz"
@ -5772,7 +5764,7 @@
"inherits" "^2.0.1"
"readable-stream" "^2.0.4"
"follow-redirects@^1.0.0", "follow-redirects@^1.3.0":
"follow-redirects@^1.0.0":
"integrity" "sha512-kssLorP/9acIdpQ2udQVTiCS5LQmdEz9mvdIfDcl1gYX2tPKFADHSyFdvJS040XdFsPzemWtgI3q8mFVCxtX8A=="
"resolved" "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.2.tgz"
"version" "1.5.2"
@ -12747,11 +12739,6 @@
dependencies:
"throttle-debounce" "^2.0.0"
"vue-axios@^2.1.1":
"integrity" "sha512-F4njDY6yqETynPh4iA/x3ohHuL6eNp4Jnn30VU//L7mrq3x7PwaHAoKrT++XjbKLjjNOZevTAGNyYXrdYEC90A=="
"resolved" "https://registry.npmjs.org/vue-axios/-/vue-axios-2.1.3.tgz"
"version" "2.1.3"
"vue-eslint-parser@^2.0.3":
"integrity" "sha512-ZezcU71Owm84xVF6gfurBQUGg8WQ+WZGxgDEQu1IHFBZNx7BFZg3L1yHxrCBNNwbwFtE1GuvfJKMtb6Xuwc/Bw=="
"resolved" "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz"