@angular/compiler 19.2.17 → 19.2.19

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.17
2
+ * @license Angular v19.2.19
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -19594,6 +19594,10 @@ function SECURITY_SCHEMA() {
19594
19594
  'object|codebase',
19595
19595
  'object|data',
19596
19596
  'script|src',
19597
+ // The below two are for Script SVG
19598
+ // See: https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/href
19599
+ 'script|href',
19600
+ 'script|xlink:href',
19597
19601
  ]);
19598
19602
  // Keep this in sync with SECURITY_SENSITIVE_ELEMENTS in packages/core/src/sanitization/sanitization.ts
19599
19603
  // Unknown is the internal tag name for unknown elements example used for host-bindings.
@@ -30981,7 +30985,7 @@ function publishFacade(global) {
30981
30985
  * @description
30982
30986
  * Entry point for all public APIs of the compiler package.
30983
30987
  */
30984
- const VERSION = new Version('19.2.17');
30988
+ const VERSION = new Version('19.2.19');
30985
30989
 
30986
30990
  class CompilerConfig {
30987
30991
  defaultEncapsulation;
@@ -32838,7 +32842,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
32838
32842
  function compileDeclareClassMetadata(metadata) {
32839
32843
  const definitionMap = new DefinitionMap();
32840
32844
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
32841
- definitionMap.set('version', literal('19.2.17'));
32845
+ definitionMap.set('version', literal('19.2.19'));
32842
32846
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32843
32847
  definitionMap.set('type', metadata.type);
32844
32848
  definitionMap.set('decorators', metadata.decorators);
@@ -32856,7 +32860,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
32856
32860
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
32857
32861
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
32858
32862
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
32859
- definitionMap.set('version', literal('19.2.17'));
32863
+ definitionMap.set('version', literal('19.2.19'));
32860
32864
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32861
32865
  definitionMap.set('type', metadata.type);
32862
32866
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -32951,7 +32955,7 @@ function createDirectiveDefinitionMap(meta) {
32951
32955
  const definitionMap = new DefinitionMap();
32952
32956
  const minVersion = getMinimumVersionForPartialOutput(meta);
32953
32957
  definitionMap.set('minVersion', literal(minVersion));
32954
- definitionMap.set('version', literal('19.2.17'));
32958
+ definitionMap.set('version', literal('19.2.19'));
32955
32959
  // e.g. `type: MyDirective`
32956
32960
  definitionMap.set('type', meta.type.value);
32957
32961
  if (meta.isStandalone !== undefined) {
@@ -33367,7 +33371,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
33367
33371
  function compileDeclareFactoryFunction(meta) {
33368
33372
  const definitionMap = new DefinitionMap();
33369
33373
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
33370
- definitionMap.set('version', literal('19.2.17'));
33374
+ definitionMap.set('version', literal('19.2.19'));
33371
33375
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33372
33376
  definitionMap.set('type', meta.type.value);
33373
33377
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -33402,7 +33406,7 @@ function compileDeclareInjectableFromMetadata(meta) {
33402
33406
  function createInjectableDefinitionMap(meta) {
33403
33407
  const definitionMap = new DefinitionMap();
33404
33408
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
33405
- definitionMap.set('version', literal('19.2.17'));
33409
+ definitionMap.set('version', literal('19.2.19'));
33406
33410
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33407
33411
  definitionMap.set('type', meta.type.value);
33408
33412
  // Only generate providedIn property if it has a non-null value
@@ -33453,7 +33457,7 @@ function compileDeclareInjectorFromMetadata(meta) {
33453
33457
  function createInjectorDefinitionMap(meta) {
33454
33458
  const definitionMap = new DefinitionMap();
33455
33459
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
33456
- definitionMap.set('version', literal('19.2.17'));
33460
+ definitionMap.set('version', literal('19.2.19'));
33457
33461
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33458
33462
  definitionMap.set('type', meta.type.value);
33459
33463
  definitionMap.set('providers', meta.providers);
@@ -33486,7 +33490,7 @@ function createNgModuleDefinitionMap(meta) {
33486
33490
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
33487
33491
  }
33488
33492
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
33489
- definitionMap.set('version', literal('19.2.17'));
33493
+ definitionMap.set('version', literal('19.2.19'));
33490
33494
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33491
33495
  definitionMap.set('type', meta.type.value);
33492
33496
  // We only generate the keys in the metadata if the arrays contain values.
@@ -33537,7 +33541,7 @@ function compileDeclarePipeFromMetadata(meta) {
33537
33541
  function createPipeDefinitionMap(meta) {
33538
33542
  const definitionMap = new DefinitionMap();
33539
33543
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
33540
- definitionMap.set('version', literal('19.2.17'));
33544
+ definitionMap.set('version', literal('19.2.19'));
33541
33545
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33542
33546
  // e.g. `type: MyPipe`
33543
33547
  definitionMap.set('type', meta.type.value);