mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 15:31:04 +01:00
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:
parent
996817c3d9
commit
86754f2bc2
@ -259,8 +259,9 @@ var runtime = (function (exports) {
|
|||||||
throw arg;
|
throw arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Be forgiving, per 25.3.3.3.3 of the spec:
|
// Be forgiving, per GeneratorResume behavior specified since ES2015:
|
||||||
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
// 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();
|
return doneResult();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -333,7 +334,7 @@ var runtime = (function (exports) {
|
|||||||
var method = delegate.iterator[methodName];
|
var method = delegate.iterator[methodName];
|
||||||
if (method === undefined) {
|
if (method === undefined) {
|
||||||
// A .throw or .return when the delegate iterator has no .throw
|
// 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.
|
// yield* loop.
|
||||||
context.delegate = null;
|
context.delegate = null;
|
||||||
|
|
||||||
@ -487,7 +488,7 @@ var runtime = (function (exports) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
function values(iterable) {
|
function values(iterable) {
|
||||||
if (iterable || iterable === "") {
|
if (iterable != null) {
|
||||||
var iteratorMethod = iterable[iteratorSymbol];
|
var iteratorMethod = iterable[iteratorSymbol];
|
||||||
if (iteratorMethod) {
|
if (iteratorMethod) {
|
||||||
return iteratorMethod.call(iterable);
|
return iteratorMethod.call(iterable);
|
||||||
|
File diff suppressed because one or more lines are too long
@ -111,7 +111,7 @@ function wp_default_packages_vendor( $scripts ) {
|
|||||||
'react' => '18.3.1',
|
'react' => '18.3.1',
|
||||||
'react-dom' => '18.3.1',
|
'react-dom' => '18.3.1',
|
||||||
'react-jsx-runtime' => '18.3.1',
|
'react-jsx-runtime' => '18.3.1',
|
||||||
'regenerator-runtime' => '0.14.0',
|
'regenerator-runtime' => '0.14.1',
|
||||||
'moment' => '2.29.4',
|
'moment' => '2.29.4',
|
||||||
'lodash' => '4.17.21',
|
'lodash' => '4.17.21',
|
||||||
'wp-polyfill-fetch' => '3.6.17',
|
'wp-polyfill-fetch' => '3.6.17',
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user