@angular/compiler 19.0.0-next.4 → 19.0.0-next.5
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 +2 -2
package/fesm2022/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.0.0-next.
|
|
2
|
+
* @license Angular v19.0.0-next.5
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -29805,7 +29805,7 @@ function publishFacade(global) {
|
|
|
29805
29805
|
* @description
|
|
29806
29806
|
* Entry point for all public APIs of the compiler package.
|
|
29807
29807
|
*/
|
|
29808
|
-
const VERSION = new Version('19.0.0-next.
|
|
29808
|
+
const VERSION = new Version('19.0.0-next.5');
|
|
29809
29809
|
|
|
29810
29810
|
class CompilerConfig {
|
|
29811
29811
|
constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters, } = {}) {
|
|
@@ -31456,7 +31456,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
31456
31456
|
function compileDeclareClassMetadata(metadata) {
|
|
31457
31457
|
const definitionMap = new DefinitionMap();
|
|
31458
31458
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
31459
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
31459
|
+
definitionMap.set('version', literal('19.0.0-next.5'));
|
|
31460
31460
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31461
31461
|
definitionMap.set('type', metadata.type);
|
|
31462
31462
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -31474,7 +31474,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
31474
31474
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
31475
31475
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
31476
31476
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
31477
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
31477
|
+
definitionMap.set('version', literal('19.0.0-next.5'));
|
|
31478
31478
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31479
31479
|
definitionMap.set('type', metadata.type);
|
|
31480
31480
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -31569,7 +31569,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
31569
31569
|
const definitionMap = new DefinitionMap();
|
|
31570
31570
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
31571
31571
|
definitionMap.set('minVersion', literal(minVersion));
|
|
31572
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
31572
|
+
definitionMap.set('version', literal('19.0.0-next.5'));
|
|
31573
31573
|
// e.g. `type: MyDirective`
|
|
31574
31574
|
definitionMap.set('type', meta.type.value);
|
|
31575
31575
|
if (meta.isStandalone) {
|
|
@@ -31991,7 +31991,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
31991
31991
|
function compileDeclareFactoryFunction(meta) {
|
|
31992
31992
|
const definitionMap = new DefinitionMap();
|
|
31993
31993
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
31994
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
31994
|
+
definitionMap.set('version', literal('19.0.0-next.5'));
|
|
31995
31995
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31996
31996
|
definitionMap.set('type', meta.type.value);
|
|
31997
31997
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -32026,7 +32026,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
32026
32026
|
function createInjectableDefinitionMap(meta) {
|
|
32027
32027
|
const definitionMap = new DefinitionMap();
|
|
32028
32028
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
32029
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
32029
|
+
definitionMap.set('version', literal('19.0.0-next.5'));
|
|
32030
32030
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32031
32031
|
definitionMap.set('type', meta.type.value);
|
|
32032
32032
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -32077,7 +32077,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
32077
32077
|
function createInjectorDefinitionMap(meta) {
|
|
32078
32078
|
const definitionMap = new DefinitionMap();
|
|
32079
32079
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
32080
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
32080
|
+
definitionMap.set('version', literal('19.0.0-next.5'));
|
|
32081
32081
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32082
32082
|
definitionMap.set('type', meta.type.value);
|
|
32083
32083
|
definitionMap.set('providers', meta.providers);
|
|
@@ -32110,7 +32110,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
32110
32110
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
32111
32111
|
}
|
|
32112
32112
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
32113
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
32113
|
+
definitionMap.set('version', literal('19.0.0-next.5'));
|
|
32114
32114
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32115
32115
|
definitionMap.set('type', meta.type.value);
|
|
32116
32116
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -32161,7 +32161,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
32161
32161
|
function createPipeDefinitionMap(meta) {
|
|
32162
32162
|
const definitionMap = new DefinitionMap();
|
|
32163
32163
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
32164
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
32164
|
+
definitionMap.set('version', literal('19.0.0-next.5'));
|
|
32165
32165
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32166
32166
|
// e.g. `type: MyPipe`
|
|
32167
32167
|
definitionMap.set('type', meta.type.value);
|