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

translation.js

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

translation.js - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

lib/google.js

@@ -41,3 +41,3 @@ /**

.get( this.apiRoot + '/translate_a/single' )
.query( `client=gtx&sl=${queryObj.from || 'auto'}&tl=${queryObj.to || 'auto'}&hl=zh-CN&dt=t&dt=bd&dj=1&source=icon&q=${queryObj.text}` )
.query( `client=gtx&sl=${queryObj.from || 'auto'}&tl=${queryObj.to || 'auto'}&hl=zh-CN&dt=t&dt=bd&dj=1&source=icon&q=${encodeURI(queryObj.text)}` )
// , {

@@ -44,0 +44,0 @@ // client : 'gtx' ,

{
"name" : "translation.js" ,
"version" : "0.3.0" ,
"version" : "0.3.1" ,
"description" : "集成多种翻译引擎、提供统一的翻译接口" ,

@@ -5,0 +5,0 @@ "main" : "lib/translation.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