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

Update acorn for ECMAScript 2020 features #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update acorn for ECMAScript 2020 features #25

wants to merge 2 commits into from

Conversation

vnc5
Copy link

@vnc5 vnc5 commented Aug 14, 2020

This updates acorn to the latest version, specifies a default ecmaVersion which is required now and a test for the nullish coalescing operator which is the reason for this pull request.

I'm hoping for a bump in pug-lexer and pug too, so that we can use the new features in our templates.

Being able to div= 5 ?? 6 would shrink my templates immensely.

@rollingversions
Copy link

rollingversions bot commented Aug 14, 2020

Change Log for is-expression (4.0.0 → 5.0.0)

Breaking Changes

  • Upgrade acorn from 7.1.1 to 8.0.1

    This changes the default mode to ES2020, meaning many things now count as valid expressions that were previously considered errors.

Edit changelog

@cray0000
Copy link

cray0000 commented Feb 2, 2024

we can just specify

ecmaVersion: 'latest'

to be always up to date

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