Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.

Commit 792589f

Browse files
chore: deps
1 parent ed75413 commit 792589f

File tree

2 files changed

+143
-157
lines changed

2 files changed

+143
-157
lines changed

src/csv/csvReader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export function csvStringParse<T extends AnyObject = any>(
5757

5858
export function csvStringToArray(str: string): string[][] {
5959
const objPattern = new RegExp('(,|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^,\\r\\n]*))', 'gi')
60-
let matches = null
60+
let matches: RegExpExecArray | null
6161
const arr: any[][] = [[]]
6262

6363
while ((matches = objPattern.exec(str))) {

0 commit comments

Comments
 (0)