Skip to content

Commit

Permalink
Fix: Resolve Content Security Policy issue in vue-i18n
Browse files Browse the repository at this point in the history
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 <mikl@greenfil.ru>
  • Loading branch information
gluhow authored and sivaprabug committed Jan 22, 2025
1 parent b2ca5a5 commit 753c410
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"js-cookie": "3.0.1",
"lodash": "4.17.21",
"vue": "3.4.29",
"vue-i18n": "9.13.1",
"vue-i18n": "10.0.5",
"vue-loader": "17.4.2",
"vue-router": "4.4.0",
"vuelidate": "0.7.7",
Expand All @@ -42,7 +42,6 @@
"xterm-addon-fit": "0.5.0"
},
"devDependencies": {
"@intlify/vue-i18n-loader": "4.2.0",
"@vue/cli-plugin-babel": "5.0.8",
"@vue/cli-plugin-eslint": "5.0.8",
"@vue/cli-plugin-router": "5.0.8",
Expand All @@ -66,7 +65,6 @@
"prettier": "3.2.5",
"sass": "1.75.0",
"sass-loader": "14.2.1",
"vue-cli-plugin-i18n": "2.3.1",
"vue-style-loader": "4.1.3",
"vue-svg-inline-loader": "2.1.5",
"vuepress": "1.9.7"
Expand Down

0 comments on commit 753c410

Please sign in to comment.