lingo.dev 0.79.4 → 0.79.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 +5 -4
- package/build/cli.cjs.map +1 -1
- package/build/cli.mjs +5 -4
- package/build/cli.mjs.map +1 -1
- package/package.json +3 -3
package/build/cli.mjs
CHANGED
|
@@ -2993,12 +2993,13 @@ function createInjectLocaleLoader(injectLocaleKeys) {
|
|
|
2993
2993
|
if (!injectLocaleKeys) {
|
|
2994
2994
|
return data;
|
|
2995
2995
|
}
|
|
2996
|
+
const mergedData = _18.merge({}, originalInput, data);
|
|
2996
2997
|
injectLocaleKeys.forEach((key) => {
|
|
2997
|
-
if (_18.get(
|
|
2998
|
-
_18.set(
|
|
2998
|
+
if (_18.get(mergedData, key) === originalLocale) {
|
|
2999
|
+
_18.set(mergedData, key, locale);
|
|
2999
3000
|
}
|
|
3000
3001
|
});
|
|
3001
|
-
return
|
|
3002
|
+
return mergedData;
|
|
3002
3003
|
}
|
|
3003
3004
|
});
|
|
3004
3005
|
}
|
|
@@ -4619,7 +4620,7 @@ var ci_default = new Command10().command("ci").description("Run Lingo.dev CI/CD
|
|
|
4619
4620
|
// package.json
|
|
4620
4621
|
var package_default = {
|
|
4621
4622
|
name: "lingo.dev",
|
|
4622
|
-
version: "0.79.
|
|
4623
|
+
version: "0.79.5",
|
|
4623
4624
|
description: "Lingo.dev CLI",
|
|
4624
4625
|
private: false,
|
|
4625
4626
|
publishConfig: {
|