lingo.dev 0.85.4 → 0.85.6

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
@@ -3658,7 +3658,9 @@ var i18n_default = new (0, _interactivecommander.Command)().command("i18n").desc
3658
3658
  ora.succeed("Buckets retrieved");
3659
3659
  if (_optionalChain([flags, 'access', _145 => _145.file, 'optionalAccess', _146 => _146.length])) {
3660
3660
  buckets = buckets.map((bucket) => {
3661
- const paths = bucket.paths.filter((path18) => flags.file.find((file) => _optionalChain([path18, 'access', _147 => _147.pathPattern, 'optionalAccess', _148 => _148.match, 'call', _149 => _149(file)])));
3661
+ const paths = bucket.paths.filter(
3662
+ (path18) => flags.file.find((file) => _optionalChain([path18, 'access', _147 => _147.pathPattern, 'optionalAccess', _148 => _148.includes, 'call', _149 => _149(file)]))
3663
+ );
3662
3664
  return { ...bucket, paths };
3663
3665
  }).filter((bucket) => bucket.paths.length > 0);
3664
3666
  if (buckets.length === 0) {
@@ -5458,7 +5460,7 @@ function validateParams2(i18nConfig, flags) {
5458
5460
  // package.json
5459
5461
  var package_default = {
5460
5462
  name: "lingo.dev",
5461
- version: "0.85.4",
5463
+ version: "0.85.6",
5462
5464
  description: "Lingo.dev CLI",
5463
5465
  private: false,
5464
5466
  publishConfig: {
@@ -5524,7 +5526,6 @@ var package_default = {
5524
5526
  "@lingo.dev/_spec": "workspace:*",
5525
5527
  "@modelcontextprotocol/sdk": "^1.5.0",
5526
5528
  "@paralleldrive/cuid2": "^2.2.2",
5527
- "@types/mdast": "^4.0.4",
5528
5529
  ai: "^4.3.2",
5529
5530
  bitbucket: "^2.12.0",
5530
5531
  chalk: "^5.4.1",
@@ -5551,14 +5552,7 @@ var package_default = {
5551
5552
  json5: "^2.2.3",
5552
5553
  jsonrepair: "^3.11.2",
5553
5554
  lodash: "^4.17.21",
5554
- "markdown-it": "^14.1.0",
5555
- "markdown-it-front-matter": "^0.2.4",
5556
5555
  marked: "^15.0.6",
5557
- "mdast-util-from-markdown": "^2.0.2",
5558
- "mdast-util-frontmatter": "^2.0.1",
5559
- "mdast-util-gfm": "^3.1.0",
5560
- "mdast-util-mdx": "^3.0.0",
5561
- "mdast-util-to-markdown": "^2.1.2",
5562
5556
  "node-webvtt": "^1.9.4",
5563
5557
  "object-hash": "^3.0.0",
5564
5558
  octokit: "^4.0.2",
@@ -5569,20 +5563,15 @@ var package_default = {
5569
5563
  plist: "^3.1.0",
5570
5564
  "posthog-node": "^4.11.2",
5571
5565
  prettier: "^3.4.2",
5572
- "properties-parser": "^0.6.0",
5573
5566
  "remark-frontmatter": "^5.0.0",
5574
5567
  "remark-gfm": "^4.0.1",
5575
5568
  "remark-mdx": "^3.1.0",
5576
5569
  "remark-mdx-frontmatter": "^5.1.0",
5577
5570
  "remark-parse": "^11.0.0",
5578
5571
  "remark-stringify": "^11.0.0",
5579
- slugify: "^1.6.6",
5580
5572
  "srt-parser-2": "^1.2.3",
5581
- typescript: "^5.7.2",
5582
5573
  unified: "^11.0.5",
5583
- "unist-util-visit": "^5.0.0",
5584
5574
  vfile: "^6.0.3",
5585
- vitest: "^3.1.2",
5586
5575
  xliff: "^6.2.1",
5587
5576
  xml2js: "^0.6.2",
5588
5577
  xpath: "^0.0.34",
@@ -5600,14 +5589,15 @@ var package_default = {
5600
5589
  "@types/is-url": "^1.2.32",
5601
5590
  "@types/jsdom": "^21.1.7",
5602
5591
  "@types/lodash": "^4.17.16",
5603
- "@types/markdown-it": "^14.1.2",
5592
+ "@types/mdast": "^4.0.4",
5604
5593
  "@types/node": "^22.10.2",
5605
5594
  "@types/node-gettext": "^3.0.6",
5606
5595
  "@types/object-hash": "^3.0.6",
5607
5596
  "@types/plist": "^3.0.5",
5608
- "@types/properties-parser": "^0.3.3",
5609
5597
  "@types/xml2js": "^0.4.14",
5610
- tsup: "^8.3.5"
5598
+ tsup: "^8.3.5",
5599
+ typescript: "^5.7.2",
5600
+ vitest: "^3.1.2"
5611
5601
  },
5612
5602
  engines: {
5613
5603
  node: ">=18"