@angular/language-service 18.0.0-rc.3 → 18.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/factory_bundle.js +1 -184842
- package/factory_bundle.js.map +4 -4
- package/package.json +1 -1
- package/plugin-factory.d.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v18.0.0
|
|
3
|
+
* @license Angular v18.0.0
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -29350,7 +29350,7 @@ define(['module', 'exports', 'typescript', 'os', 'fs', 'module', 'path', 'url'],
|
|
|
29350
29350
|
* Use of this source code is governed by an MIT-style license that can be
|
|
29351
29351
|
* found in the LICENSE file at https://angular.io/license
|
|
29352
29352
|
*/
|
|
29353
|
-
new Version('18.0.0
|
|
29353
|
+
new Version('18.0.0');
|
|
29354
29354
|
|
|
29355
29355
|
/**
|
|
29356
29356
|
* @license
|
|
@@ -29502,7 +29502,7 @@ define(['module', 'exports', 'typescript', 'os', 'fs', 'module', 'path', 'url'],
|
|
|
29502
29502
|
function compileDeclareClassMetadata(metadata) {
|
|
29503
29503
|
const definitionMap = new DefinitionMap();
|
|
29504
29504
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
29505
|
-
definitionMap.set('version', literal$1('18.0.0
|
|
29505
|
+
definitionMap.set('version', literal$1('18.0.0'));
|
|
29506
29506
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29507
29507
|
definitionMap.set('type', metadata.type);
|
|
29508
29508
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -29520,7 +29520,7 @@ define(['module', 'exports', 'typescript', 'os', 'fs', 'module', 'path', 'url'],
|
|
|
29520
29520
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal$1(null));
|
|
29521
29521
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal$1(null));
|
|
29522
29522
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
29523
|
-
definitionMap.set('version', literal$1('18.0.0
|
|
29523
|
+
definitionMap.set('version', literal$1('18.0.0'));
|
|
29524
29524
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29525
29525
|
definitionMap.set('type', metadata.type);
|
|
29526
29526
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -29629,7 +29629,7 @@ define(['module', 'exports', 'typescript', 'os', 'fs', 'module', 'path', 'url'],
|
|
|
29629
29629
|
const definitionMap = new DefinitionMap();
|
|
29630
29630
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
29631
29631
|
definitionMap.set('minVersion', literal$1(minVersion));
|
|
29632
|
-
definitionMap.set('version', literal$1('18.0.0
|
|
29632
|
+
definitionMap.set('version', literal$1('18.0.0'));
|
|
29633
29633
|
// e.g. `type: MyDirective`
|
|
29634
29634
|
definitionMap.set('type', meta.type.value);
|
|
29635
29635
|
if (meta.isStandalone) {
|
|
@@ -30062,7 +30062,7 @@ define(['module', 'exports', 'typescript', 'os', 'fs', 'module', 'path', 'url'],
|
|
|
30062
30062
|
function compileDeclareFactoryFunction(meta) {
|
|
30063
30063
|
const definitionMap = new DefinitionMap();
|
|
30064
30064
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
30065
|
-
definitionMap.set('version', literal$1('18.0.0
|
|
30065
|
+
definitionMap.set('version', literal$1('18.0.0'));
|
|
30066
30066
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30067
30067
|
definitionMap.set('type', meta.type.value);
|
|
30068
30068
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -30104,7 +30104,7 @@ define(['module', 'exports', 'typescript', 'os', 'fs', 'module', 'path', 'url'],
|
|
|
30104
30104
|
function createInjectableDefinitionMap(meta) {
|
|
30105
30105
|
const definitionMap = new DefinitionMap();
|
|
30106
30106
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
30107
|
-
definitionMap.set('version', literal$1('18.0.0
|
|
30107
|
+
definitionMap.set('version', literal$1('18.0.0'));
|
|
30108
30108
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30109
30109
|
definitionMap.set('type', meta.type.value);
|
|
30110
30110
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -30162,7 +30162,7 @@ define(['module', 'exports', 'typescript', 'os', 'fs', 'module', 'path', 'url'],
|
|
|
30162
30162
|
function createInjectorDefinitionMap(meta) {
|
|
30163
30163
|
const definitionMap = new DefinitionMap();
|
|
30164
30164
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
30165
|
-
definitionMap.set('version', literal$1('18.0.0
|
|
30165
|
+
definitionMap.set('version', literal$1('18.0.0'));
|
|
30166
30166
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30167
30167
|
definitionMap.set('type', meta.type.value);
|
|
30168
30168
|
definitionMap.set('providers', meta.providers);
|
|
@@ -30202,7 +30202,7 @@ define(['module', 'exports', 'typescript', 'os', 'fs', 'module', 'path', 'url'],
|
|
|
30202
30202
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
30203
30203
|
}
|
|
30204
30204
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
30205
|
-
definitionMap.set('version', literal$1('18.0.0
|
|
30205
|
+
definitionMap.set('version', literal$1('18.0.0'));
|
|
30206
30206
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30207
30207
|
definitionMap.set('type', meta.type.value);
|
|
30208
30208
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -30260,7 +30260,7 @@ define(['module', 'exports', 'typescript', 'os', 'fs', 'module', 'path', 'url'],
|
|
|
30260
30260
|
function createPipeDefinitionMap(meta) {
|
|
30261
30261
|
const definitionMap = new DefinitionMap();
|
|
30262
30262
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
30263
|
-
definitionMap.set('version', literal$1('18.0.0
|
|
30263
|
+
definitionMap.set('version', literal$1('18.0.0'));
|
|
30264
30264
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30265
30265
|
// e.g. `type: MyPipe`
|
|
30266
30266
|
definitionMap.set('type', meta.type.value);
|
|
@@ -30295,7 +30295,7 @@ define(['module', 'exports', 'typescript', 'os', 'fs', 'module', 'path', 'url'],
|
|
|
30295
30295
|
* Use of this source code is governed by an MIT-style license that can be
|
|
30296
30296
|
* found in the LICENSE file at https://angular.io/license
|
|
30297
30297
|
*/
|
|
30298
|
-
new Version('18.0.0
|
|
30298
|
+
new Version('18.0.0');
|
|
30299
30299
|
|
|
30300
30300
|
/**
|
|
30301
30301
|
* @license
|
|
@@ -61617,7 +61617,7 @@ Either add the @Injectable() decorator to '${provider.node.name.text}', or confi
|
|
|
61617
61617
|
* @param minVersion Minimum required version for the feature.
|
|
61618
61618
|
*/
|
|
61619
61619
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
61620
|
-
// A version of `18.0.0
|
|
61620
|
+
// A version of `18.0.0` usually means that core is at head so it supports
|
|
61621
61621
|
// all features. Use string interpolation prevent the placeholder from being replaced
|
|
61622
61622
|
// with the current version during build time.
|
|
61623
61623
|
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
|