Socket
Socket
Sign inDemoInstall

gulp-po

Package Overview
Dependencies
Maintainers
2
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.7 to 1.0.8

LICENSE

6

lib/POEditorAPI.js

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

return function(error, response, body) {
var data, e;
var data, e, error1;
if (error) {

@@ -71,4 +71,4 @@ callback(error);

data = JSON.parse(body);
} catch (_error) {
e = _error;
} catch (error1) {
e = error1;
callback(e);

@@ -75,0 +75,0 @@ return;

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

POEditorDownloader.prototype.merge = function(lang, terms, callback) {
var addedTerms, 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, error, ext, file, fileObj, i, j, len, len1, mapLang, mergedFile, mergedFiles, modifiedStrings, pathFragment, ref, ref1, term, termDir;
addedTerms = 0;

@@ -108,4 +108,4 @@ modifiedStrings = 0;

}
} catch (_error) {
e = _error;
} catch (error) {
e = error;
callback(e);

@@ -112,0 +112,0 @@ return;

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

function POEditorUploader(poeditor, files, callback) {
var content, dirName, e, ext, file, fileObj, i, j, len, len1, ref, term, terms;
var content, dirName, e, error, ext, file, fileObj, i, j, len, len1, ref, term, terms;
this.poeditor = poeditor;

@@ -43,4 +43,4 @@ this.files = files;

}
} catch (_error) {
e = _error;
} catch (error) {
e = error;
callback(e);

@@ -47,0 +47,0 @@ return;

{
"name": "gulp-po",
"version": "1.0.7",
"version": "1.0.8",
"description": "Gulp extension for synchronizing translates from POEditor.",
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [

@@ -13,3 +9,14 @@ "gulpplugin",

],
"license": "MIT",
"author": "Pavel Potacek <potacek.pavel@gmail.com>",
"contributors": [
"Ján Dzurek <famousgarkin@outlook.com>"
],
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepublish": "gulp"
},
"dependencies": {
"gulp-util": "^3.0.4",
"js-yaml": "^3.2.7",

@@ -24,7 +31,4 @@ "lodash": "^3.6.0",

"gulp-coffee": "^2.3.1",
"gulp-plumber": "^1.0.0",
"gulp-util": "^3.0.4"
},
"author": "Pavel Potacek <potacek.pavel@gmail.com>",
"license": "MIT"
"gulp-plumber": "^1.0.0"
}
}

@@ -16,3 +16,3 @@ Gulp-PO

Allowed actions:
Allowed actions:

@@ -46,4 +46,4 @@ - `push`: Pushes all terms and translates to the POEditor server

Required parameters:
Required parameters:
- `apiToken`: Token generated on POEditor website

@@ -67,14 +67,1 @@ - `project`: Name of the project

```
License
-------
(MIT License)
Copyright (c) 2015 Smartsupp.com info@smartsupp.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Sorry, the diff of this file is not supported yet

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