@lingo.dev/_compiler 0.8.7 → 0.8.9

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.
Files changed (32) hide show
  1. package/build/{acorn-QFXI4BEA.cjs → acorn-H37LPRUJ.cjs} +5 -5
  2. package/build/{acorn-GCP5ZV2A.mjs → acorn-TSED2ZW2.mjs} +4 -4
  3. package/build/{angular-OXTGJOFJ.cjs → angular-DBMVLDKI.cjs} +5 -6
  4. package/build/{angular-JQSQXFBY.mjs → angular-OBBMKZBS.mjs} +4 -5
  5. package/build/{babel-EJ7OIZP4.cjs → babel-76IVLWL7.cjs} +3 -3
  6. package/build/{babel-R5G642DR.mjs → babel-LRHLMQHJ.mjs} +2 -2
  7. package/build/{chunk-AKV7BRP5.cjs → chunk-NKMWW3RS.cjs} +39 -39
  8. package/build/{chunk-AKFJBAG4.cjs → chunk-O75UYLMX.cjs} +1 -1
  9. package/build/{chunk-VG5I5JDL.mjs → chunk-OAQHCRD4.mjs} +33 -33
  10. package/build/{estree-XLH46TSP.mjs → estree-LU4FIQBG.mjs} +13 -13
  11. package/build/{estree-NGS2AYBH.cjs → estree-X6XJ6F3E.cjs} +14 -14
  12. package/build/{flow-DHPXOK5S.mjs → flow-2AIHOIVA.mjs} +3 -3
  13. package/build/{flow-RDDDCZAV.cjs → flow-6TJTSSIZ.cjs} +4 -4
  14. package/build/{glimmer-CAMUE4OK.cjs → glimmer-QMODKDQ6.cjs} +1 -1
  15. package/build/{graphql-YJNPH5D2.cjs → graphql-SQICRJKN.cjs} +1 -1
  16. package/build/{html-ZAWF5C3B.mjs → html-6E5RYVQV.mjs} +2 -2
  17. package/build/{html-TYMOOA3H.cjs → html-VZRXWOHI.cjs} +3 -3
  18. package/build/index.cjs +25 -25
  19. package/build/index.mjs +3 -3
  20. package/build/lingo-turbopack-loader.cjs +4 -4
  21. package/build/lingo-turbopack-loader.mjs +1 -1
  22. package/build/{markdown-EW4GGIPV.cjs → markdown-GKZ3QYSF.cjs} +5 -5
  23. package/build/{markdown-WJTZKU3V.mjs → markdown-WSFBOJYK.mjs} +4 -4
  24. package/build/{meriyah-OWUHWYCU.cjs → meriyah-JTLZ4L4D.cjs} +3 -3
  25. package/build/{meriyah-FBYDJ6EA.mjs → meriyah-W5CXPHUI.mjs} +2 -2
  26. package/build/{postcss-3TJJTQXP.mjs → postcss-UJ655DUW.mjs} +3 -3
  27. package/build/{postcss-MQS25GNZ.cjs → postcss-YO2YIECD.cjs} +4 -4
  28. package/build/{typescript-FJLY3MEC.mjs → typescript-FXTHOZH7.mjs} +2 -2
  29. package/build/{typescript-Z5DYTVQY.cjs → typescript-L4COLYNU.cjs} +3 -3
  30. package/build/{yaml-MMD4LQP5.mjs → yaml-3XEDC4EB.mjs} +1 -1
  31. package/build/{yaml-FHNA2CVI.cjs → yaml-QEWKPLU4.cjs} +2 -2
  32. package/package.json +4 -4
@@ -2376,7 +2376,7 @@ function Fu(e) {
2376
2376
  var m2 = Fu;
2377
2377
  function Nu(e, n, t) {
2378
2378
  let u = e.originalText.slice(n, t);
2379
- for (let o of e[Symbol.for("comments")]) {
2379
+ for (let o of e[/* @__PURE__ */ Symbol.for("comments")]) {
2380
2380
  let i = M(o);
2381
2381
  if (i > t) break;
2382
2382
  let l = O(o);
@@ -2513,7 +2513,7 @@ function Uu(e, n) {
2513
2513
  break;
2514
2514
  case "TSEnumDeclaration":
2515
2515
  if (!d.body) {
2516
- let g = O(d.id), { members: a } = d, s = hn({ originalText: u, [Symbol.for("comments")]: o }, g, a[0] ? M(a[0]) : O(d)), h = g + s.indexOf("{");
2516
+ let g = O(d.id), { members: a } = d, s = hn({ originalText: u, [/* @__PURE__ */ Symbol.for("comments")]: o }, g, a[0] ? M(a[0]) : O(d)), h = g + s.indexOf("{");
2517
2517
  d.body = { type: "TSEnumBody", members: a, range: [h, O(d)] }, delete d.members;
2518
2518
  }
2519
2519
  break;
@@ -242,8 +242,8 @@ var lt = g((Dv, Ii) => {
242
242
  });
243
243
  var Vt = g((Mv, us) => {
244
244
  "use strict";
245
- us.exports.isClean = Symbol("isClean");
246
- us.exports.my = Symbol("my");
245
+ us.exports.isClean = /* @__PURE__ */ Symbol("isClean");
246
+ us.exports.my = /* @__PURE__ */ Symbol("my");
247
247
  });
248
248
  var pt = g((Bv, qi) => {
249
249
  "use strict";
@@ -648,7 +648,7 @@ var ps = g((Vv, Ki) => {
648
648
  });
649
649
  var De = g((Hv, eo) => {
650
650
  "use strict";
651
- var { nanoid: Mc } = Hi(), { isAbsolute: ms, resolve: ys } = {}, { SourceMapConsumer: Bc, SourceMapGenerator: Uc } = ji(), { fileURLToPath: Qi, pathToFileURL: zt } = {}, Xi = Gt(), Fc = ps(), hs = os(), ds = Symbol("lineToIndexCache"), $c = !!(Bc && Uc), Ji = !!(ys && ms);
651
+ var { nanoid: Mc } = Hi(), { isAbsolute: ms, resolve: ys } = {}, { SourceMapConsumer: Bc, SourceMapGenerator: Uc } = ji(), { fileURLToPath: Qi, pathToFileURL: zt } = {}, Xi = Gt(), Fc = ps(), hs = os(), ds = /* @__PURE__ */ Symbol("lineToIndexCache"), $c = !!(Bc && Uc), Ji = !!(ys && ms);
652
652
  function Zi(t) {
653
653
  if (t[ds]) return t[ds];
654
654
  let e = t.css.split(`
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class; var _class2;require('./chunk-AKFJBAG4.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class; var _class2;require('./chunk-O75UYLMX.cjs');
2
2
 
3
3
  // ../../node_modules/.pnpm/prettier@3.6.2/node_modules/prettier/plugins/postcss.mjs
4
4
  var xl = Object.create;
@@ -242,8 +242,8 @@ var lt = g((Dv, Ii) => {
242
242
  });
243
243
  var Vt = g((Mv, us) => {
244
244
  "use strict";
245
- us.exports.isClean = Symbol("isClean");
246
- us.exports.my = Symbol("my");
245
+ us.exports.isClean = /* @__PURE__ */ Symbol("isClean");
246
+ us.exports.my = /* @__PURE__ */ Symbol("my");
247
247
  });
248
248
  var pt = g((Bv, qi) => {
249
249
  "use strict";
@@ -648,7 +648,7 @@ var ps = g((Vv, Ki) => {
648
648
  });
649
649
  var De = g((Hv, eo) => {
650
650
  "use strict";
651
- var { nanoid: Mc } = Hi(), { isAbsolute: ms, resolve: ys } = {}, { SourceMapConsumer: Bc, SourceMapGenerator: Uc } = ji(), { fileURLToPath: Qi, pathToFileURL: zt } = {}, Xi = Gt(), Fc = ps(), hs = os(), ds = Symbol("lineToIndexCache"), $c = !!(Bc && Uc), Ji = !!(ys && ms);
651
+ var { nanoid: Mc } = Hi(), { isAbsolute: ms, resolve: ys } = {}, { SourceMapConsumer: Bc, SourceMapGenerator: Uc } = ji(), { fileURLToPath: Qi, pathToFileURL: zt } = {}, Xi = Gt(), Fc = ps(), hs = os(), ds = /* @__PURE__ */ Symbol("lineToIndexCache"), $c = !!(Bc && Uc), Ji = !!(ys && ms);
652
652
  function Zi(t) {
653
653
  if (t[ds]) return t[ds];
654
654
  let e = t.css.split(`
@@ -12938,7 +12938,7 @@ function C4(e) {
12938
12938
  var Za = C4;
12939
12939
  function D4(e, t, a) {
12940
12940
  let o = e.originalText.slice(t, a);
12941
- for (let m of e[Symbol.for("comments")]) {
12941
+ for (let m of e[/* @__PURE__ */ Symbol.for("comments")]) {
12942
12942
  let v = cn(m);
12943
12943
  if (v > a) break;
12944
12944
  let E = Xt(m);
@@ -13075,7 +13075,7 @@ function U4(e, t) {
13075
13075
  break;
13076
13076
  case "TSEnumDeclaration":
13077
13077
  if (!c.body) {
13078
- let W = Xt(c.id), { members: h } = c, y = T0({ originalText: o, [Symbol.for("comments")]: m }, W, h[0] ? cn(h[0]) : Xt(c)), g = W + y.indexOf("{");
13078
+ let W = Xt(c.id), { members: h } = c, y = T0({ originalText: o, [/* @__PURE__ */ Symbol.for("comments")]: m }, W, h[0] ? cn(h[0]) : Xt(c)), g = W + y.indexOf("{");
13079
13079
  c.body = { type: "TSEnumBody", members: h, range: [g, Xt(c)] }, delete c.members;
13080
13080
  }
13081
13081
  break;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }require('./chunk-AKFJBAG4.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }require('./chunk-O75UYLMX.cjs');
2
2
 
3
3
  // ../../node_modules/.pnpm/prettier@3.6.2/node_modules/prettier/plugins/typescript.mjs
4
4
  var xd = Object.defineProperty;
@@ -12938,7 +12938,7 @@ function C4(e) {
12938
12938
  var Za = C4;
12939
12939
  function D4(e, t, a) {
12940
12940
  let o = e.originalText.slice(t, a);
12941
- for (let m of e[Symbol.for("comments")]) {
12941
+ for (let m of e[/* @__PURE__ */ Symbol.for("comments")]) {
12942
12942
  let v = cn(m);
12943
12943
  if (v > a) break;
12944
12944
  let E = Xt(m);
@@ -13075,7 +13075,7 @@ function U4(e, t) {
13075
13075
  break;
13076
13076
  case "TSEnumDeclaration":
13077
13077
  if (!c.body) {
13078
- let W = Xt(c.id), { members: h } = c, y = T0({ originalText: o, [Symbol.for("comments")]: m }, W, h[0] ? cn(h[0]) : Xt(c)), g = W + y.indexOf("{");
13078
+ let W = Xt(c.id), { members: h } = c, y = T0({ originalText: o, [/* @__PURE__ */ Symbol.for("comments")]: m }, W, h[0] ? cn(h[0]) : Xt(c)), g = W + y.indexOf("{");
13079
13079
  c.body = { type: "TSEnumBody", members: h, range: [g, Xt(c)] }, delete c.members;
13080
13080
  }
13081
13081
  break;
@@ -3399,7 +3399,7 @@ function lo(t, e, n) {
3399
3399
  if (a) return [": ", v(2, m)];
3400
3400
  if (ee(o) || !ft(i.content)) return ["? ", v(2, l), N, ...t.map(() => [n(), N], "value", "leadingComments"), ": ", v(2, m)];
3401
3401
  if (uo(i.content) && !ee(i.content) && !ie(i.content) && !V(i.content) && !I(i) && !ee(o.content) && !ie(o.content) && !I(o) && Tn(o.content, e)) return [l, f, ": ", m];
3402
- let d = Symbol("mappingKey"), y = Re([at("? "), Re(v(2, l), { id: d })]), h = [N, ": ", v(2, m)], g = [f, ":"];
3402
+ let d = /* @__PURE__ */ Symbol("mappingKey"), y = Re([at("? "), Re(v(2, l), { id: d })]), h = [N, ": ", v(2, m)], g = [f, ":"];
3403
3403
  I(o) && o.content && K(o.content, ["flowMapping", "flowSequence"]) && o.content.children.length === 0 ? g.push(" ") : ee(o.content) || I(o) && o.content && !K(o.content, ["mapping", "sequence"]) || s.type === "mapping" && V(i.content) && ft(o.content) || K(o.content, ["mapping", "sequence"]) && o.content.tag === null && o.content.anchor === null ? g.push(N) : o.content ? g.push(ne) : V(o) && g.push(" "), g.push(m);
3404
3404
  let w = v(e.tabWidth, g);
3405
3405
  return Tn(i.content, e) && !ee(i.content) && !ie(i.content) && !I(i) ? yn([[l, w]]) : yn([[y, at(h, w, { groupId: d })]]);
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class; var _class2;require('./chunk-AKFJBAG4.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class; var _class2;require('./chunk-O75UYLMX.cjs');
2
2
 
3
3
  // ../../node_modules/.pnpm/prettier@3.6.2/node_modules/prettier/plugins/yaml.mjs
4
4
  var Yi = Object.create;
@@ -3399,7 +3399,7 @@ function lo(t, e, n) {
3399
3399
  if (a) return [": ", v(2, m)];
3400
3400
  if (ee(o) || !ft(i.content)) return ["? ", v(2, l), N, ...t.map(() => [n(), N], "value", "leadingComments"), ": ", v(2, m)];
3401
3401
  if (uo(i.content) && !ee(i.content) && !ie(i.content) && !V(i.content) && !I(i) && !ee(o.content) && !ie(o.content) && !I(o) && Tn(o.content, e)) return [l, f, ": ", m];
3402
- let d = Symbol("mappingKey"), y = Re([at("? "), Re(v(2, l), { id: d })]), h = [N, ": ", v(2, m)], g = [f, ":"];
3402
+ let d = /* @__PURE__ */ Symbol("mappingKey"), y = Re([at("? "), Re(v(2, l), { id: d })]), h = [N, ": ", v(2, m)], g = [f, ":"];
3403
3403
  I(o) && o.content && K(o.content, ["flowMapping", "flowSequence"]) && o.content.children.length === 0 ? g.push(" ") : ee(o.content) || I(o) && o.content && !K(o.content, ["mapping", "sequence"]) || s.type === "mapping" && V(i.content) && ft(o.content) || K(o.content, ["mapping", "sequence"]) && o.content.tag === null && o.content.anchor === null ? g.push(N) : o.content ? g.push(ne) : V(o) && g.push(" "), g.push(m);
3404
3404
  let w = v(e.tabWidth, g);
3405
3405
  return Tn(i.content, e) && !ee(i.content) && !ie(i.content) && !I(i) ? yn([[l, w]]) : yn([[y, at(h, w, { groupId: d })]]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingo.dev/_compiler",
3
- "version": "0.8.7",
3
+ "version": "0.8.9",
4
4
  "description": "Lingo.dev Compiler",
5
5
  "private": false,
6
6
  "repository": {
@@ -37,7 +37,7 @@
37
37
  "@types/lodash": "4.17.21",
38
38
  "@types/object-hash": "3.0.6",
39
39
  "@types/react": "19.2.7",
40
- "next": "15.2.6",
40
+ "next": "15.3.8",
41
41
  "tsup": "8.5.1",
42
42
  "typescript": "5.9.3",
43
43
  "vitest": "4.0.13"
@@ -65,8 +65,8 @@
65
65
  "posthog-node": "5.14.0",
66
66
  "unplugin": "2.3.11",
67
67
  "zod": "3.25.76",
68
- "@lingo.dev/_sdk": "0.13.4",
69
- "@lingo.dev/_spec": "0.44.4"
68
+ "@lingo.dev/_sdk": "0.13.5",
69
+ "@lingo.dev/_spec": "0.44.5"
70
70
  },
71
71
  "scripts": {
72
72
  "dev": "tsup --watch",