@commercetools/csv-parser-orders
Advanced tools
Comparing version 1.4.7 to 1.4.8
@@ -46,3 +46,7 @@ "use strict"; | ||
rowIndex += 1; | ||
}).flatMap(_highland.default).flatMap(data => (0, _highland.default)(this._processData(data))).stopOnError(err => { | ||
}).flatMap(_highland.default).flatMap(data => { | ||
var _ref, _data; | ||
return _ref = (_data = data, this._processData(_data)), (0, _highland.default)(_ref); | ||
}).stopOnError(err => { | ||
this.logger.error(err); | ||
@@ -49,0 +53,0 @@ return output.emit('error', err); |
@@ -49,3 +49,7 @@ "use strict"; | ||
return output.emit('error', err); | ||
}).flatMap(data => (0, _highland.default)(DeliveriesParser._cleanOrders(data))).pipe(_JSONStream.default.stringify(false)).pipe(output); | ||
}).flatMap(data => { | ||
var _ref, _data; | ||
return _ref = (_data = data, DeliveriesParser._cleanOrders(_data)), (0, _highland.default)(_ref); | ||
}).pipe(_JSONStream.default.stringify(false)).pipe(output); | ||
} // Take objectized CSV row and create an order object from it | ||
@@ -52,0 +56,0 @@ |
{ | ||
"name": "@commercetools/csv-parser-orders", | ||
"version": "1.4.7", | ||
"version": "1.4.8", | ||
"description": "Module that parses order csv to json", | ||
@@ -37,4 +37,4 @@ "keywords": [ | ||
"dependencies": { | ||
"JSONStream": "1.3.4", | ||
"csv-parser": "1.12.1", | ||
"JSONStream": "1.3.5", | ||
"csv-parser": "2.0.0", | ||
"highland": "2.13.0", | ||
@@ -48,3 +48,3 @@ "lodash": "4.17.11", | ||
"devDependencies": { | ||
"sinon": "6.3.4", | ||
"sinon": "7.0.0", | ||
"streamtest": "1.2.4", | ||
@@ -51,0 +51,0 @@ "tmp": "0.0.33" |
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
23842
504
+ AddedJSONStream@1.3.5(transitive)
+ Addedcsv-parser@2.0.0(transitive)
- RemovedJSONStream@1.3.4(transitive)
- Removedcsv-parser@1.12.1(transitive)
UpdatedJSONStream@1.3.5
Updatedcsv-parser@2.0.0