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

@oclif/table

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/table - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

7

lib/table.js

@@ -343,7 +343,6 @@ /* eslint-disable react/prop-types */

padding,
value: column.column,
value: headings[column.column] ?? column.column,
width,
});
const columnHeader = headings[text] ?? text;
return `${acc}${' '.repeat(marginLeft)}${columnHeader}${' '.repeat(marginRight)}`;
return `${acc}${' '.repeat(marginLeft)}${text}${' '.repeat(marginRight)}`;
}, '');

@@ -416,3 +415,3 @@ console.log(headerString);

export function printTables(tables, options) {
if (tables.reduce((acc, table) => acc + table.data.length, 0) > 30_000) {
if (tables.reduce((acc, table) => acc + table.data.length, 0) > 10_000) {
throw new Error('The data is too large to print multiple tables. Please use `printTable` instead.');

@@ -419,0 +418,0 @@ }

{
"name": "@oclif/table",
"description": "Display table in terminal",
"version": "0.3.0",
"version": "0.3.1",
"author": "Salesforce",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/table/issues",

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