Socket
Socket
Sign inDemoInstall

translatte

Package Overview
Dependencies
37
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.5.6 to 2.5.7

3

index.js

@@ -179,2 +179,5 @@ const querystring = require('querystring');

'Ocp-Apim-Subscription-Key': opts.services['microsoft_v3']['key'],
'Ocp-Apim-Subscription-Region': opts.services['microsoft_v3']['location']
? opts.services['microsoft_v3']['location'].replace(/[^a-z]/ig, '').toLowerCase()
: 'global',
'Content-type': 'application/json'

@@ -181,0 +184,0 @@ },

2

package.json
{
"name": "translatte",
"version": "2.5.6",
"version": "2.5.7",
"description": "A free and unlimited translate for NodeJS",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -129,3 +129,3 @@ # A free and unlimited translate for NodeJS.

- <a href="https://cloud.google.com/translate/docs/quickstart-client-libraries-v3" target="_blank">Google Cloud</a>, requires registration and credit card details. 500,000 characters per month are issued free of charge, then $20 for every million characters.
- `{"microsoft_v3": {"key": "XXX"}}`
- `{"microsoft_v3": {"key": "XXX", "location": "global"}}`
- <a href="https://azure.microsoft.com/en-us/pricing/details/cognitive-services/translator-text-api/" target="_blank">Microsoft Azure</a>, requires registration and credit card details. Free of charge 2,000,000 characters per month, then $10 for every million characters.

@@ -132,0 +132,0 @@ - `{"yandex_v1": {"key": "XXX"}}`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc