Compare commits

..
Author SHA1 Message Date
Tanner Linsley 7cb091c884 v7.0.0-rc.1 2019-12-05 23:35:56 -05:00
4 changed files with 10 additions and 17 deletions
+6 -6
View File
@@ -1,13 +1,13 @@
{
"dist/index.js": {
"bundled": 102847,
"minified": 50399,
"gzipped": 12909
"bundled": 102774,
"minified": 50337,
"gzipped": 12881
},
"dist/index.es.js": {
"bundled": 101791,
"minified": 49456,
"gzipped": 12726,
"bundled": 101718,
"minified": 49394,
"gzipped": 12698,
"treeshaked": {
"rollup": {
"code": 78,
+1 -5
View File
@@ -1,8 +1,4 @@
## 7.0.0-rc.1
- Minor regex optimizations during row path creation
## 7.0.0-rc.0
## 7.0.0-beta.29
- Added the support for the `Footer` renderer, `column.getFooterProps`, `footerGroups` and `footerGroup.getFooterProps`
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "react-table",
"version": "7.0.0-rc.2",
"version": "7.0.0-rc.1",
"description": "A fast, lightweight, opinionated table and datagrid built on React",
"license": "MIT",
"homepage": "https://github.com/tannerlinsley/react-table#readme",
+2 -5
View File
@@ -417,9 +417,6 @@ export function functionalUpdate(updater, old) {
//
const reOpenBracket = /\[/g
const reCloseBracket = /\]/g
function makePathArray(obj) {
return (
flattenDeep(obj)
@@ -428,8 +425,8 @@ function makePathArray(obj) {
// join parts using period
.join('.')
// replace brackets with periods
.replace(reOpenBracket, '.')
.replace(reCloseBracket, '')
.replace(/\[/g, '.')
.replace(/\]/g, '')
// split it back out on periods
.split('.')
)