Skip to content
New issue

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

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

Already on GitHub? # to your account

Swiper V2 Incompatible With ES2019 #7891

Closed
4 tasks done
SteveCorbett opened this issue Feb 14, 2025 · 0 comments
Closed
4 tasks done

Swiper V2 Incompatible With ES2019 #7891

SteveCorbett opened this issue Feb 14, 2025 · 0 comments

Comments

@SteveCorbett
Copy link
Contributor

Clear and concise description of the problem

Due to the use of an optional chaining operator in V11.2.0 Swiper is no longer compatible with any JavaScript version prior to ES2020.

Suggested solution

Swiper should remain compatible with JavaScript versions prior to ES2020 due to the number of projects that are unable to be updated to later versions.

Alternative

Currently, the only option for a project using an earlier JavaScript version is to install V11.1.15

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

  • I'm willing to open a PR
nolimits4web added a commit that referenced this issue Feb 14, 2025
* Restore compatibility with ES2019

* Update utils.mjs

---------

Co-authored-by: Vladimir Kharlampidi <nolimits4web@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants