@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.
package/dist/index.js
CHANGED
|
@@ -15140,7 +15140,18 @@ var fail = (reason, detail, location) => ({
|
|
|
15140
15140
|
if (!initializerShapeIsStructural(init))
|
|
15141
15141
|
continue;
|
|
15142
15142
|
const name = member.name.getText();
|
|
15143
|
-
|
|
15143
|
+
let bodyText;
|
|
15144
|
+
try {
|
|
15145
|
+
const printer = ts6.createPrinter({
|
|
15146
|
+
newLine: ts6.NewLineKind.LineFeed,
|
|
15147
|
+
omitTrailingSemicolon: true,
|
|
15148
|
+
removeComments: true
|
|
15149
|
+
});
|
|
15150
|
+
bodyText = printer.printNode(ts6.EmitHint.Unspecified, init, cls.getSourceFile());
|
|
15151
|
+
} catch {
|
|
15152
|
+
bodyText = init.getText();
|
|
15153
|
+
}
|
|
15154
|
+
const bodyHash = djb2Hash(bodyText);
|
|
15144
15155
|
entries.push(`${name}:${bodyHash}`);
|
|
15145
15156
|
}
|
|
15146
15157
|
return entries.sort();
|
|
@@ -15349,15 +15360,21 @@ var fail = (reason, detail, location) => ({
|
|
|
15349
15360
|
const providerImportSig = extractProviderImportSig(decoratorMeta.importsExpr, sourceFile, componentDir);
|
|
15350
15361
|
const topLevelImports = extractTopLevelImports(sourceFile);
|
|
15351
15362
|
const propertyFieldNames = extractPropertyFieldNames(cls);
|
|
15352
|
-
const
|
|
15353
|
-
|
|
15354
|
-
|
|
15355
|
-
|
|
15356
|
-
|
|
15357
|
-
const
|
|
15358
|
-
const
|
|
15359
|
-
const
|
|
15360
|
-
const
|
|
15363
|
+
const printer = ts6.createPrinter({
|
|
15364
|
+
newLine: ts6.NewLineKind.LineFeed,
|
|
15365
|
+
omitTrailingSemicolon: true,
|
|
15366
|
+
removeComments: true
|
|
15367
|
+
});
|
|
15368
|
+
const canonicalText = (node) => printer.printNode(ts6.EmitHint.Unspecified, node, sourceFile);
|
|
15369
|
+
const importsArraySig = decoratorMeta.importsExpr ? djb2Hash(canonicalText(decoratorMeta.importsExpr)) : "";
|
|
15370
|
+
const hostDirectivesSig = decoratorMeta.hostDirectivesExpr ? djb2Hash(canonicalText(decoratorMeta.hostDirectivesExpr)) : "";
|
|
15371
|
+
const animationsArraySig = decoratorMeta.animationsExpr ? djb2Hash(canonicalText(decoratorMeta.animationsExpr)) : "";
|
|
15372
|
+
const providersArraySig = decoratorMeta.providersExpr ? djb2Hash(canonicalText(decoratorMeta.providersExpr)) : "";
|
|
15373
|
+
const viewProvidersArraySig = decoratorMeta.viewProvidersExpr ? djb2Hash(canonicalText(decoratorMeta.viewProvidersExpr)) : "";
|
|
15374
|
+
const decoratorInputsArraySig = decoratorMeta.inputsArrayExpr ? djb2Hash(canonicalText(decoratorMeta.inputsArrayExpr)) : "";
|
|
15375
|
+
const decoratorOutputsArraySig = decoratorMeta.outputsArrayExpr ? djb2Hash(canonicalText(decoratorMeta.outputsArrayExpr)) : "";
|
|
15376
|
+
const hostBindingsSig = decoratorMeta.hostExpr ? djb2Hash(canonicalText(decoratorMeta.hostExpr)) : "";
|
|
15377
|
+
const schemasSig = decoratorMeta.schemasExpr ? djb2Hash(canonicalText(decoratorMeta.schemasExpr)) : "";
|
|
15361
15378
|
const PAGE_EXPORT_NAMES = new Set(["providers", "routes"]);
|
|
15362
15379
|
const pageExportEntries = [];
|
|
15363
15380
|
for (const stmt of sourceFile.statements) {
|
|
@@ -15373,7 +15390,7 @@ var fail = (reason, detail, location) => ({
|
|
|
15373
15390
|
continue;
|
|
15374
15391
|
if (!decl.initializer)
|
|
15375
15392
|
continue;
|
|
15376
|
-
pageExportEntries.push(`${decl.name.text}=${djb2Hash(decl.initializer
|
|
15393
|
+
pageExportEntries.push(`${decl.name.text}=${djb2Hash(canonicalText(decl.initializer))}`);
|
|
15377
15394
|
}
|
|
15378
15395
|
}
|
|
15379
15396
|
pageExportEntries.sort();
|
|
@@ -21753,6 +21770,9 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, runSequent
|
|
|
21753
21770
|
if (framework === "ignored") {
|
|
21754
21771
|
return;
|
|
21755
21772
|
}
|
|
21773
|
+
if (/\.(spec|test)\.(?:m?[tj]sx?)$/i.test(filePath) || /[\\/]__tests__[\\/]/.test(filePath)) {
|
|
21774
|
+
return;
|
|
21775
|
+
}
|
|
21756
21776
|
const currentHash = computeFileHash(filePath);
|
|
21757
21777
|
if (!hasFileChanged(filePath, currentHash, state.fileHashes)) {
|
|
21758
21778
|
return;
|
|
@@ -32647,5 +32667,5 @@ export {
|
|
|
32647
32667
|
ANGULAR_INIT_TIMEOUT_MS
|
|
32648
32668
|
};
|
|
32649
32669
|
|
|
32650
|
-
//# debugId=
|
|
32670
|
+
//# debugId=FCFA0DD89CA7835164756E2164756E21
|
|
32651
32671
|
//# sourceMappingURL=index.js.map
|