New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

batch-stream-csv

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

batch-stream-csv - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

7

index.js

@@ -10,8 +10,7 @@ const csv = require('csv-parser')

return new Promise((resolve, reject) => {
let rows = []
const rows = []
const rs = fs.createReadStream(file)
rs
.pipe(csv(options))
.on('headers', function processHeaders (headers) {
.on('headers', function processHeaders () {
read += this.state.rowLength

@@ -26,3 +25,3 @@ })

if (rows.length) await flush()
resolve()
resolve()
})

@@ -29,0 +28,0 @@

{
"name": "batch-stream-csv",
"version": "1.0.1",
"version": "1.0.2",
"description": "Process large CSV files in batches without backpressure",

@@ -5,0 +5,0 @@ "main": "index.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