@lingui/cli 4.12.0 → 4.14.0

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.
@@ -48,7 +48,7 @@ function mergeCatalog(prevCatalog, nextCatalog, forSourceLocale, options) {
48
48
  // Mark all remaining translations as obsolete
49
49
  // Only if *options.files* is not provided
50
50
  const obsoleteMessages = obsoleteKeys.map((key) => ({
51
- [key]: Object.assign(Object.assign({}, prevCatalog[key]), { obsolete: !options.files }),
51
+ [key]: Object.assign(Object.assign({}, prevCatalog[key]), (!options.files && { obsolete: true })),
52
52
  }));
53
53
  return R.mergeAll([newMessages, ...mergedMessages, ...obsoleteMessages]);
54
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingui/cli",
3
- "version": "4.12.0",
3
+ "version": "4.14.0",
4
4
  "description": "CLI for working wit message catalogs",
5
5
  "keywords": [
6
6
  "cli",
@@ -53,11 +53,11 @@
53
53
  "@babel/parser": "^7.22.0",
54
54
  "@babel/runtime": "^7.21.0",
55
55
  "@babel/types": "^7.21.2",
56
- "@lingui/babel-plugin-extract-messages": "4.12.0",
57
- "@lingui/conf": "4.12.0",
58
- "@lingui/core": "4.12.0",
59
- "@lingui/format-po": "4.12.0",
60
- "@lingui/message-utils": "4.12.0",
56
+ "@lingui/babel-plugin-extract-messages": "4.14.0",
57
+ "@lingui/conf": "4.14.0",
58
+ "@lingui/core": "4.14.0",
59
+ "@lingui/format-po": "4.14.0",
60
+ "@lingui/message-utils": "4.14.0",
61
61
  "babel-plugin-macros": "^3.0.1",
62
62
  "chalk": "^4.1.0",
63
63
  "chokidar": "3.5.1",
@@ -80,7 +80,7 @@
80
80
  },
81
81
  "devDependencies": {
82
82
  "@lingui/jest-mocks": "*",
83
- "@lingui/macro": "4.12.0",
83
+ "@lingui/macro": "4.14.0",
84
84
  "@types/convert-source-map": "^2.0.0",
85
85
  "@types/glob": "^8.1.0",
86
86
  "@types/micromatch": "^4.0.1",
@@ -88,5 +88,5 @@
88
88
  "mock-fs": "^5.2.0",
89
89
  "mockdate": "^3.0.5"
90
90
  },
91
- "gitHead": "83a6ea03f22d6284bdcf067bde7b406c4e3520bc"
91
+ "gitHead": "8dcb749688e2f452f85fc0eaad4d033a44975b42"
92
92
  }