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
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.19 to 0.0.20

37

dist/dtable.js

@@ -168,2 +168,12 @@ "use strict";

}, {
key: "getRelatedUsers",
value: function getRelatedUsers() {
return this.dtableStore.collaborators;
}
}, {
key: "getActiveTable",
value: function getActiveTable() {
return this.dtableStore.currentTable;
}
}, {
key: "getTables",

@@ -180,7 +190,28 @@ value: function getTables() {

}, {
key: "getRelatedUsers",
value: function getRelatedUsers() {
return this.dtableStore.collaborators;
key: "getViews",
value: function getViews(table) {
return table.views;
}
}, {
key: "getViewByName",
value: function getViewByName(table, name) {
return table.views.find(function (view) {
return view.name === name;
});
}
}, {
key: "getColumns",
value: function getColumns(table) {
return table.columns;
}
}, {
key: "getShownColumns",
value: function getShownColumns(table, view) {
var hidden_columns = view.hidden_columns;
var shownColumns = table.columns.filter(function (column) {
return hidden_columns.indexOf(column.key) === -1;
});
return shownColumns;
}
}, {
key: "getColumnByName",

@@ -187,0 +218,0 @@ value: function getColumnByName(table, name) {

2

package.json
{
"name": "dtable-sdk",
"version": "0.0.19",
"version": "0.0.20",
"description": "dtable sdk",

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