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.2 to 1.4.3

6

lib/parsers/add-return-info.js

@@ -92,5 +92,5 @@ 'use strict';

// if there is no returnInfo with this returnId push those from currentOrder
if (!existingReturnInfos.length) existingOrder.returnInfo.push(...currentOrder.returnInfo);else
// else concat items from currentOrder
existingReturnInfos.forEach(returnInfo => {
if (!existingReturnInfos.length) existingOrder.returnInfo.push(...currentOrder.returnInfo);
// else concat items from currentOrder
else existingReturnInfos.forEach(returnInfo => {
returnInfo.items.push(...currentOrder.returnInfo[0].items);

@@ -97,0 +97,0 @@ });

{
"name": "@commercetools/csv-parser-orders",
"version": "1.4.2",
"version": "1.4.3",
"description": "Module that parses order csv to json",

@@ -5,0 +5,0 @@ "keywords": [

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