@angular/platform-browser 9.1.0 → 9.1.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.
Files changed (87) hide show
  1. package/animations/animations.d.ts +1 -1
  2. package/animations/animations.metadata.json +1 -1
  3. package/animations.d.ts +1 -1
  4. package/bundles/platform-browser-animations.umd.js +88 -32
  5. package/bundles/platform-browser-animations.umd.js.map +1 -1
  6. package/bundles/platform-browser-animations.umd.min.js +1 -1
  7. package/bundles/platform-browser-animations.umd.min.js.map +1 -1
  8. package/bundles/platform-browser-testing.umd.js +42 -11
  9. package/bundles/platform-browser-testing.umd.js.map +1 -1
  10. package/bundles/platform-browser-testing.umd.min.js +1 -1
  11. package/bundles/platform-browser-testing.umd.min.js.map +1 -1
  12. package/bundles/platform-browser.umd.js +182 -71
  13. package/bundles/platform-browser.umd.js.map +1 -1
  14. package/bundles/platform-browser.umd.min.js +7 -7
  15. package/bundles/platform-browser.umd.min.js.map +1 -1
  16. package/esm2015/animations/src/animation_builder.js +38 -19
  17. package/esm2015/animations/src/animation_renderer.js +31 -11
  18. package/esm2015/animations/src/providers.js +2 -2
  19. package/esm2015/index.js +1 -1
  20. package/esm2015/public_api.js +1 -1
  21. package/esm2015/src/browser/browser_adapter.js +43 -15
  22. package/esm2015/src/browser/generic_browser_adapter.js +7 -3
  23. package/esm2015/src/browser/meta.js +4 -2
  24. package/esm2015/src/browser/testability.js +4 -2
  25. package/esm2015/src/browser/title.js +7 -3
  26. package/esm2015/src/browser/tools/common_tools.js +4 -2
  27. package/esm2015/src/browser/transfer_state.js +10 -4
  28. package/esm2015/src/browser.js +2 -2
  29. package/esm2015/src/dom/debug/by.js +7 -5
  30. package/esm2015/src/dom/dom_renderer.js +34 -12
  31. package/esm2015/src/dom/events/dom_events.js +7 -3
  32. package/esm2015/src/dom/events/event_manager.js +4 -2
  33. package/esm2015/src/dom/events/hammer_gestures.js +13 -5
  34. package/esm2015/src/dom/events/key_events.js +7 -3
  35. package/esm2015/src/dom/shared_styles_host.js +14 -8
  36. package/esm2015/src/dom/util.js +1 -1
  37. package/esm2015/src/platform-browser.js +3 -3
  38. package/esm2015/src/private_export.js +3 -3
  39. package/esm2015/src/security/dom_sanitization_service.js +11 -5
  40. package/esm2015/src/version.js +1 -1
  41. package/esm2015/testing/src/browser.js +2 -2
  42. package/esm2015/testing/src/browser_util.js +25 -9
  43. package/esm2015/testing/src/matchers.js +22 -9
  44. package/esm5/animations/src/animation_builder.js +38 -19
  45. package/esm5/animations/src/animation_renderer.js +31 -11
  46. package/esm5/animations/src/providers.js +2 -2
  47. package/esm5/src/browser/browser_adapter.js +43 -15
  48. package/esm5/src/browser/generic_browser_adapter.js +4 -2
  49. package/esm5/src/browser/meta.js +4 -2
  50. package/esm5/src/browser/testability.js +4 -2
  51. package/esm5/src/browser/title.js +7 -3
  52. package/esm5/src/browser/tools/common_tools.js +1 -1
  53. package/esm5/src/browser/transfer_state.js +10 -4
  54. package/esm5/src/browser.js +2 -2
  55. package/esm5/src/dom/debug/by.js +4 -2
  56. package/esm5/src/dom/dom_renderer.js +34 -12
  57. package/esm5/src/dom/events/dom_events.js +4 -2
  58. package/esm5/src/dom/events/event_manager.js +4 -2
  59. package/esm5/src/dom/events/hammer_gestures.js +28 -20
  60. package/esm5/src/dom/events/key_events.js +8 -6
  61. package/esm5/src/dom/shared_styles_host.js +10 -4
  62. package/esm5/src/dom/util.js +1 -1
  63. package/esm5/src/platform-browser.js +2 -2
  64. package/esm5/src/private_export.js +3 -3
  65. package/esm5/src/security/dom_sanitization_service.js +11 -5
  66. package/esm5/src/version.js +1 -1
  67. package/esm5/testing/src/browser.js +2 -2
  68. package/esm5/testing/src/browser_util.js +22 -8
  69. package/esm5/testing/src/matchers.js +21 -8
  70. package/fesm2015/animations.js +68 -29
  71. package/fesm2015/animations.js.map +1 -1
  72. package/fesm2015/platform-browser.js +162 -60
  73. package/fesm2015/platform-browser.js.map +1 -1
  74. package/fesm2015/testing.js +25 -9
  75. package/fesm2015/testing.js.map +1 -1
  76. package/fesm5/animations.js +68 -29
  77. package/fesm5/animations.js.map +1 -1
  78. package/fesm5/platform-browser.js +162 -68
  79. package/fesm5/platform-browser.js.map +1 -1
  80. package/fesm5/testing.js +22 -8
  81. package/fesm5/testing.js.map +1 -1
  82. package/package.json +4 -4
  83. package/platform-browser.d.ts +20 -20
  84. package/platform-browser.metadata.json +1 -1
  85. package/testing/testing.d.ts +1 -1
  86. package/testing/testing.metadata.json +1 -1
  87. package/testing.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v9.1.0
2
+ * @license Angular v9.1.4
3
3
  * (c) 2010-2020 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -21,11 +21,15 @@ import { ɵglobal, InjectionToken, ApplicationInitStatus, APP_INITIALIZER, Injec
21
21
  * @abstract
22
22
  */
23
23
  class GenericBrowserDomAdapter extends ɵDomAdapter {
24
- constructor() { super(); }
24
+ constructor() {
25
+ super();
26
+ }
25
27
  /**
26
28
  * @return {?}
27
29
  */
28
- supportsDOMEvents() { return true; }
30
+ supportsDOMEvents() {
31
+ return true;
32
+ }
29
33
  }
30
34
 
31
35
  /**
@@ -62,13 +66,17 @@ class BrowserDomAdapter extends GenericBrowserDomAdapter {
62
66
  /**
63
67
  * @return {?}
64
68
  */
65
- static makeCurrent() { ɵsetRootDomAdapter(new BrowserDomAdapter()); }
69
+ static makeCurrent() {
70
+ ɵsetRootDomAdapter(new BrowserDomAdapter());
71
+ }
66
72
  /**
67
73
  * @param {?} el
68
74
  * @param {?} name
69
75
  * @return {?}
70
76
  */
71
- getProperty(el, name) { return ((/** @type {?} */ (el)))[name]; }
77
+ getProperty(el, name) {
78
+ return ((/** @type {?} */ (el)))[name];
79
+ }
72
80
  /**
73
81
  * @param {?} error
74
82
  * @return {?}
@@ -108,14 +116,18 @@ class BrowserDomAdapter extends GenericBrowserDomAdapter {
108
116
  return (/**
109
117
  * @return {?}
110
118
  */
111
- () => { el.removeEventListener(evt, listener, false); });
119
+ () => {
120
+ el.removeEventListener(evt, listener, false);
121
+ });
112
122
  }
113
123
  /**
114
124
  * @param {?} el
115
125
  * @param {?} evt
116
126
  * @return {?}
117
127
  */
118
- dispatchEvent(el, evt) { el.dispatchEvent(evt); }
128
+ dispatchEvent(el, evt) {
129
+ el.dispatchEvent(evt);
130
+ }
119
131
  /**
120
132
  * @param {?} node
121
133
  * @return {?}
@@ -130,7 +142,9 @@ class BrowserDomAdapter extends GenericBrowserDomAdapter {
130
142
  * @param {?} el
131
143
  * @return {?}
132
144
  */
133
- getValue(el) { return el.value; }
145
+ getValue(el) {
146
+ return el.value;
147
+ }
134
148
  /**
135
149
  * @param {?} tagName
136
150
  * @param {?=} doc
@@ -149,17 +163,23 @@ class BrowserDomAdapter extends GenericBrowserDomAdapter {
149
163
  /**
150
164
  * @return {?}
151
165
  */
152
- getDefaultDocument() { return document; }
166
+ getDefaultDocument() {
167
+ return document;
168
+ }
153
169
  /**
154
170
  * @param {?} node
155
171
  * @return {?}
156
172
  */
157
- isElementNode(node) { return node.nodeType === Node.ELEMENT_NODE; }
173
+ isElementNode(node) {
174
+ return node.nodeType === Node.ELEMENT_NODE;
175
+ }
158
176
  /**
159
177
  * @param {?} node
160
178
  * @return {?}
161
179
  */
162
- isShadowRoot(node) { return node instanceof DocumentFragment; }
180
+ isShadowRoot(node) {
181
+ return node instanceof DocumentFragment;
182
+ }
163
183
  /**
164
184
  * @param {?} doc
165
185
  * @param {?} target
@@ -180,11 +200,15 @@ class BrowserDomAdapter extends GenericBrowserDomAdapter {
180
200
  /**
181
201
  * @return {?}
182
202
  */
183
- getHistory() { return window.history; }
203
+ getHistory() {
204
+ return window.history;
205
+ }
184
206
  /**
185
207
  * @return {?}
186
208
  */
187
- getLocation() { return window.location; }
209
+ getLocation() {
210
+ return window.location;
211
+ }
188
212
  /**
189
213
  * @param {?} doc
190
214
  * @return {?}
@@ -197,11 +221,15 @@ class BrowserDomAdapter extends GenericBrowserDomAdapter {
197
221
  /**
198
222
  * @return {?}
199
223
  */
200
- resetBaseElement() { baseElement = null; }
224
+ resetBaseElement() {
225
+ baseElement = null;
226
+ }
201
227
  /**
202
228
  * @return {?}
203
229
  */
204
- getUserAgent() { return window.navigator.userAgent; }
230
+ getUserAgent() {
231
+ return window.navigator.userAgent;
232
+ }
205
233
  /**
206
234
  * @return {?}
207
235
  */
@@ -214,12 +242,16 @@ class BrowserDomAdapter extends GenericBrowserDomAdapter {
214
242
  /**
215
243
  * @return {?}
216
244
  */
217
- supportsCookies() { return true; }
245
+ supportsCookies() {
246
+ return true;
247
+ }
218
248
  /**
219
249
  * @param {?} name
220
250
  * @return {?}
221
251
  */
222
- getCookie(name) { return ɵparseCookieValue(document.cookie, name); }
252
+ getCookie(name) {
253
+ return ɵparseCookieValue(document.cookie, name);
254
+ }
223
255
  }
224
256
  /** @type {?} */
225
257
  let baseElement = null;
@@ -315,7 +347,9 @@ class BrowserGetTestability {
315
347
  /**
316
348
  * @return {?}
317
349
  */
318
- static init() { setTestabilityGetter(new BrowserGetTestability()); }
350
+ static init() {
351
+ setTestabilityGetter(new BrowserGetTestability());
352
+ }
319
353
  /**
320
354
  * @param {?} registry
321
355
  * @return {?}
@@ -601,7 +635,9 @@ class EventManager {
601
635
  * Retrieves the compilation zone in which event listeners are registered.
602
636
  * @return {?}
603
637
  */
604
- getZone() { return this._zone; }
638
+ getZone() {
639
+ return this._zone;
640
+ }
605
641
  /**
606
642
  * \@internal
607
643
  * @param {?} eventName
@@ -739,7 +775,9 @@ class SharedStylesHost {
739
775
  /**
740
776
  * @return {?}
741
777
  */
742
- getAllStyles() { return Array.from(this._stylesSet); }
778
+ getAllStyles() {
779
+ return Array.from(this._stylesSet);
780
+ }
743
781
  }
744
782
  SharedStylesHost.decorators = [
745
783
  { type: Injectable }
@@ -793,7 +831,9 @@ class DomSharedStylesHost extends SharedStylesHost {
793
831
  * @param {?} hostNode
794
832
  * @return {?}
795
833
  */
796
- removeHost(hostNode) { this._hostNodes.delete(hostNode); }
834
+ removeHost(hostNode) {
835
+ this._hostNodes.delete(hostNode);
836
+ }
797
837
  /**
798
838
  * @param {?} additions
799
839
  * @return {?}
@@ -808,11 +848,13 @@ class DomSharedStylesHost extends SharedStylesHost {
808
848
  /**
809
849
  * @return {?}
810
850
  */
811
- ngOnDestroy() { this._styleNodes.forEach((/**
812
- * @param {?} styleNode
813
- * @return {?}
814
- */
815
- styleNode => ɵgetDOM().remove(styleNode))); }
851
+ ngOnDestroy() {
852
+ this._styleNodes.forEach((/**
853
+ * @param {?} styleNode
854
+ * @return {?}
855
+ */
856
+ styleNode => ɵgetDOM().remove(styleNode)));
857
+ }
816
858
  }
817
859
  DomSharedStylesHost.decorators = [
818
860
  { type: Injectable }
@@ -1048,18 +1090,24 @@ class DefaultDomRenderer2 {
1048
1090
  * @param {?} value
1049
1091
  * @return {?}
1050
1092
  */
1051
- createComment(value) { return document.createComment(value); }
1093
+ createComment(value) {
1094
+ return document.createComment(value);
1095
+ }
1052
1096
  /**
1053
1097
  * @param {?} value
1054
1098
  * @return {?}
1055
1099
  */
1056
- createText(value) { return document.createTextNode(value); }
1100
+ createText(value) {
1101
+ return document.createTextNode(value);
1102
+ }
1057
1103
  /**
1058
1104
  * @param {?} parent
1059
1105
  * @param {?} newChild
1060
1106
  * @return {?}
1061
1107
  */
1062
- appendChild(parent, newChild) { parent.appendChild(newChild); }
1108
+ appendChild(parent, newChild) {
1109
+ parent.appendChild(newChild);
1110
+ }
1063
1111
  /**
1064
1112
  * @param {?} parent
1065
1113
  * @param {?} newChild
@@ -1102,12 +1150,16 @@ class DefaultDomRenderer2 {
1102
1150
  * @param {?} node
1103
1151
  * @return {?}
1104
1152
  */
1105
- parentNode(node) { return node.parentNode; }
1153
+ parentNode(node) {
1154
+ return node.parentNode;
1155
+ }
1106
1156
  /**
1107
1157
  * @param {?} node
1108
1158
  * @return {?}
1109
1159
  */
1110
- nextSibling(node) { return node.nextSibling; }
1160
+ nextSibling(node) {
1161
+ return node.nextSibling;
1162
+ }
1111
1163
  /**
1112
1164
  * @param {?} el
1113
1165
  * @param {?} name
@@ -1164,13 +1216,17 @@ class DefaultDomRenderer2 {
1164
1216
  * @param {?} name
1165
1217
  * @return {?}
1166
1218
  */
1167
- addClass(el, name) { el.classList.add(name); }
1219
+ addClass(el, name) {
1220
+ el.classList.add(name);
1221
+ }
1168
1222
  /**
1169
1223
  * @param {?} el
1170
1224
  * @param {?} name
1171
1225
  * @return {?}
1172
1226
  */
1173
- removeClass(el, name) { el.classList.remove(name); }
1227
+ removeClass(el, name) {
1228
+ el.classList.remove(name);
1229
+ }
1174
1230
  /**
1175
1231
  * @param {?} el
1176
1232
  * @param {?} style
@@ -1217,7 +1273,9 @@ class DefaultDomRenderer2 {
1217
1273
  * @param {?} value
1218
1274
  * @return {?}
1219
1275
  */
1220
- setValue(node, value) { node.nodeValue = value; }
1276
+ setValue(node, value) {
1277
+ node.nodeValue = value;
1278
+ }
1221
1279
  /**
1222
1280
  * @param {?} target
1223
1281
  * @param {?} event
@@ -1279,7 +1337,9 @@ class EmulatedEncapsulationDomRenderer2 extends DefaultDomRenderer2 {
1279
1337
  * @param {?} element
1280
1338
  * @return {?}
1281
1339
  */
1282
- applyToHost(element) { super.setAttribute(element, this.hostAttr, ''); }
1340
+ applyToHost(element) {
1341
+ super.setAttribute(element, this.hostAttr, '');
1342
+ }
1283
1343
  /**
1284
1344
  * @param {?} parent
1285
1345
  * @param {?} name
@@ -1342,11 +1402,15 @@ class ShadowDomRenderer extends DefaultDomRenderer2 {
1342
1402
  * @param {?} node
1343
1403
  * @return {?}
1344
1404
  */
1345
- nodeOrShadowRoot(node) { return node === this.hostEl ? this.shadowRoot : node; }
1405
+ nodeOrShadowRoot(node) {
1406
+ return node === this.hostEl ? this.shadowRoot : node;
1407
+ }
1346
1408
  /**
1347
1409
  * @return {?}
1348
1410
  */
1349
- destroy() { this.sharedStylesHost.removeHost(this.shadowRoot); }
1411
+ destroy() {
1412
+ this.sharedStylesHost.removeHost(this.shadowRoot);
1413
+ }
1350
1414
  /**
1351
1415
  * @param {?} parent
1352
1416
  * @param {?} newChild
@@ -1412,14 +1476,18 @@ class DomEventsPlugin extends EventManagerPlugin {
1412
1476
  /**
1413
1477
  * @param {?} doc
1414
1478
  */
1415
- constructor(doc) { super(doc); }
1479
+ constructor(doc) {
1480
+ super(doc);
1481
+ }
1416
1482
  // This plugin should come last in the list of plugins, because it accepts all
1417
1483
  // events.
1418
1484
  /**
1419
1485
  * @param {?} eventName
1420
1486
  * @return {?}
1421
1487
  */
1422
- supports(eventName) { return true; }
1488
+ supports(eventName) {
1489
+ return true;
1490
+ }
1423
1491
  /**
1424
1492
  * @param {?} element
1425
1493
  * @param {?} eventName
@@ -1677,7 +1745,9 @@ class HammerGesturesPlugin extends EventManagerPlugin {
1677
1745
  let deregister = (/**
1678
1746
  * @return {?}
1679
1747
  */
1680
- () => { cancelRegistration = true; });
1748
+ () => {
1749
+ cancelRegistration = true;
1750
+ });
1681
1751
  this.loader()
1682
1752
  .then((/**
1683
1753
  * @return {?}
@@ -1715,7 +1785,9 @@ class HammerGesturesPlugin extends EventManagerPlugin {
1715
1785
  return (/**
1716
1786
  * @return {?}
1717
1787
  */
1718
- () => { deregister(); });
1788
+ () => {
1789
+ deregister();
1790
+ });
1719
1791
  }
1720
1792
  return zone.runOutsideAngular((/**
1721
1793
  * @return {?}
@@ -1733,7 +1805,9 @@ class HammerGesturesPlugin extends EventManagerPlugin {
1733
1805
  zone.runGuarded((/**
1734
1806
  * @return {?}
1735
1807
  */
1736
- function () { handler(eventObj); }));
1808
+ function () {
1809
+ handler(eventObj);
1810
+ }));
1737
1811
  });
1738
1812
  mc.on(eventName, callback);
1739
1813
  return (/**
@@ -1752,7 +1826,9 @@ class HammerGesturesPlugin extends EventManagerPlugin {
1752
1826
  * @param {?} eventName
1753
1827
  * @return {?}
1754
1828
  */
1755
- isCustomEvent(eventName) { return this._config.events.indexOf(eventName) > -1; }
1829
+ isCustomEvent(eventName) {
1830
+ return this._config.events.indexOf(eventName) > -1;
1831
+ }
1756
1832
  }
1757
1833
  HammerGesturesPlugin.decorators = [
1758
1834
  { type: Injectable }
@@ -1909,13 +1985,17 @@ class KeyEventsPlugin extends EventManagerPlugin {
1909
1985
  * Initializes an instance of the browser plug-in.
1910
1986
  * @param {?} doc The document in which key events will be detected.
1911
1987
  */
1912
- constructor(doc) { super(doc); }
1988
+ constructor(doc) {
1989
+ super(doc);
1990
+ }
1913
1991
  /**
1914
1992
  * Reports whether a named key event is supported.
1915
1993
  * @param {?} eventName The event name to query.
1916
1994
  * @return {?} True if the named key event is supported.
1917
1995
  */
1918
- supports(eventName) { return KeyEventsPlugin.parseEventName(eventName) != null; }
1996
+ supports(eventName) {
1997
+ return KeyEventsPlugin.parseEventName(eventName) != null;
1998
+ }
1919
1999
  /**
1920
2000
  * Registers a handler for a specific element and key event.
1921
2001
  * @param {?} element The HTML element to receive event notifications.
@@ -2296,12 +2376,16 @@ class DomSanitizerImpl extends DomSanitizer {
2296
2376
  * @param {?} value
2297
2377
  * @return {?}
2298
2378
  */
2299
- bypassSecurityTrustHtml(value) { return ɵbypassSanitizationTrustHtml(value); }
2379
+ bypassSecurityTrustHtml(value) {
2380
+ return ɵbypassSanitizationTrustHtml(value);
2381
+ }
2300
2382
  /**
2301
2383
  * @param {?} value
2302
2384
  * @return {?}
2303
2385
  */
2304
- bypassSecurityTrustStyle(value) { return ɵbypassSanitizationTrustStyle(value); }
2386
+ bypassSecurityTrustStyle(value) {
2387
+ return ɵbypassSanitizationTrustStyle(value);
2388
+ }
2305
2389
  /**
2306
2390
  * @param {?} value
2307
2391
  * @return {?}
@@ -2313,7 +2397,9 @@ class DomSanitizerImpl extends DomSanitizer {
2313
2397
  * @param {?} value
2314
2398
  * @return {?}
2315
2399
  */
2316
- bypassSecurityTrustUrl(value) { return ɵbypassSanitizationTrustUrl(value); }
2400
+ bypassSecurityTrustUrl(value) {
2401
+ return ɵbypassSanitizationTrustUrl(value);
2402
+ }
2317
2403
  /**
2318
2404
  * @param {?} value
2319
2405
  * @return {?}
@@ -2556,7 +2642,9 @@ class Meta {
2556
2642
  * @param {?} attrSelector
2557
2643
  * @return {?}
2558
2644
  */
2559
- removeTag(attrSelector) { this.removeTagElement((/** @type {?} */ (this.getTag(attrSelector)))); }
2645
+ removeTag(attrSelector) {
2646
+ this.removeTagElement((/** @type {?} */ (this.getTag(attrSelector))));
2647
+ }
2560
2648
  /**
2561
2649
  * @param {?} meta
2562
2650
  * @return {?}
@@ -2684,13 +2772,17 @@ class Title {
2684
2772
  * Get the title of the current HTML document.
2685
2773
  * @return {?}
2686
2774
  */
2687
- getTitle() { return this._doc.title; }
2775
+ getTitle() {
2776
+ return this._doc.title;
2777
+ }
2688
2778
  /**
2689
2779
  * Set the title of the current HTML document.
2690
2780
  * @param {?} newTitle
2691
2781
  * @return {?}
2692
2782
  */
2693
- setTitle(newTitle) { this._doc.title = newTitle || ''; }
2783
+ setTitle(newTitle) {
2784
+ this._doc.title = newTitle || '';
2785
+ }
2694
2786
  }
2695
2787
  Title.decorators = [
2696
2788
  { type: Injectable, args: [{ providedIn: 'root', useFactory: createTitle, deps: [] },] }
@@ -2752,7 +2844,9 @@ class AngularProfiler {
2752
2844
  /**
2753
2845
  * @param {?} ref
2754
2846
  */
2755
- constructor(ref) { this.appRef = ref.injector.get(ApplicationRef); }
2847
+ constructor(ref) {
2848
+ this.appRef = ref.injector.get(ApplicationRef);
2849
+ }
2756
2850
  // tslint:disable:no-console
2757
2851
  /**
2758
2852
  * Exercises change detection in a loop and then prints the average amount of
@@ -2954,21 +3048,27 @@ class TransferState {
2954
3048
  * @param {?} value
2955
3049
  * @return {?}
2956
3050
  */
2957
- set(key, value) { this.store[key] = value; }
3051
+ set(key, value) {
3052
+ this.store[key] = value;
3053
+ }
2958
3054
  /**
2959
3055
  * Remove a key from the store.
2960
3056
  * @template T
2961
3057
  * @param {?} key
2962
3058
  * @return {?}
2963
3059
  */
2964
- remove(key) { delete this.store[key]; }
3060
+ remove(key) {
3061
+ delete this.store[key];
3062
+ }
2965
3063
  /**
2966
3064
  * Test whether a key exists in the store.
2967
3065
  * @template T
2968
3066
  * @param {?} key
2969
3067
  * @return {?}
2970
3068
  */
2971
- hasKey(key) { return this.store.hasOwnProperty(key); }
3069
+ hasKey(key) {
3070
+ return this.store.hasOwnProperty(key);
3071
+ }
2972
3072
  /**
2973
3073
  * Register a callback to provide the value for a key when `toJson` is called.
2974
3074
  * @template T
@@ -3069,10 +3169,12 @@ class By {
3069
3169
  * {\@example platform-browser/dom/debug/ts/by/by.ts region='by_all'}
3070
3170
  * @return {?}
3071
3171
  */
3072
- static all() { return (/**
3073
- * @return {?}
3074
- */
3075
- () => true); }
3172
+ static all() {
3173
+ return (/**
3174
+ * @return {?}
3175
+ */
3176
+ () => true);
3177
+ }
3076
3178
  /**
3077
3179
  * Match elements by the given CSS selector.
3078
3180
  *
@@ -3141,7 +3243,7 @@ function elementMatches(n, selector) {
3141
3243
  * \@publicApi
3142
3244
  * @type {?}
3143
3245
  */
3144
- const VERSION = new Version('9.1.0');
3246
+ const VERSION = new Version('9.1.4');
3145
3247
 
3146
3248
  /**
3147
3249
  * @fileoverview added by tsickle