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

Breaking: use new language features #94

Merged
merged 1 commit into from
Dec 31, 2024
Merged

Breaking: use new language features #94

merged 1 commit into from
Dec 31, 2024

Conversation

vweevers
Copy link
Member

@vweevers vweevers commented Dec 27, 2024

Namely private properties, optional chaining and the nullish coalescing operator. This is a syntactic refactoring that makes no difference for most consumers. The syntax is supported by all our target environments, but if browserify is used (without babel or similar) it'll fail to parse.

@vweevers vweevers added the refactor Requires or pertains to refactoring label Dec 27, 2024
Just a syntactic refactoring, makes no difference for consumers. The
syntax is supported by all our target environments, but if browserify
is used (without babel or similar) it'll fail to parse. Not sure if
that constitutes a breaking change.

Category: change
@vweevers
Copy link
Member Author

Rebased to include #96 and applied the same tweaks there.

@vweevers vweevers changed the title Use private properties, optional chaining & coalescing operator Breaking: use new language features Dec 31, 2024
@vweevers vweevers added the semver-major Changes that break backward compatibility label Dec 31, 2024
@vweevers vweevers merged commit 1fdb362 into main Dec 31, 2024
10 checks passed
@vweevers vweevers deleted the syntax branch December 31, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Requires or pertains to refactoring semver-major Changes that break backward compatibility
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant