Block Editor: Upgrade @wordpress packages to match version 4.7.1.

Updated packages:

- `@wordpress/annotations
- `@wordpress/api-fetch
- `@wordpress/block-library@2.2.10
- `@wordpress/block-serialization-default-parser@2.0.2`
- `@wordpress/block-serialization-spec-parser@2.0.2`
- `@wordpress/blocks@6.0.4`
- `@wordpress/components@7.0.4`
- `@wordpress/core-data@2.0.15`
- `@wordpress/data@4.1.0`
- `@wordpress/date@3.0.1`
- `@wordpress/edit-post@3.1.5`
- `@wordpress/editor@9.0.5`
- `@wordpress/eslint-plugin@1.0.0`
- `@wordpress/format-library@1.2.8`
- `@wordpress/html-entities@2.0.4`
- `@wordpress/list-reusable-blocks@1.1.17`
- `@wordpress/notices@1.1.1`
- `@wordpress/nux@3.0.5`
- `@wordpress/rich-text@3.0.3`
- `@wordpress/url@2.3.2`
- `@wordpress/viewport@2.0.13`

This also includes the updates the Core blocks.

The script loader is updated to match the Gutenberg repository as well.

Props atimmer, gziolo, joen, youknowriad.

Merges [44183] to trunk.

Fixes #45442, #45637.

git-svn-id: https://develop.svn.wordpress.org/trunk@44296 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2018-12-18 21:56:06 +00:00
parent f28ba0c9f6
commit 171c93176c
6 changed files with 182 additions and 182 deletions

229
package-lock.json generated
View File

@ -243,15 +243,15 @@
} }
}, },
"@wordpress/annotations": { "@wordpress/annotations": {
"version": "1.0.3", "version": "1.0.4",
"resolved": "https://registry.npmjs.org/@wordpress/annotations/-/annotations-1.0.3.tgz", "resolved": "https://registry.npmjs.org/@wordpress/annotations/-/annotations-1.0.4.tgz",
"integrity": "sha512-/3KGSkugdKfFOsTqha0G3/ig5ZBrRp00ByUMDF8jy6LiMwYXmxFNxwuNJi/jgYh0s+IZtLDtUUUlzpEXlwRKhw==", "integrity": "sha512-4Pl6qfy74yg8O2mmepUMkT0l6/VjsTCTpfvwveezqprLklDAGLXfS0gm8ZKbVlwsoevmd2y4+1Uv6ajOpBFY0w==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/data": "^4.0.1", "@wordpress/data": "^4.1.0",
"@wordpress/hooks": "^2.0.3", "@wordpress/hooks": "^2.0.3",
"@wordpress/i18n": "^3.1.0", "@wordpress/i18n": "^3.1.0",
"@wordpress/rich-text": "^3.0.2", "@wordpress/rich-text": "^3.0.3",
"lodash": "^4.17.10", "lodash": "^4.17.10",
"memize": "^1.0.5", "memize": "^1.0.5",
"rememo": "^3.0.0", "rememo": "^3.0.0",
@ -259,14 +259,14 @@
} }
}, },
"@wordpress/api-fetch": { "@wordpress/api-fetch": {
"version": "2.2.5", "version": "2.2.6",
"resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-2.2.5.tgz", "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-2.2.6.tgz",
"integrity": "sha512-/59udJQAG5ynrA7j/E6mBhl0gv1MXpBDiuMhY7TBOdgNYIdltrcBbI2PF0r42EGPRtm+rOzBKrEM7WDkWTCkvA==", "integrity": "sha512-cZfJrkfv4+w8rWEMzuh6Q5QoaT1MxD+K3MuT+PHP/SZiSS0AuP733LsWlYJDo28EatNUHU2XPR3IpeKzbiHlvQ==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/hooks": "^2.0.3", "@wordpress/hooks": "^2.0.3",
"@wordpress/i18n": "^3.1.0", "@wordpress/i18n": "^3.1.0",
"@wordpress/url": "^2.3.1" "@wordpress/url": "^2.3.2"
} }
}, },
"@wordpress/autop": { "@wordpress/autop": {
@ -286,31 +286,28 @@
} }
}, },
"@wordpress/block-library": { "@wordpress/block-library": {
"version": "2.2.9", "version": "2.2.10",
"resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-2.2.9.tgz", "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-2.2.10.tgz",
"integrity": "sha512-Do/3f1S6uPOywSSiCyeLW6//DEIy7cAyBIdtxcl1CssfpwCPiDbXq5OpyRf94FKV4J1C0qwJfF604IdcsCmsjw==", "integrity": "sha512-Kgm6aoD5dQMmIF5ev3RiJ9B64tm5dVqimG5+IXqUXBZCp7OkyAXi0SzdeA2r0qNfkvaA5hqSj1TiHxpi6OJnTA==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/autop": "^2.0.2", "@wordpress/autop": "^2.0.2",
"@wordpress/blob": "^2.1.0", "@wordpress/blob": "^2.1.0",
"@wordpress/blocks": "^6.0.3", "@wordpress/blocks": "^6.0.4",
"@wordpress/components": "^7.0.3", "@wordpress/components": "^7.0.4",
"@wordpress/compose": "^3.0.0", "@wordpress/compose": "^3.0.0",
"@wordpress/core-data": "^2.0.14", "@wordpress/core-data": "^2.0.15",
"@wordpress/data": "^4.0.1", "@wordpress/data": "^4.1.0",
"@wordpress/deprecated": "^2.0.3", "@wordpress/deprecated": "^2.0.3",
"@wordpress/editor": "^9.0.4", "@wordpress/editor": "^9.0.5",
"@wordpress/element": "^2.1.8", "@wordpress/element": "^2.1.8",
"@wordpress/html-entities": "^2.0.3", "@wordpress/html-entities": "^2.0.4",
"@wordpress/i18n": "^3.1.0", "@wordpress/i18n": "^3.1.0",
"@wordpress/keycodes": "^2.0.5", "@wordpress/keycodes": "^2.0.5",
"@wordpress/viewport": "^2.0.12", "@wordpress/viewport": "^2.0.13",
"classnames": "^2.2.5", "classnames": "^2.2.5",
"lodash": "^4.17.10", "lodash": "^4.17.10",
"memize": "^1.0.5", "memize": "^1.0.5",
"moment": "^2.22.1",
"querystring": "^0.2.0",
"querystringify": "^1.0.0",
"url": "^0.11.0" "url": "^0.11.0"
}, },
"dependencies": { "dependencies": {
@ -322,33 +319,33 @@
} }
}, },
"@wordpress/block-serialization-default-parser": { "@wordpress/block-serialization-default-parser": {
"version": "2.0.1", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/@wordpress/block-serialization-default-parser/-/block-serialization-default-parser-2.0.1.tgz", "resolved": "https://registry.npmjs.org/@wordpress/block-serialization-default-parser/-/block-serialization-default-parser-2.0.2.tgz",
"integrity": "sha512-Wd4yC9NgakDv39bPskA56GSGprZ5kXuhDff3hLR2HpOYS2TPHgT06UsfVfO1tJBOxrqcS/AHVj7FEFZqyyKPNg==", "integrity": "sha512-gk6RT2U0Fc6U+P0iT1Cu03qHbBLOj31w2W/8JvQuH9DzD3x1YaXDWRA5wl9QRqqFSM6gbH7zKy1v3UC35fuNiA==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0" "@babel/runtime": "^7.0.0"
} }
}, },
"@wordpress/block-serialization-spec-parser": { "@wordpress/block-serialization-spec-parser": {
"version": "2.0.1", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/@wordpress/block-serialization-spec-parser/-/block-serialization-spec-parser-2.0.1.tgz", "resolved": "https://registry.npmjs.org/@wordpress/block-serialization-spec-parser/-/block-serialization-spec-parser-2.0.2.tgz",
"integrity": "sha512-9bhi2/hThAH8MbFAalI3UMZiKmUih8Az5ZFRzZy9E+EO4BYW479DFU5l/jSelDh3fPhsPza9UZ0so3IrqqoCzg==" "integrity": "sha512-H3v+ndlMEEPfc1lX7mZ6dU1RqgPr3B6CWkV3v4MAJpQVZ6Rm1afw9VUNTZYSJ2aNnpb/fix0Qc3bt22vju69OQ=="
}, },
"@wordpress/blocks": { "@wordpress/blocks": {
"version": "6.0.3", "version": "6.0.4",
"resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-6.0.3.tgz", "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-6.0.4.tgz",
"integrity": "sha512-jBk9xa87b9xgizVXBBnCYMDju0Q871JyeSCwJyUvd77flrym7BjfNIIWVnwOlLxUYc6BeHxZCAi+JzybHLlvFA==", "integrity": "sha512-jGPXt4biR4EVVoWUDtYge4cBi2dEktCUrUsh2ulLkbIxSlenTwLjKEpPb7rkFM65vSXU7urTltXQQ8M8Xaih2g==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/autop": "^2.0.2", "@wordpress/autop": "^2.0.2",
"@wordpress/blob": "^2.1.0", "@wordpress/blob": "^2.1.0",
"@wordpress/block-serialization-default-parser": "^2.0.1", "@wordpress/block-serialization-default-parser": "^2.0.2",
"@wordpress/block-serialization-spec-parser": "^2.0.1", "@wordpress/block-serialization-spec-parser": "^2.0.2",
"@wordpress/data": "^4.0.1", "@wordpress/data": "^4.1.0",
"@wordpress/dom": "^2.0.7", "@wordpress/dom": "^2.0.7",
"@wordpress/element": "^2.1.8", "@wordpress/element": "^2.1.8",
"@wordpress/hooks": "^2.0.3", "@wordpress/hooks": "^2.0.3",
"@wordpress/html-entities": "^2.0.3", "@wordpress/html-entities": "^2.0.4",
"@wordpress/i18n": "^3.1.0", "@wordpress/i18n": "^3.1.0",
"@wordpress/is-shallow-equal": "^1.1.4", "@wordpress/is-shallow-equal": "^1.1.4",
"@wordpress/shortcode": "^2.0.2", "@wordpress/shortcode": "^2.0.2",
@ -362,13 +359,13 @@
} }
}, },
"@wordpress/components": { "@wordpress/components": {
"version": "7.0.3", "version": "7.0.4",
"resolved": "https://registry.npmjs.org/@wordpress/components/-/components-7.0.3.tgz", "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-7.0.4.tgz",
"integrity": "sha512-7TgmhXz8+KRknFNYe+AYHpq3EreB40OZWEYzXF5tSJdjC6wElrDMKqRCGgWdTlpgZ/09g2cDo7a+GJ8iQTm9ig==", "integrity": "sha512-SVezuw6CPJ3+81CXXArfDx2rI6hlxEWqEiPSyOgku2guKTqYnWfAU4yW9c6m4IxtKcQCphQ64AmeJ6CYIh91jw==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/a11y": "^2.0.2", "@wordpress/a11y": "^2.0.2",
"@wordpress/api-fetch": "^2.2.5", "@wordpress/api-fetch": "^2.2.6",
"@wordpress/compose": "^3.0.0", "@wordpress/compose": "^3.0.0",
"@wordpress/dom": "^2.0.7", "@wordpress/dom": "^2.0.7",
"@wordpress/element": "^2.1.8", "@wordpress/element": "^2.1.8",
@ -376,8 +373,8 @@
"@wordpress/i18n": "^3.1.0", "@wordpress/i18n": "^3.1.0",
"@wordpress/is-shallow-equal": "^1.1.4", "@wordpress/is-shallow-equal": "^1.1.4",
"@wordpress/keycodes": "^2.0.5", "@wordpress/keycodes": "^2.0.5",
"@wordpress/rich-text": "^3.0.2", "@wordpress/rich-text": "^3.0.3",
"@wordpress/url": "^2.3.1", "@wordpress/url": "^2.3.2",
"classnames": "^2.2.5", "classnames": "^2.2.5",
"clipboard": "^2.0.1", "clipboard": "^2.0.1",
"diff": "^3.5.0", "diff": "^3.5.0",
@ -406,14 +403,14 @@
} }
}, },
"@wordpress/core-data": { "@wordpress/core-data": {
"version": "2.0.14", "version": "2.0.15",
"resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-2.0.14.tgz", "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-2.0.15.tgz",
"integrity": "sha512-Hbd9tOfxv41jO1VwN9KzKCVgWuUzvZwIhXj848SFi0CzV0E57fiIVAkB/7bQj1EUOGT1qzIRLHhsBAEpxrVaeA==", "integrity": "sha512-MHln34TnAGGrFkAJ9dbDq6Iu1avQ2PuJwnpLMQeW9oUPgDhxTEHjPoObv/fM4x+r1zCHGXPIyOjySonuXas/oA==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/api-fetch": "^2.2.5", "@wordpress/api-fetch": "^2.2.6",
"@wordpress/data": "^4.0.1", "@wordpress/data": "^4.1.0",
"@wordpress/url": "^2.3.1", "@wordpress/url": "^2.3.2",
"equivalent-key-map": "^0.2.2", "equivalent-key-map": "^0.2.2",
"lodash": "^4.17.10", "lodash": "^4.17.10",
"rememo": "^3.0.0" "rememo": "^3.0.0"
@ -430,9 +427,9 @@
} }
}, },
"@wordpress/data": { "@wordpress/data": {
"version": "4.0.1", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/@wordpress/data/-/data-4.0.1.tgz", "resolved": "https://registry.npmjs.org/@wordpress/data/-/data-4.1.0.tgz",
"integrity": "sha512-UfuSPjyA4xssOVcgg1wRlngBNGVbMmZGtwoGpAWej/XRpGI26P6Xi+8skPQfLTP2yl+/nMoFd9PTwpE0MwDQ7Q==", "integrity": "sha512-PVd1LVGV9cf6GpRmIvoP+Y56ir1VB0kwSnsJkj69IMFUKBZW4uKB8BOthnPJ7aQi7B57x/ghfgWy9A0FaV1/eg==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/compose": "^3.0.0", "@wordpress/compose": "^3.0.0",
@ -447,9 +444,9 @@
} }
}, },
"@wordpress/date": { "@wordpress/date": {
"version": "3.0.0", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/@wordpress/date/-/date-3.0.0.tgz", "resolved": "https://registry.npmjs.org/@wordpress/date/-/date-3.0.1.tgz",
"integrity": "sha512-9Acg/5ABEW55iIbPo4jew1rvV7UEIBwWf0YsQdiYKHHcA5AdcDMxvuFBJXMvO3TByCUa8wTAnF3yP6EwAcgbZw==", "integrity": "sha512-LOOwZM0A5OeElWgdyuR3LJQ7sJJZ5oHdXnNTs3LEB5GH7FUoozF6B6KY5Qm13pizzWX018C8vggsHrsltuLo3A==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"moment": "^2.22.1", "moment": "^2.22.1",
@ -483,62 +480,62 @@
} }
}, },
"@wordpress/edit-post": { "@wordpress/edit-post": {
"version": "3.1.4", "version": "3.1.5",
"resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-3.1.4.tgz", "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-3.1.5.tgz",
"integrity": "sha512-xZZ1x+JfMLTgCZkkdaJeYdsdEVQ+MkbRtweSdqfm4p4zdyId8wTg/n/ccqAAhFnQjoTufEkkchzRmmnoHozrcg==", "integrity": "sha512-9popPk9u7i87D0uEGl1wzGd4UtrxNNA+ROg19uxqp8FnkdOx8yKXv5zdKimJmcGEJKccQpwWbhCvK5iQaP3/Gw==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/a11y": "^2.0.2", "@wordpress/a11y": "^2.0.2",
"@wordpress/api-fetch": "^2.2.5", "@wordpress/api-fetch": "^2.2.6",
"@wordpress/block-library": "^2.2.9", "@wordpress/block-library": "^2.2.10",
"@wordpress/blocks": "^6.0.3", "@wordpress/blocks": "^6.0.4",
"@wordpress/components": "^7.0.3", "@wordpress/components": "^7.0.4",
"@wordpress/compose": "^3.0.0", "@wordpress/compose": "^3.0.0",
"@wordpress/core-data": "^2.0.14", "@wordpress/core-data": "^2.0.15",
"@wordpress/data": "^4.0.1", "@wordpress/data": "^4.1.0",
"@wordpress/editor": "^9.0.4", "@wordpress/editor": "^9.0.5",
"@wordpress/element": "^2.1.8", "@wordpress/element": "^2.1.8",
"@wordpress/format-library": "^1.2.7", "@wordpress/format-library": "^1.2.8",
"@wordpress/hooks": "^2.0.3", "@wordpress/hooks": "^2.0.3",
"@wordpress/i18n": "^3.1.0", "@wordpress/i18n": "^3.1.0",
"@wordpress/keycodes": "^2.0.5", "@wordpress/keycodes": "^2.0.5",
"@wordpress/nux": "^3.0.4", "@wordpress/nux": "^3.0.5",
"@wordpress/plugins": "^2.0.9", "@wordpress/plugins": "^2.0.9",
"@wordpress/url": "^2.3.1", "@wordpress/url": "^2.3.2",
"@wordpress/viewport": "^2.0.12", "@wordpress/viewport": "^2.0.13",
"classnames": "^2.2.5", "classnames": "^2.2.5",
"lodash": "^4.17.10", "lodash": "^4.17.10",
"refx": "^3.0.0" "refx": "^3.0.0"
} }
}, },
"@wordpress/editor": { "@wordpress/editor": {
"version": "9.0.4", "version": "9.0.5",
"resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-9.0.4.tgz", "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-9.0.5.tgz",
"integrity": "sha512-adLq0C0DZFz5R1TNzqRttmcEHXz9Nv4VIBxyqFQbubfMAzq6LKv44YxNw0t9Pg2cZQr4V5gbu214H/0C67PFTQ==", "integrity": "sha512-bgbYY0EfOBZhumv+bD9OZOcn2Lqkh6gTqe4ulHCsUr6VQyVCMCHHBAZ74lfaDAxE01nEh5tV4LSxpU1EV9XYJg==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/a11y": "^2.0.2", "@wordpress/a11y": "^2.0.2",
"@wordpress/api-fetch": "^2.2.5", "@wordpress/api-fetch": "^2.2.6",
"@wordpress/blob": "^2.1.0", "@wordpress/blob": "^2.1.0",
"@wordpress/blocks": "^6.0.3", "@wordpress/blocks": "^6.0.4",
"@wordpress/components": "^7.0.3", "@wordpress/components": "^7.0.4",
"@wordpress/compose": "^3.0.0", "@wordpress/compose": "^3.0.0",
"@wordpress/core-data": "^2.0.14", "@wordpress/core-data": "^2.0.15",
"@wordpress/data": "^4.0.1", "@wordpress/data": "^4.1.0",
"@wordpress/date": "^3.0.0", "@wordpress/date": "^3.0.1",
"@wordpress/deprecated": "^2.0.3", "@wordpress/deprecated": "^2.0.3",
"@wordpress/dom": "^2.0.7", "@wordpress/dom": "^2.0.7",
"@wordpress/element": "^2.1.8", "@wordpress/element": "^2.1.8",
"@wordpress/hooks": "^2.0.3", "@wordpress/hooks": "^2.0.3",
"@wordpress/html-entities": "^2.0.3", "@wordpress/html-entities": "^2.0.4",
"@wordpress/i18n": "^3.1.0", "@wordpress/i18n": "^3.1.0",
"@wordpress/is-shallow-equal": "^1.1.4", "@wordpress/is-shallow-equal": "^1.1.4",
"@wordpress/keycodes": "^2.0.5", "@wordpress/keycodes": "^2.0.5",
"@wordpress/notices": "^1.1.0", "@wordpress/notices": "^1.1.1",
"@wordpress/nux": "^3.0.4", "@wordpress/nux": "^3.0.5",
"@wordpress/token-list": "^1.1.0", "@wordpress/token-list": "^1.1.0",
"@wordpress/url": "^2.3.1", "@wordpress/url": "^2.3.2",
"@wordpress/viewport": "^2.0.12", "@wordpress/viewport": "^2.0.13",
"@wordpress/wordcount": "^2.0.3", "@wordpress/wordcount": "^2.0.3",
"classnames": "^2.2.5", "classnames": "^2.2.5",
"dom-scroll-into-view": "^1.2.1", "dom-scroll-into-view": "^1.2.1",
@ -617,19 +614,19 @@
} }
}, },
"@wordpress/format-library": { "@wordpress/format-library": {
"version": "1.2.7", "version": "1.2.8",
"resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-1.2.7.tgz", "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-1.2.8.tgz",
"integrity": "sha512-lVsltV1vS9BW+rHxb0ue+/z5ghvytAixVKCkwMaEEnc4qYYo4nzfsXTNCqpgxyQkpgH34j96psPD/34+os0ALg==", "integrity": "sha512-QMCj8PZvHgA9OqdbY5Sftlf/3r6nvQKtJzx07ky6UOGvP+b+fiZMWQ9DI/oIZPJrdHH7EwmYOypMwE1qbKJBxg==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/components": "^7.0.3", "@wordpress/components": "^7.0.4",
"@wordpress/dom": "^2.0.7", "@wordpress/dom": "^2.0.7",
"@wordpress/editor": "^9.0.4", "@wordpress/editor": "^9.0.5",
"@wordpress/element": "^2.1.8", "@wordpress/element": "^2.1.8",
"@wordpress/i18n": "^3.1.0", "@wordpress/i18n": "^3.1.0",
"@wordpress/keycodes": "^2.0.5", "@wordpress/keycodes": "^2.0.5",
"@wordpress/rich-text": "^3.0.2", "@wordpress/rich-text": "^3.0.3",
"@wordpress/url": "^2.3.1" "@wordpress/url": "^2.3.2"
} }
}, },
"@wordpress/hooks": { "@wordpress/hooks": {
@ -641,9 +638,9 @@
} }
}, },
"@wordpress/html-entities": { "@wordpress/html-entities": {
"version": "2.0.3", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/@wordpress/html-entities/-/html-entities-2.0.3.tgz", "resolved": "https://registry.npmjs.org/@wordpress/html-entities/-/html-entities-2.0.4.tgz",
"integrity": "sha512-qkZL538U0TyC+sp0u5U9t/SulQjOO3pmmGDmJikSn5IHU/EZwYiyFxF2EDPDHR5PHILgAmdJV8Qefmrb3ml3vg==", "integrity": "sha512-waT+n+sLLzoI7dUovWGwTUB25iNoRyktRYroc4NVgAbDkKuN5Dsi9IOmJnNNitdQ17HEAOn++ZO6X5/mbBkvBA==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0" "@babel/runtime": "^7.0.0"
} }
@ -698,13 +695,13 @@
} }
}, },
"@wordpress/list-reusable-blocks": { "@wordpress/list-reusable-blocks": {
"version": "1.1.16", "version": "1.1.17",
"resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-1.1.16.tgz", "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-1.1.17.tgz",
"integrity": "sha512-kkamXKC6lp7ZddFt+VPOaiTftXfldU6qiRNab9JU9BXBD0XmyWl1Ee24RjQtO9ILA8UK9OpYsYCAMP/LSA1Cgg==", "integrity": "sha512-5xfjpEVQQN4RW3f1EiVZg9Cko7EcCrl9lDkkGkH7nkDg/BsmI65H8eVTo5eo91nQdxnnE+R/1Hu2ojqiIxNiFg==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/api-fetch": "^2.2.5", "@wordpress/api-fetch": "^2.2.6",
"@wordpress/components": "^7.0.3", "@wordpress/components": "^7.0.4",
"@wordpress/compose": "^3.0.0", "@wordpress/compose": "^3.0.0",
"@wordpress/element": "^2.1.8", "@wordpress/element": "^2.1.8",
"@wordpress/i18n": "^3.1.0", "@wordpress/i18n": "^3.1.0",
@ -712,25 +709,25 @@
} }
}, },
"@wordpress/notices": { "@wordpress/notices": {
"version": "1.1.0", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/@wordpress/notices/-/notices-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@wordpress/notices/-/notices-1.1.1.tgz",
"integrity": "sha512-dVbHKUq1xo4ecGy1j/cxbnRY1L/by+O4Xu+QBdrX5MPCOEU0TLak8k9PUS+nm13zFAJg4kzZip301Udb/OgoZg==", "integrity": "sha512-iFbO0GUx+TlmgPGyjTOKErc7w6YQa/jbMMrqCOjrueShBSdgvCplfuHuaU/SCzFbvN6HiZM4XZsfSQYJX+nIAA==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/a11y": "^2.0.2", "@wordpress/a11y": "^2.0.2",
"@wordpress/data": "^4.0.1", "@wordpress/data": "^4.1.0",
"lodash": "^4.17.10" "lodash": "^4.17.10"
} }
}, },
"@wordpress/nux": { "@wordpress/nux": {
"version": "3.0.4", "version": "3.0.5",
"resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-3.0.4.tgz", "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-3.0.5.tgz",
"integrity": "sha512-0GjMmEI8GM/lbRLAxPel6fMjf5rbEB9wGRzVr1dDD7Ak6CfgVfasK/B9UMgngcO0sbCCXkHopjd8QQhUobffPg==", "integrity": "sha512-E3HewiMzFEHPZBopHvU9O0tOe13JQj6zkb7poifO1xqLNv+BT3ZAFXAD+d6o9JhlA0yWhyxI1UqMVrBMp/Jq6Q==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/components": "^7.0.3", "@wordpress/components": "^7.0.4",
"@wordpress/compose": "^3.0.0", "@wordpress/compose": "^3.0.0",
"@wordpress/data": "^4.0.1", "@wordpress/data": "^4.1.0",
"@wordpress/element": "^2.1.8", "@wordpress/element": "^2.1.8",
"@wordpress/i18n": "^3.1.0", "@wordpress/i18n": "^3.1.0",
"lodash": "^4.17.10", "lodash": "^4.17.10",
@ -760,13 +757,13 @@
} }
}, },
"@wordpress/rich-text": { "@wordpress/rich-text": {
"version": "3.0.2", "version": "3.0.3",
"resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-3.0.2.tgz", "resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-3.0.3.tgz",
"integrity": "sha512-qLhQz142vpEr/j69SLir3Sz8CYMoosyP8xjGAyH22S/gH8jTydnWtDx//xdkzvikXRbV1niXuPMDyLV2QOlong==", "integrity": "sha512-w/03H2CyhOPAV7fGHyz1Dph59PM0f3orw9PLZYUpFOBELczoVgKwAyl5aEf6fK+KNGXO/XA4YsJ3mIVCvVdhmQ==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/compose": "^3.0.0", "@wordpress/compose": "^3.0.0",
"@wordpress/data": "^4.0.1", "@wordpress/data": "^4.1.0",
"@wordpress/escape-html": "^1.0.1", "@wordpress/escape-html": "^1.0.1",
"lodash": "^4.17.10", "lodash": "^4.17.10",
"rememo": "^3.0.0" "rememo": "^3.0.0"
@ -792,9 +789,9 @@
} }
}, },
"@wordpress/url": { "@wordpress/url": {
"version": "2.3.1", "version": "2.3.2",
"resolved": "https://registry.npmjs.org/@wordpress/url/-/url-2.3.1.tgz", "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-2.3.2.tgz",
"integrity": "sha512-Z4tCYMsW3DHOLnBXM7MK2kcuX26Pszpxjst8x5hzWmYa6zJRn8MA8Bd5RF++R1NwpWJZGk4m47rj6Q36zkr86g==", "integrity": "sha512-XI/LBkUNNzP2cckEjkh47I3nw4dis64Hy4i2qStYuGdk/JQnW0BOn2El4sB/8mzeqcYyIF4nna7iMe67t5BI7g==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"qs": "^6.5.2" "qs": "^6.5.2"
@ -808,13 +805,13 @@
} }
}, },
"@wordpress/viewport": { "@wordpress/viewport": {
"version": "2.0.12", "version": "2.0.13",
"resolved": "https://registry.npmjs.org/@wordpress/viewport/-/viewport-2.0.12.tgz", "resolved": "https://registry.npmjs.org/@wordpress/viewport/-/viewport-2.0.13.tgz",
"integrity": "sha512-W2M+RIbAlfIn7B8nQtR10SD5lLpLNu2bMXk18h5ToS8BhBwEK9dagjSh1i4nJplzNzZUB/JsaVXDRRCFymuT3A==", "integrity": "sha512-WqJbezqauYe8gT3AIAUt0Lcp/LoAW/NJ7/M64ZlYYhajDoXpDddc3qQF3nrIHp68WD+lGDd2LuoCuNvGJwiJNw==",
"requires": { "requires": {
"@babel/runtime": "^7.0.0", "@babel/runtime": "^7.0.0",
"@wordpress/compose": "^3.0.0", "@wordpress/compose": "^3.0.0",
"@wordpress/data": "^4.0.1", "@wordpress/data": "^4.1.0",
"@wordpress/element": "^2.1.8", "@wordpress/element": "^2.1.8",
"lodash": "^4.17.10" "lodash": "^4.17.10"
} }

View File

@ -56,41 +56,41 @@
"dependencies": { "dependencies": {
"@babel/polyfill": "^7.0.0", "@babel/polyfill": "^7.0.0",
"@wordpress/a11y": "^2.0.2", "@wordpress/a11y": "^2.0.2",
"@wordpress/annotations": "^1.0.3", "@wordpress/annotations": "^1.0.4",
"@wordpress/api-fetch": "^2.2.5", "@wordpress/api-fetch": "^2.2.6",
"@wordpress/autop": "^2.0.2", "@wordpress/autop": "^2.0.2",
"@wordpress/blob": "^2.1.0", "@wordpress/blob": "^2.1.0",
"@wordpress/block-library": "^2.2.9", "@wordpress/block-library": "^2.2.10",
"@wordpress/block-serialization-default-parser": "^2.0.1", "@wordpress/block-serialization-default-parser": "^2.0.2",
"@wordpress/blocks": "^6.0.3", "@wordpress/blocks": "^6.0.4",
"@wordpress/components": "^7.0.3", "@wordpress/components": "^7.0.4",
"@wordpress/compose": "^3.0.0", "@wordpress/compose": "^3.0.0",
"@wordpress/core-data": "^2.0.14", "@wordpress/core-data": "^2.0.15",
"@wordpress/data": "^4.0.1", "@wordpress/data": "^4.1.0",
"@wordpress/date": "^3.0.0", "@wordpress/date": "^3.0.1",
"@wordpress/deprecated": "^2.0.3", "@wordpress/deprecated": "^2.0.3",
"@wordpress/dom": "^2.0.7", "@wordpress/dom": "^2.0.7",
"@wordpress/dom-ready": "^2.0.2", "@wordpress/dom-ready": "^2.0.2",
"@wordpress/edit-post": "^3.1.4", "@wordpress/edit-post": "^3.1.5",
"@wordpress/editor": "^9.0.4", "@wordpress/editor": "^9.0.5",
"@wordpress/element": "^2.1.8", "@wordpress/element": "^2.1.8",
"@wordpress/escape-html": "^1.0.1", "@wordpress/escape-html": "^1.0.1",
"@wordpress/format-library": "^1.2.7", "@wordpress/format-library": "^1.2.8",
"@wordpress/hooks": "^2.0.3", "@wordpress/hooks": "^2.0.3",
"@wordpress/html-entities": "^2.0.3", "@wordpress/html-entities": "^2.0.4",
"@wordpress/i18n": "^3.1.0", "@wordpress/i18n": "^3.1.0",
"@wordpress/is-shallow-equal": "^1.1.4", "@wordpress/is-shallow-equal": "^1.1.4",
"@wordpress/keycodes": "^2.0.5", "@wordpress/keycodes": "^2.0.5",
"@wordpress/list-reusable-blocks": "^1.1.16", "@wordpress/list-reusable-blocks": "^1.1.17",
"@wordpress/notices": "^1.1.0", "@wordpress/notices": "^1.1.1",
"@wordpress/nux": "^3.0.4", "@wordpress/nux": "^3.0.5",
"@wordpress/plugins": "^2.0.9", "@wordpress/plugins": "^2.0.9",
"@wordpress/redux-routine": "^3.0.3", "@wordpress/redux-routine": "^3.0.3",
"@wordpress/rich-text": "^3.0.2", "@wordpress/rich-text": "^3.0.3",
"@wordpress/shortcode": "^2.0.2", "@wordpress/shortcode": "^2.0.2",
"@wordpress/token-list": "^1.1.0", "@wordpress/token-list": "^1.1.0",
"@wordpress/url": "^2.3.1", "@wordpress/url": "^2.3.2",
"@wordpress/viewport": "^2.0.12", "@wordpress/viewport": "^2.0.13",
"@wordpress/wordcount": "^2.0.3", "@wordpress/wordcount": "^2.0.3",
"backbone": "1.3.3", "backbone": "1.3.3",
"element-closest": "^2.0.2", "element-closest": "^2.0.2",

View File

@ -22,6 +22,10 @@ function render_block_core_block( $attributes ) {
return ''; return '';
} }
if ( 'publish' !== $reusable_block->post_status || ! empty( $reusable_block->post_password ) ) {
return '';
}
return do_blocks( $reusable_block->post_content ); return do_blocks( $reusable_block->post_content );
} }

View File

@ -72,7 +72,7 @@ function build_dropdown_script_block_core_categories( $dropdown_id ) {
?> ?>
<script type='text/javascript'> <script type='text/javascript'>
/* <![CDATA[ */ /* <![CDATA[ */
(function() { ( function() {
var dropdown = document.getElementById( '<?php echo esc_js( $dropdown_id ); ?>' ); var dropdown = document.getElementById( '<?php echo esc_js( $dropdown_id ); ?>' );
function onCatChange() { function onCatChange() {
if ( dropdown.options[ dropdown.selectedIndex ].value > 0 ) { if ( dropdown.options[ dropdown.selectedIndex ].value > 0 ) {

View File

@ -5,34 +5,32 @@
* @package WordPress * @package WordPress
*/ */
if ( ! function_exists( 'wp_latest_comments_draft_or_post_title' ) ) { /**
/** * Get the post title.
* Get the post title. *
* * The post title is fetched and if it is blank then a default string is
* The post title is fetched and if it is blank then a default string is * returned.
* returned. *
* * Copied from `wp-admin/includes/template.php`, but we can't include that
* Copied from `wp-admin/includes/template.php`, but we can't include that * file because:
* file because: *
* * 1. It causes bugs with test fixture generation and strange Docker 255 error
* 1. It causes bugs with test fixture generation and strange Docker 255 error * codes.
* codes. * 2. It's in the admin; ideally we *shouldn't* be including files from the
* 2. It's in the admin; ideally we *shouldn't* be including files from the * admin for a block's output. It's a very small/simple function as well,
* admin for a block's output. It's a very small/simple function as well, * so duplicating it isn't too terrible.
* so duplicating it isn't too terrible. *
* * @since 3.3.0
* @since 3.3.0 *
* * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post.
* @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. * @return string The post title if set; "(no title)" if no title is set.
* @return string The post title if set; "(no title)" if no title is set. */
*/ function wp_latest_comments_draft_or_post_title( $post = 0 ) {
function wp_latest_comments_draft_or_post_title( $post = 0 ) { $title = get_the_title( $post );
$title = get_the_title( $post ); if ( empty( $title ) ) {
if ( empty( $title ) ) { $title = __( '(no title)' );
$title = __( '(no title)' );
}
return esc_html( $title );
} }
return esc_html( $title );
} }
/** /**

View File

@ -225,42 +225,42 @@ function wp_default_packages_scripts( &$scripts ) {
$suffix = wp_scripts_get_suffix(); $suffix = wp_scripts_get_suffix();
$packages_versions = array( $packages_versions = array(
'api-fetch' => '2.2.5', 'api-fetch' => '2.2.6',
'a11y' => '2.0.2', 'a11y' => '2.0.2',
'annotations' => '1.0.3', 'annotations' => '1.0.4',
'autop' => '2.0.2', 'autop' => '2.0.2',
'blob' => '2.1.0', 'blob' => '2.1.0',
'block-library' => '2.2.9', 'block-library' => '2.2.10',
'block-serialization-default-parser' => '2.0.1', 'block-serialization-default-parser' => '2.0.2',
'blocks' => '6.0.3', 'blocks' => '6.0.4',
'components' => '7.0.3', 'components' => '7.0.4',
'compose' => '3.0.0', 'compose' => '3.0.0',
'core-data' => '2.0.14', 'core-data' => '2.0.15',
'data' => '4.0.1', 'data' => '4.1.0',
'date' => '3.0.0', 'date' => '3.0.1',
'deprecated' => '2.0.3', 'deprecated' => '2.0.3',
'dom' => '2.0.7', 'dom' => '2.0.7',
'dom-ready' => '2.0.2', 'dom-ready' => '2.0.2',
'edit-post' => '3.1.4', 'edit-post' => '3.1.5',
'editor' => '9.0.4', 'editor' => '9.0.5',
'element' => '2.1.8', 'element' => '2.1.8',
'escape-html' => '1.0.1', 'escape-html' => '1.0.1',
'format-library' => '1.2.7', 'format-library' => '1.2.8',
'hooks' => '2.0.3', 'hooks' => '2.0.3',
'html-entities' => '2.0.3', 'html-entities' => '2.0.4',
'i18n' => '3.1.0', 'i18n' => '3.1.0',
'is-shallow-equal' => '1.1.4', 'is-shallow-equal' => '1.1.4',
'keycodes' => '2.0.5', 'keycodes' => '2.0.5',
'list-reusable-blocks' => '1.1.16', 'list-reusable-blocks' => '1.1.17',
'notices' => '1.1.0', 'notices' => '1.1.1',
'nux' => '3.0.4', 'nux' => '3.0.5',
'plugins' => '2.0.9', 'plugins' => '2.0.9',
'redux-routine' => '3.0.3', 'redux-routine' => '3.0.3',
'rich-text' => '3.0.2', 'rich-text' => '3.0.3',
'shortcode' => '2.0.2', 'shortcode' => '2.0.2',
'token-list' => '1.1.0', 'token-list' => '1.1.0',
'url' => '2.3.1', 'url' => '2.3.2',
'viewport' => '2.0.12', 'viewport' => '2.0.13',
'wordcount' => '2.0.3', 'wordcount' => '2.0.3',
); );
@ -1990,6 +1990,7 @@ function wp_default_styles( &$styles ) {
array( array(
'wp-components', 'wp-components',
'wp-editor', 'wp-editor',
'wp-block-library',
// Always include visual styles so the editor never appears broken. // Always include visual styles so the editor never appears broken.
'wp-block-library-theme', 'wp-block-library-theme',
) )