@angular/core 17.3.1 → 17.3.2
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/esm2022/src/authoring/input/input.mjs +37 -14
- package/esm2022/src/authoring/input/input_signal.mjs +1 -1
- package/esm2022/src/authoring/input/input_signal_node.mjs +1 -1
- package/esm2022/src/authoring/input/input_type_checking.mjs +1 -1
- package/esm2022/src/authoring/model/model.mjs +35 -15
- package/esm2022/src/authoring/output/output.mjs +32 -10
- package/esm2022/src/authoring/queries.mjs +11 -1
- package/esm2022/src/defer/instructions.mjs +21 -6
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +133 -44
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/index.d.ts +158 -109
- package/package.json +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/block-template-entities/bundle.js +2 -1
- package/schematics/migrations/block-template-entities/bundle.js.map +2 -2
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +2 -1
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js +6 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +2855 -1234
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
|
@@ -18937,6 +18937,7 @@ function optimizeTrackFns(job) {
|
|
|
18937
18937
|
} else if (op.track instanceof ReadVarExpr && op.track.name === "$item") {
|
|
18938
18938
|
op.trackByFn = importExpr(Identifiers.repeaterTrackByIdentity);
|
|
18939
18939
|
} else if (isTrackByFunctionCall(job.root.xref, op.track)) {
|
|
18940
|
+
op.usesComponentInstance = true;
|
|
18940
18941
|
if (op.track.receiver.receiver.view === unit.xref) {
|
|
18941
18942
|
op.trackByFn = op.track.receiver;
|
|
18942
18943
|
} else {
|
|
@@ -25998,7 +25999,7 @@ function publishFacade(global) {
|
|
|
25998
25999
|
}
|
|
25999
26000
|
|
|
26000
26001
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
26001
|
-
var VERSION2 = new Version("17.3.
|
|
26002
|
+
var VERSION2 = new Version("17.3.2");
|
|
26002
26003
|
|
|
26003
26004
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
26004
26005
|
var _VisitorMode;
|
|
@@ -26440,8 +26441,11 @@ function updateImportClause(clause, removeCommonModule) {
|
|
|
26440
26441
|
function updateClassImports(propAssignment, removeCommonModule) {
|
|
26441
26442
|
const printer = import_typescript6.default.createPrinter();
|
|
26442
26443
|
const importList = propAssignment.initializer;
|
|
26444
|
+
if (!import_typescript6.default.isArrayLiteralExpression(importList)) {
|
|
26445
|
+
return null;
|
|
26446
|
+
}
|
|
26443
26447
|
const removals = removeCommonModule ? importWithCommonRemovals : importRemovals;
|
|
26444
|
-
const elements = importList.elements.filter((el) => !removals.includes(el.
|
|
26448
|
+
const elements = importList.elements.filter((el) => !import_typescript6.default.isIdentifier(el) || !removals.includes(el.text));
|
|
26445
26449
|
if (elements.length === importList.elements.length) {
|
|
26446
26450
|
return null;
|
|
26447
26451
|
}
|