@json2csv/plainjs
Advanced tools
Comparing version 7.0.5 to 7.0.6
@@ -45,7 +45,4 @@ import { type Formatter } from '@json2csv/formatters'; | ||
defaultValue?: string; | ||
quote?: string; | ||
escapedQuote?: string; | ||
delimiter?: string; | ||
eol?: string; | ||
excelStrings?: boolean; | ||
header?: boolean; | ||
@@ -72,3 +69,3 @@ includeEmptyRows?: boolean; | ||
* @param {Json2CsvOptions} opts Options object containing fields, | ||
* delimiter, default value, quote mark, header, etc. | ||
* delimiter, default value, header, etc. | ||
*/ | ||
@@ -75,0 +72,0 @@ protected preprocessOpts(opts?: Json2CSVBaseOptions<TRaw, T>): NormalizedJson2CSVBaseOptions<TRaw, T>; |
@@ -49,3 +49,3 @@ "use strict"; | ||
* @param {Json2CsvOptions} opts Options object containing fields, | ||
* delimiter, default value, quote mark, header, etc. | ||
* delimiter, default value, header, etc. | ||
*/ | ||
@@ -52,0 +52,0 @@ preprocessOpts(opts) { |
import JSON2CSVBase, { type Json2CSVBaseOptions } from './BaseParser.js'; | ||
export type ParserOptions<TRaw = object, T = TRaw> = Json2CSVBaseOptions<TRaw, T>; | ||
export default class JSON2CSVParser<TRaw extends object, T extends object> extends JSON2CSVBase<TRaw, T> { | ||
constructor(opts?: Readonly<Json2CSVBaseOptions<TRaw, T>>); | ||
constructor(opts?: Readonly<Omit<Json2CSVBaseOptions<TRaw, T>, 'ndjson'>>); | ||
/** | ||
@@ -6,0 +6,0 @@ * Main function that converts json to csv. |
@@ -45,7 +45,4 @@ import { type Formatter } from '@json2csv/formatters'; | ||
defaultValue?: string; | ||
quote?: string; | ||
escapedQuote?: string; | ||
delimiter?: string; | ||
eol?: string; | ||
excelStrings?: boolean; | ||
header?: boolean; | ||
@@ -72,3 +69,3 @@ includeEmptyRows?: boolean; | ||
* @param {Json2CsvOptions} opts Options object containing fields, | ||
* delimiter, default value, quote mark, header, etc. | ||
* delimiter, default value, header, etc. | ||
*/ | ||
@@ -75,0 +72,0 @@ protected preprocessOpts(opts?: Json2CSVBaseOptions<TRaw, T>): NormalizedJson2CSVBaseOptions<TRaw, T>; |
@@ -23,3 +23,3 @@ import { default as defaultFormatter, number as numberFormatterCtor, string as stringFormatterCtor, symbol as symbolFormatterCtor, object as objectFormatterCtor, } from '@json2csv/formatters'; | ||
* @param {Json2CsvOptions} opts Options object containing fields, | ||
* delimiter, default value, quote mark, header, etc. | ||
* delimiter, default value, header, etc. | ||
*/ | ||
@@ -26,0 +26,0 @@ preprocessOpts(opts) { |
import JSON2CSVBase, { type Json2CSVBaseOptions } from './BaseParser.js'; | ||
export type ParserOptions<TRaw = object, T = TRaw> = Json2CSVBaseOptions<TRaw, T>; | ||
export default class JSON2CSVParser<TRaw extends object, T extends object> extends JSON2CSVBase<TRaw, T> { | ||
constructor(opts?: Readonly<Json2CSVBaseOptions<TRaw, T>>); | ||
constructor(opts?: Readonly<Omit<Json2CSVBaseOptions<TRaw, T>, 'ndjson'>>); | ||
/** | ||
@@ -6,0 +6,0 @@ * Main function that converts json to csv. |
{ | ||
"name": "@json2csv/plainjs", | ||
"version": "7.0.5", | ||
"version": "7.0.6", | ||
"description": "Pure Javascript JSON to CSV converter.", | ||
@@ -51,5 +51,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@json2csv/formatters": "^7.0.5", | ||
"@streamparser/json": "^0.0.19" | ||
"@json2csv/formatters": "^7.0.6", | ||
"@streamparser/json": "^0.0.20" | ||
} | ||
} |
@@ -65,7 +65,4 @@ import { | ||
defaultValue?: string; | ||
quote?: string; | ||
escapedQuote?: string; | ||
delimiter?: string; | ||
eol?: string; | ||
excelStrings?: boolean; | ||
header?: boolean; | ||
@@ -106,3 +103,3 @@ includeEmptyRows?: boolean; | ||
* @param {Json2CsvOptions} opts Options object containing fields, | ||
* delimiter, default value, quote mark, header, etc. | ||
* delimiter, default value, header, etc. | ||
*/ | ||
@@ -109,0 +106,0 @@ protected preprocessOpts( |
@@ -13,3 +13,3 @@ import JSON2CSVBase, { type Json2CSVBaseOptions } from './BaseParser.js'; | ||
> extends JSON2CSVBase<TRaw, T> { | ||
constructor(opts?: Readonly<Json2CSVBaseOptions<TRaw, T>>) { | ||
constructor(opts?: Readonly<Omit<Json2CSVBaseOptions<TRaw, T>, 'ndjson'>>) { | ||
super(opts); | ||
@@ -16,0 +16,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
210026
2013
+ Added@streamparser/json@0.0.20(transitive)
- Removed@streamparser/json@0.0.19(transitive)
Updated@json2csv/formatters@^7.0.6
Updated@streamparser/json@^0.0.20