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.cjs CHANGED
@@ -3013,9 +3013,9 @@ function createInjectLocaleLoader(injectLocaleKeys) {
3013
3013
 
3014
3014
  function createLockedKeysLoader(lockedKeys, isCacheRestore = false) {
3015
3015
  return createLoader({
3016
- pull: async (locale, data) => _lodash2.default.chain(data).pickBy((value, key) => !lockedKeys.includes(key)).value(),
3016
+ pull: async (locale, data) => _lodash2.default.chain(data).pickBy((value, key) => !lockedKeys.some((lockedKey) => key.startsWith(lockedKey))).value(),
3017
3017
  push: async (locale, data, originalInput) => {
3018
- const lockedSubObject = _lodash2.default.chain(originalInput).pickBy((value, key) => lockedKeys.includes(key)).value();
3018
+ const lockedSubObject = _lodash2.default.chain(originalInput).pickBy((value, key) => lockedKeys.some((lockedKey) => key.startsWith(lockedKey))).value();
3019
3019
  if (isCacheRestore) {
3020
3020
  return _lodash2.default.merge({}, data, lockedSubObject);
3021
3021
  } else {
@@ -4978,7 +4978,7 @@ var ci_default = new (0, _interactivecommander.Command)().command("ci").descript
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: {