New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

langapi

Package Overview
Dependencies
Maintainers
5
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

langapi - npm Package Compare versions

Comparing version 1.7.14 to 1.7.15

2

dist/cli/push.js

@@ -130,5 +130,7 @@ "use strict";

spinner.start("Sending requests and getting new translations");
console.log("Requesting");
return translationClient.requestTranslations(translateCalls, langFileClient);
})
.then(function (data) {
console.log("done requesting");
if (data == null) {

@@ -135,0 +137,0 @@ throw new Error("Error sending requests and getting new translations");

@@ -178,2 +178,3 @@ "use strict";

_c.trys.push([0, 2, , 3]);
console.log(JSON.stringify(translateCalls, null, 2));
_a = this.getValidTranslationRequests(translateCalls, langFileClient), batchTranslationRequests = _a.batchTranslationRequests, validTranslationCalls = _a.validTranslationCalls, invalidTranslationCalls = _a.invalidTranslationCalls;

@@ -184,2 +185,3 @@ return [4 /*yield*/, translation_1.requestTranslations(batchTranslationRequests, this.apiKey)];

// Payload contains NEW translation requests saved into DB
console.log("DONE");
if (payload && payload.data && !payload.data.requestTranslations.error) {

@@ -186,0 +188,0 @@ _b = payload.data.requestTranslations, translationTexts = _b.translationTexts, jobId = _b.jobId;

2

package.json
{
"name": "langapi",
"version": "1.7.14",
"version": "1.7.15",
"description": "TaaS",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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