@absolutejs/absolute 0.20.0-beta.117 → 0.20.0-beta.119

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
@@ -16831,7 +16831,7 @@ var replaceAssetRef = (match, prefix, dir, name, ext, suffix, manifest, filePath
16831
16831
  return `${prefix}${newPath}${suffix}`;
16832
16832
  }, updateAssetPaths = async (manifest, directory) => {
16833
16833
  const htmlFiles = await scanEntryPoints(directory, "*.html");
16834
- const assetRegex = /((?:<script[^>]+src=|<link[^>]*?rel=["']stylesheet["'][^>]*?href=)["'])(?!\/?(?:.*\/)?htmx\.min\.js)(\/?(?:.*\/)?)([^./"']+)(?:\.[^."'/]+)?(\.(?:js|ts|css))(["'][^>]*>)/g;
16834
+ const assetRegex = /((?:<script[^>]+src=|<link[^>]*?rel=["']stylesheet["'][^>]*?href=)["'])(?!\/?(?:[^"'<>]*\/)?htmx\.min\.js)(\/?(?:[^"'<>]*\/)?)([^./"']+)(?:\.[^."'/]+)?(\.(?:js|ts|css))(["'][^>]*>)/g;
16835
16835
  const tasks = htmlFiles.map(async (filePath) => {
16836
16836
  const original = await readFile6(filePath, "utf8");
16837
16837
  const updated = original.replace(assetRegex, (match, prefix, dir, name, ext, suffix) => replaceAssetRef(match, prefix, dir, name, ext, suffix, manifest, filePath));
@@ -25877,7 +25877,7 @@ var init_compileAngular = __esm(() => {
25877
25877
 
25878
25878
  // node_modules/content-tag/pkg/node/content_tag.cjs
25879
25879
  var require_content_tag = __commonJS(function(exports, module) {
25880
- var __dirname = "/tmp/absolute-mobile-release/node_modules/content-tag/pkg/node";
25880
+ var __dirname = "/tmp/absolute-create-release/node_modules/content-tag/pkg/node";
25881
25881
  var imports = {};
25882
25882
  imports["__wbindgen_placeholder__"] = exports;
25883
25883
  var wasm;
@@ -28654,7 +28654,6 @@ ${offenders.map((o3) => ` \u2022 ${o3}`).join(`
28654
28654
  logWarn(`Manifest key collision: "${key}" was "${previousPath}" and will be overwritten by "${nextPath}". Rename one of the conflicting pages so each manifest key is unique across html/htmx (and other framework) directories.`);
28655
28655
  };
28656
28656
  const shouldCopyHtmx = !isIncremental || normalizedIncrementalFiles?.some((f2) => f2.includes("/htmx/") && f2.endsWith(".html"));
28657
- const shouldUpdateHtmlAssetPaths = !isIncremental || normalizedIncrementalFiles?.some((f2) => f2.includes("/html/") && (f2.endsWith(".html") || isStylePath(f2)));
28658
28657
  const shouldUpdateHtmxAssetPaths = !isIncremental || normalizedIncrementalFiles?.some((f2) => f2.includes("/htmx/") && (f2.endsWith(".html") || isStylePath(f2)));
28659
28658
  const hmrClientBundle = hmrClientBundlePromise ? await hmrClientBundlePromise : null;
28660
28659
  const injectHMRIntoHTMLFile = (filePath, framework) => {
@@ -28677,10 +28676,8 @@ ${offenders.map((o3) => ` \u2022 ${o3}`).join(`
28677
28676
  force: true,
28678
28677
  recursive: true
28679
28678
  });
28680
- if (shouldUpdateHtmlAssetPaths) {
28681
- await updateAssetPaths(manifest, outputHtmlPages);
28682
- await optimizeHtmlImages(outputHtmlPages);
28683
- }
28679
+ await updateAssetPaths(manifest, outputHtmlPages);
28680
+ await optimizeHtmlImages(outputHtmlPages);
28684
28681
  const htmlPageFiles = await scanEntryPoints(outputHtmlPages, "*.html");
28685
28682
  await transformStaticPagesWithIslands(islandRegistryPath, htmlPageFiles);
28686
28683
  for (const htmlFile of htmlPageFiles) {
@@ -45707,5 +45704,5 @@ export {
45707
45704
  wrapPageHandlerWithStreamingSlots
45708
45705
  };
45709
45706
 
45710
- //# debugId=115412BE9986B30E64756E2164756E21
45707
+ //# debugId=5ED59E98EB02DE2764756E2164756E21
45711
45708
  //# sourceMappingURL=index.js.map