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

react-base-table

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-base-table - npm Package Compare versions

Comparing version 1.11.1 to 1.11.2

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # CHANGELOG

## v1.11.2 (2020-08-18)
- fix: add missing types for propTypes of `BaseTable`
## v1.11.1 (2020-08-17)

@@ -7,0 +11,0 @@

2

es/BaseTable.js

@@ -1528,3 +1528,3 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";

* Each of the keys is row event name, like `onClick`, `onDoubleClick` and etc.
* Each of the handlers is of the shape of `({ rowData, rowIndex, rowKey, event }) => object`
* Each of the handlers is of the shape of `({ rowData, rowIndex, rowKey, event }) => *`
*/

@@ -1531,0 +1531,0 @@ rowEventHandlers: PropTypes.object,

@@ -1609,3 +1609,3 @@ "use strict";

* Each of the keys is row event name, like `onClick`, `onDoubleClick` and etc.
* Each of the handlers is of the shape of `({ rowData, rowIndex, rowKey, event }) => object`
* Each of the handlers is of the shape of `({ rowData, rowIndex, rowKey, event }) => *`
*/

@@ -1612,0 +1612,0 @@ rowEventHandlers: _propTypes["default"].object,

{
"name": "react-base-table",
"version": "1.11.1",
"version": "1.11.2",
"description": "a react table component to display large data set with high performance and flexibility",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -471,6 +471,6 @@ declare module 'react-base-table' {

* Each of the keys is row event name, like `onClick`, `onDoubleClick` and etc.
* Each of the handlers is of the shape of `({ rowData, rowIndex, rowKey, event }) => object`
* Each of the handlers is of the shape of `({ rowData, rowIndex, rowKey, event }) => *`
*/
rowEventHandlers?: {
[key: string]: (args: { rowData: T; rowIndex: number; rowKey: RowKey; event: React.SyntheticEvent }) => object;
[key: string]: (args: { rowData: T; rowIndex: number; rowKey: RowKey; event: React.SyntheticEvent }) => void;
};

@@ -524,2 +524,4 @@ /**

static readonly PlaceholderKey = '__placeholder__';
static defaultProps: Partial<BaseTableProps>;
static propTypes: React.WeakValidationMap<BaseTableProps>;

@@ -526,0 +528,0 @@ /**

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