New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ka-table

Package Overview
Dependencies
Maintainers
0
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ka-table - npm Package Compare versions

Comparing version 11.3.0 to 11.3.1

2

package.json
{
"name": "ka-table",
"version": "11.3.0",
"version": "11.3.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": "github:komarovalexander/ka-table",

@@ -21,4 +21,5 @@ import { Column } from '../models';

export declare const groupBy: (data: any[], keyGetter: any, isEmptyValue?: boolean) => Map<any, any>;
export declare const normalizeKeyForMap: (key: any) => any;
export declare const getGroupMark: () => {};
export declare const getGroupText: (value: any, column: Column, format?: FormatFunc, groupItems?: any[]) => any;
export declare const isMaxDeep: (groupPanel: GroupPanelSettings, columns: Column[], groups?: Group[]) => boolean;

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.isMaxDeep = exports.getGroupText = exports.getGroupMark = exports.groupBy = exports.getGroupedStructure = exports.convertToFlat = exports.getGroupedData = exports.getExpandedGroups = exports.updateExpandedGroups = exports.groupDataMark = exports.groupSummaryMark = exports.groupMark = void 0;
exports.isMaxDeep = exports.getGroupText = exports.getGroupMark = exports.normalizeKeyForMap = exports.groupBy = exports.getGroupedStructure = exports.convertToFlat = exports.getGroupedData = exports.getExpandedGroups = exports.updateExpandedGroups = exports.groupDataMark = exports.groupSummaryMark = exports.groupMark = void 0;
var DataUtils_1 = require("./DataUtils");

@@ -53,3 +53,3 @@ exports.groupMark = {};

groupKey.push(groupValue);
result.push({ groupMark: exports.groupMark, key: groupKey, value: groupValue, groupItems: value.groupDataMark === exports.groupDataMark ? value.groupData : value });
result.push({ groupMark: exports.groupMark, key: groupKey, value: groupValue, groupItems: (value === null || value === void 0 ? void 0 : value.groupDataMark) === exports.groupDataMark ? value === null || value === void 0 ? void 0 : value.groupData : value });
result = __spreadArray(__spreadArray([], result, true), (Array.isArray(value) ? value : (0, exports.convertToFlat)(value, groupKey)), true);

@@ -111,3 +111,3 @@ }

data.forEach(function (item) {
var key = keyGetter(item);
var key = (0, exports.normalizeKeyForMap)(keyGetter(item));
if (isEmptyValue) {

@@ -129,2 +129,10 @@ map.set(key, []);

exports.groupBy = groupBy;
var normalizeKeyForMap = function (key) {
return key instanceof Date
? key.toString()
: key instanceof Object
? JSON.stringify(key)
: key;
};
exports.normalizeKeyForMap = normalizeKeyForMap;
var getGroupMark = function () { return exports.groupMark; };

@@ -131,0 +139,0 @@ exports.getGroupMark = getGroupMark;

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