Skip to content

Commit 753c410

Browse files
gluhowsivaprabug
authored andcommitted
Fix: Resolve Content Security Policy issue in vue-i18n
The web page stopped loading due to a Content Security Policy violation error caused by the use of the "new Function" construct in vue-i18n version 9.13.1. Upgrading to vue-i18n version 10.0.5 resolves this issue Change-Id: I57fa72a4ee8edc282a122e42358a77e254c7943f Signed-off-by: Glukhov Mikhail <[email protected]>
1 parent b2ca5a5 commit 753c410

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"js-cookie": "3.0.1",
3232
"lodash": "4.17.21",
3333
"vue": "3.4.29",
34-
"vue-i18n": "9.13.1",
34+
"vue-i18n": "10.0.5",
3535
"vue-loader": "17.4.2",
3636
"vue-router": "4.4.0",
3737
"vuelidate": "0.7.7",
@@ -42,7 +42,6 @@
4242
"xterm-addon-fit": "0.5.0"
4343
},
4444
"devDependencies": {
45-
"@intlify/vue-i18n-loader": "4.2.0",
4645
"@vue/cli-plugin-babel": "5.0.8",
4746
"@vue/cli-plugin-eslint": "5.0.8",
4847
"@vue/cli-plugin-router": "5.0.8",
@@ -66,7 +65,6 @@
6665
"prettier": "3.2.5",
6766
"sass": "1.75.0",
6867
"sass-loader": "14.2.1",
69-
"vue-cli-plugin-i18n": "2.3.1",
7068
"vue-style-loader": "4.1.3",
7169
"vue-svg-inline-loader": "2.1.5",
7270
"vuepress": "1.9.7"

0 commit comments

Comments
 (0)