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

table

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

table - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

7

dist/createStream.js

@@ -10,2 +10,4 @@ "use strict";

var _object = _interopRequireDefault(require("object.values"));
var _makeStreamConfig = _interopRequireDefault(require("./makeStreamConfig"));

@@ -95,4 +97,5 @@

const createStream = (userConfig = {}) => {
const config = (0, _makeStreamConfig.default)(userConfig);
const columnWidthIndex = Object.values(_lodash.default.mapValues(config.columns, column => {
const config = (0, _makeStreamConfig.default)(userConfig); // @todo Drop 'object.values' dependency when Node.js v6 support is dropped.
const columnWidthIndex = (0, _object.default)(_lodash.default.mapValues(config.columns, column => {
return column.width + column.paddingLeft + column.paddingRight;

@@ -99,0 +102,0 @@ }));

@@ -10,2 +10,3 @@ {

"lodash": "^4.17.10",
"object.values": "^1.0.4",
"slice-ansi": "1.0.0",

@@ -83,3 +84,3 @@ "string-width": "^2.1.1"

},
"version": "5.0.0"
"version": "5.0.1"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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