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

google-translate-api

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-translate-api - npm Package Compare versions

Comparing version 2.2.2 to 2.3.0

4

index.js

@@ -75,3 +75,3 @@ var querystring = require('querystring');

body[0].forEach(function (obj) {
if (obj[0] !== undefined) {
if (obj[0]) {
result.text += obj[0];

@@ -88,3 +88,3 @@ }

if (body[7] !== undefined && body[7][0] !== undefined) {
if (body[7] && body[7][0]) {
var str = body[7][0];

@@ -91,0 +91,0 @@

@@ -13,2 +13,3 @@ /**

'sq': 'Albanian',
'am': 'Amharic',
'ar': 'Arabic',

@@ -98,3 +99,3 @@ 'hy': 'Armenian',

'es': 'Spanish',
'su': 'Sudanese',
'su': 'Sundanese',
'sw': 'Swahili',

@@ -101,0 +102,0 @@ 'sv': 'Swedish',

{
"name": "google-translate-api",
"version": "2.2.2",
"version": "2.3.0",
"description": "A free and unlimited API for Google Translate",

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

@@ -1,2 +0,2 @@

# google-translate-api [![Build Status](https://travis-ci.org/matheuss/google-translate-api.svg?branch=master)](https://travis-ci.org/matheuss/google-translate-api) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo) [![Coverage Status](https://coveralls.io/repos/github/matheuss/google-translate-api/badge.svg?branch=master)](https://coveralls.io/github/matheuss/google-translate-api?branch=master) [![codecov](https://codecov.io/gh/matheuss/google-translate-api/branch/master/graph/badge.svg)](https://codecov.io/gh/matheuss/google-translate-api) [![Known Vulnerabilities](https://snyk.io/test/npm/google-translate-api/badge.svg)](https://snyk.io/test/npm/google-translate-api)
# google-translate-api [![Build Status](https://travis-ci.org/matheuss/google-translate-api.svg?branch=master)](https://travis-ci.org/matheuss/google-translate-api) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo) [![Coverage Status](https://coveralls.io/repos/github/matheuss/google-translate-api/badge.svg?branch=master)](https://coveralls.io/github/matheuss/google-translate-api?branch=master) [![Known Vulnerabilities](https://snyk.io/test/npm/google-translate-api/badge.svg)](https://snyk.io/test/npm/google-translate-api)

@@ -3,0 +3,0 @@ A **free** and **unlimited** API for Google Translate :dollar::no_entry_sign:

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