i18next-cli 1.51.6 → 1.51.7

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/dist/cjs/cli.js CHANGED
@@ -31,7 +31,7 @@ const program = new commander.Command();
31
31
  program
32
32
  .name('i18next-cli')
33
33
  .description('A unified, high-performance i18next CLI.')
34
- .version('1.51.6'); // This string is replaced with the actual version at build time by rollup
34
+ .version('1.51.7'); // This string is replaced with the actual version at build time by rollup
35
35
  // new: global config override option
36
36
  program.option('-c, --config <path>', 'Path to i18next-cli config file (overrides detection)');
37
37
  program
@@ -925,12 +925,12 @@ async function getTranslations(keys, objectKeys, config, { syncPrimaryWithDefaul
925
925
  const nsKeys = keysByNS.get(nsKey) || [];
926
926
  if (isTopLevel(nsKey)) {
927
927
  // keys without namespace -> merged into top-level of the merged file
928
- const built = buildNewTranslationsForNs(nsKeys, existingMergedFile, config, locale, undefined, preservePatterns, objectKeys, syncPrimaryWithDefaults, undefined, logger$1);
928
+ const built = buildNewTranslationsForNs(nsKeys, existingMergedFile, config, locale, undefined, preservePatterns, objectKeys, syncPrimaryWithDefaults, syncAll, logger$1);
929
929
  Object.assign(newMergedTranslations, built);
930
930
  }
931
931
  else {
932
932
  const existingTranslations = existingMergedFile[nsKey] || {};
933
- newMergedTranslations[nsKey] = buildNewTranslationsForNs(nsKeys, existingTranslations, config, locale, nsKey, preservePatterns, objectKeys, syncPrimaryWithDefaults, undefined, logger$1);
933
+ newMergedTranslations[nsKey] = buildNewTranslationsForNs(nsKeys, existingTranslations, config, locale, nsKey, preservePatterns, objectKeys, syncPrimaryWithDefaults, syncAll, logger$1);
934
934
  }
935
935
  }
936
936
  // Preserve ignored namespaces as-is from the existing merged file
package/dist/esm/cli.js CHANGED
@@ -29,7 +29,7 @@ const program = new Command();
29
29
  program
30
30
  .name('i18next-cli')
31
31
  .description('A unified, high-performance i18next CLI.')
32
- .version('1.51.6'); // This string is replaced with the actual version at build time by rollup
32
+ .version('1.51.7'); // This string is replaced with the actual version at build time by rollup
33
33
  // new: global config override option
34
34
  program.option('-c, --config <path>', 'Path to i18next-cli config file (overrides detection)');
35
35
  program
@@ -923,12 +923,12 @@ async function getTranslations(keys, objectKeys, config, { syncPrimaryWithDefaul
923
923
  const nsKeys = keysByNS.get(nsKey) || [];
924
924
  if (isTopLevel(nsKey)) {
925
925
  // keys without namespace -> merged into top-level of the merged file
926
- const built = buildNewTranslationsForNs(nsKeys, existingMergedFile, config, locale, undefined, preservePatterns, objectKeys, syncPrimaryWithDefaults, undefined, logger);
926
+ const built = buildNewTranslationsForNs(nsKeys, existingMergedFile, config, locale, undefined, preservePatterns, objectKeys, syncPrimaryWithDefaults, syncAll, logger);
927
927
  Object.assign(newMergedTranslations, built);
928
928
  }
929
929
  else {
930
930
  const existingTranslations = existingMergedFile[nsKey] || {};
931
- newMergedTranslations[nsKey] = buildNewTranslationsForNs(nsKeys, existingTranslations, config, locale, nsKey, preservePatterns, objectKeys, syncPrimaryWithDefaults, undefined, logger);
931
+ newMergedTranslations[nsKey] = buildNewTranslationsForNs(nsKeys, existingTranslations, config, locale, nsKey, preservePatterns, objectKeys, syncPrimaryWithDefaults, syncAll, logger);
932
932
  }
933
933
  }
934
934
  // Preserve ignored namespaces as-is from the existing merged file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18next-cli",
3
- "version": "1.51.6",
3
+ "version": "1.51.7",
4
4
  "description": "A unified, high-performance i18next CLI.",
5
5
  "type": "module",
6
6
  "bin": {