translator-promise
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -125,5 +125,6 @@ const request = require('request-promise').defaults({ | ||
let candidate = getCandidate(tranWord); | ||
tranWord[0].pop(); | ||
return { | ||
word, | ||
text: tranWord[0][0][0], | ||
text: tranWord[0].map(t => t[0]).join(''), | ||
candidate | ||
@@ -130,0 +131,0 @@ }; |
{ | ||
"name": "translator-promise", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A node module based on Google Translate.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
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
7150
118