Socket
Socket
Sign inDemoInstall

csv-stringify

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv-stringify - npm Package Compare versions

Comparing version 5.5.0 to 5.5.1

5

CHANGELOG.md
# Changelog
## Version 5.5.1
Fix
* bom: work with sync module, fix #115
## Version 5.5.0

@@ -5,0 +10,0 @@

15

lib/es5/index.js

@@ -115,6 +115,2 @@ "use strict";

if (options.bom === true) {
_this.push(bom_utf8);
}
_assertThisInitialized(_this);

@@ -336,2 +332,3 @@

if (this.info.records === 0) {
this.bom();
this.headers();

@@ -379,2 +376,3 @@ } // Emit and stringify the record if an object or an array

if (this.info.records === 0) {
this.bom();
this.headers();

@@ -610,2 +608,11 @@ }

}, {
key: "bom",
value: function bom() {
if (this.options.bom !== true) {
return;
}
this.push(bom_utf8);
}
}, {
key: "headers",

@@ -612,0 +619,0 @@ value: function headers() {

@@ -52,5 +52,2 @@

}
if(options.bom === true){
this.push(bom_utf8)
}
this

@@ -225,2 +222,3 @@ }

if(this.info.records === 0){
this.bom()
this.headers()

@@ -261,2 +259,3 @@ }

if(this.info.records === 0){
this.bom()
this.headers()

@@ -389,2 +388,8 @@ }

}
bom(){
if(this.options.bom !== true){
return
}
this.push(bom_utf8)
}
headers(){

@@ -391,0 +396,0 @@ if(this.options.header === false){

{
"version": "5.5.0",
"version": "5.5.1",
"name": "csv-stringify",

@@ -4,0 +4,0 @@ "description": "CSV stringifier 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