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

react-polyglot-hooks

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-polyglot-hooks - npm Package Versions

0.5.0

Diff

Changelog

Source

0.5.0 (2020-08-01)

⚠ BREAKING CHANGES

  • deps: bump all deps (#311)

  • deps: bump all deps (#311) (a18e202)

pmmmwh
published 0.4.0 •

Changelog

Source

0.4.0 (2020-04-18)

⚠ BREAKING CHANGES

  • remove number interpolations for T component
  • bump minimum version of node to 10

Features

  • bump minimum version of node to 10 (09d19a5)
  • remove number interpolations for T component (be1a8c2)
pmmmwh
published 0.3.1 •

Changelog

Source

0.3.1 (2019-10-10)

Features

  • accept the pluralRules prop with I18n (0a17568)
  • add types to support custom plural rules (1e9a17a)
  • make pluralRules optional (bd71c66)
pmmmwh
published 0.3.0 •

Changelog

Source

0.3.0 (2019-09-05)

pmmmwh
published 0.3.0-0 •

Changelog

Source

0.3.0-0 (2019-09-02)

Bug Fixes

  • t: add type casting for fallback function return (8e8e975)
  • t: return ReactElement instead of ReactNode (1eb60ca)
  • rename t type to PolyglotT (786ed00)

Features

  • i18n: remove children.only but only render on polyglot mounted (6e3eea8)
  • t: add a count prop as a shorthand to use smart_count (0524125)
  • t: add function overload to aid code auto completion (a520de4)
  • t: implement polyglot enhancer to allow component interpolation (7936f72)
  • t: update function types to enhanced t (163a033)
  • t: utilize new enhancer and type in i18n (f5abaaf)
  • export PolyglotT type (e582380)
pmmmwh
published 0.2.0 •

Changelog

Source

0.2.0 (2019-08-28)

Bug Fixes

  • i18n: allow consumption of t options (0e9371b)
  • t: BREAKING - rename options to interpolations (88d58df)

Features

  • t: add a fallback prop for easier consumption (f919872)
pmmmwh
published 0.1.3 •

Changelog

Source

0.1.3 (2019-08-27)

Bug Fixes

  • publish: fix missing dist folder in v0.1.2 (7783d6b)
pmmmwh
published 0.1.1 •

Changelog

Source

0.1.1 (2019-08-26)

Bug Fixes

  • deps-dev: fix lock file mismatch (80da34d)
  • polyglot: make key in NoOp required (37d68d3)
  • publish: properly distribute with the dist folder (0b58f6f)
pmmmwh
published 0.1.0 •

Changelog

Source

0.1.0 (2019-08-26)

Features

  • polyglot: add root export for publish (53b2003)
  • polyglot: augment polyglot type definitions (4c5354d)
  • polyglot: implement i18n context (f0f7d5c)
  • polyglot: implement i18n provider (8905a53)
  • polyglot: implement useLocale and useTranslate hooks (aa8cd11)
  • testing: add test runner script for local and ci (1f6c1b8)
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