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

added regenerator-runtime as dependency for wp6.6 fix #50

Merged
merged 3 commits into from
Jul 18, 2024

Conversation

ajayadav09
Copy link
Contributor

@ajayadav09 ajayadav09 commented Jul 18, 2024

PRESS0-1793
Since the Wordpress6.6 r update emoved polyfills certain features are breaking, so to maintain the polyfills for the feature that was breaking added the regenrator-runtime dependency.

regenerator-runtime is a library that provides support for ES6 generator functions and async/await syntax in environments that do not natively support them. It's a runtime for the Babel plugin @babel/plugin-transform-regenerator, which transforms generator and async/await functions into a form that can run in older JavaScript environments.

Wordpress dev changes:
https://make.wordpress.org/core/2024/06/25/miscellaneous-developer-changes-in-wordpress-6-6/#obsolete-polyfills-dependencies-have-been-removed

Bug filed:
WordPress/gutenberg#62923

Proposed changes

Type of Change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have viewed my change in a web-browser
  • Linting and tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

Since the Wordpress6.6 removed polyfills certain features are breaking, so to maintaint the polyfills for the feature that was breaking added the regenrator-runtime dependency.

https://make.wordpress.org/core/2024/06/25/miscellaneous-developer-changes-in-wordpress-6-6/#obsolete-polyfills-dependencies-have-been-removed
@abhijitb abhijitb merged commit 9242f84 into main Jul 18, 2024
1 check failed
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