Skip to content

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