@absolutejs/absolute 0.19.0-beta.947 → 0.19.0-beta.948
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-nP4Hv0/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-nP4Hv0/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-nP4Hv0/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
|
@@ -14840,7 +14840,18 @@ var fail = (reason, detail, location) => ({
|
|
|
14840
14840
|
if (!initializerShapeIsStructural(init))
|
|
14841
14841
|
continue;
|
|
14842
14842
|
const name = member.name.getText();
|
|
14843
|
-
|
|
14843
|
+
let bodyText;
|
|
14844
|
+
try {
|
|
14845
|
+
const printer = ts6.createPrinter({
|
|
14846
|
+
newLine: ts6.NewLineKind.LineFeed,
|
|
14847
|
+
omitTrailingSemicolon: true,
|
|
14848
|
+
removeComments: true
|
|
14849
|
+
});
|
|
14850
|
+
bodyText = printer.printNode(ts6.EmitHint.Unspecified, init, cls.getSourceFile());
|
|
14851
|
+
} catch {
|
|
14852
|
+
bodyText = init.getText();
|
|
14853
|
+
}
|
|
14854
|
+
const bodyHash = djb2Hash(bodyText);
|
|
14844
14855
|
entries.push(`${name}:${bodyHash}`);
|
|
14845
14856
|
}
|
|
14846
14857
|
return entries.sort();
|
|
@@ -15049,15 +15060,21 @@ var fail = (reason, detail, location) => ({
|
|
|
15049
15060
|
const providerImportSig = extractProviderImportSig(decoratorMeta.importsExpr, sourceFile, componentDir);
|
|
15050
15061
|
const topLevelImports = extractTopLevelImports(sourceFile);
|
|
15051
15062
|
const propertyFieldNames = extractPropertyFieldNames(cls);
|
|
15052
|
-
const
|
|
15053
|
-
|
|
15054
|
-
|
|
15055
|
-
|
|
15056
|
-
|
|
15057
|
-
const
|
|
15058
|
-
const
|
|
15059
|
-
const
|
|
15060
|
-
const
|
|
15063
|
+
const printer = ts6.createPrinter({
|
|
15064
|
+
newLine: ts6.NewLineKind.LineFeed,
|
|
15065
|
+
omitTrailingSemicolon: true,
|
|
15066
|
+
removeComments: true
|
|
15067
|
+
});
|
|
15068
|
+
const canonicalText = (node) => printer.printNode(ts6.EmitHint.Unspecified, node, sourceFile);
|
|
15069
|
+
const importsArraySig = decoratorMeta.importsExpr ? djb2Hash(canonicalText(decoratorMeta.importsExpr)) : "";
|
|
15070
|
+
const hostDirectivesSig = decoratorMeta.hostDirectivesExpr ? djb2Hash(canonicalText(decoratorMeta.hostDirectivesExpr)) : "";
|
|
15071
|
+
const animationsArraySig = decoratorMeta.animationsExpr ? djb2Hash(canonicalText(decoratorMeta.animationsExpr)) : "";
|
|
15072
|
+
const providersArraySig = decoratorMeta.providersExpr ? djb2Hash(canonicalText(decoratorMeta.providersExpr)) : "";
|
|
15073
|
+
const viewProvidersArraySig = decoratorMeta.viewProvidersExpr ? djb2Hash(canonicalText(decoratorMeta.viewProvidersExpr)) : "";
|
|
15074
|
+
const decoratorInputsArraySig = decoratorMeta.inputsArrayExpr ? djb2Hash(canonicalText(decoratorMeta.inputsArrayExpr)) : "";
|
|
15075
|
+
const decoratorOutputsArraySig = decoratorMeta.outputsArrayExpr ? djb2Hash(canonicalText(decoratorMeta.outputsArrayExpr)) : "";
|
|
15076
|
+
const hostBindingsSig = decoratorMeta.hostExpr ? djb2Hash(canonicalText(decoratorMeta.hostExpr)) : "";
|
|
15077
|
+
const schemasSig = decoratorMeta.schemasExpr ? djb2Hash(canonicalText(decoratorMeta.schemasExpr)) : "";
|
|
15061
15078
|
const PAGE_EXPORT_NAMES = new Set(["providers", "routes"]);
|
|
15062
15079
|
const pageExportEntries = [];
|
|
15063
15080
|
for (const stmt of sourceFile.statements) {
|
|
@@ -15073,7 +15090,7 @@ var fail = (reason, detail, location) => ({
|
|
|
15073
15090
|
continue;
|
|
15074
15091
|
if (!decl.initializer)
|
|
15075
15092
|
continue;
|
|
15076
|
-
pageExportEntries.push(`${decl.name.text}=${djb2Hash(decl.initializer
|
|
15093
|
+
pageExportEntries.push(`${decl.name.text}=${djb2Hash(canonicalText(decl.initializer))}`);
|
|
15077
15094
|
}
|
|
15078
15095
|
}
|
|
15079
15096
|
pageExportEntries.sort();
|
|
@@ -21656,6 +21673,9 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, runSequent
|
|
|
21656
21673
|
if (framework === "ignored") {
|
|
21657
21674
|
return;
|
|
21658
21675
|
}
|
|
21676
|
+
if (/\.(spec|test)\.(?:m?[tj]sx?)$/i.test(filePath) || /[\\/]__tests__[\\/]/.test(filePath)) {
|
|
21677
|
+
return;
|
|
21678
|
+
}
|
|
21659
21679
|
const currentHash = computeFileHash(filePath);
|
|
21660
21680
|
if (!hasFileChanged(filePath, currentHash, state.fileHashes)) {
|
|
21661
21681
|
return;
|
|
@@ -24044,5 +24064,5 @@ export {
|
|
|
24044
24064
|
build
|
|
24045
24065
|
};
|
|
24046
24066
|
|
|
24047
|
-
//# debugId=
|
|
24067
|
+
//# debugId=3C052D33821FDEB764756E2164756E21
|
|
24048
24068
|
//# sourceMappingURL=build.js.map
|