locize-cli 7.12.2 → 7.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/download.js +1 -1
- package/package.json +6 -6
- package/sync.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
Project versioning adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
Change log format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
7
7
|
|
|
8
|
+
## [7.12.3](https://github.com/locize/locize-cli/compare/v7.12.2...v7.12.3) - 2022-07-20
|
|
9
|
+
|
|
10
|
+
- update dependencies
|
|
11
|
+
|
|
8
12
|
## [7.12.2](https://github.com/locize/locize-cli/compare/v7.12.1...v7.12.2) - 2022-07-12
|
|
9
13
|
|
|
10
14
|
- limit parallel downloads
|
package/download.js
CHANGED
|
@@ -95,7 +95,7 @@ function handleDownload(opt, url, err, res, downloads, cb) {
|
|
|
95
95
|
|
|
96
96
|
function handlePull(opt, toDownload, cb) {
|
|
97
97
|
const url = opt.apiPath + '/pull/' + opt.projectId + '/' + opt.version;
|
|
98
|
-
async.eachLimit(toDownload,
|
|
98
|
+
async.eachLimit(toDownload, 5, (download, clb) => {
|
|
99
99
|
const lng = download.language;
|
|
100
100
|
const namespace = download.namespace;
|
|
101
101
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "locize-cli",
|
|
3
|
-
"version": "7.12.
|
|
3
|
+
"version": "7.12.3",
|
|
4
4
|
"description": "locize cli to import locales",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"async": "3.2.4",
|
|
13
13
|
"cacheable-lookup": "6.0.4",
|
|
14
14
|
"colors": "1.4.0",
|
|
15
|
-
"commander": "9.
|
|
15
|
+
"commander": "9.4.0",
|
|
16
16
|
"csvjson": "5.1.0",
|
|
17
17
|
"diff": "5.1.0",
|
|
18
18
|
"flat": "5.0.2",
|
|
19
19
|
"fluent_conv": "3.1.0",
|
|
20
|
-
"gettext-converter": "1.2.
|
|
20
|
+
"gettext-converter": "1.2.3",
|
|
21
21
|
"https-proxy-agent": "5.0.1",
|
|
22
22
|
"ini": "3.0.0",
|
|
23
23
|
"js-yaml": "4.1.0",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"rimraf": "3.0.2",
|
|
30
30
|
"strings-file": "0.0.5",
|
|
31
31
|
"tmexchange": "2.0.4",
|
|
32
|
-
"xliff": "6.0
|
|
32
|
+
"xliff": "6.1.0",
|
|
33
33
|
"xlsx": "0.18.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"eslint": "8.
|
|
36
|
+
"eslint": "8.20.0",
|
|
37
37
|
"gh-release": "6.0.4",
|
|
38
|
-
"pkg": "5.
|
|
38
|
+
"pkg": "5.8.0"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"lint": "eslint .",
|
package/sync.js
CHANGED
|
@@ -205,7 +205,7 @@ const downloadAll = (opt, remoteLanguages, omitRef, manipulate, cb) => {
|
|
|
205
205
|
return lng !== opt.referenceLanguage;
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
|
-
async.eachLimit(downloads, 20, (download, clb) => {
|
|
208
|
+
async.eachLimit(downloads, opt.unpublished ? 5 : 20, (download, clb) => {
|
|
209
209
|
const splitted = download.key.split('/');
|
|
210
210
|
const lng = splitted[download.isPrivate ? 3 : 2];
|
|
211
211
|
const namespace = splitted[download.isPrivate ? 4 : 3];
|