WordPress/wp-includes/js/dist
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
..
vendor Build/Test Tools: Add the regenerator-runtime script as a dependency to wp-polyfill. 2021-06-23 00:06:13 +00:00
a11y.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
a11y.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
annotations.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
annotations.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
api-fetch.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
api-fetch.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
autop.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
autop.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
blob.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
blob.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
block-directory.js Block Editor: Updated the WordPress packages from Gutenberg 10.7.0 RC. 2021-05-21 10:14:23 +00:00
block-directory.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
block-editor.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
block-editor.min.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
block-library.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
block-library.min.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
block-serialization-default-parser.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
block-serialization-default-parser.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
blocks.js Block Editor: Package updates for WordPress 5.8 beta 1 (batch2). 2021-06-08 17:33:22 +00:00
blocks.min.js Block Editor: Package updates for WordPress 5.8 beta 1 (batch2). 2021-06-08 17:33:22 +00:00
components.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
components.min.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
compose.js Block Editor: Update the WordPress packages with the fixes for 5.8 beta 2. 2021-06-15 08:52:30 +00:00
compose.min.js Block Editor: Update the WordPress packages with the fixes for 5.8 beta 2. 2021-06-15 08:52:30 +00:00
core-data.js Block Editor: Second batch of fixes for 5.8 beta 2 2021-06-15 15:30:24 +00:00
core-data.min.js Block Editor: Second batch of fixes for 5.8 beta 2 2021-06-15 15:30:24 +00:00
customize-widgets.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
customize-widgets.min.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
data-controls.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
data-controls.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
data.js Block Editor: Update the WordPress packages with the fixes for 5.8 beta 2. 2021-06-15 08:52:30 +00:00
data.min.js Block Editor: Update the WordPress packages with the fixes for 5.8 beta 2. 2021-06-15 08:52:30 +00:00
date.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
date.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
deprecated.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
deprecated.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
dom-ready.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
dom-ready.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
dom.js Block Editor: Updated the WordPress packages from Gutenberg 10.7.0 RC. 2021-05-21 10:14:23 +00:00
dom.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
edit-post.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
edit-post.min.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
edit-widgets.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
edit-widgets.min.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
editor.js Block Editor: Package updates for 5.8 beta 1. 2021-06-08 08:09:53 +00:00
editor.min.js Block Editor: Package updates for 5.8 beta 1. 2021-06-08 08:09:53 +00:00
element.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
element.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
escape-html.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
escape-html.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
format-library.js Block Editor: Update packages and backport the latest Gutenberg fixes. 2021-06-01 08:10:04 +00:00
format-library.min.js Block Editor: Update packages and backport the latest Gutenberg fixes. 2021-06-01 08:10:04 +00:00
hooks.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
hooks.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
html-entities.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
html-entities.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
i18n.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
i18n.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
is-shallow-equal.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
is-shallow-equal.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
keyboard-shortcuts.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
keyboard-shortcuts.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
keycodes.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
keycodes.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
list-reusable-blocks.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
list-reusable-blocks.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
media-utils.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
media-utils.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
notices.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
notices.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
nux.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
nux.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
plugins.js Block Editor: Updated the WordPress packages from Gutenberg 10.7.0 RC. 2021-05-21 10:14:23 +00:00
plugins.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
primitives.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
primitives.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
priority-queue.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
priority-queue.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
redux-routine.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
redux-routine.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
reusable-blocks.js Block Editor: Updated the WordPress packages from Gutenberg 10.7.0 RC. 2021-05-21 10:14:23 +00:00
reusable-blocks.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
rich-text.js Block Editor: Updated the WordPress packages from Gutenberg 10.7.0 RC. 2021-05-21 10:14:23 +00:00
rich-text.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
server-side-render.js Block Editor: Updated the WordPress packages from Gutenberg 10.7.0 RC. 2021-05-21 10:14:23 +00:00
server-side-render.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
shortcode.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
shortcode.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
token-list.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
token-list.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
url.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
url.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
viewport.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
viewport.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
warning.js Build: Use hashed/deterministic moduleIDs in webpack config 2021-05-20 12:20:04 +00:00
warning.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00
widgets.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
widgets.min.js Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
wordcount.js Block Editor: Updated the WordPress packages from Gutenberg 10.7.0 RC. 2021-05-21 10:14:23 +00:00
wordcount.min.js Build tools: Use hashed module IDs for minified files. 2021-05-27 00:17:06 +00:00