WordPress/wp-includes/js/dist/vendor
desrosj c54b44e75a Build/Test Tools: Add the regenerator-runtime script as a dependency to wp-polyfill.
In [51146], the `core-js` package replaced the deprecated `@babel//polyfill` one. The `core-js` package builds `wp-polyfill` from a configuration provided by `@wordpress/babel-preset-default` instead of copying a one size fits all polyfill.

That change caused an issue where plugins and themes relying on the `regenerator-runtime` script being included in the `wp-polyfill.js` file encountering fatal JavaScript errors.

This adds the `regenerator-runtime` package to Core and registers it as a dependency for `wp-polyfill`. While Core does not require `regenerator-runtime`, it will allow for a smoother transition to using `core-js`.

This dependency will be removed in a future version of WordPress, so developers are encouraged to add `regenerator-runtime` as a dependency for any custom script that requires it.

Follow up to [51146].

Props gziolo, herregroen, jeherve, hellofromtonya, peterwilsoncc.
Fixes #52941.
Built from https://develop.svn.wordpress.org/trunk@51212


git-svn-id: http://core.svn.wordpress.org/trunk@50821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-23 00:06:13 +00:00
..
lodash.js Editor: Update lodash to the latest version 4.17.21 2021-05-20 13:02:17 +00:00
lodash.min.js Editor: Update lodash to the latest version 4.17.21 2021-05-20 13:02:17 +00:00
moment.js External Libraries: Update Moment.js to the latest version. 2021-04-20 19:15:21 +00:00
moment.min.js External Libraries: Update Moment.js to the latest version. 2021-04-20 19:15:21 +00:00
react-dom.js
react-dom.min.js
react.js
react.min.js
regenerator-runtime.js Build/Test Tools: Add the regenerator-runtime script as a dependency to wp-polyfill. 2021-06-23 00:06:13 +00:00
regenerator-runtime.min.js Build/Test Tools: Add the regenerator-runtime script as a dependency to wp-polyfill. 2021-06-23 00:06:13 +00:00
wp-polyfill-dom-rect.js External Libraries: Update the path to polyfill-library files in Webpack. 2021-03-30 14:49:04 +00:00
wp-polyfill-dom-rect.min.js External Libraries: Update the path to polyfill-library files in Webpack. 2021-03-30 14:49:04 +00:00
wp-polyfill-element-closest.js
wp-polyfill-element-closest.min.js
wp-polyfill-fetch.js
wp-polyfill-fetch.min.js
wp-polyfill-formdata.js
wp-polyfill-formdata.min.js External Libraries: Update two polyfill libraries to their latest versions. 2021-05-25 23:28:15 +00:00
wp-polyfill-node-contains.js External Libraries: Update the path to polyfill-library files in Webpack. 2021-03-30 14:49:04 +00:00
wp-polyfill-node-contains.min.js External Libraries: Update the path to polyfill-library files in Webpack. 2021-03-30 14:49:04 +00:00
wp-polyfill-object-fit.js
wp-polyfill-object-fit.min.js
wp-polyfill-url.js
wp-polyfill-url.min.js
wp-polyfill.js Build/Test Tools: Replace the deprecated @babel/polyfill. 2021-06-14 23:18:11 +00:00
wp-polyfill.min.js Build/Test Tools: Replace the deprecated @babel/polyfill. 2021-06-14 23:18:11 +00:00