Socket
Socket
Sign inDemoInstall

react-pivottable-secondary

Package Overview
Dependencies
24
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.14 to 0.0.15

2

package.json
{
"name": "react-pivottable-secondary",
"version": "0.0.14",
"version": "0.0.15",
"description": "A React-based pivot table secondary",

@@ -5,0 +5,0 @@ "main": "PivotTableUI.js",

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

// hide
// table type (hide)
var rendererCell = _react2.default.createElement(

@@ -582,0 +582,0 @@ 'td',

@@ -110,13 +110,14 @@ 'use strict';

var colTotalColors = function colTotalColors() {};
// todo
if (opts.heatmapMode) {
var colorScaleGenerator = this.props.tableColorScaleGenerator;
var rowTotalValues = colKeys.map(function (x) {
return pivotData.getAggregator([], x).value();
});
rowTotalColors = colorScaleGenerator(rowTotalValues);
var colTotalValues = rowKeys.map(function (x) {
return pivotData.getAggregator(x, []).value();
});
colTotalColors = colorScaleGenerator(colTotalValues);
// const rowTotalValues = colKeys.map(x =>
// pivotData.getAggregator([], x).value()
// );
// rowTotalColors = colorScaleGenerator(rowTotalValues);
// const colTotalValues = rowKeys.map(x =>
// pivotData.getAggregator(x, []).value()
// );
// colTotalColors = colorScaleGenerator(colTotalValues);
console.log(rowKeys, colKeys);
if (opts.heatmapMode === 'full') {

@@ -123,0 +124,0 @@ var allValues = [];

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc