@angular/core 4.2.0 → 4.2.4
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/@angular/core/testing.es5.js +1 -1
- package/@angular/core/testing.js +1 -1
- package/@angular/core.es5.js +12 -41
- package/@angular/core.es5.js.map +1 -1
- package/@angular/core.js +11 -40
- package/@angular/core.js.map +1 -1
- package/bundles/core-testing.umd.js +2 -2
- package/bundles/core-testing.umd.min.js +1 -1
- package/bundles/core.umd.js +13 -42
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +4 -4
- package/bundles/core.umd.min.js.map +1 -1
- package/core.metadata.json +1 -1
- package/package.json +1 -1
- package/src/change_detection/differs/default_keyvalue_differ.d.ts +0 -1
- package/src/metadata/di.d.ts +8 -8
- package/src/metadata/view.d.ts +1 -1
- package/testing.d.ts +1 -1
package/@angular/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v4.2.
|
|
2
|
+
* @license Angular v4.2.4
|
|
3
3
|
* (c) 2010-2017 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -706,16 +706,16 @@ ViewEncapsulation[ViewEncapsulation.None] = "None";
|
|
|
706
706
|
*/
|
|
707
707
|
class ViewMetadata {
|
|
708
708
|
/**
|
|
709
|
-
* @param {?=}
|
|
709
|
+
* @param {?=} opts
|
|
710
710
|
*/
|
|
711
|
-
constructor(
|
|
712
|
-
this.templateUrl = templateUrl;
|
|
713
|
-
this.template = template;
|
|
714
|
-
this.styleUrls = styleUrls;
|
|
715
|
-
this.styles = styles;
|
|
716
|
-
this.encapsulation = encapsulation;
|
|
717
|
-
this.animations = animations;
|
|
718
|
-
this.interpolation = interpolation;
|
|
711
|
+
constructor(opts = {}) {
|
|
712
|
+
this.templateUrl = opts.templateUrl;
|
|
713
|
+
this.template = opts.template;
|
|
714
|
+
this.styleUrls = opts.styleUrls;
|
|
715
|
+
this.styles = opts.styles;
|
|
716
|
+
this.encapsulation = opts.encapsulation;
|
|
717
|
+
this.animations = opts.animations;
|
|
718
|
+
this.interpolation = opts.interpolation;
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
721
|
|
|
@@ -755,7 +755,7 @@ class Version {
|
|
|
755
755
|
/**
|
|
756
756
|
* \@stable
|
|
757
757
|
*/
|
|
758
|
-
const VERSION = new Version('4.2.
|
|
758
|
+
const VERSION = new Version('4.2.4');
|
|
759
759
|
|
|
760
760
|
/**
|
|
761
761
|
* @license
|
|
@@ -7541,26 +7541,6 @@ class DefaultKeyValueDiffer {
|
|
|
7541
7541
|
this._changesTail = record;
|
|
7542
7542
|
}
|
|
7543
7543
|
}
|
|
7544
|
-
/**
|
|
7545
|
-
* @return {?}
|
|
7546
|
-
*/
|
|
7547
|
-
toString() {
|
|
7548
|
-
const /** @type {?} */ items = [];
|
|
7549
|
-
const /** @type {?} */ previous = [];
|
|
7550
|
-
const /** @type {?} */ changes = [];
|
|
7551
|
-
const /** @type {?} */ additions = [];
|
|
7552
|
-
const /** @type {?} */ removals = [];
|
|
7553
|
-
this.forEachItem(r => items.push(stringify(r)));
|
|
7554
|
-
this.forEachPreviousItem(r => previous.push(stringify(r)));
|
|
7555
|
-
this.forEachChangedItem(r => changes.push(stringify(r)));
|
|
7556
|
-
this.forEachAddedItem(r => additions.push(stringify(r)));
|
|
7557
|
-
this.forEachRemovedItem(r => removals.push(stringify(r)));
|
|
7558
|
-
return 'map: ' + items.join(', ') + '\n' +
|
|
7559
|
-
'previous: ' + previous.join(', ') + '\n' +
|
|
7560
|
-
'additions: ' + additions.join(', ') + '\n' +
|
|
7561
|
-
'changes: ' + changes.join(', ') + '\n' +
|
|
7562
|
-
'removals: ' + removals.join(', ') + '\n';
|
|
7563
|
-
}
|
|
7564
7544
|
/**
|
|
7565
7545
|
* \@internal
|
|
7566
7546
|
* @template K, V
|
|
@@ -7613,15 +7593,6 @@ class KeyValueChangeRecord_ {
|
|
|
7613
7593
|
*/
|
|
7614
7594
|
this._nextChanged = null;
|
|
7615
7595
|
}
|
|
7616
|
-
/**
|
|
7617
|
-
* @return {?}
|
|
7618
|
-
*/
|
|
7619
|
-
toString() {
|
|
7620
|
-
return looseIdentical(this.previousValue, this.currentValue) ?
|
|
7621
|
-
stringify(this.key) :
|
|
7622
|
-
(stringify(this.key) + '[' + stringify(this.previousValue) + '->' +
|
|
7623
|
-
stringify(this.currentValue) + ']');
|
|
7624
|
-
}
|
|
7625
7596
|
}
|
|
7626
7597
|
|
|
7627
7598
|
/**
|