@angular/language-service 21.0.0-rc.3 → 21.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/bundles/language-service.js +12 -12
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v21.0.0
|
|
3
|
+
* @license Angular v21.0.0
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -35594,7 +35594,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35594
35594
|
function compileDeclareClassMetadata(metadata) {
|
|
35595
35595
|
const definitionMap = new DefinitionMap();
|
|
35596
35596
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
35597
|
-
definitionMap.set('version', literal$1('21.0.0
|
|
35597
|
+
definitionMap.set('version', literal$1('21.0.0'));
|
|
35598
35598
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35599
35599
|
definitionMap.set('type', metadata.type);
|
|
35600
35600
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -35612,7 +35612,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35612
35612
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal$1(null));
|
|
35613
35613
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal$1(null));
|
|
35614
35614
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
35615
|
-
definitionMap.set('version', literal$1('21.0.0
|
|
35615
|
+
definitionMap.set('version', literal$1('21.0.0'));
|
|
35616
35616
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35617
35617
|
definitionMap.set('type', metadata.type);
|
|
35618
35618
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -35721,7 +35721,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35721
35721
|
const definitionMap = new DefinitionMap();
|
|
35722
35722
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
35723
35723
|
definitionMap.set('minVersion', literal$1(minVersion));
|
|
35724
|
-
definitionMap.set('version', literal$1('21.0.0
|
|
35724
|
+
definitionMap.set('version', literal$1('21.0.0'));
|
|
35725
35725
|
// e.g. `type: MyDirective`
|
|
35726
35726
|
definitionMap.set('type', meta.type.value);
|
|
35727
35727
|
if (meta.isStandalone !== undefined) {
|
|
@@ -36148,7 +36148,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
36148
36148
|
function compileDeclareFactoryFunction(meta) {
|
|
36149
36149
|
const definitionMap = new DefinitionMap();
|
|
36150
36150
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
36151
|
-
definitionMap.set('version', literal$1('21.0.0
|
|
36151
|
+
definitionMap.set('version', literal$1('21.0.0'));
|
|
36152
36152
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
36153
36153
|
definitionMap.set('type', meta.type.value);
|
|
36154
36154
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -36190,7 +36190,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
36190
36190
|
function createInjectableDefinitionMap(meta) {
|
|
36191
36191
|
const definitionMap = new DefinitionMap();
|
|
36192
36192
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
36193
|
-
definitionMap.set('version', literal$1('21.0.0
|
|
36193
|
+
definitionMap.set('version', literal$1('21.0.0'));
|
|
36194
36194
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
36195
36195
|
definitionMap.set('type', meta.type.value);
|
|
36196
36196
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -36248,7 +36248,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
36248
36248
|
function createInjectorDefinitionMap(meta) {
|
|
36249
36249
|
const definitionMap = new DefinitionMap();
|
|
36250
36250
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
36251
|
-
definitionMap.set('version', literal$1('21.0.0
|
|
36251
|
+
definitionMap.set('version', literal$1('21.0.0'));
|
|
36252
36252
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
36253
36253
|
definitionMap.set('type', meta.type.value);
|
|
36254
36254
|
definitionMap.set('providers', meta.providers);
|
|
@@ -36288,7 +36288,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
36288
36288
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
36289
36289
|
}
|
|
36290
36290
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
36291
|
-
definitionMap.set('version', literal$1('21.0.0
|
|
36291
|
+
definitionMap.set('version', literal$1('21.0.0'));
|
|
36292
36292
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
36293
36293
|
definitionMap.set('type', meta.type.value);
|
|
36294
36294
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -36346,7 +36346,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
36346
36346
|
function createPipeDefinitionMap(meta) {
|
|
36347
36347
|
const definitionMap = new DefinitionMap();
|
|
36348
36348
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
36349
|
-
definitionMap.set('version', literal$1('21.0.0
|
|
36349
|
+
definitionMap.set('version', literal$1('21.0.0'));
|
|
36350
36350
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
36351
36351
|
// e.g. `type: MyPipe`
|
|
36352
36352
|
definitionMap.set('type', meta.type.value);
|
|
@@ -36516,7 +36516,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
36516
36516
|
* @description
|
|
36517
36517
|
* Entry point for all public APIs of the compiler package.
|
|
36518
36518
|
*/
|
|
36519
|
-
const VERSION = new Version('21.0.0
|
|
36519
|
+
const VERSION = new Version('21.0.0');
|
|
36520
36520
|
|
|
36521
36521
|
/**
|
|
36522
36522
|
* @license
|
|
@@ -36561,7 +36561,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
36561
36561
|
* @description
|
|
36562
36562
|
* Entry point for all public APIs of the compiler-cli package.
|
|
36563
36563
|
*/
|
|
36564
|
-
new Version('21.0.0
|
|
36564
|
+
new Version('21.0.0');
|
|
36565
36565
|
|
|
36566
36566
|
/**
|
|
36567
36567
|
* @license
|
|
@@ -75213,7 +75213,7 @@ export * from '${relativeEntryPoint}';
|
|
|
75213
75213
|
* @param minVersion Minimum required version for the feature.
|
|
75214
75214
|
*/
|
|
75215
75215
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
75216
|
-
// A version of `21.0.0
|
|
75216
|
+
// A version of `21.0.0` usually means that core is at head so it supports
|
|
75217
75217
|
// all features. Use string interpolation prevent the placeholder from being replaced
|
|
75218
75218
|
// with the current version during build time.
|
|
75219
75219
|
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
|