@angular/compiler 19.0.0-next.10 → 19.0.0-next.11
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.11
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -30216,7 +30216,7 @@ function publishFacade(global) {
|
|
|
30216
30216
|
* @description
|
|
30217
30217
|
* Entry point for all public APIs of the compiler package.
|
|
30218
30218
|
*/
|
|
30219
|
-
const VERSION = new Version('19.0.0-next.
|
|
30219
|
+
const VERSION = new Version('19.0.0-next.11');
|
|
30220
30220
|
|
|
30221
30221
|
class CompilerConfig {
|
|
30222
30222
|
constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters, } = {}) {
|
|
@@ -31977,7 +31977,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
31977
31977
|
function compileDeclareClassMetadata(metadata) {
|
|
31978
31978
|
const definitionMap = new DefinitionMap();
|
|
31979
31979
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
31980
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
31980
|
+
definitionMap.set('version', literal('19.0.0-next.11'));
|
|
31981
31981
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31982
31982
|
definitionMap.set('type', metadata.type);
|
|
31983
31983
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -31995,7 +31995,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
31995
31995
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
31996
31996
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
31997
31997
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
31998
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
31998
|
+
definitionMap.set('version', literal('19.0.0-next.11'));
|
|
31999
31999
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32000
32000
|
definitionMap.set('type', metadata.type);
|
|
32001
32001
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -32090,7 +32090,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
32090
32090
|
const definitionMap = new DefinitionMap();
|
|
32091
32091
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
32092
32092
|
definitionMap.set('minVersion', literal(minVersion));
|
|
32093
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
32093
|
+
definitionMap.set('version', literal('19.0.0-next.11'));
|
|
32094
32094
|
// e.g. `type: MyDirective`
|
|
32095
32095
|
definitionMap.set('type', meta.type.value);
|
|
32096
32096
|
if (meta.isStandalone !== undefined) {
|
|
@@ -32512,7 +32512,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
32512
32512
|
function compileDeclareFactoryFunction(meta) {
|
|
32513
32513
|
const definitionMap = new DefinitionMap();
|
|
32514
32514
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
32515
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
32515
|
+
definitionMap.set('version', literal('19.0.0-next.11'));
|
|
32516
32516
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32517
32517
|
definitionMap.set('type', meta.type.value);
|
|
32518
32518
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -32547,7 +32547,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
32547
32547
|
function createInjectableDefinitionMap(meta) {
|
|
32548
32548
|
const definitionMap = new DefinitionMap();
|
|
32549
32549
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
32550
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
32550
|
+
definitionMap.set('version', literal('19.0.0-next.11'));
|
|
32551
32551
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32552
32552
|
definitionMap.set('type', meta.type.value);
|
|
32553
32553
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -32598,7 +32598,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
32598
32598
|
function createInjectorDefinitionMap(meta) {
|
|
32599
32599
|
const definitionMap = new DefinitionMap();
|
|
32600
32600
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
32601
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
32601
|
+
definitionMap.set('version', literal('19.0.0-next.11'));
|
|
32602
32602
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32603
32603
|
definitionMap.set('type', meta.type.value);
|
|
32604
32604
|
definitionMap.set('providers', meta.providers);
|
|
@@ -32631,7 +32631,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
32631
32631
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
32632
32632
|
}
|
|
32633
32633
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
32634
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
32634
|
+
definitionMap.set('version', literal('19.0.0-next.11'));
|
|
32635
32635
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32636
32636
|
definitionMap.set('type', meta.type.value);
|
|
32637
32637
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -32682,7 +32682,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
32682
32682
|
function createPipeDefinitionMap(meta) {
|
|
32683
32683
|
const definitionMap = new DefinitionMap();
|
|
32684
32684
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
32685
|
-
definitionMap.set('version', literal('19.0.0-next.
|
|
32685
|
+
definitionMap.set('version', literal('19.0.0-next.11'));
|
|
32686
32686
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32687
32687
|
// e.g. `type: MyPipe`
|
|
32688
32688
|
definitionMap.set('type', meta.type.value);
|