@lingui/cli 5.9.2 → 5.9.4
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.
|
@@ -33,7 +33,7 @@ function mergeCatalog(prevCatalog, nextCatalog, forSourceLocale, options) {
|
|
|
33
33
|
: prevCatalog[key].translation;
|
|
34
34
|
const _a = nextCatalog[key], { obsolete } = _a, rest = __rest(_a, ["obsolete"]);
|
|
35
35
|
const { extra } = prevCatalog[key];
|
|
36
|
-
return [key, Object.assign(Object.assign(
|
|
36
|
+
return [key, Object.assign(Object.assign({}, rest), { extra, translation })];
|
|
37
37
|
}));
|
|
38
38
|
// Mark all remaining translations as obsolete
|
|
39
39
|
// Only if *options.files* is not provided
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/cli",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.4",
|
|
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.
|
|
66
|
-
"@lingui/babel-plugin-lingui-macro": "5.9.
|
|
67
|
-
"@lingui/conf": "5.9.
|
|
68
|
-
"@lingui/core": "5.9.
|
|
69
|
-
"@lingui/format-po": "5.9.
|
|
70
|
-
"@lingui/message-utils": "5.9.
|
|
65
|
+
"@lingui/babel-plugin-extract-messages": "5.9.4",
|
|
66
|
+
"@lingui/babel-plugin-lingui-macro": "5.9.4",
|
|
67
|
+
"@lingui/conf": "5.9.4",
|
|
68
|
+
"@lingui/core": "5.9.4",
|
|
69
|
+
"@lingui/format-po": "5.9.4",
|
|
70
|
+
"@lingui/message-utils": "5.9.4",
|
|
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": "
|
|
99
|
+
"gitHead": "8303dbf025a55bcbeefbb1d1e5dcbebaa3f77094"
|
|
100
100
|
}
|