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

i18next

Package Overview
Dependencies
Maintainers
2
Versions
519
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next - npm Package Compare versions

Comparing version 22.0.2 to 22.0.3

2

dist/esm/package.json

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

{"type":"module","version":"22.0.2"}
{"type":"module","version":"22.0.3"}

@@ -827,3 +827,3 @@ // Helpers

*/
interface CustomTypeParameters {
interface CustomTypeParameters {
returnNull?: boolean;

@@ -864,10 +864,6 @@ returnEmptyString?: boolean;

export type DefaultTFuncReturn =
| string
| object
| TFunctionDetailedResult
| Array<string | object>
| undefined
| null;
export type DefaultTFuncReturn = string | undefined | null;
export type DefaultTFuncReturnWithObject = DefaultTFuncReturn | object | Array<string | object>;
export type TFuncReturn<

@@ -897,3 +893,3 @@ N,

TKeys extends TFuncKey<N, TKPrefix> | TemplateStringsArray extends infer A ? A : never,
TDefaultResult extends DefaultTFuncReturn = object,
TDefaultResult extends DefaultTFuncReturnWithObject = object,
TInterpolationMap extends object = StringMap,

@@ -914,3 +910,3 @@ >(

TKeys extends TFuncKey<N, TKPrefix> | TemplateStringsArray extends infer A ? A : never,
TDefaultResult extends DefaultTFuncReturn = object,
TDefaultResult extends DefaultTFuncReturnWithObject = object,
TInterpolationMap extends object = StringMap,

@@ -1191,8 +1187,16 @@ >(

*/
getFixedT(
getFixedT<N extends Namespace = DefaultNamespace, TKPrefix extends KeyPrefix<N> = undefined>(
lng: string | readonly string[],
ns?: string | readonly string[],
keyPrefix?: string,
): TFunction;
getFixedT(lng: null, ns: string | readonly string[] | null, keyPrefix?: string): TFunction;
ns?: N,
keyPrefix?: TKPrefix,
): TFunction<N, TKPrefix>;
getFixedT<
N extends Namespace | null,
TKPrefix extends KeyPrefix<ActualNS>,
ActualNS extends Namespace = N extends null ? DefaultNamespace : N,
>(
lng: null,
ns: N,
keyPrefix?: TKPrefix,
): TFunction<ActualNS, TKPrefix>;

@@ -1199,0 +1203,0 @@ /**

{
"name": "i18next",
"version": "22.0.2",
"version": "22.0.3",
"description": "i18next internationalization framework",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/i18next.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