mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-03-13 14:59:23 +01:00
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"
|
"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"
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user