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

@db-auto/dal

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@db-auto/dal - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

3

dist/src/prettyprint.d.ts

@@ -6,4 +6,5 @@ import { DalResult, DalRow } from "./dal";

onelinejson?: boolean;
notitles?: boolean;
}
export declare function columnDefnFor(res: DalResult): NameAnd<ColumnDefn<DalRow>>;
export declare function prettyPrintDalResult(options: DalResultDisplayOptions, res: DalResult, showTitles?: false): string[];
export declare function prettyPrintDalResult(options: DalResultDisplayOptions, res: DalResult): string[];

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

exports.columnDefnFor = columnDefnFor;
function prettyPrintDalResult(options, res, showTitles) {
function prettyPrintDalResult(options, res) {
if (options.json)

@@ -18,4 +18,4 @@ return [JSON.stringify(res.rows, null, 2)];

return res.rows.map(row => JSON.stringify(row));
return (0, utils_1.toColumns)(columnDefnFor(res), showTitles)(res.rows);
return (0, utils_1.toColumns)(columnDefnFor(res), !options.notitles)(res.rows);
}
exports.prettyPrintDalResult = prettyPrintDalResult;
{
"name": "@db-auto/dal",
"description": "",
"version": "0.0.24",
"version": "0.0.25",
"main": "dist/index",

@@ -6,0 +6,0 @@ "types": "dist/index",

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