Socket
Socket
Sign inDemoInstall

react-i18next

Package Overview
Dependencies
Maintainers
2
Versions
313
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-i18next - npm Package Versions

1
32

7.0.1

Diff

Changelog

Source

7.0.1

  • working Trans component without the need of setting options.react
jamuhl
published 7.0.0 •

Changelog

Source

7.0.0

  • [BREAKING] As with react 16 you can return multiple elements from render - based on that we do not need to return a wrapper any longer from Trans component.

Starting with v7.0.0 Trans component per default won't add a parent div around content passed as children. It will just return it's children.

You still got the option to set a parent if you prefer content being wrapped.

If you prefer wrapping for all your Trans components (or for backwards compatibility) you can set option react.defaultTransParent to an element on i18next init.

jamuhl
published 6.2.0 •

Changelog

Source

6.2.0

  • adds hashTransKey function for custom key generation in case of not passing a key to Trans component and not like having the source value as key
jamuhl
published 6.1.0 •

Changelog

Source

6.1.0

  • pre-check namespaces to avoid unnecessary initial null render PR336
jamuhl
published 6.0.6 •

Changelog

Source

6.0.6

  • remove PureComponent from Trans
jamuhl
published 6.0.5 •

Changelog

Source

6.0.5

  • fixes support passing i18n and t to Trans as props PR315
jamuhl
published 6.0.4 •

Changelog

Source

6.0.4

  • fixes translate hoc build
jamuhl
published 6.0.3 •

Changelog

Source

6.0.3

  • stop using PureComponent and use Component again...seems we get an issue with react-router v4 if using PureComponents
  • recreate t function on i18next updates so PureComponents relying on t get an update triggered
jamuhl
published 6.0.2 •

Changelog

Source

6.0.2

  • rebuild needed cause of uppercasing for components name was not reflected in last build
jamuhl
published 6.0.1 •

Changelog

Source

6.0.1

  • remove react from dependencies - not sure how that came into the package.json
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