@angular/language-service 20.3.0-rc.0 → 20.3.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 v20.3.0
|
|
3
|
+
* @license Angular v20.3.0
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -35276,7 +35276,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35276
35276
|
function compileDeclareClassMetadata(metadata) {
|
|
35277
35277
|
const definitionMap = new DefinitionMap();
|
|
35278
35278
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
35279
|
-
definitionMap.set('version', literal$1('20.3.0
|
|
35279
|
+
definitionMap.set('version', literal$1('20.3.0'));
|
|
35280
35280
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35281
35281
|
definitionMap.set('type', metadata.type);
|
|
35282
35282
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -35294,7 +35294,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35294
35294
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal$1(null));
|
|
35295
35295
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal$1(null));
|
|
35296
35296
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
35297
|
-
definitionMap.set('version', literal$1('20.3.0
|
|
35297
|
+
definitionMap.set('version', literal$1('20.3.0'));
|
|
35298
35298
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35299
35299
|
definitionMap.set('type', metadata.type);
|
|
35300
35300
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -35403,7 +35403,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35403
35403
|
const definitionMap = new DefinitionMap();
|
|
35404
35404
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
35405
35405
|
definitionMap.set('minVersion', literal$1(minVersion));
|
|
35406
|
-
definitionMap.set('version', literal$1('20.3.0
|
|
35406
|
+
definitionMap.set('version', literal$1('20.3.0'));
|
|
35407
35407
|
// e.g. `type: MyDirective`
|
|
35408
35408
|
definitionMap.set('type', meta.type.value);
|
|
35409
35409
|
if (meta.isStandalone !== undefined) {
|
|
@@ -35833,7 +35833,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35833
35833
|
function compileDeclareFactoryFunction(meta) {
|
|
35834
35834
|
const definitionMap = new DefinitionMap();
|
|
35835
35835
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
35836
|
-
definitionMap.set('version', literal$1('20.3.0
|
|
35836
|
+
definitionMap.set('version', literal$1('20.3.0'));
|
|
35837
35837
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35838
35838
|
definitionMap.set('type', meta.type.value);
|
|
35839
35839
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -35875,7 +35875,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35875
35875
|
function createInjectableDefinitionMap(meta) {
|
|
35876
35876
|
const definitionMap = new DefinitionMap();
|
|
35877
35877
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
35878
|
-
definitionMap.set('version', literal$1('20.3.0
|
|
35878
|
+
definitionMap.set('version', literal$1('20.3.0'));
|
|
35879
35879
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35880
35880
|
definitionMap.set('type', meta.type.value);
|
|
35881
35881
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -35933,7 +35933,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35933
35933
|
function createInjectorDefinitionMap(meta) {
|
|
35934
35934
|
const definitionMap = new DefinitionMap();
|
|
35935
35935
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
35936
|
-
definitionMap.set('version', literal$1('20.3.0
|
|
35936
|
+
definitionMap.set('version', literal$1('20.3.0'));
|
|
35937
35937
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35938
35938
|
definitionMap.set('type', meta.type.value);
|
|
35939
35939
|
definitionMap.set('providers', meta.providers);
|
|
@@ -35973,7 +35973,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35973
35973
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
35974
35974
|
}
|
|
35975
35975
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
35976
|
-
definitionMap.set('version', literal$1('20.3.0
|
|
35976
|
+
definitionMap.set('version', literal$1('20.3.0'));
|
|
35977
35977
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35978
35978
|
definitionMap.set('type', meta.type.value);
|
|
35979
35979
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -36031,7 +36031,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
36031
36031
|
function createPipeDefinitionMap(meta) {
|
|
36032
36032
|
const definitionMap = new DefinitionMap();
|
|
36033
36033
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
36034
|
-
definitionMap.set('version', literal$1('20.3.0
|
|
36034
|
+
definitionMap.set('version', literal$1('20.3.0'));
|
|
36035
36035
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
36036
36036
|
// e.g. `type: MyPipe`
|
|
36037
36037
|
definitionMap.set('type', meta.type.value);
|
|
@@ -36201,7 +36201,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
36201
36201
|
* @description
|
|
36202
36202
|
* Entry point for all public APIs of the compiler package.
|
|
36203
36203
|
*/
|
|
36204
|
-
new Version('20.3.0
|
|
36204
|
+
new Version('20.3.0');
|
|
36205
36205
|
|
|
36206
36206
|
/**
|
|
36207
36207
|
* @license
|
|
@@ -36246,7 +36246,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
36246
36246
|
* @description
|
|
36247
36247
|
* Entry point for all public APIs of the compiler-cli package.
|
|
36248
36248
|
*/
|
|
36249
|
-
new Version('20.3.0
|
|
36249
|
+
new Version('20.3.0');
|
|
36250
36250
|
|
|
36251
36251
|
/**
|
|
36252
36252
|
* @license
|
|
@@ -73664,7 +73664,7 @@ export * from '${relativeEntryPoint}';
|
|
|
73664
73664
|
* @param minVersion Minimum required version for the feature.
|
|
73665
73665
|
*/
|
|
73666
73666
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
73667
|
-
// A version of `20.3.0
|
|
73667
|
+
// A version of `20.3.0` usually means that core is at head so it supports
|
|
73668
73668
|
// all features. Use string interpolation prevent the placeholder from being replaced
|
|
73669
73669
|
// with the current version during build time.
|
|
73670
73670
|
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
|