@crowdin/crowdin-api-client
Advanced tools
Comparing version 1.10.1 to 1.10.2
@@ -12,2 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CrowdinApi = exports.BooleanInt = exports.PatchOperation = exports.HttpClientType = void 0; | ||
const axiosProvider_1 = require("./internal/axios/axiosProvider"); | ||
@@ -14,0 +15,0 @@ const fetchClient_1 = require("./internal/fetch/fetchClient"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AxisProvider = void 0; | ||
const axios_1 = require("axios"); | ||
@@ -4,0 +5,0 @@ class AxisProvider { |
@@ -12,2 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FetchClient = void 0; | ||
class FetchClient { | ||
@@ -86,3 +87,2 @@ constructor() { | ||
waitInQueue() { | ||
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type | ||
return new Promise(resolve => { | ||
@@ -89,0 +89,0 @@ const interval = setInterval(() => { |
@@ -12,2 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RetryService = void 0; | ||
class RetryService { | ||
@@ -14,0 +15,0 @@ constructor(config) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Dictionaries = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Dictionaries extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Distributions = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Distributions extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GlossariesModel = exports.Glossaries = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Glossaries extends core_1.CrowdinApi { |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -30,27 +37,27 @@ const dictionaries_1 = require("./dictionaries"); | ||
const workflows_1 = require("./workflows"); | ||
__export(require("./core")); | ||
__export(require("./dictionaries")); | ||
__export(require("./distributions")); | ||
__export(require("./glossaries")); | ||
__export(require("./issues")); | ||
__export(require("./labels")); | ||
__export(require("./languages")); | ||
__export(require("./machineTranslation")); | ||
__export(require("./projectsGroups")); | ||
__export(require("./reports")); | ||
__export(require("./screenshots")); | ||
__export(require("./sourceFiles")); | ||
__export(require("./sourceStrings")); | ||
__export(require("./stringComments")); | ||
__export(require("./stringTranslations")); | ||
__export(require("./tasks")); | ||
__export(require("./teams")); | ||
__export(require("./translationMemory")); | ||
__export(require("./translations")); | ||
__export(require("./translationStatus")); | ||
__export(require("./uploadStorage")); | ||
__export(require("./users")); | ||
__export(require("./vendors")); | ||
__export(require("./webhooks")); | ||
__export(require("./workflows")); | ||
__exportStar(require("./core"), exports); | ||
__exportStar(require("./dictionaries"), exports); | ||
__exportStar(require("./distributions"), exports); | ||
__exportStar(require("./glossaries"), exports); | ||
__exportStar(require("./issues"), exports); | ||
__exportStar(require("./labels"), exports); | ||
__exportStar(require("./languages"), exports); | ||
__exportStar(require("./machineTranslation"), exports); | ||
__exportStar(require("./projectsGroups"), exports); | ||
__exportStar(require("./reports"), exports); | ||
__exportStar(require("./screenshots"), exports); | ||
__exportStar(require("./sourceFiles"), exports); | ||
__exportStar(require("./sourceStrings"), exports); | ||
__exportStar(require("./stringComments"), exports); | ||
__exportStar(require("./stringTranslations"), exports); | ||
__exportStar(require("./tasks"), exports); | ||
__exportStar(require("./teams"), exports); | ||
__exportStar(require("./translationMemory"), exports); | ||
__exportStar(require("./translations"), exports); | ||
__exportStar(require("./translationStatus"), exports); | ||
__exportStar(require("./uploadStorage"), exports); | ||
__exportStar(require("./users"), exports); | ||
__exportStar(require("./vendors"), exports); | ||
__exportStar(require("./webhooks"), exports); | ||
__exportStar(require("./workflows"), exports); | ||
class Client { | ||
@@ -57,0 +64,0 @@ constructor(credentials, config) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.IssuesModel = exports.Issues = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Labels = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Labels extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LanguagesModel = exports.Languages = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Languages extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MachineTranslation = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class MachineTranslation extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ProjectsGroupsModel = exports.ProjectsGroups = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class ProjectsGroups extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ReportsModel = exports.Reports = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Reports extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Screenshots = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Screenshots extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SourceFilesModel = exports.SourceFiles = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class SourceFiles extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SourceStringsModel = exports.SourceStrings = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class SourceStrings extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.StringCommentsModel = exports.StringComments = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class StringComments extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.StringTranslationsModel = exports.StringTranslations = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class StringTranslations extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TasksModel = exports.Tasks = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Tasks extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Teams = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Teams extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TranslationMemoryModel = exports.TranslationMemory = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class TranslationMemory extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TranslationsModel = exports.Translations = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Translations extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TranslationStatusModel = exports.TranslationStatus = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class TranslationStatus extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UploadStorage = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ const mimetypes = { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UsersModel = exports.Users = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Users extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Vendors = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Vendors extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.WebhooksModel = exports.Webhooks = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Webhooks extends core_1.CrowdinApi { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Workflows = void 0; | ||
const core_1 = require("../core"); | ||
@@ -4,0 +5,0 @@ class Workflows extends core_1.CrowdinApi { |
{ | ||
"name": "@crowdin/crowdin-api-client", | ||
"version": "1.10.1", | ||
"version": "1.10.2", | ||
"description": "JavaScript library for Crowdin API v2.", | ||
@@ -28,3 +28,3 @@ "main": "out/index.js", | ||
"@types/node": "^12.0.10", | ||
"@types/jest": "^25.0.0", | ||
"@types/jest": "^26.0.0", | ||
"@types/nock": "^10.0.3", | ||
@@ -37,13 +37,13 @@ "@typescript-eslint/eslint-plugin": "^2.3.1", | ||
"husky": ">=1", | ||
"jest": "^25.0.0", | ||
"jest-circus": "^25.0.0", | ||
"jest": "^26.4.0", | ||
"jest-circus": "^26.4.0", | ||
"lint-staged": ">=8", | ||
"nock": "^10.0.6", | ||
"prettier": "^1.18.2", | ||
"ts-jest": "^25.0.0", | ||
"typescript": "^3.5.2", | ||
"jest-junit": "^10.0.0" | ||
"ts-jest": "^26.4.0", | ||
"typescript": "^4.1.2", | ||
"jest-junit": "^12.0.0" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.19.0" | ||
"axios": "^0.21.1" | ||
}, | ||
@@ -50,0 +50,0 @@ "husky": { |
@@ -9,4 +9,8 @@ [<p align='center'><img src='https://support.crowdin.com/assets/logos/crowdin-dark-symbol.png' data-canonical-src='https://support.crowdin.com/assets/logos/crowdin-dark-symbol.png' width='200' height='200' align='center'/></p>](https://crowdin.com) | ||
For more about Crowdin API v2 see the [documentation](https://support.crowdin.com/api/v2/). | ||
For more about Crowdin API v2 see the documentation: | ||
- [Crowdin](https://support.crowdin.com/api/v2/) | ||
- [Crowdin Enterprise](https://support.crowdin.com/enterprise/api/) | ||
## Status | ||
[![npm](https://img.shields.io/npm/v/@crowdin/crowdin-api-client?logo=npm&cacheSeconds=1800)](https://www.npmjs.com/package/@crowdin/crowdin-api-client) | ||
@@ -32,4 +36,4 @@ [![npm](https://img.shields.io/npm/dt/@crowdin/crowdin-api-client?cacheSeconds=1800)](https://www.npmjs.com/package/@crowdin/crowdin-api-client) | ||
* [Quick Start](#quick-start) | ||
* [Contribution](#contribution) | ||
* [Seeking Assistance](#seeking-assistance) | ||
* [Contributing](#contributing) | ||
* [License](#license) | ||
@@ -215,19 +219,14 @@ | ||
## Contribution | ||
We are happy to accept contributions to the Crowdin JavaScript client. To contribute please do the following: | ||
1. Fork the repository on GitHub. | ||
2. Decide which code you want to submit. Commit your changes and push to the new branch. | ||
3. Ensure that your code adheres to standard conventions, as used in the rest of the library. | ||
4. Ensure that there are unit tests for your code. | ||
5. Submit a pull request with your patch on Github. | ||
## Seeking Assistance | ||
If you find any problems or would like to suggest a feature, please feel free to file an issue on Github at [Issues Page](https://github.com/crowdin/crowdin-api-client-js/issues). | ||
If you've found an error in these samples, please [contact](https://crowdin.com/contacts) our Support Team. | ||
If you find any problems or would like to suggest a feature, please read the [How can I contribute](/CONTRIBUTING.md#how-can-i-contribute) section in our contributing guidelines. | ||
Need help working with Crowdin JavaScript client or have any questions? [Contact](https://crowdin.com/contacts) Customer Success Service. | ||
## Contributing | ||
If you want to contribute please read the [Contributing](/CONTRIBUTING.md) guidelines. | ||
## License | ||
<pre> | ||
Copyright © 2020 Crowdin | ||
The Crowdin JavaScript client is licensed under the MIT License. | ||
@@ -234,0 +233,0 @@ See the LICENSE.md file distributed with this work for additional |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
259852
6528
237
+ Addedaxios@0.21.4(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
- Removedaxios@0.19.2(transitive)
- Removedfollow-redirects@1.5.10(transitive)
Updatedaxios@^0.21.1