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

pofile

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pofile - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

lib/po.js

@@ -67,3 +67,8 @@ var fs = require('fs');

var sections = data.split(/\n\n/);
var headers = sections.shift();
var headers = [sections.shift()];
//everything until the first 'msgid ""' is considered header
while (headers[headers.length - 1].indexOf('msgid ""') < 0) {
headers.push(sections.shift());
}
headers = headers.join('\n');
var lines = sections.join('\n').split(/\n/);

@@ -70,0 +75,0 @@

2

package.json
{
"name": "pofile",
"description": "Parse and serialize Gettext PO files.",
"version": "1.0.0",
"version": "1.0.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Ruben Vermeersch",

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