Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

google-translate-api-nodejs-client

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-translate-api-nodejs-client - npm Package Compare versions

Comparing version 1.5.6 to 1.5.7

3

availableLanguages.js

@@ -105,2 +105,3 @@ module.exports = [

'zh-TW',
'zu',]
'zh-CN',
'zu',]

@@ -18,3 +18,3 @@ const availableLanguages = require('./availableLanguages');

// throttling
this.limiter = new RateLimiter(1000, 'ms');
this.limiter = new RateLimiter(1000, 'second');
this.availableLanguages = availableLanguages;

@@ -39,3 +39,3 @@

GoogleTranslateApi.prototype._translate = function translate(opts, cb) {
GoogleTranslateApi.prototype._translate = async function translate(opts, cb) {
const self = this;

@@ -310,2 +310,2 @@

});
};
};
{
"name": "google-translate-api-nodejs-client",
"version": "1.5.6",
"version": "1.5.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "google-translate-api-nodejs-client.js",

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