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.16.2 to 4.16.3

4

lib/es5/index.js

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

function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }

@@ -163,3 +163,3 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

};
} else if (typeof options.cast_date !== 'function') {
} else {
throw new CsvError('CSV_INVALID_OPTION_CAST_DATE', ['Invalid option cast_date:', 'cast_date must be true or a function,', "got ".concat(JSON.stringify(options.cast_date))], options);

@@ -166,0 +166,0 @@ } // Normalize option `columns`

@@ -89,3 +89,3 @@

}
}else if(typeof options.cast_date !== 'function'){
}else{
throw new CsvError('CSV_INVALID_OPTION_CAST_DATE', [

@@ -92,0 +92,0 @@ 'Invalid option cast_date:', 'cast_date must be true or a function,',

{
"version": "4.16.2",
"version": "4.16.3",
"name": "csv-parse",

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

"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.7",
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@types/mocha": "^9.0.0",
"@types/node": "^16.7.8",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"coffeescript": "^2.5.1",
"csv-generate": "^3.4.2",
"csv-generate": "^3.4.3",
"csv-spectrum": "^1.0.0",
"each": "^1.2.2",
"eslint": "^7.13.0",
"eslint": "^7.32.0",
"express": "^4.17.1",
"mocha": "^8.2.1",
"mocha": "^9.1.1",
"pad": "^3.2.0",
"should": "^13.2.3",
"stream-transform": "^2.1.2",
"ts-node": "^9.0.0",
"typescript": "^4.0.5"
"stream-transform": "^2.1.3",
"ts-node": "^10.2.1",
"typescript": "^4.4.2"
},

@@ -99,3 +99,3 @@ "files": [

"types": "./lib/index.d.ts",
"gitHead": "6b34c28a523bb4c666a5e8a7738640b71edf7b05"
"gitHead": "0fd5209b6862655c384cda052abf38019b959e70"
}

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc