Make WordPress Core

Changeset 43919 for branches/5.0


Ignore:
Timestamp:
11/21/2018 03:08:01 PM (6 years ago)
Author:
danielbachhuber
Message:

Block Editor: Update @WordPress dependencies to match Gutenberg 4.5.1.

Updates packages: annotations,
api-fetch,
block-library,
blocks,
components,
core-data,
data,
dom, edit-post,
editor,
format-library,
jest-console,
jest-preset-default,
keycodes,
html-entities,
list-reusable-blocks,
notices,
nux,
rich-text,
scripts,
token-list, url,
viewport

Fixes undefined notices in some blocks. Removes incorrect 'gutenberg' textdomain too.

See #45145

Location:
branches/5.0
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/package-lock.json

    r43903 r43919  
    238238        },
    239239        "@wordpress/annotations": {
    240             "version": "1.0.1",
    241             "resolved": "https://registry.npmjs.org/@wordpress/annotations/-/annotations-1.0.1.tgz",
    242             "integrity": "sha512-p3x69/bECmnVCGbcacp/+W+oXG41ilAgMqO5AegFKOUdGajIs5gXsCWl3wD3e/07cI9DDuFwtx476jadxfZBhA==",
     240            "version": "1.0.3",
     241            "resolved": "https://registry.npmjs.org/@wordpress/annotations/-/annotations-1.0.3.tgz",
     242            "integrity": "sha512-/3KGSkugdKfFOsTqha0G3/ig5ZBrRp00ByUMDF8jy6LiMwYXmxFNxwuNJi/jgYh0s+IZtLDtUUUlzpEXlwRKhw==",
    243243            "requires": {
    244244                "@babel/runtime": "^7.0.0",
    245                 "@wordpress/data": "^4.0.0",
     245                "@wordpress/data": "^4.0.1",
    246246                "@wordpress/hooks": "^2.0.3",
    247247                "@wordpress/i18n": "^3.1.0",
    248                 "@wordpress/rich-text": "^3.0.0",
     248                "@wordpress/rich-text": "^3.0.2",
    249249                "lodash": "^4.17.10",
     250                "memize": "^1.0.5",
    250251                "rememo": "^3.0.0",
    251252                "uuid": "^3.3.2"
     
    253254        },
    254255        "@wordpress/api-fetch": {
    255             "version": "2.2.4",
    256             "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-2.2.4.tgz",
    257             "integrity": "sha512-4F/soEicQTTAgZujeJ0oMAh/YPX56dUIzlB4ndswp3dvTJP/FNg2Nng9LnicCfQQHDhIrDFkwRNM4MfAVWk7WA==",
     256            "version": "2.2.5",
     257            "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-2.2.5.tgz",
     258            "integrity": "sha512-/59udJQAG5ynrA7j/E6mBhl0gv1MXpBDiuMhY7TBOdgNYIdltrcBbI2PF0r42EGPRtm+rOzBKrEM7WDkWTCkvA==",
    258259            "requires": {
    259260                "@babel/runtime": "^7.0.0",
    260261                "@wordpress/hooks": "^2.0.3",
    261262                "@wordpress/i18n": "^3.1.0",
    262                 "@wordpress/url": "^2.3.0"
     263                "@wordpress/url": "^2.3.1"
    263264            }
    264265        },
     
    280281        },
    281282        "@wordpress/block-library": {
    282             "version": "2.2.4",
    283             "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-2.2.4.tgz",
    284             "integrity": "sha512-Z/EmYdzB3GQpw8Rva/Y7xG9IS7W/cy1KWR7DrT3/bb7sGwQ4f37KPttY4s7qkRZlkKRakzEfqAIVtci6w2pqmg==",
     283            "version": "2.2.6",
     284            "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-2.2.6.tgz",
     285            "integrity": "sha512-HCRqGzGqeU36tUp26ml+2o8SXCB/gkvzJyeIKX4IGHKjONjxZim/0ht7KoyCEjup/cxNNP8NZ6BQaI3oi6P6JA==",
    285286            "requires": {
    286287                "@babel/runtime": "^7.0.0",
    287288                "@wordpress/autop": "^2.0.2",
    288289                "@wordpress/blob": "^2.1.0",
    289                 "@wordpress/blocks": "^6.0.0",
    290                 "@wordpress/components": "^6.0.2",
     290                "@wordpress/blocks": "^6.0.2",
     291                "@wordpress/components": "^7.0.1",
    291292                "@wordpress/compose": "^3.0.0",
    292                 "@wordpress/core-data": "^2.0.13",
    293                 "@wordpress/data": "^4.0.0",
     293                "@wordpress/core-data": "^2.0.14",
     294                "@wordpress/data": "^4.0.1",
    294295                "@wordpress/deprecated": "^2.0.3",
    295                 "@wordpress/editor": "^8.0.0",
     296                "@wordpress/editor": "^9.0.1",
    296297                "@wordpress/element": "^2.1.8",
    297                 "@wordpress/html-entities": "^2.0.2",
     298                "@wordpress/html-entities": "^2.0.3",
    298299                "@wordpress/i18n": "^3.1.0",
    299                 "@wordpress/keycodes": "^2.0.3",
    300                 "@wordpress/viewport": "^2.0.11",
     300                "@wordpress/keycodes": "^2.0.5",
     301                "@wordpress/viewport": "^2.0.12",
    301302                "classnames": "^2.2.5",
    302303                "lodash": "^4.17.10",
     
    322323        },
    323324        "@wordpress/blocks": {
    324             "version": "6.0.0",
    325             "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-6.0.0.tgz",
    326             "integrity": "sha512-mVRY8VptqIRuGWJRhm7B5BjBJRUKvmIViljUG0mAD3mAcFR9PKNADabbEGSSoH3clUOkUBqLRLzDceQuWOsaYw==",
     325            "version": "6.0.2",
     326            "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-6.0.2.tgz",
     327            "integrity": "sha512-Y9cIbxXnATT6NPBbT969awm/5iLL/fRYoQ2a0xoqqHdcI8kxPbMv2TdAE8RaM8eeYL17t6CmWdfP+jkAIVGMGg==",
    327328            "requires": {
    328329                "@babel/runtime": "^7.0.0",
     
    331332                "@wordpress/block-serialization-default-parser": "^2.0.0",
    332333                "@wordpress/block-serialization-spec-parser": "^2.0.0",
    333                 "@wordpress/data": "^4.0.0",
    334                 "@wordpress/dom": "^2.0.6",
     334                "@wordpress/data": "^4.0.1",
     335                "@wordpress/dom": "^2.0.7",
    335336                "@wordpress/element": "^2.1.8",
    336337                "@wordpress/hooks": "^2.0.3",
    337                 "@wordpress/html-entities": "^2.0.2",
     338                "@wordpress/html-entities": "^2.0.3",
    338339                "@wordpress/i18n": "^3.1.0",
    339340                "@wordpress/is-shallow-equal": "^1.1.4",
     
    349350        },
    350351        "@wordpress/components": {
    351             "version": "6.0.2",
    352             "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-6.0.2.tgz",
    353             "integrity": "sha512-La9RsHC4IBqfsUbY2hOwQyIHnrd5zzcT+HbbKPV1GPlYOxgIpX41gh8/ktAsuNcZQWOmgze5MRFVl4+2OQEV9Q==",
     352            "version": "7.0.1",
     353            "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-7.0.1.tgz",
     354            "integrity": "sha512-6Efciw+CwFa0b51bLZUNWv0C2p5j8VIVb6vAHB/ghwD0BkNHZ0N4JBafOIB+6toAtmLzC+SONfHNmFNJHibZ+Q==",
    354355            "requires": {
    355356                "@babel/runtime": "^7.0.0",
    356357                "@wordpress/a11y": "^2.0.2",
    357                 "@wordpress/api-fetch": "^2.2.4",
     358                "@wordpress/api-fetch": "^2.2.5",
    358359                "@wordpress/compose": "^3.0.0",
    359                 "@wordpress/deprecated": "^2.0.3",
    360                 "@wordpress/dom": "^2.0.6",
     360                "@wordpress/dom": "^2.0.7",
    361361                "@wordpress/element": "^2.1.8",
    362362                "@wordpress/hooks": "^2.0.3",
    363363                "@wordpress/i18n": "^3.1.0",
    364364                "@wordpress/is-shallow-equal": "^1.1.4",
    365                 "@wordpress/keycodes": "^2.0.3",
    366                 "@wordpress/rich-text": "^3.0.0",
    367                 "@wordpress/url": "^2.3.0",
     365                "@wordpress/keycodes": "^2.0.5",
     366                "@wordpress/rich-text": "^3.0.2",
     367                "@wordpress/url": "^2.3.1",
    368368                "classnames": "^2.2.5",
    369369                "clipboard": "^2.0.1",
     
    394394        },
    395395        "@wordpress/core-data": {
    396             "version": "2.0.13",
    397             "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-2.0.13.tgz",
    398             "integrity": "sha512-vRVcBJXQ9QqC4PZOGzyC29ygvAxPr2BmzH+bPTd+EHjYypmLf3nXj8JhC6jjTCjlHt9mmYLVy/lI97kC3Jdfdg==",
     396            "version": "2.0.14",
     397            "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-2.0.14.tgz",
     398            "integrity": "sha512-Hbd9tOfxv41jO1VwN9KzKCVgWuUzvZwIhXj848SFi0CzV0E57fiIVAkB/7bQj1EUOGT1qzIRLHhsBAEpxrVaeA==",
    399399            "requires": {
    400400                "@babel/runtime": "^7.0.0",
    401                 "@wordpress/api-fetch": "^2.2.4",
    402                 "@wordpress/data": "^4.0.0",
    403                 "@wordpress/url": "^2.3.0",
     401                "@wordpress/api-fetch": "^2.2.5",
     402                "@wordpress/data": "^4.0.1",
     403                "@wordpress/url": "^2.3.1",
    404404                "equivalent-key-map": "^0.2.2",
    405405                "lodash": "^4.17.10",
     
    418418        },
    419419        "@wordpress/data": {
    420             "version": "4.0.0",
    421             "resolved": "https://registry.npmjs.org/@wordpress/data/-/data-4.0.0.tgz",
    422             "integrity": "sha512-7DlfLBcSdZb8XzpO+1lUXX3DfCnUVoNN/kc/1iGYndWtEaW6EXOBHAUMqno+DeDzriZRdYbJfqRy9cTbQtwhBQ==",
     420            "version": "4.0.1",
     421            "resolved": "https://registry.npmjs.org/@wordpress/data/-/data-4.0.1.tgz",
     422            "integrity": "sha512-UfuSPjyA4xssOVcgg1wRlngBNGVbMmZGtwoGpAWej/XRpGI26P6Xi+8skPQfLTP2yl+/nMoFd9PTwpE0MwDQ7Q==",
    423423            "requires": {
    424424                "@babel/runtime": "^7.0.0",
     
    454454        },
    455455        "@wordpress/dom": {
    456             "version": "2.0.6",
    457             "resolved": "https://registry.npmjs.org/@wordpress/dom/-/dom-2.0.6.tgz",
    458             "integrity": "sha512-z1xdNASrkJc+FTdYAEDKub7pqrizAo2WFlkBmqrurwBcY/HoOTTEqg6wzq2SwvEq/rff741BCWD/JmGU7tI3AQ==",
     456            "version": "2.0.7",
     457            "resolved": "https://registry.npmjs.org/@wordpress/dom/-/dom-2.0.7.tgz",
     458            "integrity": "sha512-vjOdGSpW3WdHH5oOoamfzdoyF4BbUJOWNNT7bBb2y15GII8rN1cGyGxqVDiiajMDe51p3lyWWCpUeY4ppxj/UA==",
    459459            "requires": {
    460460                "@babel/runtime": "^7.0.0",
     
    471471        },
    472472        "@wordpress/edit-post": {
    473             "version": "3.0.2",
    474             "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-3.0.2.tgz",
    475             "integrity": "sha512-bJRjyr+b4rGax/wOr+5u/ez+NbidRDKXDs35GWc8n2O0ElVFJLeNyrz2tbxLlp+uS5tZTw4P7bGtmMSgh87wcw==",
     473            "version": "3.1.1",
     474            "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-3.1.1.tgz",
     475            "integrity": "sha512-sjGNSTBh6xKZUtpskkc1Hx0y+iqcfOyX+i09I+zrRyoelHvw/0nZ9iHvN34lTszAgPOx9vjy8nHc8obH0gr8AA==",
    476476            "requires": {
    477477                "@babel/runtime": "^7.0.0",
    478478                "@wordpress/a11y": "^2.0.2",
    479                 "@wordpress/api-fetch": "^2.2.4",
    480                 "@wordpress/block-library": "^2.2.4",
    481                 "@wordpress/blocks": "^6.0.0",
    482                 "@wordpress/components": "^6.0.2",
     479                "@wordpress/api-fetch": "^2.2.5",
     480                "@wordpress/block-library": "^2.2.6",
     481                "@wordpress/blocks": "^6.0.2",
     482                "@wordpress/components": "^7.0.1",
    483483                "@wordpress/compose": "^3.0.0",
    484                 "@wordpress/core-data": "^2.0.13",
    485                 "@wordpress/data": "^4.0.0",
    486                 "@wordpress/editor": "^8.0.0",
     484                "@wordpress/core-data": "^2.0.14",
     485                "@wordpress/data": "^4.0.1",
     486                "@wordpress/editor": "^9.0.1",
    487487                "@wordpress/element": "^2.1.8",
    488                 "@wordpress/format-library": "^1.2.2",
     488                "@wordpress/format-library": "^1.2.4",
    489489                "@wordpress/hooks": "^2.0.3",
    490490                "@wordpress/i18n": "^3.1.0",
    491                 "@wordpress/keycodes": "^2.0.3",
    492                 "@wordpress/nux": "^3.0.0",
     491                "@wordpress/keycodes": "^2.0.5",
     492                "@wordpress/nux": "^3.0.2",
    493493                "@wordpress/plugins": "^2.0.9",
    494                 "@wordpress/url": "^2.3.0",
    495                 "@wordpress/viewport": "^2.0.11",
     494                "@wordpress/url": "^2.3.1",
     495                "@wordpress/viewport": "^2.0.12",
    496496                "classnames": "^2.2.5",
    497497                "lodash": "^4.17.10",
     
    500500        },
    501501        "@wordpress/editor": {
    502             "version": "8.0.0",
    503             "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-8.0.0.tgz",
    504             "integrity": "sha512-948dOGeRyrtZyopzdPVqhmEzbAbCaGtRfuwoywOiMJb/HCXuILEbv2fg9FDjTC0bG2HX4OAdE404Win0TL9Xgg==",
     502            "version": "9.0.1",
     503            "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-9.0.1.tgz",
     504            "integrity": "sha512-ZhihGx9huZkJfKRM5dlzesmjoC0Tcl7LwdMC4UXjQSey7blriRGrEMUdhLikbqdLuK1/tVNA2HHIlHUaRBAMMA==",
    505505            "requires": {
    506506                "@babel/runtime": "^7.0.0",
    507507                "@wordpress/a11y": "^2.0.2",
    508                 "@wordpress/api-fetch": "^2.2.4",
     508                "@wordpress/api-fetch": "^2.2.5",
    509509                "@wordpress/blob": "^2.1.0",
    510                 "@wordpress/blocks": "^6.0.0",
    511                 "@wordpress/components": "^6.0.2",
     510                "@wordpress/blocks": "^6.0.2",
     511                "@wordpress/components": "^7.0.1",
    512512                "@wordpress/compose": "^3.0.0",
    513                 "@wordpress/core-data": "^2.0.13",
    514                 "@wordpress/data": "^4.0.0",
     513                "@wordpress/core-data": "^2.0.14",
     514                "@wordpress/data": "^4.0.1",
    515515                "@wordpress/date": "^3.0.0",
    516516                "@wordpress/deprecated": "^2.0.3",
    517                 "@wordpress/dom": "^2.0.6",
     517                "@wordpress/dom": "^2.0.7",
    518518                "@wordpress/element": "^2.1.8",
    519519                "@wordpress/hooks": "^2.0.3",
    520                 "@wordpress/html-entities": "^2.0.2",
     520                "@wordpress/html-entities": "^2.0.3",
    521521                "@wordpress/i18n": "^3.1.0",
    522522                "@wordpress/is-shallow-equal": "^1.1.4",
    523                 "@wordpress/keycodes": "^2.0.3",
    524                 "@wordpress/notices": "^1.0.5",
    525                 "@wordpress/nux": "^3.0.0",
    526                 "@wordpress/token-list": "^1.0.2",
    527                 "@wordpress/url": "^2.3.0",
    528                 "@wordpress/viewport": "^2.0.11",
     523                "@wordpress/keycodes": "^2.0.5",
     524                "@wordpress/notices": "^1.1.0",
     525                "@wordpress/nux": "^3.0.2",
     526                "@wordpress/token-list": "^1.1.0",
     527                "@wordpress/url": "^2.3.1",
     528                "@wordpress/viewport": "^2.0.12",
    529529                "@wordpress/wordcount": "^2.0.3",
    530530                "classnames": "^2.2.5",
     
    598598        },
    599599        "@wordpress/format-library": {
    600             "version": "1.2.2",
    601             "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-1.2.2.tgz",
    602             "integrity": "sha512-AvCfqy+eXk9M+usLKdtPafjgDRGLCrke0Jsh1IDB+oTIC1Ung3iGbwXFr9LrcRzjqQ9C5vA4ofGI5fFpUOP7bA==",
     600            "version": "1.2.4",
     601            "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-1.2.4.tgz",
     602            "integrity": "sha512-zHkYSu01Qpzc0UNAYTe/X39tzCv3ANPeQpdEGKyPOjhNoUi7qYh26Yheas4gWrx2pOs4tG3DfGDbFMIvgPiwZw==",
    603603            "requires": {
    604604                "@babel/runtime": "^7.0.0",
    605                 "@wordpress/components": "^6.0.2",
    606                 "@wordpress/dom": "^2.0.6",
    607                 "@wordpress/editor": "^8.0.0",
     605                "@wordpress/components": "^7.0.1",
     606                "@wordpress/dom": "^2.0.7",
     607                "@wordpress/editor": "^9.0.1",
    608608                "@wordpress/element": "^2.1.8",
    609609                "@wordpress/i18n": "^3.1.0",
    610                 "@wordpress/keycodes": "^2.0.3",
    611                 "@wordpress/rich-text": "^3.0.0",
    612                 "@wordpress/url": "^2.3.0"
     610                "@wordpress/keycodes": "^2.0.5",
     611                "@wordpress/rich-text": "^3.0.2",
     612                "@wordpress/url": "^2.3.1"
    613613            }
    614614        },
     
    622622        },
    623623        "@wordpress/html-entities": {
    624             "version": "2.0.2",
    625             "resolved": "https://registry.npmjs.org/@wordpress/html-entities/-/html-entities-2.0.2.tgz",
    626             "integrity": "sha512-cxG7YjH9EMfZyeLJAd/Vc1nFJxitMSzybv71iMPP3Dqqgz3jixX6oSe4ukTqfoOKBaF7pY7LzS6eTKu7KAmyZw==",
     624            "version": "2.0.3",
     625            "resolved": "https://registry.npmjs.org/@wordpress/html-entities/-/html-entities-2.0.3.tgz",
     626            "integrity": "sha512-qkZL538U0TyC+sp0u5U9t/SulQjOO3pmmGDmJikSn5IHU/EZwYiyFxF2EDPDHR5PHILgAmdJV8Qefmrb3ml3vg==",
    627627            "requires": {
    628628                "@babel/runtime": "^7.0.0"
     
    658658        },
    659659        "@wordpress/keycodes": {
    660             "version": "2.0.3",
    661             "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-2.0.3.tgz",
    662             "integrity": "sha512-cg4IHxz9BjRHBIhs/e0NwO/snImNqMQLZfduPf6Y+GGlq28BbQuxnucDj0ktYw/4X9jxf6IHzWUq9bkX65QGiA==",
     660            "version": "2.0.5",
     661            "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-2.0.5.tgz",
     662            "integrity": "sha512-uEnLRbEe+6FkXKTdQordwR9fBExIngnsa6FmAJ2ODzEI872g271jM5W61m33WzsBHfbFHQKqUi+ZaFAzu7XUcg==",
    663663            "requires": {
    664664                "@babel/runtime": "^7.0.0",
     665                "@wordpress/i18n": "^3.1.0",
    665666                "lodash": "^4.17.10"
    666667            }
     
    678679        },
    679680        "@wordpress/list-reusable-blocks": {
    680             "version": "1.1.12",
    681             "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-1.1.12.tgz",
    682             "integrity": "sha512-12z10twim7R6nxgEfNOZ4MkfobyeORKzTaz3IF5aN0Fz7gq83Y+ppJehMfrZEZ2KvlBp7FEqv3E81h/XKtTGNA==",
     681            "version": "1.1.14",
     682            "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-1.1.14.tgz",
     683            "integrity": "sha512-dRoxJHTClp6tQ5w4RjrLaJTdTkI0tU9do4gz3MNcTi6C/UAE/s/kc5pr6bEmm2hNHsLLhRQPExrNPwh98S7KaA==",
    683684            "requires": {
    684685                "@babel/runtime": "^7.0.0",
    685                 "@wordpress/api-fetch": "^2.2.4",
    686                 "@wordpress/components": "^6.0.2",
     686                "@wordpress/api-fetch": "^2.2.5",
     687                "@wordpress/components": "^7.0.1",
    687688                "@wordpress/compose": "^3.0.0",
    688689                "@wordpress/element": "^2.1.8",
     
    692693        },
    693694        "@wordpress/notices": {
    694             "version": "1.0.5",
    695             "resolved": "https://registry.npmjs.org/@wordpress/notices/-/notices-1.0.5.tgz",
    696             "integrity": "sha512-Cg7WIM3Sk2FiNEWGd2lp+dAn8pPWBjNFrh+Q5ouokEDVy4VTIy0NZYwTm/+VNmmJsHZyfKhp29LU8YrW6VsNuw==",
     695            "version": "1.1.0",
     696            "resolved": "https://registry.npmjs.org/@wordpress/notices/-/notices-1.1.0.tgz",
     697            "integrity": "sha512-dVbHKUq1xo4ecGy1j/cxbnRY1L/by+O4Xu+QBdrX5MPCOEU0TLak8k9PUS+nm13zFAJg4kzZip301Udb/OgoZg==",
    697698            "requires": {
    698699                "@babel/runtime": "^7.0.0",
    699700                "@wordpress/a11y": "^2.0.2",
    700                 "@wordpress/data": "^4.0.0",
     701                "@wordpress/data": "^4.0.1",
    701702                "lodash": "^4.17.10"
    702703            }
    703704        },
    704705        "@wordpress/nux": {
    705             "version": "3.0.0",
    706             "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-3.0.0.tgz",
    707             "integrity": "sha512-O2Xn6arvgja4ciNhmE2Vgv5FtrtTXLqc4kU0LCm9okbILyvoEO53mIsU1sDjMklbzdoOimtAXJVIuow7BLLlvA==",
     706            "version": "3.0.2",
     707            "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-3.0.2.tgz",
     708            "integrity": "sha512-La82tFww/UzWjywaFODvZ8YODvDK4GeX8ckkaP1zFk0UelkS8gRZdaWDfkEsBzbKHyhZj3JJGT1WrM1/JJYKFw==",
    708709            "requires": {
    709710                "@babel/runtime": "^7.0.0",
    710                 "@wordpress/components": "^6.0.2",
     711                "@wordpress/components": "^7.0.1",
    711712                "@wordpress/compose": "^3.0.0",
    712                 "@wordpress/data": "^4.0.0",
     713                "@wordpress/data": "^4.0.1",
    713714                "@wordpress/element": "^2.1.8",
    714715                "@wordpress/i18n": "^3.1.0",
     
    740741        },
    741742        "@wordpress/rich-text": {
    742             "version": "3.0.0",
    743             "resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-3.0.0.tgz",
    744             "integrity": "sha512-T+FMlYbItXoMWCVRaQ7lp9fRG7P1gvekze86aK1O+/w2nlTL4Jee4zCCq6BGUtbzOInTQWz0j1R1BHNBxnXi/Q==",
     743            "version": "3.0.2",
     744            "resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-3.0.2.tgz",
     745            "integrity": "sha512-qLhQz142vpEr/j69SLir3Sz8CYMoosyP8xjGAyH22S/gH8jTydnWtDx//xdkzvikXRbV1niXuPMDyLV2QOlong==",
    745746            "requires": {
    746747                "@babel/runtime": "^7.0.0",
    747                 "@wordpress/data": "^4.0.0",
     748                "@wordpress/compose": "^3.0.0",
     749                "@wordpress/data": "^4.0.1",
    748750                "@wordpress/escape-html": "^1.0.1",
    749751                "lodash": "^4.17.10",
     
    762764        },
    763765        "@wordpress/token-list": {
    764             "version": "1.0.2",
    765             "resolved": "https://registry.npmjs.org/@wordpress/token-list/-/token-list-1.0.2.tgz",
    766             "integrity": "sha512-hyk3xsLB1OlS52kFlR9PcSzvD6fkB2uOG4Uchs1pd304M/G3WTdD6iPiRVZeMmpWbwMq9KFtu9f8hwUzQTrTow==",
     766            "version": "1.1.0",
     767            "resolved": "https://registry.npmjs.org/@wordpress/token-list/-/token-list-1.1.0.tgz",
     768            "integrity": "sha512-1InK0ic0syqUEyY3XkiDiZW9rJB/C/KZEzaOZjyzl/mwDR0npMiAouY3fTQ6qZSsMHjszhSl90yXz1I9M/DapA==",
    767769            "requires": {
    768770                "@babel/runtime": "^7.0.0",
     
    771773        },
    772774        "@wordpress/url": {
    773             "version": "2.3.0",
    774             "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-2.3.0.tgz",
    775             "integrity": "sha512-Uzl6RZnPZZHM67Z6Rs4lHgGY7dJO6OHjWrcw5/Pnoy/WQGDAg1vl5lfTbRXSNKsubOsbvB9IF8qTwVoPEl/ezA==",
     775            "version": "2.3.1",
     776            "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-2.3.1.tgz",
     777            "integrity": "sha512-Z4tCYMsW3DHOLnBXM7MK2kcuX26Pszpxjst8x5hzWmYa6zJRn8MA8Bd5RF++R1NwpWJZGk4m47rj6Q36zkr86g==",
    776778            "requires": {
    777779                "@babel/runtime": "^7.0.0",
     
    780782        },
    781783        "@wordpress/viewport": {
    782             "version": "2.0.11",
    783             "resolved": "https://registry.npmjs.org/@wordpress/viewport/-/viewport-2.0.11.tgz",
    784             "integrity": "sha512-PG6/RM3YhMl/0ZNclZnGUZtfuO1z4sXkaFyfGtzbSmwqBNl0w+cs7DvJkIO4B5qCTufx+2Svvm+X88Vnjn1zSg==",
     784            "version": "2.0.12",
     785            "resolved": "https://registry.npmjs.org/@wordpress/viewport/-/viewport-2.0.12.tgz",
     786            "integrity": "sha512-W2M+RIbAlfIn7B8nQtR10SD5lLpLNu2bMXk18h5ToS8BhBwEK9dagjSh1i4nJplzNzZUB/JsaVXDRRCFymuT3A==",
    785787            "requires": {
    786788                "@babel/runtime": "^7.0.0",
    787789                "@wordpress/compose": "^3.0.0",
    788                 "@wordpress/data": "^4.0.0",
     790                "@wordpress/data": "^4.0.1",
    789791                "@wordpress/element": "^2.1.8",
    790792                "lodash": "^4.17.10"
     
    58165818        "gettext-parser": {
    58175819            "version": "1.4.0",
    5818             "resolved": "http://registry.npmjs.org/gettext-parser/-/gettext-parser-1.4.0.tgz",
     5820            "resolved": "https://registry.npmjs.org/gettext-parser/-/gettext-parser-1.4.0.tgz",
    58195821            "integrity": "sha512-sedZYLHlHeBop/gZ1jdg59hlUEcpcZJofLq2JFwJT1zTqAU3l2wFv6IsuwFHGqbiT9DWzMUW4/em2+hspnmMMA==",
    58205822            "requires": {
     
    1132111323        },
    1132211324        "re-resizable": {
    11323             "version": "4.9.3",
    11324             "resolved": "https://registry.npmjs.org/re-resizable/-/re-resizable-4.9.3.tgz",
    11325             "integrity": "sha512-JKzmZdUAYWs85YErkmZNB7hjGR9qUOHFUZUtEplZlEZBFHRguiWck5J+HFTy/NjlMJtqQsYPQq57nQAO2BuRRg=="
     11325            "version": "4.10.0",
     11326            "resolved": "https://registry.npmjs.org/re-resizable/-/re-resizable-4.10.0.tgz",
     11327            "integrity": "sha512-g5Q5IswKX7LM+MtYFnuzaQrTEGr/kpserqGV8V6HYkjwbV60XnJv00VlKugLHEwlQ5pgrV08spm0TjyyYVbWmQ=="
    1132611328        },
    1132711329        "react": {
  • branches/5.0/package.json

    r43903 r43919  
    5252        "@babel/polyfill": "^7.0.0",
    5353        "@wordpress/a11y": "^2.0.2",
    54         "@wordpress/annotations": "^1.0.1",
    55         "@wordpress/api-fetch": "^2.2.4",
     54        "@wordpress/annotations": "^1.0.3",
     55        "@wordpress/api-fetch": "^2.2.5",
    5656        "@wordpress/autop": "^2.0.2",
    5757        "@wordpress/blob": "^2.1.0",
    58         "@wordpress/block-library": "^2.2.4",
     58        "@wordpress/block-library": "^2.2.6",
    5959        "@wordpress/block-serialization-default-parser": "^2.0.0",
    60         "@wordpress/blocks": "^6.0.0",
    61         "@wordpress/components": "^6.0.2",
     60        "@wordpress/blocks": "^6.0.2",
     61        "@wordpress/components": "^7.0.1",
    6262        "@wordpress/compose": "^3.0.0",
    63         "@wordpress/core-data": "^2.0.13",
    64         "@wordpress/data": "^4.0.0",
     63        "@wordpress/core-data": "^2.0.14",
     64        "@wordpress/data": "^4.0.1",
    6565        "@wordpress/date": "^3.0.0",
    6666        "@wordpress/deprecated": "^2.0.3",
    67         "@wordpress/dom": "^2.0.6",
     67        "@wordpress/dom": "^2.0.7",
    6868        "@wordpress/dom-ready": "^2.0.2",
    69         "@wordpress/edit-post": "^3.0.2",
    70         "@wordpress/editor": "^8.0.0",
     69        "@wordpress/edit-post": "^3.1.1",
     70        "@wordpress/editor": "^9.0.1",
    7171        "@wordpress/element": "^2.1.8",
    7272        "@wordpress/escape-html": "^1.0.1",
    73         "@wordpress/format-library": "^1.2.2",
     73        "@wordpress/format-library": "^1.2.4",
    7474        "@wordpress/hooks": "^2.0.3",
    75         "@wordpress/html-entities": "^2.0.2",
     75        "@wordpress/html-entities": "^2.0.3",
    7676        "@wordpress/i18n": "^3.1.0",
    7777        "@wordpress/is-shallow-equal": "^1.1.4",
    78         "@wordpress/keycodes": "^2.0.3",
    79         "@wordpress/list-reusable-blocks": "^1.1.12",
    80         "@wordpress/notices": "^1.0.5",
    81         "@wordpress/nux": "^3.0.0",
     78        "@wordpress/keycodes": "^2.0.5",
     79        "@wordpress/list-reusable-blocks": "^1.1.14",
     80        "@wordpress/notices": "^1.1.0",
     81        "@wordpress/nux": "^3.0.2",
    8282        "@wordpress/plugins": "^2.0.9",
    8383        "@wordpress/redux-routine": "^3.0.3",
    84         "@wordpress/rich-text": "^3.0.0",
     84        "@wordpress/rich-text": "^3.0.2",
    8585        "@wordpress/shortcode": "^2.0.2",
    86         "@wordpress/token-list": "^1.0.2",
    87         "@wordpress/url": "^2.3.0",
    88         "@wordpress/viewport": "^2.0.11",
     86        "@wordpress/token-list": "^1.1.0",
     87        "@wordpress/url": "^2.3.1",
     88        "@wordpress/viewport": "^2.0.12",
    8989        "@wordpress/wordcount": "^2.0.3",
    9090        "element-closest": "^2.0.2",
  • branches/5.0/src/wp-admin/edit-form-blocks.php

    r43916 r43919  
    178178    ),
    179179);
     180
     181/*
     182 * Set a locale specific default font.
     183 * Translators: Use this to specify the CSS font family for the default font
     184 */
     185$locale_font_family = esc_html_x( 'Noto Serif', 'CSS Font Family for Editor Font' );
     186$styles[]           = array(
     187    'css' => "body { font-family: '$locale_font_family' }",
     188);
     189
    180190if ( $editor_styles && current_theme_supports( 'editor-styles' ) ) {
    181191    foreach ( $editor_styles as $style ) {
  • branches/5.0/src/wp-includes/blocks/archives.php

    r43840 r43919  
    3333
    3434        $dropdown_id = esc_attr( uniqid( 'wp-block-archives-' ) );
    35         $title       = __( 'Archives', 'gutenberg' );
     35        $title       = __( 'Archives' );
    3636
    3737        /** This filter is documented in wp-includes/widgets/class-wp-widget-archives.php */
     
    5151        switch ( $dropdown_args['type'] ) {
    5252            case 'yearly':
    53                 $label = __( 'Select Year', 'gutenberg' );
     53                $label = __( 'Select Year' );
    5454                break;
    5555            case 'monthly':
    56                 $label = __( 'Select Month', 'gutenberg' );
     56                $label = __( 'Select Month' );
    5757                break;
    5858            case 'daily':
    59                 $label = __( 'Select Day', 'gutenberg' );
     59                $label = __( 'Select Day' );
    6060                break;
    6161            case 'weekly':
    62                 $label = __( 'Select Week', 'gutenberg' );
     62                $label = __( 'Select Week' );
    6363                break;
    6464            default:
    65                 $label = __( 'Select Post', 'gutenberg' );
     65                $label = __( 'Select Post' );
    6666                break;
    6767        }
     
    102102                '<div class="%1$s">%2$s</div>',
    103103                $classnames,
    104                 __( 'No archives to show.', 'gutenberg' )
     104                __( 'No archives to show.' )
    105105            );
    106106        } else {
  • branches/5.0/src/wp-includes/blocks/categories.php

    r43801 r43919  
    2828        $id                       = 'wp-block-categories-' . $block_id;
    2929        $args['id']               = $id;
    30         $args['show_option_none'] = __( 'Select Category', 'gutenberg' );
     30        $args['show_option_none'] = __( 'Select Category' );
    3131        $wrapper_markup           = '<div class="%1$s">%2$s</div>';
    3232        $items_markup             = wp_dropdown_categories( $args );
  • branches/5.0/src/wp-includes/blocks/latest-comments.php

    r43801 r43919  
    3030        $title = get_the_title( $post );
    3131        if ( empty( $title ) ) {
    32             $title = __( '(no title)', 'gutenberg' );
     32            $title = __( '(no title)' );
    3333        }
    3434        return esc_html( $title );
     
    9999            $list_items_markup .= sprintf(
    100100                /* translators: 1: author name (inside <a> or <span> tag, based on if they have a URL), 2: post title related to this comment */
    101                 __( '%1$s on %2$s', 'gutenberg' ),
     101                __( '%1$s on %2$s' ),
    102102                $author_markup,
    103103                $post_title
     
    120120
    121121    $class = 'wp-block-latest-comments';
    122     if ( $attributes['align'] ) {
     122    if ( isset( $attributes['align'] ) ) {
    123123        $class .= " align{$attributes['align']}";
    124124    }
     
    144144        '<div class="%1$s">%2$s</div>',
    145145        $classnames,
    146         __( 'No comments to show.', 'gutenberg' )
     146        __( 'No comments to show.' )
    147147    );
    148148
  • branches/5.0/src/wp-includes/blocks/latest-posts.php

    r43840 r43919  
    1414 */
    1515function render_block_core_latest_posts( $attributes ) {
    16     $recent_posts = wp_get_recent_posts(
    17         array(
    18             'numberposts' => $attributes['postsToShow'],
    19             'post_status' => 'publish',
    20             'order'       => $attributes['order'],
    21             'orderby'     => $attributes['orderBy'],
    22             'category'    => $attributes['categories'],
    23         )
     16    $args = array(
     17        'numberposts' => $attributes['postsToShow'],
     18        'post_status' => 'publish',
     19        'order'       => $attributes['order'],
     20        'orderby'     => $attributes['orderBy'],
    2421    );
     22
     23    if ( isset( $attributes['categories'] ) ) {
     24        $args['categories'] = $attributes['categories'];
     25    }
     26
     27    $recent_posts = wp_get_recent_posts( $args );
    2528
    2629    $list_items_markup = '';
     
    3134        $title = get_the_title( $post_id );
    3235        if ( ! $title ) {
    33             $title = __( '(Untitled)', 'gutenberg' );
     36            $title = __( '(Untitled)' );
    3437        }
    3538        $list_items_markup .= sprintf(
  • branches/5.0/src/wp-includes/script-loader.php

    r43914 r43919  
    7575 */
    7676function wp_default_packages_vendor( &$scripts ) {
     77    global $wp_locale;
     78
    7779    $dev_suffix = wp_scripts_get_suffix( 'dev' );
    7880
     
    101103
    102104    $scripts->add( 'wp-polyfill', null, array( 'wp-polyfill' ) );
    103     did_action( 'init' ) && $scripts->add_data(
     105    did_action( 'init' ) && $scripts->add_inline_script(
    104106        'wp-polyfill',
    105         'data',
    106107        wp_get_script_polyfill(
    107108            $scripts,
     
    111112                'window.FormData && window.FormData.prototype.keys' => 'wp-polyfill-formdata',
    112113                'Element.prototype.matches && Element.prototype.closest' => 'wp-polyfill-element-closest',
    113             )
     114            ),
     115            'after'
    114116        )
    115117    );
    116118
    117119    did_action( 'init' ) && $scripts->add_inline_script( 'lodash', 'window.lodash = _.noConflict();' );
     120
     121    did_action( 'init' ) && $scripts->add_inline_script(
     122        'moment',
     123        sprintf(
     124            "moment.locale( '%s', %s );",
     125            get_user_locale(),
     126            wp_json_encode(
     127                array(
     128                    'months'         => array_values( $wp_locale->month ),
     129                    'monthsShort'    => array_values( $wp_locale->month_abbrev ),
     130                    'weekdays'       => array_values( $wp_locale->weekday ),
     131                    'weekdaysShort'  => array_values( $wp_locale->weekday_abbrev ),
     132                    'week'           => array(
     133                        'dow' => (int) get_option( 'start_of_week', 0 ),
     134                    ),
     135                    'longDateFormat' => array(
     136                        'LT'   => get_option( 'time_format', __( 'g:i a', 'default' ) ),
     137                        'LTS'  => null,
     138                        'L'    => null,
     139                        'LL'   => get_option( 'date_format', __( 'F j, Y', 'default' ) ),
     140                        'LLL'  => __( 'F j, Y g:i a', 'default' ),
     141                        'LLLL' => null,
     142                    ),
     143                )
     144            )
     145        ),
     146        'after'
     147    );
    118148}
    119149
     
    222252            'wp-api-fetch',
    223253            'wp-compose',
    224             'wp-deprecated',
    225254            'wp-dom',
    226255            'wp-element',
     
    273302            'wp-i18n',
    274303            'wp-keycodes',
     304            'wp-notices',
    275305            'wp-nux',
    276306            'wp-plugins',
     
    345375        'nux' => array(
    346376            'wp-element',
     377            'lodash',
    347378            'wp-components',
    348379            'wp-compose',
     
    356387        'rich-text' => array(
    357388            'lodash',
    358             'wp-blocks',
    359389            'wp-data',
    360390            'wp-escape-html',
     
    16891719
    16901720    /*
    1691      * Translators: If there are characters in your language that are not supported
    1692      * by Noto Serif, translate this to 'off'. Do not translate into your own language.
     1721     * Translators: Use this to specify the proper Google Font name and variants
     1722     * to load that is supported by your language. Do not translate.
     1723     * Set to 'off' to disable loading.
    16931724     */
    1694     if ( 'off' !== _x( 'on', 'Noto Serif font: on or off' ) ) {
    1695         $fonts_url = 'https://fonts.googleapis.com/css?family=Noto+Serif%3A400%2C400i%2C700%2C700i';
     1725    $font_family = _x( 'Noto Serif:400,400i,700,700i', 'Google Font Name and Variants' );
     1726    if ( 'off' !== $font_family ) {
     1727        $fonts_url  =  'https://fonts.googleapis.com/css?family=' . urlencode( $font_family );
    16961728    }
    16971729    $styles->add( 'wp-editor-font', $fonts_url );
  • branches/5.0/tools/webpack/packages.js

    r43886 r43919  
    226226                'dom-ready',
    227227                'redux-routine',
     228                'token-list',
    228229            ].map( camelCaseDash ) ),
    229230            new CustomTemplatedPathPlugin( {
Note: See TracChangeset for help on using the changeset viewer.