@crowdin/cli
Advanced tools
Comparing version 3.9.1 to 3.9.2
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
## [3.9.2] | ||
### Added | ||
- Add the `--keep-archive` option for the download translations command ([#520](https://github.com/crowdin/crowdin-cli/pull/520)) | ||
- Helper script for Windows shell environments ([#521](https://github.com/crowdin/crowdin-cli/pull/521)) | ||
### Updated | ||
- More tests for better coverage ([#509](https://github.com/crowdin/crowdin-cli/pull/509)) | ||
- Minor cleanup ([#511](https://github.com/crowdin/crowdin-cli/pull/511)) | ||
- Use GH Actions instead of Azure Pipelines and prepare CI to run Unit tests on Windows ([#512](https://github.com/crowdin/crowdin-cli/pull/512)) | ||
- Ignore version check for -h,-v and crowdin command w/o args ([#516](https://github.com/crowdin/crowdin-cli/pull/516)) | ||
- Handle empty files upload ([#517](https://github.com/crowdin/crowdin-cli/pull/517)) | ||
### Fixed | ||
- Fix node-fetch issue ([#524](https://github.com/crowdin/crowdin-cli/pull/524)) | ||
## [3.9.1] | ||
@@ -5,0 +24,0 @@ |
@@ -50,3 +50,9 @@ #! /usr/bin/env node | ||
if (url.indexOf("?") > 0 || jdkProvider === 'zulu') { | ||
var destName = bundleType + ".zip"; | ||
var ext = ".zip"; | ||
switch (process.platform) { | ||
case 'linux': | ||
ext = ".tar.gz"; | ||
break; | ||
} | ||
var destName = bundleType + ext; | ||
} else { | ||
@@ -290,2 +296,3 @@ destName = path.basename(url); | ||
var zuluBaseURL = "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/binary?" | ||
@@ -300,2 +307,3 @@ if (!options.os) { | ||
q.os = 'linux' | ||
q.ext = 'tar.gz' | ||
break | ||
@@ -302,0 +310,0 @@ |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "3.9.1", | ||
"version": "3.9.2", | ||
"jdeploy": { | ||
@@ -19,3 +19,6 @@ "jar": "dist/crowdin-cli.jar" | ||
"dependencies": { | ||
"njre": "^0.2.0", | ||
"command-exists-promise": "^2.0.2", | ||
"node-fetch": "^2.6.7", | ||
"tar": "^4.4.8", | ||
"yauzl": "^2.10.0", | ||
"shelljs": "^0.8.4" | ||
@@ -22,0 +25,0 @@ }, |
@@ -20,3 +20,2 @@ [<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="150" height="150" align="center"/></p>](https://crowdin.com) | ||
[![Build Status](https://dev.azure.com/crowdin/crowdin-cli-3/_apis/build/status/Build%20and%20Test?branchName=cli3)](https://dev.azure.com/crowdin/crowdin-cli-3/_build/latest?definitionId=22&branchName=cli3&cacheSeconds=1000) | ||
[![Docker Pulls](https://img.shields.io/docker/pulls/crowdin/cli?logo=docker&cacheSeconds=2000)](https://hub.docker.com/r/crowdin/cli) | ||
@@ -28,3 +27,4 @@ [![npm](https://img.shields.io/npm/dt/@crowdin/cli?logo=npm&cacheSeconds=2000)](https://www.npmjs.com/package/@crowdin/cli) | ||
![Azure DevOps tests (branch)](https://img.shields.io/azure-devops/tests/crowdin/crowdin-cli-3/22/cli3?cacheSeconds=2000) | ||
[![build-test](https://github.com/crowdin/crowdin-cli/actions/workflows/build-test.yml/badge.svg?branch=cli3)](https://github.com/crowdin/crowdin-cli/actions/workflows/build-test.yml) | ||
[![CodeQL](https://github.com/crowdin/crowdin-cli/actions/workflows/codeql-analysis.yml/badge.svg?branch=cli3)](https://github.com/crowdin/crowdin-cli/actions/workflows/codeql-analysis.yml) | ||
[![codecov](https://codecov.io/gh/crowdin/crowdin-cli/branch/cli3/graph/badge.svg)](https://codecov.io/gh/crowdin/crowdin-cli) | ||
@@ -271,3 +271,3 @@ | ||
"base_path": "." | ||
"base_url": "https://api.crowdin.com" # https://{organization-name}.crowdin.com | ||
"base_url": "https://api.crowdin.com" # https://{organization-name}.api.crowdin.com | ||
@@ -274,0 +274,0 @@ "preserve_hierarchy": true |
Sorry, the diff of this file is not supported yet
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
7429992
532
5
+ Addednode-fetch@^2.6.7
+ Addedtar@^4.4.8
+ Addedyauzl@^2.10.0
- Removednjre@^0.2.0
- Removednjre@0.2.0(transitive)