Update dependencies

This commit is contained in:
Bastien Wirtz 2022-10-29 15:39:35 +02:00
parent 4c9212c93e
commit 7172b6f507
3 changed files with 398 additions and 428 deletions

View File

@ -8,22 +8,22 @@
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore" "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
}, },
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^6.1.2", "@fortawesome/fontawesome-free": "^6.2.0",
"bulma": "^0.9.4", "bulma": "^0.9.4",
"js-yaml": "^4.1.0", "yaml": "^2.1.3",
"lodash.merge": "^4.6.2", "lodash.merge": "^4.6.2",
"vue": "^3.2.37" "vue": "^3.2.41"
}, },
"devDependencies": { "devDependencies": {
"@rushstack/eslint-patch": "^1.1.4", "@rushstack/eslint-patch": "^1.2.0",
"@vitejs/plugin-vue": "^3.0.3", "@vitejs/plugin-vue": "^3.2.0",
"@vue/eslint-config-prettier": "^7.0.0", "@vue/eslint-config-prettier": "^7.0.0",
"eslint": "^8.22.0", "eslint": "^8.26.0",
"eslint-plugin-vue": "^9.3.0", "eslint-plugin-vue": "^9.6.0",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"sass": "^1.54.4", "sass": "^1.55.0",
"vite": "^3.0.7", "vite": "^3.2.1",
"vite-plugin-pwa": "^0.12.3" "vite-plugin-pwa": "^0.13.1"
}, },
"license": "Apache-2.0" "license": "Apache-2.0"
} }

View File

@ -141,7 +141,7 @@
</template> </template>
<script> <script>
import jsyaml from "js-yaml"; import { parse } from "yaml";
import merge from "lodash.merge"; import merge from "lodash.merge";
import Navbar from "./components/Navbar.vue"; import Navbar from "./components/Navbar.vue";
@ -200,7 +200,7 @@ export default {
} }
}, },
buildDashboard: async function () { buildDashboard: async function () {
const defaults = jsyaml.load(defaultConfig); const defaults = parse(defaultConfig);
let config; let config;
try { try {
config = await this.getConfig(); config = await this.getConfig();
@ -245,7 +245,7 @@ export default {
return response return response
.text() .text()
.then((body) => { .then((body) => {
return jsyaml.load(body); return parse(body);
}) })
.then(function (config) { .then(function (config) {
if (config.externalConfig) { if (config.externalConfig) {

800
yarn.lock

File diff suppressed because it is too large Load Diff