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.1 to 5.0.2

7

dist/createStream.js

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

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

@@ -97,7 +95,8 @@

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

@@ -104,0 +103,0 @@ empty = true;

@@ -388,4 +388,3 @@ 'use strict';

break;
}
if (!valid1) {
} if (!valid1) {
var err = {

@@ -392,0 +391,0 @@ keyword: 'enum',

@@ -388,4 +388,3 @@ 'use strict';

break;
}
if (!valid1) {
} if (!valid1) {
var err = {

@@ -392,0 +391,0 @@ keyword: 'enum',

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

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

@@ -42,3 +41,3 @@ "string-width": "^2.1.1"

"engines": {
"node": ">=8.0.0"
"node": ">=6.0.0"
},

@@ -85,3 +84,3 @@ "husky": {

},
"version": "5.0.1"
"version": "5.0.2"
}

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