This repository was archived by the owner on Dec 31, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 3636 "babel-plugin-istanbul" : " ^6.0.0" ,
3737 "babel-preset-power-assert" : " ^3.0.0" ,
3838 "buble" : " ^0.19.3" ,
39- "chromedriver" : " ^93 .0.0" ,
39+ "chromedriver" : " ^95 .0.0" ,
4040 "core-js" : " ^3.6.5" ,
4141 "cross-env" : " ^7.0.2" ,
4242 "cross-spawn" : " ^7.0.3" ,
Original file line number Diff line number Diff line change @@ -266,12 +266,16 @@ export default class VueI18n {
266266 } , { deep : true } )
267267 }
268268
269- watchLocale (): ?Function {
269+ watchLocale (composer?: any ): ?Function {
270270 /* istanbul ignore if */
271271 if ( ! this . _sync || ! this . _root ) { return null }
272+ const self = this
272273 const target: any = this._vm
273274 return this._root.$i18n.vm.$watch('locale', (val) => {
274275 target . $set ( target , 'locale' , val )
276+ if ( self . __VUE_I18N_BRIDGE__ && composer ) {
277+ composer . locale . value = val
278+ }
275279 target.$forceUpdate()
276280 } , { immediate : true } )
277281 }
Original file line number Diff line number Diff line change @@ -3136,10 +3136,10 @@ chrome-trace-event@^1.0.2:
31363136 dependencies:
31373137 tslib "^1.9.0"
31383138
3139- chromedriver@^93 .0.0:
3140- version "93 .0.1 "
3141- resolved "https://registry.yarnpkg.com/chromedriver/-/chromedriver-93 .0.1 .tgz#3ed1f7baa98a754fc1788c42ac8e4bb1ab27db32 "
3142- integrity sha512-KDzbW34CvQLF5aTkm3b5VdlTrvdIt4wEpCzT2p4XJIQWQZEPco5pNce7Lu9UqZQGkhQ4mpZt4Ky6NKVyIS2N8A ==
3139+ chromedriver@^95 .0.0:
3140+ version "95 .0.0 "
3141+ resolved "https://registry.yarnpkg.com/chromedriver/-/chromedriver-95 .0.0 .tgz#ecf854cac6df5137a651dcc132edf55612d3db7f "
3142+ integrity sha512-HwSg7S0ZZYsHTjULwxFHrrUqEpz1+ljDudJM3eOquvqD5QKnR5pSe/GlBTY9UU2tVFRYz8bEHYC4Y8qxciQiLQ ==
31433143 dependencies:
31443144 "@testim/chrome-version" "^1.0.7"
31453145 axios "^0.21.2"
You can’t perform that action at this time.
0 commit comments