lingo.dev 0.114.2 → 0.114.4

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
@@ -9917,7 +9917,8 @@ var i18n_default = new Command14().command("i18n").description(
9917
9917
  (val, prev) => prev ? [...prev, val] : [val]
9918
9918
  ).option(
9919
9919
  "--key <key>",
9920
- "Limit processing to a single translation key by exact match. Filters all buckets and locales to process only this key, useful for testing or debugging specific translations. Example: auth.login.title"
9920
+ "Limit processing to a single translation key by exact match. Filters all buckets and locales to process only this key, useful for testing or debugging specific translations. Example: auth.login.title",
9921
+ (val) => encodeURIComponent(val)
9921
9922
  ).option(
9922
9923
  "--file [files...]",
9923
9924
  "Filter processing to only buckets whose file paths contain these substrings. Example: 'components' to process only files in components directories"
@@ -12066,7 +12067,7 @@ var run_default = new Command18().command("run").description("Run localization p
12066
12067
  ).option(
12067
12068
  "--key <key>",
12068
12069
  "Filter keys by prefix matching on dot-separated paths. Example: auth.login to match all keys starting with auth.login. Repeat for multiple patterns",
12069
- (val, prev) => prev ? [...prev, val] : [val]
12070
+ (val, prev) => prev ? [...prev, encodeURIComponent(val)] : [encodeURIComponent(val)]
12070
12071
  ).option(
12071
12072
  "--force",
12072
12073
  "Force re-translation of all keys, bypassing change detection. Useful when you want to regenerate translations with updated AI models or translation settings"
@@ -13510,7 +13511,7 @@ async function renderHero2() {
13510
13511
  // package.json
13511
13512
  var package_default = {
13512
13513
  name: "lingo.dev",
13513
- version: "0.114.2",
13514
+ version: "0.114.4",
13514
13515
  description: "Lingo.dev CLI",
13515
13516
  private: false,
13516
13517
  publishConfig: {
@@ -13775,7 +13776,8 @@ var purge_default = new Command22().command("purge").description(
13775
13776
  "Filter which file paths to purge by matching against path patterns. Only paths containing any of these values will be processed. Examples: --file messages.json --file admin/"
13776
13777
  ).option(
13777
13778
  "--key <key>",
13778
- "Filter which keys to delete using prefix matching on dot-separated key paths. Example: 'auth.login' matches all keys starting with auth.login. Omit this option to delete ALL keys. Keys marked as locked or ignored in i18n.json are automatically skipped"
13779
+ "Filter which keys to delete using prefix matching on dot-separated key paths. Example: 'auth.login' matches all keys starting with auth.login. Omit this option to delete ALL keys. Keys marked as locked or ignored in i18n.json are automatically skipped",
13780
+ (val) => encodeURIComponent(val)
13779
13781
  ).option(
13780
13782
  "--locale <locale>",
13781
13783
  "Limit purging to specific target locale codes from i18n.json. Repeat the flag to include multiple locales. Defaults to all configured target locales. Warning: Including the source locale will delete content from it as well.",