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

@commercetools/csv-parser-orders

Package Overview
Dependencies
Maintainers
7
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools/csv-parser-orders - npm Package Compare versions

Comparing version 1.4.7 to 1.4.8

6

lib/parsers/abstract-parser.js

@@ -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 @@

8

package.json
{
"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"

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