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

i18next-extract-gettext

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next-extract-gettext - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

t.pot

9

index.js

@@ -5,3 +5,3 @@ #!/usr/bin/env node

var Parser = require('i18next-scanner').Parser
var converter = require('i18next-conv-inline')
var converter = require('i18next-conv')
var glob = require('glob')

@@ -59,8 +59,3 @@ var debug = require('debug')('i18next-extract-gettext')

debug('Converting ' + Object.keys(json).length + ' translation keys into gettext')
converter.i18nextToGettext('en', json, {quiet: true}, function (err, data) {
if (err) {
console.log(err)
process.exit(1)
}
converter.i18nextToPot('en', JSON.stringify(json), {quiet: true}).then(function (data) {
debug('Writing into output file')

@@ -67,0 +62,0 @@ fs.writeFileSync(outputFile, data, 'utf-8')

{
"name": "i18next-extract-gettext",
"version": "3.1.2",
"version": "3.1.3",
"description": "A CLI tool for extracting a gettext POT file from multiple JS source files using i18next",

@@ -31,3 +31,3 @@ "main": "index.js",

"glob": "^7.0.3",
"i18next-conv-inline": "^3.0.0",
"i18next-conv": "^3.0.1",
"i18next-scanner": "^1.4.1",

@@ -34,0 +34,0 @@ "minimist": "^1.2.0"

Sorry, the diff of this file is not supported yet

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