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

material-table

Package Overview
Dependencies
Maintainers
1
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material-table - npm Package Compare versions

Comparing version 1.39.0 to 1.39.1

2

dist/components/m-table-body-row.js

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

value: value,
key: "cell-" + _this2.props.data.tableData.di + "-" + columnDef.tableData.id,
key: "cell-" + _this2.props.data.tableData.id + "-" + columnDef.tableData.id,
rowData: _this2.props.data

@@ -87,0 +87,0 @@ });

@@ -88,2 +88,6 @@ "use strict";

if (typeof columnDef.editable == 'function') {
allowEditing = columnDef.editable(columnDef, _this2.props.data);
}
if (!columnDef.field || !allowEditing) {

@@ -90,0 +94,0 @@ return React.createElement(_this2.props.components.Cell, {

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

lookup: _propTypes["default"].object,
editable: _propTypes["default"].oneOf(['always', 'onUpdate', 'onAdd', 'never']),
editable: _propTypes["default"].oneOf(['always', 'onUpdate', 'onAdd', 'never', _propTypes["default"].func]),
removable: _propTypes["default"].bool,

@@ -56,0 +56,0 @@ render: _propTypes["default"].func,

{
"name": "material-table",
"version": "1.39.0",
"version": "1.39.1",
"description": "Datatable for React based on https://material-ui.com/api/table/ with additional features",

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

@@ -112,3 +112,3 @@ import * as React from 'react';

lookup?: object;
editable?: ('always' | 'onUpdate' | 'onAdd' | 'never');
editable?: ('always' | 'onUpdate' | 'onAdd' | 'never' | ((columnDef: Column, rowData: any) => boolean));
removable?: boolean;

@@ -259,2 +259,3 @@ render?: (data: any, type: ('row' | 'group')) => any;

searchTooltip?: string;
searchPlaceholder?: string;
};

@@ -261,0 +262,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