Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

i18next-conv

Package Overview
Dependencies
Maintainers
4
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next-conv - npm Package Compare versions

Comparing version 9.1.0 to 9.2.0

4

CHANGELOG.md

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

### 9.2.0
- add ignoreCtx option [89](https://github.com/i18next/i18next-gettext-converter/pull/89)
### 9.1.0

@@ -2,0 +6,0 @@

2

lib/gettext2json.js

@@ -126,3 +126,3 @@ "use strict";

if (m !== '') targetKey = `${targetKey}${ctxSeparator}${m}`;
if (m !== '' && !options.ignoreCtx) targetKey = `${targetKey}${ctxSeparator}${m}`;
const values = context[key].msgstr;

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

@@ -127,3 +127,3 @@ "use strict";

if (options.persistMsgIdPlural && kv.key.indexOf('|#|') > -1) {
if (kv.key.indexOf('|#|') > -1) {
const p = kv.key.split('|#|');

@@ -130,0 +130,0 @@ msgid = p[0]; // eslint-disable-next-line camelcase

@@ -9,3 +9,3 @@ {

],
"version": "9.1.0",
"version": "9.2.0",
"private": false,

@@ -12,0 +12,0 @@ "main": "lib",

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