mirror of
https://github.com/gosticks/react-table.git
synced 2026-07-10 05:50:06 +00:00
v7.0.0-rc.1
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"dist/index.js": {
|
||||
"bundled": 102774,
|
||||
"minified": 50337,
|
||||
"gzipped": 12881
|
||||
"bundled": 102847,
|
||||
"minified": 50399,
|
||||
"gzipped": 12909
|
||||
},
|
||||
"dist/index.es.js": {
|
||||
"bundled": 101718,
|
||||
"minified": 49394,
|
||||
"gzipped": 12698,
|
||||
"bundled": 101791,
|
||||
"minified": 49456,
|
||||
"gzipped": 12726,
|
||||
"treeshaked": {
|
||||
"rollup": {
|
||||
"code": 78,
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
## 7.0.0-beta.29
|
||||
## 7.0.0-rc.1
|
||||
|
||||
- Minor regex optimizations during row path creation
|
||||
|
||||
## 7.0.0-rc.0
|
||||
|
||||
- Added the support for the `Footer` renderer, `column.getFooterProps`, `footerGroups` and `footerGroup.getFooterProps`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-table",
|
||||
"version": "7.0.0-rc.0",
|
||||
"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",
|
||||
|
||||
@@ -417,6 +417,9 @@ export function functionalUpdate(updater, old) {
|
||||
|
||||
//
|
||||
|
||||
const reOpenBracket = /\[/g
|
||||
const reCloseBracket = /\]/g
|
||||
|
||||
function makePathArray(obj) {
|
||||
return (
|
||||
flattenDeep(obj)
|
||||
@@ -425,8 +428,8 @@ function makePathArray(obj) {
|
||||
// join parts using period
|
||||
.join('.')
|
||||
// replace brackets with periods
|
||||
.replace(/\[/g, '.')
|
||||
.replace(/\]/g, '')
|
||||
.replace(reOpenBracket, '.')
|
||||
.replace(reCloseBracket, '')
|
||||
// split it back out on periods
|
||||
.split('.')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user