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

dtable-sdk

Package Overview
Dependencies
Maintainers
1
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dtable-sdk - npm Package Compare versions

Comparing version 0.0.108 to 0.0.109

package-lock.json

14

dist/dtable.js

@@ -647,16 +647,2 @@ "use strict";

}, {
key: "getFormulaDisplayString",
value: function getFormulaDisplayString(cellValue, columnData) {
var _ref4 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
_ref4$tables = _ref4.tables,
tables = _ref4$tables === void 0 ? [] : _ref4$tables,
_ref4$collaborators = _ref4.collaborators,
collaborators = _ref4$collaborators === void 0 ? [] : _ref4$collaborators;
return (0, _dtableStore.getFormulaDisplayString)(cellValue, columnData, {
tables: tables,
collaborators: collaborators
});
}
}, {
key: "getNumberDisplayString",

@@ -663,0 +649,0 @@ value: function getNumberDisplayString(value, columnData) {

43

dist/stat-utils.js

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

if (columnType === _dtableStore.CellType.FORMULA) {
if (columnType === _dtableStore.CellType.FORMULA || columnType === _dtableStore.CellType.LINK_FORMULA) {
cellValue = formulaRow ? formulaRow[columnKey] : null;

@@ -59,16 +59,6 @@ } else if (columnType === _dtableStore.CellType.GEOLOCATION) {

key: "getLinkDisplayString",
value: function (_getLinkDisplayString) {
function getLinkDisplayString(_x, _x2) {
return _getLinkDisplayString.apply(this, arguments);
}
getLinkDisplayString.toString = function () {
return _getLinkDisplayString.toString();
};
return getLinkDisplayString;
}(function (rowIds, linkedTable) {
value: function getLinkDisplayString(rowIds, linkedTable) {
var displayColumnKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0000';
return getLinkDisplayString(rowIds, linkedTable, displayColumnKey);
})
return (0, _dtableStore.getLinkDisplayString)(rowIds, linkedTable, displayColumnKey);
}
}, {

@@ -180,6 +170,7 @@ key: "getNumberDisplayString",

case _dtableStore.CellType.LINK_FORMULA:
case _dtableStore.CellType.FORMULA:
{
if (!formulaRow) return "";
var formulaCellValue = formulaRow[key] || cellValue;
var formulaCellValue = formulaRow[key];

@@ -418,2 +409,24 @@ var _ref2 = data || {},

}, {
key: "sortStatisticData",
value: function sortStatisticData(statistics, sort_type) {
statistics.sort(function (currResult, nextResult) {
var current = currResult.value;
var next = nextResult.value;
if (!current && current !== 0) {
return -1;
}
if (!next && next !== 0) {
return 1;
}
if (sort_type === 'ascending') {
return current > next ? 1 : -1;
} else {
return current > next ? -1 : 1;
}
});
}
}, {
key: "isArrayCellValue",

@@ -420,0 +433,0 @@ value: function isArrayCellValue(columnType) {

{
"name": "dtable-sdk",
"version": "0.0.108",
"version": "0.0.109",
"description": "dtable sdk",

@@ -5,0 +5,0 @@ "main": "./dist/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