lingo.dev 0.117.5 → 0.117.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
@@ -2732,16 +2732,9 @@ function appendResourceNode(document, resourceNode) {
2732
2732
  function setTextualNodeContent(node, value, useCdata) {
2733
2733
  const escapedValue = useCdata ? escapeApostrophesOnly(value) : escapeAndroidString(value);
2734
2734
  node._ = escapedValue;
2735
- node.$$ = _nullishCoalesce(node.$$, () => ( []));
2736
- let textNode = node.$$.find(
2737
- (child) => child["#name"] === "__text__" || child["#name"] === "__cdata"
2738
- );
2739
- if (!textNode) {
2740
- textNode = {};
2741
- node.$$.push(textNode);
2742
- }
2743
- textNode["#name"] = useCdata ? "__cdata" : "__text__";
2744
- textNode._ = escapedValue;
2735
+ node.$$ = [
2736
+ { "#name": useCdata ? "__cdata" : "__text__", _: escapedValue }
2737
+ ];
2745
2738
  }
2746
2739
  function buildResourceNameMap(document) {
2747
2740
  const map = /* @__PURE__ */ new Map();
@@ -13843,7 +13836,7 @@ async function renderHero2() {
13843
13836
  // package.json
13844
13837
  var package_default = {
13845
13838
  name: "lingo.dev",
13846
- version: "0.117.5",
13839
+ version: "0.117.6",
13847
13840
  description: "Lingo.dev CLI",
13848
13841
  private: false,
13849
13842
  publishConfig: {