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

react-tabulator

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tabulator - npm Package Compare versions

Comparing version 0.7.8 to 0.7.9

2

CHANGELOG.md

@@ -1,2 +0,2 @@

## [0.7.8] - 2018-11-20
## [0.7.9] - 2018-11-20

@@ -3,0 +3,0 @@ ### Added

"use strict";
exports.__esModule = true;
var server_1 = require("react-dom/server");
// .prettierignore (to keep relevant props together)

@@ -34,3 +35,7 @@ var NOOPS = function () { };

}
if (typeof props['footerElement'] === 'object') {
// convert from JSX to HTML string (tabulator's footerElement accepts string)
output['footerElement'] = server_1.renderToString(props['footerElement']);
}
return output;
};

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

content = (React.createElement("div", null, arr.map(function (item) {
return typeof item === 'string' ? React.createElement("span", null, item) : React.createElement("span", null, item.name);
return typeof item === 'string' ? React.createElement("span", { key: item }, item) : React.createElement("span", { key: item.name }, item.name);
})));

@@ -23,0 +23,0 @@ }

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

React.createElement("h3", null, "Editable Table"),
React.createElement(ReactTabulator_1["default"], { columns: editableColumns, data: data, cellEdited: function (cell) { return console.log('cellEdited', cell); }, dataEdited: function (newData) { return console.log('dataEdited', newData); } }),
React.createElement(ReactTabulator_1["default"], { columns: editableColumns, data: data, cellEdited: function (cell) { return console.log('cellEdited', cell); }, dataEdited: function (newData) { return console.log('dataEdited', newData); }, footerElement: React.createElement("span", null, "Footer") }),
React.createElement("p", null,

@@ -111,0 +111,0 @@ React.createElement("a", { href: "https://github.com/ngduc/react-tabulator", target: "_blank" }, "Back to: Github Repo: react-tabulator")),

{
"name": "react-tabulator",
"version": "0.7.8",
"version": "0.7.9",
"description": "React Tabulator component",

@@ -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