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

csv-to-js-parser

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv-to-js-parser - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

9

app.js

@@ -72,10 +72,3 @@ /*

if (i === -1) throw new Error('No row delimeter found');
if (data[i - 1] === '\r')
{
newRow = '\r\n';
}
else
{
newRow = '\n';
}
newRow = (data[i - 1] === '\r') ? '\r\n' : '\n';
data = data.split(newRow);

@@ -82,0 +75,0 @@ //Deleting last empty row

2

package.json
{
"name": "csv-to-js-parser",
"version": "2.2.0",
"version": "2.2.1",
"description": "Converting csv data into array of JavaScript objects. This module can group input data.",

@@ -5,0 +5,0 @@ "main": "app.js",

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