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.3 to 23.4.4

2

dist/esm/package.json

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

{"type":"module","version":"23.4.3"}
{"type":"module","version":"23.4.4"}
{
"name": "i18next",
"version": "23.4.3",
"version": "23.4.4",
"description": "i18next internationalization framework",

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

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

type _PluralSeparator = TypeOptions['pluralSeparator'];
type _ContextSeparator = TypeOptions['contextSeparator'];
type _FallbackNamespace = TypeOptions['fallbackNS'];

@@ -108,3 +109,3 @@ type _Resources = TypeOptions['resources'];

type FilterKeysByContext<Keys, TOpt extends TOptions> = TOpt['context'] extends string
? Keys extends `${infer Prefix}_${TOpt['context']}${infer Suffix}`
? Keys extends `${infer Prefix}${_ContextSeparator}${TOpt['context']}${infer Suffix}`
? `${Prefix}${Suffix}`

@@ -161,3 +162,3 @@ : never

type KeyWithContext<Key, TOpt extends TOptions> = TOpt['context'] extends string
? `${Key & string}_${TOpt['context']}`
? `${Key & string}${_ContextSeparator}${TOpt['context']}`
: Key;

@@ -164,0 +165,0 @@

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