locize-cli 12.0.8 → 12.0.9

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 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
+ ## [12.0.9](https://github.com/locize/locize-cli/compare/v12.0.8...v12.0.9) - 2026-03-02
9
+
10
+ - improve --download option for migrate command
11
+
8
12
  ## [12.0.8](https://github.com/locize/locize-cli/compare/v12.0.7...v12.0.8) - 2026-03-02
9
13
 
10
14
  - --download option for migrate command
package/dist/cjs/cli.js CHANGED
@@ -50,7 +50,7 @@ const program = new commander.Command();
50
50
 
51
51
  program
52
52
  .description('The official locize CLI.')
53
- .version('12.0.8'); // This string is replaced with the actual version at build time by rollup
53
+ .version('12.0.9'); // This string is replaced with the actual version at build time by rollup
54
54
  // .option('-a, --api-endpoint <url>', `Specify the api-endpoint url that should be used (default: ${defaultApiEndpoint})`)
55
55
  // .option('-C, --config-path <configPath>', `Specify the path to the optional locize config file (default: ${configInWorkingDirectory} or ${configInHome})`);
56
56
 
@@ -168,7 +168,7 @@ const addLanguage = async (opt, l) => {
168
168
 
169
169
  const downloadAfterMigrate = async (opt) => {
170
170
  console.log(colors.yellow('downloading translations after migration...'));
171
- await new Promise((resolve) => setTimeout(resolve, 10000));
171
+ await new Promise((resolve) => setTimeout(resolve, 15000));
172
172
  await download({
173
173
  apiKey: opt.apiKey,
174
174
  projectId: opt.projectId,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "locize-cli",
3
- "version": "12.0.8",
3
+ "version": "12.0.9",
4
4
  "type": "commonjs"
5
5
  }
@@ -39,7 +39,7 @@ async function request (url, options) {
39
39
  }
40
40
 
41
41
  options.headers = options.headers || {};
42
- options.headers['User-Agent'] = `locize-cli/v12.0.8 (node/${process.version}; ${process.platform} ${process.arch})`; // This string is replaced with the actual version at build time by rollup
42
+ options.headers['User-Agent'] = `locize-cli/v12.0.9 (node/${process.version}; ${process.platform} ${process.arch})`; // This string is replaced with the actual version at build time by rollup
43
43
  options.headers['X-User-Agent'] = options.headers['User-Agent'];
44
44
  if (options.body || options.method !== 'get') options.headers['Content-Type'] = 'application/json';
45
45
  if (options.body) {
package/dist/esm/cli.js CHANGED
@@ -48,7 +48,7 @@ const program = new Command();
48
48
 
49
49
  program
50
50
  .description('The official locize CLI.')
51
- .version('12.0.8'); // This string is replaced with the actual version at build time by rollup
51
+ .version('12.0.9'); // This string is replaced with the actual version at build time by rollup
52
52
  // .option('-a, --api-endpoint <url>', `Specify the api-endpoint url that should be used (default: ${defaultApiEndpoint})`)
53
53
  // .option('-C, --config-path <configPath>', `Specify the path to the optional locize config file (default: ${configInWorkingDirectory} or ${configInHome})`);
54
54
 
@@ -166,7 +166,7 @@ const addLanguage = async (opt, l) => {
166
166
 
167
167
  const downloadAfterMigrate = async (opt) => {
168
168
  console.log(colors.yellow('downloading translations after migration...'));
169
- await new Promise((resolve) => setTimeout(resolve, 10000));
169
+ await new Promise((resolve) => setTimeout(resolve, 15000));
170
170
  await download({
171
171
  apiKey: opt.apiKey,
172
172
  projectId: opt.projectId,
@@ -37,7 +37,7 @@ async function request (url, options) {
37
37
  }
38
38
 
39
39
  options.headers = options.headers || {};
40
- options.headers['User-Agent'] = `locize-cli/v12.0.8 (node/${process.version}; ${process.platform} ${process.arch})`; // This string is replaced with the actual version at build time by rollup
40
+ options.headers['User-Agent'] = `locize-cli/v12.0.9 (node/${process.version}; ${process.platform} ${process.arch})`; // This string is replaced with the actual version at build time by rollup
41
41
  options.headers['X-User-Agent'] = options.headers['User-Agent'];
42
42
  if (options.body || options.method !== 'get') options.headers['Content-Type'] = 'application/json';
43
43
  if (options.body) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "locize-cli",
3
- "version": "12.0.8",
3
+ "version": "12.0.9",
4
4
  "description": "locize cli to import locales",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",