@lark.js/mvc 0.0.5 → 0.0.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.
@@ -24,9 +24,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  mod
25
25
  ));
26
26
 
27
- // ../node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/lib/index.js
27
+ // ../../node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/lib/index.js
28
28
  var require_lib = __commonJS({
29
- "../node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/lib/index.js"(exports) {
29
+ "../../node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/lib/index.js"(exports) {
30
30
  "use strict";
31
31
  Object.defineProperty(exports, "__esModule", {
32
32
  value: true
@@ -14601,8 +14601,8 @@ var require_lib = __commonJS({
14601
14601
 
14602
14602
  // src/compiler.ts
14603
14603
  var import_parser = __toESM(require_lib(), 1);
14604
- var SPLITTER = "";
14605
- var VIEW_ID_PLACEHOLDER = "";
14604
+ var SPLITTER = String.fromCharCode(30);
14605
+ var VIEW_ID_PLACEHOLDER = String.fromCharCode(31);
14606
14606
  function jsObjectToUrlParams(paramsStr) {
14607
14607
  const trimmed = paramsStr.trim();
14608
14608
  if (!/^[{[]/.test(trimmed) && /=/.test(trimmed)) {
@@ -14662,7 +14662,7 @@ function addLineMarkers(source) {
14662
14662
  if (parts.length > 1) {
14663
14663
  const reconstructed = parts.map((part, i) => {
14664
14664
  if (i === 0) return part;
14665
- return openTag + SPLITTER + ++lineNo;
14665
+ return openTag + SPLITTER + ++lineNo + part;
14666
14666
  }).join("");
14667
14667
  result.push(reconstructed);
14668
14668
  } else {
@@ -15055,7 +15055,7 @@ function extractGlobalVars(source) {
15055
15055
  const htmlStore = {};
15056
15056
  let htmlIndex = 0;
15057
15057
  let lastIndex = 0;
15058
- const htmlKey = "";
15058
+ const htmlKey = String.fromCharCode(5);
15059
15059
  template.replace(
15060
15060
  templateCmdRegExp,
15061
15061
  (match, operate, content, offset) => {