Socket
Socket
Sign inDemoInstall

csv-parse

Package Overview
Dependencies
0
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.4.0 to 5.4.1

10

lib/stream.js

@@ -11,18 +11,18 @@

async transform(chunk, controller) {
const err = api.parse(chunk, false, (record) => {
api.parse(chunk, false, (record) => {
controller.enqueue(record);
}, () => {
controller.close()
controller.close();
});
},
async flush(controller){
const err = api.parse(undefined, true, (record) => {
api.parse(undefined, true, (record) => {
controller.enqueue(record);
}, () => {
controller.close()
controller.close();
});
}
});
}
};
export {parse};
{
"version": "5.4.0",
"version": "5.4.1",
"name": "csv-parse",

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

"devDependencies": {
"@rollup/plugin-eslint": "^9.0.3",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-eslint": "^9.0.4",
"@rollup/plugin-node-resolve": "^15.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.3",
"@types/node": "^20.5.0",
"coffeelint": "^2.1.0",
"coffeescript": "^2.7.0",
"csv-generate": "^4.2.6",
"csv-generate": "^4.2.7",
"csv-spectrum": "^1.0.0",
"each": "^2.3.0",
"eslint": "^8.36.0",
"each": "^2.4.0",
"eslint": "^8.47.0",
"mocha": "^10.2.0",
"pad": "^3.2.0",
"rollup": "^3.19.1",
"rollup": "^3.28.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"should": "^13.2.3",
"stream-transform": "^3.2.6",
"stream-transform": "^3.2.7",
"ts-node": "^10.9.1",
"typescript": "^5.0.2"
"typescript": "^5.1.6"
},

@@ -111,3 +111,5 @@ "files": [

"build:ts": "cp lib/index.d.ts dist/cjs/index.d.cts && cp lib/sync.d.ts dist/cjs/sync.d.cts && cp lib/*.ts dist/esm",
"postbuild:ts": "find dist/cjs -name '*.d.cts' -exec sh -c \"sed -i \"s/\\.js'/\\.cjs'/g\" {} || sed -i '' \"s/\\.js'/\\.cjs'/g\" {}\" \\;",
"lint": "npm run lint:lib && npm run lint:samples && npm run lint:test",
"postlint": "tsc --noEmit true",
"lint:lib": "eslint --fix lib/*.js",

@@ -139,3 +141,3 @@ "lint:samples": "eslint --fix samples/*.js",

},
"gitHead": "ef0e49c478696fa1fc8d9794fd3d54ef8570fbb3"
"gitHead": "1eac79beca3cdfdcd118662aedddd400cb5a26ac"
}
# CSV parser for Node.js and the web
[![Build Status](https://img.shields.io/github/workflow/status/adaltas/node-csv/Node.js)](https://github.com/adaltas/node-csv/actions)
[![Build Status](https://img.shields.io/github/actions/workflow/status/adaltas/node-csv/nodejs.yml?branch=master)](https://github.com/adaltas/node-csv/actions)
[![NPM](https://img.shields.io/npm/dm/csv-parse)](https://www.npmjs.com/package/csv-parse)

@@ -6,0 +6,0 @@ [![NPM](https://img.shields.io/npm/v/csv-parse)](https://www.npmjs.com/package/csv-parse)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc