mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 01:40:22 -05:00
Update npm dependencies and update the axios import to reflect new requirements
This commit is contained in:
parent
b758203d06
commit
a4df62741c
4 changed files with 617 additions and 627 deletions
1186
package-lock.json
generated
1186
package-lock.json
generated
File diff suppressed because it is too large
Load diff
28
package.json
28
package.json
|
@ -8,19 +8,19 @@
|
|||
"browser-sync": "2.27.10"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "7.18.13",
|
||||
"@babel/preset-env": "7.18.10",
|
||||
"@fortawesome/fontawesome-free": "6.1.2",
|
||||
"@mr-hope/gulp-sass": "3.0.2",
|
||||
"@babel/core": "7.19.6",
|
||||
"@babel/preset-env": "7.19.4",
|
||||
"@fortawesome/fontawesome-free": "6.2.0",
|
||||
"@mr-hope/gulp-sass": "3.1.0",
|
||||
"autonumeric": "4.6.0",
|
||||
"autoprefixer": "10.4.8",
|
||||
"axios": "0.27.2",
|
||||
"autoprefixer": "10.4.12",
|
||||
"axios": "1.1.3",
|
||||
"babel-loader": "8.2.5",
|
||||
"bootstrap": "5.2.0",
|
||||
"easymde": "2.17.0",
|
||||
"bootstrap": "5.2.2",
|
||||
"easymde": "2.18.0",
|
||||
"fancy-log": "2.0.0",
|
||||
"flatpickr": "4.6.13",
|
||||
"gsap": "3.11.0",
|
||||
"gsap": "3.11.3",
|
||||
"gulp": "4.0.2",
|
||||
"gulp-babel": "8.0.0",
|
||||
"gulp-clean-css": "4.3.0",
|
||||
|
@ -32,17 +32,17 @@
|
|||
"gulp-uglify-es": "3.0.0",
|
||||
"jquery": "3.6.1",
|
||||
"list.js": "2.3.1",
|
||||
"minimist": "1.2.6",
|
||||
"minimist": "1.2.7",
|
||||
"popper.js": "1.16.1",
|
||||
"postcss": "8.4.16",
|
||||
"sass": "1.54.5",
|
||||
"postcss": "8.4.18",
|
||||
"sass": "1.55.0",
|
||||
"sortablejs": "1.15.0",
|
||||
"spinkit": "2.0.1",
|
||||
"terser-webpack-plugin": "5.3.6",
|
||||
"vue": "3.2.37",
|
||||
"vue": "3.2.41",
|
||||
"vue-loader": "17.0.0",
|
||||
"vue-router": "4.1.5",
|
||||
"vuex": "4.0.2",
|
||||
"vuex": "4.1.0",
|
||||
"webpack": "5.74.0",
|
||||
"what-input": "5.2.12"
|
||||
}
|
||||
|
|
|
@ -5,14 +5,14 @@ import { createApp, nextTick } from "vue";
|
|||
const Vue = createApp({});
|
||||
|
||||
// Import and configure axios
|
||||
window.axios = require("axios");
|
||||
import axios from "axios";
|
||||
|
||||
window.axios.defaults.headers.common = {
|
||||
axios.defaults.headers.common = {
|
||||
"X-Requested-With": "XMLHttpRequest",
|
||||
"X-CSRF-TOKEN": env.csrfToken
|
||||
};
|
||||
|
||||
Vue.config.globalProperties.$http = window.axios;
|
||||
Vue.config.globalProperties.$http = axios;
|
||||
|
||||
// Import plugins
|
||||
import { createRouter, createWebHistory } from "vue-router";
|
||||
|
@ -106,7 +106,7 @@ const store = createStore({
|
|||
mutations: {
|
||||
setAppLang(state, value) {
|
||||
state.appLang = value;
|
||||
window.axios.get(`/language/${value}`);
|
||||
axios.get(`/language/${value}`);
|
||||
},
|
||||
|
||||
setFirstLoad(state, value) {
|
||||
|
|
|
@ -8,17 +8,17 @@
|
|||
"browser-sync": "2.27.10"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "7.18.13",
|
||||
"@babel/preset-env": "7.18.10",
|
||||
"@fortawesome/fontawesome-free": "6.1.2",
|
||||
"@mr-hope/gulp-sass": "3.0.2",
|
||||
"@babel/core": "7.19.6",
|
||||
"@babel/preset-env": "7.19.4",
|
||||
"@fortawesome/fontawesome-free": "6.2.0",
|
||||
"@mr-hope/gulp-sass": "3.1.0",
|
||||
"autonumeric": "4.6.0",
|
||||
"autoprefixer": "10.4.8",
|
||||
"bootstrap": "5.2.0",
|
||||
"easymde": "2.17.0",
|
||||
"autoprefixer": "10.4.12",
|
||||
"bootstrap": "5.2.2",
|
||||
"easymde": "2.18.0",
|
||||
"fancy-log": "2.0.0",
|
||||
"flatpickr": "4.6.13",
|
||||
"gsap": "3.11.0",
|
||||
"gsap": "3.11.3",
|
||||
"gulp": "4.0.2",
|
||||
"gulp-babel": "8.0.0",
|
||||
"gulp-clean-css": "4.3.0",
|
||||
|
@ -30,10 +30,10 @@
|
|||
"gulp-uglify-es": "3.0.0",
|
||||
"jquery": "3.6.1",
|
||||
"list.js": "2.3.1",
|
||||
"minimist": "1.2.6",
|
||||
"minimist": "1.2.7",
|
||||
"popper.js": "1.16.1",
|
||||
"postcss": "8.4.16",
|
||||
"sass": "1.54.5",
|
||||
"postcss": "8.4.18",
|
||||
"sass": "1.55.0",
|
||||
"sortablejs": "1.15.0",
|
||||
"spinkit": "2.0.1",
|
||||
"what-input": "5.2.12"
|
||||
|
|
Loading…
Reference in a new issue