@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/build.js CHANGED
@@ -171820,7 +171820,20 @@ var resolveDevClientDir2 = () => {
171820
171820
  if (requireMatches && requireMatches.length > 1) {
171821
171821
  return code;
171822
171822
  }
171823
- 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, "");
171823
+ const helperStart = code.indexOf("var __require = /* @__PURE__ */");
171824
+ if (helperStart === -1) {
171825
+ return code;
171826
+ }
171827
+ const helperEndMarker = `throw Error('Dynamic require of "' + x + '" is not supported');`;
171828
+ const helperEnd = code.indexOf(helperEndMarker, helperStart);
171829
+ if (helperEnd === -1) {
171830
+ return code;
171831
+ }
171832
+ const statementEnd = code.indexOf("});", helperEnd);
171833
+ if (statementEnd === -1) {
171834
+ return code;
171835
+ }
171836
+ return `${code.slice(0, helperStart)}${code.slice(statementEnd + 3)}`;
171824
171837
  }, exists = async (path) => {
171825
171838
  try {
171826
171839
  await stat(path);
@@ -172659,7 +172672,7 @@ ${registrations}
172659
172672
  ({ tsLibDir } = cached);
172660
172673
  cached.lastUsed = Date.now();
172661
172674
  } else {
172662
- const tsPath = __require.resolve("typescript");
172675
+ const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
172663
172676
  const tsRootDir = dirname8(tsPath);
172664
172677
  tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve15(tsRootDir, "lib");
172665
172678
  const config = readConfiguration("./tsconfig.json");
@@ -179205,5 +179218,5 @@ export {
179205
179218
  build
179206
179219
  };
179207
179220
 
179208
- //# debugId=9962EE1FE3DD930864756E2164756E21
179221
+ //# debugId=2A04BA041CE4D42C64756E2164756E21
179209
179222
  //# sourceMappingURL=build.js.map