@angular/compiler 15.1.1 → 15.2.0-next.1
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/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/render3/view/t2_binder.mjs +1 -2
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/compiler.mjs +9 -10
- package/fesm2015/compiler.mjs.map +1 -1
- package/fesm2015/testing.mjs +1 -1
- package/fesm2020/compiler.mjs +9 -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
|
+
* @license Angular v15.2.0-next.1
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -19913,7 +19913,7 @@ function publishFacade(global) {
|
|
|
19913
19913
|
* @description
|
|
19914
19914
|
* Entry point for all public APIs of the compiler package.
|
|
19915
19915
|
*/
|
|
19916
|
-
const VERSION = new Version('15.
|
|
19916
|
+
const VERSION = new Version('15.2.0-next.1');
|
|
19917
19917
|
|
|
19918
19918
|
class CompilerConfig {
|
|
19919
19919
|
constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, useJit = true, missingTranslation = null, preserveWhitespaces, strictInjectionParameters } = {}) {
|
|
@@ -21604,7 +21604,6 @@ class TemplateBinder extends RecursiveAstVisitor {
|
|
|
21604
21604
|
this.scope = scope;
|
|
21605
21605
|
this.template = template;
|
|
21606
21606
|
this.level = level;
|
|
21607
|
-
this.pipesUsed = [];
|
|
21608
21607
|
// Save a bit of processing time by constructing this closure in advance.
|
|
21609
21608
|
this.visitNode = (node) => node.visit(this);
|
|
21610
21609
|
}
|
|
@@ -21838,7 +21837,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
|
|
|
21838
21837
|
function compileDeclareClassMetadata(metadata) {
|
|
21839
21838
|
const definitionMap = new DefinitionMap();
|
|
21840
21839
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
|
|
21841
|
-
definitionMap.set('version', literal('15.
|
|
21840
|
+
definitionMap.set('version', literal('15.2.0-next.1'));
|
|
21842
21841
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
21843
21842
|
definitionMap.set('type', metadata.type);
|
|
21844
21843
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -21941,7 +21940,7 @@ function compileDeclareDirectiveFromMetadata(meta) {
|
|
|
21941
21940
|
function createDirectiveDefinitionMap(meta) {
|
|
21942
21941
|
const definitionMap = new DefinitionMap();
|
|
21943
21942
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
21944
|
-
definitionMap.set('version', literal('15.
|
|
21943
|
+
definitionMap.set('version', literal('15.2.0-next.1'));
|
|
21945
21944
|
// e.g. `type: MyDirective`
|
|
21946
21945
|
definitionMap.set('type', meta.internalType);
|
|
21947
21946
|
if (meta.isStandalone) {
|
|
@@ -22166,7 +22165,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
22166
22165
|
function compileDeclareFactoryFunction(meta) {
|
|
22167
22166
|
const definitionMap = new DefinitionMap();
|
|
22168
22167
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
22169
|
-
definitionMap.set('version', literal('15.
|
|
22168
|
+
definitionMap.set('version', literal('15.2.0-next.1'));
|
|
22170
22169
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22171
22170
|
definitionMap.set('type', meta.internalType);
|
|
22172
22171
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -22201,7 +22200,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
22201
22200
|
function createInjectableDefinitionMap(meta) {
|
|
22202
22201
|
const definitionMap = new DefinitionMap();
|
|
22203
22202
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
22204
|
-
definitionMap.set('version', literal('15.
|
|
22203
|
+
definitionMap.set('version', literal('15.2.0-next.1'));
|
|
22205
22204
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22206
22205
|
definitionMap.set('type', meta.internalType);
|
|
22207
22206
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -22252,7 +22251,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
22252
22251
|
function createInjectorDefinitionMap(meta) {
|
|
22253
22252
|
const definitionMap = new DefinitionMap();
|
|
22254
22253
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
22255
|
-
definitionMap.set('version', literal('15.
|
|
22254
|
+
definitionMap.set('version', literal('15.2.0-next.1'));
|
|
22256
22255
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22257
22256
|
definitionMap.set('type', meta.internalType);
|
|
22258
22257
|
definitionMap.set('providers', meta.providers);
|
|
@@ -22282,7 +22281,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
|
|
|
22282
22281
|
function createNgModuleDefinitionMap(meta) {
|
|
22283
22282
|
const definitionMap = new DefinitionMap();
|
|
22284
22283
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
22285
|
-
definitionMap.set('version', literal('15.
|
|
22284
|
+
definitionMap.set('version', literal('15.2.0-next.1'));
|
|
22286
22285
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22287
22286
|
definitionMap.set('type', meta.internalType);
|
|
22288
22287
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -22333,7 +22332,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
22333
22332
|
function createPipeDefinitionMap(meta) {
|
|
22334
22333
|
const definitionMap = new DefinitionMap();
|
|
22335
22334
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
22336
|
-
definitionMap.set('version', literal('15.
|
|
22335
|
+
definitionMap.set('version', literal('15.2.0-next.1'));
|
|
22337
22336
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22338
22337
|
// e.g. `type: MyPipe`
|
|
22339
22338
|
definitionMap.set('type', meta.internalType);
|