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

ink-table

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ink-table - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

dist/demo.js

@@ -13,3 +13,3 @@ 'use strict';

const data = [{ name: 'Sosa Saunders', gender: 'male', company: 'VALREDA', email: 'sosasaunders@valreda.com', phone: '+1 (809) 435-2786', address: 'Nautilus Avenue, Bentonville, Alabama, 927' }, { name: 'Angelina Kirk', gender: 'female', company: 'ZENTILITY', email: 'angelinakirk@zentility.com', phone: '+1 (870) 567-3516', address: 'Corbin Place, Stevens, Nevada, 6268' }, { name: 'Bradford Rosales', gender: 'male', company: 'HYDROCOM', email: 'bradfordrosales@hydrocom.com', phone: '+1 (918) 573-3240', address: 'Troy Avenue, Martinez, Oklahoma, 1402' }, { name: 'Gwen Schroeder', gender: 'female', company: 'KIDGREASE', email: 'gwenschroeder@kidgrease.com', phone: '+1 (987) 417-2062', address: 'Bainbridge Street, Nogal, Vermont, 1540' }, { name: 'Ellison Mann', gender: 'male', company: 'KATAKANA', email: 'ellisonmann@katakana.com', phone: '+1 (889) 411-2186', address: 'Raleigh Place, Greenock, Colorado, 4444' }, { name: 'Lou Gamble', gender: 'female', company: 'EXOSPACE', email: 'lougamble@exospace.com', phone: '+1 (985) 573-3129', address: 'Schenck Avenue, Elbert, Nebraska, 830' }, { name: 'Leticia Merrill', gender: 'female', company: 'EYEWAX', email: 'leticiamerrill@eyewax.com', phone: '+1 (920) 515-3647', address: 'Bradford Street, Delwood, Washington, 2828' }, { name: 'Johns Workman', gender: 'male', company: 'ZILLADYNE', email: 'johnsworkman@zilladyne.com', phone: '+1 (873) 503-2314', address: 'Sackman Street, Adelino, Texas, 8004' }, { name: 'Holmes Collins', gender: 'male', company: 'REALMO', email: 'holmescollins@realmo.com', phone: '+1 (968) 529-3878', address: 'Beverly Road, Vallonia, Indiana, 1057' }, { name: 'Coleman Dodson', gender: 'male', company: 'BLEENDOT', email: 'colemandodson@bleendot.com', phone: '+1 (812) 445-2559', address: 'Branton Street, Naomi, South Carolina, 9435' }, { name: 'Marjorie Mckay', gender: 'female', company: 'RODEOMAD', email: 'marjoriemckay@rodeomad.com', phone: '+1 (980) 532-3472', address: 'Grove Street, Caspar, South Dakota, 506' }, { name: 'Mendez Taylor', gender: 'male', company: 'DOGNOST', email: 'mendeztaylor@dognost.com', phone: '+1 (812) 544-2784', address: 'Willow Street, Basye, New York, 2300' }];
const data = [{ name: 'Sosa Saunders', gender: 'male', company: 'VALREDA', email: 'sosasaunders@valreda.com', phone: '+1 (809) 435-2786' }, { name: 'Angelina Kirk', gender: 'female', company: 'ZENTILITY', email: 'angelinakirk@zentility.com', phone: '+1 (870) 567-3516' }, { name: 'Bradford Rosales', gender: 'male', company: 'HYDROCOM', email: 'bradfordrosales@hydrocom.com', phone: '+1 (918) 573-3240' }, { name: 'Gwen Schroeder', gender: 'female', company: 'KIDGREASE', email: 'gwenschroeder@kidgrease.com', phone: '+1 (987) 417-2062' }, { name: 'Ellison Mann', gender: 'male', company: 'KATAKANA', email: 'ellisonmann@katakana.com', phone: '+1 (889) 411-2186' }];

@@ -23,3 +23,3 @@ const config = {

const Basic = () => (0, _ink.h)(_2.default, { data: data, config: config });
const Basic = () => (0, _ink.h)(_2.default, { data: data });

@@ -26,0 +26,0 @@ (0, _ink.render)((0, _ink.h)(Basic, null));

@@ -6,2 +6,3 @@ 'use strict';

});
exports.Skeleton = exports.Cell = exports.Header = undefined;

@@ -26,3 +27,3 @@ var _ink = require('ink');

_ink.Text,
{ red: true },
{ bold: true, blue: true },
children

@@ -57,3 +58,3 @@ );

_ink.Text,
{ white: true },
{ bold: true, white: true },
children

@@ -100,3 +101,3 @@ );

};
const toString = val => val.toString();
const toString = val => (val || String()).toString();
const isEmpty = el => el.length === 0;

@@ -138,2 +139,3 @@

const fillWithLine = fillWith(line);
const columns = cells.map((_ref6) => {

@@ -206,3 +208,3 @@ let width = _ref6.width,

return (0, _ink.h)(
'div',
'span',
null,

@@ -252,5 +254,6 @@ topLine(emptyRow),

};exports.default = Table;
exports.Header = Header;
exports.Cell = Cell;
exports.Skeleton = Skeleton;
// ---------------------------------------------------------------------------
module.exports = exports['default'];
// ---------------------------------------------------------------------------
{
"name": "ink-table",
"version": "0.0.1",
"version": "0.0.2",
"description": "A table component for Ink.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -34,3 +34,3 @@ # ink-table [![Build Status](https://travis-ci.org/maticzav/ink-table.svg?branch=master)](https://travis-ci.org/maticzav/ink-table)

<img src="media/demo.jpeg" width="508">
<img src="media/demo.png" width="508">

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