@absolutejs/absolute 0.19.0-beta.388 → 0.19.0-beta.389

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/dist/index.js CHANGED
@@ -172401,7 +172401,20 @@ var resolveDevClientDir2 = () => {
172401
172401
  if (requireMatches && requireMatches.length > 1) {
172402
172402
  return code;
172403
172403
  }
172404
- return code.replace(/var __require = \/\* @__PURE__ \*\/ \(\(x\) => typeof require !== "undefined" \? require : typeof Proxy !== "undefined" \? new Proxy\(x, \{\s*get: \(a, b\) => \(typeof require !== "undefined" \? require : a\)\[b\]\s*\}\) : x\)\(function\(x\) \{\s*if \(typeof require !== "undefined"\)\s*return require\.apply\(this, arguments\);\s*throw Error\('Dynamic require of "' \+ x \+ '" is not supported'\);\s*\}\);\s*/m, "");
172404
+ const helperStart = code.indexOf("var __require = /* @__PURE__ */");
172405
+ if (helperStart === -1) {
172406
+ return code;
172407
+ }
172408
+ const helperEndMarker = `throw Error('Dynamic require of "' + x + '" is not supported');`;
172409
+ const helperEnd = code.indexOf(helperEndMarker, helperStart);
172410
+ if (helperEnd === -1) {
172411
+ return code;
172412
+ }
172413
+ const statementEnd = code.indexOf("});", helperEnd);
172414
+ if (statementEnd === -1) {
172415
+ return code;
172416
+ }
172417
+ return `${code.slice(0, helperStart)}${code.slice(statementEnd + 3)}`;
172405
172418
  }, exists = async (path) => {
172406
172419
  try {
172407
172420
  await stat(path);
@@ -173240,7 +173253,7 @@ ${registrations}
173240
173253
  ({ tsLibDir } = cached);
173241
173254
  cached.lastUsed = Date.now();
173242
173255
  } else {
173243
- const tsPath = __require.resolve("typescript");
173256
+ const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
173244
173257
  const tsRootDir = dirname9(tsPath);
173245
173258
  tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve18(tsRootDir, "lib");
173246
173259
  const config = readConfiguration("./tsconfig.json");
@@ -187576,5 +187589,5 @@ export {
187576
187589
  ANGULAR_INIT_TIMEOUT_MS
187577
187590
  };
187578
187591
 
187579
- //# debugId=7E83CE558B5AECE164756E2164756E21
187592
+ //# debugId=043BF8656FFA280564756E2164756E21
187580
187593
  //# sourceMappingURL=index.js.map