@angular/compiler 19.0.5 → 19.0.6

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License
2
2
 
3
- Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
3
+ Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.0.5
2
+ * @license Angular v19.0.6
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -27362,7 +27362,7 @@ function parseForLoopParameters(block, errors, bindingParser) {
27362
27362
  }
27363
27363
  continue;
27364
27364
  }
27365
- errors.push(new ParseError(param.sourceSpan, `Unrecognized @for loop paramater "${param.expression}"`));
27365
+ errors.push(new ParseError(param.sourceSpan, `Unrecognized @for loop parameter "${param.expression}"`));
27366
27366
  }
27367
27367
  return result;
27368
27368
  }
@@ -27509,7 +27509,7 @@ function parseConditionalBlockParameters(block, errors, bindingParser) {
27509
27509
  // For now conditionals can only have an `as` parameter.
27510
27510
  // We may want to rework this later if we add more.
27511
27511
  if (aliasMatch === null) {
27512
- errors.push(new ParseError(param.sourceSpan, `Unrecognized conditional paramater "${param.expression}"`));
27512
+ errors.push(new ParseError(param.sourceSpan, `Unrecognized conditional parameter "${param.expression}"`));
27513
27513
  }
27514
27514
  else if (block.name !== 'if') {
27515
27515
  errors.push(new ParseError(param.sourceSpan, '"as" expression is only allowed on the primary @if block'));
@@ -30883,7 +30883,7 @@ function publishFacade(global) {
30883
30883
  * @description
30884
30884
  * Entry point for all public APIs of the compiler package.
30885
30885
  */
30886
- const VERSION = new Version('19.0.5');
30886
+ const VERSION = new Version('19.0.6');
30887
30887
 
30888
30888
  class CompilerConfig {
30889
30889
  defaultEncapsulation;
@@ -32735,7 +32735,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
32735
32735
  function compileDeclareClassMetadata(metadata) {
32736
32736
  const definitionMap = new DefinitionMap();
32737
32737
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
32738
- definitionMap.set('version', literal('19.0.5'));
32738
+ definitionMap.set('version', literal('19.0.6'));
32739
32739
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32740
32740
  definitionMap.set('type', metadata.type);
32741
32741
  definitionMap.set('decorators', metadata.decorators);
@@ -32753,7 +32753,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
32753
32753
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
32754
32754
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
32755
32755
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
32756
- definitionMap.set('version', literal('19.0.5'));
32756
+ definitionMap.set('version', literal('19.0.6'));
32757
32757
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32758
32758
  definitionMap.set('type', metadata.type);
32759
32759
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -32848,7 +32848,7 @@ function createDirectiveDefinitionMap(meta) {
32848
32848
  const definitionMap = new DefinitionMap();
32849
32849
  const minVersion = getMinimumVersionForPartialOutput(meta);
32850
32850
  definitionMap.set('minVersion', literal(minVersion));
32851
- definitionMap.set('version', literal('19.0.5'));
32851
+ definitionMap.set('version', literal('19.0.6'));
32852
32852
  // e.g. `type: MyDirective`
32853
32853
  definitionMap.set('type', meta.type.value);
32854
32854
  if (meta.isStandalone !== undefined) {
@@ -33267,7 +33267,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
33267
33267
  function compileDeclareFactoryFunction(meta) {
33268
33268
  const definitionMap = new DefinitionMap();
33269
33269
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
33270
- definitionMap.set('version', literal('19.0.5'));
33270
+ definitionMap.set('version', literal('19.0.6'));
33271
33271
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33272
33272
  definitionMap.set('type', meta.type.value);
33273
33273
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -33302,7 +33302,7 @@ function compileDeclareInjectableFromMetadata(meta) {
33302
33302
  function createInjectableDefinitionMap(meta) {
33303
33303
  const definitionMap = new DefinitionMap();
33304
33304
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
33305
- definitionMap.set('version', literal('19.0.5'));
33305
+ definitionMap.set('version', literal('19.0.6'));
33306
33306
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33307
33307
  definitionMap.set('type', meta.type.value);
33308
33308
  // Only generate providedIn property if it has a non-null value
@@ -33353,7 +33353,7 @@ function compileDeclareInjectorFromMetadata(meta) {
33353
33353
  function createInjectorDefinitionMap(meta) {
33354
33354
  const definitionMap = new DefinitionMap();
33355
33355
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
33356
- definitionMap.set('version', literal('19.0.5'));
33356
+ definitionMap.set('version', literal('19.0.6'));
33357
33357
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33358
33358
  definitionMap.set('type', meta.type.value);
33359
33359
  definitionMap.set('providers', meta.providers);
@@ -33386,7 +33386,7 @@ function createNgModuleDefinitionMap(meta) {
33386
33386
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
33387
33387
  }
33388
33388
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
33389
- definitionMap.set('version', literal('19.0.5'));
33389
+ definitionMap.set('version', literal('19.0.6'));
33390
33390
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33391
33391
  definitionMap.set('type', meta.type.value);
33392
33392
  // We only generate the keys in the metadata if the arrays contain values.
@@ -33437,7 +33437,7 @@ function compileDeclarePipeFromMetadata(meta) {
33437
33437
  function createPipeDefinitionMap(meta) {
33438
33438
  const definitionMap = new DefinitionMap();
33439
33439
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
33440
- definitionMap.set('version', literal('19.0.5'));
33440
+ definitionMap.set('version', literal('19.0.6'));
33441
33441
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33442
33442
  // e.g. `type: MyPipe`
33443
33443
  definitionMap.set('type', meta.type.value);