This results in an error like SyntaxError: Expected ',' or ']' after array element in JSON at position 676059 (line 8188 column 9) when I try to download.
Here is a snippet of a request (I've already replaced some of the values manually so I could post it here) from my file to give a sample of the problem which I've stringified for testing.
This results in an error like
SyntaxError: Expected ',' or ']' after array element in JSON at position 676059 (line 8188 column 9)
when I try to download.Here is a snippet of a request (I've already replaced some of the values manually so I could post it here) from my file to give a sample of the problem which I've stringified for testing.
From my original file I've selected just cookie
TS0143f862
to be sanitized.I've narrowed the issue down to : wordSpecificScrubList[1] (from
const wordSpecificScrubList = wordList.map((word) => buildRegex(word));
)which for my original file was:
.replace(regex, replacement) on the provided snippet outputs this string, note how the cookies array is no longer closed.