Socket
Socket
Sign inDemoInstall

react-i18next

Package Overview
Dependencies
8
Maintainers
2
Versions
309
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 14.0.8 to 14.1.0

4

CHANGELOG.md

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

### 14.1.0
- types(`Trans`): add typechecking on context prop [1732](https://github.com/i18next/react-i18next/pull/1732) (might brake if using "internal" `Trans` or `TransProps`)
### 14.0.8

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

2

dist/es/package.json

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

{"type":"module","version":"14.0.8"}
{"type":"module","version":"14.1.0"}
{
"name": "react-i18next",
"version": "14.0.8",
"version": "14.1.0",
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.",

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

@@ -10,4 +10,5 @@ import type { i18n, ParseKeys, Namespace, TypeOptions, TOptions, TFunction } from 'i18next';

Ns extends Namespace = _DefaultNamespace,
TOpt extends TOptions = {},
KPrefix = undefined,
TContext extends string | undefined = undefined,
TOpt extends TOptions & { context?: TContext } = { context: TContext },
E = React.HTMLProps<HTMLDivElement>,

@@ -18,3 +19,3 @@ > = E & {

count?: number;
context?: string;
context?: TContext;
defaults?: string;

@@ -34,5 +35,6 @@ i18n?: i18n;

Ns extends Namespace = _DefaultNamespace,
TOpt extends TOptions = {},
KPrefix = undefined,
TContext extends string | undefined = undefined,
TOpt extends TOptions & { context?: TContext } = { context: TContext },
E = React.HTMLProps<HTMLDivElement>,
>(props: TransProps<Key, Ns, TOpt, KPrefix, E>): React.ReactElement;
>(props: TransProps<Key, Ns, KPrefix, TContext, TOpt, E>): React.ReactElement;
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc