Comparing version 5.0.0 to 5.0.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
190458
2819
5
+ Addedobject.values@^1.0.4
+ Addedcall-bind@1.0.7(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedobject.values@1.2.0(transitive)
+ Addedset-function-length@1.2.2(transitive)