Make WordPress Core


Ignore:
Timestamp:
09/19/2019 03:17:39 PM (6 years ago)
Author:
gziolo
Message:

Block Editor: Update the WordPress Packages to the ones used in the Gutenberg 6.5 release

Updated Packages:

In version 6.2:

@wordpress/a11y@2.5.0
@wordpress/annotations@1.5.0
@wordpress/api-fetch@3.4.0
@wordpress/autop@2.4.0
@wordpress/babel-plugin-import-jsx-pragma@2.3.0
@wordpress/babel-plugin-makepot@3.2.0
@wordpress/babel-preset-default@4.4.0
@wordpress/blob@2.5.0
@wordpress/block-editor@3.0.0
@wordpress/block-library@2.7.0
@wordpress/block-serialization-default-parser@3.3.0
@wordpress/block-serialization-spec-parser@3.2.0
@wordpress/blocks@6.5.0
@wordpress/browserslist-config@2.6.0
@wordpress/components@8.1.0
@wordpress/compose@3.5.0
@wordpress/core-data@2.5.0
@wordpress/custom-templated-path-webpack-plugin@1.5.0
@wordpress/data-controls@1.1.0
@wordpress/data@4.7.0
@wordpress/date@3.4.0
@wordpress/dependency-extraction-webpack-plugin@1.1.0
@wordpress/deprecated@2.5.0
@wordpress/docgen@1.3.0
@wordpress/dom-ready@2.5.0
@wordpress/dom@2.4.0
@wordpress/e2e-test-utils@2.2.0
@wordpress/e2e-tests@1.4.0
@wordpress/edit-post@3.6.0
@wordpress/editor@9.5.0
@wordpress/element@2.6.0
@wordpress/escape-html@1.5.0
@wordpress/eslint-plugin@2.4.0
@wordpress/format-library@1.7.0
@wordpress/hooks@2.5.0
@wordpress/html-entities@2.5.0
@wordpress/i18n@3.6.0
@wordpress/is-shallow-equal@1.5.0
@wordpress/jest-console@3.2.0
@wordpress/jest-preset-default@4.3.0
@wordpress/jest-puppeteer-axe@1.2.0
@wordpress/keycodes@2.5.0
@wordpress/library-export-default-webpack-plugin@1.4.0
@wordpress/list-reusable-blocks@1.6.0
@wordpress/media-utils@1.0.0
@wordpress/notices@1.6.0
@wordpress/npm-package-json-lint-config@2.1.0
@wordpress/nux@3.5.0
@wordpress/plugins@2.5.0
@wordpress/postcss-themes@2.2.0
@wordpress/priority-queue@1.3.0
@wordpress/redux-routine@3.5.0
@wordpress/rich-text@3.5.0
@wordpress/scripts@3.4.0
@wordpress/server-side-render@1.1.0
@wordpress/shortcode@2.4.0
@wordpress/token-list@1.5.0
@wordpress/url@2.7.0
@wordpress/viewport@2.6.0
@wordpress/wordcount@2.5.0

In version 6.4:
@wordpress/annotations@1.6.0
@wordpress/api-fetch@3.5.0
@wordpress/autop@2.5.0
@wordpress/babel-preset-default@4.5.0
@wordpress/block-editor@3.1.0
@wordpress/block-library@2.8.0
@wordpress/block-serialization-default-parser@3.4.0
@wordpress/block-serialization-spec-parser@3.3.0
@wordpress/blocks@6.6.0
@wordpress/components@8.2.0
@wordpress/compose@3.6.0
@wordpress/core-data@2.6.0
@wordpress/data-controls@1.2.0
@wordpress/data@4.8.0
@wordpress/date@3.5.0
@wordpress/dependency-extraction-webpack-plugin@1.2.0
@wordpress/deprecated@2.6.0
@wordpress/docgen@1.4.0
@wordpress/dom@2.5.0
@wordpress/e2e-test-utils@2.3.0
@wordpress/e2e-tests@1.5.0
@wordpress/edit-post@3.7.0
@wordpress/editor@9.6.0
@wordpress/element@2.7.0
@wordpress/eslint-plugin@3.0.0
@wordpress/format-library@1.8.0
@wordpress/hooks@2.6.0
@wordpress/is-shallow-equal@1.6.0
@wordpress/jest-console@3.3.0
@wordpress/jest-preset-default@5.0.0
@wordpress/jest-puppeteer-axe@1.3.0
@wordpress/keycodes@2.6.0
@wordpress/list-reusable-blocks@1.7.0
@wordpress/media-utils@1.1.0
@wordpress/notices@1.7.0
@wordpress/nux@3.6.0
@wordpress/plugins@2.6.0
@wordpress/project-management-automation@1.0.0
@wordpress/redux-routine@3.6.0
@wordpress/rich-text@3.6.0
@wordpress/scripts@4.0.0
@wordpress/server-side-render@1.2.0
@wordpress/token-list@1.6.0
@wordpress/viewport@2.7.0
@wordpress/wordcount@2.6.0

In version 6.5:
@wordpress/annotations@1.7.0
@wordpress/api-fetch@3.6.0
@wordpress/babel-preset-default@4.6.0
@wordpress/block-directory@1.0.0
@wordpress/block-editor@3.2.0
@wordpress/block-library@2.9.0
@wordpress/blocks@6.7.0
@wordpress/components@8.3.0
@wordpress/compose@3.7.0
@wordpress/core-data@2.7.0
@wordpress/data-controls@1.3.0
@wordpress/data@4.9.0
@wordpress/dependency-extraction-webpack-plugin@2.0.0
@wordpress/e2e-test-utils@2.4.0
@wordpress/e2e-tests@1.7.0
@wordpress/edit-post@3.8.0
@wordpress/editor@9.7.0
@wordpress/element@2.8.0
@wordpress/eslint-plugin@3.1.0
@wordpress/format-library@1.9.0
@wordpress/list-reusable-blocks@1.8.0
@wordpress/media-utils@1.2.0
@wordpress/notices@1.8.0
@wordpress/nux@3.7.0
@wordpress/plugins@2.7.0
@wordpress/rich-text@3.7.0
@wordpress/scripts@5.0.0
@wordpress/server-side-render@1.3.0
@wordpress/url@2.8.0
@wordpress/viewport@2.8.0

Props youknowriad desrosj noisysocks pento jorgefilipecosta iseulde

Fixes: #47843

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r46179 r46189  
    9595        'react-dom'                   => '16.8.4',
    9696        'moment'                      => '2.22.2',
    97         'lodash'                      => '4.17.11',
     97        'lodash'                      => '4.17.15',
    9898        'wp-polyfill-fetch'           => '3.0.0',
    9999        'wp-polyfill-formdata'        => '3.0.12',
    100100        'wp-polyfill-node-contains'   => '3.26.0-0',
    101101        'wp-polyfill-element-closest' => '2.0.2',
    102         'wp-polyfill'                 => '7.0.0',
     102        'wp-polyfill'                 => '7.4.4',
    103103    );
    104104
     
    225225
    226226    $packages_versions = array(
    227         'a11y'                               => '2.2.0',
    228         'annotations'                        => '1.2.3',
    229         'api-fetch'                          => '3.1.2',
    230         'autop'                              => '2.0.0',
    231         'blob'                               => '2.3.0',
    232         'block-editor'                       => '2.0.3',
    233         'block-library'                      => '2.4.6',
    234         'block-serialization-default-parser' => '3.1.0',
    235         'blocks'                             => '6.2.5',
    236         'components'                         => '7.3.2',
    237         'compose'                            => '3.2.0',
    238         'core-data'                          => '2.2.2',
    239         'data'                               => '4.4.0',
    240         'date'                               => '3.2.0',
    241         'deprecated'                         => '2.2.0',
    242         'dom'                                => '2.2.5',
    243         'dom-ready'                          => '2.2.0',
    244         'edit-post'                          => '3.3.6',
    245         'editor'                             => '9.2.6',
    246         'element'                            => '2.3.0',
    247         'escape-html'                        => '1.2.0',
    248         'format-library'                     => '1.4.6',
    249         'hooks'                              => '2.2.0',
    250         'html-entities'                      => '2.2.0',
    251         'i18n'                               => '3.3.0',
    252         'is-shallow-equal'                   => '1.2.0',
    253         'keycodes'                           => '2.2.0',
    254         'list-reusable-blocks'               => '1.3.5',
    255         'notices'                            => '1.3.0',
    256         'nux'                                => '3.2.5',
    257         'plugins'                            => '2.2.0',
    258         'priority-queue'                     => '1.1.0',
    259         'redux-routine'                      => '3.2.0',
    260         'rich-text'                          => '3.2.3',
    261         'shortcode'                          => '2.2.0',
    262         'token-list'                         => '1.2.0',
    263         'url'                                => '2.5.0',
    264         'viewport'                           => '2.3.0',
    265         'wordcount'                          => '2.2.0',
     227        'a11y'                               => '2.5.0',
     228        'annotations'                        => '1.7.0',
     229        'api-fetch'                          => '3.6.0',
     230        'autop'                              => '2.5.0',
     231        'blob'                               => '2.5.0',
     232        'block-editor'                       => '3.2.0',
     233        'block-library'                      => '2.9.0',
     234        'block-serialization-default-parser' => '3.4.0',
     235        'blocks'                             => '6.7.0',
     236        'components'                         => '8.3.0',
     237        'compose'                            => '3.7.0',
     238        'core-data'                          => '2.7.0',
     239        'data'                               => '4.9.0',
     240        'data-controls'                      => '1.3.0',
     241        'date'                               => '3.5.0',
     242        'deprecated'                         => '2.6.0',
     243        'dom'                                => '2.5.0',
     244        'dom-ready'                          => '2.5.0',
     245        'edit-post'                          => '3.8.0',
     246        'editor'                             => '9.7.0',
     247        'element'                            => '2.8.0',
     248        'escape-html'                        => '1.5.0',
     249        'format-library'                     => '1.9.0',
     250        'hooks'                              => '2.6.0',
     251        'html-entities'                      => '2.5.0',
     252        'i18n'                               => '3.6.0',
     253        'is-shallow-equal'                   => '1.6.0',
     254        'keycodes'                           => '2.6.0',
     255        'list-reusable-blocks'               => '1.8.0',
     256        'media-utils'                        => '1.2.0',
     257        'notices'                            => '1.8.0',
     258        'nux'                                => '3.7.0',
     259        'plugins'                            => '2.7.0',
     260        'priority-queue'                     => '1.3.0',
     261        'redux-routine'                      => '3.6.0',
     262        'rich-text'                          => '3.7.0',
     263        'shortcode'                          => '2.4.0',
     264        'server-side-render'                 => '1.3.0',
     265        'token-list'                         => '1.6.0',
     266        'url'                                => '2.8.0',
     267        'viewport'                           => '2.8.0',
     268        'wordcount'                          => '2.6.0',
    266269    );
    267270
    268271    $packages_dependencies = array(
    269         'api-fetch'                          => array( 'wp-polyfill', 'wp-i18n', 'wp-url' ),
    270         'a11y'                               => array( 'wp-dom-ready', 'wp-polyfill' ),
     272        'a11y'                               => array(
     273            'wp-dom-ready',
     274            'wp-polyfill',
     275        ),
    271276        'annotations'                        => array(
     277            'lodash',
    272278            'wp-data',
    273279            'wp-hooks',
     
    276282            'wp-rich-text',
    277283        ),
    278         'autop'                              => array( 'wp-polyfill' ),
    279         'blob'                               => array( 'wp-polyfill' ),
    280         'blocks'                             => array(
    281             'wp-autop',
     284        'api-fetch'                          => array(
     285            'wp-i18n',
     286            'wp-polyfill',
     287            'wp-url',
     288        ),
     289        'autop'                              => array(
     290            'wp-polyfill',
     291        ),
     292        'blob'                               => array(
     293            'wp-polyfill',
     294        ),
     295        'block-editor'                       => array(
     296            'lodash',
     297            'wp-a11y',
    282298            'wp-blob',
    283             'wp-block-serialization-default-parser',
     299            'wp-blocks',
     300            'wp-components',
     301            'wp-compose',
    284302            'wp-data',
     303            'wp-deprecated',
    285304            'wp-dom',
    286305            'wp-element',
     
    289308            'wp-i18n',
    290309            'wp-is-shallow-equal',
    291             'wp-polyfill',
    292             'wp-shortcode',
    293             'lodash',
     310            'wp-keycodes',
     311            'wp-polyfill',
     312            'wp-rich-text',
     313            'wp-token-list',
     314            'wp-url',
     315            'wp-viewport',
     316            'wp-wordcount',
    294317        ),
    295318        'block-library'                      => array(
    296319            'editor',
    297320            'lodash',
     321            'moment',
     322            'wp-a11y',
    298323            'wp-api-fetch',
    299324            'wp-autop',
     
    306331            'wp-data',
    307332            'wp-date',
     333            'wp-deprecated',
    308334            'wp-editor',
    309335            'wp-element',
    310             'wp-html-entities',
    311336            'wp-i18n',
     337            'wp-is-shallow-equal',
    312338            'wp-keycodes',
    313339            'wp-polyfill',
     340            'wp-rich-text',
     341            'wp-server-side-render',
    314342            'wp-url',
    315343            'wp-viewport',
    316             'wp-rich-text',
    317         ),
    318         'block-serialization-default-parser' => array(),
    319         'block-editor'                       => array(
     344        ),
     345        'block-serialization-default-parser' => array(
     346            'wp-polyfill',
     347        ),
     348        'blocks'                             => array(
    320349            'lodash',
    321             'wp-a11y',
     350            'wp-autop',
    322351            'wp-blob',
    323             'wp-blocks',
    324             'wp-components',
     352            'wp-block-serialization-default-parser',
    325353            'wp-compose',
    326             'wp-core-data',
    327354            'wp-data',
    328355            'wp-dom',
     
    332359            'wp-i18n',
    333360            'wp-is-shallow-equal',
    334             'wp-keycodes',
    335             'wp-rich-text',
    336             'wp-token-list',
    337             'wp-url',
    338             'wp-viewport',
    339             'wp-wordcount',
     361            'wp-polyfill',
     362            'wp-shortcode',
    340363        ),
    341364        'components'                         => array(
     
    343366            'moment',
    344367            'wp-a11y',
    345             'wp-api-fetch',
    346368            'wp-compose',
     369            'wp-deprecated',
    347370            'wp-dom',
    348371            'wp-element',
    349372            'wp-hooks',
    350             'wp-html-entities',
    351373            'wp-i18n',
    352374            'wp-is-shallow-equal',
     
    354376            'wp-polyfill',
    355377            'wp-rich-text',
    356             'wp-url',
    357378        ),
    358379        'compose'                            => array(
     
    367388            'wp-data',
    368389            'wp-deprecated',
     390            'wp-is-shallow-equal',
    369391            'wp-polyfill',
    370392            'wp-url',
     
    373395            'lodash',
    374396            'wp-compose',
     397            'wp-deprecated',
    375398            'wp-element',
    376399            'wp-is-shallow-equal',
     
    379402            'wp-redux-routine',
    380403        ),
    381         'date'                               => array( 'moment', 'wp-polyfill' ),
    382         'deprecated'                         => array( 'wp-polyfill', 'wp-hooks' ),
    383         'dom'                                => array( 'lodash', 'wp-polyfill' ),
    384         'dom-ready'                          => array( 'wp-polyfill' ),
     404        'data-controls'                      => array(
     405            'wp-api-fetch',
     406            'wp-data',
     407            'wp-polyfill',
     408        ),
     409        'date'                               => array(
     410            'moment',
     411            'wp-polyfill',
     412        ),
     413        'deprecated'                         => array(
     414            'wp-hooks',
     415            'wp-polyfill',
     416        ),
     417        'dom'                                => array(
     418            'lodash',
     419            'wp-polyfill',
     420        ),
     421        'dom-ready'                          => array(
     422            'wp-polyfill',
     423        ),
    385424        'edit-post'                          => array(
    386             'jquery',
    387425            'lodash',
    388426            'postbox',
     
    401439            'wp-editor',
    402440            'wp-element',
    403             'wp-embed',
     441            'wp-hooks',
    404442            'wp-i18n',
    405443            'wp-keycodes',
     444            'wp-media-utils',
    406445            'wp-notices',
    407446            'wp-nux',
     
    414453            'lodash',
    415454            'wp-api-fetch',
    416             'wp-blob',
     455            'wp-autop',
    417456            'wp-block-editor',
    418457            'wp-blocks',
     
    421460            'wp-core-data',
    422461            'wp-data',
     462            'wp-data-controls',
    423463            'wp-date',
    424464            'wp-deprecated',
     
    427467            'wp-html-entities',
    428468            'wp-i18n',
     469            'wp-is-shallow-equal',
    429470            'wp-keycodes',
     471            'wp-media-utils',
    430472            'wp-notices',
    431473            'wp-nux',
    432474            'wp-polyfill',
     475            'wp-rich-text',
     476            'wp-server-side-render',
    433477            'wp-url',
    434478            'wp-viewport',
    435479            'wp-wordcount',
    436480        ),
    437         'element'                            => array( 'wp-polyfill', 'react', 'react-dom', 'lodash', 'wp-escape-html' ),
    438         'escape-html'                        => array( 'wp-polyfill' ),
     481        'element'                            => array(
     482            'lodash',
     483            'react',
     484            'react-dom',
     485            'wp-escape-html',
     486            'wp-polyfill',
     487        ),
     488        'escape-html'                        => array(
     489            'wp-polyfill',
     490        ),
    439491        'format-library'                     => array(
     492            'lodash',
    440493            'wp-block-editor',
    441494            'wp-components',
    442             'wp-editor',
     495            'wp-dom',
    443496            'wp-element',
     497            'wp-html-entities',
    444498            'wp-i18n',
    445499            'wp-keycodes',
     
    448502            'wp-url',
    449503        ),
    450         'hooks'                              => array( 'wp-polyfill' ),
    451         'html-entities'                      => array( 'wp-polyfill' ),
    452         'i18n'                               => array( 'wp-polyfill' ),
    453         'is-shallow-equal'                   => array( 'wp-polyfill' ),
    454         'keycodes'                           => array( 'lodash', 'wp-polyfill', 'wp-i18n' ),
     504        'hooks'                              => array(
     505            'wp-polyfill',
     506        ),
     507        'html-entities'                      => array(
     508            'wp-polyfill',
     509        ),
     510        'i18n'                               => array(
     511            'wp-polyfill',
     512        ),
     513        'is-shallow-equal'                   => array(
     514            'wp-polyfill',
     515        ),
     516        'keycodes'                           => array(
     517            'lodash',
     518            'wp-i18n',
     519            'wp-polyfill',
     520        ),
    455521        'list-reusable-blocks'               => array(
    456522            'lodash',
     
    462528            'wp-polyfill',
    463529        ),
     530        'media-utils'                        => array(
     531            'lodash',
     532            'wp-api-fetch',
     533            'wp-blob',
     534            'wp-element',
     535            'wp-i18n',
     536            'wp-polyfill',
     537        ),
    464538        'notices'                            => array(
    465539            'lodash',
     
    469543        ),
    470544        'nux'                                => array(
    471             'wp-element',
    472545            'lodash',
    473546            'wp-components',
    474547            'wp-compose',
    475548            'wp-data',
     549            'wp-element',
    476550            'wp-i18n',
    477551            'wp-polyfill',
     552        ),
     553        'plugins'                            => array(
    478554            'lodash',
    479         ),
    480         'plugins'                            => array( 'lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill' ),
    481         'priority-queue'                     => array(),
    482         'redux-routine'                      => array( 'wp-polyfill' ),
     555            'wp-compose',
     556            'wp-element',
     557            'wp-hooks',
     558            'wp-polyfill',
     559        ),
     560        'priority-queue'                     => array(
     561            'wp-polyfill',
     562        ),
     563        'redux-routine'                      => array(
     564            'lodash',
     565            'wp-polyfill',
     566        ),
    483567        'rich-text'                          => array(
    484568            'lodash',
     569            'wp-compose',
    485570            'wp-data',
     571            'wp-element',
    486572            'wp-escape-html',
    487             'wp-polyfill',
    488         ),
    489         'shortcode'                          => array( 'wp-polyfill', 'lodash' ),
    490         'token-list'                         => array( 'lodash', 'wp-polyfill' ),
    491         'url'                                => array( 'wp-polyfill' ),
    492         'viewport'                           => array( 'wp-polyfill', 'wp-element', 'wp-data', 'wp-compose', 'lodash' ),
    493         'wordcount'                          => array( 'wp-polyfill' ),
     573            'wp-hooks',
     574            'wp-is-shallow-equal',
     575            'wp-keycodes',
     576            'wp-polyfill',
     577        ),
     578        'server-side-render'                 => array(
     579            'lodash',
     580            'wp-api-fetch',
     581            'wp-components',
     582            'wp-data',
     583            'wp-deprecated',
     584            'wp-element',
     585            'wp-i18n',
     586            'wp-polyfill',
     587            'wp-url',
     588        ),
     589        'shortcode'                          => array(
     590            'lodash',
     591            'wp-polyfill',
     592        ),
     593        'token-list'                         => array(
     594            'lodash',
     595            'wp-polyfill',
     596        ),
     597        'url'                                => array(
     598            'wp-polyfill',
     599        ),
     600        'viewport'                           => array(
     601            'lodash',
     602            'wp-compose',
     603            'wp-data',
     604            'wp-polyfill',
     605        ),
     606        'wordcount'                          => array(
     607            'lodash',
     608            'wp-polyfill',
     609        ),
    494610    );
    495611
     
    577693                '   var storageKey = "WP_DATA_USER_" + userId;',
    578694                '   wp.data',
    579                 '       .use( wp.data.plugins.persistence, { storageKey: storageKey } )',
    580                 '       .use( wp.data.plugins.controls );',
     695                '       .use( wp.data.plugins.persistence, { storageKey: storageKey } );',
    581696                '   wp.data.plugins.persistence.__unstableMigrate( { storageKey: storageKey } );',
    582697                '} )();',
Note: See TracChangeset for help on using the changeset viewer.