Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuxt-i18n

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-i18n - npm Package Versions

1
17

6.4.1

Diff

Changelog

Source

6.4.1 (2019-12-02)

Bug Fixes

  • routing: Restore handling of route argument in getRouteBaseName (3685abb), closes #539
rchl
published 6.4.0 •

Changelog

Source

6.4.0 (2019-11-18)

Features

  • parser: parse typescript 3.7 shipped proposals (a69a8fb)
rchl
published 6.3.1 •

Changelog

Source

6.3.1 (2019-11-11)

Bug Fixes

  • default locale catch-all route overrides locale-specific one (196bf9c), closes #152
  • Direct navigation to URL in SPA with vue-router in hash mode (0a9c4c8), closes #490
  • make switchLocalePath work from Nuxt plugin or middleware (8a1c052), closes #480
  • set sameSite=Lax option for detected-language cookie (8d84986), closes #516
rchl
published 6.3.0 •

Changelog

Source

6.3.0 (2019-09-26)

Bug Fixes

  • types: add missing seo: false type for component options (0fae937)
  • all routes removed when locales are absent (1c5e42c), closes #444
  • types: specify arguments for onLanguageSwitched and beforeLanguageSwitch (da6a523)
  • Don't inject to store if store is not defined (e547639)
  • Locale prefixes missing for child routes with custom paths (10c1d9d), closes #359
  • NO_PREFIX - localePath with path returns route with prefix (4d4186c), closes #457
  • Route name missing for routes that have children (bd23683), closes #356

Features

  • Inject $i18n into Vuex Store as this.$i18n (bb31cb0)
rchl
published 6.2.1 •

Changelog

Source

6.2.1 (2019-09-13)

Bug Fixes

  • types: use correct module name for nuxt augmentation (46f67ea)
rchl
published 6.2.0 •

Changelog

Source

6.2.0 (2019-09-13)

Bug Fixes

  • crash on no_prefix + invalid/tempered locale cookie (4b56d84)
  • Don't try to process routes with no component (a53e32a)
  • failure to change locale on initial try with nuxt generate (9b4b6f6), closes #378

Features

  • support 'path' parameter in localePath(...) (bbaa266), closes #215
rchl
published 6.1.3 •

Changelog

Source

6.1.3 (2019-09-04)

Bug Fixes

  • make parsePages compatible with typescript decorators (5a3db3b), closes #408 #76
rchl
published 6.1.2 •

Changelog

Source

6.1.2 (2019-09-04)

Bug Fixes

  • issue with locale not being updated when cookie not stored (999ac4b)
  • multiple redirects on switching to another locale (14ceeb3)
  • types: add type for Nuxt's context.app.i18n (d5afd8b)
  • types: add types for in-component options (e2e3bca)
  • types: export NuxtVueI18n namespace to allow to annotate configuration (906a776)
  • types: fixed various types for NuxtI18n configuration (6f6c235)
  • types: move getLocaleCookie/setLocaleCookie/SetLocale to proper interface (7d3eceb)
  • types: remove null result from getLocaleCookie to simplify types (df5ac8a)
  • types: update NuxtI18nSeo interface to use VueMeta types (3a4ada6)

Notes

  • app.$t API was removed (ca198e5) - This is not a breaking change since this API has never worked according to my understanding.
  • getLocaleCookie will no longer return null value in case cookie is missing. Instead it will consistently return undefined. This is unlikely to affect anyone unless one was checking for null specifically which would not be a correct thing to do even before.
rchl
published 6.1.1 •

Changelog

Source

6.1.1 (2019-08-28)

Bug Fixes

  • fix loading fallback locale with lazy loading (d8db5b1)
  • locale not set with differentDomains enabled (634690a)
  • redirects to wrong route after SPA navigation (8bf61d9)
rchl
published 6.1.0 •

Changelog

Source

6.1.0 (2019-08-27)

Features

  • Add no_prefix strategy + setLocale API function (#409) (998011e)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc