misc: fix Vue3 version & update braces's version

Although my former patch can pass through build procedure but when
I launch configurator and try to load board.xml, the loading
procedure wont finish. So we cannot step forward anymore.

I cannot find a solution right now, so I have to fix the version
to v3.2.33 for several weeks.

This patch is applied to fix vulnerability scanned by Trivy also.
Vulnerability ID is CVE-2024-4068 & fixed version of dependency is 3.0.3.
I added one configuration item named override for package.json.

I tested and confirmed the fix is ok.

Signed-off-by: dongpingx <dongpingx.wu@intel.com>
Tracked-On: #8626
This commit is contained in:
dongpingx 2024-06-17 14:12:07 +08:00 committed by acrnsi-robot
parent 7739f0ef2a
commit 23b1a44d40
8 changed files with 407 additions and 395 deletions

View File

@ -24,7 +24,7 @@
"@vueform/slider": "^2.0.10", "@vueform/slider": "^2.0.10",
"ajv-i18n": "^4.2.0", "ajv-i18n": "^4.2.0",
"bootstrap": "^5.1.3", "bootstrap": "^5.1.3",
"bootstrap-vue-3": "^0.1.10", "bootstrap-vue-3": "0.1.11",
"encoding": "^0.1.13", "encoding": "^0.1.13",
"js-base64": "^3.7.2", "js-base64": "^3.7.2",
"lodash": "^4.17.21", "lodash": "^4.17.21",
@ -32,9 +32,16 @@
"node-fetch": "^2.6.7", "node-fetch": "^2.6.7",
"sass": "^1.50.0", "sass": "^1.50.0",
"vfonts": "^0.0.3", "vfonts": "^0.0.3",
"vue": "^3.2.25", "vue": "3.2.33",
"vue-router": "4" "vue-router": "4"
}, },
"overrides": {
"sass": {
"chokidar": {
"braces": "3.0.3"
}
}
},
"devDependencies": { "devDependencies": {
"@tauri-apps/cli": "^1.0.0-rc.10", "@tauri-apps/cli": "^1.0.0-rc.10",
"@types/node": "^16.11.33", "@types/node": "^16.11.33",

View File

@ -25,7 +25,7 @@
</div> </div>
</div> </div>
</template> </template>
<Board :WorkingFolder="WorkingFolder" v-model:board="board" v-model:schemas="schemas" <Board v-model:WorkingFolder="WorkingFolder" v-model:board="board" v-model:schemas="schemas"
@boardUpdate="boardUpdate"/> @boardUpdate="boardUpdate"/>
</b-accordion-item> </b-accordion-item>

View File

@ -31,7 +31,7 @@
</div> </div>
<VueForm <VueForm
:key="(currentActiveVMID===-1?'HV':`VM${currentActiveVMID}`)+currentFormMode+'ConfigForm'" :key="(currentActiveVMID===-1?'HV':`VM${currentActiveVMID}`)+currentFormMode+'ConfigForm'"
:currentFormData="currentFormData" v-model="currentFormData"
:form-props="formProps" :form-props="formProps"
:ui-schema="uiSchema" :ui-schema="uiSchema"
:schema="currentFormSchema[currentFormMode]" :schema="currentFormSchema[currentFormMode]"

View File

@ -1,6 +1,6 @@
<template> <template>
<b-modal title="Board XML overwrite" fade no-close-on-backdrop <b-modal title="Board XML overwrite" fade no-close-on-backdrop
:showModal="showModal" v-model="showModal"
@cancel="cancel" @cancel="cancel"
@abort="cancel" @abort="cancel"
@close="cancel" @close="cancel"

View File

@ -1,6 +1,6 @@
<template> <template>
<b-modal id="newScenarioModal" size="xl" title="Create a New Scenario" fade no-close-on-backdrop <b-modal id="newScenarioModal" size="xl" title="Create a New Scenario" fade no-close-on-backdrop
:showModal="showModal" v-model="showModal"
@cancel="cancel" @cancel="cancel"
@abort="cancel" @abort="cancel"
@close="cancel" @close="cancel"

View File

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<b-modal id="my-modal" no-close-on-backdrop <b-modal id="my-modal" no-close-on-backdrop
title="Scenario XML Overwrite" :showModal="showModal" title="Scenario XML Overwrite" v-model="showModal"
@cancel="cancel" @cancel="cancel"
@hidden="cancel" @hidden="cancel"
@abort="cancel" @abort="cancel"

View File

@ -1,6 +1,6 @@
<template> <template>
<b-modal title="ACRN Configurator" ok-only fade <b-modal title="ACRN Configurator" ok-only fade
:showModal="showModal" v-model="showModal"
@ok="overWrite" @ok="overWrite"
> >
<div class="picture"> <div class="picture">

File diff suppressed because it is too large Load Diff