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

gulp-po

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-po - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

lib/index.js

@@ -61,3 +61,3 @@ (function() {

lang = data[i];
gutil.log("[" + lang.lang + "] Modified strings: " + lang.modified);
gutil.log("[" + lang.lang + "] Added terms: " + lang.added + ", Modified strings: " + lang.modified);
ref = lang.mergedFiles;

@@ -64,0 +64,0 @@ for (j = 0, len1 = ref.length; j < len1; j++) {

@@ -75,3 +75,4 @@ (function() {

POEditorDownloader.prototype.merge = function(lang, terms, callback) {
var content, data, dump, e, ext, file, fileObj, i, j, len, len1, mapLang, mergedFile, mergedFiles, modifiedStrings, pathFragment, ref, ref1, term, termDir;
var addedTerms, content, data, dump, e, ext, file, fileObj, i, j, len, len1, mapLang, mergedFile, mergedFiles, modifiedStrings, pathFragment, ref, ref1, term, termDir;
addedTerms = 0;
modifiedStrings = 0;

@@ -120,2 +121,5 @@ mergedFiles = [];

}
} else {
_.set(file, term.key, term.value);
addedTerms++;
}

@@ -136,2 +140,3 @@ }

lang: lang,
added: addedTerms,
modified: modifiedStrings,

@@ -138,0 +143,0 @@ mergedFiles: mergedFiles

{
"name": "gulp-po",
"version": "1.0.5",
"version": "1.0.6",
"description": "Gulp extension for synchronizing translates from POEditor.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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