Block Editor: Update the WordPress Packages to the ones used in the Gutenberg 6.8 release.
Updated packages: @wordpress/a11y@2.5.1 @wordpress/annotations@1.7.2 @wordpress/api-fetch@3.6.2 @wordpress/autop@2.5.1 @wordpress/babel-preset-default@4.6.2 @wordpress/blob@2.5.1 @wordpress/block-directory@1.0.2 @wordpress/block-editor@3.2.2 @wordpress/block-library@2.9.2 @wordpress/block-serialization-default-parser@3.4.1 @wordpress/block-serialization-spec-parser@3.3.1 @wordpress/blocks@6.7.2 @wordpress/components@8.3.2 @wordpress/compose@3.7.2 @wordpress/core-data@2.7.2 @wordpress/data-controls@1.3.2 @wordpress/data@4.9.2 @wordpress/deprecated@2.6.1 @wordpress/dom-ready@2.5.1 @wordpress/dom@2.5.2 @wordpress/e2e-test-utils@2.4.2 @wordpress/e2e-tests@1.7.2 @wordpress/edit-post@3.8.2 @wordpress/editor@9.7.2 @wordpress/element@2.8.2 @wordpress/escape-html@1.5.1 @wordpress/format-library@1.9.2 @wordpress/is-shallow-equal@1.6.1 @wordpress/keycodes@2.6.2 @wordpress/list-reusable-blocks@1.8.2 @wordpress/media-utils@1.2.2 @wordpress/notices@1.8.2 @wordpress/nux@3.7.2 @wordpress/plugins@2.7.2 @wordpress/priority-queue@1.3.1 @wordpress/redux-routine@3.6.2 @wordpress/rich-text@3.7.2 @wordpress/scripts@5.1.0 @wordpress/server-side-render@1.3.2 @wordpress/url@2.8.1 @wordpress/viewport@2.8.2 @wordpress/wordcount@2.6.2 Props gziolo, youknowriad. Fixes: #48310 git-svn-id: https://develop.svn.wordpress.org/trunk@46546 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3b2c6568a5
commit
849e070be2
1893
package-lock.json
generated
1893
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
76
package.json
76
package.json
@ -26,9 +26,9 @@
|
|||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@wordpress/custom-templated-path-webpack-plugin": "1.5.0",
|
"@wordpress/custom-templated-path-webpack-plugin": "1.5.0",
|
||||||
"@wordpress/e2e-test-utils": "2.4.1",
|
"@wordpress/e2e-test-utils": "2.4.2",
|
||||||
"@wordpress/library-export-default-webpack-plugin": "1.4.1",
|
"@wordpress/library-export-default-webpack-plugin": "1.4.1",
|
||||||
"@wordpress/scripts": "5.0.1",
|
"@wordpress/scripts": "5.1.0",
|
||||||
"autoprefixer": "9.6.2",
|
"autoprefixer": "9.6.2",
|
||||||
"check-node-version": "4.0.1",
|
"check-node-version": "4.0.1",
|
||||||
"copy-webpack-plugin": "^5.0.4",
|
"copy-webpack-plugin": "^5.0.4",
|
||||||
@ -71,48 +71,48 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/polyfill": "7.4.4",
|
"@babel/polyfill": "7.4.4",
|
||||||
"@wordpress/a11y": "2.5.0",
|
"@wordpress/a11y": "2.5.1",
|
||||||
"@wordpress/annotations": "1.7.1",
|
"@wordpress/annotations": "1.7.2",
|
||||||
"@wordpress/api-fetch": "3.6.1",
|
"@wordpress/api-fetch": "3.6.2",
|
||||||
"@wordpress/autop": "2.5.0",
|
"@wordpress/autop": "2.5.1",
|
||||||
"@wordpress/blob": "2.5.0",
|
"@wordpress/blob": "2.5.1",
|
||||||
"@wordpress/block-editor": "3.2.1",
|
"@wordpress/block-editor": "3.2.2",
|
||||||
"@wordpress/block-library": "2.9.1",
|
"@wordpress/block-library": "2.9.2",
|
||||||
"@wordpress/block-serialization-default-parser": "3.4.0",
|
"@wordpress/block-serialization-default-parser": "3.4.1",
|
||||||
"@wordpress/blocks": "6.7.1",
|
"@wordpress/blocks": "6.7.2",
|
||||||
"@wordpress/components": "8.3.1",
|
"@wordpress/components": "8.3.2",
|
||||||
"@wordpress/compose": "3.7.1",
|
"@wordpress/compose": "3.7.2",
|
||||||
"@wordpress/core-data": "2.7.1",
|
"@wordpress/core-data": "2.7.2",
|
||||||
"@wordpress/data": "4.9.1",
|
"@wordpress/data-controls": "1.3.2",
|
||||||
"@wordpress/data-controls": "1.3.1",
|
"@wordpress/data": "4.9.2",
|
||||||
"@wordpress/date": "3.5.0",
|
"@wordpress/date": "3.5.0",
|
||||||
"@wordpress/deprecated": "2.6.0",
|
"@wordpress/deprecated": "2.6.1",
|
||||||
"@wordpress/dom": "2.5.1",
|
"@wordpress/dom-ready": "2.5.1",
|
||||||
"@wordpress/dom-ready": "2.5.0",
|
"@wordpress/dom": "2.5.2",
|
||||||
"@wordpress/edit-post": "3.8.1",
|
"@wordpress/edit-post": "3.8.2",
|
||||||
"@wordpress/editor": "9.7.1",
|
"@wordpress/editor": "9.7.2",
|
||||||
"@wordpress/element": "2.8.1",
|
"@wordpress/element": "2.8.2",
|
||||||
"@wordpress/escape-html": "1.5.0",
|
"@wordpress/escape-html": "1.5.1",
|
||||||
"@wordpress/format-library": "1.9.1",
|
"@wordpress/format-library": "1.9.2",
|
||||||
"@wordpress/hooks": "2.6.0",
|
"@wordpress/hooks": "2.6.0",
|
||||||
"@wordpress/html-entities": "2.5.0",
|
"@wordpress/html-entities": "2.5.0",
|
||||||
"@wordpress/i18n": "3.6.1",
|
"@wordpress/i18n": "3.6.1",
|
||||||
"@wordpress/is-shallow-equal": "1.6.0",
|
"@wordpress/is-shallow-equal": "1.6.1",
|
||||||
"@wordpress/keycodes": "2.6.1",
|
"@wordpress/keycodes": "2.6.2",
|
||||||
"@wordpress/list-reusable-blocks": "1.8.1",
|
"@wordpress/list-reusable-blocks": "1.8.2",
|
||||||
"@wordpress/media-utils": "1.2.1",
|
"@wordpress/media-utils": "1.2.2",
|
||||||
"@wordpress/notices": "1.8.1",
|
"@wordpress/notices": "1.8.2",
|
||||||
"@wordpress/nux": "3.7.1",
|
"@wordpress/nux": "3.7.2",
|
||||||
"@wordpress/plugins": "2.7.1",
|
"@wordpress/plugins": "2.7.2",
|
||||||
"@wordpress/priority-queue": "1.3.0",
|
"@wordpress/priority-queue": "1.3.1",
|
||||||
"@wordpress/redux-routine": "3.6.1",
|
"@wordpress/redux-routine": "3.6.2",
|
||||||
"@wordpress/rich-text": "3.7.1",
|
"@wordpress/rich-text": "3.7.2",
|
||||||
"@wordpress/server-side-render": "1.3.1",
|
"@wordpress/server-side-render": "1.3.2",
|
||||||
"@wordpress/shortcode": "2.4.1",
|
"@wordpress/shortcode": "2.4.1",
|
||||||
"@wordpress/token-list": "1.6.1",
|
"@wordpress/token-list": "1.6.1",
|
||||||
"@wordpress/url": "2.8.0",
|
"@wordpress/url": "2.8.1",
|
||||||
"@wordpress/viewport": "2.8.1",
|
"@wordpress/viewport": "2.8.2",
|
||||||
"@wordpress/wordcount": "2.6.1",
|
"@wordpress/wordcount": "2.6.2",
|
||||||
"backbone": "1.4.0",
|
"backbone": "1.4.0",
|
||||||
"clipboard": "2.0.4",
|
"clipboard": "2.0.4",
|
||||||
"element-closest": "^2.0.2",
|
"element-closest": "^2.0.2",
|
||||||
|
@ -224,48 +224,48 @@ function wp_default_packages_scripts( &$scripts ) {
|
|||||||
$suffix = wp_scripts_get_suffix();
|
$suffix = wp_scripts_get_suffix();
|
||||||
|
|
||||||
$packages_versions = array(
|
$packages_versions = array(
|
||||||
'a11y' => '2.5.0',
|
'a11y' => '2.5.1',
|
||||||
'annotations' => '1.7.1',
|
'annotations' => '1.7.2',
|
||||||
'api-fetch' => '3.6.1',
|
'api-fetch' => '3.6.2',
|
||||||
'autop' => '2.5.0',
|
'autop' => '2.5.1',
|
||||||
'blob' => '2.5.0',
|
'blob' => '2.5.1',
|
||||||
'block-editor' => '3.2.1',
|
'block-editor' => '3.2.2',
|
||||||
'block-library' => '2.9.1',
|
'block-library' => '2.9.2',
|
||||||
'block-serialization-default-parser' => '3.4.0',
|
'block-serialization-default-parser' => '3.4.1',
|
||||||
'blocks' => '6.7.1',
|
'blocks' => '6.7.2',
|
||||||
'components' => '8.3.1',
|
'components' => '8.3.2',
|
||||||
'compose' => '3.7.1',
|
'compose' => '3.7.2',
|
||||||
'core-data' => '2.7.1',
|
'core-data' => '2.7.2',
|
||||||
'data' => '4.9.1',
|
'data-controls' => '1.3.2',
|
||||||
'data-controls' => '1.3.1',
|
'data' => '4.9.2',
|
||||||
'date' => '3.5.0',
|
'date' => '3.5.0',
|
||||||
'deprecated' => '2.6.0',
|
'deprecated' => '2.6.1',
|
||||||
'dom' => '2.5.1',
|
'dom-ready' => '2.5.1',
|
||||||
'dom-ready' => '2.5.0',
|
'dom' => '2.5.2',
|
||||||
'edit-post' => '3.8.1',
|
'edit-post' => '3.8.2',
|
||||||
'editor' => '9.7.1',
|
'editor' => '9.7.2',
|
||||||
'element' => '2.8.1',
|
'element' => '2.8.2',
|
||||||
'escape-html' => '1.5.0',
|
'escape-html' => '1.5.1',
|
||||||
'format-library' => '1.9.1',
|
'format-library' => '1.9.2',
|
||||||
'hooks' => '2.6.0',
|
'hooks' => '2.6.0',
|
||||||
'html-entities' => '2.5.0',
|
'html-entities' => '2.5.0',
|
||||||
'i18n' => '3.6.1',
|
'i18n' => '3.6.1',
|
||||||
'is-shallow-equal' => '1.6.0',
|
'is-shallow-equal' => '1.6.1',
|
||||||
'keycodes' => '2.6.1',
|
'keycodes' => '2.6.2',
|
||||||
'list-reusable-blocks' => '1.8.1',
|
'list-reusable-blocks' => '1.8.2',
|
||||||
'media-utils' => '1.2.1',
|
'media-utils' => '1.2.2',
|
||||||
'notices' => '1.8.1',
|
'notices' => '1.8.2',
|
||||||
'nux' => '3.7.1',
|
'nux' => '3.7.2',
|
||||||
'plugins' => '2.7.1',
|
'plugins' => '2.7.2',
|
||||||
'priority-queue' => '1.3.0',
|
'priority-queue' => '1.3.1',
|
||||||
'redux-routine' => '3.6.1',
|
'redux-routine' => '3.6.2',
|
||||||
'rich-text' => '3.7.1',
|
'rich-text' => '3.7.2',
|
||||||
'shortcode' => '2.4.1',
|
'shortcode' => '2.4.1',
|
||||||
'server-side-render' => '1.3.1',
|
'server-side-render' => '1.3.2',
|
||||||
'token-list' => '1.6.1',
|
'token-list' => '1.6.1',
|
||||||
'url' => '2.8.0',
|
'url' => '2.8.1',
|
||||||
'viewport' => '2.8.1',
|
'viewport' => '2.8.2',
|
||||||
'wordcount' => '2.6.1',
|
'wordcount' => '2.6.2',
|
||||||
);
|
);
|
||||||
|
|
||||||
$packages_dependencies = array(
|
$packages_dependencies = array(
|
||||||
@ -659,6 +659,7 @@ function wp_default_packages_inline_scripts( &$scripts ) {
|
|||||||
( wp_installing() && ! is_multisite() ) ? '' : wp_create_nonce( 'wp_rest' )
|
( wp_installing() && ! is_multisite() ) ? '' : wp_create_nonce( 'wp_rest' )
|
||||||
),
|
),
|
||||||
'wp.apiFetch.use( wp.apiFetch.nonceMiddleware );',
|
'wp.apiFetch.use( wp.apiFetch.nonceMiddleware );',
|
||||||
|
'wp.apiFetch.use( wp.apiFetch.mediaUploadMiddleware );',
|
||||||
sprintf(
|
sprintf(
|
||||||
'wp.apiFetch.nonceEndpoint = "%s";',
|
'wp.apiFetch.nonceEndpoint = "%s";',
|
||||||
admin_url( 'admin-ajax.php?action=rest-nonce' )
|
admin_url( 'admin-ajax.php?action=rest-nonce' )
|
||||||
|
Loading…
Reference in New Issue
Block a user