New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-i18next

Package Overview
Dependencies
Maintainers
2
Versions
322
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 15.1.4 to 15.2.0

7

CHANGELOG.md

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

### 15.2.0
This version may be breaking if you still use React < v18 with TypeScript.
For JS users this version is equal to v15.1.4
- fix: Global JSX namespace is deprecated [1823](https://github.com/i18next/react-i18next/issues/1823) with [1822](https://github.com/i18next/react-i18next/pull/1822)
### 15.1.4

@@ -2,0 +9,0 @@

2

dist/es/package.json

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

{"type":"module","version":"15.1.4"}
{"type":"module","version":"15.2.0"}

@@ -45,10 +45,2 @@ import type { $Subtract, $Tuple } from './helpers.js';

declare global {
namespace JSX {
interface IntrinsicAttributes {
i18nIsDynamicList?: boolean;
}
}
}
type ObjectOrNever = TypeOptions['allowObjectInHTMLChildren'] extends true

@@ -61,2 +53,8 @@ ? Record<string, unknown>

declare module 'react' {
namespace JSX {
interface IntrinsicAttributes {
i18nIsDynamicList?: boolean;
}
}
interface HTMLAttributes<T> {

@@ -149,3 +147,3 @@ // This union is inspired by the typings for React.ReactNode. We do this to fix "This JSX tag's 'children' prop

C extends React.ComponentType<React.ComponentProps<any> & WithTranslationProps>,
ResolvedProps = JSX.LibraryManagedAttributes<
ResolvedProps = React.JSX.LibraryManagedAttributes<
C,

@@ -152,0 +150,0 @@ $Subtract<React.ComponentProps<C>, WithTranslationProps>

{
"name": "react-i18next",
"version": "15.1.4",
"version": "15.2.0",
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.",

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

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