Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subsume JSON strings (Stage 4) #43

Open
hzoo opened this issue May 22, 2018 · 0 comments
Open

Subsume JSON strings (Stage 4) #43

hzoo opened this issue May 22, 2018 · 0 comments

Comments

@hzoo
Copy link
Member

hzoo commented May 22, 2018

By @gibson042, champion: @mathiasbynens

Presented as Stage 1 at Sept 2017
Moved to Stage 2 at Nov 2017
Moved to Stage 3 at Jan 2018
Moved to Stage 4 at May 2018

Spec repo: https://github.com/tc39/proposal-json-superset

ECMAScript claims JSON as a subset in JSON.parse, but (as has been well-documented) that is not true because JSON strings can contain unescaped U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR characters while ECMAScript strings cannot.

-[x] Babel PR by @jridgewell: babel/babel#7985

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

No branches or pull requests

1 participant