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

@db-auto/tables

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@db-auto/tables - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

2

dist/src/clean.spec.js

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

it("should return a clean table object", () => {
expect((0, tables_1.cleanTable)(query_fixture_1.tables.driver, "mission")).toEqual({
expect((0, tables_1.cleanTable)(query_fixture_1.tables.mission, "mission")).toEqual({
"dataColumns": {

@@ -58,0 +58,0 @@ "age": { "type": "integer" },

@@ -6,9 +6,10 @@ "use strict";

const tableColumnDefn = {
"table": { title: "Table", dataFn: (t) => t.table },
"links": { title: "Links", dataFn: (t) => (0, utils_1.mapEntries)(t.links, (l, name) => name).join(',') },
"views": { title: "Views", dataFn: (t) => (0, utils_1.mapEntries)(t.views, (v, name) => name).join(',') }
"name": { title: "Name", dataFn: (t) => t[0] },
"table": { title: "Table", dataFn: (t) => t[1].table },
"links": { title: "Links", dataFn: (t) => (0, utils_1.mapEntries)(t[1].links, (l, name) => name).join(',') },
"views": { title: "Views", dataFn: (t) => (0, utils_1.mapEntries)(t[1].views, (v, name) => name).join(',') }
};
function prettyPrintTables(tables) {
return (0, utils_1.toColumns)(tableColumnDefn)(Object.values(tables));
return (0, utils_1.toColumns)(tableColumnDefn)(Object.entries(tables));
}
exports.prettyPrintTables = prettyPrintTables;
{
"name": "@db-auto/tables",
"description": "",
"version": "0.0.10",
"version": "0.0.11",
"main": "dist/index",

@@ -20,3 +20,3 @@ "types": "dist/index",

"dependencies": {
"@db-auto/utils": "0.0.10"
"@db-auto/utils": "0.0.11"
},

@@ -23,0 +23,0 @@ "devDependencies": {

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