@lingui/cli 5.9.0 → 5.9.2

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.
@@ -234,10 +234,10 @@ async function writeCompiled(path, locale, compiledCatalog, namespace) {
234
234
  await (0, utils_1.writeFile)(filename, compiledCatalog);
235
235
  return filename;
236
236
  }
237
+ // hardcoded en-US locale to have consistent sorting
238
+ // @see https://github.com/lingui/js-lingui/pull/1808
239
+ const collator = new Intl.Collator("en-US");
237
240
  const orderByMessage = (a, b) => {
238
- // hardcoded en-US locale to have consistent sorting
239
- // @see https://github.com/lingui/js-lingui/pull/1808
240
- const collator = new Intl.Collator("en-US");
241
241
  const aMsg = a.entry.message || "";
242
242
  const bMsg = b.entry.message || "";
243
243
  const aCtxt = a.entry.context || "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingui/cli",
3
- "version": "5.9.0",
3
+ "version": "5.9.2",
4
4
  "description": "CLI for working wit message catalogs",
5
5
  "keywords": [
6
6
  "cli",
@@ -62,12 +62,12 @@
62
62
  "@babel/parser": "^7.22.0",
63
63
  "@babel/runtime": "^7.21.0",
64
64
  "@babel/types": "^7.21.2",
65
- "@lingui/babel-plugin-extract-messages": "5.9.0",
66
- "@lingui/babel-plugin-lingui-macro": "5.9.0",
67
- "@lingui/conf": "5.9.0",
68
- "@lingui/core": "5.9.0",
69
- "@lingui/format-po": "5.9.0",
70
- "@lingui/message-utils": "5.9.0",
65
+ "@lingui/babel-plugin-extract-messages": "5.9.2",
66
+ "@lingui/babel-plugin-lingui-macro": "5.9.2",
67
+ "@lingui/conf": "5.9.2",
68
+ "@lingui/core": "5.9.2",
69
+ "@lingui/format-po": "5.9.2",
70
+ "@lingui/message-utils": "5.9.2",
71
71
  "chokidar": "3.5.1",
72
72
  "cli-table": "^0.3.11",
73
73
  "commander": "^10.0.0",
@@ -96,5 +96,5 @@
96
96
  "msw": "^2.12.7",
97
97
  "ts-node": "^10.9.2"
98
98
  },
99
- "gitHead": "491d4c17651c3f76116fe7f63f6bb8a554bef8da"
99
+ "gitHead": "7b30f31b5510c98442eabbcef531a6b70e1c1381"
100
100
  }