@angular/language-service 13.0.0-rc.1 → 13.0.0-rc.2
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 +38 -17
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v13.0.0-rc.
|
|
2
|
+
* @license Angular v13.0.0-rc.2
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -20062,7 +20062,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
20062
20062
|
* Use of this source code is governed by an MIT-style license that can be
|
|
20063
20063
|
* found in the LICENSE file at https://angular.io/license
|
|
20064
20064
|
*/
|
|
20065
|
-
new Version('13.0.0-rc.
|
|
20065
|
+
new Version('13.0.0-rc.2');
|
|
20066
20066
|
|
|
20067
20067
|
/**
|
|
20068
20068
|
* @license
|
|
@@ -20691,7 +20691,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
20691
20691
|
function compileDeclareClassMetadata(metadata) {
|
|
20692
20692
|
const definitionMap = new DefinitionMap();
|
|
20693
20693
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$6));
|
|
20694
|
-
definitionMap.set('version', literal$1('13.0.0-rc.
|
|
20694
|
+
definitionMap.set('version', literal$1('13.0.0-rc.2'));
|
|
20695
20695
|
definitionMap.set('ngImport', importExpr(Identifiers$1.core));
|
|
20696
20696
|
definitionMap.set('type', metadata.type);
|
|
20697
20697
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -20731,7 +20731,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
20731
20731
|
function createDirectiveDefinitionMap(meta) {
|
|
20732
20732
|
const definitionMap = new DefinitionMap();
|
|
20733
20733
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
20734
|
-
definitionMap.set('version', literal$1('13.0.0-rc.
|
|
20734
|
+
definitionMap.set('version', literal$1('13.0.0-rc.2'));
|
|
20735
20735
|
// e.g. `type: MyDirective`
|
|
20736
20736
|
definitionMap.set('type', meta.internalType);
|
|
20737
20737
|
// e.g. `selector: 'some-dir'`
|
|
@@ -20948,7 +20948,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
20948
20948
|
function compileDeclareFactoryFunction(meta) {
|
|
20949
20949
|
const definitionMap = new DefinitionMap();
|
|
20950
20950
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
20951
|
-
definitionMap.set('version', literal$1('13.0.0-rc.
|
|
20951
|
+
definitionMap.set('version', literal$1('13.0.0-rc.2'));
|
|
20952
20952
|
definitionMap.set('ngImport', importExpr(Identifiers$1.core));
|
|
20953
20953
|
definitionMap.set('type', meta.internalType);
|
|
20954
20954
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -20990,7 +20990,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
20990
20990
|
function createInjectableDefinitionMap(meta) {
|
|
20991
20991
|
const definitionMap = new DefinitionMap();
|
|
20992
20992
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
20993
|
-
definitionMap.set('version', literal$1('13.0.0-rc.
|
|
20993
|
+
definitionMap.set('version', literal$1('13.0.0-rc.2'));
|
|
20994
20994
|
definitionMap.set('ngImport', importExpr(Identifiers$1.core));
|
|
20995
20995
|
definitionMap.set('type', meta.internalType);
|
|
20996
20996
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -21069,7 +21069,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
21069
21069
|
function createInjectorDefinitionMap(meta) {
|
|
21070
21070
|
const definitionMap = new DefinitionMap();
|
|
21071
21071
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
21072
|
-
definitionMap.set('version', literal$1('13.0.0-rc.
|
|
21072
|
+
definitionMap.set('version', literal$1('13.0.0-rc.2'));
|
|
21073
21073
|
definitionMap.set('ngImport', importExpr(Identifiers$1.core));
|
|
21074
21074
|
definitionMap.set('type', meta.internalType);
|
|
21075
21075
|
definitionMap.set('providers', meta.providers);
|
|
@@ -21106,7 +21106,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
21106
21106
|
function createNgModuleDefinitionMap(meta) {
|
|
21107
21107
|
const definitionMap = new DefinitionMap();
|
|
21108
21108
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
21109
|
-
definitionMap.set('version', literal$1('13.0.0-rc.
|
|
21109
|
+
definitionMap.set('version', literal$1('13.0.0-rc.2'));
|
|
21110
21110
|
definitionMap.set('ngImport', importExpr(Identifiers$1.core));
|
|
21111
21111
|
definitionMap.set('type', meta.internalType);
|
|
21112
21112
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -21164,7 +21164,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
21164
21164
|
function createPipeDefinitionMap(meta) {
|
|
21165
21165
|
const definitionMap = new DefinitionMap();
|
|
21166
21166
|
definitionMap.set('minVersion', literal$1(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
21167
|
-
definitionMap.set('version', literal$1('13.0.0-rc.
|
|
21167
|
+
definitionMap.set('version', literal$1('13.0.0-rc.2'));
|
|
21168
21168
|
definitionMap.set('ngImport', importExpr(Identifiers$1.core));
|
|
21169
21169
|
// e.g. `type: MyPipe`
|
|
21170
21170
|
definitionMap.set('type', meta.internalType);
|
|
@@ -21196,7 +21196,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
21196
21196
|
* Use of this source code is governed by an MIT-style license that can be
|
|
21197
21197
|
* found in the LICENSE file at https://angular.io/license
|
|
21198
21198
|
*/
|
|
21199
|
-
new Version('13.0.0-rc.
|
|
21199
|
+
new Version('13.0.0-rc.2');
|
|
21200
21200
|
|
|
21201
21201
|
/**
|
|
21202
21202
|
* @license
|
|
@@ -21421,15 +21421,15 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
21421
21421
|
*/
|
|
21422
21422
|
ErrorCode[ErrorCode["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
21423
21423
|
})(ErrorCode || (ErrorCode = {}));
|
|
21424
|
+
|
|
21424
21425
|
/**
|
|
21425
|
-
* @
|
|
21426
|
-
*
|
|
21427
|
-
*
|
|
21428
|
-
*
|
|
21426
|
+
* @license
|
|
21427
|
+
* Copyright Google LLC All Rights Reserved.
|
|
21428
|
+
*
|
|
21429
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
21430
|
+
* found in the LICENSE file at https://angular.io/license
|
|
21429
21431
|
*/
|
|
21430
|
-
const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';
|
|
21431
21432
|
/**
|
|
21432
|
-
* @internal
|
|
21433
21433
|
* Contains a set of error messages that have detailed guides at angular.io.
|
|
21434
21434
|
* Full list of available error guides can be found at https://angular.io/errors
|
|
21435
21435
|
*/
|
|
@@ -21442,8 +21442,13 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
21442
21442
|
ErrorCode.MISSING_REFERENCE_TARGET,
|
|
21443
21443
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR,
|
|
21444
21444
|
]);
|
|
21445
|
+
|
|
21445
21446
|
/**
|
|
21446
|
-
* @
|
|
21447
|
+
* @license
|
|
21448
|
+
* Copyright Google LLC All Rights Reserved.
|
|
21449
|
+
*
|
|
21450
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
21451
|
+
* found in the LICENSE file at https://angular.io/license
|
|
21447
21452
|
*/
|
|
21448
21453
|
function ngErrorCode(code) {
|
|
21449
21454
|
return parseInt('-99' + code);
|
|
@@ -21495,6 +21500,22 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
21495
21500
|
};
|
|
21496
21501
|
}
|
|
21497
21502
|
|
|
21503
|
+
/**
|
|
21504
|
+
* @license
|
|
21505
|
+
* Copyright Google LLC All Rights Reserved.
|
|
21506
|
+
*
|
|
21507
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
21508
|
+
* found in the LICENSE file at https://angular.io/license
|
|
21509
|
+
*/
|
|
21510
|
+
/**
|
|
21511
|
+
* Base URL for the error details page.
|
|
21512
|
+
*
|
|
21513
|
+
* Keep the files below in full sync:
|
|
21514
|
+
* - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts
|
|
21515
|
+
* - packages/core/src/render3/error_details_base_url.ts
|
|
21516
|
+
*/
|
|
21517
|
+
const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';
|
|
21518
|
+
|
|
21498
21519
|
/**
|
|
21499
21520
|
* @license
|
|
21500
21521
|
* Copyright Google LLC All Rights Reserved.
|