@ui-grid/core
Advanced tools
Comparing version 4.12.2 to 4.12.4
@@ -6,2 +6,13 @@ # Change Log | ||
## [4.12.4](https://github.com/angular-ui/ui-grid/compare/v4.12.3...v4.12.4) (2023-08-17) | ||
### Bug Fixes | ||
* 🐛 update the index accordingly when modifying existing rows ([945d4f8](https://github.com/angular-ui/ui-grid/commit/945d4f81461601d5e4d57c89bb2d3431d2511354)) | ||
## [4.12.2](https://github.com/angular-ui/ui-grid/compare/v4.12.1...v4.12.2) (2023-01-23) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@ui-grid/core", | ||
"version": "4.12.2", | ||
"version": "4.12.4", | ||
"description": "A data grid for Angular", | ||
@@ -41,3 +41,3 @@ "main": "index.js", | ||
"license": "MIT", | ||
"gitHead": "2d575340e17539be5b39b59dbca0ce9dca018c3e" | ||
"gitHead": "8892f1d178669530a8db19c7a269fd00f88adb85" | ||
} |
@@ -734,2 +734,14 @@ describe('Grid factory', function() { | ||
}); | ||
it('should delete and insert new in the middle', function() { | ||
dataRows.splice(2, 0, {str: 'wwe'}); | ||
grid.modifyRows(dataRows); | ||
expect(grid.getRow).not.toHaveBeenCalled(); | ||
expect(grid.rows.length).toBe(4); | ||
expect(grid.rows[0].index).toBe(0); | ||
expect(grid.rows[2].entity.str).toBe('wwe'); | ||
expect(grid.rows[3].entity.str).toBe('bac'); | ||
expect(grid.rows[3].index).toBe(3); | ||
}); | ||
}); | ||
@@ -736,0 +748,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1484331
29983
1