@angular/compiler 14.2.1 → 14.2.2

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 v14.2.1
2
+ * @license Angular v14.2.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.2.1
2
+ * @license Angular v14.2.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -14525,10 +14525,24 @@ function SECURITY_SCHEMA() {
14525
14525
  registerContext(SecurityContext.STYLE, ['*|style']);
14526
14526
  // NB: no SCRIPT contexts here, they are never allowed due to the parser stripping them.
14527
14527
  registerContext(SecurityContext.URL, [
14528
- '*|formAction', 'area|href', 'area|ping', 'audio|src', 'a|href',
14529
- 'a|ping', 'blockquote|cite', 'body|background', 'del|cite', 'form|action',
14530
- 'img|src', 'img|srcset', 'input|src', 'ins|cite', 'q|cite',
14531
- 'source|src', 'source|srcset', 'track|src', 'video|poster', 'video|src',
14528
+ '*|formAction',
14529
+ 'area|href',
14530
+ 'area|ping',
14531
+ 'audio|src',
14532
+ 'a|href',
14533
+ 'a|ping',
14534
+ 'blockquote|cite',
14535
+ 'body|background',
14536
+ 'del|cite',
14537
+ 'form|action',
14538
+ 'img|src',
14539
+ 'input|src',
14540
+ 'ins|cite',
14541
+ 'q|cite',
14542
+ 'source|src',
14543
+ 'track|src',
14544
+ 'video|poster',
14545
+ 'video|src',
14532
14546
  ]);
14533
14547
  registerContext(SecurityContext.RESOURCE_URL, [
14534
14548
  'applet|code',
@@ -19904,7 +19918,7 @@ function publishFacade(global) {
19904
19918
  * Use of this source code is governed by an MIT-style license that can be
19905
19919
  * found in the LICENSE file at https://angular.io/license
19906
19920
  */
19907
- const VERSION = new Version('14.2.1');
19921
+ const VERSION = new Version('14.2.2');
19908
19922
 
19909
19923
  /**
19910
19924
  * @license
@@ -21937,7 +21951,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
21937
21951
  function compileDeclareClassMetadata(metadata) {
21938
21952
  const definitionMap = new DefinitionMap();
21939
21953
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
21940
- definitionMap.set('version', literal('14.2.1'));
21954
+ definitionMap.set('version', literal('14.2.2'));
21941
21955
  definitionMap.set('ngImport', importExpr(Identifiers.core));
21942
21956
  definitionMap.set('type', metadata.type);
21943
21957
  definitionMap.set('decorators', metadata.decorators);
@@ -22054,7 +22068,7 @@ function compileDeclareDirectiveFromMetadata(meta) {
22054
22068
  function createDirectiveDefinitionMap(meta) {
22055
22069
  const definitionMap = new DefinitionMap();
22056
22070
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
22057
- definitionMap.set('version', literal('14.2.1'));
22071
+ definitionMap.set('version', literal('14.2.2'));
22058
22072
  // e.g. `type: MyDirective`
22059
22073
  definitionMap.set('type', meta.internalType);
22060
22074
  if (meta.isStandalone) {
@@ -22268,7 +22282,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
22268
22282
  function compileDeclareFactoryFunction(meta) {
22269
22283
  const definitionMap = new DefinitionMap();
22270
22284
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
22271
- definitionMap.set('version', literal('14.2.1'));
22285
+ definitionMap.set('version', literal('14.2.2'));
22272
22286
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22273
22287
  definitionMap.set('type', meta.internalType);
22274
22288
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -22310,7 +22324,7 @@ function compileDeclareInjectableFromMetadata(meta) {
22310
22324
  function createInjectableDefinitionMap(meta) {
22311
22325
  const definitionMap = new DefinitionMap();
22312
22326
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
22313
- definitionMap.set('version', literal('14.2.1'));
22327
+ definitionMap.set('version', literal('14.2.2'));
22314
22328
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22315
22329
  definitionMap.set('type', meta.internalType);
22316
22330
  // Only generate providedIn property if it has a non-null value
@@ -22368,7 +22382,7 @@ function compileDeclareInjectorFromMetadata(meta) {
22368
22382
  function createInjectorDefinitionMap(meta) {
22369
22383
  const definitionMap = new DefinitionMap();
22370
22384
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
22371
- definitionMap.set('version', literal('14.2.1'));
22385
+ definitionMap.set('version', literal('14.2.2'));
22372
22386
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22373
22387
  definitionMap.set('type', meta.internalType);
22374
22388
  definitionMap.set('providers', meta.providers);
@@ -22405,7 +22419,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
22405
22419
  function createNgModuleDefinitionMap(meta) {
22406
22420
  const definitionMap = new DefinitionMap();
22407
22421
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
22408
- definitionMap.set('version', literal('14.2.1'));
22422
+ definitionMap.set('version', literal('14.2.2'));
22409
22423
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22410
22424
  definitionMap.set('type', meta.internalType);
22411
22425
  // We only generate the keys in the metadata if the arrays contain values.
@@ -22463,7 +22477,7 @@ function compileDeclarePipeFromMetadata(meta) {
22463
22477
  function createPipeDefinitionMap(meta) {
22464
22478
  const definitionMap = new DefinitionMap();
22465
22479
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
22466
- definitionMap.set('version', literal('14.2.1'));
22480
+ definitionMap.set('version', literal('14.2.2'));
22467
22481
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22468
22482
  // e.g. `type: MyPipe`
22469
22483
  definitionMap.set('type', meta.internalType);