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

dtable-sdk

Package Overview
Dependencies
Maintainers
1
Versions
212
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.1.5 to 0.1.6

63

dist/dtable.js

@@ -55,2 +55,11 @@ "use strict";

_defineProperty(this, "getScripts", function () {
var _ref = _this.dtableStore.value || {
scripts: []
},
scripts = _ref.scripts;
return scripts;
});
this.dtableStore = null;

@@ -458,4 +467,4 @@ this.eventBus = null;

value: function appendRow(table, rowData, view) {
var _ref2 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},
collaborators = _ref2.collaborators;
var _ref3 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},
collaborators = _ref3.collaborators;

@@ -516,4 +525,4 @@ var tables = this.getTables();

value: function forEachRow(tableName, viewName, callback) {
var _ref3 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},
convertLinkID = _ref3.convertLinkID;
var _ref4 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},
convertLinkID = _ref4.convertLinkID;

@@ -648,4 +657,4 @@ var value = this.dtableStore.value;

value: function getViewRowsColor(rows, view, table) {
var _ref4 = _dtableStore.Views.getRowsColor(rows, view, table, this.dtableStore.value) || {},
colors = _ref4.colors;
var _ref5 = _dtableStore.Views.getRowsColor(rows, view, table, this.dtableStore.value) || {},
colors = _ref5.colors;

@@ -721,10 +730,10 @@ return colors || {};

key: "getCellValueDisplayString",
value: function getCellValueDisplayString(row, type, key, _ref5) {
var _ref5$tables = _ref5.tables,
tables = _ref5$tables === void 0 ? [] : _ref5$tables,
_ref5$formulaRows = _ref5.formulaRows,
formulaRows = _ref5$formulaRows === void 0 ? {} : _ref5$formulaRows,
data = _ref5.data,
_ref5$collaborators = _ref5.collaborators,
collaborators = _ref5$collaborators === void 0 ? [] : _ref5$collaborators;
value: function getCellValueDisplayString(row, type, key, _ref6) {
var _ref6$tables = _ref6.tables,
tables = _ref6$tables === void 0 ? [] : _ref6$tables,
_ref6$formulaRows = _ref6.formulaRows,
formulaRows = _ref6$formulaRows === void 0 ? {} : _ref6$formulaRows,
data = _ref6.data,
_ref6$collaborators = _ref6.collaborators,
collaborators = _ref6$collaborators === void 0 ? [] : _ref6$collaborators;
return (0, _dtableStore.getCellValueDisplayString)(row, type, key, {

@@ -740,9 +749,9 @@ tables: tables,

value: function getCellValueStringResult(row, column) {
var _ref6 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
_ref6$formulaRows = _ref6.formulaRows,
formulaRows = _ref6$formulaRows === void 0 ? {} : _ref6$formulaRows,
_ref6$collaborators = _ref6.collaborators,
collaborators = _ref6$collaborators === void 0 ? [] : _ref6$collaborators,
_ref6$isArchiveView = _ref6.isArchiveView,
isArchiveView = _ref6$isArchiveView === void 0 ? false : _ref6$isArchiveView;
var _ref7 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
_ref7$formulaRows = _ref7.formulaRows,
formulaRows = _ref7$formulaRows === void 0 ? {} : _ref7$formulaRows,
_ref7$collaborators = _ref7.collaborators,
collaborators = _ref7$collaborators === void 0 ? [] : _ref7$collaborators,
_ref7$isArchiveView = _ref7.isArchiveView,
isArchiveView = _ref7$isArchiveView === void 0 ? false : _ref7$isArchiveView;

@@ -758,5 +767,5 @@ return (0, _dtableStore.getCellValueStringResult)(row, column, {

value: function getFormulaDisplayString(cellValue, columnData) {
var _ref7 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
_ref7$tables = _ref7.tables,
tables = _ref7$tables === void 0 ? [] : _ref7$tables;
var _ref8 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
_ref8$tables = _ref8.tables,
tables = _ref8$tables === void 0 ? [] : _ref8$tables;

@@ -811,5 +820,5 @@ return (0, _dtableStore.getFormulaDisplayString)(cellValue, columnData, {

key: "sortFormula",
value: function sortFormula(currCellVal, nextCellVal, sortType, _ref8) {
var columnData = _ref8.columnData,
value = _ref8.value;
value: function sortFormula(currCellVal, nextCellVal, sortType, _ref9) {
var columnData = _ref9.columnData,
value = _ref9.value;
return (0, _dtableStore.sortFormula)(currCellVal, nextCellVal, sortType, {

@@ -816,0 +825,0 @@ columnData: columnData,

{
"name": "dtable-sdk",
"version": "0.1.5",
"version": "0.1.6",
"description": "dtable sdk",

@@ -22,3 +22,3 @@ "main": "./dist/index.js",

"axios": "^0.19.2",
"dtable-store": "3.1.19",
"dtable-store": "3.2.5",
"form-data": "^3.0.0"

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