lingo.dev 0.82.0 → 0.82.1

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.mjs CHANGED
@@ -3013,9 +3013,9 @@ function createInjectLocaleLoader(injectLocaleKeys) {
3013
3013
  import _19 from "lodash";
3014
3014
  function createLockedKeysLoader(lockedKeys, isCacheRestore = false) {
3015
3015
  return createLoader({
3016
- pull: async (locale, data) => _19.chain(data).pickBy((value, key) => !lockedKeys.includes(key)).value(),
3016
+ pull: async (locale, data) => _19.chain(data).pickBy((value, key) => !lockedKeys.some((lockedKey) => key.startsWith(lockedKey))).value(),
3017
3017
  push: async (locale, data, originalInput) => {
3018
- const lockedSubObject = _19.chain(originalInput).pickBy((value, key) => lockedKeys.includes(key)).value();
3018
+ const lockedSubObject = _19.chain(originalInput).pickBy((value, key) => lockedKeys.some((lockedKey) => key.startsWith(lockedKey))).value();
3019
3019
  if (isCacheRestore) {
3020
3020
  return _19.merge({}, data, lockedSubObject);
3021
3021
  } else {
@@ -4978,7 +4978,7 @@ var ci_default = new Command10().command("ci").description("Run Lingo.dev CI/CD
4978
4978
  // package.json
4979
4979
  var package_default = {
4980
4980
  name: "lingo.dev",
4981
- version: "0.82.0",
4981
+ version: "0.82.1",
4982
4982
  description: "Lingo.dev CLI",
4983
4983
  private: false,
4984
4984
  publishConfig: {