Socket
Socket
Sign inDemoInstall

@fast-csv/parse

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fast-csv/parse - npm Package Compare versions

Comparing version 4.1.5 to 4.1.6

6

build/src/parser/column/QuotedColumnParser.js

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

if (!scanner.hasMoreData) {
throw new Error(`Parse Error: missing closing: '${this.parserOptions.quote}' in line: at '${scanner.lineFromCursor.replace(/[r\n]/g, "\\n'")}'`);
throw new Error(`Parse Error: missing closing: '${this.parserOptions.quote}' in line: at '${scanner.lineFromCursor.replace(/[\r\n]/g, "\\n'")}'`);
}

@@ -51,3 +51,5 @@ return null;

// the quote and advance to that character
if (tokenFollowingEscape !== null && isTokenQuote(tokenFollowingEscape, parserOptions)) {
if (tokenFollowingEscape !== null &&
(isTokenQuote(tokenFollowingEscape, parserOptions) ||
isTokenEscapeCharacter(tokenFollowingEscape, parserOptions))) {
characters.push(tokenFollowingEscape.token);

@@ -54,0 +56,0 @@ nextToken = tokenFollowingEscape;

@@ -6,2 +6,13 @@ # Change Log

## [4.1.6](https://github.com/C2FO/fast-csv/compare/v4.1.5...v4.1.6) (2020-05-15)
### Bug Fixes
* **parse:** Handle escaped escape properly [#340](https://github.com/C2FO/fast-csv/issues/340) ([78d9b16](https://github.com/C2FO/fast-csv/commit/78d9b160152ee399f31086cc6b5f66a7ca7f9e24))
## [4.1.5](https://github.com/C2FO/fast-csv/compare/v4.1.4...v4.1.5) (2020-05-15)

@@ -8,0 +19,0 @@

{
"name": "@fast-csv/parse",
"version": "4.1.5",
"version": "4.1.6",
"description": "fast-csv parsing package",

@@ -56,7 +56,7 @@ "keywords": [

"@types/lodash.uniq": "4.5.6",
"@types/sinon": "9.0.0",
"@types/sinon": "9.0.1",
"lodash.partition": "4.6.0",
"sinon": "9.0.2"
},
"gitHead": "a71e712250ce885b71be7a2ef453820240dff3e6"
"gitHead": "c57fff4e957f791504be591dc47bb5a5442d870c"
}

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