@absolutejs/absolute 0.20.0-beta.157 → 0.20.0-beta.159
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 +12 -0
- package/changelog.json +20 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +33 -10
- package/dist/build.js.map +7 -6
- package/dist/cli/{compile-myhwnrrn.js → compile-30m09382.js} +2 -2
- package/dist/cli/{dev-dpb0bksv.js → dev-488hbm61.js} +1 -1
- package/dist/cli/{expoProject-z1gxrw3s.js → expoProject-h404n2r8.js} +1 -1
- package/dist/cli/{index-cnchgvtx.js → index-55k7vn84.js} +1 -1
- package/dist/cli/{index-3n1vqn3y.js → index-j7m8pq48.js} +1 -1
- package/dist/cli/{index-x3a66ym4.js → index-s0r5q839.js} +2 -1
- package/dist/cli/index.js +5 -5
- package/dist/cli/{mobile-gtnrcfsf.js → mobile-gpxjf5e2.js} +5 -4
- package/dist/cli/{start-3bbpy0md.js → start-4rpdy8hg.js} +3 -3
- package/dist/index.js +33 -10
- package/dist/index.js.map +7 -6
- package/dist/mobile/index.js +7 -7
- package/dist/mobile/index.js.map +4 -4
- package/dist/mobile/remoteMacAgentEntry.js +1 -1
- package/dist/src/build/dedupeCssBlocks.d.ts +5 -0
- package/dist/src/mobile/nativePackages.d.ts +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,18 @@ 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.159 — 2026-10-28
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Deduplicate shared Vue component styles without changing cascade order and invalidate older CSS compile caches**
|
|
14
|
+
|
|
15
|
+
## 0.20.0-beta.158 — 2026-10-28
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **Mobile releases use @absolutejs/deploy 0.33.0, which can record a store-delivered native release by digest and build provenance without storing its bytes; `absolute mobile update provision` installs the same version instead of 0.26.0**
|
|
20
|
+
|
|
9
21
|
## 0.20.0-beta.157 — 2026-10-27
|
|
10
22
|
|
|
11
23
|
### Fixed
|
package/changelog.json
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
"contract": 1,
|
|
3
3
|
"name": "@absolutejs/absolute",
|
|
4
4
|
"releases": [
|
|
5
|
+
{
|
|
6
|
+
"changes": [
|
|
7
|
+
{
|
|
8
|
+
"kind": "fixed",
|
|
9
|
+
"summary": "Deduplicate shared Vue component styles without changing cascade order and invalidate older CSS compile caches"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"date": "2026-10-28",
|
|
13
|
+
"version": "0.20.0-beta.159"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"changes": [
|
|
17
|
+
{
|
|
18
|
+
"kind": "changed",
|
|
19
|
+
"summary": "Mobile releases use @absolutejs/deploy 0.33.0, which can record a store-delivered native release by digest and build provenance without storing its bytes; `absolute mobile update provision` installs the same version instead of 0.26.0"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"date": "2026-10-28",
|
|
23
|
+
"version": "0.20.0-beta.158"
|
|
24
|
+
},
|
|
5
25
|
{
|
|
6
26
|
"changes": [
|
|
7
27
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
// .angular-partial-tmp-
|
|
2
|
+
// .angular-partial-tmp-I5O5KJ/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-
|
|
2
|
+
// .angular-partial-tmp-I5O5KJ/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-
|
|
49
|
+
// .angular-partial-tmp-I5O5KJ/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";
|
package/dist/build.js
CHANGED
|
@@ -18006,6 +18006,29 @@ var init_compileSvelte = __esm(() => {
|
|
|
18006
18006
|
transpiler3 = new Transpiler2({ loader: "ts", target: "browser" });
|
|
18007
18007
|
});
|
|
18008
18008
|
|
|
18009
|
+
// src/build/dedupeCssBlocks.ts
|
|
18010
|
+
var dedupeCssBlocks = (blocks) => {
|
|
18011
|
+
const seen = new Set;
|
|
18012
|
+
const result = [];
|
|
18013
|
+
for (const block of blocks.toReversed()) {
|
|
18014
|
+
const syntax = block.replace(/"(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\])*'|\/\*[\s\S]*?\*\//g, "");
|
|
18015
|
+
if (/@(?:import|namespace)\b|@[\w-]*\\/i.test(syntax)) {
|
|
18016
|
+
seen.clear();
|
|
18017
|
+
result.push(block);
|
|
18018
|
+
continue;
|
|
18019
|
+
}
|
|
18020
|
+
if (/@layer\b/i.test(syntax)) {
|
|
18021
|
+
result.push(block);
|
|
18022
|
+
continue;
|
|
18023
|
+
}
|
|
18024
|
+
if (seen.has(block))
|
|
18025
|
+
continue;
|
|
18026
|
+
seen.add(block);
|
|
18027
|
+
result.push(block);
|
|
18028
|
+
}
|
|
18029
|
+
return result.reverse();
|
|
18030
|
+
};
|
|
18031
|
+
|
|
18009
18032
|
// src/build/parseVueSpaRoutes.ts
|
|
18010
18033
|
import ts17 from "typescript";
|
|
18011
18034
|
var propertyName = (node) => ts17.isIdentifier(node) || ts17.isStringLiteralLike(node) ? node.text : null, stringValue = (node) => ts17.isStringLiteralLike(node) ? node.text : null, findVueImport = (node) => {
|
|
@@ -18492,7 +18515,7 @@ import { createHash as createHash3 } from "crypto";
|
|
|
18492
18515
|
import { existsSync as existsSync26, readFileSync as readFileSync23 } from "fs";
|
|
18493
18516
|
import { mkdir as mkdir7, rename, writeFile as writeFile7 } from "fs/promises";
|
|
18494
18517
|
import { join as join36, resolve as resolve27 } from "path";
|
|
18495
|
-
var CACHE_DIR_NAME = "compile-cache", ABSOLUTE_CACHE_DIR_NAME2 = ".absolutejs", CACHE_FORMAT_VERSION =
|
|
18518
|
+
var CACHE_DIR_NAME = "compile-cache", ABSOLUTE_CACHE_DIR_NAME2 = ".absolutejs", CACHE_FORMAT_VERSION = 3, FILE_NAME_HASH_LENGTH = 32, vueCompileCacheEnabled = () => process.env.ABSOLUTE_COMPILE_CACHE !== "0", hashContent = (content) => createHash3("sha256").update(content).digest("hex"), hashParts = (parts) => {
|
|
18496
18519
|
const hash = createHash3("sha256");
|
|
18497
18520
|
for (const part of parts) {
|
|
18498
18521
|
hash.update(part);
|
|
@@ -19558,10 +19581,10 @@ var resolveDevClientDir3 = () => {
|
|
|
19558
19581
|
sourceFilePath,
|
|
19559
19582
|
styleSources
|
|
19560
19583
|
}));
|
|
19561
|
-
const allCss = [
|
|
19584
|
+
const allCss = dedupeCssBlocks([
|
|
19562
19585
|
...localCss,
|
|
19563
19586
|
...childBuildResults.flatMap((result) => result.cssCodes)
|
|
19564
|
-
];
|
|
19587
|
+
]);
|
|
19565
19588
|
const cssOutputFile = isEntryPoint && allCss.length ? join39(outputDirs.css, `${toKebab(fileBaseName)}-compiled.css`) : null;
|
|
19566
19589
|
const cssOutputPaths = cssOutputFile ? [cssOutputFile] : [];
|
|
19567
19590
|
trackWrite(writeVueOutputs({
|
|
@@ -29157,17 +29180,17 @@ var MAX_FILE_BYTES, MAX_TOTAL_BYTES, DAY_MS, DEFAULT_MIN_AGE_MS, DEFAULT_GRACE_P
|
|
|
29157
29180
|
const platformUpdate = descriptor.platforms[platform];
|
|
29158
29181
|
if (!platformUpdate || descriptor.runtimeVersion !== runtimeFingerprint)
|
|
29159
29182
|
return new Response(null, { status: 204 });
|
|
29160
|
-
const
|
|
29161
|
-
const releaseRoute = `${
|
|
29183
|
+
const origin = new URL(request.url).origin;
|
|
29184
|
+
const releaseRoute = `${origin}/${route}/${selected.manifest.releaseId}/files`;
|
|
29162
29185
|
const protocolAsset = (asset, launch = false) => {
|
|
29163
|
-
const
|
|
29164
|
-
if (!
|
|
29186
|
+
const file = selected.manifest.files.find((candidate) => candidate.path === asset.path);
|
|
29187
|
+
if (!file)
|
|
29165
29188
|
throw new MobileUpdateRegistryError(`Expo update references missing signed asset ${asset.path}`);
|
|
29166
29189
|
return {
|
|
29167
29190
|
contentType: expoContentType(asset.extension, launch),
|
|
29168
29191
|
...asset.extension ? { fileExtension: `.${asset.extension}` } : {},
|
|
29169
|
-
key:
|
|
29170
|
-
hash: Buffer.from(
|
|
29192
|
+
key: file.sha256,
|
|
29193
|
+
hash: Buffer.from(file.sha256, "hex").toString("base64url"),
|
|
29171
29194
|
url: `${releaseRoute}/${encodeUpdatePath(asset.path)}`
|
|
29172
29195
|
};
|
|
29173
29196
|
};
|
|
@@ -37939,5 +37962,5 @@ export {
|
|
|
37939
37962
|
devBuild
|
|
37940
37963
|
};
|
|
37941
37964
|
|
|
37942
|
-
//# debugId=
|
|
37965
|
+
//# debugId=BBA0706D228C392264756E2164756E21
|
|
37943
37966
|
//# sourceMappingURL=build.js.map
|