External Libraries: Update miscellaneous libraries to their latest versions.
This updates the following external libraries to their latest versions: - `polyfill-library` from `4.4.0` to `4.7.0`. - `regenerator-runtime` from `0.13.9` to `0.13.11`. These updates are minor without any breaking changes. These libraries are no longer used by Core itself and maintained as a courtesy. Any projects relying on them should reevaluate their usage as modern browsers have made these almost entirely unnecessary. Fixes #57646. Built from https://develop.svn.wordpress.org/trunk@55269 git-svn-id: http://core.svn.wordpress.org/trunk@54802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0ba150a87b
commit
ebef2f74cb
|
@ -10,6 +10,7 @@ var runtime = (function (exports) {
|
||||||
|
|
||||||
var Op = Object.prototype;
|
var Op = Object.prototype;
|
||||||
var hasOwn = Op.hasOwnProperty;
|
var hasOwn = Op.hasOwnProperty;
|
||||||
|
var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; };
|
||||||
var undefined; // More compressible than void 0.
|
var undefined; // More compressible than void 0.
|
||||||
var $Symbol = typeof Symbol === "function" ? Symbol : {};
|
var $Symbol = typeof Symbol === "function" ? Symbol : {};
|
||||||
var iteratorSymbol = $Symbol.iterator || "@@iterator";
|
var iteratorSymbol = $Symbol.iterator || "@@iterator";
|
||||||
|
@ -42,7 +43,7 @@ var runtime = (function (exports) {
|
||||||
|
|
||||||
// The ._invoke method unifies the implementations of the .next,
|
// The ._invoke method unifies the implementations of the .next,
|
||||||
// .throw, and .return methods.
|
// .throw, and .return methods.
|
||||||
generator._invoke = makeInvokeMethod(innerFn, self, context);
|
defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) });
|
||||||
|
|
||||||
return generator;
|
return generator;
|
||||||
}
|
}
|
||||||
|
@ -103,8 +104,12 @@ var runtime = (function (exports) {
|
||||||
var Gp = GeneratorFunctionPrototype.prototype =
|
var Gp = GeneratorFunctionPrototype.prototype =
|
||||||
Generator.prototype = Object.create(IteratorPrototype);
|
Generator.prototype = Object.create(IteratorPrototype);
|
||||||
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
||||||
define(Gp, "constructor", GeneratorFunctionPrototype);
|
defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: true });
|
||||||
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
defineProperty(
|
||||||
|
GeneratorFunctionPrototype,
|
||||||
|
"constructor",
|
||||||
|
{ value: GeneratorFunction, configurable: true }
|
||||||
|
);
|
||||||
GeneratorFunction.displayName = define(
|
GeneratorFunction.displayName = define(
|
||||||
GeneratorFunctionPrototype,
|
GeneratorFunctionPrototype,
|
||||||
toStringTagSymbol,
|
toStringTagSymbol,
|
||||||
|
@ -214,7 +219,7 @@ var runtime = (function (exports) {
|
||||||
|
|
||||||
// Define the unified helper method that is used to implement .next,
|
// Define the unified helper method that is used to implement .next,
|
||||||
// .throw, and .return (see defineIteratorMethods).
|
// .throw, and .return (see defineIteratorMethods).
|
||||||
this._invoke = enqueue;
|
defineProperty(this, "_invoke", { value: enqueue });
|
||||||
}
|
}
|
||||||
|
|
||||||
defineIteratorMethods(AsyncIterator.prototype);
|
defineIteratorMethods(AsyncIterator.prototype);
|
||||||
|
@ -324,15 +329,16 @@ var runtime = (function (exports) {
|
||||||
// delegate iterator, or by modifying context.method and context.arg,
|
// delegate iterator, or by modifying context.method and context.arg,
|
||||||
// setting context.delegate to null, and returning the ContinueSentinel.
|
// setting context.delegate to null, and returning the ContinueSentinel.
|
||||||
function maybeInvokeDelegate(delegate, context) {
|
function maybeInvokeDelegate(delegate, context) {
|
||||||
var method = delegate.iterator[context.method];
|
var methodName = context.method;
|
||||||
|
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 always terminates the yield* loop.
|
// method, or a missing .next mehtod, always terminate the
|
||||||
|
// yield* loop.
|
||||||
context.delegate = null;
|
context.delegate = null;
|
||||||
|
|
||||||
if (context.method === "throw") {
|
|
||||||
// Note: ["return"] must be used for ES3 parsing compatibility.
|
// Note: ["return"] must be used for ES3 parsing compatibility.
|
||||||
if (delegate.iterator["return"]) {
|
if (methodName === "throw" && delegate.iterator["return"]) {
|
||||||
// If the delegate iterator has a return method, give it a
|
// If the delegate iterator has a return method, give it a
|
||||||
// chance to clean up.
|
// chance to clean up.
|
||||||
context.method = "return";
|
context.method = "return";
|
||||||
|
@ -345,10 +351,10 @@ var runtime = (function (exports) {
|
||||||
return ContinueSentinel;
|
return ContinueSentinel;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (methodName !== "return") {
|
||||||
context.method = "throw";
|
context.method = "throw";
|
||||||
context.arg = new TypeError(
|
context.arg = new TypeError(
|
||||||
"The iterator does not provide a 'throw' method");
|
"The iterator does not provide a '" + methodName + "' method");
|
||||||
}
|
}
|
||||||
|
|
||||||
return ContinueSentinel;
|
return ContinueSentinel;
|
||||||
|
@ -452,7 +458,8 @@ var runtime = (function (exports) {
|
||||||
this.reset(true);
|
this.reset(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.keys = function(object) {
|
exports.keys = function(val) {
|
||||||
|
var object = Object(val);
|
||||||
var keys = [];
|
var keys = [];
|
||||||
for (var key in object) {
|
for (var key in object) {
|
||||||
keys.push(key);
|
keys.push(key);
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -106,14 +106,14 @@ function wp_default_packages_vendor( $scripts ) {
|
||||||
$vendor_scripts_versions = array(
|
$vendor_scripts_versions = array(
|
||||||
'react' => '18.2.0',
|
'react' => '18.2.0',
|
||||||
'react-dom' => '18.2.0',
|
'react-dom' => '18.2.0',
|
||||||
'regenerator-runtime' => '0.13.9',
|
'regenerator-runtime' => '0.13.11',
|
||||||
'moment' => '2.29.4',
|
'moment' => '2.29.4',
|
||||||
'lodash' => '4.17.19',
|
'lodash' => '4.17.19',
|
||||||
'wp-polyfill-fetch' => '3.6.2',
|
'wp-polyfill-fetch' => '3.6.2',
|
||||||
'wp-polyfill-formdata' => '4.0.10',
|
'wp-polyfill-formdata' => '4.0.10',
|
||||||
'wp-polyfill-node-contains' => '4.4.0',
|
'wp-polyfill-node-contains' => '4.6.0',
|
||||||
'wp-polyfill-url' => '3.6.4',
|
'wp-polyfill-url' => '3.6.4',
|
||||||
'wp-polyfill-dom-rect' => '4.4.0',
|
'wp-polyfill-dom-rect' => '4.6.0',
|
||||||
'wp-polyfill-element-closest' => '2.0.2',
|
'wp-polyfill-element-closest' => '2.0.2',
|
||||||
'wp-polyfill-object-fit' => '2.3.5',
|
'wp-polyfill-object-fit' => '2.3.5',
|
||||||
'wp-polyfill-inert' => '3.1.2',
|
'wp-polyfill-inert' => '3.1.2',
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.2-alpha-55268';
|
$wp_version = '6.2-alpha-55269';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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