@angular/compiler 20.1.0 → 20.2.0-next.0
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/fesm2022/compiler.mjs +10 -10
- package/fesm2022/compiler.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
package/fesm2022/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.
|
|
2
|
+
* @license Angular v20.2.0-next.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -33714,7 +33714,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
33714
33714
|
function compileDeclareClassMetadata(metadata) {
|
|
33715
33715
|
const definitionMap = new DefinitionMap();
|
|
33716
33716
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
33717
|
-
definitionMap.set('version', literal('20.
|
|
33717
|
+
definitionMap.set('version', literal('20.2.0-next.0'));
|
|
33718
33718
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33719
33719
|
definitionMap.set('type', metadata.type);
|
|
33720
33720
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -33732,7 +33732,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
33732
33732
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
33733
33733
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
33734
33734
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
33735
|
-
definitionMap.set('version', literal('20.
|
|
33735
|
+
definitionMap.set('version', literal('20.2.0-next.0'));
|
|
33736
33736
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33737
33737
|
definitionMap.set('type', metadata.type);
|
|
33738
33738
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -33827,7 +33827,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
33827
33827
|
const definitionMap = new DefinitionMap();
|
|
33828
33828
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
33829
33829
|
definitionMap.set('minVersion', literal(minVersion));
|
|
33830
|
-
definitionMap.set('version', literal('20.
|
|
33830
|
+
definitionMap.set('version', literal('20.2.0-next.0'));
|
|
33831
33831
|
// e.g. `type: MyDirective`
|
|
33832
33832
|
definitionMap.set('type', meta.type.value);
|
|
33833
33833
|
if (meta.isStandalone !== undefined) {
|
|
@@ -34243,7 +34243,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
34243
34243
|
function compileDeclareFactoryFunction(meta) {
|
|
34244
34244
|
const definitionMap = new DefinitionMap();
|
|
34245
34245
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
34246
|
-
definitionMap.set('version', literal('20.
|
|
34246
|
+
definitionMap.set('version', literal('20.2.0-next.0'));
|
|
34247
34247
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34248
34248
|
definitionMap.set('type', meta.type.value);
|
|
34249
34249
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -34278,7 +34278,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
34278
34278
|
function createInjectableDefinitionMap(meta) {
|
|
34279
34279
|
const definitionMap = new DefinitionMap();
|
|
34280
34280
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
34281
|
-
definitionMap.set('version', literal('20.
|
|
34281
|
+
definitionMap.set('version', literal('20.2.0-next.0'));
|
|
34282
34282
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34283
34283
|
definitionMap.set('type', meta.type.value);
|
|
34284
34284
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -34329,7 +34329,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
34329
34329
|
function createInjectorDefinitionMap(meta) {
|
|
34330
34330
|
const definitionMap = new DefinitionMap();
|
|
34331
34331
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
34332
|
-
definitionMap.set('version', literal('20.
|
|
34332
|
+
definitionMap.set('version', literal('20.2.0-next.0'));
|
|
34333
34333
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34334
34334
|
definitionMap.set('type', meta.type.value);
|
|
34335
34335
|
definitionMap.set('providers', meta.providers);
|
|
@@ -34362,7 +34362,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
34362
34362
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
34363
34363
|
}
|
|
34364
34364
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
34365
|
-
definitionMap.set('version', literal('20.
|
|
34365
|
+
definitionMap.set('version', literal('20.2.0-next.0'));
|
|
34366
34366
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34367
34367
|
definitionMap.set('type', meta.type.value);
|
|
34368
34368
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -34413,7 +34413,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
34413
34413
|
function createPipeDefinitionMap(meta) {
|
|
34414
34414
|
const definitionMap = new DefinitionMap();
|
|
34415
34415
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
34416
|
-
definitionMap.set('version', literal('20.
|
|
34416
|
+
definitionMap.set('version', literal('20.2.0-next.0'));
|
|
34417
34417
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34418
34418
|
// e.g. `type: MyPipe`
|
|
34419
34419
|
definitionMap.set('type', meta.type.value);
|
|
@@ -34569,7 +34569,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
34569
34569
|
* @description
|
|
34570
34570
|
* Entry point for all public APIs of the compiler package.
|
|
34571
34571
|
*/
|
|
34572
|
-
const VERSION = new Version('20.
|
|
34572
|
+
const VERSION = new Version('20.2.0-next.0');
|
|
34573
34573
|
|
|
34574
34574
|
//////////////////////////////////////
|
|
34575
34575
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|