Comparing version 5.0.1 to 5.0.2
@@ -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
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
4
190256
2816
- Removedobject.values@^1.0.4
- Removedcall-bind@1.0.7(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddefine-properties@1.2.1(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-object-atoms@1.0.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhasown@2.0.2(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedobject.values@1.2.0(transitive)
- Removedset-function-length@1.2.2(transitive)