forked from extern/homer
Update dependencies
This commit is contained in:
parent
4c9212c93e
commit
7172b6f507
20
package.json
20
package.json
@ -8,22 +8,22 @@
|
||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^6.1.2",
|
||||
"@fortawesome/fontawesome-free": "^6.2.0",
|
||||
"bulma": "^0.9.4",
|
||||
"js-yaml": "^4.1.0",
|
||||
"yaml": "^2.1.3",
|
||||
"lodash.merge": "^4.6.2",
|
||||
"vue": "^3.2.37"
|
||||
"vue": "^3.2.41"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rushstack/eslint-patch": "^1.1.4",
|
||||
"@vitejs/plugin-vue": "^3.0.3",
|
||||
"@rushstack/eslint-patch": "^1.2.0",
|
||||
"@vitejs/plugin-vue": "^3.2.0",
|
||||
"@vue/eslint-config-prettier": "^7.0.0",
|
||||
"eslint": "^8.22.0",
|
||||
"eslint-plugin-vue": "^9.3.0",
|
||||
"eslint": "^8.26.0",
|
||||
"eslint-plugin-vue": "^9.6.0",
|
||||
"prettier": "^2.7.1",
|
||||
"sass": "^1.54.4",
|
||||
"vite": "^3.0.7",
|
||||
"vite-plugin-pwa": "^0.12.3"
|
||||
"sass": "^1.55.0",
|
||||
"vite": "^3.2.1",
|
||||
"vite-plugin-pwa": "^0.13.1"
|
||||
},
|
||||
"license": "Apache-2.0"
|
||||
}
|
||||
|
@ -141,7 +141,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import jsyaml from "js-yaml";
|
||||
import { parse } from "yaml";
|
||||
import merge from "lodash.merge";
|
||||
|
||||
import Navbar from "./components/Navbar.vue";
|
||||
@ -200,7 +200,7 @@ export default {
|
||||
}
|
||||
},
|
||||
buildDashboard: async function () {
|
||||
const defaults = jsyaml.load(defaultConfig);
|
||||
const defaults = parse(defaultConfig);
|
||||
let config;
|
||||
try {
|
||||
config = await this.getConfig();
|
||||
@ -245,7 +245,7 @@ export default {
|
||||
return response
|
||||
.text()
|
||||
.then((body) => {
|
||||
return jsyaml.load(body);
|
||||
return parse(body);
|
||||
})
|
||||
.then(function (config) {
|
||||
if (config.externalConfig) {
|
||||
|
Loading…
Reference in New Issue
Block a user