Make WordPress Core

Opened 11 months ago

Closed 10 months ago

Last modified 10 months ago

#59078 closed enhancement (fixed)

Update the regenerator-runtime library

Reported by: desrosj's profile desrosj Owned by: desrosj's profile desrosj
Milestone: 6.4 Priority: normal
Severity: normal Version:
Component: External Libraries Keywords: good-first-bug has-patch commit
Focuses: Cc:

Description

There's a new version of the regenerator-runtime polyfill library (0.14.0).

This library is no longer used directly in Core, but is maintained as a courtesy.

A full list of changes can be found on GitHub: https://github.com/facebook/regenerator/compare/regenerator-runtime%400.13.11...regenerator-runtime%400.14.0.

Change History (6)

This ticket was mentioned in PR #5004 on WordPress/wordpress-develop by @rajinsharwar.


11 months ago
#1

  • Keywords has-patch added; needs-patch removed

Updating regenerator-runtime to 0.14.0

Trac ticket: https://core.trac.wordpress.org/ticket/59078

#2 follow-up: @oglekler
10 months ago

babel/runtime@7.20.13 has regenerator-runtime@0.13.11 as dependency, in order to change regenerator-runtime, babel/runtime needs to be changed as well, otherwise it will still use older version.

@desrosj commented on PR #5004:


10 months ago
#3

Thanks @Rajinsharwar!

#4 in reply to: ↑ 2 @desrosj
10 months ago

  • Keywords commit added
  • Owner set to desrosj
  • Status changed from new to assigned

Replying to oglekler:

babel/runtime@7.20.13 has regenerator-runtime@0.13.11 as dependency, in order to change regenerator-runtime, babel/runtime needs to be changed as well, otherwise it will still use older version.

Hmm, I did some testing and it seems that the PR attached works great. npm should be smart enough to resolve this.

#5 @desrosj
10 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 56626:

External Libraries: Update the regenerator-runtime library.

This updates the regenerator-runtime library to version 0.14.0.

Props rajinsharwar, oglekler.
Fixes #59078.

#6 @desrosj
10 months ago

In 56627:

External Libraries: Update the regenerator-runtime version.

Adds the required change to the script-loader.php file for [56626] that was missed.

See #59078.

Note: See TracTickets for help on using tickets.