@angular/compiler 20.1.2 → 20.2.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 v20.1.2
2
+ * @license Angular v20.2.0-next.1
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -31699,7 +31699,7 @@ function convertDeclareComponentFacadeToMetadata(decl, typeSourceSpan, sourceMap
31699
31699
  declarations.push(...decl.directives.map((dir) => convertDirectiveDeclarationToMetadata(dir)));
31700
31700
  decl.pipes && declarations.push(...convertPipeMapToMetadata(decl.pipes));
31701
31701
  }
31702
- const hasDirectiveDependencies = declarations.some(({ kind }) => kind === R3TemplateDependencyKind.Directive || kind === R3TemplateDependencyKind.NgModule);
31702
+ const hasDirectiveDependencies = declarations.every(({ kind }) => kind === R3TemplateDependencyKind.Directive || kind === R3TemplateDependencyKind.NgModule);
31703
31703
  return {
31704
31704
  ...convertDeclareDirectiveFacadeToMetadata(decl, typeSourceSpan),
31705
31705
  template,
@@ -33757,7 +33757,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
33757
33757
  function compileDeclareClassMetadata(metadata) {
33758
33758
  const definitionMap = new DefinitionMap();
33759
33759
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
33760
- definitionMap.set('version', literal('20.1.2'));
33760
+ definitionMap.set('version', literal('20.2.0-next.1'));
33761
33761
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33762
33762
  definitionMap.set('type', metadata.type);
33763
33763
  definitionMap.set('decorators', metadata.decorators);
@@ -33775,7 +33775,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
33775
33775
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
33776
33776
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
33777
33777
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
33778
- definitionMap.set('version', literal('20.1.2'));
33778
+ definitionMap.set('version', literal('20.2.0-next.1'));
33779
33779
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33780
33780
  definitionMap.set('type', metadata.type);
33781
33781
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -33870,7 +33870,7 @@ function createDirectiveDefinitionMap(meta) {
33870
33870
  const definitionMap = new DefinitionMap();
33871
33871
  const minVersion = getMinimumVersionForPartialOutput(meta);
33872
33872
  definitionMap.set('minVersion', literal(minVersion));
33873
- definitionMap.set('version', literal('20.1.2'));
33873
+ definitionMap.set('version', literal('20.2.0-next.1'));
33874
33874
  // e.g. `type: MyDirective`
33875
33875
  definitionMap.set('type', meta.type.value);
33876
33876
  if (meta.isStandalone !== undefined) {
@@ -34286,7 +34286,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
34286
34286
  function compileDeclareFactoryFunction(meta) {
34287
34287
  const definitionMap = new DefinitionMap();
34288
34288
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
34289
- definitionMap.set('version', literal('20.1.2'));
34289
+ definitionMap.set('version', literal('20.2.0-next.1'));
34290
34290
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34291
34291
  definitionMap.set('type', meta.type.value);
34292
34292
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -34321,7 +34321,7 @@ function compileDeclareInjectableFromMetadata(meta) {
34321
34321
  function createInjectableDefinitionMap(meta) {
34322
34322
  const definitionMap = new DefinitionMap();
34323
34323
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
34324
- definitionMap.set('version', literal('20.1.2'));
34324
+ definitionMap.set('version', literal('20.2.0-next.1'));
34325
34325
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34326
34326
  definitionMap.set('type', meta.type.value);
34327
34327
  // Only generate providedIn property if it has a non-null value
@@ -34372,7 +34372,7 @@ function compileDeclareInjectorFromMetadata(meta) {
34372
34372
  function createInjectorDefinitionMap(meta) {
34373
34373
  const definitionMap = new DefinitionMap();
34374
34374
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
34375
- definitionMap.set('version', literal('20.1.2'));
34375
+ definitionMap.set('version', literal('20.2.0-next.1'));
34376
34376
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34377
34377
  definitionMap.set('type', meta.type.value);
34378
34378
  definitionMap.set('providers', meta.providers);
@@ -34405,7 +34405,7 @@ function createNgModuleDefinitionMap(meta) {
34405
34405
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
34406
34406
  }
34407
34407
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
34408
- definitionMap.set('version', literal('20.1.2'));
34408
+ definitionMap.set('version', literal('20.2.0-next.1'));
34409
34409
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34410
34410
  definitionMap.set('type', meta.type.value);
34411
34411
  // We only generate the keys in the metadata if the arrays contain values.
@@ -34456,7 +34456,7 @@ function compileDeclarePipeFromMetadata(meta) {
34456
34456
  function createPipeDefinitionMap(meta) {
34457
34457
  const definitionMap = new DefinitionMap();
34458
34458
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
34459
- definitionMap.set('version', literal('20.1.2'));
34459
+ definitionMap.set('version', literal('20.2.0-next.1'));
34460
34460
  definitionMap.set('ngImport', importExpr(Identifiers.core));
34461
34461
  // e.g. `type: MyPipe`
34462
34462
  definitionMap.set('type', meta.type.value);
@@ -34612,7 +34612,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
34612
34612
  * @description
34613
34613
  * Entry point for all public APIs of the compiler package.
34614
34614
  */
34615
- const VERSION = new Version('20.1.2');
34615
+ const VERSION = new Version('20.2.0-next.1');
34616
34616
 
34617
34617
  //////////////////////////////////////
34618
34618
  // THIS FILE HAS GLOBAL SIDE EFFECT //