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.1.5 to 1.1.6

5

lib/ColumnManager.js

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

this.rightWidth = 0;
var average = wrapperWidth < baseWidth ? 0 : (0, _floor2.default)((wrapperWidth - baseWidth) / len);
var average = (0, _floor2.default)((wrapperWidth - baseWidth) / len);
var update = function update(columns) {

@@ -226,5 +226,2 @@ return columns.map(function (column) {

}
if (newColumn._width < newColumn._minWidth) {
newColumn._width = newColumn._minWidth;
}
if (newColumn._currentRow === 0) {

@@ -231,0 +228,0 @@ _this10.width += newColumn._width;

2

lib/Table.js

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

this.handleWindowResize();
this.resizeEvent = (0, _Utils.addEventListener)(document.body, 'resize', this.debouncedWindowResize);
this.resizeEvent = (0, _Utils.addEventListener)(window, 'resize', this.debouncedWindowResize);
}

@@ -422,0 +422,0 @@ }, {

{
"name": "fast-table",
"version": "1.1.5",
"version": "1.1.6",
"description": "react table fast",

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

@@ -121,3 +121,3 @@ import React from 'react';

this.rightWidth = 0;
const average = wrapperWidth < baseWidth ? 0 : floor((wrapperWidth - baseWidth) / len);
const average = floor((wrapperWidth - baseWidth) / len);
const update = (columns) => {

@@ -140,5 +140,2 @@ return columns.map(column => {

}
if (newColumn._width < newColumn._minWidth) {
newColumn._width = newColumn._minWidth;
}
if (newColumn._currentRow === 0) {

@@ -145,0 +142,0 @@ this.width += newColumn._width;

@@ -72,3 +72,3 @@ import React from 'react';

this.handleWindowResize();
this.resizeEvent = addEventListener(document.body, 'resize', this.debouncedWindowResize);
this.resizeEvent = addEventListener(window, 'resize', this.debouncedWindowResize);
}

@@ -75,0 +75,0 @@

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