Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tanstack/react-table

Package Overview
Dependencies
Maintainers
1
Versions
220
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/react-table - npm Package Compare versions

Comparing version 8.0.0-alpha.6 to 8.0.0-alpha.7

16

build/cjs/createTable.js

@@ -92,6 +92,20 @@ /**

var instanceRef = React__namespace.useRef(undefined);
var rerender = React__namespace.useReducer(function () {
var unsafeRerender = React__namespace.useReducer(function () {
return {};
}, {})[1];
var isMountedRef = React__namespace.useRef(false);
var rerender = React__namespace.useCallback(function () {
if (!isMountedRef.current) {
return;
}
unsafeRerender();
}, []);
React__namespace.useLayoutEffect(function () {
isMountedRef.current = true;
return function () {
isMountedRef.current = false;
};
});
if (!instanceRef.current) {

@@ -98,0 +112,0 @@ instanceRef.current = core.createTableInstance(options, rerender);

458

build/stats-react.json

@@ -16,23 +16,23 @@ {

{
"uid": "615f-53",
"uid": "34ba-53",
"name": "columnFilterRowsFn.ts"
},
{
"uid": "615f-55",
"uid": "34ba-55",
"name": "globalFilterRowsFn.ts"
},
{
"uid": "615f-57",
"uid": "34ba-57",
"name": "sortRowsFn.ts"
},
{
"uid": "615f-63",
"uid": "34ba-63",
"name": "groupRowsFn.ts"
},
{
"uid": "615f-65",
"uid": "34ba-65",
"name": "expandRowsFn.ts"
},
{
"uid": "615f-67",
"uid": "34ba-67",
"name": "paginateRowsFn.ts"

@@ -43,3 +43,3 @@ }

{
"uid": "615f-61",
"uid": "34ba-61",
"name": "utils.tsx"

@@ -51,43 +51,43 @@ },

{
"uid": "615f-69",
"uid": "34ba-69",
"name": "Visibility.ts"
},
{
"uid": "615f-73",
"uid": "34ba-73",
"name": "Grouping.ts"
},
{
"uid": "615f-75",
"uid": "34ba-75",
"name": "Ordering.ts"
},
{
"uid": "615f-77",
"uid": "34ba-77",
"name": "Pinning.ts"
},
{
"uid": "615f-79",
"uid": "34ba-79",
"name": "Headers.ts"
},
{
"uid": "615f-83",
"uid": "34ba-83",
"name": "Filters.ts"
},
{
"uid": "615f-87",
"uid": "34ba-87",
"name": "Sorting.ts"
},
{
"uid": "615f-89",
"uid": "34ba-89",
"name": "Expanding.ts"
},
{
"uid": "615f-91",
"uid": "34ba-91",
"name": "ColumnSizing.ts"
},
{
"uid": "615f-93",
"uid": "34ba-93",
"name": "Pagination.ts"
},
{
"uid": "615f-95",
"uid": "34ba-95",
"name": "RowSelection.ts"

@@ -98,23 +98,23 @@ }

{
"uid": "615f-71",
"uid": "34ba-71",
"name": "aggregationTypes.ts"
},
{
"uid": "615f-81",
"uid": "34ba-81",
"name": "filterTypes.ts"
},
{
"uid": "615f-85",
"uid": "34ba-85",
"name": "sortTypes.ts"
},
{
"uid": "615f-97",
"uid": "34ba-97",
"name": "core.tsx"
},
{
"uid": "615f-99",
"uid": "34ba-99",
"name": "createTable.tsx"
},
{
"uid": "615f-101",
"uid": "34ba-101",
"name": "index.tsx"

@@ -125,3 +125,3 @@ }

{
"uid": "615f-59",
"uid": "34ba-59",
"name": "\u0000rollupPluginBabelHelpers.js"

@@ -135,158 +135,158 @@ }

"nodeParts": {
"615f-53": {
"34ba-53": {
"renderedLength": 3174,
"gzipLength": 863,
"brotliLength": 0,
"mainUid": "615f-52"
"mainUid": "34ba-52"
},
"615f-55": {
"34ba-55": {
"renderedLength": 2540,
"gzipLength": 721,
"brotliLength": 0,
"mainUid": "615f-54"
"mainUid": "34ba-54"
},
"615f-57": {
"34ba-57": {
"renderedLength": 2436,
"gzipLength": 818,
"brotliLength": 0,
"mainUid": "615f-56"
"mainUid": "34ba-56"
},
"615f-59": {
"34ba-59": {
"renderedLength": 2695,
"gzipLength": 1065,
"brotliLength": 0,
"mainUid": "615f-58"
"mainUid": "34ba-58"
},
"615f-61": {
"34ba-61": {
"renderedLength": 3651,
"gzipLength": 1305,
"brotliLength": 0,
"mainUid": "615f-60"
"mainUid": "34ba-60"
},
"615f-63": {
"34ba-63": {
"renderedLength": 4814,
"gzipLength": 1358,
"brotliLength": 0,
"mainUid": "615f-62"
"mainUid": "34ba-62"
},
"615f-65": {
"34ba-65": {
"renderedLength": 595,
"gzipLength": 266,
"brotliLength": 0,
"mainUid": "615f-64"
"mainUid": "34ba-64"
},
"615f-67": {
"34ba-67": {
"renderedLength": 720,
"gzipLength": 281,
"brotliLength": 0,
"mainUid": "615f-66"
"mainUid": "34ba-66"
},
"615f-69": {
"34ba-69": {
"renderedLength": 5635,
"gzipLength": 1151,
"brotliLength": 0,
"mainUid": "615f-68"
"mainUid": "34ba-68"
},
"615f-71": {
"34ba-71": {
"renderedLength": 2520,
"gzipLength": 755,
"brotliLength": 0,
"mainUid": "615f-70"
"mainUid": "34ba-70"
},
"615f-73": {
"34ba-73": {
"renderedLength": 7904,
"gzipLength": 1724,
"brotliLength": 0,
"mainUid": "615f-72"
"mainUid": "34ba-72"
},
"615f-75": {
"34ba-75": {
"renderedLength": 2419,
"gzipLength": 757,
"brotliLength": 0,
"mainUid": "615f-74"
"mainUid": "34ba-74"
},
"615f-77": {
"34ba-77": {
"renderedLength": 5170,
"gzipLength": 1012,
"brotliLength": 0,
"mainUid": "615f-76"
"mainUid": "34ba-76"
},
"615f-79": {
"34ba-79": {
"renderedLength": 18878,
"gzipLength": 2991,
"brotliLength": 0,
"mainUid": "615f-78"
"mainUid": "34ba-78"
},
"615f-81": {
"34ba-81": {
"renderedLength": 4437,
"gzipLength": 786,
"brotliLength": 0,
"mainUid": "615f-80"
"mainUid": "34ba-80"
},
"615f-83": {
"34ba-83": {
"renderedLength": 17085,
"gzipLength": 2990,
"brotliLength": 0,
"mainUid": "615f-82"
"mainUid": "34ba-82"
},
"615f-85": {
"34ba-85": {
"renderedLength": 2752,
"gzipLength": 846,
"brotliLength": 0,
"mainUid": "615f-84"
"mainUid": "34ba-84"
},
"615f-87": {
"34ba-87": {
"renderedLength": 11546,
"gzipLength": 2564,
"brotliLength": 0,
"mainUid": "615f-86"
"mainUid": "34ba-86"
},
"615f-89": {
"34ba-89": {
"renderedLength": 7870,
"gzipLength": 1718,
"brotliLength": 0,
"mainUid": "615f-88"
"mainUid": "34ba-88"
},
"615f-91": {
"34ba-91": {
"renderedLength": 9842,
"gzipLength": 2050,
"brotliLength": 0,
"mainUid": "615f-90"
"mainUid": "34ba-90"
},
"615f-93": {
"34ba-93": {
"renderedLength": 6294,
"gzipLength": 1314,
"brotliLength": 0,
"mainUid": "615f-92"
"mainUid": "34ba-92"
},
"615f-95": {
"34ba-95": {
"renderedLength": 17855,
"gzipLength": 3118,
"brotliLength": 0,
"mainUid": "615f-94"
"mainUid": "34ba-94"
},
"615f-97": {
"34ba-97": {
"renderedLength": 17035,
"gzipLength": 3474,
"brotliLength": 0,
"mainUid": "615f-96"
"mainUid": "34ba-96"
},
"615f-99": {
"renderedLength": 1855,
"gzipLength": 503,
"34ba-99": {
"renderedLength": 2294,
"gzipLength": 595,
"brotliLength": 0,
"mainUid": "615f-98"
"mainUid": "34ba-98"
},
"615f-101": {
"34ba-101": {
"renderedLength": 0,
"gzipLength": 0,
"brotliLength": 0,
"mainUid": "615f-100"
"mainUid": "34ba-100"
}
},
"nodeMetas": {
"615f-52": {
"34ba-52": {
"id": "/packages/react-table/src/utils/columnFilterRowsFn.ts",
"moduleParts": {
"index.production.js": "615f-53"
"index.production.js": "34ba-53"
},

@@ -296,10 +296,10 @@ "imported": [],

{
"uid": "615f-100"
"uid": "34ba-100"
}
]
},
"615f-54": {
"34ba-54": {
"id": "/packages/react-table/src/utils/globalFilterRowsFn.ts",
"moduleParts": {
"index.production.js": "615f-55"
"index.production.js": "34ba-55"
},

@@ -309,10 +309,10 @@ "imported": [],

{
"uid": "615f-100"
"uid": "34ba-100"
}
]
},
"615f-56": {
"34ba-56": {
"id": "/packages/react-table/src/utils/sortRowsFn.ts",
"moduleParts": {
"index.production.js": "615f-57"
"index.production.js": "34ba-57"
},

@@ -322,10 +322,10 @@ "imported": [],

{
"uid": "615f-100"
"uid": "34ba-100"
}
]
},
"615f-58": {
"34ba-58": {
"id": "\u0000rollupPluginBabelHelpers.js",
"moduleParts": {
"index.production.js": "615f-59"
"index.production.js": "34ba-59"
},

@@ -335,44 +335,44 @@ "imported": [],

{
"uid": "615f-98"
"uid": "34ba-98"
},
{
"uid": "615f-60"
"uid": "34ba-60"
},
{
"uid": "615f-96"
"uid": "34ba-96"
},
{
"uid": "615f-68"
"uid": "34ba-68"
},
{
"uid": "615f-86"
"uid": "34ba-86"
},
{
"uid": "615f-88"
"uid": "34ba-88"
},
{
"uid": "615f-90"
"uid": "34ba-90"
},
{
"uid": "615f-92"
"uid": "34ba-92"
},
{
"uid": "615f-94"
"uid": "34ba-94"
},
{
"uid": "615f-70"
"uid": "34ba-70"
}
]
},
"615f-60": {
"34ba-60": {
"id": "/packages/react-table/src/utils.tsx",
"moduleParts": {
"index.production.js": "615f-61"
"index.production.js": "34ba-61"
},
"imported": [
{
"uid": "615f-58"
"uid": "34ba-58"
},
{
"uid": "615f-103"
"uid": "34ba-103"
}

@@ -382,50 +382,50 @@ ],

{
"uid": "615f-62"
"uid": "34ba-62"
},
{
"uid": "615f-96"
"uid": "34ba-96"
},
{
"uid": "615f-68"
"uid": "34ba-68"
},
{
"uid": "615f-74"
"uid": "34ba-74"
},
{
"uid": "615f-76"
"uid": "34ba-76"
},
{
"uid": "615f-78"
"uid": "34ba-78"
},
{
"uid": "615f-82"
"uid": "34ba-82"
},
{
"uid": "615f-86"
"uid": "34ba-86"
},
{
"uid": "615f-72"
"uid": "34ba-72"
},
{
"uid": "615f-88"
"uid": "34ba-88"
},
{
"uid": "615f-90"
"uid": "34ba-90"
},
{
"uid": "615f-92"
"uid": "34ba-92"
},
{
"uid": "615f-94"
"uid": "34ba-94"
}
]
},
"615f-62": {
"34ba-62": {
"id": "/packages/react-table/src/utils/groupRowsFn.ts",
"moduleParts": {
"index.production.js": "615f-63"
"index.production.js": "34ba-63"
},
"imported": [
{
"uid": "615f-60"
"uid": "34ba-60"
}

@@ -435,10 +435,10 @@ ],

{
"uid": "615f-100"
"uid": "34ba-100"
}
]
},
"615f-64": {
"34ba-64": {
"id": "/packages/react-table/src/utils/expandRowsFn.ts",
"moduleParts": {
"index.production.js": "615f-65"
"index.production.js": "34ba-65"
},

@@ -448,17 +448,17 @@ "imported": [],

{
"uid": "615f-100"
"uid": "34ba-100"
},
{
"uid": "615f-66"
"uid": "34ba-66"
}
]
},
"615f-66": {
"34ba-66": {
"id": "/packages/react-table/src/utils/paginateRowsFn.ts",
"moduleParts": {
"index.production.js": "615f-67"
"index.production.js": "34ba-67"
},
"imported": [
{
"uid": "615f-64"
"uid": "34ba-64"
}

@@ -468,17 +468,17 @@ ],

{
"uid": "615f-100"
"uid": "34ba-100"
}
]
},
"615f-68": {
"34ba-68": {
"id": "/packages/react-table/src/features/Visibility.ts",
"moduleParts": {
"index.production.js": "615f-69"
"index.production.js": "34ba-69"
},
"imported": [
{
"uid": "615f-58"
"uid": "34ba-58"
},
{
"uid": "615f-60"
"uid": "34ba-60"
}

@@ -488,14 +488,14 @@ ],

{
"uid": "615f-96"
"uid": "34ba-96"
}
]
},
"615f-70": {
"34ba-70": {
"id": "/packages/react-table/src/aggregationTypes.ts",
"moduleParts": {
"index.production.js": "615f-71"
"index.production.js": "34ba-71"
},
"imported": [
{
"uid": "615f-58"
"uid": "34ba-58"
}

@@ -505,17 +505,17 @@ ],

{
"uid": "615f-72"
"uid": "34ba-72"
}
]
},
"615f-72": {
"34ba-72": {
"id": "/packages/react-table/src/features/Grouping.ts",
"moduleParts": {
"index.production.js": "615f-73"
"index.production.js": "34ba-73"
},
"imported": [
{
"uid": "615f-70"
"uid": "34ba-70"
},
{
"uid": "615f-60"
"uid": "34ba-60"
}

@@ -525,20 +525,20 @@ ],

{
"uid": "615f-96"
"uid": "34ba-96"
},
{
"uid": "615f-74"
"uid": "34ba-74"
}
]
},
"615f-74": {
"34ba-74": {
"id": "/packages/react-table/src/features/Ordering.ts",
"moduleParts": {
"index.production.js": "615f-75"
"index.production.js": "34ba-75"
},
"imported": [
{
"uid": "615f-60"
"uid": "34ba-60"
},
{
"uid": "615f-72"
"uid": "34ba-72"
}

@@ -548,14 +548,14 @@ ],

{
"uid": "615f-96"
"uid": "34ba-96"
}
]
},
"615f-76": {
"34ba-76": {
"id": "/packages/react-table/src/features/Pinning.ts",
"moduleParts": {
"index.production.js": "615f-77"
"index.production.js": "34ba-77"
},
"imported": [
{
"uid": "615f-60"
"uid": "34ba-60"
}

@@ -565,14 +565,14 @@ ],

{
"uid": "615f-96"
"uid": "34ba-96"
}
]
},
"615f-78": {
"34ba-78": {
"id": "/packages/react-table/src/features/Headers.ts",
"moduleParts": {
"index.production.js": "615f-79"
"index.production.js": "34ba-79"
},
"imported": [
{
"uid": "615f-60"
"uid": "34ba-60"
}

@@ -582,10 +582,10 @@ ],

{
"uid": "615f-96"
"uid": "34ba-96"
}
]
},
"615f-80": {
"34ba-80": {
"id": "/packages/react-table/src/filterTypes.ts",
"moduleParts": {
"index.production.js": "615f-81"
"index.production.js": "34ba-81"
},

@@ -595,17 +595,17 @@ "imported": [],

{
"uid": "615f-82"
"uid": "34ba-82"
}
]
},
"615f-82": {
"34ba-82": {
"id": "/packages/react-table/src/features/Filters.ts",
"moduleParts": {
"index.production.js": "615f-83"
"index.production.js": "34ba-83"
},
"imported": [
{
"uid": "615f-80"
"uid": "34ba-80"
},
{
"uid": "615f-60"
"uid": "34ba-60"
}

@@ -615,10 +615,10 @@ ],

{
"uid": "615f-96"
"uid": "34ba-96"
}
]
},
"615f-84": {
"34ba-84": {
"id": "/packages/react-table/src/sortTypes.ts",
"moduleParts": {
"index.production.js": "615f-85"
"index.production.js": "34ba-85"
},

@@ -628,20 +628,20 @@ "imported": [],

{
"uid": "615f-86"
"uid": "34ba-86"
}
]
},
"615f-86": {
"34ba-86": {
"id": "/packages/react-table/src/features/Sorting.ts",
"moduleParts": {
"index.production.js": "615f-87"
"index.production.js": "34ba-87"
},
"imported": [
{
"uid": "615f-58"
"uid": "34ba-58"
},
{
"uid": "615f-84"
"uid": "34ba-84"
},
{
"uid": "615f-60"
"uid": "34ba-60"
}

@@ -651,17 +651,17 @@ ],

{
"uid": "615f-96"
"uid": "34ba-96"
}
]
},
"615f-88": {
"34ba-88": {
"id": "/packages/react-table/src/features/Expanding.ts",
"moduleParts": {
"index.production.js": "615f-89"
"index.production.js": "34ba-89"
},
"imported": [
{
"uid": "615f-58"
"uid": "34ba-58"
},
{
"uid": "615f-60"
"uid": "34ba-60"
}

@@ -671,17 +671,17 @@ ],

{
"uid": "615f-96"
"uid": "34ba-96"
}
]
},
"615f-90": {
"34ba-90": {
"id": "/packages/react-table/src/features/ColumnSizing.ts",
"moduleParts": {
"index.production.js": "615f-91"
"index.production.js": "34ba-91"
},
"imported": [
{
"uid": "615f-58"
"uid": "34ba-58"
},
{
"uid": "615f-60"
"uid": "34ba-60"
}

@@ -691,17 +691,17 @@ ],

{
"uid": "615f-96"
"uid": "34ba-96"
}
]
},
"615f-92": {
"34ba-92": {
"id": "/packages/react-table/src/features/Pagination.ts",
"moduleParts": {
"index.production.js": "615f-93"
"index.production.js": "34ba-93"
},
"imported": [
{
"uid": "615f-58"
"uid": "34ba-58"
},
{
"uid": "615f-60"
"uid": "34ba-60"
}

@@ -711,17 +711,17 @@ ],

{
"uid": "615f-96"
"uid": "34ba-96"
}
]
},
"615f-94": {
"34ba-94": {
"id": "/packages/react-table/src/features/RowSelection.ts",
"moduleParts": {
"index.production.js": "615f-95"
"index.production.js": "34ba-95"
},
"imported": [
{
"uid": "615f-58"
"uid": "34ba-58"
},
{
"uid": "615f-60"
"uid": "34ba-60"
}

@@ -731,50 +731,50 @@ ],

{
"uid": "615f-96"
"uid": "34ba-96"
}
]
},
"615f-96": {
"34ba-96": {
"id": "/packages/react-table/src/core.tsx",
"moduleParts": {
"index.production.js": "615f-97"
"index.production.js": "34ba-97"
},
"imported": [
{
"uid": "615f-58"
"uid": "34ba-58"
},
{
"uid": "615f-60"
"uid": "34ba-60"
},
{
"uid": "615f-68"
"uid": "34ba-68"
},
{
"uid": "615f-74"
"uid": "34ba-74"
},
{
"uid": "615f-76"
"uid": "34ba-76"
},
{
"uid": "615f-78"
"uid": "34ba-78"
},
{
"uid": "615f-82"
"uid": "34ba-82"
},
{
"uid": "615f-86"
"uid": "34ba-86"
},
{
"uid": "615f-72"
"uid": "34ba-72"
},
{
"uid": "615f-88"
"uid": "34ba-88"
},
{
"uid": "615f-90"
"uid": "34ba-90"
},
{
"uid": "615f-92"
"uid": "34ba-92"
},
{
"uid": "615f-94"
"uid": "34ba-94"
}

@@ -784,20 +784,20 @@ ],

{
"uid": "615f-98"
"uid": "34ba-98"
}
]
},
"615f-98": {
"34ba-98": {
"id": "/packages/react-table/src/createTable.tsx",
"moduleParts": {
"index.production.js": "615f-99"
"index.production.js": "34ba-99"
},
"imported": [
{
"uid": "615f-58"
"uid": "34ba-58"
},
{
"uid": "615f-103"
"uid": "34ba-103"
},
{
"uid": "615f-96"
"uid": "34ba-96"
}

@@ -807,35 +807,35 @@ ],

{
"uid": "615f-100"
"uid": "34ba-100"
}
]
},
"615f-100": {
"34ba-100": {
"id": "/packages/react-table/src/index.tsx",
"moduleParts": {
"index.production.js": "615f-101"
"index.production.js": "34ba-101"
},
"imported": [
{
"uid": "615f-102"
"uid": "34ba-102"
},
{
"uid": "615f-52"
"uid": "34ba-52"
},
{
"uid": "615f-54"
"uid": "34ba-54"
},
{
"uid": "615f-56"
"uid": "34ba-56"
},
{
"uid": "615f-62"
"uid": "34ba-62"
},
{
"uid": "615f-64"
"uid": "34ba-64"
},
{
"uid": "615f-66"
"uid": "34ba-66"
},
{
"uid": "615f-98"
"uid": "34ba-98"
}

@@ -846,3 +846,3 @@ ],

},
"615f-102": {
"34ba-102": {
"id": "/packages/react-table/src/types.ts",

@@ -853,7 +853,7 @@ "moduleParts": {},

{
"uid": "615f-100"
"uid": "34ba-100"
}
]
},
"615f-103": {
"34ba-103": {
"id": "react",

@@ -864,6 +864,6 @@ "moduleParts": {},

{
"uid": "615f-98"
"uid": "34ba-98"
},
{
"uid": "615f-60"
"uid": "34ba-60"
}

@@ -870,0 +870,0 @@ ],

{
"name": "@tanstack/react-table",
"author": "Tanner Linsley",
"version": "8.0.0-alpha.6",
"version": "8.0.0-alpha.7",
"description": "Hooks for building lightweight, fast and extendable datagrids for React",

@@ -6,0 +6,0 @@ "license": "MIT",

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 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 not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc