@absolutejs/absolute 0.20.0-beta.156 → 0.20.0-beta.157

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/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ This file is generated by `absolute-changelog` from the entries in
6
6
  `changelog/`. Edit an entry, not this file — and add new ones under
7
7
  `changelog/unreleased/`.
8
8
 
9
+ ## 0.20.0-beta.157 — 2026-10-27
10
+
11
+ ### Fixed
12
+
13
+ - **Preserve literal percent-encoded module paths when serving current and retained compiled assets**
14
+
9
15
  ## 0.20.0-beta.156 — 2026-10-27
10
16
 
11
17
  ### Fixed
package/changelog.json CHANGED
@@ -2,6 +2,16 @@
2
2
  "contract": 1,
3
3
  "name": "@absolutejs/absolute",
4
4
  "releases": [
5
+ {
6
+ "changes": [
7
+ {
8
+ "kind": "fixed",
9
+ "summary": "Preserve literal percent-encoded module paths when serving current and retained compiled assets"
10
+ }
11
+ ],
12
+ "date": "2026-10-27",
13
+ "version": "0.20.0-beta.157"
14
+ },
5
15
  {
6
16
  "changes": [
7
17
  {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- // .angular-partial-tmp-abtgLH/src/core/streamingSlotRegistrar.ts
2
+ // .angular-partial-tmp-sL2unA/src/core/streamingSlotRegistrar.ts
3
3
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
4
4
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
5
5
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- // .angular-partial-tmp-abtgLH/src/core/streamingSlotRegistrar.ts
2
+ // .angular-partial-tmp-sL2unA/src/core/streamingSlotRegistrar.ts
3
3
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
4
4
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
5
5
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -46,7 +46,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
46
46
  getWarningController()?.maybeWarn(primitiveName);
47
47
  };
48
48
 
49
- // .angular-partial-tmp-abtgLH/src/core/streamingSlotRegistry.ts
49
+ // .angular-partial-tmp-sL2unA/src/core/streamingSlotRegistry.ts
50
50
  var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
51
51
  var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
52
52
  var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
@@ -1096,7 +1096,7 @@ const server = Bun.serve({
1096
1096
  let assetPath: string;
1097
1097
  try { assetPath = decodeURIComponent(url.pathname); }
1098
1098
  catch { return new Response("Malformed asset path", { status: 400 }); }
1099
- const embedded = ASSETS[assetPath];
1099
+ const embedded = ASSETS[url.pathname] ?? ASSETS[assetPath];
1100
1100
  if (embedded) {
1101
1101
  return new Response(Bun.file(embedded), {
1102
1102
  headers: {
@@ -1109,7 +1109,7 @@ const server = Bun.serve({
1109
1109
  }
1110
1110
 
1111
1111
  if (url.pathname.startsWith("/_absolute/assets/")) {
1112
- const retained = await archivedAsset?.(assetPath);
1112
+ const retained = await archivedAsset?.(url.pathname) ?? await archivedAsset?.(assetPath);
1113
1113
  if (retained) return new Response(retained, { headers: {
1114
1114
  "content-type": getMime(url.pathname),
1115
1115
  "cache-control": "public, max-age=31536000, immutable",
package/dist/cli/index.js CHANGED
@@ -205,7 +205,7 @@ if (command === "dev") {
205
205
  const configPath = parseNamedArg("--config");
206
206
  const positionalArgs = stripNamedArgs("--outdir", "--outfile", "--config");
207
207
  const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
208
- const { compile } = await import("./compile-bky8k5we.js");
208
+ const { compile } = await import("./compile-myhwnrrn.js");
209
209
  await compile(serverEntry, outdir, outfile, configPath);
210
210
  } else if (command === "mobile") {
211
211
  sendTelemetryEvent("cli:command", {
package/package.json CHANGED
@@ -563,7 +563,7 @@
563
563
  ]
564
564
  }
565
565
  },
566
- "version": "0.20.0-beta.156",
566
+ "version": "0.20.0-beta.157",
567
567
  "workspaces": [
568
568
  "tests/fixtures/*",
569
569
  "tests/fixtures/_packages/*"