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 Compare versions

Comparing version 11.17.0 to 11.17.1

4

CHANGELOG.md

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

### 11.17.1
- Stricter typescript type for Trans components prop [1516](https://github.com/i18next/react-i18next/pull/1516)
### 11.17.0

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

2

index.d.ts

@@ -37,3 +37,3 @@ import i18next, { ReactOptions, i18n, ThirdPartyModule, WithT, TFunction, Resource } from 'i18next';

children?: React.ReactNode;
components?: readonly React.ReactNode[] | { readonly [tagName: string]: React.ReactNode };
components?: readonly React.ReactElement[] | { readonly [tagName: string]: React.ReactElement };
count?: number;

@@ -40,0 +40,0 @@ context?: string;

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

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

"test:lint": "eslint ./src ./test",
"test:typescript": "tslint --project tsconfig.json '**/*.ts'",
"test:typescript:noninterop": "tslint --project tsconfig.nonEsModuleInterop.json '**/*.ts'",
"test:typescript:customtypes": "tslint --project ./test/typescript/custom-types/tsconfig.json '**/*.ts'",
"test:typescript": "tslint --project tsconfig.json '**/*.{ts,tsx}'",
"test:typescript:noninterop": "tslint --project tsconfig.nonEsModuleInterop.json '**/*.{ts,tsx}'",
"test:typescript:customtypes": "tslint --project ./test/typescript/custom-types/tsconfig.json '**/*.{ts,tsx}'",
"contributors:add": "all-contributors add",

@@ -125,0 +125,0 @@ "contributors:generate": "all-contributors generate",

@@ -267,3 +267,3 @@ import i18next, {

children?: TransChild | TransChild[];
components?: readonly React.ReactNode[] | { readonly [tagName: string]: React.ReactNode };
components?: readonly React.ReactElement[] | { readonly [tagName: string]: React.ReactElement };
count?: number;

@@ -270,0 +270,0 @@ context?: string;

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