diff --git a/CHANGELOG.md b/CHANGELOG.md index 67d7aef..16db1b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ Please join and contribute: * relax_column_count: rename INCONSISTENT_RECORD_LENGTH to RECORD_INCONSISTENT_FIELDS_LENGTH (easy) * relax_column_count: rename RECORD_DONT_MATCH_COLUMNS_LENGTH to RECORD_INCONSISTENT_COLUMNS (easy) -## Trunk +## Version 4.15.4 * fix: handle cast value 0 fix #315 diff --git a/lib/es5/index.d.ts b/lib/es5/index.d.ts index 5a3d19f..e4e7b50 100644 --- a/lib/es5/index.d.ts +++ b/lib/es5/index.d.ts @@ -102,7 +102,7 @@ declare namespace parse { /** * Set the escape character, one character only, defaults to double quotes. */ - escape?: string | Buffer; + escape?: string | null | false | Buffer; /** * Start handling records from the requested number of records. */ diff --git a/package.json b/package.json index 75d38e0..3021e4b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "4.15.3", + "version": "4.15.4", "name": "csv-parse", "description": "CSV parsing implementing the Node.js `stream.Transform` API", "keywords": [