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 1.2.2 to 1.2.3

4

CHANGELOG.md
# Changelog
## v1.2.3
* sync: catch err on write
## v1.2.2

@@ -5,0 +9,0 @@

12

lib/sync.js

@@ -9,3 +9,3 @@ // Generated by CoffeeScript 1.12.7

module.exports = function(data, options) {
var decoder, parser, records;
var decoder, err, parser, records;
if (options == null) {

@@ -27,5 +27,11 @@ options = {};

};
parser.__write(data, false);
err = parser.__write(data, false);
if (err) {
throw err;
}
if (data instanceof Buffer) {
parser.__write(data.end(), true);
err = parser.__write(data.end(), true);
if (err) {
throw err;
}
}

@@ -32,0 +38,0 @@ parser._flush((function() {}));

{
"version": "1.2.2",
"version": "1.2.3",
"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