@angular/language-service 6.0.0-rc.6 → 6.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v6.0.0
|
|
2
|
+
* @license Angular v6.0.0
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -393,7 +393,7 @@ var Version = /** @class */ (function () {
|
|
|
393
393
|
/**
|
|
394
394
|
*
|
|
395
395
|
*/
|
|
396
|
-
var VERSION = new Version('6.0.0
|
|
396
|
+
var VERSION = new Version('6.0.0');
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
399
|
* @license
|
|
@@ -24164,7 +24164,7 @@ var Version$1 = /** @class */ (function () {
|
|
|
24164
24164
|
/**
|
|
24165
24165
|
*
|
|
24166
24166
|
*/
|
|
24167
|
-
var VERSION$2 = new Version$1('6.0.0
|
|
24167
|
+
var VERSION$2 = new Version$1('6.0.0');
|
|
24168
24168
|
|
|
24169
24169
|
/**
|
|
24170
24170
|
* @license
|
|
@@ -27392,8 +27392,16 @@ var __extends$15 = (undefined && undefined.__extends) || (function () {
|
|
|
27392
27392
|
})();
|
|
27393
27393
|
var AsyncScheduler = /** @class */ (function (_super) {
|
|
27394
27394
|
__extends$15(AsyncScheduler, _super);
|
|
27395
|
-
function AsyncScheduler() {
|
|
27396
|
-
|
|
27395
|
+
function AsyncScheduler(SchedulerAction, now) {
|
|
27396
|
+
if (now === void 0) { now = Scheduler.now; }
|
|
27397
|
+
var _this = _super.call(this, SchedulerAction, function () {
|
|
27398
|
+
if (AsyncScheduler.delegate && AsyncScheduler.delegate !== _this) {
|
|
27399
|
+
return AsyncScheduler.delegate.now();
|
|
27400
|
+
}
|
|
27401
|
+
else {
|
|
27402
|
+
return now();
|
|
27403
|
+
}
|
|
27404
|
+
}) || this;
|
|
27397
27405
|
_this.actions = [];
|
|
27398
27406
|
/**
|
|
27399
27407
|
* A flag to indicate whether the Scheduler is currently executing a batch of
|
|
@@ -27410,6 +27418,15 @@ var AsyncScheduler = /** @class */ (function (_super) {
|
|
|
27410
27418
|
_this.scheduled = undefined;
|
|
27411
27419
|
return _this;
|
|
27412
27420
|
}
|
|
27421
|
+
AsyncScheduler.prototype.schedule = function (work, delay, state) {
|
|
27422
|
+
if (delay === void 0) { delay = 0; }
|
|
27423
|
+
if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {
|
|
27424
|
+
return AsyncScheduler.delegate.schedule(work, delay, state);
|
|
27425
|
+
}
|
|
27426
|
+
else {
|
|
27427
|
+
return _super.prototype.schedule.call(this, work, delay, state);
|
|
27428
|
+
}
|
|
27429
|
+
};
|
|
27413
27430
|
AsyncScheduler.prototype.flush = function (action) {
|
|
27414
27431
|
var actions = this.actions;
|
|
27415
27432
|
if (this.active) {
|
|
@@ -36503,6 +36520,8 @@ var __extends$85 = (undefined && undefined.__extends) || (function () {
|
|
|
36503
36520
|
* internally by the optional `scheduler`.
|
|
36504
36521
|
* @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for
|
|
36505
36522
|
* managing the timers that handle the throttling.
|
|
36523
|
+
* @param {Object} config a configuration object to define `leading` and
|
|
36524
|
+
* `trailing` behavior. Defaults to `{ leading: true, trailing: false }`.
|
|
36506
36525
|
* @return {Observable<T>} An Observable that performs the throttle operation to
|
|
36507
36526
|
* limit the rate of emissions from the source.
|
|
36508
36527
|
* @method throttleTime
|
|
@@ -42687,7 +42706,10 @@ function initNgModule(data) {
|
|
|
42687
42706
|
for (var i = 0; i < def.providers.length; i++) {
|
|
42688
42707
|
var provDef = def.providers[i];
|
|
42689
42708
|
if (!(provDef.flags & 4096 /* LazyProvider */)) {
|
|
42690
|
-
|
|
42709
|
+
// Make sure the provider has not been already initialized outside this loop.
|
|
42710
|
+
if (providers[i] === undefined) {
|
|
42711
|
+
providers[i] = _createProviderInstance$1(data, provDef);
|
|
42712
|
+
}
|
|
42691
42713
|
}
|
|
42692
42714
|
}
|
|
42693
42715
|
}
|
|
@@ -49652,7 +49674,7 @@ function create(info /* ts.server.PluginCreateInfo */) {
|
|
|
49652
49674
|
/**
|
|
49653
49675
|
*
|
|
49654
49676
|
*/
|
|
49655
|
-
var VERSION$3 = new Version$1('6.0.0
|
|
49677
|
+
var VERSION$3 = new Version$1('6.0.0');
|
|
49656
49678
|
|
|
49657
49679
|
/**
|
|
49658
49680
|
* @license
|