Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Update npm packages to latest versions for 6.4 Beta 1 #5262

Closed
wants to merge 77 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
f4144d8
Add changes from #5195
mikachan Sep 20, 2023
d1960cc
Add changes from #5235
mikachan Sep 20, 2023
63217cd
Output of sync-gutenberg-packages so far
mikachan Sep 20, 2023
59dd68d
Revert comments in update-core.php
mikachan Sep 20, 2023
413751d
Update from latest sync script run
mikachan Sep 20, 2023
3adb980
Potential fix for sync sourcemap warning
mikachan Sep 21, 2023
bb55583
Always enqueue prod Interactivity API
mikachan Sep 21, 2023
22bad59
Update from successful sync packages run
mikachan Sep 21, 2023
dd177b0
Clean interactivity assets
mikachan Sep 21, 2023
f881350
Update from successful sync packages run
mikachan Sep 21, 2023
bac2694
Update src/wp-includes/script-loader.php
mikachan Sep 21, 2023
f06bde5
Merge branch 'trunk' into packpage-updates-6.4-beta1
mikachan Sep 21, 2023
ae84988
Results of sync packages script after merge with trunk
mikachan Sep 21, 2023
670ad3a
Update packages using wp-6.4 dist-tag
mikachan Sep 25, 2023
b2a22e2
Merge branch 'trunk' into packpage-updates-6.4-beta1
mikachan Sep 25, 2023
47dde56
Results of npm run build:dev
mikachan Sep 25, 2023
836b9d0
Update tools/webpack/blocks.js
mikachan Sep 25, 2023
9beee04
Re-run npm run build:dev
mikachan Sep 25, 2023
c22d71b
Remove sync pkg from sourcemap config
mikachan Sep 26, 2023
ea5bb8b
Update search/view path
mikachan Sep 26, 2023
709b604
Update src/wp-includes/script-loader.php
mikachan Sep 26, 2023
3cea4be
Docs: Correct typo in new `@since` tag.
desrosj Sep 25, 2023
219483f
Coding Standards: Fix a few newly introduced WPCS issues.
SergeyBiryukov Sep 25, 2023
75c3843
Options, Meta APIs: Improve logic to avoid unnecessary database write…
felixarntz Sep 25, 2023
1e1ed26
Script Loader: Replace hardcoded output of style tags with calls to `…
spacedmonkey Sep 25, 2023
76ea238
Editor: Introduce get_block_asset_url Utility Function.
spacedmonkey Sep 25, 2023
d87f9b8
HTML API: Remove all duplicate copies of an attribute when removing.
ockham Sep 25, 2023
4e4b94a
Docs: Revert [56679].
desrosj Sep 25, 2023
a6bf745
Script Loader: Use `wp_get_script_tag()` and `wp_get_inline_script_ta…
westonruter Sep 25, 2023
0eae815
Fonts: Get font-family name from 'fontFamily' field.
hellofromtonya Sep 25, 2023
ef7fa1c
Filesystem API: Introduce filters for before/after unzipping archives.
costdev Sep 25, 2023
6bbce3a
Media: Rely on `wp_get_loading_optimization_attributes()` to add `dec…
felixarntz Sep 25, 2023
670ab40
Filesystem API: Add missing ZIP file for unzip tests.
costdev Sep 25, 2023
f92ba90
Coding Standards: Fix a few newly introduced WPCS issues.
SergeyBiryukov Sep 26, 2023
99a2b31
Media: Ensure images within shortcodes are correctly considered for l…
felixarntz Sep 26, 2023
89f228b
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Sep 26, 2023
6e02a73
Coding Standards: Upgrade WPCS to version 3.0.0.
SergeyBiryukov Sep 26, 2023
b7614a2
Build/Test Tools: Use the latest PHP version for the coding standards…
SergeyBiryukov Sep 26, 2023
5d0827c
Administration: Add event type to Events and News widget.
peterwilsoncc Sep 26, 2023
42eb473
Editor: make better use of Tag Processor in layout block support.
tellthemachines Sep 26, 2023
1ba9ebb
Build: Introduce SCRIPT_DEBUG global in webpack processing
gziolo Sep 26, 2023
3b6b60f
Editor: remove null coalescing operator from layout.
tellthemachines Sep 26, 2023
cf48792
Results of npm run build:dev
mikachan Sep 26, 2023
59c1099
Add sync pkg back to sourcemaps config
mikachan Sep 26, 2023
babbb7a
Add sync package to list of bundled packages
mikachan Sep 26, 2023
fce438a
Remove sync package from sourcemap config
mikachan Sep 26, 2023
6854286
Results of npm run build:dev
mikachan Sep 26, 2023
ab68c96
Revert "Results of npm run build:dev"
mikachan Sep 26, 2023
37c51de
Revert "Remove sync package from sourcemap config"
mikachan Sep 26, 2023
6c77b49
Revert "Add sync package to list of bundled packages"
mikachan Sep 26, 2023
27f9047
Revert "Add sync pkg back to sourcemaps config"
mikachan Sep 26, 2023
5fa88d6
Revert "Results of npm run build:dev"
mikachan Sep 26, 2023
ee20e57
Revert "Editor: remove null coalescing operator from layout."
mikachan Sep 26, 2023
1c1fe1b
Revert "Build: Introduce SCRIPT_DEBUG global in webpack processing"
mikachan Sep 26, 2023
3333c8d
Revert "Editor: make better use of Tag Processor in layout block supp…
mikachan Sep 26, 2023
2bec0bd
Revert "Administration: Add event type to Events and News widget."
mikachan Sep 26, 2023
5d078a5
Revert "Build/Test Tools: Use the latest PHP version for the coding s…
mikachan Sep 26, 2023
7a97b66
Revert "Coding Standards: Upgrade WPCS to version 3.0.0."
mikachan Sep 26, 2023
78f9484
Revert "Code Modernization: Rename parameters that use reserved keywo…
mikachan Sep 26, 2023
abad93f
Revert "Media: Ensure images within shortcodes are correctly consider…
mikachan Sep 26, 2023
2b1df6e
Revert "Coding Standards: Fix a few newly introduced WPCS issues."
mikachan Sep 26, 2023
bbff6d0
Revert "Filesystem API: Add missing ZIP file for unzip tests."
mikachan Sep 26, 2023
c8bd058
Revert "Media: Rely on `wp_get_loading_optimization_attributes()` to …
mikachan Sep 26, 2023
43672e6
Revert "Filesystem API: Introduce filters for before/after unzipping …
mikachan Sep 26, 2023
9c06e87
Revert "Fonts: Get font-family name from 'fontFamily' field."
mikachan Sep 26, 2023
de4ce4f
Revert "Script Loader: Use `wp_get_script_tag()` and `wp_get_inline_s…
mikachan Sep 26, 2023
2237a5d
Revert "Docs: Revert [56679]."
mikachan Sep 26, 2023
bcb6413
Revert "HTML API: Remove all duplicate copies of an attribute when re…
mikachan Sep 26, 2023
58235ef
Revert "Editor: Introduce get_block_asset_url Utility Function."
mikachan Sep 26, 2023
bdb938c
Revert "Script Loader: Replace hardcoded output of style tags with ca…
mikachan Sep 26, 2023
0b307fa
Revert "Options, Meta APIs: Improve logic to avoid unnecessary databa…
mikachan Sep 26, 2023
18ecc50
Revert "Coding Standards: Fix a few newly introduced WPCS issues."
mikachan Sep 26, 2023
291019e
Revert "Docs: Correct typo in new `@since` tag."
mikachan Sep 26, 2023
132c57c
Add sync package to list of bundled packages
mikachan Sep 26, 2023
2ae8c6d
Results of npm run build:dev
mikachan Sep 26, 2023
0587148
Cherry-pick "Results of npm run build:dev"
mikachan Sep 26, 2023
bb34412
Latest results from build:dev
mikachan Sep 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8,575 changes: 5,327 additions & 3,248 deletions package-lock.json

Large diffs are not rendered by default.

132 changes: 68 additions & 64 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"devDependencies": {
"@lodder/grunt-postcss": "^3.1.1",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
"@wordpress/babel-preset-default": "7.19.1",
"@wordpress/dependency-extraction-webpack-plugin": "4.18.1",
"@wordpress/e2e-test-utils": "10.6.4",
"@wordpress/scripts": "26.6.4",
"@wordpress/babel-preset-default": "7.26.0",
"@wordpress/dependency-extraction-webpack-plugin": "4.25.0",
"@wordpress/e2e-test-utils": "10.13.0",
"@wordpress/scripts": "26.13.0",
"autoprefixer": "10.4.14",
"chalk": "5.3.0",
"check-node-version": "4.2.1",
Expand Down Expand Up @@ -78,66 +78,70 @@
"dependencies": {
"@emotion/is-prop-valid": "0.8.8",
"@emotion/memoize": "0.7.4",
"@wordpress/a11y": "3.35.1",
"@wordpress/annotations": "2.35.8",
"@wordpress/api-fetch": "6.32.1",
"@wordpress/autop": "3.35.1",
"@wordpress/blob": "3.35.1",
"@wordpress/block-directory": "4.12.17",
"@wordpress/block-editor": "12.3.14",
"@wordpress/block-library": "8.12.17",
"@wordpress/block-serialization-default-parser": "4.35.1",
"@wordpress/blocks": "12.12.7",
"@wordpress/commands": "0.6.12",
"@wordpress/components": "25.1.11",
"@wordpress/compose": "6.12.2",
"@wordpress/core-commands": "0.4.15",
"@wordpress/core-data": "6.12.15",
"@wordpress/customize-widgets": "4.12.17",
"@wordpress/data": "9.5.5",
"@wordpress/data-controls": "3.4.5",
"@wordpress/date": "4.35.1",
"@wordpress/deprecated": "3.35.1",
"@wordpress/dom": "3.35.1",
"@wordpress/dom-ready": "3.35.1",
"@wordpress/edit-post": "7.12.17",
"@wordpress/edit-site": "5.12.17",
"@wordpress/edit-widgets": "5.12.17",
"@wordpress/editor": "13.12.15",
"@wordpress/element": "5.12.1",
"@wordpress/escape-html": "2.35.1",
"@wordpress/format-library": "4.12.14",
"@wordpress/hooks": "3.35.1",
"@wordpress/html-entities": "3.35.1",
"@wordpress/i18n": "4.35.1",
"@wordpress/icons": "9.26.2",
"@wordpress/interface": "5.12.11",
"@wordpress/is-shallow-equal": "4.35.1",
"@wordpress/keyboard-shortcuts": "4.12.5",
"@wordpress/keycodes": "3.35.1",
"@wordpress/list-reusable-blocks": "4.12.11",
"@wordpress/media-utils": "4.26.1",
"@wordpress/notices": "4.3.5",
"@wordpress/nux": "7.1.4",
"@wordpress/plugins": "6.3.11",
"@wordpress/preferences": "3.12.11",
"@wordpress/preferences-persistence": "1.27.1",
"@wordpress/primitives": "3.33.1",
"@wordpress/priority-queue": "2.35.1",
"@wordpress/private-apis": "0.17.2",
"@wordpress/redux-routine": "4.35.1",
"@wordpress/reusable-blocks": "4.12.15",
"@wordpress/rich-text": "6.12.8",
"@wordpress/router": "0.4.2",
"@wordpress/server-side-render": "4.12.13",
"@wordpress/shortcode": "3.35.1",
"@wordpress/style-engine": "1.18.1",
"@wordpress/token-list": "2.35.1",
"@wordpress/url": "3.36.1",
"@wordpress/viewport": "5.12.5",
"@wordpress/warning": "2.35.1",
"@wordpress/widgets": "3.12.15",
"@wordpress/wordcount": "3.35.1",
"@wordpress/a11y": "3.42.0",
"@wordpress/annotations": "2.42.0",
"@wordpress/api-fetch": "6.39.0",
"@wordpress/autop": "3.42.0",
"@wordpress/blob": "3.42.0",
"@wordpress/block-directory": "4.19.0",
"@wordpress/block-editor": "12.10.0",
"@wordpress/block-library": "8.19.0",
"@wordpress/block-serialization-default-parser": "4.42.0",
"@wordpress/blocks": "12.19.0",
"@wordpress/commands": "0.13.0",
"@wordpress/components": "25.8.0",
"@wordpress/compose": "6.19.0",
"@wordpress/core-commands": "0.11.0",
"@wordpress/core-data": "6.19.0",
"@wordpress/customize-widgets": "4.19.0",
"@wordpress/data": "9.12.0",
"@wordpress/data-controls": "3.11.0",
"@wordpress/date": "4.42.0",
"@wordpress/deprecated": "3.42.0",
"@wordpress/dom": "3.42.0",
"@wordpress/dom-ready": "3.42.0",
"@wordpress/edit-post": "7.19.0",
"@wordpress/edit-site": "5.19.0",
"@wordpress/edit-widgets": "5.19.0",
"@wordpress/editor": "13.19.0",
"@wordpress/element": "5.19.0",
"@wordpress/escape-html": "2.42.0",
"@wordpress/format-library": "4.19.0",
"@wordpress/hooks": "3.42.0",
"@wordpress/html-entities": "3.42.0",
"@wordpress/i18n": "4.42.0",
"@wordpress/icons": "9.33.0",
"@wordpress/interactivity": "2.3.0",
"@wordpress/interface": "5.19.0",
"@wordpress/is-shallow-equal": "4.42.0",
"@wordpress/keyboard-shortcuts": "4.19.0",
"@wordpress/keycodes": "3.42.0",
"@wordpress/list-reusable-blocks": "4.19.0",
"@wordpress/media-utils": "4.33.0",
"@wordpress/notices": "4.10.0",
"@wordpress/nux": "8.4.0",
"@wordpress/patterns": "1.3.0",
"@wordpress/plugins": "6.10.0",
"@wordpress/preferences": "3.19.0",
"@wordpress/preferences-persistence": "1.34.0",
"@wordpress/primitives": "3.40.0",
"@wordpress/priority-queue": "2.42.0",
"@wordpress/private-apis": "0.24.0",
"@wordpress/redux-routine": "4.42.0",
"@wordpress/reusable-blocks": "4.19.0",
"@wordpress/rich-text": "6.19.0",
"@wordpress/router": "0.11.0",
"@wordpress/server-side-render": "4.19.0",
"@wordpress/shortcode": "3.42.0",
"@wordpress/style-engine": "1.25.0",
"@wordpress/sync": "0.4.0",
gziolo marked this conversation as resolved.
Show resolved Hide resolved
"@wordpress/token-list": "2.42.0",
"@wordpress/undo-manager": "0.2.0",
"@wordpress/url": "3.43.0",
"@wordpress/viewport": "5.19.0",
"@wordpress/warning": "2.42.0",
"@wordpress/widgets": "3.19.0",
"@wordpress/wordcount": "3.42.0",
"backbone": "1.5.0",
"clipboard": "2.0.11",
"core-js-url-browser": "3.6.4",
Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/includes/update-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -856,13 +856,13 @@
'wp-includes/blocks/post-comments/style.min.css',
'wp-includes/blocks/post-comments/style-rtl.css',
'wp-includes/blocks/post-comments/style-rtl.min.css',
'wp-includes/blocks/post-comments',
//'wp-includes/blocks/post-comments',
ockham marked this conversation as resolved.
Show resolved Hide resolved
'wp-includes/blocks/comments-query-loop/block.json',
'wp-includes/blocks/comments-query-loop/editor.css',
'wp-includes/blocks/comments-query-loop/editor.min.css',
'wp-includes/blocks/comments-query-loop/editor-rtl.css',
'wp-includes/blocks/comments-query-loop/editor-rtl.min.css',
'wp-includes/blocks/comments-query-loop',
//'wp-includes/blocks/comments-query-loop',
// 6.3
'wp-includes/images/wlw',
'wp-includes/wlwmanifest.xml',
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/assets/script-loader-packages.min.php

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/wp-includes/blocks/avatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ function get_block_core_avatar_border_attributes( $attributes ) {

// Border color.
$preset_color = array_key_exists( 'borderColor', $attributes ) ? "var:preset|color|{$attributes['borderColor']}" : null;
$custom_color = _wp_array_get( $attributes, array( 'style', 'border', 'color' ), null );
$custom_color = $attributes['style']['border']['color'] ?? null;
$border_styles['color'] = $preset_color ? $preset_color : $custom_color;

// Individual border styles e.g. top, left etc.
foreach ( $sides as $side ) {
$border = _wp_array_get( $attributes, array( 'style', 'border', $side ), null );
$border = $attributes['style']['border'][ $side ] ?? null;
$border_styles[ $side ] = array(
'color' => isset( $border['color'] ) ? $border['color'] : null,
'style' => isset( $border['style'] ) ? $border['style'] : null,
Expand Down
3 changes: 3 additions & 0 deletions src/wp-includes/blocks/avatar/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
"__experimentalDuotone": "img"
}
},
"selectors": {
"border": ".wp-block-avatar img"
},
"editorStyle": "wp-block-avatar-editor",
"style": "wp-block-avatar"
}
2 changes: 1 addition & 1 deletion src/wp-includes/blocks/block/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "Pattern",
"category": "reusable",
"description": "Create and save content to reuse across your site. Update the pattern, and the changes apply everywhere it’s used.",
"keywords": [ "reusable" ],
"keywords": [ "reusable" ],
"textdomain": "default",
"attributes": {
"ref": {
Expand Down
Loading
Loading