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 6.0.1 to 6.1.0

9

CHANGELOG.md

@@ -0,16 +1,25 @@

### 6.1.0
- add possibility to define custom POT-Creation-Date and PO-Revision-Date [74](https://github.com/i18next/i18next-gettext-converter/pull/74)
### 5.0.0
- Fix [Wrong Plural-Forms for Brazilian Portuguese](https://github.com/i18next/i18next-gettext-converter/issues/67)
### 4.0.3
- Fix -ks and other cli options
### 4.0.2
- Fix --project cli option
### 4.0.1
- Fix broken build
### 4.0.0
- Upgrades to node-gettext@2 (breaking, users may need to update filter option function)
- Adds project option
- Upgrades dependencies

2

lib/json2gettext.js

@@ -96,2 +96,4 @@ 'use strict';

out.headers['po-revision-date'] = new Date().toISOString();
if (options.potCreationDate && typeof options.potCreationDate.toISOString === 'function') out.headers['pot-creation-date'] = options.potCreationDate.toISOString();
if (options.poRevisionDate && typeof options.poRevisionDate.toISOString === 'function') out.headers['po-revision-date'] = options.poRevisionDate.toISOString();
}

@@ -98,0 +100,0 @@ if (options.language) {

2

package.json

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

],
"version": "6.0.1",
"version": "6.1.0",
"private": false,

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

@@ -107,3 +107,3 @@ # i18next-gettext-converter

.version(i18nextConv.version)
.option('-b, --base [path]', 'Sepcify path for the base language file. only take effect with -K option', '')
.option('-b, --base [path]', 'Specify path for the base language file. only take effect with -K option', '')
.option('-f, --filter <path>', 'Specify path to gettext filter')

@@ -110,0 +110,0 @@ .option('-l, --language <locale>', 'Specify the language code, eg. \'en\'')

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