@angular/compiler 19.2.18 → 19.2.20

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 v19.2.18
2
+ * @license Angular v19.2.20
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -20676,7 +20676,7 @@ class I18nError extends ParseError {
20676
20676
  * tags use '*'.
20677
20677
  *
20678
20678
  * Extracted from, and should be kept in sync with
20679
- * https://w3c.github.io/webappsec-trusted-types/dist/spec/#integrations
20679
+ * https://www.w3.org/TR/trusted-types/#integrations
20680
20680
  */
20681
20681
  const TRUSTED_TYPES_SINKS = new Set([
20682
20682
  // NOTE: All strings in this set *must* be lowercase!
@@ -20687,6 +20687,7 @@ const TRUSTED_TYPES_SINKS = new Set([
20687
20687
  // NB: no TrustedScript here, as the corresponding tags are stripped by the compiler.
20688
20688
  // TrustedScriptURL
20689
20689
  'embed|src',
20690
+ 'iframe|src',
20690
20691
  'object|codebase',
20691
20692
  'object|data',
20692
20693
  ]);
@@ -30985,7 +30986,7 @@ function publishFacade(global) {
30985
30986
  * @description
30986
30987
  * Entry point for all public APIs of the compiler package.
30987
30988
  */
30988
- const VERSION = new Version('19.2.18');
30989
+ const VERSION = new Version('19.2.20');
30989
30990
 
30990
30991
  class CompilerConfig {
30991
30992
  defaultEncapsulation;
@@ -32842,7 +32843,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
32842
32843
  function compileDeclareClassMetadata(metadata) {
32843
32844
  const definitionMap = new DefinitionMap();
32844
32845
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
32845
- definitionMap.set('version', literal('19.2.18'));
32846
+ definitionMap.set('version', literal('19.2.20'));
32846
32847
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32847
32848
  definitionMap.set('type', metadata.type);
32848
32849
  definitionMap.set('decorators', metadata.decorators);
@@ -32860,7 +32861,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
32860
32861
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
32861
32862
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
32862
32863
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
32863
- definitionMap.set('version', literal('19.2.18'));
32864
+ definitionMap.set('version', literal('19.2.20'));
32864
32865
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32865
32866
  definitionMap.set('type', metadata.type);
32866
32867
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -32955,7 +32956,7 @@ function createDirectiveDefinitionMap(meta) {
32955
32956
  const definitionMap = new DefinitionMap();
32956
32957
  const minVersion = getMinimumVersionForPartialOutput(meta);
32957
32958
  definitionMap.set('minVersion', literal(minVersion));
32958
- definitionMap.set('version', literal('19.2.18'));
32959
+ definitionMap.set('version', literal('19.2.20'));
32959
32960
  // e.g. `type: MyDirective`
32960
32961
  definitionMap.set('type', meta.type.value);
32961
32962
  if (meta.isStandalone !== undefined) {
@@ -33371,7 +33372,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
33371
33372
  function compileDeclareFactoryFunction(meta) {
33372
33373
  const definitionMap = new DefinitionMap();
33373
33374
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
33374
- definitionMap.set('version', literal('19.2.18'));
33375
+ definitionMap.set('version', literal('19.2.20'));
33375
33376
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33376
33377
  definitionMap.set('type', meta.type.value);
33377
33378
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -33406,7 +33407,7 @@ function compileDeclareInjectableFromMetadata(meta) {
33406
33407
  function createInjectableDefinitionMap(meta) {
33407
33408
  const definitionMap = new DefinitionMap();
33408
33409
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
33409
- definitionMap.set('version', literal('19.2.18'));
33410
+ definitionMap.set('version', literal('19.2.20'));
33410
33411
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33411
33412
  definitionMap.set('type', meta.type.value);
33412
33413
  // Only generate providedIn property if it has a non-null value
@@ -33457,7 +33458,7 @@ function compileDeclareInjectorFromMetadata(meta) {
33457
33458
  function createInjectorDefinitionMap(meta) {
33458
33459
  const definitionMap = new DefinitionMap();
33459
33460
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
33460
- definitionMap.set('version', literal('19.2.18'));
33461
+ definitionMap.set('version', literal('19.2.20'));
33461
33462
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33462
33463
  definitionMap.set('type', meta.type.value);
33463
33464
  definitionMap.set('providers', meta.providers);
@@ -33490,7 +33491,7 @@ function createNgModuleDefinitionMap(meta) {
33490
33491
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
33491
33492
  }
33492
33493
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
33493
- definitionMap.set('version', literal('19.2.18'));
33494
+ definitionMap.set('version', literal('19.2.20'));
33494
33495
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33495
33496
  definitionMap.set('type', meta.type.value);
33496
33497
  // We only generate the keys in the metadata if the arrays contain values.
@@ -33541,7 +33542,7 @@ function compileDeclarePipeFromMetadata(meta) {
33541
33542
  function createPipeDefinitionMap(meta) {
33542
33543
  const definitionMap = new DefinitionMap();
33543
33544
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
33544
- definitionMap.set('version', literal('19.2.18'));
33545
+ definitionMap.set('version', literal('19.2.20'));
33545
33546
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33546
33547
  // e.g. `type: MyPipe`
33547
33548
  definitionMap.set('type', meta.type.value);