lingo.dev 0.117.3 → 0.117.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
@@ -2229,22 +2229,13 @@ function walkAndApply(node, path19, metadata) {
2229
2229
  }
2230
2230
  }
2231
2231
  function isScalar(node) {
2232
- if (node?.constructor?.name === "Scalar") {
2233
- return true;
2234
- }
2235
- return node && typeof node === "object" && "value" in node && ("type" in node || "format" in node);
2232
+ return YAML.isScalar(node);
2236
2233
  }
2237
2234
  function isYAMLMap(node) {
2238
- if (node?.constructor?.name === "YAMLMap") {
2239
- return true;
2240
- }
2241
- return node && typeof node === "object" && "items" in node && Array.isArray(node.items) && !("value" in node);
2235
+ return YAML.isMap(node);
2242
2236
  }
2243
2237
  function isYAMLSeq(node) {
2244
- if (node?.constructor?.name === "YAMLSeq") {
2245
- return true;
2246
- }
2247
- return node && typeof node === "object" && "items" in node && Array.isArray(node.items) && !("type" in node) && !("value" in node);
2238
+ return YAML.isSeq(node);
2248
2239
  }
2249
2240
  function getKeyValue(key) {
2250
2241
  if (key === null || key === void 0) {
@@ -13648,7 +13639,7 @@ async function renderHero2() {
13648
13639
  // package.json
13649
13640
  var package_default = {
13650
13641
  name: "lingo.dev",
13651
- version: "0.117.3",
13642
+ version: "0.117.4",
13652
13643
  description: "Lingo.dev CLI",
13653
13644
  private: false,
13654
13645
  publishConfig: {