@absolutejs/absolute 0.20.0-beta.15 → 0.20.0-beta.16
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/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +8 -1
- package/dist/build.js.map +4 -4
- package/dist/cli/index.js +8 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +4 -4
- package/dist/mobile/index.js +8 -1
- package/dist/mobile/index.js.map +4 -4
- package/package.json +10 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-TLzq3x/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-TLzq3x/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
48
48
|
getWarningController()?.maybeWarn(primitiveName);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
// .angular-partial-tmp-
|
|
51
|
+
// .angular-partial-tmp-TLzq3x/src/core/streamingSlotRegistry.ts
|
|
52
52
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
53
53
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
54
54
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
package/dist/build.js
CHANGED
|
@@ -12881,6 +12881,8 @@ var RUNTIME_TRANSPORT, host, isRegistry = (value) => typeof value === "object" &
|
|
|
12881
12881
|
}
|
|
12882
12882
|
for (const [index, rule] of (policy.mutations ?? []).entries()) {
|
|
12883
12883
|
validatePolicyMatch(rule.match, `${label}.mutations[${index}]`);
|
|
12884
|
+
if (rule.persistence === "memory-only" && rule.protection === "required")
|
|
12885
|
+
throw new SyncLocalDataPolicyError("INVALID_POLICY", `${label}.mutations[${index}] cannot require at-rest protection when it is memory-only.`);
|
|
12884
12886
|
if (rule.sensitivity !== undefined && rule.sensitivity !== "public" && rule.protection !== "required" && rule.persistence !== "memory-only")
|
|
12885
12887
|
throw new SyncLocalDataPolicyError("INVALID_POLICY", `${label}.mutations[${index}] declares ${rule.sensitivity} arguments without required protection.`);
|
|
12886
12888
|
}
|
|
@@ -13133,6 +13135,7 @@ var object = (value) => typeof value === "object" && value !== null && !Array.is
|
|
|
13133
13135
|
const rule = requireObject(entry, id, `localData.mutations[${index}] must be an object.`);
|
|
13134
13136
|
const allowedRuleKeys = new Set([
|
|
13135
13137
|
"match",
|
|
13138
|
+
"onProtectionUnavailable",
|
|
13136
13139
|
"persistence",
|
|
13137
13140
|
"protection",
|
|
13138
13141
|
"sensitivity"
|
|
@@ -13143,15 +13146,19 @@ var object = (value) => typeof value === "object" && value !== null && !Array.is
|
|
|
13143
13146
|
const protection = unknownField(rule, "protection");
|
|
13144
13147
|
const sensitivity = unknownField(rule, "sensitivity");
|
|
13145
13148
|
const persistence = unknownField(rule, "persistence");
|
|
13149
|
+
const onProtectionUnavailable = unknownField(rule, "onProtectionUnavailable");
|
|
13146
13150
|
if (protection !== undefined && protection !== "none" && protection !== "required")
|
|
13147
13151
|
throw metadataError(id, `localData.mutations[${index}].protection is invalid.`);
|
|
13148
13152
|
if (sensitivity !== undefined && sensitivity !== "public" && sensitivity !== "private" && sensitivity !== "secret")
|
|
13149
13153
|
throw metadataError(id, `localData.mutations[${index}].sensitivity is invalid.`);
|
|
13154
|
+
if (onProtectionUnavailable !== undefined && onProtectionUnavailable !== "error" && onProtectionUnavailable !== "memory-only")
|
|
13155
|
+
throw metadataError(id, `localData.mutations[${index}].onProtectionUnavailable is invalid.`);
|
|
13150
13156
|
if (persistence !== undefined && persistence !== "durable" && persistence !== "memory-only")
|
|
13151
13157
|
throw metadataError(id, `localData.mutations[${index}].persistence is invalid.`);
|
|
13152
13158
|
return {
|
|
13153
13159
|
match: nonEmpty(Reflect.get(rule, "match"), id, `localData.mutations[${index}].match`),
|
|
13154
13160
|
...sensitivity ? { sensitivity } : {},
|
|
13161
|
+
...onProtectionUnavailable ? { onProtectionUnavailable } : {},
|
|
13155
13162
|
...persistence ? {
|
|
13156
13163
|
persistence
|
|
13157
13164
|
} : {},
|
|
@@ -30015,5 +30022,5 @@ export {
|
|
|
30015
30022
|
build
|
|
30016
30023
|
};
|
|
30017
30024
|
|
|
30018
|
-
//# debugId=
|
|
30025
|
+
//# debugId=8331CE4644B33A6A64756E2164756E21
|
|
30019
30026
|
//# sourceMappingURL=build.js.map
|