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

Suggest some workaround - webshim Polyfill breaks due to jquery upgrade 3.6.0 #596

Closed
rajeshkannavelu opened this issue Dec 31, 2021 · 4 comments

Comments

@rajeshkannavelu
Copy link

Recently I have upgraded jquery to 3.6.0 for some security reason, after which the webshim was breaking. Due to which other script files are also not working.
Kindly suggest some workaround to fix the issue.

webshim issue

@rajeshkannavelu rajeshkannavelu changed the title Need some workaround - webshim Polyfill breaks due to jquery upgrade 3.6.0 Suggest some workaround - webshim Polyfill breaks due to jquery upgrade 3.6.0 Dec 31, 2021
@PerseusTheGreat
Copy link
Contributor

PerseusTheGreat commented Dec 31, 2021

First line of /readme.md:
Important note: Webshim is not compatible with upcoming jQuery 3.x and I do not plan to work on a new major version. I will still fix critical bugs in the future though.

Latest commit date/time of that file is: Jul 22, 2015
This means current repo has been deprecated in jQuery 2.x era, few last months before first release of jQuery 3.x on June 9, 2016!

I suggest you to use jQuery Migrate Plugin as an semi-stable and non-deterministic fast solution.

Or...

I recommend you Fork this repo and adapt its codes to be compatible with jQuery 3.x based on jQuery Migrate Plugin documentations as a God-pleasing solution.

Or...

Forgot jQuery 3.x and down-grade your codes to be compatible with jQuery 2.x as a rational fast solution.

@rajeshkannavelu
Copy link
Author

rajeshkannavelu commented Jan 6, 2022

@PerseusTheGreat, Thank you for your great support, The jquery migrate plugin worked for me.
Which is the best approach between the jquery-migrate plugin and adapting its codes to be compatible with jQuery 3.x based on jQuery Migrate Plugin?

@PerseusTheGreat
Copy link
Contributor

PerseusTheGreat commented Jan 6, 2022

@rajeshkannavelu
Adapting code is truly best technical solution but it will be the expensive way (more work -> more time -> more cost).

@rajeshkannavelu
Copy link
Author

Got it, Thanks!

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

No branches or pull requests

2 participants