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

fast-table

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-table - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

15

lib/managers/SortManager.js

@@ -20,3 +20,6 @@ 'use strict';

var SortManager = function () {
function SortManager(columns, sortMulti) {
function SortManager(_ref) {
var columns = _ref.columns,
sortMulti = _ref.sortMulti;
_classCallCheck(this, SortManager);

@@ -70,2 +73,12 @@

this.update = function (_ref2) {
var columns = _ref2.columns,
sortMulti = _ref2.sortMulti;
_this2.columns = columns;
_this2.sortMulti = sortMulti;
_this2.enable = {};
_this2.enable = _this2._enable(columns);
};
this._enable = function (columns) {

@@ -72,0 +85,0 @@ var order = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

4

lib/Table.js

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

_this.dataManager = new _DataManager2.default(props);
_this.sortManager = new _SortManager2.default(_this.columnManager.groupedColumns(), props.sortMulti);
_this.sortManager = new _SortManager2.default({ columns: _this.columnManager.groupedColumns(), sortMulti: props.sortMulti });
_this.sizeManager = new _SizeManager2.default(props);

@@ -437,2 +437,4 @@

this.sizeManager.update(this.columnManager.reset(nextProps));
this.sortManager.update({ columns: this.columnManager.groupedColumns(), sortMulti: nextProps.sortMulti });
this.store.setState({ orders: this.sortManager.enable });
this.updateColumn();

@@ -439,0 +441,0 @@ }

{
"name": "fast-table",
"version": "1.3.1",
"version": "1.3.2",
"description": "react table fast",

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

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