@swimlane/ngx-datatable 21.0.0 → 21.1.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## HEAD (unreleased)
4
4
 
5
+ ## 21.1.0
6
+
7
+ - Fix: Prevent browser page crash when user inputs large Arrays
8
+
5
9
  ## 21.0.0
6
10
 
7
11
  - Fix: Add missing package files from deployment
@@ -5947,8 +5947,8 @@ class DatatableComponent {
5947
5947
  */
5948
5948
  this.rowDragEvents = new EventEmitter();
5949
5949
  this.element = inject(ElementRef).nativeElement;
5950
+ this.rowDiffer = inject(KeyValueDiffers).find([]).create();
5950
5951
  this.rowCount = 0;
5951
- this.rowDiffer = inject(IterableDiffers).find([]).create();
5952
5952
  this._offsetX = new BehaviorSubject(0);
5953
5953
  this._count = 0;
5954
5954
  this._offset = 0;