diff --git a/package.json b/package.json index 9bb9c86..0686e9e 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "1.5.0", "description": "NodeJS Transifex API Client", "main": "./transifex.js", + "engines": { + "node": ">=8.9.0" + }, "scripts": { "test": "mocha --reporter spec tests --timeout 190000 --slow 2000" }, diff --git a/transifex.js b/transifex.js index 25703e3..29c1b74 100644 --- a/transifex.js +++ b/transifex.js @@ -1,4 +1,4 @@ -var request = require("request"), +const request = require("request"), _ = require("lodash"), crypto = require('crypto'); @@ -501,7 +501,6 @@ Transifex.prototype.translationStringsPutMethod = function(project_slug, resourc var url = this.expUrl.translationStringsPutURL.replace("", project_slug) .replace("", resource_slug) .replace("", language_code); - console.log('url',url); this.projectPutRequest(url, content.map(keyToHash), function(err, content) { if (err) { return callback(err);