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.7.6 to 23.7.7

2

dist/esm/package.json

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

{"type":"module","version":"23.7.6"}
{"type":"module","version":"23.7.7"}
// Internal Helpers
import type { $Dictionary } from './typescript/helpers.d.ts';
import type { $Dictionary } from './typescript/helpers.js';
import type {

@@ -14,5 +14,5 @@ DefaultNamespace,

TOptions,
} from './typescript/options.d.ts';
} from './typescript/options.js';
import type { KeyPrefix, TFunction } from './typescript/t.d.ts';
import type { KeyPrefix, TFunction } from './typescript/t.v4.js';

@@ -500,3 +500,3 @@ export interface WithT<Ns extends Namespace = DefaultNamespace> {

export type * from './typescript/options.d.ts';
// export type * from './typescript/options.js';
export type {

@@ -521,4 +521,4 @@ // we need to explicitely export some types, to prevent some issues with next-i18next and interpolation variable validation, etc...

FlatNamespace,
} from './typescript/options.d.ts';
export type * from './typescript/t.d.ts';
} from './typescript/options.js';
// export type * from './typescript/t.v4.js';
export type {

@@ -530,3 +530,3 @@ TFunction,

KeyPrefix,
} from './typescript/t.d.ts';
} from './typescript/t.v4.js';

@@ -533,0 +533,0 @@ declare const i18next: i18n;

{
"name": "i18next",
"version": "23.7.6",
"version": "23.7.7",
"description": "i18next internationalization framework",

@@ -135,3 +135,4 @@ "main": "./dist/cjs/i18next.js",

"build": "rimraf dist && rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json && cpy \"./dist/umd/*.js\" ./",
"generate_ts_v4_index": "cp index.d.ts index.v4.d.ts && node -e \"fs.writeFileSync('index.v4.d.ts', fs.readFileSync('index.v4.d.ts').toString().replace(/.js'/g, '.d.ts\\''))\"",
"__nerate_ts_v4_index": "cp index.d.ts index.v4.d.ts && node -e \"fs.writeFileSync('index.v4.d.ts', fs.readFileSync('index.v4.d.ts').toString().replace(/.js'/g, '.d.ts\\''))\"",
"generate_ts_v4_index": "cp index.d.ts index.v4.d.ts && node -e \"fs.writeFileSync('index.v4.d.ts', fs.readFileSync('index.v4.d.ts').toString().replace(/t.js/g, 't.v4.js').replace(/export type \\* /g, '// export type * '))\"",
"fix_dist_package": "node -e 'console.log(`{\"type\":\"module\",\"version\":\"${process.env.npm_package_version}\"}`)' > dist/esm/package.json",

@@ -138,0 +139,0 @@ "preversion": "npm run test && npm run build && git push",

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

import type { $MergeBy, $PreservedValue, $Dictionary } from './helpers.d.ts';
import type { $MergeBy, $PreservedValue, $Dictionary } from './helpers.js';

@@ -3,0 +3,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