@angular/compiler-cli 14.0.0-rc.0 → 14.0.0-rc.1
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/bundles/{chunk-GJVJ6GH4.js → chunk-74SXTDBS.js} +15 -13
- package/bundles/{chunk-GJVJ6GH4.js.map → chunk-74SXTDBS.js.map} +1 -1
- package/bundles/chunk-7XY4OMWJ.js +2 -2
- package/bundles/{chunk-KPGMJT2X.js → chunk-N4EFPPNE.js} +2 -2
- package/bundles/{chunk-KPGMJT2X.js.map → chunk-N4EFPPNE.js.map} +0 -0
- package/bundles/{chunk-N6HUFHQ6.js → chunk-TFEYVOY6.js} +5 -5
- package/bundles/{chunk-N6HUFHQ6.js.map → chunk-TFEYVOY6.js.map} +1 -1
- package/bundles/{chunk-BHGVN4MI.js → chunk-UJXXCVVY.js} +3 -3
- package/bundles/{chunk-BHGVN4MI.js.map → chunk-UJXXCVVY.js.map} +0 -0
- package/bundles/{chunk-53V6MPBS.js → chunk-UMY2M5GZ.js} +3 -3
- package/bundles/{chunk-53V6MPBS.js.map → chunk-UMY2M5GZ.js.map} +0 -0
- package/bundles/index.js +3 -3
- package/bundles/ngcc/index.js +4 -4
- package/bundles/ngcc/main-ngcc.js +4 -4
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +3 -3
- package/bundles/private/migrations.js +1 -1
- package/bundles/src/bin/ng_xi18n.js +3 -3
- package/bundles/src/bin/ngc.js +3 -3
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/handler.d.ts +1 -1
|
@@ -5983,23 +5983,25 @@ var ComponentDecoratorHandler = class {
|
|
|
5983
5983
|
}
|
|
5984
5984
|
const cyclesFromDirectives = /* @__PURE__ */ new Map();
|
|
5985
5985
|
const cyclesFromPipes = /* @__PURE__ */ new Map();
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5986
|
+
if (!metadata.isStandalone) {
|
|
5987
|
+
for (const usedDep of declarations) {
|
|
5988
|
+
const cycle = this._checkForCyclicImport(usedDep.importedFile, usedDep.type, context);
|
|
5989
|
+
if (cycle !== null) {
|
|
5990
|
+
switch (usedDep.kind) {
|
|
5991
|
+
case R3TemplateDependencyKind.Directive:
|
|
5992
|
+
cyclesFromDirectives.set(usedDep, cycle);
|
|
5993
|
+
break;
|
|
5994
|
+
case R3TemplateDependencyKind.Pipe:
|
|
5995
|
+
cyclesFromPipes.set(usedDep, cycle);
|
|
5996
|
+
break;
|
|
5997
|
+
}
|
|
5996
5998
|
}
|
|
5997
5999
|
}
|
|
5998
6000
|
}
|
|
5999
6001
|
const cycleDetected = cyclesFromDirectives.size !== 0 || cyclesFromPipes.size !== 0;
|
|
6000
6002
|
if (!cycleDetected) {
|
|
6001
6003
|
for (const { type, importedFile } of declarations) {
|
|
6002
|
-
this.
|
|
6004
|
+
this.maybeRecordSyntheticImport(importedFile, type, context);
|
|
6003
6005
|
}
|
|
6004
6006
|
const wrapDirectivesAndPipesInClosure = declarations.some((decl) => isExpressionForwardReference(decl.type, node.name, context));
|
|
6005
6007
|
data.declarations = declarations;
|
|
@@ -6112,7 +6114,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6112
6114
|
}
|
|
6113
6115
|
return this.cycleAnalyzer.wouldCreateCycle(origin, imported);
|
|
6114
6116
|
}
|
|
6115
|
-
|
|
6117
|
+
maybeRecordSyntheticImport(importedFile, expr, origin) {
|
|
6116
6118
|
const imported = resolveImportedFile(this.moduleResolver, importedFile, expr, origin);
|
|
6117
6119
|
if (imported === null) {
|
|
6118
6120
|
return;
|
|
@@ -6528,4 +6530,4 @@ export {
|
|
|
6528
6530
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6529
6531
|
* found in the LICENSE file at https://angular.io/license
|
|
6530
6532
|
*/
|
|
6531
|
-
//# sourceMappingURL=chunk-
|
|
6533
|
+
//# sourceMappingURL=chunk-74SXTDBS.js.map
|