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

gettext-converter

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gettext-converter - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

4

cjs/poCompiler.js

@@ -102,2 +102,6 @@ "use strict";

});
if (msgstr.length === 0) {
response.push(addPOString('msgstr[0]', '', options));
}
} else {

@@ -104,0 +108,0 @@ response.push(addPOString('msgstr', msgstr[0] || '', options));

@@ -90,2 +90,6 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }

});
if (msgstr.length === 0) {
response.push(addPOString('msgstr[0]', '', options));
}
} else {

@@ -92,0 +96,0 @@ response.push(addPOString('msgstr', msgstr[0] || '', options));

@@ -110,2 +110,3 @@ // inspired by https://github.com/i18next/i18next-gettext-converter/blob/master/src/lib/json2gettext.js

msgid,
// eslint-disable-next-line camelcase
msgid_plural,

@@ -112,0 +113,0 @@ msgstr: pArray

@@ -124,2 +124,6 @@ // inspired by https://github.com/smhg/gettext-parser/blob/master/lib/pocompiler.js

})
if (msgstr.length === 0) {
response.push(addPOString('msgstr[0]', '', options))
}
} else {

@@ -126,0 +130,0 @@ response.push(addPOString('msgstr', msgstr[0] || '', options))

22

package.json
{
"name": "gettext-converter",
"version": "1.2.2",
"version": "1.2.3",
"description": "po2js and js2po and i18next2po and po2i18next converter gettext resource utils",

@@ -81,17 +81,17 @@ "type": "module",

"devDependencies": {
"@babel/cli": "7.17.6",
"@babel/core": "7.17.7",
"@babel/preset-env": "7.16.11",
"@babel/cli": "7.18.6",
"@babel/core": "7.18.6",
"@babel/preset-env": "7.18.6",
"babel-plugin-add-module-exports": "1.0.4",
"browserify": "17.0.0",
"eslint": "7.32.0",
"eslint-config-standard": "16.0.3",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "5.1.0",
"eslint": "8.19.0",
"eslint-config-standard": "17.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-n": "15.2.4",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-require-path-exists": "1.1.9",
"eslint-plugin-standard": "5.0.0",
"expect.js": "0.3.1",
"mocha": "9.2.2",
"uglify-js": "3.15.3"
"mocha": "10.0.0",
"uglify-js": "3.16.2"
},

@@ -98,0 +98,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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