@angular/compiler 20.1.0-next.0 → 20.1.0-next.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.
- 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.1.0-next.
|
|
2
|
+
* @license Angular v20.1.0-next.2
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -33569,7 +33569,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
33569
33569
|
function compileDeclareClassMetadata(metadata) {
|
|
33570
33570
|
const definitionMap = new DefinitionMap();
|
|
33571
33571
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
33572
|
-
definitionMap.set('version', literal('20.1.0-next.
|
|
33572
|
+
definitionMap.set('version', literal('20.1.0-next.2'));
|
|
33573
33573
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33574
33574
|
definitionMap.set('type', metadata.type);
|
|
33575
33575
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -33587,7 +33587,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
33587
33587
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
33588
33588
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
33589
33589
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
33590
|
-
definitionMap.set('version', literal('20.1.0-next.
|
|
33590
|
+
definitionMap.set('version', literal('20.1.0-next.2'));
|
|
33591
33591
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33592
33592
|
definitionMap.set('type', metadata.type);
|
|
33593
33593
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -33682,7 +33682,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
33682
33682
|
const definitionMap = new DefinitionMap();
|
|
33683
33683
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
33684
33684
|
definitionMap.set('minVersion', literal(minVersion));
|
|
33685
|
-
definitionMap.set('version', literal('20.1.0-next.
|
|
33685
|
+
definitionMap.set('version', literal('20.1.0-next.2'));
|
|
33686
33686
|
// e.g. `type: MyDirective`
|
|
33687
33687
|
definitionMap.set('type', meta.type.value);
|
|
33688
33688
|
if (meta.isStandalone !== undefined) {
|
|
@@ -34098,7 +34098,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
34098
34098
|
function compileDeclareFactoryFunction(meta) {
|
|
34099
34099
|
const definitionMap = new DefinitionMap();
|
|
34100
34100
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
34101
|
-
definitionMap.set('version', literal('20.1.0-next.
|
|
34101
|
+
definitionMap.set('version', literal('20.1.0-next.2'));
|
|
34102
34102
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34103
34103
|
definitionMap.set('type', meta.type.value);
|
|
34104
34104
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -34133,7 +34133,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
34133
34133
|
function createInjectableDefinitionMap(meta) {
|
|
34134
34134
|
const definitionMap = new DefinitionMap();
|
|
34135
34135
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
34136
|
-
definitionMap.set('version', literal('20.1.0-next.
|
|
34136
|
+
definitionMap.set('version', literal('20.1.0-next.2'));
|
|
34137
34137
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34138
34138
|
definitionMap.set('type', meta.type.value);
|
|
34139
34139
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -34184,7 +34184,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
34184
34184
|
function createInjectorDefinitionMap(meta) {
|
|
34185
34185
|
const definitionMap = new DefinitionMap();
|
|
34186
34186
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
34187
|
-
definitionMap.set('version', literal('20.1.0-next.
|
|
34187
|
+
definitionMap.set('version', literal('20.1.0-next.2'));
|
|
34188
34188
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34189
34189
|
definitionMap.set('type', meta.type.value);
|
|
34190
34190
|
definitionMap.set('providers', meta.providers);
|
|
@@ -34217,7 +34217,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
34217
34217
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
34218
34218
|
}
|
|
34219
34219
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
34220
|
-
definitionMap.set('version', literal('20.1.0-next.
|
|
34220
|
+
definitionMap.set('version', literal('20.1.0-next.2'));
|
|
34221
34221
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34222
34222
|
definitionMap.set('type', meta.type.value);
|
|
34223
34223
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -34268,7 +34268,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
34268
34268
|
function createPipeDefinitionMap(meta) {
|
|
34269
34269
|
const definitionMap = new DefinitionMap();
|
|
34270
34270
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
34271
|
-
definitionMap.set('version', literal('20.1.0-next.
|
|
34271
|
+
definitionMap.set('version', literal('20.1.0-next.2'));
|
|
34272
34272
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34273
34273
|
// e.g. `type: MyPipe`
|
|
34274
34274
|
definitionMap.set('type', meta.type.value);
|
|
@@ -34424,7 +34424,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
34424
34424
|
* @description
|
|
34425
34425
|
* Entry point for all public APIs of the compiler package.
|
|
34426
34426
|
*/
|
|
34427
|
-
const VERSION = new Version('20.1.0-next.
|
|
34427
|
+
const VERSION = new Version('20.1.0-next.2');
|
|
34428
34428
|
|
|
34429
34429
|
//////////////////////////////////////
|
|
34430
34430
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|