@angular/compiler 15.2.0-next.2 → 15.2.0-next.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.
- package/esm2020/src/compiler_util/expression_converter.mjs +2 -2
- package/esm2020/src/render3/partial/class_metadata.mjs +1 -1
- package/esm2020/src/render3/partial/directive.mjs +1 -1
- package/esm2020/src/render3/partial/factory.mjs +1 -1
- package/esm2020/src/render3/partial/injectable.mjs +1 -1
- package/esm2020/src/render3/partial/injector.mjs +1 -1
- package/esm2020/src/render3/partial/ng_module.mjs +1 -1
- package/esm2020/src/render3/partial/pipe.mjs +1 -1
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/compiler.mjs +10 -10
- package/fesm2015/compiler.mjs.map +1 -1
- package/fesm2015/testing.mjs +1 -1
- package/fesm2020/compiler.mjs +10 -10
- package/fesm2020/compiler.mjs.map +1 -1
- package/fesm2020/testing.mjs +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
package/fesm2015/testing.mjs
CHANGED
package/fesm2020/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.2.0-next.
|
|
2
|
+
* @license Angular v15.2.0-next.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
|
|
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.2.0-next.
|
|
19925
|
+
const VERSION = new Version('15.2.0-next.3');
|
|
19926
19926
|
|
|
19927
19927
|
class CompilerConfig {
|
|
19928
19928
|
constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, useJit = true, missingTranslation = null, preserveWhitespaces, strictInjectionParameters } = {}) {
|
|
@@ -21846,7 +21846,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
|
|
|
21846
21846
|
function compileDeclareClassMetadata(metadata) {
|
|
21847
21847
|
const definitionMap = new DefinitionMap();
|
|
21848
21848
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
|
|
21849
|
-
definitionMap.set('version', literal('15.2.0-next.
|
|
21849
|
+
definitionMap.set('version', literal('15.2.0-next.3'));
|
|
21850
21850
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
21851
21851
|
definitionMap.set('type', metadata.type);
|
|
21852
21852
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -21949,7 +21949,7 @@ function compileDeclareDirectiveFromMetadata(meta) {
|
|
|
21949
21949
|
function createDirectiveDefinitionMap(meta) {
|
|
21950
21950
|
const definitionMap = new DefinitionMap();
|
|
21951
21951
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
21952
|
-
definitionMap.set('version', literal('15.2.0-next.
|
|
21952
|
+
definitionMap.set('version', literal('15.2.0-next.3'));
|
|
21953
21953
|
// e.g. `type: MyDirective`
|
|
21954
21954
|
definitionMap.set('type', meta.internalType);
|
|
21955
21955
|
if (meta.isStandalone) {
|
|
@@ -22174,7 +22174,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
22174
22174
|
function compileDeclareFactoryFunction(meta) {
|
|
22175
22175
|
const definitionMap = new DefinitionMap();
|
|
22176
22176
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
22177
|
-
definitionMap.set('version', literal('15.2.0-next.
|
|
22177
|
+
definitionMap.set('version', literal('15.2.0-next.3'));
|
|
22178
22178
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22179
22179
|
definitionMap.set('type', meta.internalType);
|
|
22180
22180
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -22209,7 +22209,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
22209
22209
|
function createInjectableDefinitionMap(meta) {
|
|
22210
22210
|
const definitionMap = new DefinitionMap();
|
|
22211
22211
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
22212
|
-
definitionMap.set('version', literal('15.2.0-next.
|
|
22212
|
+
definitionMap.set('version', literal('15.2.0-next.3'));
|
|
22213
22213
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22214
22214
|
definitionMap.set('type', meta.internalType);
|
|
22215
22215
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -22260,7 +22260,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
22260
22260
|
function createInjectorDefinitionMap(meta) {
|
|
22261
22261
|
const definitionMap = new DefinitionMap();
|
|
22262
22262
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
22263
|
-
definitionMap.set('version', literal('15.2.0-next.
|
|
22263
|
+
definitionMap.set('version', literal('15.2.0-next.3'));
|
|
22264
22264
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22265
22265
|
definitionMap.set('type', meta.internalType);
|
|
22266
22266
|
definitionMap.set('providers', meta.providers);
|
|
@@ -22290,7 +22290,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
|
|
|
22290
22290
|
function createNgModuleDefinitionMap(meta) {
|
|
22291
22291
|
const definitionMap = new DefinitionMap();
|
|
22292
22292
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
22293
|
-
definitionMap.set('version', literal('15.2.0-next.
|
|
22293
|
+
definitionMap.set('version', literal('15.2.0-next.3'));
|
|
22294
22294
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22295
22295
|
definitionMap.set('type', meta.internalType);
|
|
22296
22296
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -22341,7 +22341,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
22341
22341
|
function createPipeDefinitionMap(meta) {
|
|
22342
22342
|
const definitionMap = new DefinitionMap();
|
|
22343
22343
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
22344
|
-
definitionMap.set('version', literal('15.2.0-next.
|
|
22344
|
+
definitionMap.set('version', literal('15.2.0-next.3'));
|
|
22345
22345
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22346
22346
|
// e.g. `type: MyPipe`
|
|
22347
22347
|
definitionMap.set('type', meta.internalType);
|