Skip to content

Conversation

lmahistre
Copy link

If one of the value strings in the input object contains the character ", it raised an "Unexpected identifier" error. It was due to the function eval which evaluated expressions such as : foo = ""bar""
The expression made with concatenations is now constructed with a JSON.stringify, which escapes the double quotes.

If one of the value strings in the input object contains the character ", it raised an "Unexpected identifier" error. It was due to the function eval which evaluated expressions such as : foo = ""bar""
The expression made with concatenations is now constructed with a JSON.stringify, which escapes the double quotes.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling aa4b2b9 on lmahistre:master into 6f0c1e6 on hex7c0:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants