@angular/language-service 5.2.4 → 5.2.8
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.umd.js +19 -11
- package/bundles/language-service.umd.js.map +1 -1
- package/bundles/language-service.umd.min.js +11 -11
- package/bundles/language-service.umd.min.js.map +1 -1
- package/esm2015/language-service.js +2 -2
- package/esm2015/language-service.js.map +1 -1
- package/esm5/language-service.js +2 -2
- package/esm5/language-service.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v5.2.
|
|
2
|
+
* @license Angular v5.2.8
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -59,7 +59,7 @@ var __assign = Object.assign || function __assign(t) {
|
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* @license Angular v5.2.
|
|
62
|
+
* @license Angular v5.2.8
|
|
63
63
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
64
64
|
* License: MIT
|
|
65
65
|
*/
|
|
@@ -691,7 +691,7 @@ var Version = /** @class */ (function () {
|
|
|
691
691
|
/**
|
|
692
692
|
* \@stable
|
|
693
693
|
*/
|
|
694
|
-
var VERSION$1 = new Version('5.2.
|
|
694
|
+
var VERSION$1 = new Version('5.2.8');
|
|
695
695
|
|
|
696
696
|
/**
|
|
697
697
|
* @fileoverview added by tsickle
|
|
@@ -6815,7 +6815,8 @@ var _ParseAST = /** @class */ (function () {
|
|
|
6815
6815
|
switch (operator) {
|
|
6816
6816
|
case '+':
|
|
6817
6817
|
this.advance();
|
|
6818
|
-
|
|
6818
|
+
result = this.parsePrefix();
|
|
6819
|
+
return new Binary(this.span(start), '-', result, new LiteralPrimitive(new ParseSpan(start, start), 0));
|
|
6819
6820
|
case '-':
|
|
6820
6821
|
this.advance();
|
|
6821
6822
|
result = this.parsePrefix();
|
|
@@ -39223,6 +39224,8 @@ var CompilerHostAdapter = /** @class */ (function () {
|
|
|
39223
39224
|
this.collector = new collector.MetadataCollector();
|
|
39224
39225
|
}
|
|
39225
39226
|
CompilerHostAdapter.prototype.getMetadataFor = function (fileName) {
|
|
39227
|
+
if (!this.host.fileExists(fileName + '.ts'))
|
|
39228
|
+
return undefined;
|
|
39226
39229
|
var sourceFile = this.host.getSourceFile(fileName + '.ts', ts__default.ScriptTarget.Latest);
|
|
39227
39230
|
return sourceFile && this.collector.getMetadata(sourceFile);
|
|
39228
39231
|
};
|
|
@@ -42103,7 +42106,7 @@ function share() {
|
|
|
42103
42106
|
var share_3 = share;
|
|
42104
42107
|
|
|
42105
42108
|
/**
|
|
42106
|
-
* @license Angular v5.2.
|
|
42109
|
+
* @license Angular v5.2.8
|
|
42107
42110
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
42108
42111
|
* License: MIT
|
|
42109
42112
|
*/
|
|
@@ -42534,7 +42537,7 @@ var Version$1 = /** @class */ (function () {
|
|
|
42534
42537
|
/**
|
|
42535
42538
|
* \@stable
|
|
42536
42539
|
*/
|
|
42537
|
-
var VERSION$2 = new Version$1('5.2.
|
|
42540
|
+
var VERSION$2 = new Version$1('5.2.8');
|
|
42538
42541
|
|
|
42539
42542
|
/**
|
|
42540
42543
|
* @fileoverview added by tsickle
|
|
@@ -43781,9 +43784,11 @@ function isType(v) {
|
|
|
43781
43784
|
* found in the LICENSE file at https://angular.io/license
|
|
43782
43785
|
*/
|
|
43783
43786
|
/**
|
|
43784
|
-
* Attention:
|
|
43787
|
+
* Attention: These regex has to hold even if the code is minified!
|
|
43785
43788
|
*/
|
|
43786
43789
|
var DELEGATE_CTOR = /^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/;
|
|
43790
|
+
var INHERITED_CLASS = /^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{/;
|
|
43791
|
+
var INHERITED_CLASS_WITH_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{[\s\S]*constructor\s*\(/;
|
|
43787
43792
|
var ReflectionCapabilities = /** @class */ (function () {
|
|
43788
43793
|
function ReflectionCapabilities(reflect) {
|
|
43789
43794
|
this._reflect = reflect || _global['Reflect'];
|
|
@@ -43863,6 +43868,7 @@ var ReflectionCapabilities = /** @class */ (function () {
|
|
|
43863
43868
|
* @return {?}
|
|
43864
43869
|
*/
|
|
43865
43870
|
function (type, parentCtor) {
|
|
43871
|
+
var /** @type {?} */ typeStr = type.toString();
|
|
43866
43872
|
// If we have no decorators, we only have function.length as metadata.
|
|
43867
43873
|
// In that case, to detect whether a child class declared an own constructor or not,
|
|
43868
43874
|
// we need to look inside of that constructor to check whether it is
|
|
@@ -43870,7 +43876,8 @@ var ReflectionCapabilities = /** @class */ (function () {
|
|
|
43870
43876
|
// This also helps to work around for https://github.com/Microsoft/TypeScript/issues/12439
|
|
43871
43877
|
// that sets 'design:paramtypes' to []
|
|
43872
43878
|
// if a class inherits from another class but has no ctor declared itself.
|
|
43873
|
-
if (DELEGATE_CTOR.exec(
|
|
43879
|
+
if (DELEGATE_CTOR.exec(typeStr) ||
|
|
43880
|
+
(INHERITED_CLASS.exec(typeStr) && !INHERITED_CLASS_WITH_CTOR.exec(typeStr))) {
|
|
43874
43881
|
return null;
|
|
43875
43882
|
}
|
|
43876
43883
|
// Prefer the direct API.
|
|
@@ -44168,7 +44175,7 @@ function convertTsickleDecoratorIntoMetadata(decoratorInvocations) {
|
|
|
44168
44175
|
* @return {?}
|
|
44169
44176
|
*/
|
|
44170
44177
|
function getParentCtor(ctor) {
|
|
44171
|
-
var /** @type {?} */ parentProto = Object.getPrototypeOf(ctor.prototype);
|
|
44178
|
+
var /** @type {?} */ parentProto = ctor.prototype ? Object.getPrototypeOf(ctor.prototype) : null;
|
|
44172
44179
|
var /** @type {?} */ parentCtor = parentProto ? parentProto.constructor : null;
|
|
44173
44180
|
// Note: We always use `Object` as the null value
|
|
44174
44181
|
// to simplify checking later on.
|
|
@@ -47826,6 +47833,7 @@ var QueryList = /** @class */ (function () {
|
|
|
47826
47833
|
this.dirty = true;
|
|
47827
47834
|
this._results = [];
|
|
47828
47835
|
this.changes = new EventEmitter();
|
|
47836
|
+
this.length = 0;
|
|
47829
47837
|
}
|
|
47830
47838
|
/**
|
|
47831
47839
|
* See
|
|
@@ -56775,7 +56783,7 @@ function initViewStaticData(viewIndex, parent) {
|
|
|
56775
56783
|
var NO_CHANGE = /** @type {?} */ ({});
|
|
56776
56784
|
|
|
56777
56785
|
/**
|
|
56778
|
-
* @license Angular v5.2.
|
|
56786
|
+
* @license Angular v5.2.8
|
|
56779
56787
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
56780
56788
|
* License: MIT
|
|
56781
56789
|
*/
|
|
@@ -59424,7 +59432,7 @@ function create(info /* ts.server.PluginCreateInfo */) {
|
|
|
59424
59432
|
/**
|
|
59425
59433
|
* @stable
|
|
59426
59434
|
*/
|
|
59427
|
-
var VERSION = new Version$1('5.2.
|
|
59435
|
+
var VERSION = new Version$1('5.2.8');
|
|
59428
59436
|
|
|
59429
59437
|
exports.createLanguageService = createLanguageService;
|
|
59430
59438
|
exports.TypeScriptServiceHost = TypeScriptServiceHost;
|