Comparing version 1.1.0 to 1.1.1
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22428
432
2