Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jun 25, 2020
1 parent 336f7ce commit ca1d287
Show file tree
Hide file tree
Showing 14 changed files with 7,666 additions and 6,098 deletions.
13,255 changes: 7,517 additions & 5,738 deletions package-lock.json

Large diffs are not rendered by default.

104 changes: 52 additions & 52 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
"last 2 Opera versions"
],
"devDependencies": {
"@wordpress/custom-templated-path-webpack-plugin": "1.6.0",
"@wordpress/dependency-extraction-webpack-plugin": "2.4.0",
"@wordpress/e2e-test-utils": "4.3.1",
"@wordpress/library-export-default-webpack-plugin": "1.6.0",
"@wordpress/scripts": "6.2.0",
"@wordpress/custom-templated-path-webpack-plugin": "1.7.0",
"@wordpress/dependency-extraction-webpack-plugin": "2.8.0",
"@wordpress/e2e-test-utils": "4.10.0",
"@wordpress/library-export-default-webpack-plugin": "1.7.0",
"@wordpress/scripts": "12.0.0",
"autoprefixer": "9.6.2",
"check-node-version": "4.0.1",
"copy-webpack-plugin": "^5.1.1",
Expand Down Expand Up @@ -76,53 +76,53 @@
},
"dependencies": {
"@babel/polyfill": "7.4.4",
"@wordpress/a11y": "2.7.0",
"@wordpress/annotations": "1.12.3",
"@wordpress/api-fetch": "3.11.0",
"@wordpress/autop": "2.6.0",
"@wordpress/blob": "2.7.0",
"@wordpress/block-directory": "1.5.8",
"@wordpress/block-editor": "3.7.8",
"@wordpress/block-library": "2.14.8",
"@wordpress/block-serialization-default-parser": "3.5.0",
"@wordpress/blocks": "6.12.3",
"@wordpress/components": "9.2.6",
"@wordpress/compose": "3.11.0",
"@wordpress/core-data": "2.12.3",
"@wordpress/data": "4.14.2",
"@wordpress/data-controls": "1.8.2",
"@wordpress/date": "3.8.0",
"@wordpress/deprecated": "2.7.0",
"@wordpress/dom": "2.8.0",
"@wordpress/dom-ready": "2.7.0",
"@wordpress/edit-post": "3.13.10",
"@wordpress/editor": "9.12.8",
"@wordpress/element": "2.11.0",
"@wordpress/escape-html": "1.7.0",
"@wordpress/format-library": "1.14.8",
"@wordpress/hooks": "2.7.0",
"@wordpress/html-entities": "2.6.0",
"@wordpress/i18n": "3.9.0",
"@wordpress/icons": "1.1.0",
"@wordpress/is-shallow-equal": "1.8.0",
"@wordpress/keyboard-shortcuts": "1.1.2",
"@wordpress/keycodes": "2.9.0",
"@wordpress/list-reusable-blocks": "1.13.6",
"@wordpress/media-utils": "1.7.2",
"@wordpress/notices": "2.0.2",
"@wordpress/nux": "3.12.6",
"@wordpress/plugins": "2.12.0",
"@wordpress/primitives": "1.1.0",
"@wordpress/priority-queue": "1.5.1",
"@wordpress/redux-routine": "3.7.0",
"@wordpress/rich-text": "3.12.2",
"@wordpress/server-side-render": "1.8.6",
"@wordpress/shortcode": "2.6.0",
"@wordpress/token-list": "1.9.0",
"@wordpress/url": "2.11.0",
"@wordpress/viewport": "2.13.2",
"@wordpress/warning": "1.0.0",
"@wordpress/wordcount": "2.7.0",
"@wordpress/a11y": "2.11.0",
"@wordpress/annotations": "1.19.0",
"@wordpress/api-fetch": "3.18.0",
"@wordpress/autop": "2.9.0",
"@wordpress/blob": "2.9.0",
"@wordpress/block-directory": "1.12.0",
"@wordpress/block-editor": "4.2.0",
"@wordpress/block-library": "2.21.0",
"@wordpress/block-serialization-default-parser": "3.7.0",
"@wordpress/blocks": "6.19.0",
"@wordpress/components": "9.9.0",
"@wordpress/compose": "3.18.0",
"@wordpress/core-data": "2.19.0",
"@wordpress/data": "4.21.0",
"@wordpress/data-controls": "1.15.0",
"@wordpress/date": "3.10.0",
"@wordpress/deprecated": "2.9.0",
"@wordpress/dom": "2.12.0",
"@wordpress/dom-ready": "2.10.0",
"@wordpress/edit-post": "3.20.0",
"@wordpress/editor": "9.19.0",
"@wordpress/element": "2.15.0",
"@wordpress/escape-html": "1.9.0",
"@wordpress/format-library": "1.21.0",
"@wordpress/hooks": "2.9.0",
"@wordpress/html-entities": "2.8.0",
"@wordpress/i18n": "3.14.0",
"@wordpress/icons": "2.3.0",
"@wordpress/is-shallow-equal": "2.1.0",
"@wordpress/keyboard-shortcuts": "1.8.0",
"@wordpress/keycodes": "2.14.0",
"@wordpress/list-reusable-blocks": "1.20.0",
"@wordpress/media-utils": "1.14.0",
"@wordpress/notices": "2.7.0",
"@wordpress/nux": "3.19.0",
"@wordpress/plugins": "2.19.0",
"@wordpress/primitives": "1.6.0",
"@wordpress/priority-queue": "1.7.0",
"@wordpress/redux-routine": "3.10.0",
"@wordpress/rich-text": "3.19.0",
"@wordpress/server-side-render": "1.15.0",
"@wordpress/shortcode": "2.9.0",
"@wordpress/token-list": "1.11.0",
"@wordpress/url": "2.17.0",
"@wordpress/viewport": "2.20.0",
"@wordpress/warning": "1.2.0",
"@wordpress/wordcount": "2.10.0",
"backbone": "1.4.0",
"clipboard": "2.0.6",
"core-js-url-browser": "3.6.4",
Expand Down
18 changes: 9 additions & 9 deletions src/wp-admin/includes/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -2179,33 +2179,33 @@ function use_block_editor_for_post_type( $post_type ) {
function get_block_categories( $post ) {
$default_categories = array(
array(
'slug' => 'common',
'title' => __( 'Common Blocks' ),
'slug' => 'text',
'title' => _x( 'Text', 'block category' ),
'icon' => null,
),
array(
'slug' => 'formatting',
'title' => __( 'Formatting' ),
'slug' => 'media',
'title' => _x( 'Media', 'block category' ),
'icon' => null,
),
array(
'slug' => 'layout',
'title' => __( 'Layout Elements' ),
'slug' => 'design',
'title' => _x( 'Design', 'block category' ),
'icon' => null,
),
array(
'slug' => 'widgets',
'title' => __( 'Widgets' ),
'title' => _x( 'Widgets', 'block category' ),
'icon' => null,
),
array(
'slug' => 'embed',
'title' => __( 'Embeds' ),
'title' => _x( 'Embeds', 'block category' ),
'icon' => null,
),
array(
'slug' => 'reusable',
'title' => __( 'Reusable Blocks' ),
'title' => _x( 'Reusable Blocks', 'block category' ),
'icon' => null,
),
);
Expand Down
21 changes: 2 additions & 19 deletions src/wp-includes/blocks/archives.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,26 +116,9 @@ function render_block_core_archives( $attributes ) {
* Register archives block.
*/
function register_block_core_archives() {
register_block_type(
'core/archives',
register_block_type_from_metadata(
__DIR__ . '/archives',
array(
'attributes' => array(
'align' => array(
'type' => 'string',
'enum' => array( 'left', 'center', 'right', 'wide', 'full' ),
),
'className' => array(
'type' => 'string',
),
'displayAsDropdown' => array(
'type' => 'boolean',
'default' => false,
),
'showPostCounts' => array(
'type' => 'boolean',
'default' => false,
),
),
'render_callback' => 'render_block_core_archives',
)
);
Expand Down
9 changes: 2 additions & 7 deletions src/wp-includes/blocks/block.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,9 @@ function render_block_core_block( $attributes ) {
* Registers the `core/block` block.
*/
function register_block_core_block() {
register_block_type(
'core/block',
register_block_type_from_metadata(
__DIR__ . '/block',
array(
'attributes' => array(
'ref' => array(
'type' => 'number',
),
),
'render_callback' => 'render_block_core_block',
)
);
Expand Down
19 changes: 2 additions & 17 deletions src/wp-includes/blocks/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,9 @@ function render_block_core_calendar( $attributes ) {
* Registers the `core/calendar` block on server.
*/
function register_block_core_calendar() {
register_block_type(
'core/calendar',
register_block_type_from_metadata(
__DIR__ . '/calendar',
array(
'attributes' => array(
'align' => array(
'type' => 'string',
'enum' => array( 'left', 'center', 'right', 'wide', 'full' ),
),
'className' => array(
'type' => 'string',
),
'month' => array(
'type' => 'integer',
),
'year' => array(
'type' => 'integer',
),
),
'render_callback' => 'render_block_core_calendar',
)
);
Expand Down
25 changes: 2 additions & 23 deletions src/wp-includes/blocks/categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,30 +89,9 @@ function onCatChange() {
* Registers the `core/categories` block on server.
*/
function register_block_core_categories() {
register_block_type(
'core/categories',
register_block_type_from_metadata(
__DIR__ . '/categories',
array(
'attributes' => array(
'align' => array(
'type' => 'string',
'enum' => array( 'left', 'center', 'right', 'wide', 'full' ),
),
'className' => array(
'type' => 'string',
),
'displayAsDropdown' => array(
'type' => 'boolean',
'default' => false,
),
'showHierarchy' => array(
'type' => 'boolean',
'default' => false,
),
'showPostCounts' => array(
'type' => 'boolean',
'default' => false,
),
),
'render_callback' => 'render_block_core_categories',
)
);
Expand Down
37 changes: 2 additions & 35 deletions src/wp-includes/blocks/latest-comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,42 +152,9 @@ function render_block_core_latest_comments( $attributes = array() ) {
* Registers the `core/latest-comments` block.
*/
function register_block_core_latest_comments() {
register_block_type(
'core/latest-comments',
register_block_type_from_metadata(
__DIR__ . '/latest-comments',
array(
'attributes' => array(
'align' => array(
'type' => 'string',
'enum' => array(
'left',
'center',
'right',
'wide',
'full',
),
),
'className' => array(
'type' => 'string',
),
'commentsToShow' => array(
'type' => 'number',
'default' => 5,
'minimum' => 1,
'maximum' => 100,
),
'displayAvatar' => array(
'type' => 'boolean',
'default' => true,
),
'displayDate' => array(
'type' => 'boolean',
'default' => true,
),
'displayExcerpt' => array(
'type' => 'boolean',
'default' => true,
),
),
'render_callback' => 'render_block_core_latest_comments',
)
);
Expand Down
Loading

0 comments on commit ca1d287

Please sign in to comment.