lingo.dev 0.113.4 → 0.113.5
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/build/cli.cjs +11 -2
- package/build/cli.cjs.map +1 -1
- package/build/cli.mjs +11 -2
- package/build/cli.mjs.map +1 -1
- package/package.json +1 -1
package/build/cli.cjs
CHANGED
|
@@ -8989,7 +8989,16 @@ var i18n_default = new (0, _interactivecommander.Command)().command("i18n").desc
|
|
|
8989
8989
|
`Applying changes to ${bucketPath} (${targetLocale})`
|
|
8990
8990
|
);
|
|
8991
8991
|
}
|
|
8992
|
-
const finalDiffSize = _lodash2.default.chain(finalTargetData).omitBy((value, key) =>
|
|
8992
|
+
const finalDiffSize = _lodash2.default.chain(finalTargetData).omitBy((value, key) => {
|
|
8993
|
+
const targetValue = targetData[key];
|
|
8994
|
+
if (isICUPluralObject(value) && isICUPluralObject(targetValue)) {
|
|
8995
|
+
return _lodash2.default.isEqual(
|
|
8996
|
+
{ icu: value.icu, _meta: value._meta },
|
|
8997
|
+
{ icu: targetValue.icu, _meta: targetValue._meta }
|
|
8998
|
+
);
|
|
8999
|
+
}
|
|
9000
|
+
return value === targetValue;
|
|
9001
|
+
}).size().value();
|
|
8993
9002
|
await bucketLoader.push(targetLocale, finalTargetData);
|
|
8994
9003
|
if (finalDiffSize > 0 || flags.force) {
|
|
8995
9004
|
bucketOra.succeed(
|
|
@@ -12203,7 +12212,7 @@ async function renderHero2() {
|
|
|
12203
12212
|
// package.json
|
|
12204
12213
|
var package_default = {
|
|
12205
12214
|
name: "lingo.dev",
|
|
12206
|
-
version: "0.113.
|
|
12215
|
+
version: "0.113.5",
|
|
12207
12216
|
description: "Lingo.dev CLI",
|
|
12208
12217
|
private: false,
|
|
12209
12218
|
publishConfig: {
|