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.30 to 8.0.0-alpha.32

4

build/cjs/index.js

@@ -63,3 +63,3 @@ /**

createTableFactory = _init.createTableFactory;
function useTable(table, options) {
function useTableInstance(table, options) {
var _table$__options;

@@ -108,3 +108,3 @@

exports.render = render;
exports.useTable = useTable;
exports.useTableInstance = useTableInstance;
Object.keys(tableCore).forEach(function (k) {

@@ -111,0 +111,0 @@ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {

@@ -57,3 +57,3 @@ /**

createTableFactory = _init.createTableFactory;
function useTable(table, options) {
function useTableInstance(table, options) {
var _table$__options;

@@ -99,3 +99,3 @@

export { createTable, createTableFactory, render, useTable };
export { createTable, createTableFactory, render, useTableInstance };
//# sourceMappingURL=index.js.map

@@ -10,3 +10,3 @@ {

{
"uid": "134a-113",
"uid": "7fd3-121",
"name": "\u0000rollupPluginBabelHelpers.js"

@@ -16,3 +16,3 @@ },

"name": "packages/react-table/src/index.tsx",
"uid": "134a-115"
"uid": "7fd3-123"
}

@@ -25,20 +25,20 @@ ]

"nodeParts": {
"134a-113": {
"7fd3-121": {
"renderedLength": 410,
"gzipLength": 231,
"brotliLength": 0,
"mainUid": "134a-112"
"mainUid": "7fd3-120"
},
"134a-115": {
"renderedLength": 2378,
"gzipLength": 855,
"7fd3-123": {
"renderedLength": 2386,
"gzipLength": 858,
"brotliLength": 0,
"mainUid": "134a-114"
"mainUid": "7fd3-122"
}
},
"nodeMetas": {
"134a-112": {
"7fd3-120": {
"id": "\u0000rollupPluginBabelHelpers.js",
"moduleParts": {
"index.production.js": "134a-113"
"index.production.js": "7fd3-121"
},

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

{
"uid": "134a-114"
"uid": "7fd3-122"
}
]
},
"134a-114": {
"7fd3-122": {
"id": "/packages/react-table/src/index.tsx",
"moduleParts": {
"index.production.js": "134a-115"
"index.production.js": "7fd3-123"
},
"imported": [
{
"uid": "134a-112"
"uid": "7fd3-120"
},
{
"uid": "134a-116"
"uid": "7fd3-124"
},
{
"uid": "134a-117"
"uid": "7fd3-125"
}

@@ -72,3 +72,3 @@ ],

},
"134a-116": {
"7fd3-124": {
"id": "react",

@@ -79,3 +79,3 @@ "moduleParts": {},

{
"uid": "134a-114"
"uid": "7fd3-122"
}

@@ -85,3 +85,3 @@ ],

},
"134a-117": {
"7fd3-125": {
"id": "@tanstack/table-core",

@@ -92,3 +92,3 @@ "moduleParts": {},

{
"uid": "134a-114"
"uid": "7fd3-122"
}

@@ -100,3 +100,3 @@ ],

"env": {
"rollup": "2.66.0"
"rollup": "2.70.2"
},

@@ -103,0 +103,0 @@ "options": {

@@ -13,2 +13,2 @@ import * as React from 'react';

export { createTable, createTableFactory };
export declare function useTable<TGenerics extends AnyGenerics>(table: Table<TGenerics>, options: PartialKeys<Omit<Options<TGenerics>, keyof CreateTableFactoryOptions<any, any, any, any>>, 'state' | 'onStateChange'>): TableInstance<TGenerics>;
export declare function useTableInstance<TGenerics extends AnyGenerics>(table: Table<TGenerics>, options: PartialKeys<Omit<Options<TGenerics>, keyof CreateTableFactoryOptions<any, any, any, any>>, 'state' | 'onStateChange'>): TableInstance<TGenerics>;

@@ -79,3 +79,3 @@ /**

createTableFactory = _init.createTableFactory;
function useTable(table, options) {
function useTableInstance(table, options) {
var _table$__options;

@@ -124,3 +124,3 @@

exports.render = render;
exports.useTable = useTable;
exports.useTableInstance = useTableInstance;
Object.keys(tableCore).forEach(function (k) {

@@ -127,0 +127,0 @@ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {

@@ -11,3 +11,3 @@ /**

*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@tanstack/table-core")):"function"==typeof define&&define.amd?define(["exports","react","@tanstack/table-core"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ReactTable={},e.React,e.TableCore)}(this,(function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var o=r(t);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var c=function(e,t){return e?function(e){return"function"==typeof e&&((t=Object.getPrototypeOf(e)).prototype&&t.prototype.isReactComponent);var t}(n=e)||"function"==typeof n||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(n)?o.createElement(e,t):e:null;var n};var u=n.init({render:c}),f=u.createTable,i=u.createTableFactory;e.createTable=f,e.createTableFactory=i,e.render=c,e.useTable=function(e,t){var r,u=a({},null!=(r=e.__options)?r:{},{state:{},onStateChange:function(){},render:c},t),f=o.useState((function(){return n.createTableInstance(u)}))[0],i=o.useState((function(){return f.initialState})),l=i[0],s=i[1];return f.setOptions((function(e){return a({},e,t,{state:a({},l,t.state),onStateChange:function(e){s(e),null==t.onStateChange||t.onStateChange(e)}})})),f},Object.keys(n).forEach((function(t){"default"===t||e.hasOwnProperty(t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})),Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@tanstack/table-core")):"function"==typeof define&&define.amd?define(["exports","react","@tanstack/table-core"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ReactTable={},e.React,e.TableCore)}(this,(function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var o=r(t);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var c=function(e,t){return e?function(e){return"function"==typeof e&&((t=Object.getPrototypeOf(e)).prototype&&t.prototype.isReactComponent);var t}(n=e)||"function"==typeof n||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(n)?o.createElement(e,t):e:null;var n};var u=n.init({render:c}),f=u.createTable,i=u.createTableFactory;e.createTable=f,e.createTableFactory=i,e.render=c,e.useTableInstance=function(e,t){var r,u=a({},null!=(r=e.__options)?r:{},{state:{},onStateChange:function(){},render:c},t),f=o.useState((function(){return n.createTableInstance(u)}))[0],i=o.useState((function(){return f.initialState})),l=i[0],s=i[1];return f.setOptions((function(e){return a({},e,t,{state:a({},l,t.state),onStateChange:function(e){s(e),null==t.onStateChange||t.onStateChange(e)}})})),f},Object.keys(n).forEach((function(t){"default"===t||e.hasOwnProperty(t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})),Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=index.production.js.map
{
"name": "@tanstack/react-table",
"author": "Tanner Linsley",
"version": "8.0.0-alpha.30",
"version": "8.0.0-alpha.32",
"description": "Hooks for building lightweight, fast and extendable datagrids for React",

@@ -37,3 +37,3 @@ "license": "MIT",

"dependencies": {
"@tanstack/table-core": "8.0.0-alpha.30"
"@tanstack/table-core": "8.0.0-alpha.32"
},

@@ -40,0 +40,0 @@ "peerDependencies": {

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

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 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