@marko/compiler 5.40.0 → 5.40.1

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/babel-utils.d.ts CHANGED
@@ -172,9 +172,7 @@ export interface ModuleFunctionPlugin<T = any> {
172
172
  export type ParsePlugin<T = any> = ModuleFunctionPlugin<T> | FunctionPlugin<T>;
173
173
 
174
174
  export type Plugin<T = any> =
175
- | ModulePlugin<T>
176
- | EnterExitPlugin<T>
177
- | FunctionPlugin<T>;
175
+ ModulePlugin<T> | EnterExitPlugin<T> | FunctionPlugin<T>;
178
176
 
179
177
  export function assertAllowedAttributes(
180
178
  path: t.NodePath<t.MarkoTag>,
package/dist/babel.js CHANGED
@@ -1287,7 +1287,7 @@ var require_lib$25 = /* @__PURE__ */ __commonJSMin(((exports) => {
1287
1287
  function getDefs(enabled) {
1288
1288
  return enabled ? defsOn : defsOff;
1289
1289
  }
1290
- const sometimesKeywords = new Set([
1290
+ const sometimesKeywords = /* @__PURE__ */ new Set([
1291
1291
  "as",
1292
1292
  "async",
1293
1293
  "from",
@@ -1408,9 +1408,9 @@ var require_lib$25 = /* @__PURE__ */ __commonJSMin(((exports) => {
1408
1408
  const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";
1409
1409
  if (process.emitWarning) process.emitWarning(message, "DeprecationWarning");
1410
1410
  else {
1411
- const deprecationError = new Error(message);
1411
+ const deprecationError = /* @__PURE__ */ new Error(message);
1412
1412
  deprecationError.name = "DeprecationWarning";
1413
- console.warn(new Error(message));
1413
+ console.warn(/* @__PURE__ */ new Error(message));
1414
1414
  }
1415
1415
  }
1416
1416
  colNumber = Math.max(colNumber, 0);
@@ -4356,7 +4356,7 @@ var require_lib$24 = /* @__PURE__ */ __commonJSMin(((exports) => {
4356
4356
  return code >= 48 && code <= 57;
4357
4357
  };
4358
4358
  const forbiddenNumericSeparatorSiblings = {
4359
- decBinOct: new Set([
4359
+ decBinOct: /* @__PURE__ */ new Set([
4360
4360
  46,
4361
4361
  66,
4362
4362
  69,
@@ -4366,7 +4366,7 @@ var require_lib$24 = /* @__PURE__ */ __commonJSMin(((exports) => {
4366
4366
  101,
4367
4367
  111
4368
4368
  ]),
4369
- hex: new Set([
4369
+ hex: /* @__PURE__ */ new Set([
4370
4370
  46,
4371
4371
  88,
4372
4372
  95,
@@ -4847,7 +4847,7 @@ var require_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
4847
4847
  if (fns.length >= 2 && "type" in fns[0] && fns[0].type === "array" && !("each" in fns[1])) throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`);
4848
4848
  return validate;
4849
4849
  }
4850
- const validTypeOpts = new Set([
4850
+ const validTypeOpts = /* @__PURE__ */ new Set([
4851
4851
  "aliases",
4852
4852
  "builder",
4853
4853
  "deprecatedAlias",
@@ -4857,7 +4857,7 @@ var require_utils$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
4857
4857
  "validate",
4858
4858
  "unionShape"
4859
4859
  ]);
4860
- const validFieldKeys = new Set([
4860
+ const validFieldKeys = /* @__PURE__ */ new Set([
4861
4861
  "default",
4862
4862
  "optional",
4863
4863
  "deprecated",
@@ -14138,7 +14138,7 @@ var require_isValidES3Identifier = /* @__PURE__ */ __commonJSMin(((exports) => {
14138
14138
  Object.defineProperty(exports, "__esModule", { value: true });
14139
14139
  exports.default = isValidES3Identifier;
14140
14140
  var _isValidIdentifier = require_isValidIdentifier();
14141
- const RESERVED_WORDS_ES3_ONLY = new Set([
14141
+ const RESERVED_WORDS_ES3_ONLY = /* @__PURE__ */ new Set([
14142
14142
  "abstract",
14143
14143
  "boolean",
14144
14144
  "byte",
@@ -15163,7 +15163,7 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
15163
15163
  ParseExpressionEmptyInput: "Unexpected parseExpression() input: The input is empty or contains only comments.",
15164
15164
  ParseExpressionExpectsEOF: ({ unexpected }) => `Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(unexpected)}\`.`
15165
15165
  };
15166
- const UnparenthesizedPipeBodyDescriptions = new Set([
15166
+ const UnparenthesizedPipeBodyDescriptions = /* @__PURE__ */ new Set([
15167
15167
  "ArrowFunctionExpression",
15168
15168
  "AssignmentExpression",
15169
15169
  "ConditionalExpression",
@@ -17064,7 +17064,7 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
17064
17064
  function isIteratorStart(current, next, next2) {
17065
17065
  return current === 64 && next === 64 && isIdentifierStart(next2);
17066
17066
  }
17067
- const reservedWordLikeSet = new Set([
17067
+ const reservedWordLikeSet = /* @__PURE__ */ new Set([
17068
17068
  "break",
17069
17069
  "case",
17070
17070
  "catch",
@@ -17270,7 +17270,7 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
17270
17270
  if (!this.scopeStack[0].declareFunctions.has(id.name)) super.checkLocalExport(id);
17271
17271
  }
17272
17272
  };
17273
- const reservedTypes = new Set([
17273
+ const reservedTypes = /* @__PURE__ */ new Set([
17274
17274
  "_",
17275
17275
  "any",
17276
17276
  "bool",
@@ -19581,7 +19581,8 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
19581
19581
  let semi = false;
19582
19582
  while (count++ < 10 && this.state.pos < this.length && !(semi = this.codePointAtPos(this.state.pos) === 59)) ++this.state.pos;
19583
19583
  if (semi) {
19584
- const entity = entities[this.input.slice(startPos, this.state.pos)];
19584
+ const desc = this.input.slice(startPos, this.state.pos);
19585
+ const entity = entities[desc];
19585
19586
  ++this.state.pos;
19586
19587
  if (entity) return entity;
19587
19588
  }
@@ -20249,7 +20250,7 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
20249
20250
  return code >= 48 && code <= 57;
20250
20251
  };
20251
20252
  const forbiddenNumericSeparatorSiblings = {
20252
- decBinOct: new Set([
20253
+ decBinOct: /* @__PURE__ */ new Set([
20253
20254
  46,
20254
20255
  66,
20255
20256
  69,
@@ -20259,7 +20260,7 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
20259
20260
  101,
20260
20261
  111
20261
20262
  ]),
20262
- hex: new Set([
20263
+ hex: /* @__PURE__ */ new Set([
20263
20264
  46,
20264
20265
  88,
20265
20266
  95,
@@ -20467,7 +20468,7 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
20467
20468
  function buildPosition(pos, lineStart, curLine) {
20468
20469
  return new Position(curLine, pos - lineStart, pos);
20469
20470
  }
20470
- const VALID_REGEX_FLAGS = new Set([
20471
+ const VALID_REGEX_FLAGS = /* @__PURE__ */ new Set([
20471
20472
  103,
20472
20473
  109,
20473
20474
  115,
@@ -30395,7 +30396,7 @@ var require_visitors = /* @__PURE__ */ __commonJSMin(((exports) => {
30395
30396
  for (const nodeType of Object.keys(visitor)) {
30396
30397
  if (nodeType === "enter" || nodeType === "exit") validateVisitorMethods(nodeType, visitor[nodeType]);
30397
30398
  if (shouldIgnoreKey(nodeType)) continue;
30398
- if (!TYPES.includes(nodeType)) throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse 7.29.0`);
30399
+ if (!TYPES.includes(nodeType)) throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse 7.29.7`);
30399
30400
  const visitors = visitor[nodeType];
30400
30401
  if (typeof visitors === "object") for (const visitorKey of Object.keys(visitors)) if (visitorKey === "enter" || visitorKey === "exit") validateVisitorMethods(`${nodeType}.${visitorKey}`, visitors[visitorKey]);
30401
30402
  else throw new Error(`You passed \`traverse()\` a visitor object with the property ${nodeType} that has the invalid property ${visitorKey}`);
@@ -31676,8 +31677,8 @@ var require_sourcemap_codec_umd = /* @__PURE__ */ __commonJSMin(((exports, modul
31676
31677
  var comma = ",".charCodeAt(0);
31677
31678
  var semicolon = ";".charCodeAt(0);
31678
31679
  var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
31679
- var intToChar = new Uint8Array(64);
31680
- var charToInt = new Uint8Array(128);
31680
+ var intToChar = /* @__PURE__ */ new Uint8Array(64);
31681
+ var charToInt = /* @__PURE__ */ new Uint8Array(128);
31681
31682
  for (let i = 0; i < chars.length; i++) {
31682
31683
  const c = chars.charCodeAt(i);
31683
31684
  intToChar[i] = c;
@@ -33062,7 +33063,8 @@ var require_source_map = /* @__PURE__ */ __commonJSMin(((exports) => {
33062
33063
  line,
33063
33064
  column
33064
33065
  });
33065
- if (!originalMapping.name && identifierNamePos) {
33066
+ if (originalMapping.name && (identifierNamePos || identifierName != null && originalMapping.column === column)) identifierName = originalMapping.name;
33067
+ else if (identifierNamePos) {
33066
33068
  const originalIdentifierMapping = (0, _traceMapping.originalPositionFor)(this._inputMap, identifierNamePos);
33067
33069
  if (originalIdentifierMapping.name) identifierName = originalIdentifierMapping.name;
33068
33070
  }
@@ -33154,9 +33156,9 @@ var require_buffer = /* @__PURE__ */ __commonJSMin(((exports) => {
33154
33156
  };
33155
33157
  return result;
33156
33158
  }
33157
- append(str, maybeNewline) {
33159
+ append(str, maybeNewline, ignoreMapping = false) {
33158
33160
  this._flush();
33159
- this._append(str, maybeNewline);
33161
+ this._append(str, maybeNewline, ignoreMapping);
33160
33162
  }
33161
33163
  appendChar(char) {
33162
33164
  this._flush();
@@ -33198,7 +33200,7 @@ var require_buffer = /* @__PURE__ */ __commonJSMin(((exports) => {
33198
33200
  position.column = 0;
33199
33201
  }
33200
33202
  }
33201
- _append(str, maybeNewline) {
33203
+ _append(str, maybeNewline, ignoreMapping) {
33202
33204
  const len = str.length;
33203
33205
  const position = this._position;
33204
33206
  const sourcePos = this._sourcePosition;
@@ -33209,7 +33211,7 @@ var require_buffer = /* @__PURE__ */ __commonJSMin(((exports) => {
33209
33211
  this._str = str;
33210
33212
  this._appendCount = 0;
33211
33213
  } else this._str += str;
33212
- const hasMap = this._map !== null;
33214
+ const hasMap = !ignoreMapping && this._map !== null;
33213
33215
  if (!maybeNewline && !hasMap) {
33214
33216
  position.column += len;
33215
33217
  return;
@@ -33280,13 +33282,16 @@ var require_buffer = /* @__PURE__ */ __commonJSMin(((exports) => {
33280
33282
  _normalizePosition(prop, loc, columnOffset) {
33281
33283
  this._flush();
33282
33284
  const pos = loc[prop];
33283
- const target = this._sourcePosition;
33284
33285
  if (pos) {
33285
- target.line = pos.line;
33286
- target.column = Math.max(pos.column + columnOffset, 0);
33287
- target.filename = loc.filename;
33286
+ this.setSourcePosition(pos.line, Math.max(pos.column + columnOffset, 0));
33287
+ this._sourcePosition.filename = loc.filename;
33288
33288
  }
33289
33289
  }
33290
+ setSourcePosition(line, column) {
33291
+ const target = this._sourcePosition;
33292
+ target.line = line;
33293
+ target.column = column;
33294
+ }
33290
33295
  getCurrentColumn() {
33291
33296
  return this._position.column + (this._queuedChar ? 1 : 0);
33292
33297
  }
@@ -33329,7 +33334,7 @@ var require_parentheses = /* @__PURE__ */ __commonJSMin(((exports) => {
33329
33334
  var _t = require_lib$23();
33330
33335
  var _index = require_node();
33331
33336
  const { isMemberExpression, isOptionalMemberExpression, isYieldExpression, isStatement } = _t;
33332
- const PRECEDENCE = new Map([
33337
+ const PRECEDENCE = /* @__PURE__ */ new Map([
33333
33338
  ["||", 0],
33334
33339
  ["??", 1],
33335
33340
  ["&&", 2],
@@ -35381,7 +35386,10 @@ var require_jsesc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35381
35386
  if (options.minimal) return pair;
35382
35387
  const first = pair.charCodeAt(0);
35383
35388
  const second = pair.charCodeAt(1);
35384
- if (options.es6) return "\\u{" + hexadecimal((first - 55296) * 1024 + second - 56320 + 65536, lowercaseHex) + "}";
35389
+ if (options.es6) {
35390
+ const codePoint = (first - 55296) * 1024 + second - 56320 + 65536;
35391
+ return "\\u{" + hexadecimal(codePoint, lowercaseHex) + "}";
35392
+ }
35385
35393
  return fourHexEscape(hexadecimal(first, lowercaseHex)) + fourHexEscape(hexadecimal(second, lowercaseHex));
35386
35394
  }
35387
35395
  if (lone) return fourHexEscape(hexadecimal(lone.charCodeAt(0), lowercaseHex));
@@ -35543,7 +35551,7 @@ var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
35543
35551
  }
35544
35552
  this.word(node.value + "n");
35545
35553
  }
35546
- const validTopicTokenSet = new Set([
35554
+ const validTopicTokenSet = /* @__PURE__ */ new Set([
35547
35555
  "^^",
35548
35556
  "@@",
35549
35557
  "^",
@@ -36762,7 +36770,7 @@ var require_deprecated = /* @__PURE__ */ __commonJSMin(((exports) => {
36762
36770
  //#endregion
36763
36771
  //#region ../../node_modules/@babel/generator/lib/generators/marko.js
36764
36772
  var require_marko = /* @__PURE__ */ __commonJSMin(((exports) => {
36765
- const svgElements = new Set([
36773
+ const svgElements = /* @__PURE__ */ new Set([
36766
36774
  "circle",
36767
36775
  "ellipse",
36768
36776
  "line",
@@ -36773,7 +36781,7 @@ var require_marko = /* @__PURE__ */ __commonJSMin(((exports) => {
36773
36781
  "stop",
36774
36782
  "use"
36775
36783
  ]);
36776
- const voidElements = new Set([
36784
+ const voidElements = /* @__PURE__ */ new Set([
36777
36785
  "area",
36778
36786
  "base",
36779
36787
  "br",
@@ -37541,7 +37549,8 @@ var require_printer$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
37541
37549
  const spacesCount = count > 0 ? column : column - this._buf.getCurrentColumn();
37542
37550
  if (spacesCount > 0) {
37543
37551
  const spaces = this._originalCode ? this._originalCode.slice(index - spacesCount, index).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu, " ") : " ".repeat(spacesCount);
37544
- this._append(spaces, false);
37552
+ this._buf.append(spaces, false, true);
37553
+ this._buf.setSourcePosition(line, column);
37545
37554
  this.setLastChar(32);
37546
37555
  }
37547
37556
  }
@@ -39028,7 +39037,7 @@ var require_evaluation = /* @__PURE__ */ __commonJSMin(((exports) => {
39028
39037
  state.deoptPath = path;
39029
39038
  state.confident = false;
39030
39039
  }
39031
- const Globals = new Map([
39040
+ const Globals = /* @__PURE__ */ new Map([
39032
39041
  ["undefined", void 0],
39033
39042
  ["Infinity", Infinity],
39034
39043
  ["NaN", NaN]
@@ -39658,9 +39667,10 @@ var require_conversion = /* @__PURE__ */ __commonJSMin(((exports) => {
39658
39667
  return this;
39659
39668
  } else if (this.get("specifiers").length > 0) throw new Error("It doesn't make sense to split exported specifiers.");
39660
39669
  const bindingIdentifiers = declaration.getOuterBindingIdentifiers();
39661
- const aliasDeclar = exportNamedDeclaration(null, Object.keys(bindingIdentifiers).map((name) => {
39670
+ const specifiers = Object.keys(bindingIdentifiers).map((name) => {
39662
39671
  return exportSpecifier(identifier(name), identifier(name));
39663
- }));
39672
+ });
39673
+ const aliasDeclar = exportNamedDeclaration(null, specifiers);
39664
39674
  this.insertAfter(aliasDeclar);
39665
39675
  this.replaceWith(declaration.node);
39666
39676
  return this;
@@ -43375,7 +43385,8 @@ var require_build_external_helpers = /* @__PURE__ */ __commonJSMin(((exports) =>
43375
43385
  function buildGlobal(allowlist) {
43376
43386
  const namespace = identifier("babelHelpers");
43377
43387
  const body = [];
43378
- const tree = program([expressionStatement(callExpression(functionExpression(null, [identifier("global")], blockStatement(body)), [conditionalExpression(binaryExpression("===", unaryExpression("typeof", identifier("global")), stringLiteral("undefined")), identifier("self"), identifier("global"))]))]);
43388
+ const container = functionExpression(null, [identifier("global")], blockStatement(body));
43389
+ const tree = program([expressionStatement(callExpression(container, [conditionalExpression(binaryExpression("===", unaryExpression("typeof", identifier("global")), stringLiteral("undefined")), identifier("self"), identifier("global"))]))]);
43379
43390
  body.push(variableDeclaration("var", [variableDeclarator(namespace, assignmentExpression("=", memberExpression(identifier("global"), namespace), objectExpression([])))]));
43380
43391
  buildHelpers(body, namespace, allowlist);
43381
43392
  return tree;
@@ -47722,7 +47733,7 @@ var require_options = /* @__PURE__ */ __commonJSMin(((exports) => {
47722
47733
  moduleIds: _optionAssertions.assertBoolean,
47723
47734
  moduleId: _optionAssertions.assertString
47724
47735
  });
47725
- exports.assumptionsNames = new Set([
47736
+ exports.assumptionsNames = /* @__PURE__ */ new Set([
47726
47737
  "arrayLikeIsIterable",
47727
47738
  "constantReexports",
47728
47739
  "constantSuper",
@@ -49129,6 +49140,81 @@ var require_convert_source_map = /* @__PURE__ */ __commonJSMin(((exports) => {
49129
49140
  };
49130
49141
  }));
49131
49142
  //#endregion
49143
+ //#region ../../node_modules/@babel/core/lib/transformation/read-input-source-map-file.js
49144
+ var require_read_input_source_map_file = /* @__PURE__ */ __commonJSMin(((exports) => {
49145
+ Object.defineProperty(exports, "__esModule", { value: true });
49146
+ exports.default = readInputSourceMapFile;
49147
+ function _fs$3() {
49148
+ const data = require("fs");
49149
+ _fs$3 = function() {
49150
+ return data;
49151
+ };
49152
+ return data;
49153
+ }
49154
+ function _path$4() {
49155
+ const data = require("path");
49156
+ _path$4 = function() {
49157
+ return data;
49158
+ };
49159
+ return data;
49160
+ }
49161
+ function _debug() {
49162
+ const data = require_src();
49163
+ _debug = function() {
49164
+ return data;
49165
+ };
49166
+ return data;
49167
+ }
49168
+ function _convertSourceMap() {
49169
+ const data = require_convert_source_map();
49170
+ _convertSourceMap = function() {
49171
+ return data;
49172
+ };
49173
+ return data;
49174
+ }
49175
+ const debug = _debug()("babel:transform:file");
49176
+ function findUpSync(name, { cwd, stopAt } = {}) {
49177
+ let directory = _path$4().resolve(cwd || "");
49178
+ const { root } = _path$4().parse(directory);
49179
+ stopAt = _path$4().resolve(directory, stopAt || root);
49180
+ const isAbsoluteName = _path$4().isAbsolute(name);
49181
+ while (directory) {
49182
+ const filePath = isAbsoluteName ? name : _path$4().join(directory, name);
49183
+ try {
49184
+ if (_fs$3().statSync(filePath).isFile()) return filePath;
49185
+ } catch (_) {}
49186
+ if (directory === stopAt || directory === root) break;
49187
+ directory = _path$4().dirname(directory);
49188
+ }
49189
+ }
49190
+ function getInputMapPath(filename, root, inputMapURL) {
49191
+ const inputFileDir = _path$4().dirname(filename);
49192
+ const inputMapPath = _path$4().resolve(inputFileDir, inputMapURL);
49193
+ const relativeToInputFileDir = _path$4().relative(inputFileDir, inputMapPath);
49194
+ if (relativeToInputFileDir.startsWith("..") || _path$4().isAbsolute(relativeToInputFileDir)) {
49195
+ const inputPackageJSONPath = findUpSync("package.json", {
49196
+ cwd: inputFileDir,
49197
+ stopAt: root
49198
+ });
49199
+ const inputFileRoot = inputPackageJSONPath ? _path$4().dirname(inputPackageJSONPath) : root;
49200
+ const relativeInputMapPath = _path$4().relative(inputFileRoot, inputMapPath);
49201
+ if (relativeInputMapPath.startsWith("..") || _path$4().isAbsolute(relativeInputMapPath)) {
49202
+ debug(`discarding input sourcemap "${inputMapPath}" outside of package root "${inputFileRoot}"`);
49203
+ return null;
49204
+ }
49205
+ }
49206
+ return inputMapPath;
49207
+ }
49208
+ function readInputSourceMapFile(filename, root, inputMapURL) {
49209
+ const inputMapPath = getInputMapPath(filename, root, inputMapURL);
49210
+ if (inputMapPath) {
49211
+ const inputMapContent = _fs$3().readFileSync(inputMapPath, "utf8");
49212
+ return _convertSourceMap().fromJSON(inputMapContent);
49213
+ }
49214
+ return null;
49215
+ }
49216
+ }));
49217
+ //#endregion
49132
49218
  //#region ../../node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js
49133
49219
  var require_missing_plugin_helper = /* @__PURE__ */ __commonJSMin(((exports) => {
49134
49220
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -49550,20 +49636,6 @@ var require_clone_deep = /* @__PURE__ */ __commonJSMin(((exports) => {
49550
49636
  var require_normalize_file = /* @__PURE__ */ __commonJSMin(((exports) => {
49551
49637
  Object.defineProperty(exports, "__esModule", { value: true });
49552
49638
  exports.default = normalizeFile;
49553
- function _fs$3() {
49554
- const data = require("fs");
49555
- _fs$3 = function() {
49556
- return data;
49557
- };
49558
- return data;
49559
- }
49560
- function _path$4() {
49561
- const data = require("path");
49562
- _path$4 = function() {
49563
- return data;
49564
- };
49565
- return data;
49566
- }
49567
49639
  function _debug() {
49568
49640
  const data = require_src();
49569
49641
  _debug = function() {
@@ -49585,6 +49657,7 @@ var require_normalize_file = /* @__PURE__ */ __commonJSMin(((exports) => {
49585
49657
  };
49586
49658
  return data;
49587
49659
  }
49660
+ var _readInputSourceMapFile = require_read_input_source_map_file();
49588
49661
  var _file = require_file();
49589
49662
  var _index = require_parser();
49590
49663
  var _cloneDeep = require_clone_deep();
@@ -49613,9 +49686,8 @@ var require_normalize_file = /* @__PURE__ */ __commonJSMin(((exports) => {
49613
49686
  if (!inputMap) {
49614
49687
  const lastComment = extractComments(EXTERNAL_SOURCEMAP_REGEX, ast);
49615
49688
  if (typeof options.filename === "string" && lastComment) try {
49616
- const match = EXTERNAL_SOURCEMAP_REGEX.exec(lastComment);
49617
- const inputMapContent = _fs$3().readFileSync(_path$4().resolve(_path$4().dirname(options.filename), match[1]), "utf8");
49618
- inputMap = _convertSourceMap().fromJSON(inputMapContent);
49689
+ const inputMapURL = EXTERNAL_SOURCEMAP_REGEX.exec(lastComment)[1];
49690
+ inputMap = (0, _readInputSourceMapFile.default)(options.filename, options.root, inputMapURL);
49619
49691
  } catch (err) {
49620
49692
  debug("discarding unknown file input sourcemap", err);
49621
49693
  }
@@ -50023,7 +50095,7 @@ var require_import = /* @__PURE__ */ __commonJSMin(((exports, module) => {
50023
50095
  var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
50024
50096
  module.exports = {
50025
50097
  "name": "@babel/preset-typescript",
50026
- "version": "7.28.5",
50098
+ "version": "7.29.7",
50027
50099
  "description": "Babel preset for TypeScript.",
50028
50100
  "repository": {
50029
50101
  "type": "git",
@@ -50035,16 +50107,16 @@ var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
50035
50107
  "main": "./lib/index.js",
50036
50108
  "keywords": ["babel-preset", "typescript"],
50037
50109
  "dependencies": {
50038
- "@babel/helper-plugin-utils": "^7.27.1",
50039
- "@babel/helper-validator-option": "^7.27.1",
50040
- "@babel/plugin-syntax-jsx": "^7.27.1",
50041
- "@babel/plugin-transform-modules-commonjs": "^7.27.1",
50042
- "@babel/plugin-transform-typescript": "^7.28.5"
50110
+ "@babel/helper-plugin-utils": "^7.29.7",
50111
+ "@babel/helper-validator-option": "^7.29.7",
50112
+ "@babel/plugin-syntax-jsx": "^7.29.7",
50113
+ "@babel/plugin-transform-modules-commonjs": "^7.29.7",
50114
+ "@babel/plugin-transform-typescript": "^7.29.7"
50043
50115
  },
50044
50116
  "peerDependencies": { "@babel/core": "^7.0.0-0" },
50045
50117
  "devDependencies": {
50046
- "@babel/core": "^7.28.5",
50047
- "@babel/helper-plugin-test-runner": "^7.27.1"
50118
+ "@babel/core": "^7.29.7",
50119
+ "@babel/helper-plugin-test-runner": "^7.29.7"
50048
50120
  },
50049
50121
  "homepage": "https://babel.dev/docs/en/next/babel-preset-typescript",
50050
50122
  "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen",
@@ -50163,7 +50235,7 @@ var require_lib$10 = /* @__PURE__ */ __commonJSMin(((exports) => {
50163
50235
  n.default = e;
50164
50236
  return Object.freeze(n);
50165
50237
  }
50166
- var _t__namespace = /* @__PURE__ */ _interopNamespace(_t);
50238
+ var _t__namespace = /*#__PURE__*/ _interopNamespace(_t);
50167
50239
  function willPathCastToBoolean(path) {
50168
50240
  const { node, parentPath } = path;
50169
50241
  if (parentPath.isLogicalExpression()) {
@@ -52729,7 +52801,7 @@ var require_features = /* @__PURE__ */ __commonJSMin(((exports) => {
52729
52801
  privateIn: 16,
52730
52802
  staticBlocks: 32
52731
52803
  });
52732
- const featuresSameLoose = new Map([
52804
+ const featuresSameLoose = /* @__PURE__ */ new Map([
52733
52805
  [FEATURES.fields, "@babel/plugin-transform-class-properties"],
52734
52806
  [FEATURES.privateMethods, "@babel/plugin-transform-private-methods"],
52735
52807
  [FEATURES.privateIn, "@babel/plugin-transform-private-property-in-object"]
@@ -52890,14 +52962,14 @@ var require_lib$5 = /* @__PURE__ */ __commonJSMin(((exports) => {
52890
52962
  pre(file) {
52891
52963
  (0, _features.enableFeature)(file, feature, loose);
52892
52964
  if (typeof file.get(versionKey) === "number") {
52893
- file.set(versionKey, "7.29.3");
52965
+ file.set(versionKey, "7.29.7");
52894
52966
  return;
52895
52967
  }
52896
- if (!file.get(versionKey) || _semver.lt(file.get(versionKey), "7.29.3")) file.set(versionKey, "7.29.3");
52968
+ if (!file.get(versionKey) || _semver.lt(file.get(versionKey), "7.29.7")) file.set(versionKey, "7.29.7");
52897
52969
  },
52898
52970
  visitor: {
52899
52971
  Class(path, { file }) {
52900
- if (file.get(versionKey) !== "7.29.3") return;
52972
+ if (file.get(versionKey) !== "7.29.7") return;
52901
52973
  if (!(0, _features.shouldTransform)(path, file)) return;
52902
52974
  const pathIsClassDeclaration = path.isClassDeclaration();
52903
52975
  if (pathIsClassDeclaration) (0, _typescript.assertFieldTransformed)(path);
@@ -52973,7 +53045,7 @@ var require_lib$5 = /* @__PURE__ */ __commonJSMin(((exports) => {
52973
53045
  if (classBindingNode != null && pathIsClassDeclaration) wrappedPath.insertAfter(classBindingNode);
52974
53046
  },
52975
53047
  ExportDefaultDeclaration(path, { file }) {
52976
- if (file.get(versionKey) !== "7.29.3") return;
53048
+ if (file.get(versionKey) !== "7.29.7") return;
52977
53049
  const decl = path.get("declaration");
52978
53050
  if (decl.isClassDeclaration() && (0, _decorators.hasDecorators)(decl.node)) if (decl.node.id) {
52979
53051
  path.splitExportDeclaration ??= require_lib$18().NodePath.prototype.splitExportDeclaration;
@@ -53807,7 +53879,7 @@ var require_lazy = /* @__PURE__ */ __commonJSMin(((exports) => {
53807
53879
  var _helperModuleTransforms = require_lib$16();
53808
53880
  const lazyImportsHook = (lazy) => ({
53809
53881
  name: `@babel/plugin-transform-modules-commonjs/lazy`,
53810
- version: "7.28.6",
53882
+ version: "7.29.7",
53811
53883
  getWrapperPayload(source, metadata) {
53812
53884
  if ((0, _helperModuleTransforms.isSideEffectImport)(metadata) || metadata.reexportAll) return null;
53813
53885
  if (lazy === true) return source.includes(".") ? null : "lazy/function";
@@ -54025,8 +54097,8 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
54025
54097
  function _interopDefault(e) {
54026
54098
  return e && e.__esModule ? e : { default: e };
54027
54099
  }
54028
- var transformTypeScript__default = /* @__PURE__ */ _interopDefault(transformTypeScript);
54029
- var transformModulesCommonJS__default = /* @__PURE__ */ _interopDefault(transformModulesCommonJS);
54100
+ var transformTypeScript__default = /*#__PURE__*/ _interopDefault(transformTypeScript);
54101
+ var transformModulesCommonJS__default = /*#__PURE__*/ _interopDefault(transformModulesCommonJS);
54030
54102
  const v = new helperValidatorOption.OptionValidator("@babel/preset-typescript");
54031
54103
  function normalizeOptions(options = {}) {
54032
54104
  let { allowNamespaces = true, jsxPragma, onlyRemoveTypeImports } = options;
@@ -54486,7 +54558,8 @@ var require_configuration = /* @__PURE__ */ __commonJSMin(((exports) => {
54486
54558
  config = yield* loadOneConfig(RELATIVE_CONFIG_FILENAMES, loc, envName, caller, ((_packageData$pkg = packageData.pkg) == null ? void 0 : _packageData$pkg.dirname) === loc ? packageToBabelConfig(packageData.pkg) : null);
54487
54559
  }
54488
54560
  if (!ignore) {
54489
- ignore = yield* readIgnoreConfig(_path$2().join(loc, BABELIGNORE_FILENAME));
54561
+ const ignoreLoc = _path$2().join(loc, BABELIGNORE_FILENAME);
54562
+ ignore = yield* readIgnoreConfig(ignoreLoc);
54490
54563
  if (ignore) debug("Found ignore %o from %o.", ignore.filepath, dirname);
54491
54564
  }
54492
54565
  }
@@ -54660,7 +54733,7 @@ var require_import_meta_resolve = /* @__PURE__ */ __commonJSMin(((exports) => {
54660
54733
  }
54661
54734
  const own$1 = {}.hasOwnProperty;
54662
54735
  const classRegExp = /^([A-Z][a-z\d]*)+$/;
54663
- const kTypes = new Set([
54736
+ const kTypes = /* @__PURE__ */ new Set([
54664
54737
  "string",
54665
54738
  "function",
54666
54739
  "number",
@@ -54957,7 +55030,8 @@ var require_import_meta_resolve = /* @__PURE__ */ __commonJSMin(((exports) => {
54957
55030
  const format = extensionFormatMap[value];
54958
55031
  if (format) return format;
54959
55032
  if (ignoreErrors) return;
54960
- throw new ERR_UNKNOWN_FILE_EXTENSION(value, (0, _url$1().fileURLToPath)(url));
55033
+ const filepath = (0, _url$1().fileURLToPath)(url);
55034
+ throw new ERR_UNKNOWN_FILE_EXTENSION(value, filepath);
54961
55035
  }
54962
55036
  function getHttpProtocolModuleFormat() {}
54963
55037
  function defaultGetFormatWithoutErrors(url, context) {
@@ -55095,7 +55169,8 @@ var require_import_meta_resolve = /* @__PURE__ */ __commonJSMin(((exports) => {
55095
55169
  return new ERR_PACKAGE_PATH_NOT_EXPORTED((0, _url$1().fileURLToPath)(new (_url$1()).URL(".", packageJsonUrl)), subpath, base && (0, _url$1().fileURLToPath)(base));
55096
55170
  }
55097
55171
  function throwInvalidSubpath(request, match, packageJsonUrl, internal, base) {
55098
- throw new ERR_INVALID_MODULE_SPECIFIER(request, `request is not a valid match in pattern "${match}" for the "${internal ? "imports" : "exports"}" resolution of ${(0, _url$1().fileURLToPath)(packageJsonUrl)}`, base && (0, _url$1().fileURLToPath)(base));
55172
+ const reason = `request is not a valid match in pattern "${match}" for the "${internal ? "imports" : "exports"}" resolution of ${(0, _url$1().fileURLToPath)(packageJsonUrl)}`;
55173
+ throw new ERR_INVALID_MODULE_SPECIFIER(request, reason, base && (0, _url$1().fileURLToPath)(base));
55099
55174
  }
55100
55175
  function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) {
55101
55176
  target = typeof target === "object" && target !== null ? JSON.stringify(target, null, "") : `${target}`;
@@ -56029,7 +56104,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
56029
56104
  var _transformFile = require_transform_file();
56030
56105
  var _transformAst = require_transform_ast();
56031
56106
  var _parse = require_parse();
56032
- exports.version = "7.29.0";
56107
+ exports.version = "7.29.7";
56033
56108
  const resolvePlugin = (name, dirname) => resolvers.resolvePlugin(name, dirname, false).filepath;
56034
56109
  exports.resolvePlugin = resolvePlugin;
56035
56110
  const resolvePreset = (name, dirname) => resolvers.resolvePreset(name, dirname, false).filepath;
package/dist/babel.web.js CHANGED
@@ -1272,7 +1272,7 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
1272
1272
  function getDefs(enabled) {
1273
1273
  return enabled ? defsOn : defsOff;
1274
1274
  }
1275
- const sometimesKeywords = new Set([
1275
+ const sometimesKeywords = /* @__PURE__ */ new Set([
1276
1276
  "as",
1277
1277
  "async",
1278
1278
  "from",
@@ -1393,9 +1393,9 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
1393
1393
  const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";
1394
1394
  if (process.emitWarning) process.emitWarning(message, "DeprecationWarning");
1395
1395
  else {
1396
- const deprecationError = new Error(message);
1396
+ const deprecationError = /* @__PURE__ */ new Error(message);
1397
1397
  deprecationError.name = "DeprecationWarning";
1398
- console.warn(new Error(message));
1398
+ console.warn(/* @__PURE__ */ new Error(message));
1399
1399
  }
1400
1400
  }
1401
1401
  colNumber = Math.max(colNumber, 0);
@@ -4341,7 +4341,7 @@ var require_lib$21 = /* @__PURE__ */ __commonJSMin(((exports) => {
4341
4341
  return code >= 48 && code <= 57;
4342
4342
  };
4343
4343
  const forbiddenNumericSeparatorSiblings = {
4344
- decBinOct: new Set([
4344
+ decBinOct: /* @__PURE__ */ new Set([
4345
4345
  46,
4346
4346
  66,
4347
4347
  69,
@@ -4351,7 +4351,7 @@ var require_lib$21 = /* @__PURE__ */ __commonJSMin(((exports) => {
4351
4351
  101,
4352
4352
  111
4353
4353
  ]),
4354
- hex: new Set([
4354
+ hex: /* @__PURE__ */ new Set([
4355
4355
  46,
4356
4356
  88,
4357
4357
  95,
@@ -4832,7 +4832,7 @@ var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
4832
4832
  if (fns.length >= 2 && "type" in fns[0] && fns[0].type === "array" && !("each" in fns[1])) throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`);
4833
4833
  return validate;
4834
4834
  }
4835
- const validTypeOpts = new Set([
4835
+ const validTypeOpts = /* @__PURE__ */ new Set([
4836
4836
  "aliases",
4837
4837
  "builder",
4838
4838
  "deprecatedAlias",
@@ -4842,7 +4842,7 @@ var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
4842
4842
  "validate",
4843
4843
  "unionShape"
4844
4844
  ]);
4845
- const validFieldKeys = new Set([
4845
+ const validFieldKeys = /* @__PURE__ */ new Set([
4846
4846
  "default",
4847
4847
  "optional",
4848
4848
  "deprecated",
@@ -14123,7 +14123,7 @@ var require_isValidES3Identifier = /* @__PURE__ */ __commonJSMin(((exports) => {
14123
14123
  Object.defineProperty(exports, "__esModule", { value: true });
14124
14124
  exports.default = isValidES3Identifier;
14125
14125
  var _isValidIdentifier = require_isValidIdentifier();
14126
- const RESERVED_WORDS_ES3_ONLY = new Set([
14126
+ const RESERVED_WORDS_ES3_ONLY = /* @__PURE__ */ new Set([
14127
14127
  "abstract",
14128
14128
  "boolean",
14129
14129
  "byte",
@@ -15148,7 +15148,7 @@ var require_lib$19 = /* @__PURE__ */ __commonJSMin(((exports) => {
15148
15148
  ParseExpressionEmptyInput: "Unexpected parseExpression() input: The input is empty or contains only comments.",
15149
15149
  ParseExpressionExpectsEOF: ({ unexpected }) => `Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(unexpected)}\`.`
15150
15150
  };
15151
- const UnparenthesizedPipeBodyDescriptions = new Set([
15151
+ const UnparenthesizedPipeBodyDescriptions = /* @__PURE__ */ new Set([
15152
15152
  "ArrowFunctionExpression",
15153
15153
  "AssignmentExpression",
15154
15154
  "ConditionalExpression",
@@ -17049,7 +17049,7 @@ var require_lib$19 = /* @__PURE__ */ __commonJSMin(((exports) => {
17049
17049
  function isIteratorStart(current, next, next2) {
17050
17050
  return current === 64 && next === 64 && isIdentifierStart(next2);
17051
17051
  }
17052
- const reservedWordLikeSet = new Set([
17052
+ const reservedWordLikeSet = /* @__PURE__ */ new Set([
17053
17053
  "break",
17054
17054
  "case",
17055
17055
  "catch",
@@ -17255,7 +17255,7 @@ var require_lib$19 = /* @__PURE__ */ __commonJSMin(((exports) => {
17255
17255
  if (!this.scopeStack[0].declareFunctions.has(id.name)) super.checkLocalExport(id);
17256
17256
  }
17257
17257
  };
17258
- const reservedTypes = new Set([
17258
+ const reservedTypes = /* @__PURE__ */ new Set([
17259
17259
  "_",
17260
17260
  "any",
17261
17261
  "bool",
@@ -19566,7 +19566,8 @@ var require_lib$19 = /* @__PURE__ */ __commonJSMin(((exports) => {
19566
19566
  let semi = false;
19567
19567
  while (count++ < 10 && this.state.pos < this.length && !(semi = this.codePointAtPos(this.state.pos) === 59)) ++this.state.pos;
19568
19568
  if (semi) {
19569
- const entity = entities[this.input.slice(startPos, this.state.pos)];
19569
+ const desc = this.input.slice(startPos, this.state.pos);
19570
+ const entity = entities[desc];
19570
19571
  ++this.state.pos;
19571
19572
  if (entity) return entity;
19572
19573
  }
@@ -20234,7 +20235,7 @@ var require_lib$19 = /* @__PURE__ */ __commonJSMin(((exports) => {
20234
20235
  return code >= 48 && code <= 57;
20235
20236
  };
20236
20237
  const forbiddenNumericSeparatorSiblings = {
20237
- decBinOct: new Set([
20238
+ decBinOct: /* @__PURE__ */ new Set([
20238
20239
  46,
20239
20240
  66,
20240
20241
  69,
@@ -20244,7 +20245,7 @@ var require_lib$19 = /* @__PURE__ */ __commonJSMin(((exports) => {
20244
20245
  101,
20245
20246
  111
20246
20247
  ]),
20247
- hex: new Set([
20248
+ hex: /* @__PURE__ */ new Set([
20248
20249
  46,
20249
20250
  88,
20250
20251
  95,
@@ -20452,7 +20453,7 @@ var require_lib$19 = /* @__PURE__ */ __commonJSMin(((exports) => {
20452
20453
  function buildPosition(pos, lineStart, curLine) {
20453
20454
  return new Position(curLine, pos - lineStart, pos);
20454
20455
  }
20455
- const VALID_REGEX_FLAGS = new Set([
20456
+ const VALID_REGEX_FLAGS = /* @__PURE__ */ new Set([
20456
20457
  103,
20457
20458
  109,
20458
20459
  115,
@@ -30085,7 +30086,7 @@ var require_visitors = /* @__PURE__ */ __commonJSMin(((exports) => {
30085
30086
  for (const nodeType of Object.keys(visitor)) {
30086
30087
  if (nodeType === "enter" || nodeType === "exit") validateVisitorMethods(nodeType, visitor[nodeType]);
30087
30088
  if (shouldIgnoreKey(nodeType)) continue;
30088
- if (!TYPES.includes(nodeType)) throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse 7.29.0`);
30089
+ if (!TYPES.includes(nodeType)) throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse 7.29.7`);
30089
30090
  const visitors = visitor[nodeType];
30090
30091
  if (typeof visitors === "object") for (const visitorKey of Object.keys(visitors)) if (visitorKey === "enter" || visitorKey === "exit") validateVisitorMethods(`${nodeType}.${visitorKey}`, visitors[visitorKey]);
30091
30092
  else throw new Error(`You passed \`traverse()\` a visitor object with the property ${nodeType} that has the invalid property ${visitorKey}`);
@@ -31366,8 +31367,8 @@ var require_sourcemap_codec_umd = /* @__PURE__ */ __commonJSMin(((exports, modul
31366
31367
  var comma = ",".charCodeAt(0);
31367
31368
  var semicolon = ";".charCodeAt(0);
31368
31369
  var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
31369
- var intToChar = new Uint8Array(64);
31370
- var charToInt = new Uint8Array(128);
31370
+ var intToChar = /* @__PURE__ */ new Uint8Array(64);
31371
+ var charToInt = /* @__PURE__ */ new Uint8Array(128);
31371
31372
  for (let i = 0; i < chars.length; i++) {
31372
31373
  const c = chars.charCodeAt(i);
31373
31374
  intToChar[i] = c;
@@ -32752,7 +32753,8 @@ var require_source_map = /* @__PURE__ */ __commonJSMin(((exports) => {
32752
32753
  line,
32753
32754
  column
32754
32755
  });
32755
- if (!originalMapping.name && identifierNamePos) {
32756
+ if (originalMapping.name && (identifierNamePos || identifierName != null && originalMapping.column === column)) identifierName = originalMapping.name;
32757
+ else if (identifierNamePos) {
32756
32758
  const originalIdentifierMapping = (0, _traceMapping.originalPositionFor)(this._inputMap, identifierNamePos);
32757
32759
  if (originalIdentifierMapping.name) identifierName = originalIdentifierMapping.name;
32758
32760
  }
@@ -32844,9 +32846,9 @@ var require_buffer = /* @__PURE__ */ __commonJSMin(((exports) => {
32844
32846
  };
32845
32847
  return result;
32846
32848
  }
32847
- append(str, maybeNewline) {
32849
+ append(str, maybeNewline, ignoreMapping = false) {
32848
32850
  this._flush();
32849
- this._append(str, maybeNewline);
32851
+ this._append(str, maybeNewline, ignoreMapping);
32850
32852
  }
32851
32853
  appendChar(char) {
32852
32854
  this._flush();
@@ -32888,7 +32890,7 @@ var require_buffer = /* @__PURE__ */ __commonJSMin(((exports) => {
32888
32890
  position.column = 0;
32889
32891
  }
32890
32892
  }
32891
- _append(str, maybeNewline) {
32893
+ _append(str, maybeNewline, ignoreMapping) {
32892
32894
  const len = str.length;
32893
32895
  const position = this._position;
32894
32896
  const sourcePos = this._sourcePosition;
@@ -32899,7 +32901,7 @@ var require_buffer = /* @__PURE__ */ __commonJSMin(((exports) => {
32899
32901
  this._str = str;
32900
32902
  this._appendCount = 0;
32901
32903
  } else this._str += str;
32902
- const hasMap = this._map !== null;
32904
+ const hasMap = !ignoreMapping && this._map !== null;
32903
32905
  if (!maybeNewline && !hasMap) {
32904
32906
  position.column += len;
32905
32907
  return;
@@ -32970,13 +32972,16 @@ var require_buffer = /* @__PURE__ */ __commonJSMin(((exports) => {
32970
32972
  _normalizePosition(prop, loc, columnOffset) {
32971
32973
  this._flush();
32972
32974
  const pos = loc[prop];
32973
- const target = this._sourcePosition;
32974
32975
  if (pos) {
32975
- target.line = pos.line;
32976
- target.column = Math.max(pos.column + columnOffset, 0);
32977
- target.filename = loc.filename;
32976
+ this.setSourcePosition(pos.line, Math.max(pos.column + columnOffset, 0));
32977
+ this._sourcePosition.filename = loc.filename;
32978
32978
  }
32979
32979
  }
32980
+ setSourcePosition(line, column) {
32981
+ const target = this._sourcePosition;
32982
+ target.line = line;
32983
+ target.column = column;
32984
+ }
32980
32985
  getCurrentColumn() {
32981
32986
  return this._position.column + (this._queuedChar ? 1 : 0);
32982
32987
  }
@@ -33019,7 +33024,7 @@ var require_parentheses = /* @__PURE__ */ __commonJSMin(((exports) => {
33019
33024
  var _t = require_lib$20();
33020
33025
  var _index = require_node();
33021
33026
  const { isMemberExpression, isOptionalMemberExpression, isYieldExpression, isStatement } = _t;
33022
- const PRECEDENCE = new Map([
33027
+ const PRECEDENCE = /* @__PURE__ */ new Map([
33023
33028
  ["||", 0],
33024
33029
  ["??", 1],
33025
33030
  ["&&", 2],
@@ -35071,7 +35076,10 @@ var require_jsesc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35071
35076
  if (options.minimal) return pair;
35072
35077
  const first = pair.charCodeAt(0);
35073
35078
  const second = pair.charCodeAt(1);
35074
- if (options.es6) return "\\u{" + hexadecimal((first - 55296) * 1024 + second - 56320 + 65536, lowercaseHex) + "}";
35079
+ if (options.es6) {
35080
+ const codePoint = (first - 55296) * 1024 + second - 56320 + 65536;
35081
+ return "\\u{" + hexadecimal(codePoint, lowercaseHex) + "}";
35082
+ }
35075
35083
  return fourHexEscape(hexadecimal(first, lowercaseHex)) + fourHexEscape(hexadecimal(second, lowercaseHex));
35076
35084
  }
35077
35085
  if (lone) return fourHexEscape(hexadecimal(lone.charCodeAt(0), lowercaseHex));
@@ -35233,7 +35241,7 @@ var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
35233
35241
  }
35234
35242
  this.word(node.value + "n");
35235
35243
  }
35236
- const validTopicTokenSet = new Set([
35244
+ const validTopicTokenSet = /* @__PURE__ */ new Set([
35237
35245
  "^^",
35238
35246
  "@@",
35239
35247
  "^",
@@ -36452,7 +36460,7 @@ var require_deprecated = /* @__PURE__ */ __commonJSMin(((exports) => {
36452
36460
  //#endregion
36453
36461
  //#region ../../node_modules/@babel/generator/lib/generators/marko.js
36454
36462
  var require_marko = /* @__PURE__ */ __commonJSMin(((exports) => {
36455
- const svgElements = new Set([
36463
+ const svgElements = /* @__PURE__ */ new Set([
36456
36464
  "circle",
36457
36465
  "ellipse",
36458
36466
  "line",
@@ -36463,7 +36471,7 @@ var require_marko = /* @__PURE__ */ __commonJSMin(((exports) => {
36463
36471
  "stop",
36464
36472
  "use"
36465
36473
  ]);
36466
- const voidElements = new Set([
36474
+ const voidElements = /* @__PURE__ */ new Set([
36467
36475
  "area",
36468
36476
  "base",
36469
36477
  "br",
@@ -37231,7 +37239,8 @@ var require_printer$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
37231
37239
  const spacesCount = count > 0 ? column : column - this._buf.getCurrentColumn();
37232
37240
  if (spacesCount > 0) {
37233
37241
  const spaces = this._originalCode ? this._originalCode.slice(index - spacesCount, index).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu, " ") : " ".repeat(spacesCount);
37234
- this._append(spaces, false);
37242
+ this._buf.append(spaces, false, true);
37243
+ this._buf.setSourcePosition(line, column);
37235
37244
  this.setLastChar(32);
37236
37245
  }
37237
37246
  }
@@ -38718,7 +38727,7 @@ var require_evaluation = /* @__PURE__ */ __commonJSMin(((exports) => {
38718
38727
  state.deoptPath = path;
38719
38728
  state.confident = false;
38720
38729
  }
38721
- const Globals = new Map([
38730
+ const Globals = /* @__PURE__ */ new Map([
38722
38731
  ["undefined", void 0],
38723
38732
  ["Infinity", Infinity],
38724
38733
  ["NaN", NaN]
@@ -39348,9 +39357,10 @@ var require_conversion = /* @__PURE__ */ __commonJSMin(((exports) => {
39348
39357
  return this;
39349
39358
  } else if (this.get("specifiers").length > 0) throw new Error("It doesn't make sense to split exported specifiers.");
39350
39359
  const bindingIdentifiers = declaration.getOuterBindingIdentifiers();
39351
- const aliasDeclar = exportNamedDeclaration(null, Object.keys(bindingIdentifiers).map((name) => {
39360
+ const specifiers = Object.keys(bindingIdentifiers).map((name) => {
39352
39361
  return exportSpecifier(identifier(name), identifier(name));
39353
- }));
39362
+ });
39363
+ const aliasDeclar = exportNamedDeclaration(null, specifiers);
39354
39364
  this.insertAfter(aliasDeclar);
39355
39365
  this.replaceWith(declaration.node);
39356
39366
  return this;
@@ -42204,7 +42214,7 @@ var require_normalize_and_load_metadata = /* @__PURE__ */ __commonJSMin(((export
42204
42214
  exports.hasExports = hasExports;
42205
42215
  exports.isSideEffectImport = isSideEffectImport;
42206
42216
  exports.validateImportInteropOption = validateImportInteropOption;
42207
- var _path$6 = require("path");
42217
+ var _path$5 = require("path");
42208
42218
  var _helperValidatorIdentifier = require_lib$23();
42209
42219
  function hasExports(metadata) {
42210
42220
  return metadata.hasExports;
@@ -42272,7 +42282,7 @@ var require_normalize_and_load_metadata = /* @__PURE__ */ __commonJSMin(((export
42272
42282
  let data = sourceData.get(source);
42273
42283
  if (!data) {
42274
42284
  data = {
42275
- name: programPath.scope.generateUidIdentifier((0, _path$6.basename)(source, (0, _path$6.extname)(source))).name,
42285
+ name: programPath.scope.generateUidIdentifier((0, _path$5.basename)(source, (0, _path$5.extname)(source))).name,
42276
42286
  interop: "none",
42277
42287
  loc: null,
42278
42288
  imports: /* @__PURE__ */ new Map(),
@@ -43065,7 +43075,8 @@ var require_build_external_helpers = /* @__PURE__ */ __commonJSMin(((exports) =>
43065
43075
  function buildGlobal(allowlist) {
43066
43076
  const namespace = identifier("babelHelpers");
43067
43077
  const body = [];
43068
- const tree = program([expressionStatement(callExpression(functionExpression(null, [identifier("global")], blockStatement(body)), [conditionalExpression(binaryExpression("===", unaryExpression("typeof", identifier("global")), stringLiteral("undefined")), identifier("self"), identifier("global"))]))]);
43078
+ const container = functionExpression(null, [identifier("global")], blockStatement(body));
43079
+ const tree = program([expressionStatement(callExpression(container, [conditionalExpression(binaryExpression("===", unaryExpression("typeof", identifier("global")), stringLiteral("undefined")), identifier("self"), identifier("global"))]))]);
43069
43080
  body.push(variableDeclaration("var", [variableDeclarator(namespace, assignmentExpression("=", memberExpression(identifier("global"), namespace), objectExpression([])))]));
43070
43081
  buildHelpers(body, namespace, allowlist);
43071
43082
  return tree;
@@ -45881,9 +45892,9 @@ var require_item = /* @__PURE__ */ __commonJSMin(((exports) => {
45881
45892
  exports.createConfigItem = createConfigItem;
45882
45893
  exports.createItemFromDescriptor = createItemFromDescriptor;
45883
45894
  exports.getItemDescriptor = getItemDescriptor;
45884
- function _path$5() {
45895
+ function _path$4() {
45885
45896
  const data = require("path");
45886
- _path$5 = function() {
45897
+ _path$4 = function() {
45887
45898
  return data;
45888
45899
  };
45889
45900
  return data;
@@ -45893,7 +45904,7 @@ var require_item = /* @__PURE__ */ __commonJSMin(((exports) => {
45893
45904
  return new ConfigItem(desc);
45894
45905
  }
45895
45906
  function* createConfigItem(value, { dirname = ".", type } = {}) {
45896
- return createItemFromDescriptor(yield* (0, _configDescriptors.createDescriptor)(value, _path$5().resolve(dirname), {
45907
+ return createItemFromDescriptor(yield* (0, _configDescriptors.createDescriptor)(value, _path$4().resolve(dirname), {
45897
45908
  type,
45898
45909
  alias: "programmatic item"
45899
45910
  }));
@@ -46330,7 +46341,7 @@ var require_options = /* @__PURE__ */ __commonJSMin(((exports) => {
46330
46341
  moduleIds: _optionAssertions.assertBoolean,
46331
46342
  moduleId: _optionAssertions.assertString
46332
46343
  });
46333
- exports.assumptionsNames = new Set([
46344
+ exports.assumptionsNames = /* @__PURE__ */ new Set([
46334
46345
  "arrayLikeIsIterable",
46335
46346
  "constantReexports",
46336
46347
  "constantSuper",
@@ -46447,14 +46458,14 @@ var require_options = /* @__PURE__ */ __commonJSMin(((exports) => {
46447
46458
  var require_pattern_to_regex = /* @__PURE__ */ __commonJSMin(((exports) => {
46448
46459
  Object.defineProperty(exports, "__esModule", { value: true });
46449
46460
  exports.default = pathToPattern;
46450
- function _path$4() {
46461
+ function _path$3() {
46451
46462
  const data = require("path");
46452
- _path$4 = function() {
46463
+ _path$3 = function() {
46453
46464
  return data;
46454
46465
  };
46455
46466
  return data;
46456
46467
  }
46457
- const sep = `\\${_path$4().sep}`;
46468
+ const sep = `\\${_path$3().sep}`;
46458
46469
  const endSep = `(?:${sep}|$)`;
46459
46470
  const substitution = `[^${sep}]+`;
46460
46471
  const starPat = `(?:${substitution}${sep})`;
@@ -46465,7 +46476,7 @@ var require_pattern_to_regex = /* @__PURE__ */ __commonJSMin(((exports) => {
46465
46476
  return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&");
46466
46477
  }
46467
46478
  function pathToPattern(pattern, dirname) {
46468
- const parts = _path$4().resolve(dirname, pattern).split(_path$4().sep);
46479
+ const parts = _path$3().resolve(dirname, pattern).split(_path$3().sep);
46469
46480
  return new RegExp(["^", ...parts.map((part, i) => {
46470
46481
  const last = i === parts.length - 1;
46471
46482
  if (part === "**") return last ? starStarPatLast : starStarPat;
@@ -46570,9 +46581,9 @@ var require_config_chain = /* @__PURE__ */ __commonJSMin(((exports) => {
46570
46581
  exports.buildPresetChain = buildPresetChain;
46571
46582
  exports.buildPresetChainWalker = void 0;
46572
46583
  exports.buildRootChain = buildRootChain;
46573
- function _path$3() {
46584
+ function _path$2() {
46574
46585
  const data = require("path");
46575
- _path$3 = function() {
46586
+ _path$2 = function() {
46576
46587
  return data;
46577
46588
  };
46578
46589
  return data;
@@ -46688,7 +46699,7 @@ var require_config_chain = /* @__PURE__ */ __commonJSMin(((exports) => {
46688
46699
  let babelrcPatterns = babelrcRoots;
46689
46700
  if (!Array.isArray(babelrcPatterns)) babelrcPatterns = [babelrcPatterns];
46690
46701
  babelrcPatterns = babelrcPatterns.map((pat) => {
46691
- return typeof pat === "string" ? _path$3().resolve(babelrcRootsDirectory, pat) : pat;
46702
+ return typeof pat === "string" ? _path$2().resolve(babelrcRootsDirectory, pat) : pat;
46692
46703
  });
46693
46704
  if (babelrcPatterns.length === 1 && babelrcPatterns[0] === absoluteRoot) return pkgData.directories.includes(absoluteRoot);
46694
46705
  return babelrcPatterns.some((pat) => {
@@ -47052,9 +47063,9 @@ var require_partial = /* @__PURE__ */ __commonJSMin(((exports) => {
47052
47063
  Object.defineProperty(exports, "__esModule", { value: true });
47053
47064
  exports.default = loadPrivatePartialConfig;
47054
47065
  exports.loadPartialConfig = loadPartialConfig;
47055
- function _path$2() {
47066
+ function _path$1() {
47056
47067
  const data = require("path");
47057
- _path$2 = function() {
47068
+ _path$1 = function() {
47058
47069
  return data;
47059
47070
  };
47060
47071
  return data;
@@ -47099,9 +47110,9 @@ var require_partial = /* @__PURE__ */ __commonJSMin(((exports) => {
47099
47110
  if (inputOpts != null && (typeof inputOpts !== "object" || Array.isArray(inputOpts))) throw new Error("Babel options must be an object, null, or undefined");
47100
47111
  const args = inputOpts ? (0, _options.validate)("arguments", inputOpts) : {};
47101
47112
  const { envName = (0, _environment.getEnv)(), cwd = ".", root: rootDir = ".", rootMode = "root", caller, cloneInputAst = true } = args;
47102
- const absoluteCwd = _path$2().resolve(cwd);
47103
- const absoluteRootDir = resolveRootMode(_path$2().resolve(absoluteCwd, rootDir), rootMode);
47104
- const filename = typeof args.filename === "string" ? _path$2().resolve(cwd, args.filename) : void 0;
47113
+ const absoluteCwd = _path$1().resolve(cwd);
47114
+ const absoluteRootDir = resolveRootMode(_path$1().resolve(absoluteCwd, rootDir), rootMode);
47115
+ const filename = typeof args.filename === "string" ? _path$1().resolve(cwd, args.filename) : void 0;
47105
47116
  const context = {
47106
47117
  filename,
47107
47118
  cwd: absoluteCwd,
@@ -47613,19 +47624,19 @@ var require_block_hoist_plugin = /* @__PURE__ */ __commonJSMin(((exports) => {
47613
47624
  var require_normalize_opts = /* @__PURE__ */ __commonJSMin(((exports) => {
47614
47625
  Object.defineProperty(exports, "__esModule", { value: true });
47615
47626
  exports.default = normalizeOptions;
47616
- function _path$1() {
47627
+ function _path() {
47617
47628
  const data = require("path");
47618
- _path$1 = function() {
47629
+ _path = function() {
47619
47630
  return data;
47620
47631
  };
47621
47632
  return data;
47622
47633
  }
47623
47634
  function normalizeOptions(config) {
47624
- const { filename, cwd, filenameRelative = typeof filename === "string" ? _path$1().relative(cwd, filename) : "unknown", sourceType = "module", inputSourceMap, sourceMaps = !!inputSourceMap, sourceRoot = config.options.moduleRoot, sourceFileName = _path$1().basename(filenameRelative), comments = true, compact = "auto" } = config.options;
47635
+ const { filename, cwd, filenameRelative = typeof filename === "string" ? _path().relative(cwd, filename) : "unknown", sourceType = "module", inputSourceMap, sourceMaps = !!inputSourceMap, sourceRoot = config.options.moduleRoot, sourceFileName = _path().basename(filenameRelative), comments = true, compact = "auto" } = config.options;
47625
47636
  const opts = config.options;
47626
47637
  const options = Object.assign({}, opts, {
47627
47638
  parserOpts: Object.assign({
47628
- sourceType: _path$1().extname(filenameRelative) === ".mjs" ? "module" : sourceType,
47639
+ sourceType: _path().extname(filenameRelative) === ".mjs" ? "module" : sourceType,
47629
47640
  sourceFileName: filename,
47630
47641
  plugins: []
47631
47642
  }, opts.parserOpts),
@@ -47796,6 +47807,15 @@ var require_convert_source_map = /* @__PURE__ */ __commonJSMin(((exports) => {
47796
47807
  };
47797
47808
  }));
47798
47809
  //#endregion
47810
+ //#region ../../node_modules/@babel/core/lib/transformation/read-input-source-map-file-browser.js
47811
+ var require_read_input_source_map_file_browser = /* @__PURE__ */ __commonJSMin(((exports) => {
47812
+ Object.defineProperty(exports, "__esModule", { value: true });
47813
+ exports.default = readInputSourceMapFile;
47814
+ function readInputSourceMapFile() {
47815
+ throw new Error("Reading input source map files is not supported in browsers");
47816
+ }
47817
+ }));
47818
+ //#endregion
47799
47819
  //#region ../../node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js
47800
47820
  var require_missing_plugin_helper = /* @__PURE__ */ __commonJSMin(((exports) => {
47801
47821
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -48217,20 +48237,6 @@ var require_clone_deep = /* @__PURE__ */ __commonJSMin(((exports) => {
48217
48237
  var require_normalize_file = /* @__PURE__ */ __commonJSMin(((exports) => {
48218
48238
  Object.defineProperty(exports, "__esModule", { value: true });
48219
48239
  exports.default = normalizeFile;
48220
- function _fs() {
48221
- const data = require("fs");
48222
- _fs = function() {
48223
- return data;
48224
- };
48225
- return data;
48226
- }
48227
- function _path() {
48228
- const data = require("path");
48229
- _path = function() {
48230
- return data;
48231
- };
48232
- return data;
48233
- }
48234
48240
  function _debug() {
48235
48241
  const data = require_browser();
48236
48242
  _debug = function() {
@@ -48252,6 +48258,7 @@ var require_normalize_file = /* @__PURE__ */ __commonJSMin(((exports) => {
48252
48258
  };
48253
48259
  return data;
48254
48260
  }
48261
+ var _readInputSourceMapFile = require_read_input_source_map_file_browser();
48255
48262
  var _file = require_file();
48256
48263
  var _index = require_parser();
48257
48264
  var _cloneDeep = require_clone_deep();
@@ -48280,9 +48287,8 @@ var require_normalize_file = /* @__PURE__ */ __commonJSMin(((exports) => {
48280
48287
  if (!inputMap) {
48281
48288
  const lastComment = extractComments(EXTERNAL_SOURCEMAP_REGEX, ast);
48282
48289
  if (typeof options.filename === "string" && lastComment) try {
48283
- const match = EXTERNAL_SOURCEMAP_REGEX.exec(lastComment);
48284
- const inputMapContent = _fs().readFileSync(_path().resolve(_path().dirname(options.filename), match[1]), "utf8");
48285
- inputMap = _convertSourceMap().fromJSON(inputMapContent);
48290
+ const inputMapURL = EXTERNAL_SOURCEMAP_REGEX.exec(lastComment)[1];
48291
+ inputMap = (0, _readInputSourceMapFile.default)(options.filename, options.root, inputMapURL);
48286
48292
  } catch (err) {
48287
48293
  debug("discarding unknown file input sourcemap", err);
48288
48294
  }
@@ -48997,7 +49003,7 @@ var require_lib$10 = /* @__PURE__ */ __commonJSMin(((exports) => {
48997
49003
  var _transformFile = require_transform_file_browser();
48998
49004
  var _transformAst = require_transform_ast();
48999
49005
  var _parse = require_parse();
49000
- exports.version = "7.29.0";
49006
+ exports.version = "7.29.7";
49001
49007
  const resolvePlugin = (name, dirname) => resolvers.resolvePlugin(name, dirname, false).filepath;
49002
49008
  exports.resolvePlugin = resolvePlugin;
49003
49009
  const resolvePreset = (name, dirname) => resolvers.resolvePreset(name, dirname, false).filepath;
@@ -49130,7 +49136,7 @@ var require_lazy = /* @__PURE__ */ __commonJSMin(((exports) => {
49130
49136
  var _helperModuleTransforms = require_lib$13();
49131
49137
  const lazyImportsHook = (lazy) => ({
49132
49138
  name: `@babel/plugin-transform-modules-commonjs/lazy`,
49133
- version: "7.28.6",
49139
+ version: "7.29.7",
49134
49140
  getWrapperPayload(source, metadata) {
49135
49141
  if ((0, _helperModuleTransforms.isSideEffectImport)(metadata) || metadata.reexportAll) return null;
49136
49142
  if (lazy === true) return source.includes(".") ? null : "lazy/function";
@@ -49358,7 +49364,7 @@ var require_lib$6 = /* @__PURE__ */ __commonJSMin(((exports) => {
49358
49364
  n.default = e;
49359
49365
  return Object.freeze(n);
49360
49366
  }
49361
- var _t__namespace = /* @__PURE__ */ _interopNamespace(_t);
49367
+ var _t__namespace = /*#__PURE__*/ _interopNamespace(_t);
49362
49368
  function willPathCastToBoolean(path) {
49363
49369
  const { node, parentPath } = path;
49364
49370
  if (parentPath.isLogicalExpression()) {
@@ -51924,7 +51930,7 @@ var require_features = /* @__PURE__ */ __commonJSMin(((exports) => {
51924
51930
  privateIn: 16,
51925
51931
  staticBlocks: 32
51926
51932
  });
51927
- const featuresSameLoose = new Map([
51933
+ const featuresSameLoose = /* @__PURE__ */ new Map([
51928
51934
  [FEATURES.fields, "@babel/plugin-transform-class-properties"],
51929
51935
  [FEATURES.privateMethods, "@babel/plugin-transform-private-methods"],
51930
51936
  [FEATURES.privateIn, "@babel/plugin-transform-private-property-in-object"]
@@ -52085,14 +52091,14 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
52085
52091
  pre(file) {
52086
52092
  (0, _features.enableFeature)(file, feature, loose);
52087
52093
  if (typeof file.get(versionKey) === "number") {
52088
- file.set(versionKey, "7.29.3");
52094
+ file.set(versionKey, "7.29.7");
52089
52095
  return;
52090
52096
  }
52091
- if (!file.get(versionKey) || _semver.lt(file.get(versionKey), "7.29.3")) file.set(versionKey, "7.29.3");
52097
+ if (!file.get(versionKey) || _semver.lt(file.get(versionKey), "7.29.7")) file.set(versionKey, "7.29.7");
52092
52098
  },
52093
52099
  visitor: {
52094
52100
  Class(path, { file }) {
52095
- if (file.get(versionKey) !== "7.29.3") return;
52101
+ if (file.get(versionKey) !== "7.29.7") return;
52096
52102
  if (!(0, _features.shouldTransform)(path, file)) return;
52097
52103
  const pathIsClassDeclaration = path.isClassDeclaration();
52098
52104
  if (pathIsClassDeclaration) (0, _typescript.assertFieldTransformed)(path);
@@ -52168,7 +52174,7 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
52168
52174
  if (classBindingNode != null && pathIsClassDeclaration) wrappedPath.insertAfter(classBindingNode);
52169
52175
  },
52170
52176
  ExportDefaultDeclaration(path, { file }) {
52171
- if (file.get(versionKey) !== "7.29.3") return;
52177
+ if (file.get(versionKey) !== "7.29.7") return;
52172
52178
  const decl = path.get("declaration");
52173
52179
  if (decl.isClassDeclaration() && (0, _decorators.hasDecorators)(decl.node)) if (decl.node.id) {
52174
52180
  path.splitExportDeclaration ??= require_lib$15().NodePath.prototype.splitExportDeclaration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/compiler",
3
- "version": "5.40.0",
3
+ "version": "5.40.1",
4
4
  "description": "Marko template to JS compiler.",
5
5
  "keywords": [
6
6
  "babel",
@@ -68,10 +68,10 @@
68
68
  "build-babel-types": "node -r ~ts scripts/types"
69
69
  },
70
70
  "dependencies": {
71
- "@luxass/strip-json-comments": "^1.4.0",
71
+ "@luxass/strip-json-comments": "^2.0.1",
72
72
  "complain": "^1.6.1",
73
73
  "he": "^1.2.0",
74
- "htmljs-parser": "^5.10.2",
74
+ "htmljs-parser": "^5.12.1",
75
75
  "jsesc": "^3.1.0",
76
76
  "kleur": "^4.1.5",
77
77
  "lasso-package-root": "^1.0.1",
@@ -83,7 +83,7 @@
83
83
  "source-map-support": "^0.5.21"
84
84
  },
85
85
  "devDependencies": {
86
- "marko": "^5.39.11"
86
+ "marko": "^5.39.14"
87
87
  },
88
88
  "engines": {
89
89
  "node": "18 || 20 || >=22"