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

@crowdin/crowdin-api-client

Package Overview
Dependencies
Maintainers
5
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crowdin/crowdin-api-client - npm Package Compare versions

Comparing version 1.5.2 to 1.5.3

2

out/core/index.d.ts

@@ -91,3 +91,3 @@ export interface RequestConfig {

readonly token: string;
readonly organization: string;
readonly organization?: string;
readonly url: string;

@@ -94,0 +94,0 @@ readonly config: ClientConfig | undefined;

@@ -31,4 +31,9 @@ "use strict";

this.token = credentials.token;
this.organization = !!credentials.organization ? credentials.organization : 'api';
this.url = `https://${this.organization}.${CrowdinApi.CROWDIN_URL_SUFFIX}`;
this.organization = credentials.organization;
if (!!this.organization) {
this.url = `https://${this.organization}.${CrowdinApi.CROWDIN_URL_SUFFIX}`;
}
else {
this.url = `https://${CrowdinApi.CROWDIN_URL_SUFFIX}`;
}
this.config = config;

@@ -84,3 +89,3 @@ }

}
CrowdinApi.CROWDIN_URL_SUFFIX = 'crowdin.com/api/v2';
CrowdinApi.CROWDIN_URL_SUFFIX = 'api.crowdin.com/api/v2';
CrowdinApi.AXIOS_INSTANCE = new axiosProvider_1.AxisProvider().axios;

@@ -87,0 +92,0 @@ CrowdinApi.FETCH_INSTANCE = new fetchClient_1.FetchClient();

{
"name": "@crowdin/crowdin-api-client",
"version": "1.5.2",
"version": "1.5.3",
"description": "JavaScript library for Crowdin API v2.",

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