@absolutejs/absolute 0.19.0-beta.865 → 0.19.0-beta.866
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-hEWGDp/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-hEWGDp/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-hEWGDp/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
|
@@ -17797,14 +17797,26 @@ class ExpressionTranslatorVisitor {
|
|
|
17797
17797
|
}
|
|
17798
17798
|
visitLiteralMapExpr(ast, context) {
|
|
17799
17799
|
const properties = ast.entries.map((entry) => {
|
|
17800
|
-
|
|
17801
|
-
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
|
|
17805
|
-
|
|
17800
|
+
const looksLikeProperty = typeof entry.key === "string" && entry.value !== undefined;
|
|
17801
|
+
const isPropertyAssignment = entry instanceof o.LiteralMapPropertyAssignment || looksLikeProperty;
|
|
17802
|
+
if (isPropertyAssignment) {
|
|
17803
|
+
const e = entry;
|
|
17804
|
+
return {
|
|
17805
|
+
kind: "property",
|
|
17806
|
+
propertyName: e.key,
|
|
17807
|
+
quoted: e.quoted,
|
|
17808
|
+
value: e.value.visitExpression(this, context)
|
|
17809
|
+
};
|
|
17810
|
+
}
|
|
17811
|
+
const spreadEntry = entry;
|
|
17812
|
+
if (!spreadEntry.expression) {
|
|
17813
|
+
const ctorName = entry?.constructor?.name;
|
|
17814
|
+
const keys = entry ? Object.keys(entry).join(",") : "";
|
|
17815
|
+
throw new Error(`[abs translator] LiteralMapExpr entry has neither key+value nor expression; ` + `ctor=${ctorName}, keys=${keys}. Likely a duplicate @angular/compiler ` + `module instance \u2014 investigate import resolution.`);
|
|
17816
|
+
}
|
|
17817
|
+
return {
|
|
17806
17818
|
kind: "spread",
|
|
17807
|
-
expression:
|
|
17819
|
+
expression: spreadEntry.expression.visitExpression(this, context)
|
|
17808
17820
|
};
|
|
17809
17821
|
});
|
|
17810
17822
|
return this.setSourceMapRange(this.factory.createObjectLiteral(properties), ast.sourceSpan);
|
|
@@ -21611,5 +21623,5 @@ export {
|
|
|
21611
21623
|
build
|
|
21612
21624
|
};
|
|
21613
21625
|
|
|
21614
|
-
//# debugId=
|
|
21626
|
+
//# debugId=8553496840CE9FD764756E2164756E21
|
|
21615
21627
|
//# sourceMappingURL=build.js.map
|