@angular/language-service 20.0.0-rc.3 → 20.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 v20.0.0
|
|
3
|
+
* @license Angular v20.0.0
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -34604,7 +34604,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
34604
34604
|
function compileDeclareClassMetadata(metadata) {
|
|
34605
34605
|
const definitionMap = new DefinitionMap();
|
|
34606
34606
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
34607
|
-
definitionMap.set('version', literal$1('20.0.0
|
|
34607
|
+
definitionMap.set('version', literal$1('20.0.0'));
|
|
34608
34608
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34609
34609
|
definitionMap.set('type', metadata.type);
|
|
34610
34610
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -34622,7 +34622,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
34622
34622
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal$1(null));
|
|
34623
34623
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal$1(null));
|
|
34624
34624
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
34625
|
-
definitionMap.set('version', literal$1('20.0.0
|
|
34625
|
+
definitionMap.set('version', literal$1('20.0.0'));
|
|
34626
34626
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34627
34627
|
definitionMap.set('type', metadata.type);
|
|
34628
34628
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -34731,7 +34731,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
34731
34731
|
const definitionMap = new DefinitionMap();
|
|
34732
34732
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
34733
34733
|
definitionMap.set('minVersion', literal$1(minVersion));
|
|
34734
|
-
definitionMap.set('version', literal$1('20.0.0
|
|
34734
|
+
definitionMap.set('version', literal$1('20.0.0'));
|
|
34735
34735
|
// e.g. `type: MyDirective`
|
|
34736
34736
|
definitionMap.set('type', meta.type.value);
|
|
34737
34737
|
if (meta.isStandalone !== undefined) {
|
|
@@ -35161,7 +35161,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35161
35161
|
function compileDeclareFactoryFunction(meta) {
|
|
35162
35162
|
const definitionMap = new DefinitionMap();
|
|
35163
35163
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
35164
|
-
definitionMap.set('version', literal$1('20.0.0
|
|
35164
|
+
definitionMap.set('version', literal$1('20.0.0'));
|
|
35165
35165
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35166
35166
|
definitionMap.set('type', meta.type.value);
|
|
35167
35167
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -35203,7 +35203,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35203
35203
|
function createInjectableDefinitionMap(meta) {
|
|
35204
35204
|
const definitionMap = new DefinitionMap();
|
|
35205
35205
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
35206
|
-
definitionMap.set('version', literal$1('20.0.0
|
|
35206
|
+
definitionMap.set('version', literal$1('20.0.0'));
|
|
35207
35207
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35208
35208
|
definitionMap.set('type', meta.type.value);
|
|
35209
35209
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -35261,7 +35261,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35261
35261
|
function createInjectorDefinitionMap(meta) {
|
|
35262
35262
|
const definitionMap = new DefinitionMap();
|
|
35263
35263
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
35264
|
-
definitionMap.set('version', literal$1('20.0.0
|
|
35264
|
+
definitionMap.set('version', literal$1('20.0.0'));
|
|
35265
35265
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35266
35266
|
definitionMap.set('type', meta.type.value);
|
|
35267
35267
|
definitionMap.set('providers', meta.providers);
|
|
@@ -35301,7 +35301,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35301
35301
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
35302
35302
|
}
|
|
35303
35303
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
35304
|
-
definitionMap.set('version', literal$1('20.0.0
|
|
35304
|
+
definitionMap.set('version', literal$1('20.0.0'));
|
|
35305
35305
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35306
35306
|
definitionMap.set('type', meta.type.value);
|
|
35307
35307
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -35359,7 +35359,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35359
35359
|
function createPipeDefinitionMap(meta) {
|
|
35360
35360
|
const definitionMap = new DefinitionMap();
|
|
35361
35361
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
35362
|
-
definitionMap.set('version', literal$1('20.0.0
|
|
35362
|
+
definitionMap.set('version', literal$1('20.0.0'));
|
|
35363
35363
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35364
35364
|
// e.g. `type: MyPipe`
|
|
35365
35365
|
definitionMap.set('type', meta.type.value);
|
|
@@ -35529,7 +35529,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35529
35529
|
* @description
|
|
35530
35530
|
* Entry point for all public APIs of the compiler package.
|
|
35531
35531
|
*/
|
|
35532
|
-
new Version('20.0.0
|
|
35532
|
+
new Version('20.0.0');
|
|
35533
35533
|
|
|
35534
35534
|
/**
|
|
35535
35535
|
* @license
|
|
@@ -35574,7 +35574,7 @@ ${nodes.map((node) => `"${node.sourceSpan.toString()}"`).join('\n')}
|
|
|
35574
35574
|
* @description
|
|
35575
35575
|
* Entry point for all public APIs of the compiler-cli package.
|
|
35576
35576
|
*/
|
|
35577
|
-
new Version('20.0.0
|
|
35577
|
+
new Version('20.0.0');
|
|
35578
35578
|
|
|
35579
35579
|
/**
|
|
35580
35580
|
* @license
|
|
@@ -71553,7 +71553,7 @@ export * from '${relativeEntryPoint}';
|
|
|
71553
71553
|
* @param minVersion Minimum required version for the feature.
|
|
71554
71554
|
*/
|
|
71555
71555
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
71556
|
-
// A version of `20.0.0
|
|
71556
|
+
// A version of `20.0.0` usually means that core is at head so it supports
|
|
71557
71557
|
// all features. Use string interpolation prevent the placeholder from being replaced
|
|
71558
71558
|
// with the current version during build time.
|
|
71559
71559
|
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
|