Socket
Socket
Sign inDemoInstall

csv-generate

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv-generate - npm Package Compare versions

Comparing version 4.3.1 to 4.4.0

15

dist/esm/index.d.ts

@@ -14,2 +14,15 @@

export type ColumnsFunctionArgs = {
options: Options;
state: State;
};
export type ColumnsFunction = (args: ColumnsFunctionArgs) => string;
export type State = {
start_time: number,
fixed_size_buffer: number,
count_written: number,
count_created: number,
}
export interface Options extends stream.ReadableOptions {

@@ -19,3 +32,3 @@ /**

*/
columns?: number | string[];
columns?: number | (string | ColumnsFunction)[];
/**

@@ -22,0 +35,0 @@ * Set the field delimiter.

@@ -14,2 +14,15 @@

export type ColumnsFunctionArgs = {
options: Options;
state: State;
};
export type ColumnsFunction = (args: ColumnsFunctionArgs) => string;
export type State = {
start_time: number,
fixed_size_buffer: number,
count_written: number,
count_created: number,
}
export interface Options extends stream.ReadableOptions {

@@ -19,3 +32,3 @@ /**

*/
columns?: number | string[];
columns?: number | (string | ColumnsFunction)[];
/**

@@ -22,0 +35,0 @@ * Set the field delimiter.

4

package.json
{
"version": "4.3.1",
"version": "4.4.0",
"name": "csv-generate",

@@ -128,3 +128,3 @@ "description": "CSV and object generation implementing the Node.js `stream.Readable` API",

},
"gitHead": "a312a7c4cc8a58cefdaa16cb1ddbf14bf047c4b9"
"gitHead": "6575fc60ef848fb7fd3acbf5ff32130345fe1524"
}

Sorry, the diff of this file is not supported yet

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