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

Improve javascript compatibility #250

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

wemcdonald
Copy link
Contributor

@wemcdonald wemcdonald commented Aug 30, 2024

There's just one usage of the ? optional chaining operator in this package, which was introduced in ES2020.

I have a large project in which I can't easily upgrade the webpack target ES version, and running master gives the error below.

This fix will make your awesome package available to more people. :)

image

@wemcdonald wemcdonald changed the title Make ES6 compatible Improve javascript compatibility Aug 30, 2024
@wemcdonald wemcdonald force-pushed the wemcdonald/es5-compatible branch from 9e6147f to 0ac5eee Compare September 3, 2024 19:44
@wemcdonald
Copy link
Contributor Author

@archfz Any idea on the failing test?

@archfz
Copy link
Owner

archfz commented Sep 3, 2024

It was a flake.

@archfz archfz merged commit 868c3c1 into archfz:master Sep 3, 2024
1 check was pending
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