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

csv-parse

Package Overview
Dependencies
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv-parse - npm Package Compare versions

Comparing version 4.6.1 to 4.6.2

4

CHANGELOG.md

@@ -11,2 +11,6 @@

## Version 4.6.2
* context: null column when columns number inferieur to record length
## Version 4.6.1

@@ -13,0 +17,0 @@

2

lib/es5/index.js

@@ -1136,3 +1136,3 @@ "use strict";

return {
column: isColumns === true ? columns[this.state.record.length].name : this.state.record.length,
column: isColumns === true ? columns.length >= this.state.record.length ? columns[this.state.record.length].name : null : this.state.record.length,
empty_lines: this.info.empty_lines,

@@ -1139,0 +1139,0 @@ header: columns === true,

@@ -894,3 +894,6 @@

column: isColumns === true ?
columns[this.state.record.length].name :
( columns.length >= this.state.record.length ?
columns[this.state.record.length].name :
null
) :
this.state.record.length,

@@ -897,0 +900,0 @@ empty_lines: this.info.empty_lines,

{
"version": "4.6.1",
"version": "4.6.2",
"name": "csv-parse",

@@ -4,0 +4,0 @@ "description": "CSV parsing implementing the Node.js `stream.Transform` API",

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