nuxt-i18n
Advanced tools
Comparing version 6.9.2 to 6.9.3
@@ -0,1 +1,9 @@ | ||
### [6.9.3](https://github.com/nuxt-community/nuxt-i18n/compare/v6.9.1...v6.9.3) (2020-04-23) | ||
### Bug Fixes | ||
* crash with latest vue-i18n related to using null locale ([#678](https://github.com/nuxt-community/nuxt-i18n/issues/678)) ([642fddf](https://github.com/nuxt-community/nuxt-i18n/commit/642fddfb4eac8bed42e537737c74d9ec7f8e10ad)) | ||
* lock vue-i18n version to 8.16.0 until crashing issue is fixed ([#673](https://github.com/nuxt-community/nuxt-i18n/issues/673)) ([9e99f19](https://github.com/nuxt-community/nuxt-i18n/commit/9e99f193ac25befd3e4cdcf40b3e92df1b443e58)) | ||
### [6.9.2](https://github.com/nuxt-community/nuxt-i18n/compare/v6.9.1...v6.9.2) (2020-04-22) | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "nuxt-i18n", | ||
"version": "6.9.2", | ||
"version": "6.9.3", | ||
"description": "i18n for Nuxt", | ||
@@ -87,3 +87,3 @@ "license": "MIT", | ||
"js-cookie": "^2.2.1", | ||
"vue-i18n": "8.16.0", | ||
"vue-i18n": "^8.17.3", | ||
"vue-i18n-extensions": "^0.2.1" | ||
@@ -98,3 +98,3 @@ }, | ||
"@nuxtjs/module-test-utils": "1.6.1", | ||
"@release-it/conventional-changelog": "1.1.1", | ||
"@release-it/conventional-changelog": "1.1.3", | ||
"@types/jest": "25.2.1", | ||
@@ -108,13 +108,13 @@ "babel-core": "7.0.0-bridge.0", | ||
"geckodriver": "1.19.1", | ||
"jest": "25.3.0", | ||
"jest": "25.4.0", | ||
"jsdom": "16.2.2", | ||
"messageformat": "2.3.0", | ||
"nuxt": "2.12.2", | ||
"puppeteer-core": "2.1.1", | ||
"release-it": "13.5.2", | ||
"puppeteer-core": "3.0.1", | ||
"release-it": "13.5.5", | ||
"selenium-webdriver": "4.0.0-alpha.7", | ||
"tib": "0.7.4", | ||
"typescript": "3.8.3", | ||
"vuepress": "1.4.0" | ||
"vuepress": "1.4.1" | ||
} | ||
} |
@@ -29,3 +29,3 @@ const packageJson = require('../../package.json') | ||
locales: [], | ||
defaultLocale: null, | ||
defaultLocale: '', | ||
routesNameSeparator: '___', | ||
@@ -42,3 +42,3 @@ defaultLocaleRouteNameSuffix: 'default', | ||
alwaysRedirect: false, | ||
fallbackLocale: null | ||
fallbackLocale: '' | ||
}, | ||
@@ -45,0 +45,0 @@ differentDomains: false, |
@@ -196,4 +196,4 @@ import Cookie from 'cookie' | ||
// Initialize locale and fallbackLocale as vue-i18n defaults those to 'en-US' if falsey | ||
app.i18n.locale = null | ||
app.i18n.fallbackLocale = vueI18nOptions.fallbackLocale || null | ||
app.i18n.locale = '' | ||
app.i18n.fallbackLocale = vueI18nOptions.fallbackLocale || '' | ||
app.i18n.locales = locales | ||
@@ -222,3 +222,3 @@ app.i18n.defaultLocale = defaultLocale | ||
let locale = app.i18n.defaultLocale || null | ||
let locale = app.i18n.defaultLocale || '' | ||
@@ -225,0 +225,0 @@ if (vuex && vuex.syncLocale && store && store.state[vuex.moduleName].locale !== '') { |
@@ -30,3 +30,3 @@ import middleware from '../middleware' | ||
const locale = app.i18n.locale || app.i18n.defaultLocale || null | ||
const locale = app.i18n.locale || app.i18n.defaultLocale || '' | ||
const routeLocale = getLocaleFromRoute(route) | ||
@@ -33,0 +33,0 @@ |
@@ -51,3 +51,3 @@ import VueI18n from 'vue-i18n' | ||
beforeLanguageSwitch?: (oldLocale: string, newLocale: string) => void | ||
defaultLocale?: null | Locale | ||
defaultLocale?: Locale | ||
locales?: Array<Locale | LocaleObject> | ||
@@ -54,0 +54,0 @@ differentDomains?: boolean |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90923
+ Addedvue-i18n@8.28.2(transitive)
- Removedvue-i18n@8.16.0(transitive)
Updatedvue-i18n@^8.17.3