@angular/compiler 20.0.0-rc.3 → 20.0.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.0.0
|
|
2
|
+
* @license Angular v20.0.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -33653,7 +33653,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
33653
33653
|
function compileDeclareClassMetadata(metadata) {
|
|
33654
33654
|
const definitionMap = new DefinitionMap();
|
|
33655
33655
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
33656
|
-
definitionMap.set('version', literal('20.0.0
|
|
33656
|
+
definitionMap.set('version', literal('20.0.0'));
|
|
33657
33657
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33658
33658
|
definitionMap.set('type', metadata.type);
|
|
33659
33659
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -33671,7 +33671,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
33671
33671
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
33672
33672
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
33673
33673
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
33674
|
-
definitionMap.set('version', literal('20.0.0
|
|
33674
|
+
definitionMap.set('version', literal('20.0.0'));
|
|
33675
33675
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33676
33676
|
definitionMap.set('type', metadata.type);
|
|
33677
33677
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -33766,7 +33766,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
33766
33766
|
const definitionMap = new DefinitionMap();
|
|
33767
33767
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
33768
33768
|
definitionMap.set('minVersion', literal(minVersion));
|
|
33769
|
-
definitionMap.set('version', literal('20.0.0
|
|
33769
|
+
definitionMap.set('version', literal('20.0.0'));
|
|
33770
33770
|
// e.g. `type: MyDirective`
|
|
33771
33771
|
definitionMap.set('type', meta.type.value);
|
|
33772
33772
|
if (meta.isStandalone !== undefined) {
|
|
@@ -34182,7 +34182,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
34182
34182
|
function compileDeclareFactoryFunction(meta) {
|
|
34183
34183
|
const definitionMap = new DefinitionMap();
|
|
34184
34184
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
34185
|
-
definitionMap.set('version', literal('20.0.0
|
|
34185
|
+
definitionMap.set('version', literal('20.0.0'));
|
|
34186
34186
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34187
34187
|
definitionMap.set('type', meta.type.value);
|
|
34188
34188
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -34217,7 +34217,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
34217
34217
|
function createInjectableDefinitionMap(meta) {
|
|
34218
34218
|
const definitionMap = new DefinitionMap();
|
|
34219
34219
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
34220
|
-
definitionMap.set('version', literal('20.0.0
|
|
34220
|
+
definitionMap.set('version', literal('20.0.0'));
|
|
34221
34221
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34222
34222
|
definitionMap.set('type', meta.type.value);
|
|
34223
34223
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -34268,7 +34268,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
34268
34268
|
function createInjectorDefinitionMap(meta) {
|
|
34269
34269
|
const definitionMap = new DefinitionMap();
|
|
34270
34270
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
34271
|
-
definitionMap.set('version', literal('20.0.0
|
|
34271
|
+
definitionMap.set('version', literal('20.0.0'));
|
|
34272
34272
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34273
34273
|
definitionMap.set('type', meta.type.value);
|
|
34274
34274
|
definitionMap.set('providers', meta.providers);
|
|
@@ -34301,7 +34301,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
34301
34301
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
34302
34302
|
}
|
|
34303
34303
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
34304
|
-
definitionMap.set('version', literal('20.0.0
|
|
34304
|
+
definitionMap.set('version', literal('20.0.0'));
|
|
34305
34305
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34306
34306
|
definitionMap.set('type', meta.type.value);
|
|
34307
34307
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -34352,7 +34352,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
34352
34352
|
function createPipeDefinitionMap(meta) {
|
|
34353
34353
|
const definitionMap = new DefinitionMap();
|
|
34354
34354
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
34355
|
-
definitionMap.set('version', literal('20.0.0
|
|
34355
|
+
definitionMap.set('version', literal('20.0.0'));
|
|
34356
34356
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34357
34357
|
// e.g. `type: MyPipe`
|
|
34358
34358
|
definitionMap.set('type', meta.type.value);
|
|
@@ -34508,7 +34508,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
34508
34508
|
* @description
|
|
34509
34509
|
* Entry point for all public APIs of the compiler package.
|
|
34510
34510
|
*/
|
|
34511
|
-
const VERSION = new Version('20.0.0
|
|
34511
|
+
const VERSION = new Version('20.0.0');
|
|
34512
34512
|
|
|
34513
34513
|
//////////////////////////////////////
|
|
34514
34514
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|