Socket
Socket
Sign inDemoInstall

i18next

Package Overview
Dependencies
Maintainers
2
Versions
495
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.7.11 to 23.7.12

2

dist/esm/package.json

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

{"type":"module","version":"23.7.11"}
{"type":"module","version":"23.7.12"}
{
"name": "i18next",
"version": "23.7.11",
"version": "23.7.12",
"description": "i18next internationalization framework",

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

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

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

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

@@ -115,8 +115,2 @@ import type { $OmitArrayKeys, $PreservedValue, $Dictionary, $SpecialObject } from './helpers.js';

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

@@ -129,8 +123,6 @@ Ns extends Namespace = DefaultNamespace,

> = $IsResourcesDefined extends true
? FilterKeysByContext<
?
| ParseKeysByKeyPrefix<Keys[$FirstNamespace<ActualNS>], KPrefix>
| ParseKeysByNamespaces<ActualNS, Keys>
| ParseKeysByFallbackNs<Keys>,
TOpt
>
| ParseKeysByFallbackNs<Keys>
: string;

@@ -137,0 +129,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc