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:
parent
f28ba0c9f6
commit
171c93176c
229
package-lock.json
generated
229
package-lock.json
generated
@ -243,15 +243,15 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/annotations": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/annotations/-/annotations-1.0.3.tgz",
|
||||
"integrity": "sha512-/3KGSkugdKfFOsTqha0G3/ig5ZBrRp00ByUMDF8jy6LiMwYXmxFNxwuNJi/jgYh0s+IZtLDtUUUlzpEXlwRKhw==",
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/annotations/-/annotations-1.0.4.tgz",
|
||||
"integrity": "sha512-4Pl6qfy74yg8O2mmepUMkT0l6/VjsTCTpfvwveezqprLklDAGLXfS0gm8ZKbVlwsoevmd2y4+1Uv6ajOpBFY0w==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/data": "^4.0.1",
|
||||
"@wordpress/data": "^4.1.0",
|
||||
"@wordpress/hooks": "^2.0.3",
|
||||
"@wordpress/i18n": "^3.1.0",
|
||||
"@wordpress/rich-text": "^3.0.2",
|
||||
"@wordpress/rich-text": "^3.0.3",
|
||||
"lodash": "^4.17.10",
|
||||
"memize": "^1.0.5",
|
||||
"rememo": "^3.0.0",
|
||||
@ -259,14 +259,14 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/api-fetch": {
|
||||
"version": "2.2.5",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-2.2.5.tgz",
|
||||
"integrity": "sha512-/59udJQAG5ynrA7j/E6mBhl0gv1MXpBDiuMhY7TBOdgNYIdltrcBbI2PF0r42EGPRtm+rOzBKrEM7WDkWTCkvA==",
|
||||
"version": "2.2.6",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-2.2.6.tgz",
|
||||
"integrity": "sha512-cZfJrkfv4+w8rWEMzuh6Q5QoaT1MxD+K3MuT+PHP/SZiSS0AuP733LsWlYJDo28EatNUHU2XPR3IpeKzbiHlvQ==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/hooks": "^2.0.3",
|
||||
"@wordpress/i18n": "^3.1.0",
|
||||
"@wordpress/url": "^2.3.1"
|
||||
"@wordpress/url": "^2.3.2"
|
||||
}
|
||||
},
|
||||
"@wordpress/autop": {
|
||||
@ -286,31 +286,28 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/block-library": {
|
||||
"version": "2.2.9",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-2.2.9.tgz",
|
||||
"integrity": "sha512-Do/3f1S6uPOywSSiCyeLW6//DEIy7cAyBIdtxcl1CssfpwCPiDbXq5OpyRf94FKV4J1C0qwJfF604IdcsCmsjw==",
|
||||
"version": "2.2.10",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-2.2.10.tgz",
|
||||
"integrity": "sha512-Kgm6aoD5dQMmIF5ev3RiJ9B64tm5dVqimG5+IXqUXBZCp7OkyAXi0SzdeA2r0qNfkvaA5hqSj1TiHxpi6OJnTA==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/autop": "^2.0.2",
|
||||
"@wordpress/blob": "^2.1.0",
|
||||
"@wordpress/blocks": "^6.0.3",
|
||||
"@wordpress/components": "^7.0.3",
|
||||
"@wordpress/blocks": "^6.0.4",
|
||||
"@wordpress/components": "^7.0.4",
|
||||
"@wordpress/compose": "^3.0.0",
|
||||
"@wordpress/core-data": "^2.0.14",
|
||||
"@wordpress/data": "^4.0.1",
|
||||
"@wordpress/core-data": "^2.0.15",
|
||||
"@wordpress/data": "^4.1.0",
|
||||
"@wordpress/deprecated": "^2.0.3",
|
||||
"@wordpress/editor": "^9.0.4",
|
||||
"@wordpress/editor": "^9.0.5",
|
||||
"@wordpress/element": "^2.1.8",
|
||||
"@wordpress/html-entities": "^2.0.3",
|
||||
"@wordpress/html-entities": "^2.0.4",
|
||||
"@wordpress/i18n": "^3.1.0",
|
||||
"@wordpress/keycodes": "^2.0.5",
|
||||
"@wordpress/viewport": "^2.0.12",
|
||||
"@wordpress/viewport": "^2.0.13",
|
||||
"classnames": "^2.2.5",
|
||||
"lodash": "^4.17.10",
|
||||
"memize": "^1.0.5",
|
||||
"moment": "^2.22.1",
|
||||
"querystring": "^0.2.0",
|
||||
"querystringify": "^1.0.0",
|
||||
"url": "^0.11.0"
|
||||
},
|
||||
"dependencies": {
|
||||
@ -322,33 +319,33 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/block-serialization-default-parser": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/block-serialization-default-parser/-/block-serialization-default-parser-2.0.1.tgz",
|
||||
"integrity": "sha512-Wd4yC9NgakDv39bPskA56GSGprZ5kXuhDff3hLR2HpOYS2TPHgT06UsfVfO1tJBOxrqcS/AHVj7FEFZqyyKPNg==",
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/block-serialization-default-parser/-/block-serialization-default-parser-2.0.2.tgz",
|
||||
"integrity": "sha512-gk6RT2U0Fc6U+P0iT1Cu03qHbBLOj31w2W/8JvQuH9DzD3x1YaXDWRA5wl9QRqqFSM6gbH7zKy1v3UC35fuNiA==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0"
|
||||
}
|
||||
},
|
||||
"@wordpress/block-serialization-spec-parser": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/block-serialization-spec-parser/-/block-serialization-spec-parser-2.0.1.tgz",
|
||||
"integrity": "sha512-9bhi2/hThAH8MbFAalI3UMZiKmUih8Az5ZFRzZy9E+EO4BYW479DFU5l/jSelDh3fPhsPza9UZ0so3IrqqoCzg=="
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/block-serialization-spec-parser/-/block-serialization-spec-parser-2.0.2.tgz",
|
||||
"integrity": "sha512-H3v+ndlMEEPfc1lX7mZ6dU1RqgPr3B6CWkV3v4MAJpQVZ6Rm1afw9VUNTZYSJ2aNnpb/fix0Qc3bt22vju69OQ=="
|
||||
},
|
||||
"@wordpress/blocks": {
|
||||
"version": "6.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-6.0.3.tgz",
|
||||
"integrity": "sha512-jBk9xa87b9xgizVXBBnCYMDju0Q871JyeSCwJyUvd77flrym7BjfNIIWVnwOlLxUYc6BeHxZCAi+JzybHLlvFA==",
|
||||
"version": "6.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-6.0.4.tgz",
|
||||
"integrity": "sha512-jGPXt4biR4EVVoWUDtYge4cBi2dEktCUrUsh2ulLkbIxSlenTwLjKEpPb7rkFM65vSXU7urTltXQQ8M8Xaih2g==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/autop": "^2.0.2",
|
||||
"@wordpress/blob": "^2.1.0",
|
||||
"@wordpress/block-serialization-default-parser": "^2.0.1",
|
||||
"@wordpress/block-serialization-spec-parser": "^2.0.1",
|
||||
"@wordpress/data": "^4.0.1",
|
||||
"@wordpress/block-serialization-default-parser": "^2.0.2",
|
||||
"@wordpress/block-serialization-spec-parser": "^2.0.2",
|
||||
"@wordpress/data": "^4.1.0",
|
||||
"@wordpress/dom": "^2.0.7",
|
||||
"@wordpress/element": "^2.1.8",
|
||||
"@wordpress/hooks": "^2.0.3",
|
||||
"@wordpress/html-entities": "^2.0.3",
|
||||
"@wordpress/html-entities": "^2.0.4",
|
||||
"@wordpress/i18n": "^3.1.0",
|
||||
"@wordpress/is-shallow-equal": "^1.1.4",
|
||||
"@wordpress/shortcode": "^2.0.2",
|
||||
@ -362,13 +359,13 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/components": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/components/-/components-7.0.3.tgz",
|
||||
"integrity": "sha512-7TgmhXz8+KRknFNYe+AYHpq3EreB40OZWEYzXF5tSJdjC6wElrDMKqRCGgWdTlpgZ/09g2cDo7a+GJ8iQTm9ig==",
|
||||
"version": "7.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/components/-/components-7.0.4.tgz",
|
||||
"integrity": "sha512-SVezuw6CPJ3+81CXXArfDx2rI6hlxEWqEiPSyOgku2guKTqYnWfAU4yW9c6m4IxtKcQCphQ64AmeJ6CYIh91jw==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/a11y": "^2.0.2",
|
||||
"@wordpress/api-fetch": "^2.2.5",
|
||||
"@wordpress/api-fetch": "^2.2.6",
|
||||
"@wordpress/compose": "^3.0.0",
|
||||
"@wordpress/dom": "^2.0.7",
|
||||
"@wordpress/element": "^2.1.8",
|
||||
@ -376,8 +373,8 @@
|
||||
"@wordpress/i18n": "^3.1.0",
|
||||
"@wordpress/is-shallow-equal": "^1.1.4",
|
||||
"@wordpress/keycodes": "^2.0.5",
|
||||
"@wordpress/rich-text": "^3.0.2",
|
||||
"@wordpress/url": "^2.3.1",
|
||||
"@wordpress/rich-text": "^3.0.3",
|
||||
"@wordpress/url": "^2.3.2",
|
||||
"classnames": "^2.2.5",
|
||||
"clipboard": "^2.0.1",
|
||||
"diff": "^3.5.0",
|
||||
@ -406,14 +403,14 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/core-data": {
|
||||
"version": "2.0.14",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-2.0.14.tgz",
|
||||
"integrity": "sha512-Hbd9tOfxv41jO1VwN9KzKCVgWuUzvZwIhXj848SFi0CzV0E57fiIVAkB/7bQj1EUOGT1qzIRLHhsBAEpxrVaeA==",
|
||||
"version": "2.0.15",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-2.0.15.tgz",
|
||||
"integrity": "sha512-MHln34TnAGGrFkAJ9dbDq6Iu1avQ2PuJwnpLMQeW9oUPgDhxTEHjPoObv/fM4x+r1zCHGXPIyOjySonuXas/oA==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/api-fetch": "^2.2.5",
|
||||
"@wordpress/data": "^4.0.1",
|
||||
"@wordpress/url": "^2.3.1",
|
||||
"@wordpress/api-fetch": "^2.2.6",
|
||||
"@wordpress/data": "^4.1.0",
|
||||
"@wordpress/url": "^2.3.2",
|
||||
"equivalent-key-map": "^0.2.2",
|
||||
"lodash": "^4.17.10",
|
||||
"rememo": "^3.0.0"
|
||||
@ -430,9 +427,9 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/data": {
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/data/-/data-4.0.1.tgz",
|
||||
"integrity": "sha512-UfuSPjyA4xssOVcgg1wRlngBNGVbMmZGtwoGpAWej/XRpGI26P6Xi+8skPQfLTP2yl+/nMoFd9PTwpE0MwDQ7Q==",
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/data/-/data-4.1.0.tgz",
|
||||
"integrity": "sha512-PVd1LVGV9cf6GpRmIvoP+Y56ir1VB0kwSnsJkj69IMFUKBZW4uKB8BOthnPJ7aQi7B57x/ghfgWy9A0FaV1/eg==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/compose": "^3.0.0",
|
||||
@ -447,9 +444,9 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/date": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/date/-/date-3.0.0.tgz",
|
||||
"integrity": "sha512-9Acg/5ABEW55iIbPo4jew1rvV7UEIBwWf0YsQdiYKHHcA5AdcDMxvuFBJXMvO3TByCUa8wTAnF3yP6EwAcgbZw==",
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/date/-/date-3.0.1.tgz",
|
||||
"integrity": "sha512-LOOwZM0A5OeElWgdyuR3LJQ7sJJZ5oHdXnNTs3LEB5GH7FUoozF6B6KY5Qm13pizzWX018C8vggsHrsltuLo3A==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"moment": "^2.22.1",
|
||||
@ -483,62 +480,62 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/edit-post": {
|
||||
"version": "3.1.4",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-3.1.4.tgz",
|
||||
"integrity": "sha512-xZZ1x+JfMLTgCZkkdaJeYdsdEVQ+MkbRtweSdqfm4p4zdyId8wTg/n/ccqAAhFnQjoTufEkkchzRmmnoHozrcg==",
|
||||
"version": "3.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-3.1.5.tgz",
|
||||
"integrity": "sha512-9popPk9u7i87D0uEGl1wzGd4UtrxNNA+ROg19uxqp8FnkdOx8yKXv5zdKimJmcGEJKccQpwWbhCvK5iQaP3/Gw==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/a11y": "^2.0.2",
|
||||
"@wordpress/api-fetch": "^2.2.5",
|
||||
"@wordpress/block-library": "^2.2.9",
|
||||
"@wordpress/blocks": "^6.0.3",
|
||||
"@wordpress/components": "^7.0.3",
|
||||
"@wordpress/api-fetch": "^2.2.6",
|
||||
"@wordpress/block-library": "^2.2.10",
|
||||
"@wordpress/blocks": "^6.0.4",
|
||||
"@wordpress/components": "^7.0.4",
|
||||
"@wordpress/compose": "^3.0.0",
|
||||
"@wordpress/core-data": "^2.0.14",
|
||||
"@wordpress/data": "^4.0.1",
|
||||
"@wordpress/editor": "^9.0.4",
|
||||
"@wordpress/core-data": "^2.0.15",
|
||||
"@wordpress/data": "^4.1.0",
|
||||
"@wordpress/editor": "^9.0.5",
|
||||
"@wordpress/element": "^2.1.8",
|
||||
"@wordpress/format-library": "^1.2.7",
|
||||
"@wordpress/format-library": "^1.2.8",
|
||||
"@wordpress/hooks": "^2.0.3",
|
||||
"@wordpress/i18n": "^3.1.0",
|
||||
"@wordpress/keycodes": "^2.0.5",
|
||||
"@wordpress/nux": "^3.0.4",
|
||||
"@wordpress/nux": "^3.0.5",
|
||||
"@wordpress/plugins": "^2.0.9",
|
||||
"@wordpress/url": "^2.3.1",
|
||||
"@wordpress/viewport": "^2.0.12",
|
||||
"@wordpress/url": "^2.3.2",
|
||||
"@wordpress/viewport": "^2.0.13",
|
||||
"classnames": "^2.2.5",
|
||||
"lodash": "^4.17.10",
|
||||
"refx": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"@wordpress/editor": {
|
||||
"version": "9.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-9.0.4.tgz",
|
||||
"integrity": "sha512-adLq0C0DZFz5R1TNzqRttmcEHXz9Nv4VIBxyqFQbubfMAzq6LKv44YxNw0t9Pg2cZQr4V5gbu214H/0C67PFTQ==",
|
||||
"version": "9.0.5",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-9.0.5.tgz",
|
||||
"integrity": "sha512-bgbYY0EfOBZhumv+bD9OZOcn2Lqkh6gTqe4ulHCsUr6VQyVCMCHHBAZ74lfaDAxE01nEh5tV4LSxpU1EV9XYJg==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/a11y": "^2.0.2",
|
||||
"@wordpress/api-fetch": "^2.2.5",
|
||||
"@wordpress/api-fetch": "^2.2.6",
|
||||
"@wordpress/blob": "^2.1.0",
|
||||
"@wordpress/blocks": "^6.0.3",
|
||||
"@wordpress/components": "^7.0.3",
|
||||
"@wordpress/blocks": "^6.0.4",
|
||||
"@wordpress/components": "^7.0.4",
|
||||
"@wordpress/compose": "^3.0.0",
|
||||
"@wordpress/core-data": "^2.0.14",
|
||||
"@wordpress/data": "^4.0.1",
|
||||
"@wordpress/date": "^3.0.0",
|
||||
"@wordpress/core-data": "^2.0.15",
|
||||
"@wordpress/data": "^4.1.0",
|
||||
"@wordpress/date": "^3.0.1",
|
||||
"@wordpress/deprecated": "^2.0.3",
|
||||
"@wordpress/dom": "^2.0.7",
|
||||
"@wordpress/element": "^2.1.8",
|
||||
"@wordpress/hooks": "^2.0.3",
|
||||
"@wordpress/html-entities": "^2.0.3",
|
||||
"@wordpress/html-entities": "^2.0.4",
|
||||
"@wordpress/i18n": "^3.1.0",
|
||||
"@wordpress/is-shallow-equal": "^1.1.4",
|
||||
"@wordpress/keycodes": "^2.0.5",
|
||||
"@wordpress/notices": "^1.1.0",
|
||||
"@wordpress/nux": "^3.0.4",
|
||||
"@wordpress/notices": "^1.1.1",
|
||||
"@wordpress/nux": "^3.0.5",
|
||||
"@wordpress/token-list": "^1.1.0",
|
||||
"@wordpress/url": "^2.3.1",
|
||||
"@wordpress/viewport": "^2.0.12",
|
||||
"@wordpress/url": "^2.3.2",
|
||||
"@wordpress/viewport": "^2.0.13",
|
||||
"@wordpress/wordcount": "^2.0.3",
|
||||
"classnames": "^2.2.5",
|
||||
"dom-scroll-into-view": "^1.2.1",
|
||||
@ -617,19 +614,19 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/format-library": {
|
||||
"version": "1.2.7",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-1.2.7.tgz",
|
||||
"integrity": "sha512-lVsltV1vS9BW+rHxb0ue+/z5ghvytAixVKCkwMaEEnc4qYYo4nzfsXTNCqpgxyQkpgH34j96psPD/34+os0ALg==",
|
||||
"version": "1.2.8",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-1.2.8.tgz",
|
||||
"integrity": "sha512-QMCj8PZvHgA9OqdbY5Sftlf/3r6nvQKtJzx07ky6UOGvP+b+fiZMWQ9DI/oIZPJrdHH7EwmYOypMwE1qbKJBxg==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/components": "^7.0.3",
|
||||
"@wordpress/components": "^7.0.4",
|
||||
"@wordpress/dom": "^2.0.7",
|
||||
"@wordpress/editor": "^9.0.4",
|
||||
"@wordpress/editor": "^9.0.5",
|
||||
"@wordpress/element": "^2.1.8",
|
||||
"@wordpress/i18n": "^3.1.0",
|
||||
"@wordpress/keycodes": "^2.0.5",
|
||||
"@wordpress/rich-text": "^3.0.2",
|
||||
"@wordpress/url": "^2.3.1"
|
||||
"@wordpress/rich-text": "^3.0.3",
|
||||
"@wordpress/url": "^2.3.2"
|
||||
}
|
||||
},
|
||||
"@wordpress/hooks": {
|
||||
@ -641,9 +638,9 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/html-entities": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/html-entities/-/html-entities-2.0.3.tgz",
|
||||
"integrity": "sha512-qkZL538U0TyC+sp0u5U9t/SulQjOO3pmmGDmJikSn5IHU/EZwYiyFxF2EDPDHR5PHILgAmdJV8Qefmrb3ml3vg==",
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/html-entities/-/html-entities-2.0.4.tgz",
|
||||
"integrity": "sha512-waT+n+sLLzoI7dUovWGwTUB25iNoRyktRYroc4NVgAbDkKuN5Dsi9IOmJnNNitdQ17HEAOn++ZO6X5/mbBkvBA==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0"
|
||||
}
|
||||
@ -698,13 +695,13 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/list-reusable-blocks": {
|
||||
"version": "1.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-1.1.16.tgz",
|
||||
"integrity": "sha512-kkamXKC6lp7ZddFt+VPOaiTftXfldU6qiRNab9JU9BXBD0XmyWl1Ee24RjQtO9ILA8UK9OpYsYCAMP/LSA1Cgg==",
|
||||
"version": "1.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-1.1.17.tgz",
|
||||
"integrity": "sha512-5xfjpEVQQN4RW3f1EiVZg9Cko7EcCrl9lDkkGkH7nkDg/BsmI65H8eVTo5eo91nQdxnnE+R/1Hu2ojqiIxNiFg==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/api-fetch": "^2.2.5",
|
||||
"@wordpress/components": "^7.0.3",
|
||||
"@wordpress/api-fetch": "^2.2.6",
|
||||
"@wordpress/components": "^7.0.4",
|
||||
"@wordpress/compose": "^3.0.0",
|
||||
"@wordpress/element": "^2.1.8",
|
||||
"@wordpress/i18n": "^3.1.0",
|
||||
@ -712,25 +709,25 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/notices": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/notices/-/notices-1.1.0.tgz",
|
||||
"integrity": "sha512-dVbHKUq1xo4ecGy1j/cxbnRY1L/by+O4Xu+QBdrX5MPCOEU0TLak8k9PUS+nm13zFAJg4kzZip301Udb/OgoZg==",
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/notices/-/notices-1.1.1.tgz",
|
||||
"integrity": "sha512-iFbO0GUx+TlmgPGyjTOKErc7w6YQa/jbMMrqCOjrueShBSdgvCplfuHuaU/SCzFbvN6HiZM4XZsfSQYJX+nIAA==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/a11y": "^2.0.2",
|
||||
"@wordpress/data": "^4.0.1",
|
||||
"@wordpress/data": "^4.1.0",
|
||||
"lodash": "^4.17.10"
|
||||
}
|
||||
},
|
||||
"@wordpress/nux": {
|
||||
"version": "3.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-3.0.4.tgz",
|
||||
"integrity": "sha512-0GjMmEI8GM/lbRLAxPel6fMjf5rbEB9wGRzVr1dDD7Ak6CfgVfasK/B9UMgngcO0sbCCXkHopjd8QQhUobffPg==",
|
||||
"version": "3.0.5",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-3.0.5.tgz",
|
||||
"integrity": "sha512-E3HewiMzFEHPZBopHvU9O0tOe13JQj6zkb7poifO1xqLNv+BT3ZAFXAD+d6o9JhlA0yWhyxI1UqMVrBMp/Jq6Q==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/components": "^7.0.3",
|
||||
"@wordpress/components": "^7.0.4",
|
||||
"@wordpress/compose": "^3.0.0",
|
||||
"@wordpress/data": "^4.0.1",
|
||||
"@wordpress/data": "^4.1.0",
|
||||
"@wordpress/element": "^2.1.8",
|
||||
"@wordpress/i18n": "^3.1.0",
|
||||
"lodash": "^4.17.10",
|
||||
@ -760,13 +757,13 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/rich-text": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-3.0.2.tgz",
|
||||
"integrity": "sha512-qLhQz142vpEr/j69SLir3Sz8CYMoosyP8xjGAyH22S/gH8jTydnWtDx//xdkzvikXRbV1niXuPMDyLV2QOlong==",
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-3.0.3.tgz",
|
||||
"integrity": "sha512-w/03H2CyhOPAV7fGHyz1Dph59PM0f3orw9PLZYUpFOBELczoVgKwAyl5aEf6fK+KNGXO/XA4YsJ3mIVCvVdhmQ==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/compose": "^3.0.0",
|
||||
"@wordpress/data": "^4.0.1",
|
||||
"@wordpress/data": "^4.1.0",
|
||||
"@wordpress/escape-html": "^1.0.1",
|
||||
"lodash": "^4.17.10",
|
||||
"rememo": "^3.0.0"
|
||||
@ -792,9 +789,9 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/url": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/url/-/url-2.3.1.tgz",
|
||||
"integrity": "sha512-Z4tCYMsW3DHOLnBXM7MK2kcuX26Pszpxjst8x5hzWmYa6zJRn8MA8Bd5RF++R1NwpWJZGk4m47rj6Q36zkr86g==",
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/url/-/url-2.3.2.tgz",
|
||||
"integrity": "sha512-XI/LBkUNNzP2cckEjkh47I3nw4dis64Hy4i2qStYuGdk/JQnW0BOn2El4sB/8mzeqcYyIF4nna7iMe67t5BI7g==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"qs": "^6.5.2"
|
||||
@ -808,13 +805,13 @@
|
||||
}
|
||||
},
|
||||
"@wordpress/viewport": {
|
||||
"version": "2.0.12",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/viewport/-/viewport-2.0.12.tgz",
|
||||
"integrity": "sha512-W2M+RIbAlfIn7B8nQtR10SD5lLpLNu2bMXk18h5ToS8BhBwEK9dagjSh1i4nJplzNzZUB/JsaVXDRRCFymuT3A==",
|
||||
"version": "2.0.13",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/viewport/-/viewport-2.0.13.tgz",
|
||||
"integrity": "sha512-WqJbezqauYe8gT3AIAUt0Lcp/LoAW/NJ7/M64ZlYYhajDoXpDddc3qQF3nrIHp68WD+lGDd2LuoCuNvGJwiJNw==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@wordpress/compose": "^3.0.0",
|
||||
"@wordpress/data": "^4.0.1",
|
||||
"@wordpress/data": "^4.1.0",
|
||||
"@wordpress/element": "^2.1.8",
|
||||
"lodash": "^4.17.10"
|
||||
}
|
||||
|
38
package.json
38
package.json
@ -56,41 +56,41 @@
|
||||
"dependencies": {
|
||||
"@babel/polyfill": "^7.0.0",
|
||||
"@wordpress/a11y": "^2.0.2",
|
||||
"@wordpress/annotations": "^1.0.3",
|
||||
"@wordpress/api-fetch": "^2.2.5",
|
||||
"@wordpress/annotations": "^1.0.4",
|
||||
"@wordpress/api-fetch": "^2.2.6",
|
||||
"@wordpress/autop": "^2.0.2",
|
||||
"@wordpress/blob": "^2.1.0",
|
||||
"@wordpress/block-library": "^2.2.9",
|
||||
"@wordpress/block-serialization-default-parser": "^2.0.1",
|
||||
"@wordpress/blocks": "^6.0.3",
|
||||
"@wordpress/components": "^7.0.3",
|
||||
"@wordpress/block-library": "^2.2.10",
|
||||
"@wordpress/block-serialization-default-parser": "^2.0.2",
|
||||
"@wordpress/blocks": "^6.0.4",
|
||||
"@wordpress/components": "^7.0.4",
|
||||
"@wordpress/compose": "^3.0.0",
|
||||
"@wordpress/core-data": "^2.0.14",
|
||||
"@wordpress/data": "^4.0.1",
|
||||
"@wordpress/date": "^3.0.0",
|
||||
"@wordpress/core-data": "^2.0.15",
|
||||
"@wordpress/data": "^4.1.0",
|
||||
"@wordpress/date": "^3.0.1",
|
||||
"@wordpress/deprecated": "^2.0.3",
|
||||
"@wordpress/dom": "^2.0.7",
|
||||
"@wordpress/dom-ready": "^2.0.2",
|
||||
"@wordpress/edit-post": "^3.1.4",
|
||||
"@wordpress/editor": "^9.0.4",
|
||||
"@wordpress/edit-post": "^3.1.5",
|
||||
"@wordpress/editor": "^9.0.5",
|
||||
"@wordpress/element": "^2.1.8",
|
||||
"@wordpress/escape-html": "^1.0.1",
|
||||
"@wordpress/format-library": "^1.2.7",
|
||||
"@wordpress/format-library": "^1.2.8",
|
||||
"@wordpress/hooks": "^2.0.3",
|
||||
"@wordpress/html-entities": "^2.0.3",
|
||||
"@wordpress/html-entities": "^2.0.4",
|
||||
"@wordpress/i18n": "^3.1.0",
|
||||
"@wordpress/is-shallow-equal": "^1.1.4",
|
||||
"@wordpress/keycodes": "^2.0.5",
|
||||
"@wordpress/list-reusable-blocks": "^1.1.16",
|
||||
"@wordpress/notices": "^1.1.0",
|
||||
"@wordpress/nux": "^3.0.4",
|
||||
"@wordpress/list-reusable-blocks": "^1.1.17",
|
||||
"@wordpress/notices": "^1.1.1",
|
||||
"@wordpress/nux": "^3.0.5",
|
||||
"@wordpress/plugins": "^2.0.9",
|
||||
"@wordpress/redux-routine": "^3.0.3",
|
||||
"@wordpress/rich-text": "^3.0.2",
|
||||
"@wordpress/rich-text": "^3.0.3",
|
||||
"@wordpress/shortcode": "^2.0.2",
|
||||
"@wordpress/token-list": "^1.1.0",
|
||||
"@wordpress/url": "^2.3.1",
|
||||
"@wordpress/viewport": "^2.0.12",
|
||||
"@wordpress/url": "^2.3.2",
|
||||
"@wordpress/viewport": "^2.0.13",
|
||||
"@wordpress/wordcount": "^2.0.3",
|
||||
"backbone": "1.3.3",
|
||||
"element-closest": "^2.0.2",
|
||||
|
@ -22,6 +22,10 @@ function render_block_core_block( $attributes ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
if ( 'publish' !== $reusable_block->post_status || ! empty( $reusable_block->post_password ) ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return do_blocks( $reusable_block->post_content );
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'wp_latest_comments_draft_or_post_title' ) ) {
|
||||
/**
|
||||
* Get the post title.
|
||||
*
|
||||
@ -33,7 +32,6 @@ if ( ! function_exists( 'wp_latest_comments_draft_or_post_title' ) ) {
|
||||
}
|
||||
return esc_html( $title );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Renders the `core/latest-comments` block on server.
|
||||
|
@ -225,42 +225,42 @@ function wp_default_packages_scripts( &$scripts ) {
|
||||
$suffix = wp_scripts_get_suffix();
|
||||
|
||||
$packages_versions = array(
|
||||
'api-fetch' => '2.2.5',
|
||||
'api-fetch' => '2.2.6',
|
||||
'a11y' => '2.0.2',
|
||||
'annotations' => '1.0.3',
|
||||
'annotations' => '1.0.4',
|
||||
'autop' => '2.0.2',
|
||||
'blob' => '2.1.0',
|
||||
'block-library' => '2.2.9',
|
||||
'block-serialization-default-parser' => '2.0.1',
|
||||
'blocks' => '6.0.3',
|
||||
'components' => '7.0.3',
|
||||
'block-library' => '2.2.10',
|
||||
'block-serialization-default-parser' => '2.0.2',
|
||||
'blocks' => '6.0.4',
|
||||
'components' => '7.0.4',
|
||||
'compose' => '3.0.0',
|
||||
'core-data' => '2.0.14',
|
||||
'data' => '4.0.1',
|
||||
'date' => '3.0.0',
|
||||
'core-data' => '2.0.15',
|
||||
'data' => '4.1.0',
|
||||
'date' => '3.0.1',
|
||||
'deprecated' => '2.0.3',
|
||||
'dom' => '2.0.7',
|
||||
'dom-ready' => '2.0.2',
|
||||
'edit-post' => '3.1.4',
|
||||
'editor' => '9.0.4',
|
||||
'edit-post' => '3.1.5',
|
||||
'editor' => '9.0.5',
|
||||
'element' => '2.1.8',
|
||||
'escape-html' => '1.0.1',
|
||||
'format-library' => '1.2.7',
|
||||
'format-library' => '1.2.8',
|
||||
'hooks' => '2.0.3',
|
||||
'html-entities' => '2.0.3',
|
||||
'html-entities' => '2.0.4',
|
||||
'i18n' => '3.1.0',
|
||||
'is-shallow-equal' => '1.1.4',
|
||||
'keycodes' => '2.0.5',
|
||||
'list-reusable-blocks' => '1.1.16',
|
||||
'notices' => '1.1.0',
|
||||
'nux' => '3.0.4',
|
||||
'list-reusable-blocks' => '1.1.17',
|
||||
'notices' => '1.1.1',
|
||||
'nux' => '3.0.5',
|
||||
'plugins' => '2.0.9',
|
||||
'redux-routine' => '3.0.3',
|
||||
'rich-text' => '3.0.2',
|
||||
'rich-text' => '3.0.3',
|
||||
'shortcode' => '2.0.2',
|
||||
'token-list' => '1.1.0',
|
||||
'url' => '2.3.1',
|
||||
'viewport' => '2.0.12',
|
||||
'url' => '2.3.2',
|
||||
'viewport' => '2.0.13',
|
||||
'wordcount' => '2.0.3',
|
||||
);
|
||||
|
||||
@ -1990,6 +1990,7 @@ function wp_default_styles( &$styles ) {
|
||||
array(
|
||||
'wp-components',
|
||||
'wp-editor',
|
||||
'wp-block-library',
|
||||
// Always include visual styles so the editor never appears broken.
|
||||
'wp-block-library-theme',
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user