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

react-bootstrap-table-next

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bootstrap-table-next - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

25

lib/src/contexts/selection-context.js

@@ -64,8 +64,9 @@ 'use strict';

var result = true;
if (onSelect) {
var row = _operators2.default.getRowByRowId(data, keyField, rowKey);
result = onSelect(row, checked, rowIndex, e);
}
_this.setState(function () {
var result = true;
if (onSelect) {
var row = _operators2.default.getRowByRowId(data, keyField, rowKey);
result = onSelect(row, checked, rowIndex, e);
}
if (result === true || result === undefined) {

@@ -110,10 +111,10 @@ if (mode === ROW_SELECT_SINGLE) {

var result = void 0;
if (onSelectAll) {
result = onSelectAll(!isUnSelect, _operators2.default.getSelectedRows(data, keyField, isUnSelect ? _this.state.selected : currSelected), e);
if (Array.isArray(result)) {
currSelected = result;
}
}
_this.setState(function () {
var result = void 0;
if (onSelectAll) {
result = onSelectAll(!isUnSelect, _operators2.default.getSelectedRows(data, keyField, isUnSelect ? _this.state.selected : currSelected), e);
if (Array.isArray(result)) {
currSelected = result;
}
}
return { selected: currSelected };

@@ -120,0 +121,0 @@ });

@@ -46,4 +46,3 @@ 'use strict';

onExternalFilter = props.onExternalFilter,
expandRow = props.expandRow,
bootstrap4 = props.bootstrap4;
expandRow = props.expandRow;

@@ -81,3 +80,2 @@

index: i,
bootstrap4: bootstrap4,
key: column.dataField,

@@ -109,6 +107,5 @@ column: column,

className: _propTypes2.default.string,
expandRow: _propTypes2.default.object,
bootstrap4: _propTypes2.default.bool
expandRow: _propTypes2.default.object
};
exports.default = Header;

@@ -60,3 +60,3 @@ 'use strict';

e.stopPropagation();
onRowExpand(rowKey, !expanded, rowIndex, e);

@@ -63,0 +63,0 @@ }

{
"name": "react-bootstrap-table-next",
"version": "1.4.1",
"version": "1.4.2",
"description": "Next generation of react-bootstrap-table",

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

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

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

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