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

react-i18next

Package Overview
Dependencies
Maintainers
2
Versions
316
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-i18next - npm Package Compare versions

Comparing version 11.16.9 to 11.16.10

4

CHANGELOG.md

@@ -0,1 +1,5 @@

### 11.16.10
- types: translation component types [1509](https://github.com/i18next/react-i18next/pull/1509)
### 11.16.9

@@ -2,0 +6,0 @@

2

package.json
{
"name": "react-i18next",
"version": "11.16.9",
"version": "11.16.10",
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.",

@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js",

@@ -6,8 +6,10 @@ # react-i18next [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Awesome%20react-i18next%20for%20react.js%20based%20on%20i18next%20internationalization%20ecosystem%20&url=https://github.com/i18next/react-i18next&via=jamuhl&hashtags=i18n,reactjs,js,dev)

[![Coverage Status](https://coveralls.io/repos/github/i18next/react-i18next/badge.svg)](https://coveralls.io/github/i18next/react-i18next)
[![Quality][quality-badge] ][quality-url]
[![Quality][quality-badge]][quality-url]
[![npm][npm-dl-badge]][npm-url]
[npm-icon]: https://nodei.co/npm/react-i18next.png?downloads=true
[npm-url]: https://npmjs.org/package/react-i18next
[quality-badge]: http://npm.packagequality.com/shield/react-i18next.svg
[quality-url]: http://packagequality.com/#?package=react-i18next
[quality-badge]: https://npm.packagequality.com/shield/react-i18next.svg
[quality-url]: https://packagequality.com/#?package=react-i18next
[npm-dl-badge]: https://img.shields.io/npm/dw/react-i18next

@@ -14,0 +16,0 @@ ### IMPORTANT:

@@ -329,4 +329,7 @@ import i18next, {

export interface WithTranslation<N extends Namespace = DefaultNamespace> {
t: TFunction<N>;
export interface WithTranslation<
N extends Namespace = DefaultNamespace,
TKPrefix extends KeyPrefix<N> = undefined
> {
t: TFunction<N, TKPrefix>;
i18n: i18n;

@@ -341,6 +344,10 @@ tReady: boolean;

export function withTranslation<N extends Namespace = DefaultNamespace>(
export function withTranslation<
N extends Namespace = DefaultNamespace,
TKPrefix extends KeyPrefix<N> = undefined
>(
ns?: N,
options?: {
withRef?: boolean;
keyPrefix?: TKPrefix;
},

@@ -366,5 +373,5 @@ ): <

export interface TranslationProps<N extends Namespace = DefaultNamespace> {
export interface TranslationProps<N extends Namespace = DefaultNamespace, TKPrefix> {
children: (
t: TFunction<N>,
t: TFunction<N, TKPrefix>,
options: {

@@ -379,6 +386,8 @@ i18n: i18n;

useSuspense?: boolean;
keyPrefix?: TKPrefix;
}
export function Translation<N extends Namespace = DefaultNamespace>(
props: TranslationProps<N>,
): any;
export function Translation<
N extends Namespace = DefaultNamespace,
TKPrefix extends KeyPrefix<N> = undefined
>(props: TranslationProps<N, TKPrefix>): any;
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