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.7.10 to 0.7.12

4

dist/tjs.browser.common.js

@@ -776,3 +776,5 @@ 'use strict';

try {
result.result = body.translateResult[0].map(function (o) { return o.tgt.trim(); });
result.result = body.translateResult.map(function (part) {
return part.map(function (o) { return o.tgt.trim(); }).join('');
});
}

@@ -779,0 +781,0 @@ catch (e) { }

@@ -770,3 +770,5 @@ import { __awaiter, __generator } from 'tslib';

try {
result.result = body.translateResult[0].map(function (o) { return o.tgt.trim(); });
result.result = body.translateResult.map(function (part) {
return part.map(function (o) { return o.tgt.trim(); }).join('');
});
}

@@ -773,0 +775,0 @@ catch (e) { }

@@ -824,3 +824,5 @@ var tjs = (function (exports, bluemd5) {

try {
result.result = body.translateResult[0].map(function (o) { return o.tgt.trim(); });
result.result = body.translateResult.map(function (part) {
return part.map(function (o) { return o.tgt.trim(); }).join('');
});
}

@@ -827,0 +829,0 @@ catch (e) { }

@@ -799,3 +799,5 @@ 'use strict';

try {
result.result = body.translateResult[0].map(function (o) { return o.tgt.trim(); });
result.result = body.translateResult.map(function (part) {
return part.map(function (o) { return o.tgt.trim(); }).join('');
});
}

@@ -802,0 +804,0 @@ catch (e) { }

@@ -795,3 +795,5 @@ import { __awaiter, __generator } from 'tslib';

try {
result.result = body.translateResult[0].map(function (o) { return o.tgt.trim(); });
result.result = body.translateResult.map(function (part) {
return part.map(function (o) { return o.tgt.trim(); }).join('');
});
}

@@ -798,0 +800,0 @@ catch (e) { }

{
"name": "translation.js",
"version": "0.7.10",
"version": "0.7.12",
"description": "集成多种翻译引擎并提供统一的翻译接口。",

@@ -5,0 +5,0 @@ "repository": {

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