Comparing version 1.0.7 to 1.0.8
@@ -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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
22778
4
9
5
65
1
+ Addedgulp-util@^3.0.4
+ Addedansi-gray@0.1.1(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedansi-wrap@0.1.0(transitive)
+ Addedarray-differ@1.0.0(transitive)
+ Addedarray-uniq@1.0.3(transitive)
+ Addedbeeper@1.1.1(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedclone@1.0.4(transitive)
+ Addedclone-stats@0.0.1(transitive)
+ Addedcolor-support@1.1.3(transitive)
+ Addeddateformat@2.2.0(transitive)
+ Addedduplexer2@0.0.2(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedfancy-log@1.3.3(transitive)
+ Addedglogg@1.0.2(transitive)
+ Addedgulp-util@3.0.8(transitive)
+ Addedgulplog@1.0.0(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhas-gulplog@0.1.0(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedlodash._basecopy@3.0.1(transitive)
+ Addedlodash._basetostring@3.0.1(transitive)
+ Addedlodash._basevalues@3.0.0(transitive)
+ Addedlodash._getnative@3.9.1(transitive)
+ Addedlodash._isiterateecall@3.0.9(transitive)
+ Addedlodash._reescape@3.0.0(transitive)
+ Addedlodash._reevaluate@3.0.0(transitive)
+ Addedlodash._reinterpolate@3.0.0(transitive)
+ Addedlodash._root@3.0.1(transitive)
+ Addedlodash.escape@3.2.0(transitive)
+ Addedlodash.isarguments@3.1.0(transitive)
+ Addedlodash.isarray@3.0.4(transitive)
+ Addedlodash.keys@3.1.2(transitive)
+ Addedlodash.restparam@3.6.1(transitive)
+ Addedlodash.template@3.6.2(transitive)
+ Addedlodash.templatesettings@3.1.1(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmultipipe@0.1.2(transitive)
+ Addedobject-assign@3.0.0(transitive)
+ Addedparse-node-version@1.0.1(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedreadable-stream@1.1.142.3.8(transitive)
+ Addedreplace-ext@0.0.1(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsparkles@1.0.1(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.0(transitive)
+ Addedthrough2@2.0.5(transitive)
+ Addedtime-stamp@1.1.0(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedvinyl@0.5.3(transitive)
- Removedsafe-buffer@5.2.1(transitive)