External Libraries: Update the regenerator-runtime library.

This updates the `regenerator-runtime` library to version `0.14.1`.

This library has not been used by Core itself in quite a while and only maintained as a courtesy. Any projects relying on `regenerator-runtime` should reevaluate their usage.

Props manooweb.
Fixes #60515.
Built from https://develop.svn.wordpress.org/trunk@58800


git-svn-id: http://core.svn.wordpress.org/trunk@58196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2024-07-24 14:07:17 +00:00
parent 996817c3d9
commit 86754f2bc2
4 changed files with 8 additions and 7 deletions

View File

@ -259,8 +259,9 @@ var runtime = (function (exports) {
throw arg;
}
// Be forgiving, per 25.3.3.3.3 of the spec:
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
// Be forgiving, per GeneratorResume behavior specified since ES2015:
// ES2015 spec, step 3: https://262.ecma-international.org/6.0/#sec-generatorresume
// Latest spec, step 2: https://tc39.es/ecma262/#sec-generatorresume
return doneResult();
}
@ -333,7 +334,7 @@ var runtime = (function (exports) {
var method = delegate.iterator[methodName];
if (method === undefined) {
// A .throw or .return when the delegate iterator has no .throw
// method, or a missing .next mehtod, always terminate the
// method, or a missing .next method, always terminate the
// yield* loop.
context.delegate = null;
@ -487,7 +488,7 @@ var runtime = (function (exports) {
};
function values(iterable) {
if (iterable || iterable === "") {
if (iterable != null) {
var iteratorMethod = iterable[iteratorSymbol];
if (iteratorMethod) {
return iteratorMethod.call(iterable);

File diff suppressed because one or more lines are too long

View File

@ -111,7 +111,7 @@ function wp_default_packages_vendor( $scripts ) {
'react' => '18.3.1',
'react-dom' => '18.3.1',
'react-jsx-runtime' => '18.3.1',
'regenerator-runtime' => '0.14.0',
'regenerator-runtime' => '0.14.1',
'moment' => '2.29.4',
'lodash' => '4.17.21',
'wp-polyfill-fetch' => '3.6.17',

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58799';
$wp_version = '6.7-alpha-58800';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.