@angular/compiler 21.0.0-next.8 → 21.0.0-next.9
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/package.json +1 -1
- package/types/compiler.d.ts +1 -1
package/fesm2022/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-next.
|
|
2
|
+
* @license Angular v21.0.0-next.9
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -16534,7 +16534,7 @@ class _Tokenizer {
|
|
|
16534
16534
|
this._cursor.advance();
|
|
16535
16535
|
try {
|
|
16536
16536
|
const charCode = parseInt(strNum, isHex ? 16 : 10);
|
|
16537
|
-
this._endToken([String.
|
|
16537
|
+
this._endToken([String.fromCodePoint(charCode), this._cursor.getChars(start)]);
|
|
16538
16538
|
}
|
|
16539
16539
|
catch {
|
|
16540
16540
|
throw this._createError(_unknownEntityErrorMsg(this._cursor.getChars(start)), this._cursor.getSpan());
|
|
@@ -34638,7 +34638,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
34638
34638
|
function compileDeclareClassMetadata(metadata) {
|
|
34639
34639
|
const definitionMap = new DefinitionMap();
|
|
34640
34640
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
34641
|
-
definitionMap.set('version', literal('21.0.0-next.
|
|
34641
|
+
definitionMap.set('version', literal('21.0.0-next.9'));
|
|
34642
34642
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34643
34643
|
definitionMap.set('type', metadata.type);
|
|
34644
34644
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -34656,7 +34656,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
34656
34656
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
34657
34657
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
34658
34658
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
34659
|
-
definitionMap.set('version', literal('21.0.0-next.
|
|
34659
|
+
definitionMap.set('version', literal('21.0.0-next.9'));
|
|
34660
34660
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34661
34661
|
definitionMap.set('type', metadata.type);
|
|
34662
34662
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -34751,7 +34751,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
34751
34751
|
const definitionMap = new DefinitionMap();
|
|
34752
34752
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
34753
34753
|
definitionMap.set('minVersion', literal(minVersion));
|
|
34754
|
-
definitionMap.set('version', literal('21.0.0-next.
|
|
34754
|
+
definitionMap.set('version', literal('21.0.0-next.9'));
|
|
34755
34755
|
// e.g. `type: MyDirective`
|
|
34756
34756
|
definitionMap.set('type', meta.type.value);
|
|
34757
34757
|
if (meta.isStandalone !== undefined) {
|
|
@@ -35164,7 +35164,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
35164
35164
|
function compileDeclareFactoryFunction(meta) {
|
|
35165
35165
|
const definitionMap = new DefinitionMap();
|
|
35166
35166
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
35167
|
-
definitionMap.set('version', literal('21.0.0-next.
|
|
35167
|
+
definitionMap.set('version', literal('21.0.0-next.9'));
|
|
35168
35168
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35169
35169
|
definitionMap.set('type', meta.type.value);
|
|
35170
35170
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -35199,7 +35199,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
35199
35199
|
function createInjectableDefinitionMap(meta) {
|
|
35200
35200
|
const definitionMap = new DefinitionMap();
|
|
35201
35201
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
35202
|
-
definitionMap.set('version', literal('21.0.0-next.
|
|
35202
|
+
definitionMap.set('version', literal('21.0.0-next.9'));
|
|
35203
35203
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35204
35204
|
definitionMap.set('type', meta.type.value);
|
|
35205
35205
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -35250,7 +35250,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
35250
35250
|
function createInjectorDefinitionMap(meta) {
|
|
35251
35251
|
const definitionMap = new DefinitionMap();
|
|
35252
35252
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
35253
|
-
definitionMap.set('version', literal('21.0.0-next.
|
|
35253
|
+
definitionMap.set('version', literal('21.0.0-next.9'));
|
|
35254
35254
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35255
35255
|
definitionMap.set('type', meta.type.value);
|
|
35256
35256
|
definitionMap.set('providers', meta.providers);
|
|
@@ -35283,7 +35283,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
35283
35283
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
35284
35284
|
}
|
|
35285
35285
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
35286
|
-
definitionMap.set('version', literal('21.0.0-next.
|
|
35286
|
+
definitionMap.set('version', literal('21.0.0-next.9'));
|
|
35287
35287
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35288
35288
|
definitionMap.set('type', meta.type.value);
|
|
35289
35289
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -35334,7 +35334,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
35334
35334
|
function createPipeDefinitionMap(meta) {
|
|
35335
35335
|
const definitionMap = new DefinitionMap();
|
|
35336
35336
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
35337
|
-
definitionMap.set('version', literal('21.0.0-next.
|
|
35337
|
+
definitionMap.set('version', literal('21.0.0-next.9'));
|
|
35338
35338
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35339
35339
|
// e.g. `type: MyPipe`
|
|
35340
35340
|
definitionMap.set('type', meta.type.value);
|
|
@@ -35490,7 +35490,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
35490
35490
|
* @description
|
|
35491
35491
|
* Entry point for all public APIs of the compiler package.
|
|
35492
35492
|
*/
|
|
35493
|
-
const VERSION = new Version('21.0.0-next.
|
|
35493
|
+
const VERSION = new Version('21.0.0-next.9');
|
|
35494
35494
|
|
|
35495
35495
|
//////////////////////////////////////
|
|
35496
35496
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|