Socket
Socket
Sign inDemoInstall

i18next

Package Overview
Dependencies
Maintainers
2
Versions
501
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 23.4.9 to 23.5.0

2

dist/esm/package.json

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

{"type":"module","version":"23.4.9"}
{"type":"module","version":"23.5.0"}
{
"name": "i18next",
"version": "23.4.9",
"version": "23.5.0",
"description": "i18next internationalization framework",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/i18next.js",

export type $MergeBy<T, K> = Omit<T, keyof K> & K;
export type $Dictionary<T = any> = { [key: string]: T };
export type $Dictionary<T = unknown> = { [key: string]: T };
export type $OmitArrayKeys<Arr> = Arr extends readonly any[] ? Omit<Arr, keyof any[]> : Arr;
export type $PreservedValue<Value, Fallback> = [Value] extends [never] ? Fallback : Value;
export type $SpecialObject = object | Array<string | object>;

@@ -688,3 +688,3 @@ import type { $MergeBy, $PreservedValue, $Dictionary } from './helpers.d.ts';

*/
defaultValue?: any;
defaultValue?: unknown;
/**

@@ -691,0 +691,0 @@ * Count value used for plurals

@@ -137,3 +137,6 @@ import type { $OmitArrayKeys, $PreservedValue, $Dictionary, $SpecialObject } from './helpers.d.ts';

: never;
type InterpolationMap<Ret> = Record<$PreservedValue<ParseInterpolationValues<Ret>, string>, any>;
type InterpolationMap<Ret> = Record<
$PreservedValue<ParseInterpolationValues<Ret>, string>,
unknown
>;

@@ -212,2 +215,3 @@ type ParseTReturnPlural<

$TFunctionBrand: $IsResourcesDefined extends true ? `${$FirstNamespace<Ns>}` : never;
<

@@ -214,0 +218,0 @@ const Key extends ParseKeys<Ns, TOpt, KPrefix> | TemplateStringsArray,

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