@angular/compiler 19.1.1 → 19.1.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 +11 -11
- 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.1.
|
|
2
|
+
* @license Angular v19.1.2
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -30730,7 +30730,7 @@ function publishFacade(global) {
|
|
|
30730
30730
|
* @description
|
|
30731
30731
|
* Entry point for all public APIs of the compiler package.
|
|
30732
30732
|
*/
|
|
30733
|
-
const VERSION = new Version('19.1.
|
|
30733
|
+
const VERSION = new Version('19.1.2');
|
|
30734
30734
|
|
|
30735
30735
|
class CompilerConfig {
|
|
30736
30736
|
defaultEncapsulation;
|
|
@@ -32482,7 +32482,7 @@ function compileClassDebugInfo(debugInfo) {
|
|
|
32482
32482
|
*/
|
|
32483
32483
|
function compileHmrInitializer(meta) {
|
|
32484
32484
|
const id = encodeURIComponent(`${meta.filePath}@${meta.className}`);
|
|
32485
|
-
const urlPartial =
|
|
32485
|
+
const urlPartial = `./@ng/component?c=${id}&t=`;
|
|
32486
32486
|
const moduleName = 'm';
|
|
32487
32487
|
const dataName = 'd';
|
|
32488
32488
|
const timestampName = 't';
|
|
@@ -32586,7 +32586,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
32586
32586
|
function compileDeclareClassMetadata(metadata) {
|
|
32587
32587
|
const definitionMap = new DefinitionMap();
|
|
32588
32588
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
32589
|
-
definitionMap.set('version', literal('19.1.
|
|
32589
|
+
definitionMap.set('version', literal('19.1.2'));
|
|
32590
32590
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32591
32591
|
definitionMap.set('type', metadata.type);
|
|
32592
32592
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -32604,7 +32604,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
32604
32604
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
32605
32605
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
32606
32606
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
32607
|
-
definitionMap.set('version', literal('19.1.
|
|
32607
|
+
definitionMap.set('version', literal('19.1.2'));
|
|
32608
32608
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32609
32609
|
definitionMap.set('type', metadata.type);
|
|
32610
32610
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -32699,7 +32699,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
32699
32699
|
const definitionMap = new DefinitionMap();
|
|
32700
32700
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
32701
32701
|
definitionMap.set('minVersion', literal(minVersion));
|
|
32702
|
-
definitionMap.set('version', literal('19.1.
|
|
32702
|
+
definitionMap.set('version', literal('19.1.2'));
|
|
32703
32703
|
// e.g. `type: MyDirective`
|
|
32704
32704
|
definitionMap.set('type', meta.type.value);
|
|
32705
32705
|
if (meta.isStandalone !== undefined) {
|
|
@@ -33118,7 +33118,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
33118
33118
|
function compileDeclareFactoryFunction(meta) {
|
|
33119
33119
|
const definitionMap = new DefinitionMap();
|
|
33120
33120
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
33121
|
-
definitionMap.set('version', literal('19.1.
|
|
33121
|
+
definitionMap.set('version', literal('19.1.2'));
|
|
33122
33122
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33123
33123
|
definitionMap.set('type', meta.type.value);
|
|
33124
33124
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -33153,7 +33153,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
33153
33153
|
function createInjectableDefinitionMap(meta) {
|
|
33154
33154
|
const definitionMap = new DefinitionMap();
|
|
33155
33155
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
33156
|
-
definitionMap.set('version', literal('19.1.
|
|
33156
|
+
definitionMap.set('version', literal('19.1.2'));
|
|
33157
33157
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33158
33158
|
definitionMap.set('type', meta.type.value);
|
|
33159
33159
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -33204,7 +33204,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
33204
33204
|
function createInjectorDefinitionMap(meta) {
|
|
33205
33205
|
const definitionMap = new DefinitionMap();
|
|
33206
33206
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
33207
|
-
definitionMap.set('version', literal('19.1.
|
|
33207
|
+
definitionMap.set('version', literal('19.1.2'));
|
|
33208
33208
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33209
33209
|
definitionMap.set('type', meta.type.value);
|
|
33210
33210
|
definitionMap.set('providers', meta.providers);
|
|
@@ -33237,7 +33237,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
33237
33237
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
33238
33238
|
}
|
|
33239
33239
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
33240
|
-
definitionMap.set('version', literal('19.1.
|
|
33240
|
+
definitionMap.set('version', literal('19.1.2'));
|
|
33241
33241
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33242
33242
|
definitionMap.set('type', meta.type.value);
|
|
33243
33243
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -33288,7 +33288,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
33288
33288
|
function createPipeDefinitionMap(meta) {
|
|
33289
33289
|
const definitionMap = new DefinitionMap();
|
|
33290
33290
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
33291
|
-
definitionMap.set('version', literal('19.1.
|
|
33291
|
+
definitionMap.set('version', literal('19.1.2'));
|
|
33292
33292
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33293
33293
|
// e.g. `type: MyPipe`
|
|
33294
33294
|
definitionMap.set('type', meta.type.value);
|