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.1.0 to 1.1.1

6

lib/po.js

@@ -1,3 +0,1 @@

var fs = require('fs');
function trim(string) {

@@ -16,3 +14,3 @@ return string.replace(/^\s+|\s+$/g, '');

PO.prototype.save = function (filename, callback) {
fs.writeFile(filename, this.toString(), callback);
require('fs').writeFile(filename, this.toString(), callback);
};

@@ -69,3 +67,3 @@

PO.load = function (filename, callback) {
fs.readFile(filename, 'utf-8', function (err, data) {
require('fs').readFile(filename, 'utf-8', function (err, data) {
if (err) {

@@ -72,0 +70,0 @@ return callback(err);

{
"name": "pofile",
"description": "Parse and serialize Gettext PO files.",
"version": "1.1.0",
"version": "1.1.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