diff -r 48c4eec2b7e6 -r 8c2e4d02f4ef wp/wp-includes/js/dist/vendor/regenerator-runtime.js --- a/wp/wp-includes/js/dist/vendor/regenerator-runtime.js Fri Sep 05 18:40:08 2025 +0200 +++ b/wp/wp-includes/js/dist/vendor/regenerator-runtime.js Fri Sep 05 18:52:52 2025 +0200 @@ -259,8 +259,9 @@ 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 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 @@ }; function values(iterable) { - if (iterable || iterable === "") { + if (iterable != null) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) { return iteratorMethod.call(iterable);