mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 04:34:31 +00:00
Editor: Update @wordpress npm packages
Update @wordpress npm packages to the latest published versions. This means that the block editor includes functionality that exists in Gutenberg 9.8. See #52334. Props isabel_brison. git-svn-id: https://develop.svn.wordpress.org/trunk@50048 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -90,6 +90,7 @@ function wp_default_packages_vendor( $scripts ) {
|
||||
'wp-polyfill-url',
|
||||
'wp-polyfill-dom-rect',
|
||||
'wp-polyfill-element-closest',
|
||||
'wp-polyfill-object-fit',
|
||||
'wp-polyfill',
|
||||
);
|
||||
|
||||
@@ -104,6 +105,7 @@ function wp_default_packages_vendor( $scripts ) {
|
||||
'wp-polyfill-url' => '3.6.4',
|
||||
'wp-polyfill-dom-rect' => '3.42.0',
|
||||
'wp-polyfill-element-closest' => '2.0.2',
|
||||
'wp-polyfill-object-fit' => '2.3.4',
|
||||
'wp-polyfill' => '7.4.4',
|
||||
);
|
||||
|
||||
@@ -131,6 +133,7 @@ function wp_default_packages_vendor( $scripts ) {
|
||||
'window.URL && window.URL.prototype && window.URLSearchParams' => 'wp-polyfill-url',
|
||||
'window.FormData && window.FormData.prototype.keys' => 'wp-polyfill-formdata',
|
||||
'Element.prototype.matches && Element.prototype.closest' => 'wp-polyfill-element-closest',
|
||||
'\'objectFit\' in document.documentElement.style' => 'wp-polyfill-object-fit',
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user