@oclif/table 0.1.7 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/table.js +2 -0
  2. package/package.json +1 -1
package/lib/table.js CHANGED
@@ -267,6 +267,7 @@ export function Skeleton(props) {
267
267
  export function printTable(options) {
268
268
  const instance = render(React.createElement(Table, { ...options }));
269
269
  instance.unmount();
270
+ process.stdout.write('\n');
270
271
  }
271
272
  function Container(props) {
272
273
  return (React.createElement(Box, { flexWrap: "wrap", flexDirection: props.direction ?? 'row', ...props }, props.children));
@@ -282,4 +283,5 @@ export function printTables(tables, options) {
282
283
  }));
283
284
  const instance = render(React.createElement(Container, { ...options }, processed.map((table) => (React.createElement(Table, { key: sha1(table), ...table })))));
284
285
  instance.unmount();
286
+ process.stdout.write('\n');
285
287
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/table",
3
3
  "description": "Display table in terminal",
4
- "version": "0.1.7",
4
+ "version": "0.1.9",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/multi-stage-output/issues",
7
7
  "dependencies": {