WordPress/wp-includes/js
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
..
codemirror Ensure `svn:eol-style` is consistently set for all files. 2019-10-25 16:38:07 +00:00
crop
dist Build/Test Tools: Add the `regenerator-runtime` script as a dependency to `wp-polyfill`. 2021-06-23 00:06:13 +00:00
imgareaselect Build/Test Tools: Update the several dependencies. 2021-05-27 19:33:19 +00:00
jcrop
jquery Build/Test Tools: Update several `devDependencies`. 2021-06-08 17:15:15 +00:00
mediaelement Build/Test Tools: Update the `uglify-js` package. 2021-01-20 13:35:18 +00:00
plupload Build/Test Tools: Update several `devDependencies`. 2021-06-08 17:15:15 +00:00
swfupload
thickbox External Libraries: Correct `click` event handling in the Thickbox library. 2021-02-23 10:54:06 +00:00
tinymce Build/Test Tools: Update several `devDependencies`. 2021-06-08 17:15:15 +00:00
admin-bar.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
admin-bar.min.js Build/Test Tools: Update the `uglify-js` package. 2021-01-20 13:35:18 +00:00
api-request.js Site Health, App Passwords: Ensure REST API responses are properly translated. 2020-12-01 03:44:05 +00:00
api-request.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
autosave.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
autosave.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
backbone.js External Libraries: Update Backbone.js to 1.4.0. 2019-09-17 17:19:54 +00:00
backbone.min.js Build/Test Tools: Update some `devDependencies`. 2021-03-18 17:48:23 +00:00
clipboard.js External Libraries: Update Clipboard.js library to version `2.0.8`. 2021-03-18 15:54:18 +00:00
clipboard.min.js Build/Test Tools: Update several `devDependencies`. 2021-06-08 17:15:15 +00:00
colorpicker.js
colorpicker.min.js Build/Test Tools: Update the several dependencies. 2021-05-11 20:12:15 +00:00
comment-reply.js Comments: Hide the link to the initial parent comment in the reply heading when replying to another comment. 2020-10-18 06:41:04 +00:00
comment-reply.min.js Build/Test Tools: Update some `devDependencies`. 2021-03-18 17:48:23 +00:00
customize-base.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
customize-base.min.js Build/Test Tools: Update several `devDependencies`. 2021-06-08 17:15:15 +00:00
customize-loader.js Docs: Remove extra spaces from `@param` tags. 2020-06-20 12:58:10 +00:00
customize-loader.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
customize-models.js Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
customize-models.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
customize-preview-nav-menus.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
customize-preview-nav-menus.min.js Build/Test Tools: Update some dependencies. 2021-04-06 14:31:21 +00:00
customize-preview-widgets.js Docs: Remove extra spaces from `@param` tags. 2020-06-20 12:58:10 +00:00
customize-preview-widgets.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
customize-preview.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
customize-preview.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
customize-selective-refresh.js Docs: Correct alignment for some parameters in JS documentation. 2020-07-28 00:07:03 +00:00
customize-selective-refresh.min.js Build/Test Tools: Update some `devDependencies`. 2021-03-18 17:48:23 +00:00
customize-views.js
customize-views.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
heartbeat.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
heartbeat.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
hoverIntent.js External Libraries: Update jQuery hoverIntent to version 1.10.1. 2021-03-10 15:25:20 +00:00
hoverIntent.min.js External Libraries: Update jQuery hoverIntent to version 1.10.1. 2021-03-10 15:25:20 +00:00
hoverintent-js.min.js Fix the admin toolbar js when jQuery is not present and replace the jQuery based hoverIntent.js with a native implementation. Introduces the "hoverintent" (no dependencies) package. 2019-12-10 01:03:02 +00:00
imagesloaded.min.js External Libraries: Update Masonry to 4.2.2 and imagesLoaded to 4.1.4. 2020-06-13 18:53:27 +00:00
json2.js
json2.min.js Build/Test Tools: Update the `uglify-js` package. 2021-01-20 13:35:18 +00:00
masonry.min.js External Libraries: Update Masonry to 4.2.2 and imagesLoaded to 4.1.4. 2020-06-13 18:53:27 +00:00
mce-view.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
mce-view.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
media-audiovideo.js Build: Use deterministic module ids in webpack for media. 2021-05-25 00:12:57 +00:00
media-audiovideo.min.js Build: Use deterministic module ids in webpack for media. 2021-05-25 00:12:57 +00:00
media-editor.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
media-editor.min.js Build/Test Tools: Update the `uglify-js` package. 2021-01-20 13:35:18 +00:00
media-grid.js Build: Use deterministic module ids in webpack for media. 2021-05-25 00:12:57 +00:00
media-grid.min.js Build: Use deterministic module ids in webpack for media. 2021-05-25 00:12:57 +00:00
media-models.js Media: Update total attachment count when media added or removed. 2021-06-21 20:46:02 +00:00
media-models.min.js Media: Update total attachment count when media added or removed. 2021-06-21 20:46:02 +00:00
media-views.js Media: Restore AJAX response data shape in media library. 2021-06-14 20:50:57 +00:00
media-views.min.js Media: Restore AJAX response data shape in media library. 2021-06-14 20:50:57 +00:00
quicktags.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
quicktags.min.js Build/Test Tools: Update several `devDependencies`. 2021-06-08 17:15:15 +00:00
shortcode.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
shortcode.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
twemoji.js Emoji: Update the Twemoji library to version 13.1.0. 2021-06-08 22:15:12 +00:00
twemoji.min.js Emoji: Update the Twemoji library to version 13.1.0. 2021-06-08 22:15:12 +00:00
underscore.js External Libraries: Update Underscore to version 1.13.1. 2021-04-21 17:55:19 +00:00
underscore.min.js Build/Test Tools: Update the several dependencies. 2021-05-27 19:33:19 +00:00
utils.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
utils.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
wp-ajax-response.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wp-ajax-response.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wp-api.js REST API: JS Client - improve collection route construction for empty parents. 2020-10-29 18:32:05 +00:00
wp-api.min.js Build/Test Tools: Update some `devDependencies`. 2021-03-18 17:48:23 +00:00
wp-auth-check.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wp-auth-check.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wp-backbone.js Docs: Remove extra spaces from `@param` tags. 2020-06-20 12:58:10 +00:00
wp-backbone.min.js Build/Test Tools: Update some `devDependencies`. 2021-03-18 17:48:23 +00:00
wp-custom-header.js Customize: Set `playsinline` attribute for custom header videos. 2021-04-10 12:40:05 +00:00
wp-custom-header.min.js Customize: Set `playsinline` attribute for custom header videos. 2021-04-10 12:40:05 +00:00
wp-embed-template.js Embeds: Only catch clicks from the primary mouse button in the click handler, without any modifier keys. 2020-10-19 13:36:08 +00:00
wp-embed-template.min.js Build/Test Tools: Update the `uglify-js` package. 2021-01-20 13:35:18 +00:00
wp-embed.js
wp-embed.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
wp-emoji-loader.js Emoji: Update the Twemoji library to version 13.1.0. 2021-06-08 22:15:12 +00:00
wp-emoji-loader.min.js Emoji: Update the Twemoji library to version 13.1.0. 2021-06-08 22:15:12 +00:00
wp-emoji-release.min.js Emoji: Update the Twemoji library to version 13.1.0. 2021-06-08 22:15:12 +00:00
wp-emoji.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wp-emoji.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
wp-list-revisions.js
wp-list-revisions.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
wp-lists.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
wp-lists.min.js Build/Test Tools: Update several `devDependencies`. 2021-06-08 17:15:15 +00:00
wp-pointer.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-16 20:25:03 +00:00
wp-pointer.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-16 20:25:03 +00:00
wp-sanitize.js Update wp.a11y.speak() to sanitize HTML before display. 2019-09-04 17:13:21 +00:00
wp-sanitize.min.js Build/Test Tools: Update some `devDependencies`. 2021-03-18 17:48:23 +00:00
wp-util.js Media: Adapt response shape depending on type of query. 2021-06-20 23:27:01 +00:00
wp-util.min.js Media: Adapt response shape depending on type of query. 2021-06-20 23:27:01 +00:00
wpdialog.js
wpdialog.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wplink.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wplink.min.js Build/Test Tools: Update several `devDependencies`. 2021-06-08 17:15:15 +00:00
zxcvbn-async.js
zxcvbn-async.min.js Build/Test Tools: Update NPM dependencies. 2021-02-23 16:45:19 +00:00
zxcvbn.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00