locize-cli 12.0.2 → 12.0.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 CHANGED
@@ -5,6 +5,11 @@ 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.3](https://github.com/locize/locize-cli/compare/v12.0.2...v12.0.3) - 2026-01-20
9
+
10
+ - update dependencies
11
+ - fix duplicate get jobs log
12
+
8
13
  ## [12.0.2](https://github.com/locize/locize-cli/compare/v12.0.1...v12.0.2) - 2026-01-13
9
14
 
10
15
  - fix binary packaging
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.2'); // This string is replaced with the actual version at build time by rollup
53
+ .version('12.0.3'); // 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
 
@@ -30,7 +30,7 @@ const getJob = async (opt, jobId) => {
30
30
  console.error(colors.red(res.statusText + ' (' + res.status + ')'));
31
31
  throw new Error(res.statusText + ' (' + res.status + ')')
32
32
  }
33
- console.log(colors.green('getting job successful'));
33
+ // console.log(colors.green('getting job successful'))
34
34
  return obj
35
35
  };
36
36
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "locize-cli",
3
- "version": "12.0.2",
3
+ "version": "12.0.3",
4
4
  "type": "commonjs"
5
5
  }
@@ -38,7 +38,7 @@ async function request (url, options) {
38
38
  }
39
39
 
40
40
  options.headers = options.headers || {};
41
- options.headers['User-Agent'] = `locize-cli/v12.0.2 (node/${process.version}; ${process.platform} ${process.arch})`; // This string is replaced with the actual version at build time by rollup
41
+ options.headers['User-Agent'] = `locize-cli/v12.0.3 (node/${process.version}; ${process.platform} ${process.arch})`; // This string is replaced with the actual version at build time by rollup
42
42
  options.headers['X-User-Agent'] = options.headers['User-Agent'];
43
43
  if (options.body || options.method !== 'get') options.headers['Content-Type'] = 'application/json';
44
44
  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.2'); // This string is replaced with the actual version at build time by rollup
51
+ .version('12.0.3'); // 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
 
@@ -28,7 +28,7 @@ const getJob = async (opt, jobId) => {
28
28
  console.error(colors.red(res.statusText + ' (' + res.status + ')'));
29
29
  throw new Error(res.statusText + ' (' + res.status + ')')
30
30
  }
31
- console.log(colors.green('getting job successful'));
31
+ // console.log(colors.green('getting job successful'))
32
32
  return obj
33
33
  };
34
34
 
@@ -36,7 +36,7 @@ async function request (url, options) {
36
36
  }
37
37
 
38
38
  options.headers = options.headers || {};
39
- options.headers['User-Agent'] = `locize-cli/v12.0.2 (node/${process.version}; ${process.platform} ${process.arch})`; // This string is replaced with the actual version at build time by rollup
39
+ options.headers['User-Agent'] = `locize-cli/v12.0.3 (node/${process.version}; ${process.platform} ${process.arch})`; // This string is replaced with the actual version at build time by rollup
40
40
  options.headers['X-User-Agent'] = options.headers['User-Agent'];
41
41
  if (options.body || options.method !== 'get') options.headers['Content-Type'] = 'application/json';
42
42
  if (options.body) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "locize-cli",
3
- "version": "12.0.2",
3
+ "version": "12.0.3",
4
4
  "description": "locize cli to import locales",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
@@ -53,12 +53,12 @@
53
53
  "devDependencies": {
54
54
  "@rollup/plugin-replace": "6.0.3",
55
55
  "@rollup/plugin-terser": "0.4.4",
56
- "@yao-pkg/pkg": "6.11.0",
56
+ "@yao-pkg/pkg": "6.12.0",
57
57
  "eslint": "9.39.2",
58
58
  "eslint-plugin-import": "2.32.0",
59
59
  "gh-release": "7.0.2",
60
60
  "neostandard": "0.12.2",
61
- "rollup": "4.55.1",
61
+ "rollup": "4.55.2",
62
62
  "vitest": "4.0.17"
63
63
  },
64
64
  "scripts": {