@angular/compiler 15.1.2 → 15.1.3

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 v15.1.2
2
+ * @license Angular v15.1.3
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 v15.1.2
2
+ * @license Angular v15.1.3
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -7160,7 +7160,7 @@ class _AstToIrVisitor {
7160
7160
  return null;
7161
7161
  },
7162
7162
  visitNonNullAssert(ast) {
7163
- return null;
7163
+ return visit(this, ast.expression);
7164
7164
  },
7165
7165
  visitPropertyRead(ast) {
7166
7166
  return visit(this, ast.receiver);
@@ -19922,7 +19922,7 @@ function publishFacade(global) {
19922
19922
  * @description
19923
19923
  * Entry point for all public APIs of the compiler package.
19924
19924
  */
19925
- const VERSION = new Version('15.1.2');
19925
+ const VERSION = new Version('15.1.3');
19926
19926
 
19927
19927
  class CompilerConfig {
19928
19928
  constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, useJit = true, missingTranslation = null, preserveWhitespaces, strictInjectionParameters } = {}) {
@@ -21847,7 +21847,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
21847
21847
  function compileDeclareClassMetadata(metadata) {
21848
21848
  const definitionMap = new DefinitionMap();
21849
21849
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
21850
- definitionMap.set('version', literal('15.1.2'));
21850
+ definitionMap.set('version', literal('15.1.3'));
21851
21851
  definitionMap.set('ngImport', importExpr(Identifiers.core));
21852
21852
  definitionMap.set('type', metadata.type);
21853
21853
  definitionMap.set('decorators', metadata.decorators);
@@ -21950,7 +21950,7 @@ function compileDeclareDirectiveFromMetadata(meta) {
21950
21950
  function createDirectiveDefinitionMap(meta) {
21951
21951
  const definitionMap = new DefinitionMap();
21952
21952
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
21953
- definitionMap.set('version', literal('15.1.2'));
21953
+ definitionMap.set('version', literal('15.1.3'));
21954
21954
  // e.g. `type: MyDirective`
21955
21955
  definitionMap.set('type', meta.internalType);
21956
21956
  if (meta.isStandalone) {
@@ -22175,7 +22175,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
22175
22175
  function compileDeclareFactoryFunction(meta) {
22176
22176
  const definitionMap = new DefinitionMap();
22177
22177
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
22178
- definitionMap.set('version', literal('15.1.2'));
22178
+ definitionMap.set('version', literal('15.1.3'));
22179
22179
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22180
22180
  definitionMap.set('type', meta.internalType);
22181
22181
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -22210,7 +22210,7 @@ function compileDeclareInjectableFromMetadata(meta) {
22210
22210
  function createInjectableDefinitionMap(meta) {
22211
22211
  const definitionMap = new DefinitionMap();
22212
22212
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
22213
- definitionMap.set('version', literal('15.1.2'));
22213
+ definitionMap.set('version', literal('15.1.3'));
22214
22214
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22215
22215
  definitionMap.set('type', meta.internalType);
22216
22216
  // Only generate providedIn property if it has a non-null value
@@ -22261,7 +22261,7 @@ function compileDeclareInjectorFromMetadata(meta) {
22261
22261
  function createInjectorDefinitionMap(meta) {
22262
22262
  const definitionMap = new DefinitionMap();
22263
22263
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
22264
- definitionMap.set('version', literal('15.1.2'));
22264
+ definitionMap.set('version', literal('15.1.3'));
22265
22265
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22266
22266
  definitionMap.set('type', meta.internalType);
22267
22267
  definitionMap.set('providers', meta.providers);
@@ -22291,7 +22291,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
22291
22291
  function createNgModuleDefinitionMap(meta) {
22292
22292
  const definitionMap = new DefinitionMap();
22293
22293
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
22294
- definitionMap.set('version', literal('15.1.2'));
22294
+ definitionMap.set('version', literal('15.1.3'));
22295
22295
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22296
22296
  definitionMap.set('type', meta.internalType);
22297
22297
  // We only generate the keys in the metadata if the arrays contain values.
@@ -22342,7 +22342,7 @@ function compileDeclarePipeFromMetadata(meta) {
22342
22342
  function createPipeDefinitionMap(meta) {
22343
22343
  const definitionMap = new DefinitionMap();
22344
22344
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
22345
- definitionMap.set('version', literal('15.1.2'));
22345
+ definitionMap.set('version', literal('15.1.3'));
22346
22346
  definitionMap.set('ngImport', importExpr(Identifiers.core));
22347
22347
  // e.g. `type: MyPipe`
22348
22348
  definitionMap.set('type', meta.internalType);