Comparing version 1.1.6 to 1.1.7
@@ -38,3 +38,3 @@ 'use strict'; | ||
var Credentials = (function () { | ||
var Credentials = function () { | ||
function Credentials(_ref) { | ||
@@ -57,3 +57,3 @@ var project = _ref.project; | ||
key: 'askFor', | ||
value: (function () { | ||
value: function () { | ||
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee(attribute, type, message) { | ||
@@ -89,6 +89,6 @@ var _this = this; | ||
}; | ||
})() | ||
}() | ||
}, { | ||
key: 'getUsername', | ||
value: (function () { | ||
value: function () { | ||
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2() { | ||
@@ -137,6 +137,6 @@ var username; | ||
}; | ||
})() | ||
}() | ||
}, { | ||
key: 'getPassword', | ||
value: (function () { | ||
value: function () { | ||
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee3() { | ||
@@ -185,8 +185,8 @@ var password; | ||
}; | ||
})() | ||
}() | ||
}]); | ||
return Credentials; | ||
})(); | ||
}(); | ||
module.exports = (function () { | ||
module.exports = function () { | ||
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee4(_ref2) { | ||
@@ -227,3 +227,3 @@ var project = _ref2.project; | ||
}; | ||
})(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9saWIvZ2V0X2NyZWRlbnRpYWxzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLElBQU0sWUFBWSxHQUFHLE9BQU8sQ0FBQyxVQUFVLENBQUMsQ0FBQTtBQUN4QyxJQUFNLFVBQVUsR0FBRyxPQUFPLENBQUMsUUFBUSxDQUFDLENBQUE7O0FBRXBDLElBQU0sU0FBUyxHQUFHLFNBQVosU0FBUyxDQUFhLFNBQVMsRUFBRTtBQUNyQyxTQUFPLFVBQVUsS0FBSyxFQUFFO0FBQ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vamVjdCwgdXNlcm5hbWUpXG4gICAgcmV0dXJuIHVzZXJuYW1lXG4gIH1cblxuICBhc3luYyBnZXRQYXNzd29yZCAoKSB7XG4gICAgaWYgKHByb2Nlc3MuZW52LlRSQU5TSUZFWF9QQVNTV09SRCkge1xuICAgICAgcmV0dXJuIHByb2Nlc3MuZW52LlRSQU5TSUZFWF9QQVNTV09SRFxuICAgIH1cblxuICAgIGxldCBwYXNzd29yZCA9IHRoaXMua2V5dGFyLmdldFBhc3N3b3JkKHRoaXMua2V5Rm9yUGFzc3dvcmQsIHRoaXMucHJvamVjdClcbiAgICBpZiAocGFzc3dvcmQpIHtcbiAgICAgIHJldHVybiBwYXNzd29yZFxuICAgIH1cblxuICAgIHBhc3N3b3JkID0gYXdhaXQgdGhpcy5hc2tGb3IoJ3Bhc3N3b3JkJywgJ3Bhc3N3b3JkJywgYFdoYXQgaXMgdGhlIHBhc3N3b3JkIGZvciAke3RoaXMucHJvamVjdH0gb24gVHJhbnNpZmV4P2ApXG4gICAgdGhpcy5rZXl0YXIuYWRkUGFzc3dvcmQodGhpcy5rZXlGb3JQYXNzd29yZCwgdGhpcy5wcm9qZWN0LCBwYXNzd29yZClcbiAgICByZXR1cm4gcGFzc3dvcmRcbiAgfVxufVxuXG5tb2R1bGUuZXhwb3J0cyA9IGFzeW5jIGZ1bmN0aW9uKHtwcm9qZWN0LCBpbnF1aXJlciwga2V5dGFyfSkge1xuICBjb25zdCBjcmVkZW50aWFscyA9IG5ldyBDcmVkZW50aWFscyh7cHJvamVjdCwgaW5xdWlyZXIsIGtleXRhcn0pXG5cbiAgcmV0dXJuIHtcbiAgICB1c2VybmFtZTogYXdhaXQgY3JlZGVudGlhbHMuZ2V0VXNlcm5hbWUoKSxcbiAgICBwYXNzd29yZDogYXdhaXQgY3JlZGVudGlhbHMuZ2V0UGFzc3dvcmQoKVxuICB9XG59XG4iXX0= |
@@ -51,3 +51,3 @@ 'use strict'; | ||
module.exports = (function () { | ||
module.exports = function () { | ||
function GruntTx(_ref) { | ||
@@ -68,3 +68,3 @@ var transifex = _ref.transifex; | ||
key: 'availableLanguageCodesFor', | ||
value: (function () { | ||
value: function () { | ||
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee(resource) { | ||
@@ -95,6 +95,6 @@ var remoteResource; | ||
}; | ||
})() | ||
}() | ||
}, { | ||
key: 'downloadResources', | ||
value: (function () { | ||
value: function () { | ||
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2() { | ||
@@ -262,6 +262,6 @@ var remoteResources, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, localResource, remoteResource, languageCodes, _iteratorNormalCompletion2, _didIteratorError2, _iteratorError2, _iterator2, _step2, languageCode, translations, filePath; | ||
}; | ||
})() | ||
}() | ||
}, { | ||
key: 'uploadResources', | ||
value: (function () { | ||
value: function () { | ||
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee3() { | ||
@@ -351,6 +351,6 @@ var remoteResources, _iteratorNormalCompletion3, _didIteratorError3, _iteratorError3, _iterator3, _step3, _localResource, remoteResourceForLocal, content, result; | ||
}; | ||
})() | ||
}() | ||
}]); | ||
return GruntTx; | ||
})(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9saWIvZ3J1bnRfdHguanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsSUFBTSxJQUFJLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFBOztBQUU1QixJQUFNLGFBQWEsR0FBRyxTQUFoQixhQUFhLENBQWEsYUFBYSxFQUFFLFlBQVksRUFBRTtBQUMzRCxNQUFJLENBQUMsYUFBYSxDQUFDLGNBQWMsRUFBRTtBQUNqQyxVQUFNLElBQUksS0FBSyxvQ0FBa0MsYUFBYSxDQUFHLENBQUE7R0FDbE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FJlc291cmNlcyAoKSB7XG4gICAgY29uc3QgcmVtb3RlUmVzb3VyY2VzID0gYXdhaXQgdGhpcy50cmFuc2lmZXguZ2V0UmVzb3VyY2VzKClcblxuICAgIGZvciAobGV0IGxvY2FsUmVzb3VyY2Ugb2YgdGhpcy5sb2NhbFJlc291cmNlcykge1xuICAgICAgY29uc3QgcmVtb3RlUmVzb3VyY2VGb3JMb2NhbCA9IHJlbW90ZVJlc291cmNlRm9yKGxvY2FsUmVzb3VyY2UsIHJlbW90ZVJlc291cmNlcylcbiAgICAgIGNvbnN0IGNvbnRlbnQgPSB0aGlzLmdydW50LmZpbGUucmVhZChsb2NhbFJlc291cmNlLnNvdXJjZUZpbGUpXG4gICAgICBjb25zdCByZXN1bHQgPSBhd2FpdCB0aGlzLnRyYW5zaWZleC51cGxvYWRSZXNvdXJjZShyZW1vdGVSZXNvdXJjZUZvckxvY2FsLnNsdWcsIGxvY2FsUmVzb3VyY2UudHlwZSwgY29udGVudClcblxuICAgICAgdGhpcy5ncnVudC5sb2cub2soXG4gICAgICAgIGBbJHt0aGlzLnByb2plY3R9XSBVcGxvYWRlZCAke2xvY2FsUmVzb3VyY2Uuc291cmNlRmlsZX0uIEFkZGVkICR7cmVzdWx0LnN0cmluZ3NfYWRkZWR9LiBVcGRhdGVkICR7cmVzdWx0LnN0cmluZ3NfdXBkYXRlZH0uIERlbGV0ZWQgJHtyZXN1bHQuc3RyaW5nc19kZWxldGV9LmBcbiAgICAgIClcbiAgICB9XG4gIH1cbn1cbiJdfQ== |
@@ -32,3 +32,3 @@ 'use strict'; | ||
module.exports = (function () { | ||
module.exports = function () { | ||
function Transifex(_ref) { | ||
@@ -49,3 +49,3 @@ var username = _ref.username; | ||
key: 'fetch', | ||
value: (function () { | ||
value: function () { | ||
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee(endpoint) { | ||
@@ -78,6 +78,6 @@ var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; | ||
}; | ||
})() | ||
}() | ||
}, { | ||
key: 'getResources', | ||
value: (function () { | ||
value: function () { | ||
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2() { | ||
@@ -110,6 +110,6 @@ var response; | ||
}; | ||
})() | ||
}() | ||
}, { | ||
key: 'getResource', | ||
value: (function () { | ||
value: function () { | ||
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee3(resourceSlug) { | ||
@@ -142,6 +142,6 @@ var response; | ||
}; | ||
})() | ||
}() | ||
}, { | ||
key: 'uploadResource', | ||
value: (function () { | ||
value: function () { | ||
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee4(resourceSlug, type, content) { | ||
@@ -187,6 +187,6 @@ var body, options, response; | ||
}; | ||
})() | ||
}() | ||
}, { | ||
key: 'getTranslations', | ||
value: (function () { | ||
value: function () { | ||
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee5(resourceSlug, languageCode) { | ||
@@ -219,6 +219,6 @@ var response; | ||
}; | ||
})() | ||
}() | ||
}]); | ||
return Transifex; | ||
})(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9saWIvdHJhbnNpZmV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxJQUFNLFNBQVMsR0FBRyxPQUFPLENBQUMsWUFBWSxDQUFDLENBQUE7QUFDdkMsU0FBUyxDQUFDLE9BQU8sR0FBRyxNQUFNLENBQUMsT0FBTyxJQUFJLE9BQU8sQ0FBQyxVQUFVLENBQUMsQ0FBQTs7QUFFekQsTUFBTSxDQUFDLE9BQU87QUFDWixXQURxQixTQUFTLE9BQ2lDO1FBQWpELFFBQVEsUUFBUixRQUFRO1FBQUUsUUFBUSxRQUFSLFFBQVE7UUFBRSxPQUFPLFFBQVAsT0FBTzswQkFBRS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zb24oKVxuICB9XG5cbiAgYXN5bmMgdXBsb2FkUmVzb3VyY2UgKHJlc291cmNlU2x1ZywgdHlwZSwgY29udGVudCkge1xuICAgIGNvbnN0IGJvZHkgPSBKU09OLnN0cmluZ2lmeSh7XG4gICAgICBpMThuX3R5cGU6IHR5cGUsIC8vIGVzbGludC1kaXNhYmxlLWxpbmUgY2FtZWxjYXNlXG4gICAgICBjb250ZW50OiBjb250ZW50XG4gICAgfSlcblxuICAgIGNvbnN0IG9wdGlvbnMgPSB7XG4gICAgICBtZXRob2Q6ICdQVVQnLFxuICAgICAgaGVhZGVyczoge1xuICAgICAgICAnQWNjZXB0JzogJ2FwcGxpY2F0aW9uL2pzb24nLFxuICAgICAgICAnQ29udGVudC1UeXBlJzogJ2FwcGxpY2F0aW9uL2pzb24nLFxuICAgICAgICAnQ29udGVudC1MZW5ndGgnOiBCdWZmZXIuYnl0ZUxlbmd0aChib2R5KVxuICAgICAgfSxcbiAgICAgIGJvZHk6IGJvZHlcbiAgICB9XG5cbiAgICBjb25zdCByZXNwb25zZSA9IGF3YWl0IHRoaXMuZmV0Y2goYHJlc291cmNlLyR7cmVzb3VyY2VTbHVnfS9jb250ZW50YCwgb3B0aW9ucylcbiAgICByZXR1cm4gYXdhaXQgcmVzcG9uc2UuanNvbigpXG4gIH1cblxuICBhc3luYyBnZXRUcmFuc2xhdGlvbnMgKHJlc291cmNlU2x1ZywgbGFuZ3VhZ2VDb2RlKSB7XG4gICAgY29uc3QgcmVzcG9uc2UgPSBhd2FpdCB0aGlzLmZldGNoKGByZXNvdXJjZS8ke3Jlc291cmNlU2x1Z30vdHJhbnNsYXRpb24vJHtsYW5ndWFnZUNvZGV9P2ZpbGVgKVxuICAgIHJldHVybiBhd2FpdCByZXNwb25zZS50ZXh0KClcbiAgfVxuXG59XG4iXX0= |
@@ -26,7 +26,7 @@ { | ||
"devDependencies": { | ||
"babel-cli": "~6.3.17", | ||
"babel-cli": "^6.4.5", | ||
"babel-eslint": "^4.1.6", | ||
"babel-preset-es2015": "~6.3.13", | ||
"babel-preset-stage-0": "~6.3.13", | ||
"babel-plugin-transform-runtime": "~6.3.13", | ||
"babel-preset-es2015": "^6.3.13", | ||
"babel-preset-stage-0": "^6.3.13", | ||
"babel-plugin-transform-runtime": "^6.4.3", | ||
"chai": "^3.0.0", | ||
@@ -50,3 +50,3 @@ "grunt": "~0.4.5", | ||
"dependencies": { | ||
"babel-runtime": "~6.3.19", | ||
"babel-runtime": "^6.3.19", | ||
"bluebird": "^3.1.1", | ||
@@ -60,3 +60,3 @@ "inquirer": "^0.11.0", | ||
}, | ||
"version": "1.1.6" | ||
"version": "1.1.7" | ||
} |
@@ -115,2 +115,2 @@ 'use strict'; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zcGVjL2dldF9jcmVkZW50aWFsc19zcGVjLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7O0FBRUEsT0FBTyxDQUFDLGVBQWUsQ0FBQyxDQUFBO0FBQ3hCLElBQU0sTUFBTSxHQUFHLE9BQU8sQ0FBQyxRQUFRLENBQUMsQ0FBQTtBQUNoQyxJQUFNLEtBQUssR0FBRyxPQUFPLENBQUMsT0FBTyxDQUFDLENBQUE7QUFDOUIsSUFBTSxjQUFjLEdBQUcsT0FBTyxDQUFDLHdCQUF3QixDQUFDLENBQUE7O0FBRXhELFFBQVEsQ0FBQyxnQkFBZ0IsRUFBRSxZQUFNO0FBQy9CLE1BQU0sT0FBTyxHQUFHLGVBQWUsQ0FBQTs7QUFFL0IsWUFBVSxDQUFDLFlBQU07QUFDZixXQUFPLE9BQU8sQ0FBQyxHQUFHLENBQUMsY0FBYyxDQUFBO0FBQ2pDLFdBQU8sT0FBTyxDQUFDLEdBQUcsQ0FBQyxrQkFBa0IsQ0FBQTtHQUN0QyxDQUFDLENBQUE7O0FBRUYsSUFBRSxDQUFDLD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gICAgICAgIHsgY29kZV9hbGlhc2VzOiAnICcsIGNvZGU6ICdmcicsIG5hbWU6ICdGcmVuY2gnIH0gXSxcbiAgICAgICAgdG90YWxfZW50aXRpZXM6IDE1NixcbiAgICAgICAgc2x1ZzogJ3RlbXBsYXRlcG90JyxcbiAgICAgICAgY2F0ZWdvcmllczogbnVsbFxuICAgICAgfSksXG4gICAgICBnZXRUcmFuc2xhdGlvbnM6IHNpbm9uLnN0dWIoKSxcbiAgICAgIHVwbG9hZFJlc291cmNlOiBzaW5vbi5zdHViKCkucmV0dXJucyh7XG4gICAgICAgIHN0cmluZ3NfYWRkZWQ6IDEsXG4gICAgICAgIHN0cmluZ3NfdXBkYXRlZDogNSxcbiAgICAgICAgc3RyaW5nc19kZWxldGU6IDNcbiAgICAgIH0pXG4gICAgfVxuICAgIC8qIGVzbGludC1lbmFibGUgY2FtZWxjYXNlICovXG5cbiAgICB0aGlzLmdydW50ID0ge1xuICAgICAgZmlsZToge1xuICAgICAgICB3cml0ZTogc2lub24uc3R1YigpLFxuICAgICAgICByZWFkOiBzaW5vbi5zdHViKCkucmV0dXJucygnb3JpZ2luYWwgcmVzb3VyY2UnKVxuICAgICAgfSxcbiAgICAgIGxvZzoge1xuICAgICAgICBvazogc2lub24uc3R1YigpXG4gICAgICB9XG4gICAgfVxuICB9KVxuXG4gIGRlc2NyaWJlKCcjZG93bmxvYWRSZXNvdXJjZXMnLCAoKSA9PiB7XG4gICAgaXQoJ3Rocm93cyBhbiBlcnJvciBpZiBpdCBjYW5ub3QgZmluZCB0aGUgbG9jYWwgcmVzb3VyY2UgaW4gdGhlIHJlbW90ZSByZXNvdXJjZXMnLCBhc3luYyBmdW5jdGlvbigpIHtcbiAgICAgIGNvbnN0IGxvY2FsUmVzb3VyY2VzID0gW1xuICAgICAgICB7XG4gICAgICAgICAgc291cmNlRmlsZTogJy4vcG8vZG9lcy1ub3QtZXhpc3QtcmVtb3RlbHkucG90JyxcbiAgICAgICAgICB0YXJnZXRGaWx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mdydW50fSlcbiAgICAgIGF3YWl0IGdydW50VHgudXBsb2FkUmVzb3VyY2VzKClcblxuICAgICAgYXNzZXJ0KHRoaXMudHJhbnNpZmV4LnVwbG9hZFJlc291cmNlLmNhbGxlZFdpdGgoJ3RlbXBsYXRlcG90JywgJ1BPJywgJ2NvbnRlbnRzIG9mIHRlbXBsYXRlLnBvdCcpKVxuICAgIH0pXG4gIH0pXG59KVxuIl19 |
@@ -9,2 +9,2 @@ 'use strict'; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zcGVjL3NwZWNfaGVscGVyLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsT0FBTyxDQUFDLG9CQUFvQixDQUFDLENBQUMsT0FBTyxFQUFFOzs7QUFBQSxBQUd2QyxPQUFPLENBQUMsRUFBRSxDQUFDLG9CQUFvQixFQUFFLFVBQUEsTUFBTSxFQUFJO0FBQUUsUUFBTSxNQUFNLENBQUE7Q0FBRSxDQUFDLENBQUEiLCJmaWxlIjoic3BlY19oZWxwZXIuanMiLCJzb3VyY2VzQ29udGVudCI6WyJyZXF1aXJlKCdzb3VyY2UtbWFwLXN1cHBvcnQnKS5pbnN0YWxsKClcblxuLy8gcmV0aHJvdyB1bmhhbmRsZWQgcHJvbWlzZSByZWplY3Rpb25zXG5wcm9jZXNzLm9uKCd1bmhhbmRsZWRSZWplY3Rpb24nLCByZWFzb24gPT4geyB0aHJvdyByZWFzb24gfSlcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zcGVjL3NwZWNfaGVscGVyLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsUUFBUSxvQkFBUixFQUE4QixPQUE5Qjs7O0FBR0EsUUFBUSxFQUFSLENBQVcsb0JBQVgsRUFBaUMsa0JBQVU7QUFB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nN0IGxvY2FsUmVzb3VyY2VzID0gY29uZmlnW3Byb2plY3RdXG4gICAgICAgIGNvbnN0IGdydW50VHggPSBuZXcgR3J1bnRUeCh7dHJhbnNpZmV4LCBwcm9qZWN0LCBsb2NhbFJlc291cmNlcywgZ3J1bnR9KVxuICAgICAgICBpZiAoYWN0aW9uID09PSAnZG93bmxvYWQnKSB7XG4gICAgICAgICAgYXdhaXQgZ3J1bnRUeC5kb3dubG9hZFJlc291cmNlcygpXG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgYXdhaXQgZ3J1bnRUeC51cGxvYWRSZXNvdXJjZXMoKVxuICAgICAgICB9XG4gICAgICB9XG4gICAgICBkb25lKClcbiAgICB9XG4gIH1cblxuICBncnVudC5yZWdpc3RlclRhc2soJ3R4OmRvd25sb2FkJywgJ0Rvd25sb2FkIHN0cmluZyB0cmFuc2xhdGlvbnMgZnJvbSBUcmFuc2lmZXgnLCBkZWZpbmVUeFRhc2soJ2Rvd25sb2FkJykpXG4gIGdydW50LnJlZ2lzdGVyVGFzaygndHg6dXBsb2FkJywgJ1VwbG9hZCByZXNvdXJjZXMgdG8gVHJhbnNpZmV4JywgZGVmaW5lVHhUYXNrKCd1cGxvYWQnKSlcbn1cbiJdfQ== |
108203
+ Addedbabel-runtime@6.26.0(transitive)
+ Addedcore-js@2.6.12(transitive)
+ Addedregenerator-runtime@0.11.1(transitive)
- Removedbabel-runtime@6.3.19(transitive)
- Removedcore-js@1.2.7(transitive)
Updatedbabel-runtime@^6.3.19