From 6ef3cac25b5e6d486808abbd3fd6f9fcf19a8db8 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 9 Apr 2024 11:08:26 +0000 Subject: [PATCH] Editor: Update npm packages for the 6.4 branch. Updates the editor npm packages to the latest patch versions. git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57951 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 104 +++++++++++++++--------------- package.json | 14 ++-- src/wp-includes/blocks/avatar.php | 4 +- 3 files changed, 61 insertions(+), 61 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6e10ffda64..7e606983da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,9 +16,9 @@ "@wordpress/api-fetch": "6.39.13", "@wordpress/autop": "3.42.13", "@wordpress/blob": "3.42.13", - "@wordpress/block-directory": "4.19.16", + "@wordpress/block-directory": "4.19.17", "@wordpress/block-editor": "12.10.14", - "@wordpress/block-library": "8.19.16", + "@wordpress/block-library": "8.19.17", "@wordpress/block-serialization-default-parser": "4.42.13", "@wordpress/blocks": "12.19.13", "@wordpress/commands": "0.13.14", @@ -26,16 +26,16 @@ "@wordpress/compose": "6.19.13", "@wordpress/core-commands": "0.11.14", "@wordpress/core-data": "6.19.14", - "@wordpress/customize-widgets": "4.19.16", + "@wordpress/customize-widgets": "4.19.17", "@wordpress/data": "9.12.13", "@wordpress/data-controls": "3.11.13", "@wordpress/date": "4.42.13", "@wordpress/deprecated": "3.42.13", "@wordpress/dom": "3.42.13", "@wordpress/dom-ready": "3.42.13", - "@wordpress/edit-post": "7.19.16", - "@wordpress/edit-site": "5.19.16", - "@wordpress/edit-widgets": "5.19.16", + "@wordpress/edit-post": "7.19.17", + "@wordpress/edit-site": "5.19.17", + "@wordpress/edit-widgets": "5.19.17", "@wordpress/editor": "13.19.14", "@wordpress/element": "5.19.13", "@wordpress/escape-html": "2.42.13", @@ -6461,9 +6461,9 @@ } }, "node_modules/@wordpress/block-directory": { - "version": "4.19.16", - "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.19.16.tgz", - "integrity": "sha512-7YOqeZt8ExyMidbblzht7x5jnfpZVD6N69VuDrvdlB/8eB7gl62tKZdNXHwWoZccSWJb+xUTZL01k2HpJulcPQ==", + "version": "4.19.17", + "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.19.17.tgz", + "integrity": "sha512-Lk+/UaDbPmXuVcXUuQiN9laH0KT0Kd0FvtH46uds2gPHvS6eJu15gd+bP7+FDTeG+XFlhz9BstDigG01ul85mA==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.42.13", @@ -6474,7 +6474,7 @@ "@wordpress/compose": "^6.19.13", "@wordpress/core-data": "^6.19.14", "@wordpress/data": "^9.12.13", - "@wordpress/edit-post": "^7.19.16", + "@wordpress/edit-post": "^7.19.17", "@wordpress/editor": "^13.19.14", "@wordpress/element": "^5.19.13", "@wordpress/hooks": "^3.42.13", @@ -6556,9 +6556,9 @@ } }, "node_modules/@wordpress/block-library": { - "version": "8.19.16", - "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.19.16.tgz", - "integrity": "sha512-6NqTHjEYk3X+jzw6JS3pOgVYl2HPlr0iAI3Ch9sdOxozAm1+VrE5DKeM//rf9QpR7wWJ6je4F/eNjZ2WJIYTfw==", + "version": "8.19.17", + "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.19.17.tgz", + "integrity": "sha512-K+Tnvo1kQf5pf2BbnCwlWzmLhLJbQb8aQ9WrkIXZePutvAiIYH0BcB82WaZZqcRN4nYppM64yjcNz666/y0T/w==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.42.13", @@ -6844,13 +6844,13 @@ } }, "node_modules/@wordpress/customize-widgets": { - "version": "4.19.16", - "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.19.16.tgz", - "integrity": "sha512-UK4RrEBFwdn8WcY7qXXbRcncuWXLMpB9gjiBVhwPmM5m1//A0wsOQu2kAkZeACuhYoEJ/N6g4yZh2ZnldJVR3w==", + "version": "4.19.17", + "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.19.17.tgz", + "integrity": "sha512-hKJ6aCk7euwJjagOq+6F/fqfMiVPEGcUsSG2ib9vGNjnno1gp0xIbQl8gmqBYUjgGdGTpdKi7xQEm4hnAQpX2A==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/block-editor": "^12.10.14", - "@wordpress/block-library": "^8.19.16", + "@wordpress/block-library": "^8.19.17", "@wordpress/blocks": "^12.19.13", "@wordpress/components": "^25.8.14", "@wordpress/compose": "^6.19.13", @@ -7149,15 +7149,15 @@ } }, "node_modules/@wordpress/edit-post": { - "version": "7.19.16", - "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.19.16.tgz", - "integrity": "sha512-PK0XVHLrn6Bg47O8sq7UIBykJOJGF2xsbkOjhRVniD+6EYdYifpGYHTC9nHogEfw691xcz+vAqS87D01x3SfEQ==", + "version": "7.19.17", + "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.19.17.tgz", + "integrity": "sha512-K0y2oHTh7mrGVQTQVVu2avnrLMho+V4/7QJ+BNvUxdaTzzmnPPf2p20xn8EessuaYhC5X/GI3MTWUK663pNJig==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.42.13", "@wordpress/api-fetch": "^6.39.13", "@wordpress/block-editor": "^12.10.14", - "@wordpress/block-library": "^8.19.16", + "@wordpress/block-library": "^8.19.17", "@wordpress/blocks": "^12.19.13", "@wordpress/commands": "^0.13.14", "@wordpress/components": "^25.8.14", @@ -7197,15 +7197,15 @@ } }, "node_modules/@wordpress/edit-site": { - "version": "5.19.16", - "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.19.16.tgz", - "integrity": "sha512-shraoCd4LCNngtBn9E7U6Na/l+zrU0nTXztgZSuVsqSGktAgHBi7pXMUTsCGqO/vp9fnmW9LU3tQ9XgLEogjkg==", + "version": "5.19.17", + "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.19.17.tgz", + "integrity": "sha512-aA7inRMTwVn3/rac7NNw6xn4Ravezw5aNgDK8RCY09h3kr9/wXwzCOo18TAAoA7JTrWj5SlfLgiWBx5C1u9wJg==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.42.13", "@wordpress/api-fetch": "^6.39.13", "@wordpress/block-editor": "^12.10.14", - "@wordpress/block-library": "^8.19.16", + "@wordpress/block-library": "^8.19.17", "@wordpress/blocks": "^12.19.13", "@wordpress/commands": "^0.13.14", "@wordpress/components": "^25.8.14", @@ -7261,14 +7261,14 @@ } }, "node_modules/@wordpress/edit-widgets": { - "version": "5.19.16", - "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.19.16.tgz", - "integrity": "sha512-1yTkLHQjf/LEmxlw2y0bqgkZcqO2Gs0H8QK1JHEJdHrAK+R5nBd55Jq4Wb2IU+QsUAaGvQzuF+FfHAA4YkLUwQ==", + "version": "5.19.17", + "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.19.17.tgz", + "integrity": "sha512-MJDDGUC1KE4wVEq+t3utoDnpIpR44XXjEpVbB9A5cmjYuE88SxVmpkveLheRa4/qEnwbvMuH7cySj6I5GThB2g==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/api-fetch": "^6.39.13", "@wordpress/block-editor": "^12.10.14", - "@wordpress/block-library": "^8.19.16", + "@wordpress/block-library": "^8.19.17", "@wordpress/blocks": "^12.19.13", "@wordpress/components": "^25.8.14", "@wordpress/compose": "^6.19.13", @@ -38802,9 +38802,9 @@ } }, "@wordpress/block-directory": { - "version": "4.19.16", - "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.19.16.tgz", - "integrity": "sha512-7YOqeZt8ExyMidbblzht7x5jnfpZVD6N69VuDrvdlB/8eB7gl62tKZdNXHwWoZccSWJb+xUTZL01k2HpJulcPQ==", + "version": "4.19.17", + "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.19.17.tgz", + "integrity": "sha512-Lk+/UaDbPmXuVcXUuQiN9laH0KT0Kd0FvtH46uds2gPHvS6eJu15gd+bP7+FDTeG+XFlhz9BstDigG01ul85mA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.42.13", @@ -38815,7 +38815,7 @@ "@wordpress/compose": "^6.19.13", "@wordpress/core-data": "^6.19.14", "@wordpress/data": "^9.12.13", - "@wordpress/edit-post": "^7.19.16", + "@wordpress/edit-post": "^7.19.17", "@wordpress/editor": "^13.19.14", "@wordpress/element": "^5.19.13", "@wordpress/hooks": "^3.42.13", @@ -38883,9 +38883,9 @@ } }, "@wordpress/block-library": { - "version": "8.19.16", - "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.19.16.tgz", - "integrity": "sha512-6NqTHjEYk3X+jzw6JS3pOgVYl2HPlr0iAI3Ch9sdOxozAm1+VrE5DKeM//rf9QpR7wWJ6je4F/eNjZ2WJIYTfw==", + "version": "8.19.17", + "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.19.17.tgz", + "integrity": "sha512-K+Tnvo1kQf5pf2BbnCwlWzmLhLJbQb8aQ9WrkIXZePutvAiIYH0BcB82WaZZqcRN4nYppM64yjcNz666/y0T/w==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.42.13", @@ -39118,13 +39118,13 @@ } }, "@wordpress/customize-widgets": { - "version": "4.19.16", - "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.19.16.tgz", - "integrity": "sha512-UK4RrEBFwdn8WcY7qXXbRcncuWXLMpB9gjiBVhwPmM5m1//A0wsOQu2kAkZeACuhYoEJ/N6g4yZh2ZnldJVR3w==", + "version": "4.19.17", + "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.19.17.tgz", + "integrity": "sha512-hKJ6aCk7euwJjagOq+6F/fqfMiVPEGcUsSG2ib9vGNjnno1gp0xIbQl8gmqBYUjgGdGTpdKi7xQEm4hnAQpX2A==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/block-editor": "^12.10.14", - "@wordpress/block-library": "^8.19.16", + "@wordpress/block-library": "^8.19.17", "@wordpress/blocks": "^12.19.13", "@wordpress/components": "^25.8.14", "@wordpress/compose": "^6.19.13", @@ -39347,15 +39347,15 @@ } }, "@wordpress/edit-post": { - "version": "7.19.16", - "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.19.16.tgz", - "integrity": "sha512-PK0XVHLrn6Bg47O8sq7UIBykJOJGF2xsbkOjhRVniD+6EYdYifpGYHTC9nHogEfw691xcz+vAqS87D01x3SfEQ==", + "version": "7.19.17", + "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.19.17.tgz", + "integrity": "sha512-K0y2oHTh7mrGVQTQVVu2avnrLMho+V4/7QJ+BNvUxdaTzzmnPPf2p20xn8EessuaYhC5X/GI3MTWUK663pNJig==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.42.13", "@wordpress/api-fetch": "^6.39.13", "@wordpress/block-editor": "^12.10.14", - "@wordpress/block-library": "^8.19.16", + "@wordpress/block-library": "^8.19.17", "@wordpress/blocks": "^12.19.13", "@wordpress/commands": "^0.13.14", "@wordpress/components": "^25.8.14", @@ -39388,15 +39388,15 @@ } }, "@wordpress/edit-site": { - "version": "5.19.16", - "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.19.16.tgz", - "integrity": "sha512-shraoCd4LCNngtBn9E7U6Na/l+zrU0nTXztgZSuVsqSGktAgHBi7pXMUTsCGqO/vp9fnmW9LU3tQ9XgLEogjkg==", + "version": "5.19.17", + "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.19.17.tgz", + "integrity": "sha512-aA7inRMTwVn3/rac7NNw6xn4Ravezw5aNgDK8RCY09h3kr9/wXwzCOo18TAAoA7JTrWj5SlfLgiWBx5C1u9wJg==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.42.13", "@wordpress/api-fetch": "^6.39.13", "@wordpress/block-editor": "^12.10.14", - "@wordpress/block-library": "^8.19.16", + "@wordpress/block-library": "^8.19.17", "@wordpress/blocks": "^12.19.13", "@wordpress/commands": "^0.13.14", "@wordpress/components": "^25.8.14", @@ -39445,14 +39445,14 @@ } }, "@wordpress/edit-widgets": { - "version": "5.19.16", - "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.19.16.tgz", - "integrity": "sha512-1yTkLHQjf/LEmxlw2y0bqgkZcqO2Gs0H8QK1JHEJdHrAK+R5nBd55Jq4Wb2IU+QsUAaGvQzuF+FfHAA4YkLUwQ==", + "version": "5.19.17", + "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.19.17.tgz", + "integrity": "sha512-MJDDGUC1KE4wVEq+t3utoDnpIpR44XXjEpVbB9A5cmjYuE88SxVmpkveLheRa4/qEnwbvMuH7cySj6I5GThB2g==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/api-fetch": "^6.39.13", "@wordpress/block-editor": "^12.10.14", - "@wordpress/block-library": "^8.19.16", + "@wordpress/block-library": "^8.19.17", "@wordpress/blocks": "^12.19.13", "@wordpress/components": "^25.8.14", "@wordpress/compose": "^6.19.13", diff --git a/package.json b/package.json index 35fa029402..3cc62b9274 100644 --- a/package.json +++ b/package.json @@ -85,9 +85,9 @@ "@wordpress/api-fetch": "6.39.13", "@wordpress/autop": "3.42.13", "@wordpress/blob": "3.42.13", - "@wordpress/block-directory": "4.19.16", + "@wordpress/block-directory": "4.19.17", "@wordpress/block-editor": "12.10.14", - "@wordpress/block-library": "8.19.16", + "@wordpress/block-library": "8.19.17", "@wordpress/block-serialization-default-parser": "4.42.13", "@wordpress/blocks": "12.19.13", "@wordpress/commands": "0.13.14", @@ -95,16 +95,16 @@ "@wordpress/compose": "6.19.13", "@wordpress/core-commands": "0.11.14", "@wordpress/core-data": "6.19.14", - "@wordpress/customize-widgets": "4.19.16", + "@wordpress/customize-widgets": "4.19.17", "@wordpress/data": "9.12.13", "@wordpress/data-controls": "3.11.13", "@wordpress/date": "4.42.13", "@wordpress/deprecated": "3.42.13", "@wordpress/dom": "3.42.13", "@wordpress/dom-ready": "3.42.13", - "@wordpress/edit-post": "7.19.16", - "@wordpress/edit-site": "5.19.16", - "@wordpress/edit-widgets": "5.19.16", + "@wordpress/edit-post": "7.19.17", + "@wordpress/edit-site": "5.19.17", + "@wordpress/edit-widgets": "5.19.17", "@wordpress/editor": "13.19.14", "@wordpress/element": "5.19.13", "@wordpress/escape-html": "2.42.13", @@ -198,4 +198,4 @@ "sync-gutenberg-packages": "grunt sync-gutenberg-packages", "postsync-gutenberg-packages": "grunt wp-packages:sync-stable-blocks && grunt build --dev && grunt build" } -} \ No newline at end of file +} diff --git a/src/wp-includes/blocks/avatar.php b/src/wp-includes/blocks/avatar.php index d404fb81ca..ba6a5e043c 100644 --- a/src/wp-includes/blocks/avatar.php +++ b/src/wp-includes/blocks/avatar.php @@ -49,7 +49,7 @@ function render_block_core_avatar( $attributes, $content, $block ) { $label = ''; if ( '_blank' === $attributes['linkTarget'] ) { // translators: %s is the Author name. - $label = 'aria-label="' . sprintf( esc_attr__( '(%s author archive, opens in a new tab)' ), $author_name ) . '"'; + $label = 'aria-label="' . esc_attr( sprintf( __( '(%s author archive, opens in a new tab)' ), $author_name ) ) . '"'; } // translators: %1$s: Author archive link. %2$s: Link target. %3$s Aria label. %4$s Avatar image. $avatar_block = sprintf( '%4$s', esc_url( get_author_posts_url( $author_id ) ), esc_attr( $attributes['linkTarget'] ), $label, $avatar_block ); @@ -76,7 +76,7 @@ function render_block_core_avatar( $attributes, $content, $block ) { $label = ''; if ( '_blank' === $attributes['linkTarget'] ) { // translators: %s is the Comment Author name. - $label = 'aria-label="' . sprintf( esc_attr__( '(%s website link, opens in a new tab)' ), $comment->comment_author ) . '"'; + $label = 'aria-label="' . esc_attr( sprintf( __( '(%s website link, opens in a new tab)' ), $comment->comment_author ) ) . '"'; } // translators: %1$s: Comment Author website link. %2$s: Link target. %3$s Aria label. %4$s Avatar image. $avatar_block = sprintf( '%4$s', esc_url( $comment->comment_author_url ), esc_attr( $attributes['linkTarget'] ), $label, $avatar_block );