Socket
Socket
Sign inDemoInstall

gettext-parser

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gettext-parser - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

8

lib/pocompiler.js

@@ -185,3 +185,9 @@ const { Buffer } = require('safe-buffer');

if (escapeCharacters) {
lines = value.split(/(?<=\\n)/);
lines = value.split(/\\n/g);
for (let i = 0; i < lines.length - 1; i++) {
lines[i] = `${lines[i]}\\n`;
}
if (lines.length && lines[lines.length - 1] === '') {
lines.splice(-1, 1);
}
}

@@ -188,0 +194,0 @@ }

2

package.json
{
"name": "gettext-parser",
"description": "Parse and compile gettext po and mo files to/from json, nothing more, nothing less",
"version": "5.1.1",
"version": "5.1.2",
"author": "Andris Reinman",

@@ -6,0 +6,0 @@ "contributors": [

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