@angular/compiler 22.0.0-next.0 → 22.0.0-next.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v22.0.0-next.0
2
+ * @license Angular v22.0.0-next.1
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -5334,9 +5334,8 @@ let RecursiveVisitor$1 = class RecursiveVisitor {
5334
5334
  visitAll$1(this, block.branches);
5335
5335
  }
5336
5336
  visitIfBlockBranch(block) {
5337
- const blockItems = block.children;
5338
- block.expressionAlias && blockItems.push(block.expressionAlias);
5339
- visitAll$1(this, blockItems);
5337
+ visitAll$1(this, block.children);
5338
+ block.expressionAlias?.visit(this);
5340
5339
  }
5341
5340
  visitContent(content) {
5342
5341
  visitAll$1(this, content.children);
@@ -28541,7 +28540,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
28541
28540
  function compileDeclareClassMetadata(metadata) {
28542
28541
  const definitionMap = new DefinitionMap();
28543
28542
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
28544
- definitionMap.set('version', literal('22.0.0-next.0'));
28543
+ definitionMap.set('version', literal('22.0.0-next.1'));
28545
28544
  definitionMap.set('ngImport', importExpr(Identifiers.core));
28546
28545
  definitionMap.set('type', metadata.type);
28547
28546
  definitionMap.set('decorators', metadata.decorators);
@@ -28559,7 +28558,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
28559
28558
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
28560
28559
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
28561
28560
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
28562
- definitionMap.set('version', literal('22.0.0-next.0'));
28561
+ definitionMap.set('version', literal('22.0.0-next.1'));
28563
28562
  definitionMap.set('ngImport', importExpr(Identifiers.core));
28564
28563
  definitionMap.set('type', metadata.type);
28565
28564
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -28632,7 +28631,7 @@ function createDirectiveDefinitionMap(meta) {
28632
28631
  const definitionMap = new DefinitionMap();
28633
28632
  const minVersion = getMinimumVersionForPartialOutput(meta);
28634
28633
  definitionMap.set('minVersion', literal(minVersion));
28635
- definitionMap.set('version', literal('22.0.0-next.0'));
28634
+ definitionMap.set('version', literal('22.0.0-next.1'));
28636
28635
  definitionMap.set('type', meta.type.value);
28637
28636
  if (meta.isStandalone !== undefined) {
28638
28637
  definitionMap.set('isStandalone', literal(meta.isStandalone));
@@ -28974,7 +28973,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
28974
28973
  function compileDeclareFactoryFunction(meta) {
28975
28974
  const definitionMap = new DefinitionMap();
28976
28975
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
28977
- definitionMap.set('version', literal('22.0.0-next.0'));
28976
+ definitionMap.set('version', literal('22.0.0-next.1'));
28978
28977
  definitionMap.set('ngImport', importExpr(Identifiers.core));
28979
28978
  definitionMap.set('type', meta.type.value);
28980
28979
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -29000,7 +28999,7 @@ function compileDeclareInjectableFromMetadata(meta) {
29000
28999
  function createInjectableDefinitionMap(meta) {
29001
29000
  const definitionMap = new DefinitionMap();
29002
29001
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
29003
- definitionMap.set('version', literal('22.0.0-next.0'));
29002
+ definitionMap.set('version', literal('22.0.0-next.1'));
29004
29003
  definitionMap.set('ngImport', importExpr(Identifiers.core));
29005
29004
  definitionMap.set('type', meta.type.value);
29006
29005
  if (meta.providedIn !== undefined) {
@@ -29041,7 +29040,7 @@ function compileDeclareInjectorFromMetadata(meta) {
29041
29040
  function createInjectorDefinitionMap(meta) {
29042
29041
  const definitionMap = new DefinitionMap();
29043
29042
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
29044
- definitionMap.set('version', literal('22.0.0-next.0'));
29043
+ definitionMap.set('version', literal('22.0.0-next.1'));
29045
29044
  definitionMap.set('ngImport', importExpr(Identifiers.core));
29046
29045
  definitionMap.set('type', meta.type.value);
29047
29046
  definitionMap.set('providers', meta.providers);
@@ -29068,7 +29067,7 @@ function createNgModuleDefinitionMap(meta) {
29068
29067
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
29069
29068
  }
29070
29069
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
29071
- definitionMap.set('version', literal('22.0.0-next.0'));
29070
+ definitionMap.set('version', literal('22.0.0-next.1'));
29072
29071
  definitionMap.set('ngImport', importExpr(Identifiers.core));
29073
29072
  definitionMap.set('type', meta.type.value);
29074
29073
  if (meta.bootstrap.length > 0) {
@@ -29106,7 +29105,7 @@ function compileDeclarePipeFromMetadata(meta) {
29106
29105
  function createPipeDefinitionMap(meta) {
29107
29106
  const definitionMap = new DefinitionMap();
29108
29107
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
29109
- definitionMap.set('version', literal('22.0.0-next.0'));
29108
+ definitionMap.set('version', literal('22.0.0-next.1'));
29110
29109
  definitionMap.set('ngImport', importExpr(Identifiers.core));
29111
29110
  definitionMap.set('type', meta.type.value);
29112
29111
  if (meta.isStandalone !== undefined) {
@@ -29180,7 +29179,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
29180
29179
  return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
29181
29180
  }
29182
29181
 
29183
- const VERSION = new Version('22.0.0-next.0');
29182
+ const VERSION = new Version('22.0.0-next.1');
29184
29183
 
29185
29184
  publishFacade(_global);
29186
29185