diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000000000..ced1059555879 --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,17 @@ +{ + "extends": "stylelint-config-wordpress", + "rules": { + "at-rule-empty-line-before": null, + "at-rule-no-unknown": null, + "comment-empty-line-before": null, + "declaration-block-no-duplicate-properties": null, + "declaration-property-unit-whitelist": null, + "font-weight-notation": null, + "max-line-length": null, + "no-descending-specificity": null, + "no-duplicate-selectors": null, + "rule-empty-line-before": null, + "selector-class-pattern": null, + "value-keyword-case": null + } +} diff --git a/.travis.yml b/.travis.yml index 08f5b1519d411..ee95eb70ab599 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,38 +29,38 @@ branches: jobs: include: - stage: test - env: WP_VERSION=4.9.7 + env: WP_VERSION=latest script: - npm install || exit 1 - npm run ci || exit 1 - stage: test - env: WP_VERSION=4.9.7 DOCKER=true + env: WP_VERSION=latest DOCKER=true script: - ./bin/run-wp-unit-tests.sh - stage: test php: 5.6 - env: WP_VERSION=4.9.7 + env: WP_VERSION=latest script: - ./bin/run-wp-unit-tests.sh if: branch = master and type != "pull_request" - stage: test php: 7.1 - env: WP_VERSION=4.9.7 SWITCH_TO_PHP=5.3 + env: WP_VERSION=latest SWITCH_TO_PHP=5.3 script: - ./bin/run-wp-unit-tests.sh if: branch = master and type != "pull_request" - stage: test php: 7.1 - env: WP_VERSION=4.9.7 SWITCH_TO_PHP=5.2 + env: WP_VERSION=latest SWITCH_TO_PHP=5.2 script: - ./bin/run-wp-unit-tests.sh - stage: test - env: WP_VERSION=4.9.7 + env: WP_VERSION=latest script: - npm install || exit 1 - npm run build || exit 1 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 69c7174fea19f..45c340220472f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -154,6 +154,10 @@ Documentation is automatically synced from master to the [Gutenberg Documentatio To add a new documentation page, you'll have to create a Markdown file in the [docs](https://github.com/WordPress/gutenberg/tree/master/docs) folder and add an item to the [manifest file](https://github.com/WordPress/gutenberg/blob/master/docs/manifest.json). +### `@wordpress/component` + +If you're contributing to the documentation of any component from the `@wordpress/component` package, take a look at its [guidelines for contributing](./packages/components/CONTRIBUTING.md). + ## Reporting Security Issues Please see [SECURITY.md](./SECURITY.md). diff --git a/bin/install-wordpress.sh b/bin/install-wordpress.sh index d2625af72b983..6887c89bb4904 100755 --- a/bin/install-wordpress.sh +++ b/bin/install-wordpress.sh @@ -10,6 +10,7 @@ set -e CLI='cli' CONTAINER='wordpress' SITE_TITLE='Gutenberg Dev' +WP_VERSION=${WP_VERSION-latest} # If we're installing/re-installing the test site, change the containers used. if [ "$1" == '--e2e_tests' ]; then @@ -50,9 +51,11 @@ echo -e $(status_message "Installing WordPress...") # The `-u 33` flag tells Docker to run the command as a particular user and # prevents permissions errors. See: https://github.com/WordPress/gutenberg/pull/8427#issuecomment-410232369 docker-compose run --rm -u 33 $CLI core install --title="$SITE_TITLE" --admin_user=admin --admin_password=password --admin_email=test@test.com --skip-email --url=http://localhost:$HOST_PORT >/dev/null -# Check for WordPress updates, just in case the WordPress image isn't up to date. -# (Disabled until https://github.com/WordPress/gutenberg/issues/8445 is fixed.) -# docker-compose run --rm -u 33 $CLI core update >/dev/null + +if [ "$WP_VERSION" == "latest" ]; then + # Check for WordPress updates, to make sure we're running the very latest version. + docker-compose run --rm -u 33 $CLI core update >/dev/null +fi # If the 'wordpress' volume wasn't during the down/up earlier, but the post port has changed, we need to update it. CURRENT_URL=$(docker-compose run -T --rm $CLI option get siteurl) diff --git a/core-blocks/button/editor.scss b/core-blocks/button/editor.scss index 40b3f90f77a69..6f3f6086769c8 100644 --- a/core-blocks/button/editor.scss +++ b/core-blocks/button/editor.scss @@ -38,7 +38,7 @@ .editor-url-input__suggestions { width: $blocks-button__link-input-width - $icon-button-size - $icon-button-size; - z-index: z-index( '.core-blocks-button__inline-link .editor-url-input__suggestions' ); + z-index: z-index(".core-blocks-button__inline-link .editor-url-input__suggestions"); } > .dashicon { @@ -49,7 +49,7 @@ color: $dark-gray-100; } - .editor-url-input input[type=text]::placeholder { + .editor-url-input input[type="text"]::placeholder { color: $dark-gray-100; } diff --git a/core-blocks/button/style.scss b/core-blocks/button/style.scss index 91ab636558dc7..c3b8ec7c17cde 100644 --- a/core-blocks/button/style.scss +++ b/core-blocks/button/style.scss @@ -13,7 +13,7 @@ $blocks-button__line-height: $big-font-size + 6px; font-size: $big-font-size; line-height: $blocks-button__line-height; margin: 0; - padding: ( $blocks-button__height - $blocks-button__line-height ) / 2 24px; + padding: ($blocks-button__height - $blocks-button__line-height) / 2 24px; text-align: center; text-decoration: none; white-space: normal; @@ -80,7 +80,7 @@ $blocks-button__line-height: $big-font-size + 6px; } &.has-very-light-gray-background-color { - border-color: #eeeeee; + border-color: #eee; } &.has-cyan-bluish-gray-background-color { diff --git a/core-blocks/code/editor.scss b/core-blocks/code/editor.scss index a06086944cd38..681484c287bb5 100644 --- a/core-blocks/code/editor.scss +++ b/core-blocks/code/editor.scss @@ -2,7 +2,7 @@ font-family: $editor-html-font; font-size: $text-editor-font-size; color: $dark-gray-800; - padding: .8em 1.6em; + padding: 0.8em 1.6em; border: $border-width solid $light-gray-500; border-radius: 4px; } @@ -33,7 +33,7 @@ cursor: default; } - &> span { + & > span { border: $border-width solid transparent; padding: 0 6px; box-sizing: content-box; diff --git a/core-blocks/code/theme.scss b/core-blocks/code/theme.scss index c44affa6dda6e..91edcbf03fed7 100644 --- a/core-blocks/code/theme.scss +++ b/core-blocks/code/theme.scss @@ -2,7 +2,7 @@ font-family: $editor-html-font; font-size: $text-editor-font-size; color: $dark-gray-800; - padding: .8em 1.6em; + padding: 0.8em 1.6em; border: 1px solid $light-gray-500; border-radius: 4px; } diff --git a/core-blocks/cover-image/editor.scss b/core-blocks/cover-image/editor.scss index 1f4af11e6603b..d62d5806fd3b7 100644 --- a/core-blocks/cover-image/editor.scss +++ b/core-blocks/cover-image/editor.scss @@ -10,7 +10,7 @@ margin: 0 -2px; border-radius: 2px; box-shadow: none; - background: rgba( 255, 255, 255, 0.3 ); + background: rgba(255, 255, 255, 0.3); } .editor-rich-text strong { @@ -25,7 +25,7 @@ justify-content: flex-start; } - &.has-right-content .editor-rich-text__inline-toolbar{ + &.has-right-content .editor-rich-text__inline-toolbar { justify-content: flex-end; } } diff --git a/core-blocks/cover-image/style.scss b/core-blocks/cover-image/style.scss index f61cea278841f..8c38d4aa2939a 100644 --- a/core-blocks/cover-image/style.scss +++ b/core-blocks/cover-image/style.scss @@ -53,18 +53,18 @@ } &.has-background-dim::before { - content: ''; + content: ""; position: absolute; top: 0; left: 0; bottom: 0; right: 0; - background-color: rgba( $black, 0.5 ); + background-color: rgba($black, 0.5); } @for $i from 1 through 10 { &.has-background-dim.has-background-dim-#{ $i * 10 }::before { - background-color: rgba( $black, $i * 0.1 ); + background-color: rgba($black, $i * 0.1); } } diff --git a/core-blocks/file/style.scss b/core-blocks/file/style.scss index 744e89e582f2a..f25d4f08d9f60 100644 --- a/core-blocks/file/style.scss +++ b/core-blocks/file/style.scss @@ -26,7 +26,7 @@ &:active { box-shadow: none; color: $white; - opacity: .85; + opacity: 0.85; text-decoration: none; } } diff --git a/core-blocks/freeform/editor.scss b/core-blocks/freeform/editor.scss index 26b5a07935f03..91bb7b318fd88 100644 --- a/core-blocks/freeform/editor.scss +++ b/core-blocks/freeform/editor.scss @@ -110,7 +110,7 @@ margin: 15px auto; outline: 0; cursor: default; - border: 2px dashed rgb( 186, 186, 186 ); + border: 2px dashed rgb(186, 186, 186); } } @@ -132,17 +132,17 @@ div[data-type="core/freeform"] .editor-block-contextual-toolbar + div { - margin-top: 0; - padding-top: 0; + margin-top: 0; + padding-top: 0; } .freeform-toolbar { width: auto; margin: 0 #{ -$parent-block-padding }; position: sticky; - z-index: z-index( '.freeform-toolbar' ); + z-index: z-index(".freeform-toolbar"); top: $block-padding; - transform: translateY( -$block-padding ); + transform: translateY(-$block-padding); } .freeform-toolbar:empty { @@ -153,7 +153,7 @@ div[data-type="core/freeform"] .editor-block-contextual-toolbar + div { &::before { font-family: $default-font; font-size: $default-font-size; - content: attr( data-placeholder ); + content: attr(data-placeholder); color: #555d66; line-height: 37px; padding: $block-padding; diff --git a/core-blocks/gallery/editor.scss b/core-blocks/gallery/editor.scss index 7190c3051822d..7630e11bc751e 100644 --- a/core-blocks/gallery/editor.scss +++ b/core-blocks/gallery/editor.scss @@ -1,15 +1,15 @@ .wp-block-gallery.components-placeholder { - margin: 0px; + margin: 0; } // Allow gallery items to go edge to edge. -.gutenberg .wp-block-gallery:not( .components-placeholder ) { +.gutenberg .wp-block-gallery:not(.components-placeholder) { margin-left: -8px; margin-right: -8px; } // Don't use negative margins when full-wide. -.gutenberg [data-align="full"] .wp-block-gallery:not( .components-placeholder ) { +.gutenberg [data-align="full"] .wp-block-gallery:not(.components-placeholder) { margin-left: auto; margin-right: auto; } @@ -17,7 +17,7 @@ .blocks-gallery-item { .is-selected { - outline: 4px solid theme( primary ); + outline: 4px solid theme(primary); outline-offset: -4px; } @@ -32,13 +32,13 @@ overflow-y: auto; } - .editor-rich-text figcaption:not( [data-is-placeholder-visible="true"] ) { + .editor-rich-text figcaption:not([data-is-placeholder-visible="true"]) { position: relative; overflow: hidden; } .is-selected .editor-rich-text { - width: calc( 100% - 8px ); + width: calc(100% - 8px); left: 4px; margin-top: -4px; @@ -84,9 +84,9 @@ position: absolute; top: 0; right: 0; - background-color: theme( primary ); + background-color: theme(primary); display: inline-flex; - z-index: z-index( '.core-blocks-gallery-item__inline-menu' ); + z-index: z-index(".core-blocks-gallery-item__inline-menu"); .components-button { color: $white; @@ -105,16 +105,18 @@ position: absolute; top: 50%; left: 50%; - transform: translate( -50%, -50% ); + transform: translate(-50%, -50%); } // IE11 doesn't support object-fit or flex very well, so we inline-block. -@media all and ( -ms-high-contrast: none ) { - *::-ms-backdrop, .blocks-gallery-item { +@media all and (-ms-high-contrast: none) { + *::-ms-backdrop, + .blocks-gallery-item { display: inline-block; } - *::-ms-backdrop, .blocks-gallery-item img { + *::-ms-backdrop, + .blocks-gallery-item img { width: 100%; } -} \ No newline at end of file +} diff --git a/core-blocks/gallery/style.scss b/core-blocks/gallery/style.scss index 71eaa2c126665..ba6da0fffdf6b 100644 --- a/core-blocks/gallery/style.scss +++ b/core-blocks/gallery/style.scss @@ -2,7 +2,7 @@ display: flex; flex-wrap: wrap; list-style-type: none; - padding: 0px; + padding: 0; // allow gallery items to go edge to edge margin: 0 -8px 0 -8px; @@ -37,8 +37,8 @@ color: $white; text-align: center; font-size: $default-font-size; - background: linear-gradient( 0deg, rgba( $color: $black, $alpha: 0.7 ) 0, rgba($color: $black, $alpha: 0.3) 60%, transparent ); - + background: linear-gradient(0deg, rgba($color: $black, $alpha: 0.7) 0, rgba($color: $black, $alpha: 0.3) 60%, transparent); + img { display: inline; } @@ -61,7 +61,7 @@ // Responsive fallback value, 2 columns & .blocks-gallery-image, & .blocks-gallery-item { - width: calc( 100% / 2 - 16px ); + width: calc(100% / 2 - 16px); } &.columns-1 .blocks-gallery-image, @@ -73,7 +73,7 @@ @for $i from 3 through 8 { &.columns-#{ $i } .blocks-gallery-image, &.columns-#{ $i } .blocks-gallery-item { - width: calc(100% / #{ $i } - 16px ); + width: calc(100% / #{ $i } - 16px); } } } diff --git a/core-blocks/image/editor.scss b/core-blocks/image/editor.scss index 48f3de5183881..adc34413965de 100644 --- a/core-blocks/image/editor.scss +++ b/core-blocks/image/editor.scss @@ -29,11 +29,11 @@ width: 16px !important; height: 16px !important; position: absolute; - background: theme( primary ); + background: theme(primary); .wp-block-image.is-focused & { display: block; - z-index: z-index( '.wp-block-image__resize-handlers' ); + z-index: z-index(".wp-block-image__resize-handlers"); } } diff --git a/core-blocks/latest-posts/style.scss b/core-blocks/latest-posts/style.scss index cbab1a36c65ab..2bbfb7384558b 100644 --- a/core-blocks/latest-posts/style.scss +++ b/core-blocks/latest-posts/style.scss @@ -20,7 +20,7 @@ @include break-small { @for $i from 2 through 6 { &.columns-#{ $i } li { - width: calc( ( 100% / #{ $i } ) - 16px ); + width: calc((100% / #{ $i }) - 16px); } } } diff --git a/core-blocks/more/editor.scss b/core-blocks/more/editor.scss index 180ee3c8d369a..c0d2955bfeb5d 100644 --- a/core-blocks/more/editor.scss +++ b/core-blocks/more/editor.scss @@ -9,7 +9,7 @@ white-space: nowrap; // Label - input[type=text] { + input[type="text"] { font-size: $default-font-size; text-transform: uppercase; font-weight: 600; @@ -32,12 +32,12 @@ // Dashed line &::before { - content: ''; + content: ""; position: absolute; - top: calc( 50% ); + top: calc(50%); left: 0; right: 0; border-top: 3px dashed $light-gray-700; - z-index: z-index( '.editor-block-list__block .wp-block-more::before' ); + z-index: z-index(".editor-block-list__block .wp-block-more::before"); } } diff --git a/core-blocks/nextpage/editor.scss b/core-blocks/nextpage/editor.scss index 4956abfa47790..0914b06af3bbb 100644 --- a/core-blocks/nextpage/editor.scss +++ b/core-blocks/nextpage/editor.scss @@ -24,12 +24,12 @@ // Dashed line &::before { - content: ''; + content: ""; position: absolute; - top: calc( 50% ); + top: calc(50%); left: 0; right: 0; border-top: 3px dashed $light-gray-700; - z-index: z-index( '.editor-block-list__block .wp-block-more::before' ); + z-index: z-index(".editor-block-list__block .wp-block-more::before"); } } diff --git a/core-blocks/paragraph/style.scss b/core-blocks/paragraph/style.scss index ab1be60eb7e01..25d8cea731f3e 100644 --- a/core-blocks/paragraph/style.scss +++ b/core-blocks/paragraph/style.scss @@ -19,12 +19,12 @@ p { // number of bugs in combination with `contenteditable` fields. The caret // cannot be set around it, caret position calculation fails in Chrome, and // typing at the end of the paragraph doesn't work. - &.has-drop-cap:not( :focus ):first-letter { + &.has-drop-cap:not(:focus)::first-letter { float: left; font-size: 8.4em; line-height: 0.68; font-weight: 100; - margin: .05em .1em 0 0; + margin: 0.05em 0.1em 0 0; text-transform: uppercase; font-style: normal; } diff --git a/core-blocks/pullquote/editor.scss b/core-blocks/pullquote/editor.scss index 9dbd2bcffdf8b..fddbfa06b065a 100644 --- a/core-blocks/pullquote/editor.scss +++ b/core-blocks/pullquote/editor.scss @@ -21,7 +21,7 @@ .editor-rich-text__tinymce[data-is-empty="true"]::before { width: 100%; left: 50%; - transform: translateX( -50% ); + transform: translateX(-50%); } & > .core-blocks-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before, diff --git a/core-blocks/separator/style.scss b/core-blocks/separator/style.scss index 6a17542d8cd92..48c7d878091e6 100644 --- a/core-blocks/separator/style.scss +++ b/core-blocks/separator/style.scss @@ -15,7 +15,7 @@ height: auto; &::before { - content: '\00b7 \00b7 \00b7'; + content: "\00b7 \00b7 \00b7"; color: $dark-gray-700; font-size: 20px; letter-spacing: 2em; diff --git a/core-blocks/separator/theme.scss b/core-blocks/separator/theme.scss index 7d8b0f41ffe90..1d679a32ece8f 100644 --- a/core-blocks/separator/theme.scss +++ b/core-blocks/separator/theme.scss @@ -4,7 +4,7 @@ margin: 1.65em auto; // Default, thin style - &:not( .is-style-wide ):not( .is-style-dots ) { + &:not(.is-style-wide):not(.is-style-dots) { max-width: 100px; } -} \ No newline at end of file +} diff --git a/core-blocks/spacer/editor.scss b/core-blocks/spacer/editor.scss index 42a7bd423db9d..fd666690d043e 100644 --- a/core-blocks/spacer/editor.scss +++ b/core-blocks/spacer/editor.scss @@ -11,11 +11,11 @@ .core-blocks-spacer__resize-handler-bottom { display: none; border-radius: 50%; - border: 2px solid white; + border: 2px solid $white; width: 15px !important; height: 15px !important; position: absolute; - background: theme( primary ); + background: theme(primary); padding: 0 3px 3px 0; cursor: se-resize; left: 50% !important; diff --git a/core-blocks/style.scss b/core-blocks/style.scss index a13e6364e038a..5ae12e333274f 100644 --- a/core-blocks/style.scss +++ b/core-blocks/style.scss @@ -31,7 +31,7 @@ } .has-very-light-gray-background-color { - background-color: #eeeeee; + background-color: #eee; } .has-cyan-bluish-gray-background-color { @@ -75,7 +75,7 @@ } .has-very-light-gray-color { - color: #eeeeee; + color: #eee; } .has-cyan-bluish-gray-color { diff --git a/core-blocks/table/theme.scss b/core-blocks/table/theme.scss index 277cdd105b485..b2cc6ceedd258 100644 --- a/core-blocks/table/theme.scss +++ b/core-blocks/table/theme.scss @@ -6,7 +6,6 @@ tbody { width: 100%; - display: table; min-width: $break-mobile / 2; } diff --git a/core-blocks/test/full-content.js b/core-blocks/test/full-content.js index 78f04d0fae3d3..a76b37ad88527 100644 --- a/core-blocks/test/full-content.js +++ b/core-blocks/test/full-content.js @@ -87,8 +87,6 @@ function normalizeParsedBlocks( blocks ) { // Change client IDs to a predictable value block.clientId = '_clientId_' + index; - // TODO: Remove in 3.5 "UID" deprecation. - delete block.uid; // Walk each attribute and get a more concise representation of any // React elements diff --git a/core-blocks/text-columns/style.scss b/core-blocks/text-columns/style.scss index 1fc3a2c524b75..63f0ac4e6f669 100644 --- a/core-blocks/text-columns/style.scss +++ b/core-blocks/text-columns/style.scss @@ -19,12 +19,12 @@ } &.columns-2 .wp-block-column { - width: calc( 100% / 2 ); + width: calc(100% / 2); } &.columns-3 .wp-block-column { - width: calc( 100% / 3 ); + width: calc(100% / 3); } &.columns-4 .wp-block-column { - width: calc( 100% / 4 ); + width: calc(100% / 4); } } diff --git a/docker-compose.yml b/docker-compose.yml index 374d88f234579..0e8dbad05597a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ version: '3.1' services: wordpress: - image: wordpress:4.9.7 # Pinned to version 4.9.7 until https://github.com/WordPress/gutenberg/issues/8445 is fixed. + image: wordpress ports: - 8888:80 environment: @@ -41,7 +41,7 @@ services: - .:/app wordpress_e2e_tests: - image: wordpress:4.9.7 # Pinned to version 4.9.7 until https://github.com/WordPress/gutenberg/issues/8445 is fixed. + image: wordpress ports: - 8889:80 environment: diff --git a/docs/data/data-core.md b/docs/data/data-core.md index 8a033f4f195e5..d3f37e54c82d8 100644 --- a/docs/data/data-core.md +++ b/docs/data/data-core.md @@ -2,68 +2,6 @@ ## Selectors -### getTerms - -Returns all the available terms for the given taxonomy. - -*Parameters* - - * state: Data state. - * taxonomy: Taxonomy name. - -### getCategories - -Returns all the available categories. - -*Parameters* - - * state: Data state. - -*Returns* - -Categories list. - -### isRequestingTerms - -Returns true if a request is in progress for terms data of a given taxonomy, -or false otherwise. - -*Parameters* - - * state: Data state. - * taxonomy: Taxonomy name. - -*Returns* - -Whether a request is in progress for taxonomy's terms. - -### isRequestingCategories - -Returns true if a request is in progress for categories data, or false -otherwise. - -*Parameters* - - * state: Data state. - -*Returns* - -Whether a request is in progress for categories. - -### isRequestingEmbedPreview - -Returns true if a request is in progress for embed preview data, or false -otherwise. - -*Parameters* - - * state: Data state. - * url: URL the preview would be for. - -*Returns* - -Whether a request is in progress for an embed preview. - ### getAuthors Returns all available authors. @@ -177,16 +115,6 @@ Is the preview for the URL an oEmbed link fallback. ## Actions -### receiveTerms - -Returns an action object used in signalling that terms have been received -for a given taxonomy. - -*Parameters* - - * taxonomy: Taxonomy name. - * terms: Terms received. - ### receiveUserQuery Returns an action object used in signalling that authors have been received. diff --git a/docs/reference/deprecated.md b/docs/reference/deprecated.md index 49c8775c12de4..ec98ffb883b29 100644 --- a/docs/reference/deprecated.md +++ b/docs/reference/deprecated.md @@ -3,6 +3,11 @@ Gutenberg's deprecation policy is intended to support backwards-compatibility fo ## 3.7.0 - `wp.components.withAPIData` has been removed. Please use the Core Data module or `wp.apiFetch` directly instead. + - `wp.data.dispatch("core").receiveTerms` has been deprecated. Please use `wp.data.dispatch("core").receiveEntityRecords` instead. + - `getCategories` resolvers has been deprecated. Please use `getEntityRecords` resolver instead. + - `wp.data.select("core").getTerms` has been deprecated. Please use `wp.data.select("core").getEntityRecords` instead. + - `wp.data.select("core").getCategories` has been deprecated. Please use `wp.data.select("core").getEntityRecords` instead. + - `wp.data.select("core").isRequestingTerms` has been deprecated. Please use `wp.data.select("core").getEntitiesByKind` instead. ## 3.6.0 diff --git a/edit-post/assets/stylesheets/_animations.scss b/edit-post/assets/stylesheets/_animations.scss index 0ebdbf228adef..d6cc20a043913 100644 --- a/edit-post/assets/stylesheets/_animations.scss +++ b/edit-post/assets/stylesheets/_animations.scss @@ -14,7 +14,7 @@ @mixin move_background { background-size: 28px 28px; - animation: move_background .5s linear infinite; + animation: move_background 0.5s linear infinite; } @mixin loading_fade { @@ -26,7 +26,7 @@ animation: slide_in_right 0.1s forwards; } -@mixin fade_in( $speed: 0.2s ) { +@mixin fade_in($speed: 0.2s) { animation: fade-in $speed ease-out; animation-fill-mode: forwards; } @@ -40,7 +40,7 @@ } } -@mixin region_focus( $speed: 0.2s ) { +@mixin region_focus($speed: 0.2s) { animation: editor_region_focus $speed ease-out; animation-fill-mode: forwards; -} \ No newline at end of file +} diff --git a/edit-post/assets/stylesheets/_colors.scss b/edit-post/assets/stylesheets/_colors.scss index 8d762146ce552..a9efc3eca4d68 100644 --- a/edit-post/assets/stylesheets/_colors.scss +++ b/edit-post/assets/stylesheets/_colors.scss @@ -27,44 +27,44 @@ $light-gray-100: #f8f9f9; $white: #fff; // Dark opacities, for use with light themes. -$dark-opacity-900: rgba( #000510, .9 ); -$dark-opacity-800: rgba( #00000a, .85 ); -$dark-opacity-700: rgba( #06060b, .8 ); -$dark-opacity-600: rgba( #000913, .75 ); -$dark-opacity-500: rgba( #0a1829, .7 ); -$dark-opacity-400: rgba( #0a1829, .65 ); -$dark-opacity-300: rgba( #0e1c2e, .6 ); -$dark-opacity-200: rgba( #162435, .55 ); -$dark-opacity-100: rgba(#223443, .5 ); -$dark-opacity-light-900: rgba( #304455, .45 ); -$dark-opacity-light-800: rgba( #425863, .4 ); -$dark-opacity-light-700: rgba( #667886, .35 ); -$dark-opacity-light-600: rgba( #7b86a2, .3 ); -$dark-opacity-light-500: rgba( #9197a2, .25 ); -$dark-opacity-light-400: rgba( #95959c, .2 ); -$dark-opacity-light-300: rgba( #829493, .15 ); -$dark-opacity-light-200: rgba( #8b8b96, .1 ); -$dark-opacity-light-100: rgba( #747474, .05 ); +$dark-opacity-900: rgba(#000510, 0.9); +$dark-opacity-800: rgba(#00000a, 0.85); +$dark-opacity-700: rgba(#06060b, 0.8); +$dark-opacity-600: rgba(#000913, 0.75); +$dark-opacity-500: rgba(#0a1829, 0.7); +$dark-opacity-400: rgba(#0a1829, 0.65); +$dark-opacity-300: rgba(#0e1c2e, 0.6); +$dark-opacity-200: rgba(#162435, 0.55); +$dark-opacity-100: rgba(#223443, 0.5); +$dark-opacity-light-900: rgba(#304455, 0.45); +$dark-opacity-light-800: rgba(#425863, 0.4); +$dark-opacity-light-700: rgba(#667886, 0.35); +$dark-opacity-light-600: rgba(#7b86a2, 0.3); +$dark-opacity-light-500: rgba(#9197a2, 0.25); +$dark-opacity-light-400: rgba(#95959c, 0.2); +$dark-opacity-light-300: rgba(#829493, 0.15); +$dark-opacity-light-200: rgba(#8b8b96, 0.1); +$dark-opacity-light-100: rgba(#747474, 0.05); // Light opacities, for use with dark themes. -$light-opacity-900: rgba( $white, 1 ); -$light-opacity-800: rgba( $white, .9 ); -$light-opacity-700: rgba( $white, .85 ); -$light-opacity-600: rgba( $white, .8 ); -$light-opacity-500: rgba( $white, .75 ); -$light-opacity-400: rgba( $white, .7 ); -$light-opacity-300: rgba( $white, .65 ); -$light-opacity-200: rgba( $white, .6 ); -$light-opacity-100: rgba( $white, .55 ); -$light-opacity-light-900: rgba( $white, .5 ); -$light-opacity-light-800: rgba( $white, .45 ); -$light-opacity-light-700: rgba( $white, .4 ); -$light-opacity-light-600: rgba( $white, .35 ); -$light-opacity-light-500: rgba( $white, .3 ); -$light-opacity-light-400: rgba( $white, .25 ); -$light-opacity-light-300: rgba( $white, .2 ); -$light-opacity-light-200: rgba( $white, .15 ); -$light-opacity-light-100: rgba( $white, .1 ); +$light-opacity-900: rgba($white, 1); +$light-opacity-800: rgba($white, 0.9); +$light-opacity-700: rgba($white, 0.85); +$light-opacity-600: rgba($white, 0.8); +$light-opacity-500: rgba($white, 0.75); +$light-opacity-400: rgba($white, 0.7); +$light-opacity-300: rgba($white, 0.65); +$light-opacity-200: rgba($white, 0.6); +$light-opacity-100: rgba($white, 0.55); +$light-opacity-light-900: rgba($white, 0.5); +$light-opacity-light-800: rgba($white, 0.45); +$light-opacity-light-700: rgba($white, 0.4); +$light-opacity-light-600: rgba($white, 0.35); +$light-opacity-light-500: rgba($white, 0.3); +$light-opacity-light-400: rgba($white, 0.25); +$light-opacity-light-300: rgba($white, 0.2); +$light-opacity-light-200: rgba($white, 0.15); +$light-opacity-light-100: rgba($white, 0.1); // Additional colors // some from https://make.wordpress.org/design/handbook/foundations/colors/ @@ -72,14 +72,14 @@ $blue-wordpress-700: #00669b; $blue-dark-900: #0071a1; $blue-medium-900: #006589; -$blue-medium-800: #00739C; -$blue-medium-700: #007FAC; -$blue-medium-600: #008DBE; +$blue-medium-800: #00739c; +$blue-medium-700: #007fac; +$blue-medium-600: #008dbe; $blue-medium-500: #00a0d2; -$blue-medium-400: #33B3DB; -$blue-medium-300: #66C6E4; -$blue-medium-200: #BFE7F3; -$blue-medium-100: #E5F5FA; +$blue-medium-400: #33b3db; +$blue-medium-300: #66c6e4; +$blue-medium-200: #bfe7f3; +$blue-medium-100: #e5f5fa; $blue-medium-highlight: #b3e7fe; $blue-medium-focus: #007cba; diff --git a/edit-post/assets/stylesheets/_mixins.scss b/edit-post/assets/stylesheets/_mixins.scss index 7c54743f48a07..9bad2c32e6261 100644 --- a/edit-post/assets/stylesheets/_mixins.scss +++ b/edit-post/assets/stylesheets/_mixins.scss @@ -3,37 +3,37 @@ */ @mixin break-huge() { - @media ( min-width: #{ ( $break-huge ) } ) { + @media (min-width: #{ ($break-huge) }) { @content; } } @mixin break-wide() { - @media ( min-width: #{ ( $break-wide ) } ) { + @media (min-width: #{ ($break-wide) }) { @content; } } @mixin break-large() { - @media ( min-width: #{ ( $break-large ) } ) { + @media (min-width: #{ ($break-large) }) { @content; } } @mixin break-medium() { - @media ( min-width: #{ ( $break-medium ) } ) { + @media (min-width: #{ ($break-medium) }) { @content; } } @mixin break-small() { - @media ( min-width: #{ ( $break-small ) } ) { + @media (min-width: #{ ($break-small) }) { @content; } } @mixin break-mobile() { - @media ( min-width: #{ ( $break-mobile ) } ) { + @media (min-width: #{ ($break-mobile) }) { @content; } } @@ -46,8 +46,8 @@ * than the space allows. */ -@mixin long-content-fade( $direction: right, $size: 20%, $color: #fff, $edge: 0px, $z-index: false) { - content: ''; +@mixin long-content-fade($direction: right, $size: 20%, $color: #fff, $edge: 0, $z-index: false) { + content: ""; display: block; position: absolute; -webkit-touch-callout: none; @@ -62,8 +62,8 @@ z-index: $z-index; } - @if $direction == 'bottom' { - background: linear-gradient( to top, rgba( $color, 0 ), $color 90% ); + @if $direction == "bottom" { + background: linear-gradient(to top, rgba($color, 0), $color 90%); left: $edge; right: $edge; top: $edge; @@ -71,8 +71,8 @@ width: auto; } - @if $direction == 'top' { - background: linear-gradient( to bottom, rgba( $color, 0 ), $color 90% ); + @if $direction == "top" { + background: linear-gradient(to bottom, rgba($color, 0), $color 90%); top: calc(100% - $size); left: $edge; right: $edge; @@ -80,8 +80,8 @@ width: auto; } - @if $direction == 'left' { - background: linear-gradient( to left, rgba( $color, 0 ), $color 90% ); + @if $direction == "left" { + background: linear-gradient(to left, rgba($color, 0), $color 90%); top: $edge; left: $edge; bottom: $edge; @@ -90,8 +90,8 @@ height: auto; } - @if $direction == 'right' { - background: linear-gradient( to right, rgba( $color, 0 ), $color 90% ); + @if $direction == "right" { + background: linear-gradient(to right, rgba($color, 0), $color 90%); top: $edge; bottom: $edge; right: $edge; @@ -114,7 +114,7 @@ @mixin button-style__hover { background-color: $white; color: $dark-gray-900; - box-shadow: inset 0 0 0 1px $light-gray-500, inset 0 0 0 2px $white, 0 1px 1px rgba( $dark-gray-900, .2 ); + box-shadow: inset 0 0 0 1px $light-gray-500, inset 0 0 0 2px $white, 0 1px 1px rgba($dark-gray-900, 0.2); } @mixin button-style__active() { @@ -167,7 +167,7 @@ // Tabs, Inputs, Square buttons. @mixin input-style__neutral() { box-shadow: 0 0 0 transparent; - transition: box-shadow .1s linear; + transition: box-shadow 0.1s linear; border-radius: $radius-round-rectangle; border: $border-width solid $dark-gray-150; } @@ -214,7 +214,7 @@ } @mixin block-style__hover { - box-shadow: inset 0 0 0 1px rgba( $dark-gray-900, .2 ), 0 1px 3px rgba( $dark-gray-900, .4 ); + box-shadow: inset 0 0 0 1px rgba($dark-gray-900, 0.2), 0 1px 3px rgba($dark-gray-900, 0.4); } @mixin block-style__focus-active() { @@ -229,10 +229,10 @@ * Applies editor left position to the selector passed as argument */ -@mixin editor-left( $selector ) { +@mixin editor-left($selector) { #{$selector} { /* Set left position when auto-fold is not on the body element. */ left: 0; - + @include break-medium() { left: $admin-sidebar-width; } @@ -258,14 +258,14 @@ } /* Mobile menu opened. */ - @media ( max-width: #{ ( $break-medium ) } ) { + @media (max-width: #{ ($break-medium) }) { .auto-fold .wp-responsive-open #{$selector} { left: $admin-sidebar-width-big; } } /* In small screens with resposive menu expanded there is small white space. */ - @media ( max-width: #{ ( $break-small ) } ) { + @media (max-width: #{ ($break-small) }) { .auto-fold .wp-responsive-open #{$selector} { margin-left: -18px; } @@ -276,7 +276,7 @@ * Applies editor right position to the selector passed as argument */ -@mixin editor-right( $selector ) { +@mixin editor-right($selector) { #{ $selector } { right: 0; } diff --git a/edit-post/assets/stylesheets/_variables.scss b/edit-post/assets/stylesheets/_variables.scss index 4bb596a14dd59..a1bad8c80494f 100644 --- a/edit-post/assets/stylesheets/_variables.scss +++ b/edit-post/assets/stylesheets/_variables.scss @@ -3,7 +3,7 @@ */ // Fonts & basics -$default-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; +$default-font: -apple-system, BlinkMacSystemFont,"Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,"Helvetica Neue", sans-serif; $default-font-size: 13px; $default-line-height: 1.4; $editor-font: "Noto Serif", serif; @@ -27,10 +27,10 @@ $admin-sidebar-width-collapsed: 36px; $empty-paragraph-height: $text-editor-font-size * 4; // Visuals -$shadow-popover: 0 3px 30px rgba( $dark-gray-900, .1 ); -$shadow-toolbar: 0 2px 10px rgba( $dark-gray-900, .1 ), 0 0 2px rgba( $dark-gray-900, .1 ); -$shadow-below-only: 0 5px 10px rgba( $dark-gray-900, .05 ), 0 2px 2px rgba( $dark-gray-900, .05 ); -$shadow-modal: 0 3px 30px rgba( $dark-gray-900, .2 ); +$shadow-popover: 0 3px 30px rgba($dark-gray-900, 0.1); +$shadow-toolbar: 0 2px 10px rgba($dark-gray-900, 0.1), 0 0 2px rgba($dark-gray-900, 0.1); +$shadow-below-only: 0 5px 10px rgba($dark-gray-900, 0.05), 0 2px 2px rgba($dark-gray-900, 0.05); +$shadow-modal: 0 3px 30px rgba($dark-gray-900, 0.2); // Editor Widths $sidebar-width: 280px; diff --git a/edit-post/assets/stylesheets/_z-index.scss b/edit-post/assets/stylesheets/_z-index.scss index d927b42813520..b93cbb32553e4 100644 --- a/edit-post/assets/stylesheets/_z-index.scss +++ b/edit-post/assets/stylesheets/_z-index.scss @@ -3,90 +3,90 @@ // value is designed to work with). $z-layers: ( - '.editor-block-list__block-edit::before': 0, - '.editor-block-switcher__arrow': 1, - '.editor-block-list__block .wp-block-more::before': -1, - '.editor-block-list__block {core/image aligned left or right}': 20, - '.editor-block-list__block {core/image aligned wide or fullwide}': 20, - '.freeform-toolbar': 10, - '.editor-block-list__breadcrumb': 1, - '.components-form-toggle__input': 1, - '.editor-inserter__tabs': 1, - '.editor-inserter__tab.is-active': 1, - '.components-panel__header': 1, - '.edit-post-meta-boxes-area.is-loading::before': 1, - '.edit-post-meta-boxes-area .spinner': 5, - '.editor-block-contextual-toolbar': 21, - '.components-popover__close': 5, - '.editor-block-list__insertion-point': 5, - '.editor-inserter-with-shortcuts': 5, - '.editor-warning': 6, - '.core-blocks-gallery-item__inline-menu': 20, - '.editor-url-input__suggestions': 30, - '.edit-post-header': 30, - '.core-blocks-button__inline-link .editor-url-input__suggestions': 6, // URL suggestions for button block above sibling inserter - '.wp-block-image__resize-handlers': 1, // Resize handlers above sibling inserter + ".editor-block-list__block-edit::before": 0, + ".editor-block-switcher__arrow": 1, + ".editor-block-list__block .wp-block-more::before": -1, + ".editor-block-list__block {core/image aligned left or right}": 20, + ".editor-block-list__block {core/image aligned wide or fullwide}": 20, + ".freeform-toolbar": 10, + ".editor-block-list__breadcrumb": 1, + ".components-form-toggle__input": 1, + ".editor-inserter__tabs": 1, + ".editor-inserter__tab.is-active": 1, + ".components-panel__header": 1, + ".edit-post-meta-boxes-area.is-loading::before": 1, + ".edit-post-meta-boxes-area .spinner": 5, + ".editor-block-contextual-toolbar": 21, + ".components-popover__close": 5, + ".editor-block-list__insertion-point": 5, + ".editor-inserter-with-shortcuts": 5, + ".editor-warning": 6, + ".core-blocks-gallery-item__inline-menu": 20, + ".editor-url-input__suggestions": 30, + ".edit-post-header": 30, + ".core-blocks-button__inline-link .editor-url-input__suggestions": 6, // URL suggestions for button block above sibling inserter + ".wp-block-image__resize-handlers": 1, // Resize handlers above sibling inserter // Side UI active buttons - '.editor-block-settings-remove': 1, - '.editor-block-mover__control': 1, + ".editor-block-settings-remove": 1, + ".editor-block-mover__control": 1, // Should have lower index than anything else positioned inside the block containers - '.editor-block-list__block-draggable': 0, + ".editor-block-list__block-draggable": 0, // The draggable element should show up above the entire UI - '.components-draggable__clone': 1000000000, + ".components-draggable__clone": 1000000000, // Should have higher index than the inset/underlay used for dragging - '.components-placeholder__fieldset': 1, - '.editor-block-list__block-edit .reusable-block-edit-panel *': 1, + ".components-placeholder__fieldset": 1, + ".editor-block-list__block-edit .reusable-block-edit-panel *": 1, // Show drop zone above most standard content, but below any overlays - '.components-drop-zone': 100, - '.components-drop-zone__content': 110, + ".components-drop-zone": 100, + ".components-drop-zone__content": 110, // Block controls, particularly in nested contexts, floats aside block and // should overlap most block content. - '.editor-block-list__block.is-{selected,hovered} .editor-block-{settings-menu,mover}': 80, + ".editor-block-list__block.is-{selected,hovered} .editor-block-{settings-menu,mover}": 80, // Small screen inner blocks overlay must be displayed above drop zone, // settings menu, and movers. - '.editor-inner-blocks__small-screen-overlay:after': 120, + ".editor-inner-blocks__small-screen-overlay:after": 120, // Show sidebar above wp-admin navigation bar for mobile viewports: // #wpadminbar { z-index: 99999 } - '.edit-post-sidebar': 100000, - '.edit-post-layout .edit-post-post-publish-panel': 100001, + ".edit-post-sidebar": 100000, + ".edit-post-layout .edit-post-post-publish-panel": 100001, // Show sidebar in greater than small viewports above editor related elements // but bellow #adminmenuback { z-index: 100 } - '.edit-post-sidebar {greater than small}': 90, + ".edit-post-sidebar {greater than small}": 90, // Show notices below expanded wp-admin submenus: // #adminmenuwrap { z-index: 9990 } - '.components-notice-list': 9989, + ".components-notice-list": 9989, // Show modal under the wp-admin menus and the popover - '.components-modal__screen-overlay': 100000, + ".components-modal__screen-overlay": 100000, // Show popovers above wp-admin menus and submenus and sidebar: // #adminmenuwrap { z-index: 9990 } - '.components-popover': 1000000, + ".components-popover": 1000000, // Shows adminbar quicklink submenu above bottom popover: // #wpadminbar ul li {z-index: 99999;} - '.components-popover.is-bottom': 99990, + ".components-popover.is-bottom": 99990, - '.components-autocomplete__results': 1000000, + ".components-autocomplete__results": 1000000, - '.skip-to-selected-block': 100000, - '.edit-post-toggle-publish-panel': 100000, + ".skip-to-selected-block": 100000, + ".edit-post-toggle-publish-panel": 100000, // Show NUX tips above popovers, wp-admin menus, submenus, and sidebar: - '.nux-dot-tip': 1000001, + ".nux-dot-tip": 1000001, // Show tooltips above NUX tips, wp-admin menus, submenus, and sidebar: - '.components-tooltip': 1000002 + ".components-tooltip": 1000002 ); @function z-index( $key ) { diff --git a/edit-post/assets/stylesheets/main.scss b/edit-post/assets/stylesheets/main.scss index 0ef54263a80e9..1672a9a8e1269 100644 --- a/edit-post/assets/stylesheets/main.scss +++ b/edit-post/assets/stylesheets/main.scss @@ -2,11 +2,11 @@ @keyframes animate_fade { from { opacity: 0; - transform: translateY( 4px ); + transform: translateY(4px); } to { opacity: 1; - transform: translateY( 0px ); + transform: translateY(0); } } @@ -21,19 +21,19 @@ @keyframes loading_fade { 0% { - opacity: .5; + opacity: 0.5; } 50% { opacity: 1; } 100% { - opacity: .5; + opacity: 0.5; } } @keyframes slide_in_right { 100% { - transform: translateX( 0% ); + transform: translateX(0%); } } @@ -56,7 +56,7 @@ body.gutenberg-editor-page { /* We hide legacy notices in Gutenberg, because they were not designed in a way that scaled well. Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */ - #wpbody-content > div:not( .gutenberg ):not( #screen-meta ) { + #wpbody-content > div:not(.gutenberg):not(#screen-meta) { display: none; } @@ -69,8 +69,8 @@ body.gutenberg-editor-page { top: -1px; } - ul#adminmenu a.wp-has-current-submenu:after, - ul#adminmenu>li.current>a.current:after { + ul#adminmenu a.wp-has-current-submenu::after, + ul#adminmenu > li.current > a.current::after { border-right-color: $white; } } @@ -80,7 +80,7 @@ body.gutenberg-editor-page { *, *::before, - *:after { + *::after { box-sizing: inherit; } @@ -99,12 +99,12 @@ body.gutenberg-editor-page { right: 0; bottom: 0; left: 0; - min-height: calc( 100vh - #{ $admin-bar-height-big } ); + min-height: calc(100vh - #{ $admin-bar-height-big }); } // The WP header height changes at this breakpoint @include break-medium { - min-height: calc( 100vh - #{ $admin-bar-height } ); + min-height: calc(100vh - #{ $admin-bar-height }); } img { @@ -128,22 +128,22 @@ body.gutenberg-editor-page { .editor-block-list__block, .components-popover { .input-control, // upstream name is .regular-text - input[type=text], - input[type=search], - input[type=radio], - input[type=tel], - input[type=time], - input[type=url], - input[type=week], - input[type=password], - input[type=checkbox], - input[type=color], - input[type=date], - input[type=datetime], - input[type=datetime-local], - input[type=email], - input[type=month], - input[type=number], + input[type="text"], + input[type="search"], + input[type="radio"], + input[type="tel"], + input[type="time"], + input[type="url"], + input[type="week"], + input[type="password"], + input[type="checkbox"], + input[type="color"], + input[type="date"], + input[type="datetime"], + input[type="datetime-local"], + input[type="email"], + input[type="month"], + input[type="number"], select, textarea { margin-top: 0; // These override a "margin: 1px" from core. diff --git a/edit-post/components/block-settings-menu/plugin-block-settings-menu-group.js b/edit-post/components/block-settings-menu/plugin-block-settings-menu-group.js index 2018035e92ff6..24859cb92fcc3 100644 --- a/edit-post/components/block-settings-menu/plugin-block-settings-menu-group.js +++ b/edit-post/components/block-settings-menu/plugin-block-settings-menu-group.js @@ -27,7 +27,7 @@ const PluginBlockSettingsMenuGroupSlot = ( { fillProps, selectedBlocks } ) => { }; PluginBlockSettingsMenuGroup.Slot = withSelect( ( select, { fillProps: { clientIds } } ) => ( { - selectedBlocks: select( 'core/editor' ).getBlocksByUID( clientIds ), + selectedBlocks: select( 'core/editor' ).getBlocksByClientId( clientIds ), } ) )( PluginBlockSettingsMenuGroupSlot ); export default PluginBlockSettingsMenuGroup; diff --git a/edit-post/components/block-settings-menu/plugin-block-settings-menu-item.js b/edit-post/components/block-settings-menu/plugin-block-settings-menu-item.js index 9fd8b376c1478..50bd460a11624 100644 --- a/edit-post/components/block-settings-menu/plugin-block-settings-menu-item.js +++ b/edit-post/components/block-settings-menu/plugin-block-settings-menu-item.js @@ -7,7 +7,7 @@ import { difference } from 'lodash'; * WordPress dependencies */ import { IconButton } from '@wordpress/components'; -import { compose } from '@wordpress/element'; +import { compose } from '@wordpress/compose'; /** * Internal dependencies diff --git a/edit-post/components/header/header-toolbar/style.scss b/edit-post/components/header/header-toolbar/style.scss index 0e9477918b656..b793efacb91b9 100644 --- a/edit-post/components/header/header-toolbar/style.scss +++ b/edit-post/components/header/header-toolbar/style.scss @@ -29,7 +29,7 @@ min-height: $block-toolbar-height; border-bottom: $border-width solid $light-gray-500; - .editor-block-toolbar { + .editor-block-toolbar { border-left: none; } diff --git a/edit-post/components/header/more-menu/style.scss b/edit-post/components/header/more-menu/style.scss index 5d154d4232dfc..e4b6478e59341 100644 --- a/edit-post/components/header/more-menu/style.scss +++ b/edit-post/components/header/more-menu/style.scss @@ -23,6 +23,6 @@ .edit-post-more-menu__content { .components-menu-group:not(:last-child), > div:not(:last-child) .components-menu-group { - border-bottom: $border-width solid $light-gray-500; + border-bottom: $border-width solid $light-gray-500; } } diff --git a/edit-post/components/header/pinned-plugins/style.scss b/edit-post/components/header/pinned-plugins/style.scss index 3e08c6033ee78..83c639e94248e 100644 --- a/edit-post/components/header/pinned-plugins/style.scss +++ b/edit-post/components/header/pinned-plugins/style.scss @@ -6,12 +6,12 @@ } // Colorize plugin icons to ensure contrast and cohesion, but allow plugin developers to override. - .components-icon-button:not( .is-toggled ) svg, - .components-icon-button:not( .is-toggled ) svg * { + .components-icon-button:not(.is-toggled) svg, + .components-icon-button:not(.is-toggled) svg * { stroke: $dark-gray-500; fill: $dark-gray-500; } - + // Forcefully colorize hover and toggled plugin icon states to ensure legibility and consistency. .components-icon-button.is-toggled svg, .components-icon-button.is-toggled svg * { diff --git a/edit-post/components/header/style.scss b/edit-post/components/header/style.scss index 2b79febb81988..83ba1237ce373 100644 --- a/edit-post/components/header/style.scss +++ b/edit-post/components/header/style.scss @@ -7,7 +7,7 @@ flex-direction: row; align-items: stretch; justify-content: space-between; - z-index: z-index( '.edit-post-header' ); + z-index: z-index(".edit-post-header"); left: 0; right: 0; @@ -36,7 +36,7 @@ } } -@include editor-left('.edit-post-header'); +@include editor-left(".edit-post-header"); .edit-post-header__settings { display: inline-flex; @@ -52,7 +52,7 @@ } // put the gray background on a separate layer, so as to match the size of the publish button (34px) - &.is-toggled:before { + &.is-toggled::before { content: ""; border-radius: $radius-round-rectangle; position: absolute; diff --git a/edit-post/components/layout/style.scss b/edit-post/components/layout/style.scss index 4b6981937b2a1..a035ed3397a63 100644 --- a/edit-post/components/layout/style.scss +++ b/edit-post/components/layout/style.scss @@ -53,8 +53,8 @@ } } -@include editor-left('.components-notice-list'); -@include editor-right('.components-notice-list'); +@include editor-left(".components-notice-list"); +@include editor-right(".components-notice-list"); .edit-post-layout__metaboxes:not(:empty) { border-top: $border-width solid $light-gray-500; @@ -96,7 +96,7 @@ .edit-post-layout .editor-post-publish-panel { position: fixed; - z-index: z-index( '.edit-post-layout .edit-post-post-publish-panel' ); + z-index: z-index(".edit-post-layout .edit-post-post-publish-panel"); top: $admin-bar-height-big; bottom: 0; right: 0; @@ -121,7 +121,7 @@ position: relative; float: right; top: -9999em; - z-index: z-index( '.edit-post-toggle-publish-panel' ); + z-index: z-index(".edit-post-toggle-publish-panel"); padding: 20px 0 0 0; width: $sidebar-width; &:focus-within { diff --git a/edit-post/components/meta-boxes/meta-boxes-area/style.scss b/edit-post/components/meta-boxes/meta-boxes-area/style.scss index 113abbbb12fdf..c5db0e0983d8c 100644 --- a/edit-post/components/meta-boxes/meta-boxes-area/style.scss +++ b/edit-post/components/meta-boxes/meta-boxes-area/style.scss @@ -14,7 +14,8 @@ box-sizing: content-box; } - textarea, input { + textarea, + input { box-sizing: border-box; } @@ -63,16 +64,16 @@ left: 0; right: 0; bottom: 0; - content: ''; + content: ""; background: transparent; - z-index: z-index( '.edit-post-meta-boxes-area.is-loading::before'); + z-index: z-index(".edit-post-meta-boxes-area.is-loading::before"); } .spinner { position: absolute; top: 10px; right: 20px; - z-index: z-index( '.edit-post-meta-boxes-area .spinner'); + z-index: z-index(".edit-post-meta-boxes-area .spinner"); } } diff --git a/edit-post/components/sidebar/post-visibility/style.scss b/edit-post/components/sidebar/post-visibility/style.scss index 49f0d372202d6..b6e01fb796cd1 100644 --- a/edit-post/components/sidebar/post-visibility/style.scss +++ b/edit-post/components/sidebar/post-visibility/style.scss @@ -25,7 +25,7 @@ } .edit-post-post-visibility__dialog-password-input { - width: calc( 100% - 20px ); + width: calc(100% - 20px); margin-left: 20px; } diff --git a/edit-post/components/sidebar/settings-header/style.scss b/edit-post/components/sidebar/settings-header/style.scss index 0ff5c13d5d1e9..467f3d73a710b 100644 --- a/edit-post/components/sidebar/settings-header/style.scss +++ b/edit-post/components/sidebar/settings-header/style.scss @@ -19,7 +19,7 @@ &.is-active { padding-bottom: 0; - border-bottom: 3px solid theme( primary ); + border-bottom: 3px solid theme(primary); font-weight: 600; } diff --git a/edit-post/components/sidebar/style.scss b/edit-post/components/sidebar/style.scss index 0711d15b1efb3..6b421e74de485 100644 --- a/edit-post/components/sidebar/style.scss +++ b/edit-post/components/sidebar/style.scss @@ -1,6 +1,6 @@ .edit-post-sidebar { position: fixed; - z-index: z-index( '.edit-post-sidebar' ); + z-index: z-index(".edit-post-sidebar"); top: 0; right: 0; bottom: 0; @@ -13,7 +13,7 @@ @include break-small() { top: $admin-bar-height-big + $header-height; - z-index: z-index( '.edit-post-sidebar {greater than small}' ); + z-index: z-index(".edit-post-sidebar {greater than small}"); height: auto; overflow: auto; -webkit-overflow-scrolling: touch; @@ -29,7 +29,7 @@ overflow: auto; -webkit-overflow-scrolling: touch; height: auto; - max-height: calc( 100vh - #{ $admin-bar-height-big + $panel-header-height } ); + max-height: calc(100vh - #{ $admin-bar-height-big + $panel-header-height }); margin-top: -1px; margin-bottom: -1px; @@ -42,7 +42,7 @@ > .components-panel .components-panel__header { position: fixed; - z-index: z-index( '.components-panel__header' ); + z-index: z-index(".components-panel__header"); top: 0; left: 0; right: 0; @@ -157,7 +157,7 @@ &.is-active { padding-bottom: 0; - border-bottom: 3px solid theme( primary ); + border-bottom: 3px solid theme(primary); font-weight: 600; } diff --git a/edit-post/components/text-editor/style.scss b/edit-post/components/text-editor/style.scss index d670292ada58a..c4e3d0f0507e9 100644 --- a/edit-post/components/text-editor/style.scss +++ b/edit-post/components/text-editor/style.scss @@ -16,8 +16,8 @@ padding-right: 20px; @include break-large() { - padding-left: calc( 50% - #{ $content-width / 2 } ); - padding-right: calc( 50% - #{ $content-width / 2 } ); + padding-left: calc(50% - #{ $content-width / 2 }); + padding-right: calc(50% - #{ $content-width / 2 }); } .edit-post-post-text-editor__toolbar { diff --git a/edit-post/components/visual-editor/style.scss b/edit-post/components/visual-editor/style.scss index cf5a44c16ebcb..4c1fe1d7249bb 100644 --- a/edit-post/components/visual-editor/style.scss +++ b/edit-post/components/visual-editor/style.scss @@ -59,8 +59,8 @@ // Use specific selector to not affect nested block toolbars. &[data-align="wide"] > .editor-block-contextual-toolbar, &[data-align="full"] > .editor-block-contextual-toolbar { - width: calc( 100% + #{ ( $parent-block-padding * 4 ) + $border-width + $border-width } ); // Matches the negative margins applied to parent blocks. - height: 0px; // This collapses the container to an invisible element without margin. + width: calc(100% + #{ ($parent-block-padding * 4) + $border-width + $border-width }); // Matches the negative margins applied to parent blocks. + height: 0; // This collapses the container to an invisible element without margin. text-align: center; .editor-block-toolbar { @@ -72,7 +72,7 @@ // The centering math changes when a fullwide image doesn't have block padding. &[data-align="full"] > .editor-block-contextual-toolbar { - width: calc( 100% + #{ ( $parent-block-padding * 2 ) + ( $block-padding * 2 ) } ); // Matches the negative margins applied to non-parent blocks, except for borders which are gone in fullwide. + width: calc(100% + #{ ($parent-block-padding * 2) + ($block-padding * 2) }); // Matches the negative margins applied to non-parent blocks, except for borders which are gone in fullwide. .editor-block-toolbar { max-width: $content-width - $border-width - $border-width; @@ -118,10 +118,10 @@ // This is a focus style shown for blocks that need an indicator even when in an isEditing state // like for example an image block that receives arrowkey focus. -.edit-post-visual-editor .editor-block-list__block:not( .is-selected ) { +.edit-post-visual-editor .editor-block-list__block:not(.is-selected) { .editor-block-list__block-edit { box-shadow: 0 0 0 0 $white, 0 0 0 0 $dark-gray-900; - transition: .1s box-shadow .05s; + transition: 0.1s box-shadow 0.05s; } &:focus .editor-block-list__block-edit { diff --git a/gutenberg.php b/gutenberg.php index 69d55d0bb22f1..9ad210cee3fd6 100644 --- a/gutenberg.php +++ b/gutenberg.php @@ -121,7 +121,7 @@ function is_gutenberg_page() { */ function gutenberg_wordpress_version_notice() { echo '

'; - echo __( 'Gutenberg requires WordPress 4.9.6 or later to function properly. Please upgrade WordPress before activating Gutenberg.', 'gutenberg' ); + echo __( 'Gutenberg requires WordPress 4.9.8 or later to function properly. Please upgrade WordPress before activating Gutenberg.', 'gutenberg' ); echo '

'; deactivate_plugins( array( 'gutenberg/gutenberg.php' ) ); @@ -155,7 +155,7 @@ function gutenberg_pre_init() { // Strip '-src' from the version string. Messes up version_compare(). $version = str_replace( '-src', '', $wp_version ); - if ( version_compare( $version, '4.9.6', '<' ) ) { + if ( version_compare( $version, '4.9.8', '<' ) ) { add_action( 'admin_notices', 'gutenberg_wordpress_version_notice' ); return; } diff --git a/lib/client-assets.php b/lib/client-assets.php index bcf6027e3877a..3d9d1ca963c27 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -266,7 +266,7 @@ function gutenberg_register_scripts_and_styles() { wp_register_script( 'wp-utils', gutenberg_url( 'build/utils/index.js' ), - array( 'lodash', 'wp-api-fetch', 'wp-deprecated', 'wp-html-entities', 'wp-i18n', 'wp-editor' ), + array( 'lodash', 'wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-i18n', 'wp-editor' ), filemtime( gutenberg_dir_path() . 'build/utils/index.js' ), true ); @@ -322,7 +322,7 @@ function gutenberg_register_scripts_and_styles() { wp_register_script( 'wp-element', gutenberg_url( 'build/element/index.js' ), - array( 'react', 'react-dom', 'wp-is-shallow-equal', 'lodash', 'wp-deprecated' ), + array( 'react', 'react-dom', 'lodash' ), filemtime( gutenberg_dir_path() . 'build/element/index.js' ), true ); diff --git a/lib/compat.php b/lib/compat.php index e91a52b7036c9..7532dd2ebcfff 100644 --- a/lib/compat.php +++ b/lib/compat.php @@ -167,7 +167,7 @@ function gutenberg_check_if_classic_needs_warning_about_blocks() { return; } - if ( ! gutenberg_post_has_blocks( $post ) ) { + if ( ! gutenberg_post_has_blocks( $post ) && ! isset( $_REQUEST['cloudflare-error'] ) ) { return; } @@ -175,7 +175,11 @@ function gutenberg_check_if_classic_needs_warning_about_blocks() { wp_enqueue_script( 'wp-a11y' ); wp_enqueue_script( 'wp-sanitize' ); - add_action( 'admin_footer', 'gutenberg_warn_classic_about_blocks' ); + if ( isset( $_REQUEST['cloudflare-error'] ) ) { + add_action( 'admin_footer', 'gutenberg_warn_classic_about_cloudflare' ); + } else { + add_action( 'admin_footer', 'gutenberg_warn_classic_about_blocks' ); + } } add_action( 'admin_enqueue_scripts', 'gutenberg_check_if_classic_needs_warning_about_blocks' ); @@ -322,3 +326,138 @@ function gutenberg_warn_classic_about_blocks() { + + +
+
+
+
+

+

+

+
    +
  • +
  • + change the REST API URL, to avoid triggering the WAF rules. Please be aware that this may cause issues with other plugins that use the REST API, and removes any other protection Cloudflare may be offering for the REST API.', 'gutenberg' ), + 'https://github.com/WordPress/gutenberg/issues/2704#issuecomment-410582252' + ); + ?> +
  • +
+

+ follow this issue for updates. We hope to have this issue rectifed soon!', 'gutenberg' ), + 'https://github.com/WordPress/gutenberg/issues/2704' + ); + ?> +

+
+

+ +

+
+
+ + + post_status ) { + $can_edit = false; } - if ( 'trash' === $post->post_status ) { - return false; + if ( $can_edit && ! gutenberg_can_edit_post_type( $post->post_type ) ) { + $can_edit = false; } - // Disable the editor if on the blog page and there is no content. - if ( absint( get_option( 'page_for_posts' ) ) === $post->ID && empty( $post->post_content ) ) { - return false; + if ( $can_edit && ! current_user_can( 'edit_post', $post->ID ) ) { + $can_edit = false; } - if ( ! gutenberg_can_edit_post_type( $post->post_type ) ) { - return false; + // Disable the editor if on the blog page and there is no content. + if ( $can_edit && absint( get_option( 'page_for_posts' ) ) === $post->ID && empty( $post->post_content ) ) { + $can_edit = false; } - return current_user_can( 'edit_post', $post->ID ); + /** + * Filter to allow plugins to enable/disable Gutenberg for particular post. + * + * @since 3.5 + * + * @param bool $can_edit Whether the post can be edited or not. + * @param WP_Post $post The post being checked. + */ + return apply_filters( 'gutenberg_can_edit_post', $can_edit, $post ); + } /** diff --git a/lib/rest-api.php b/lib/rest-api.php index 88354db4fe1c9..13fda26f24d57 100644 --- a/lib/rest-api.php +++ b/lib/rest-api.php @@ -41,10 +41,9 @@ function gutenberg_register_rest_routes() { continue; } - if ( post_type_supports( $post_type->name, 'revisions' ) ) { - $autosaves_controller = new WP_REST_Autosaves_Controller( $post_type->name ); - $autosaves_controller->register_routes(); - } + // Initialize the Autosaves controller. + $autosaves_controller = new WP_REST_Autosaves_Controller( $post_type->name ); + $autosaves_controller->register_routes(); } } add_action( 'rest_api_init', 'gutenberg_register_rest_routes' ); @@ -243,24 +242,6 @@ function gutenberg_add_target_schema_to_links( $response, $post, $request ) { $orig_links = $response->get_links(); $post_type = get_post_type_object( $post->post_type ); $orig_href = ! empty( $orig_links['self'][0]['href'] ) ? $orig_links['self'][0]['href'] : null; - if ( 'edit' === $request['context'] && post_type_supports( $post_type->name, 'author' ) ) { - if ( current_user_can( $post_type->cap->edit_others_posts ) ) { - $new_links['https://api.w.org/action-assign-author'] = array( - array( - 'title' => __( 'The current user can change the author on this post.', 'gutenberg' ), - 'href' => $orig_href, - 'targetSchema' => array( - 'type' => 'object', - 'properties' => array( - 'author' => array( - 'type' => 'integer', - ), - ), - ), - ), - ); - } - } if ( 'edit' === $request['context'] && current_user_can( 'unfiltered_html' ) ) { $new_links['https://api.w.org/action-unfiltered_html'] = array( array( @@ -277,134 +258,6 @@ function gutenberg_add_target_schema_to_links( $response, $post, $request ) { ), ); } - if ( 'edit' === $request['context'] ) { - if ( current_user_can( $post_type->cap->publish_posts ) ) { - $new_links['https://api.w.org/action-publish'] = array( - array( - 'title' => __( 'The current user can publish this post.', 'gutenberg' ), - 'href' => $orig_href, - 'targetSchema' => array( - 'type' => 'object', - 'properties' => array( - 'status' => array( - 'type' => 'string', - 'enum' => array( 'publish', 'future' ), - ), - ), - ), - ), - ); - } - } - // Only Posts can be sticky. - if ( 'post' === $post->post_type && 'edit' === $request['context'] ) { - if ( current_user_can( $post_type->cap->edit_others_posts ) - && current_user_can( $post_type->cap->publish_posts ) ) { - $new_links['https://api.w.org/action-sticky'] = array( - array( - 'title' => __( 'The current user can sticky this post.', 'gutenberg' ), - 'href' => $orig_href, - 'targetSchema' => array( - 'type' => 'object', - 'properties' => array( - 'sticky' => array( - 'type' => 'boolean', - ), - ), - ), - ), - ); - } - } - // Term assignment and creation. - if ( 'edit' === $request['context'] ) { - $taxonomies = get_object_taxonomies( $post_type->name, 'objects' ); - foreach ( $taxonomies as $tax_obj ) { - if ( empty( $tax_obj->show_in_rest ) ) { - continue; - } - $rest_base = ! empty( $tax_obj->rest_base ) ? $tax_obj->rest_base : $tax_obj->name; - // 'edit_terms' is required to create hierarchical terms, - // but 'assign_terms' is required for non-hierarchical terms. - if ( ( is_taxonomy_hierarchical( $tax_obj->name ) - && current_user_can( $tax_obj->cap->edit_terms ) ) - || ( ! is_taxonomy_hierarchical( $tax_obj->name ) - && current_user_can( $tax_obj->cap->assign_terms ) ) ) { - $new_links[ 'https://api.w.org/action-create-' . $rest_base ] = array( - array( - 'title' => __( 'The current user can create terms.', 'gutenberg' ), - 'href' => $orig_href, - 'targetSchema' => array( - 'type' => 'object', - 'properties' => array( - $rest_base => array( - 'type' => 'array', - ), - ), - ), - ), - ); - } - if ( current_user_can( $tax_obj->cap->assign_terms ) ) { - $new_links[ 'https://api.w.org/action-assign-' . $rest_base ] = array( - array( - 'title' => __( 'The current user can assign terms.', 'gutenberg' ), - 'href' => $orig_href, - 'targetSchema' => array( - 'type' => 'object', - 'properties' => array( - $rest_base => array( - 'type' => 'array', - ), - ), - ), - ), - ); - } - } - } - - $response->add_links( $new_links ); - return $response; -} - -/** - * Include revisions data on post response links. - * - * @see https://core.trac.wordpress.org/ticket/44321 - * - * @param WP_REST_Response $response WP REST API response of a post. - * @param WP_Post $post The post being returned. - * @param WP_REST_Request $request WP REST API request. - * @return WP_REST_Response Response containing the new links. - */ -function gutenberg_add_revisions_data_to_links( $response, $post, $request ) { - - $new_links = array(); - $orig_links = $response->get_links(); - - if ( ! empty( $orig_links['version-history'] ) ) { - $version_history_link = array_shift( $orig_links['version-history'] ); - // 'version-history' already exists and we don't want to duplicate it. - $response->remove_link( 'version-history' ); - - $revisions = wp_get_post_revisions( $post->ID, array( 'fields' => 'ids' ) ); - $revisions_count = count( $revisions ); - - $new_links['version-history'] = array( - 'href' => $version_history_link['href'], - 'count' => $revisions_count, - ); - - if ( $revisions_count > 0 ) { - $last_revision = array_shift( $revisions ); - - $new_links['predecessor-version'] = array( - 'href' => $version_history_link['href'] . '/' . $last_revision, - 'id' => $last_revision, - ); - } - } $response->add_links( $new_links ); return $response; @@ -420,7 +273,6 @@ function gutenberg_register_post_prepare_functions( $post_type ) { add_filter( "rest_prepare_{$post_type}", 'gutenberg_add_permalink_template_to_posts', 10, 3 ); add_filter( "rest_prepare_{$post_type}", 'gutenberg_add_block_format_to_post_content', 10, 3 ); add_filter( "rest_prepare_{$post_type}", 'gutenberg_add_target_schema_to_links', 10, 3 ); - add_filter( "rest_prepare_{$post_type}", 'gutenberg_add_revisions_data_to_links', 10, 3 ); add_filter( "rest_{$post_type}_collection_params", 'gutenberg_filter_post_collection_parameters', 10, 2 ); add_filter( "rest_{$post_type}_query", 'gutenberg_filter_post_query_arguments', 10, 2 ); return $post_type; @@ -605,111 +457,3 @@ function gutenberg_filter_user_collection_parameters( $query_params ) { return $query_params; } add_filter( 'rest_user_collection_params', 'gutenberg_filter_user_collection_parameters' ); - -/** - * Overload taxonomy and term permission handling to address our new necessary behavior. - * - * This is temporary code that will be removed once the Trac ticket lands in a release. - * - * @see https://core.trac.wordpress.org/ticket/44096 - * - * @param WP_HTTP_Response $response Result to send to the client. Usually a WP_REST_Response. - * @param WP_REST_Server $handler ResponseHandler instance (usually WP_REST_Server). - * @param WP_REST_Request $request Request used to generate the response. - * @return $response - */ -function gutenberg_filter_request_after_callbacks( $response, $handler, $request ) { - $should_rerun_response = false; - if ( is_wp_error( $response ) ) { - // Handle GET /wp/v2/taxonomies?context=edit when user can assign_terms - // but not manage_terms. - if ( '/wp/v2/taxonomies' === $request->get_route() - && is_array( $handler['permission_callback'] ) - && is_a( $handler['permission_callback'][0], 'WP_REST_Taxonomies_Controller' ) - && 'edit' === $request['context'] - && 'rest_cannot_view' === $response->get_error_code() ) { - if ( ! empty( $request['type'] ) ) { - $taxonomies = get_object_taxonomies( $request['type'], 'objects' ); - } else { - $taxonomies = get_taxonomies( '', 'objects' ); - } - foreach ( $taxonomies as $taxonomy ) { - if ( ! empty( $taxonomy->show_in_rest ) - && current_user_can( $taxonomy->cap->assign_terms ) ) { - $GLOBALS['Gutenberg_Temporary_Taxonomies_Controller'] = $handler['permission_callback'][0]; - - $handler['callback'] = 'gutenberg_taxonomies_controller_get_items'; - $should_rerun_response = true; - break; - } - } - } - // Handle POST /wp/v2/tags (and non-hierarchical taxonomies) when user - // can assign_terms but not manage terms. Users should be able to create - // terms. - if ( 'rest_cannot_create' === $response->get_error_code() - && is_array( $handler['permission_callback'] ) - && is_a( $handler['permission_callback'][0], 'WP_REST_Terms_Controller' ) ) { - $schema = $handler['permission_callback'][0]->get_item_schema(); - $taxonomy = 'tag' === $schema['title'] ? 'post_tag' : $schema['title']; - $taxonomy_obj = get_taxonomy( $taxonomy ); - if ( ! is_taxonomy_hierarchical( $taxonomy_obj->name ) - && current_user_can( $taxonomy_obj->cap->assign_terms ) ) { - $should_rerun_response = true; - } - } - } - // Re-run the response generation if we've decided we need to. - if ( $should_rerun_response ) { - $callback = $handler['callback']; - // Filter defined in class-wp-rest-server.php. - $dispatch_result = apply_filters( 'rest_dispatch_request', null, $request, $request->get_route(), $handler ); - - // Allow plugins to halt the request via this filter. - if ( null !== $dispatch_result ) { - $response = $dispatch_result; - } else { - $response = call_user_func( $callback, $request ); - } - } - return $response; -} -add_filter( 'rest_request_after_callbacks', 'gutenberg_filter_request_after_callbacks', 10, 3 ); - -/** - * Overloaded version of WP_REST_Taxonomies_Controller::get_items() - * - * This is temporary code that will be removed once the Trac ticket lands in a release. - * - * @see https://core.trac.wordpress.org/ticket/44096 - * - * @param WP_REST_Request $request Full details about the request. - * @return WP_REST_Response Response object on success, or WP_Error object on failure. - */ -function gutenberg_taxonomies_controller_get_items( $request ) { - $controller = $GLOBALS['Gutenberg_Temporary_Taxonomies_Controller']; - // Retrieve the controller of registered collection query parameters. - $registered = $controller->get_collection_params(); - - if ( isset( $registered['type'] ) && ! empty( $request['type'] ) ) { - $taxonomies = get_object_taxonomies( $request['type'], 'objects' ); - } else { - $taxonomies = get_taxonomies( '', 'objects' ); - } - $data = array(); - foreach ( $taxonomies as $tax_type => $value ) { - if ( empty( $value->show_in_rest ) || ( 'edit' === $request['context'] && ! current_user_can( $value->cap->assign_terms ) ) ) { - continue; - } - $tax = $controller->prepare_item_for_response( $value, $request ); - $tax = $controller->prepare_response_for_collection( $tax ); - $data[ $tax_type ] = $tax; - } - - if ( empty( $data ) ) { - // Response should still be returned as a JSON object when it is empty. - $data = (object) $data; - } - - return rest_ensure_response( $data ); -} diff --git a/package-lock.json b/package-lock.json index dc7e845fcfd57..59c1ba1ec3916 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,1145 +5,268 @@ "requires": true, "dependencies": { "@babel/code-frame": { - "version": "7.0.0-beta.52", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.52.tgz", - "integrity": "sha1-GSSDv6DR5GfBAVccIQKcy3SvKAE=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.56.tgz", + "integrity": "sha512-OBeGs8UXWpKl0oK2T5nUXNl2yu8RKxqL/7aUnMtKDXCU6VUrNP3npdrPivBA11HPB15TVI49nWf2lntTzoUuAg==", "dev": true, "requires": { - "@babel/highlight": "7.0.0-beta.52" + "@babel/highlight": "7.0.0-beta.56" } }, "@babel/core": { - "version": "7.0.0-beta.52", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.0.0-beta.52.tgz", - "integrity": "sha1-8nqaRo+M+chgqryl9ghPpS+8blU=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.52", - "@babel/generator": "7.0.0-beta.52", - "@babel/helpers": "7.0.0-beta.52", - "@babel/parser": "7.0.0-beta.52", - "@babel/template": "7.0.0-beta.52", - "@babel/traverse": "7.0.0-beta.52", - "@babel/types": "7.0.0-beta.52", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.0.0-beta.56.tgz", + "integrity": "sha512-IsytpdHZqo5pgJj4FTcpEMKmfXK9TdvThLZo4yUOjbuVZCy8NAwoeBnojvKCNf+139L7xNIIosp3RVA0cMkbOg==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.56", + "@babel/generator": "7.0.0-beta.56", + "@babel/helpers": "7.0.0-beta.56", + "@babel/parser": "7.0.0-beta.56", + "@babel/template": "7.0.0-beta.56", + "@babel/traverse": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56", "convert-source-map": "^1.1.0", "debug": "^3.1.0", "json5": "^0.5.0", - "lodash": "^4.17.5", - "micromatch": "^3.1.10", + "lodash": "^4.17.10", "resolve": "^1.3.2", "semver": "^5.4.1", "source-map": "^0.5.0" } }, "@babel/generator": { - "version": "7.0.0-beta.52", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.52.tgz", - "integrity": "sha1-JpaPEvrYGM2XTISbKGtDfh6MzZE=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.56.tgz", + "integrity": "sha512-d+Ls/Vr5OU5FBDYQToXSqAluI3r2UaSoNZ41zD3sxdoVoaT8K5Bdh4So4eG4o//INGM7actValXGfb+5J1+r8w==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.52", + "@babel/types": "7.0.0-beta.56", "jsesc": "^2.5.1", - "lodash": "^4.17.5", + "lodash": "^4.17.10", "source-map": "^0.5.0", "trim-right": "^1.0.1" } }, "@babel/helper-annotate-as-pure": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0-beta.53.tgz", - "integrity": "sha1-WZYGKDdcvu+WoH7f4co4t1bwGqg=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0-beta.56.tgz", + "integrity": "sha512-PaHQ8R489lwBZYz/F81YpKDurIQfKWliNIpHZAysYbnozq8hVyaUx8D5wW6Dplf0lUUQ8Y/I3YKtiNoyg7bLHA==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.53" - }, - "dependencies": { - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - } + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.0.0-beta.53.tgz", - "integrity": "sha1-RFZwliPX2vqivulPglUD9MDs6Fs=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.0.0-beta.56.tgz", + "integrity": "sha512-ka5Fe6UB/jRtCWU/emg6fLKqttaVaBCF1zdT06PYs7w8hJPidCcfdVMBoDHfqL3pgLo+hp+LW4Q/99zw/zv0Sw==", "dev": true, "requires": { - "@babel/helper-explode-assignable-expression": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - }, - "dependencies": { - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - } + "@babel/helper-explode-assignable-expression": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-builder-react-jsx": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.0.0-beta.53.tgz", - "integrity": "sha1-e9fn419EOf03NfAC5hIyGGv5zs8=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.0.0-beta.56.tgz", + "integrity": "sha512-s7nY9YbY+/6yccMCdI9oqh/rZ9lEoo3EHk/Lt6H2p/t6jyQf0sWqtsbJeHg5j5FzX6ZwYkdX8lTmBBMTrlyf9A==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.53", + "@babel/types": "7.0.0-beta.56", "esutils": "^2.0.0" - }, - "dependencies": { - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - } } }, "@babel/helper-call-delegate": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.53.tgz", - "integrity": "sha1-ld6Lq9A/nmz08rVkoDhwjBOP/jE=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.56.tgz", + "integrity": "sha512-XOv0taD7Elw0CSorktXbbCzdPgH4dZOb8yObk5deEhDbWgJhdwIvd5z8rQpDu712oqDhXm7Z3v+upFsOCg2+nQ==", "dev": true, "requires": { - "@babel/helper-hoist-variables": "7.0.0-beta.53", - "@babel/traverse": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.53.tgz", - "integrity": "sha1-mA0VYLhjV1v1o3eSUDfgEy71kh4=", - "dev": true, - "requires": { - "@babel/highlight": "7.0.0-beta.53" - } - }, - "@babel/generator": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.53.tgz", - "integrity": "sha1-uMrXLFcr4yNK/94ivm2sxCUOA0s=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53", - "jsesc": "^2.5.1", - "lodash": "^4.17.5", - "source-map": "^0.5.0", - "trim-right": "^1.0.1" - } - }, - "@babel/helper-function-name": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.53.tgz", - "integrity": "sha1-USgEro6cvOVDHr6hnkdijC7WU/I=", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "7.0.0-beta.53", - "@babel/template": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.53.tgz", - "integrity": "sha1-3tiKsp+bHbYch9G7jTijXdp3neY=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.53.tgz", - "integrity": "sha1-rvVLix+ZYW6jfJhHhxajeAJjMls=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/highlight": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.53.tgz", - "integrity": "sha1-9OlS2tF4fSBeGI0+OEzc5JyjaPs=", - "dev": true, - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^3.0.0" - } - }, - "@babel/parser": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.53.tgz", - "integrity": "sha1-H0XrYXv5Rj1IKywE00nZ5O2/SJI=", - "dev": true - }, - "@babel/template": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.53.tgz", - "integrity": "sha1-MyIpCQDQsYewpxdDgeHzu3EFDS4=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - } - }, - "@babel/traverse": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.53.tgz", - "integrity": "sha1-ANMs2NC1j0wB0xFXvmIsZigm00Q=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/generator": "7.0.0-beta.53", - "@babel/helper-function-name": "7.0.0-beta.53", - "@babel/helper-split-export-declaration": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "debug": "^3.1.0", - "globals": "^11.1.0", - "invariant": "^2.2.0", - "lodash": "^4.17.5" - } - }, - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true - } + "@babel/helper-hoist-variables": "7.0.0-beta.56", + "@babel/traverse": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-define-map": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.0.0-beta.53.tgz", - "integrity": "sha1-SOniJlRTeHl1BD76qx7a0jnqlpU=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.0.0-beta.56.tgz", + "integrity": "sha512-6hWVBpEyeRqvX3cKU7GVjdiYk9SvucpScTwdNpuSvsX8lX1MzuLQ7n9FNrHMU6+ulVNkZV81E7WdABYgXyIfuw==", "dev": true, "requires": { - "@babel/helper-function-name": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.53.tgz", - "integrity": "sha1-mA0VYLhjV1v1o3eSUDfgEy71kh4=", - "dev": true, - "requires": { - "@babel/highlight": "7.0.0-beta.53" - } - }, - "@babel/helper-function-name": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.53.tgz", - "integrity": "sha1-USgEro6cvOVDHr6hnkdijC7WU/I=", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "7.0.0-beta.53", - "@babel/template": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.53.tgz", - "integrity": "sha1-3tiKsp+bHbYch9G7jTijXdp3neY=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/highlight": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.53.tgz", - "integrity": "sha1-9OlS2tF4fSBeGI0+OEzc5JyjaPs=", - "dev": true, - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^3.0.0" - } - }, - "@babel/parser": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.53.tgz", - "integrity": "sha1-H0XrYXv5Rj1IKywE00nZ5O2/SJI=", - "dev": true - }, - "@babel/template": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.53.tgz", - "integrity": "sha1-MyIpCQDQsYewpxdDgeHzu3EFDS4=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - } - }, - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true - } + "@babel/helper-function-name": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56", + "lodash": "^4.17.10" } }, "@babel/helper-explode-assignable-expression": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.0.0-beta.53.tgz", - "integrity": "sha1-1bytK2tH9ATAruillk3/2TEkc6g=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.0.0-beta.56.tgz", + "integrity": "sha512-Y3a7HLnwLJEiKe4+XB2AEo6QiCnFsa0ycqg6HBp0lyw4HztSTGt3oyZYO8I5ZhtVCKi/EJXSQuKHLOV98jG/+A==", "dev": true, "requires": { - "@babel/traverse": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.53.tgz", - "integrity": "sha1-mA0VYLhjV1v1o3eSUDfgEy71kh4=", - "dev": true, - "requires": { - "@babel/highlight": "7.0.0-beta.53" - } - }, - "@babel/generator": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.53.tgz", - "integrity": "sha1-uMrXLFcr4yNK/94ivm2sxCUOA0s=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53", - "jsesc": "^2.5.1", - "lodash": "^4.17.5", - "source-map": "^0.5.0", - "trim-right": "^1.0.1" - } - }, - "@babel/helper-function-name": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.53.tgz", - "integrity": "sha1-USgEro6cvOVDHr6hnkdijC7WU/I=", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "7.0.0-beta.53", - "@babel/template": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.53.tgz", - "integrity": "sha1-3tiKsp+bHbYch9G7jTijXdp3neY=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.53.tgz", - "integrity": "sha1-rvVLix+ZYW6jfJhHhxajeAJjMls=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/highlight": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.53.tgz", - "integrity": "sha1-9OlS2tF4fSBeGI0+OEzc5JyjaPs=", - "dev": true, - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^3.0.0" - } - }, - "@babel/parser": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.53.tgz", - "integrity": "sha1-H0XrYXv5Rj1IKywE00nZ5O2/SJI=", - "dev": true - }, - "@babel/template": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.53.tgz", - "integrity": "sha1-MyIpCQDQsYewpxdDgeHzu3EFDS4=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - } - }, - "@babel/traverse": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.53.tgz", - "integrity": "sha1-ANMs2NC1j0wB0xFXvmIsZigm00Q=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/generator": "7.0.0-beta.53", - "@babel/helper-function-name": "7.0.0-beta.53", - "@babel/helper-split-export-declaration": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "debug": "^3.1.0", - "globals": "^11.1.0", - "invariant": "^2.2.0", - "lodash": "^4.17.5" - } - }, - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true - } + "@babel/traverse": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-function-name": { - "version": "7.0.0-beta.52", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.52.tgz", - "integrity": "sha1-qGelj/VxsldysteZsyhmBYVzxFA=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.56.tgz", + "integrity": "sha512-Lq4nPOt1j3sUq+1GVrw57dKq6wBKAHplGjYzEG8dkytqo93i6uSKKKg3smYXx2qohEVD5ciAyJjgRJq7RQu4Lg==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "7.0.0-beta.52", - "@babel/template": "7.0.0-beta.52", - "@babel/types": "7.0.0-beta.52" + "@babel/helper-get-function-arity": "7.0.0-beta.56", + "@babel/template": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-get-function-arity": { - "version": "7.0.0-beta.52", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.52.tgz", - "integrity": "sha1-HAzaWOC3X0XpLq+9j+GJpO7pK3Q=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.56.tgz", + "integrity": "sha512-QU9EVlnDGTzBasgrdo/I4+RzZS7oqzz9YcetpYko3bp+VsRGokqsAQl3gIvxWTtxwibwboDEdBx+fGArtb2fhw==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.52" + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-hoist-variables": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0-beta.53.tgz", - "integrity": "sha1-TCfjuHP6CcWtbpPrQHBMIA+EE3w=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0-beta.56.tgz", + "integrity": "sha512-PTBa6UfiM7MgeTXOlNjCDiiqtOhqWraHM2GGsZg1M8VkuZRjP1Kag9JNmoppUlsZE5LY3NE+BjJuQ1/mLgcIug==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.53" - }, - "dependencies": { - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - } + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-member-expression-to-functions": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.0.0-beta.53.tgz", - "integrity": "sha1-D7Dviy07kD0cO/Qm2kp0V14BnOQ=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.0.0-beta.56.tgz", + "integrity": "sha512-/TrmPCG1XIENakzenEyiNsbIBSTm10DNWyB/cyKwVljzA18gMivn9YxSMxVAuaC1KyTTmhkeUYibSMF7yF13xw==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.53" - }, - "dependencies": { - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - } + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-module-imports": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.53.tgz", - "integrity": "sha1-5zXmqjClBLD52Fw4ptRwqfSqgdk=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.56.tgz", + "integrity": "sha512-iVWFscU+yIu6DIo5IWkMgVXd74/d3z/ZomwF/QJNGFwFP/lNA282rpjsky56fSxS7oT7wAlXoYoHVCOOaL7tbg==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - }, - "dependencies": { - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - } + "@babel/types": "7.0.0-beta.56", + "lodash": "^4.17.10" } }, "@babel/helper-module-transforms": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0-beta.53.tgz", - "integrity": "sha1-e6IUzcyPhiPy0Xl96v8f80mqzhM=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0-beta.56.tgz", + "integrity": "sha512-jC+blwjVeVx43WWOJHHXYBcHvYw0eHNgZUUXHKkDTLYc0zx8oev3LyciGFiWz29KgCS1K8YYd0t7z8fFXlCTog==", "dev": true, "requires": { - "@babel/helper-module-imports": "7.0.0-beta.53", - "@babel/helper-simple-access": "7.0.0-beta.53", - "@babel/helper-split-export-declaration": "7.0.0-beta.53", - "@babel/template": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.53.tgz", - "integrity": "sha1-mA0VYLhjV1v1o3eSUDfgEy71kh4=", - "dev": true, - "requires": { - "@babel/highlight": "7.0.0-beta.53" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.53.tgz", - "integrity": "sha1-rvVLix+ZYW6jfJhHhxajeAJjMls=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/highlight": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.53.tgz", - "integrity": "sha1-9OlS2tF4fSBeGI0+OEzc5JyjaPs=", - "dev": true, - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^3.0.0" - } - }, - "@babel/parser": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.53.tgz", - "integrity": "sha1-H0XrYXv5Rj1IKywE00nZ5O2/SJI=", - "dev": true - }, - "@babel/template": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.53.tgz", - "integrity": "sha1-MyIpCQDQsYewpxdDgeHzu3EFDS4=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - } - }, - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true - } + "@babel/helper-module-imports": "7.0.0-beta.56", + "@babel/helper-simple-access": "7.0.0-beta.56", + "@babel/helper-split-export-declaration": "7.0.0-beta.56", + "@babel/template": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56", + "lodash": "^4.17.10" } }, "@babel/helper-optimise-call-expression": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0-beta.53.tgz", - "integrity": "sha1-j8eO9MD2n4uzu980zSMsIBIEFMg=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0-beta.56.tgz", + "integrity": "sha512-T+eZePA6kM+3wHXDPKKFZGHtMJGfK2/xmdk9pVjFHppdg4zwEqGaqLQaOlqfk5ekx2vxO22tmL4Caf2A/MVm0w==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.53" - }, - "dependencies": { - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - } + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-plugin-utils": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-beta.53.tgz", - "integrity": "sha1-1kRYY2/8JYtCcUqd2Trrb4uM8+0=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-beta.56.tgz", + "integrity": "sha512-6IlFMU13X7gwnnMldDHwfc7IqngqCH/KfiU7I+GdNoZPnddmjghc87E/zKHaJpWdX1VvXCCelp2EnKq0rgBQ8w==", "dev": true }, "@babel/helper-regex": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.0.0-beta.53.tgz", - "integrity": "sha1-bp0hl7Vid54iVWWUaumoXCFbIl4=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.0.0-beta.56.tgz", + "integrity": "sha512-wtb8bmlc5TF7W7KMd5muS+CVQQu7cNGTdPbI5+8x5w36bN8ytbkun5160hJ2S1r3Tti0FPnrYwz+9W5AGj+d9g==", "dev": true, "requires": { - "lodash": "^4.17.5" + "lodash": "^4.17.10" } }, "@babel/helper-remap-async-to-generator": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0-beta.53.tgz", - "integrity": "sha1-uDSnVy3sF2OJ/6x+djV5WGSQySI=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0-beta.56.tgz", + "integrity": "sha512-uCvdjXeEh/qzvhK61XLP5DADCM0MMxZOVdGIj5In/i9MLt9BD/EAyBmjZN0bc1dD1wJst0qInZyZju0lUUkvNQ==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "7.0.0-beta.53", - "@babel/helper-wrap-function": "7.0.0-beta.53", - "@babel/template": "7.0.0-beta.53", - "@babel/traverse": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.53.tgz", - "integrity": "sha1-mA0VYLhjV1v1o3eSUDfgEy71kh4=", - "dev": true, - "requires": { - "@babel/highlight": "7.0.0-beta.53" - } - }, - "@babel/generator": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.53.tgz", - "integrity": "sha1-uMrXLFcr4yNK/94ivm2sxCUOA0s=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53", - "jsesc": "^2.5.1", - "lodash": "^4.17.5", - "source-map": "^0.5.0", - "trim-right": "^1.0.1" - } - }, - "@babel/helper-function-name": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.53.tgz", - "integrity": "sha1-USgEro6cvOVDHr6hnkdijC7WU/I=", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "7.0.0-beta.53", - "@babel/template": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.53.tgz", - "integrity": "sha1-3tiKsp+bHbYch9G7jTijXdp3neY=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.53.tgz", - "integrity": "sha1-rvVLix+ZYW6jfJhHhxajeAJjMls=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/highlight": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.53.tgz", - "integrity": "sha1-9OlS2tF4fSBeGI0+OEzc5JyjaPs=", - "dev": true, - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^3.0.0" - } - }, - "@babel/parser": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.53.tgz", - "integrity": "sha1-H0XrYXv5Rj1IKywE00nZ5O2/SJI=", - "dev": true - }, - "@babel/template": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.53.tgz", - "integrity": "sha1-MyIpCQDQsYewpxdDgeHzu3EFDS4=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - } - }, - "@babel/traverse": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.53.tgz", - "integrity": "sha1-ANMs2NC1j0wB0xFXvmIsZigm00Q=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/generator": "7.0.0-beta.53", - "@babel/helper-function-name": "7.0.0-beta.53", - "@babel/helper-split-export-declaration": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "debug": "^3.1.0", - "globals": "^11.1.0", - "invariant": "^2.2.0", - "lodash": "^4.17.5" - } - }, - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true - } + "@babel/helper-annotate-as-pure": "7.0.0-beta.56", + "@babel/helper-wrap-function": "7.0.0-beta.56", + "@babel/template": "7.0.0-beta.56", + "@babel/traverse": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-replace-supers": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.0.0-beta.53.tgz", - "integrity": "sha1-M5tb3BAilElbGifFWBMjBuG3vKc=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.0.0-beta.56.tgz", + "integrity": "sha512-Pv0a8XYWeYLMgzx6BiKYMkBPW7ilDeKmKnPfMD+sCsTRDMZl9DssqnkkSwGxgAeuPwZ9opx18r5EzYPTgt0k4A==", "dev": true, "requires": { - "@babel/helper-member-expression-to-functions": "7.0.0-beta.53", - "@babel/helper-optimise-call-expression": "7.0.0-beta.53", - "@babel/traverse": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.53.tgz", - "integrity": "sha1-mA0VYLhjV1v1o3eSUDfgEy71kh4=", - "dev": true, - "requires": { - "@babel/highlight": "7.0.0-beta.53" - } - }, - "@babel/generator": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.53.tgz", - "integrity": "sha1-uMrXLFcr4yNK/94ivm2sxCUOA0s=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53", - "jsesc": "^2.5.1", - "lodash": "^4.17.5", - "source-map": "^0.5.0", - "trim-right": "^1.0.1" - } - }, - "@babel/helper-function-name": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.53.tgz", - "integrity": "sha1-USgEro6cvOVDHr6hnkdijC7WU/I=", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "7.0.0-beta.53", - "@babel/template": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.53.tgz", - "integrity": "sha1-3tiKsp+bHbYch9G7jTijXdp3neY=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.53.tgz", - "integrity": "sha1-rvVLix+ZYW6jfJhHhxajeAJjMls=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/highlight": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.53.tgz", - "integrity": "sha1-9OlS2tF4fSBeGI0+OEzc5JyjaPs=", - "dev": true, - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^3.0.0" - } - }, - "@babel/parser": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.53.tgz", - "integrity": "sha1-H0XrYXv5Rj1IKywE00nZ5O2/SJI=", - "dev": true - }, - "@babel/template": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.53.tgz", - "integrity": "sha1-MyIpCQDQsYewpxdDgeHzu3EFDS4=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - } - }, - "@babel/traverse": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.53.tgz", - "integrity": "sha1-ANMs2NC1j0wB0xFXvmIsZigm00Q=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/generator": "7.0.0-beta.53", - "@babel/helper-function-name": "7.0.0-beta.53", - "@babel/helper-split-export-declaration": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "debug": "^3.1.0", - "globals": "^11.1.0", - "invariant": "^2.2.0", - "lodash": "^4.17.5" - } - }, - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true - } + "@babel/helper-member-expression-to-functions": "7.0.0-beta.56", + "@babel/helper-optimise-call-expression": "7.0.0-beta.56", + "@babel/traverse": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-simple-access": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.0.0-beta.53.tgz", - "integrity": "sha1-cvbbmr5C+GgfpvAo79WdgVRHUrM=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.0.0-beta.56.tgz", + "integrity": "sha512-CIRkGs+/KNWpGJKEUbABeVWTZ1ePskwKwwoR1lVs2qI4cZheS6NvXzLxsFN/uxyc46yn7px/XTxV/zM3rnlQQQ==", "dev": true, - "requires": { - "@babel/template": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.53.tgz", - "integrity": "sha1-mA0VYLhjV1v1o3eSUDfgEy71kh4=", - "dev": true, - "requires": { - "@babel/highlight": "7.0.0-beta.53" - } - }, - "@babel/highlight": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.53.tgz", - "integrity": "sha1-9OlS2tF4fSBeGI0+OEzc5JyjaPs=", - "dev": true, - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^3.0.0" - } - }, - "@babel/parser": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.53.tgz", - "integrity": "sha1-H0XrYXv5Rj1IKywE00nZ5O2/SJI=", - "dev": true - }, - "@babel/template": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.53.tgz", - "integrity": "sha1-MyIpCQDQsYewpxdDgeHzu3EFDS4=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - } - }, - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true - } + "requires": { + "@babel/template": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56", + "lodash": "^4.17.10" } }, "@babel/helper-split-export-declaration": { - "version": "7.0.0-beta.52", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.52.tgz", - "integrity": "sha1-SqxPMOpjhK82duBLUkZydjLkYN8=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.56.tgz", + "integrity": "sha512-j886mQJQg5HDF7X0qK/AfNdrpIYUcJHxRKwBJ9dUvhpO3eFqsTLbJJpitgLaJQjh9D7Db5Aiq8MRghj3+MH57g==", "dev": true, "requires": { - "@babel/types": "7.0.0-beta.52" + "@babel/types": "7.0.0-beta.56" } }, "@babel/helper-wrap-function": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0-beta.53.tgz", - "integrity": "sha1-q/sr+pQBBCurJXwBkPWtbbjfFdU=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0-beta.56.tgz", + "integrity": "sha512-WuGMzbpx12M40aHtocM0vs9af/LmdwpXsKBX2T2GqCMueD90MHvQU+148vHScgPbUoWP4lv+dFGZDf0XUc2qJA==", "dev": true, "requires": { - "@babel/helper-function-name": "7.0.0-beta.53", - "@babel/template": "7.0.0-beta.53", - "@babel/traverse": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.53.tgz", - "integrity": "sha1-mA0VYLhjV1v1o3eSUDfgEy71kh4=", - "dev": true, - "requires": { - "@babel/highlight": "7.0.0-beta.53" - } - }, - "@babel/generator": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.53.tgz", - "integrity": "sha1-uMrXLFcr4yNK/94ivm2sxCUOA0s=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53", - "jsesc": "^2.5.1", - "lodash": "^4.17.5", - "source-map": "^0.5.0", - "trim-right": "^1.0.1" - } - }, - "@babel/helper-function-name": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.53.tgz", - "integrity": "sha1-USgEro6cvOVDHr6hnkdijC7WU/I=", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "7.0.0-beta.53", - "@babel/template": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.53.tgz", - "integrity": "sha1-3tiKsp+bHbYch9G7jTijXdp3neY=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.53.tgz", - "integrity": "sha1-rvVLix+ZYW6jfJhHhxajeAJjMls=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/highlight": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.53.tgz", - "integrity": "sha1-9OlS2tF4fSBeGI0+OEzc5JyjaPs=", - "dev": true, - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^3.0.0" - } - }, - "@babel/parser": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.53.tgz", - "integrity": "sha1-H0XrYXv5Rj1IKywE00nZ5O2/SJI=", - "dev": true - }, - "@babel/template": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.53.tgz", - "integrity": "sha1-MyIpCQDQsYewpxdDgeHzu3EFDS4=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - } - }, - "@babel/traverse": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.53.tgz", - "integrity": "sha1-ANMs2NC1j0wB0xFXvmIsZigm00Q=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/generator": "7.0.0-beta.53", - "@babel/helper-function-name": "7.0.0-beta.53", - "@babel/helper-split-export-declaration": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "debug": "^3.1.0", - "globals": "^11.1.0", - "invariant": "^2.2.0", - "lodash": "^4.17.5" - } - }, - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true - } + "@babel/helper-function-name": "7.0.0-beta.56", + "@babel/template": "7.0.0-beta.56", + "@babel/traverse": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56" } }, "@babel/helpers": { - "version": "7.0.0-beta.52", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.0.0-beta.52.tgz", - "integrity": "sha1-ib7r5OT9ayL111QHFgJ2KUCMSmM=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.0.0-beta.56.tgz", + "integrity": "sha512-KaNBuVlAGW6sFCEWjliN29dL8K4L/ff8ZUaR/D5ou/JsqOuxLRy34Rf8WXMru3Et2g4Czly6vJeSmaYyf3s0lA==", "dev": true, "requires": { - "@babel/template": "7.0.0-beta.52", - "@babel/traverse": "7.0.0-beta.52", - "@babel/types": "7.0.0-beta.52" + "@babel/template": "7.0.0-beta.56", + "@babel/traverse": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56" } }, "@babel/highlight": { - "version": "7.0.0-beta.52", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.52.tgz", - "integrity": "sha1-7ySTFDLwYVXnvDnNuKaze0oos9A=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.56.tgz", + "integrity": "sha512-q4TfI+jJISul6vVpZJktzH4tupwRiVk6KXRhB8PHqJ7erl966I6ePDXl9mAbE8jMM7YswhnnB0j1SYP7LBVyhg==", "dev": true, "requires": { "chalk": "^2.0.0", @@ -1160,659 +283,473 @@ } }, "@babel/parser": { - "version": "7.0.0-beta.52", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.52.tgz", - "integrity": "sha1-TpNbYs2b+HK9N7zx9j2C/nsCN6I=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.56.tgz", + "integrity": "sha512-JM0ughhbo+sPXw2Z+SUyowfYrAOhjanzjMshcLswBdXVelJCOeEKe/FqMqPWGVPQr7wByongXIn+MKdCpY7DBw==", "dev": true }, "@babel/plugin-proposal-async-generator-functions": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0-beta.53.tgz", - "integrity": "sha1-XFnvZm0Xwn3LVoa3XsMr622MUNY=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0-beta.56.tgz", + "integrity": "sha512-2amegw5EfeOJO5un5+A5cZ7cELUKf7fUzdryFdkg3ciGyNA+ISK9x4B57N8Jb5gWXch1xNsOV7tJuaaWeqbJ3g==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/helper-remap-async-to-generator": "7.0.0-beta.53", - "@babel/plugin-syntax-async-generators": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/helper-remap-async-to-generator": "7.0.0-beta.56", + "@babel/plugin-syntax-async-generators": "7.0.0-beta.56" } }, "@babel/plugin-proposal-object-rest-spread": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0-beta.53.tgz", - "integrity": "sha1-5rXwusUBg48W6PPG00sAs+pANdk=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0-beta.56.tgz", + "integrity": "sha512-onVk2kI39dzkDP+SzX6eC3nAkq5yemiiZX+AuXAmshOyuz+ZYUu5b+zzXKw0oPFTSnMnlIfJItQCcVzesXcU6A==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.56" } }, "@babel/plugin-proposal-optional-catch-binding": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.0.0-beta.53.tgz", - "integrity": "sha1-i6DVywtncv66DwxY5u1+oj/S8gI=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.0.0-beta.56.tgz", + "integrity": "sha512-qLUAi1k8kTiFDUfGkjtdWujo6hTcqCDRw9hvBSxgJ150fRytyCG0pDqmC3KXytSdPPxuAcCCbgB+9CZsGPXkIA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/plugin-syntax-optional-catch-binding": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/plugin-syntax-optional-catch-binding": "7.0.0-beta.56" } }, "@babel/plugin-proposal-unicode-property-regex": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.0.0-beta.53.tgz", - "integrity": "sha1-YAlUHdmG6OsKkKJRFSMAEQLn3EM=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.0.0-beta.56.tgz", + "integrity": "sha512-YszvYRt3tgCTJ+qcBSRKpJhlsiM0/BPcehwHgFzyKi0arnRX7jO8iyTZD3VpkVBElTGTbz91G9fSXj/7Y3PdQw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/helper-regex": "7.0.0-beta.53", + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/helper-regex": "7.0.0-beta.56", "regexpu-core": "^4.2.0" } }, "@babel/plugin-syntax-async-generators": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.0.0-beta.53.tgz", - "integrity": "sha1-gpvvbxUBeentC7lDM58qMSM6qSE=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.0.0-beta.56.tgz", + "integrity": "sha512-tC8sGd1RridRn0147GUh2rF1WB+8FnP0siTD0ofuqLYJEbOTYn9NF0WD4DNzwwHwOZMBxgHFy8N/B1sNmEC8SQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-syntax-jsx": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.0.0-beta.53.tgz", - "integrity": "sha1-IjzIl3IzOcsiCqghbGVQhv60U5g=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.0.0-beta.56.tgz", + "integrity": "sha512-QsZbghj9DemNxr6ZX7V1ULukXrb+d3kRAU9ErikMnSCx60tKW5MQCIuSnHjr1l5wU4XlAZT2qclb+RYTTz0rAw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-syntax-object-rest-spread": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0-beta.53.tgz", - "integrity": "sha1-nb12jD8QnwKyT7oXNllp+iXrRYw=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0-beta.56.tgz", + "integrity": "sha512-rDqe3TN5cZaUg4zi3Kzfq5qySS6IcEs19WE7GHlmelgQ1QXy9d/tsPEAWHZTLrG4mjbbEFJZdLvAi+LSGdhJAQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-syntax-optional-catch-binding": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.0.0-beta.53.tgz", - "integrity": "sha1-pc9szGqrNp/CyleuH0pjs9w4Jes=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.0.0-beta.56.tgz", + "integrity": "sha512-rpXmUoqQRwV3QaRUIwKTrVh/pzYe1mMmV43TXJNkP3BX4phimxsF+/orJY8MjqZs9QfHwQkfyb+b6BURLY62kA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-arrow-functions": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.0.0-beta.53.tgz", - "integrity": "sha1-p19fqEl6rBcp0DO/QcJQQWudHgQ=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.0.0-beta.56.tgz", + "integrity": "sha512-TkpqdTt8ivvNBoawwxwFJSHRAQAWvWRuMyQIJfdrmSGdHVaEJ8xn1MkYuORMOogtpsG+ZncmGRAyCEQeMFBPsA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-async-to-generator": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.0.0-beta.53.tgz", - "integrity": "sha1-REx2HMQhXJeptVb/WMp7p99dQVM=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.0.0-beta.56.tgz", + "integrity": "sha512-n34TSk3nFLCnsuC5f2PSb+jdOVXv1UzENnGN/Xu9/epSFVVNLfNR2td0Gx0Rh4CjIef5JZ0tFounyPWWMSh/0Q==", "dev": true, "requires": { - "@babel/helper-module-imports": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/helper-remap-async-to-generator": "7.0.0-beta.53" + "@babel/helper-module-imports": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/helper-remap-async-to-generator": "7.0.0-beta.56" } }, "@babel/plugin-transform-block-scoped-functions": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.0.0-beta.53.tgz", - "integrity": "sha1-CkMiGhsMkM1NCfG0a5Wd0khlf3M=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.0.0-beta.56.tgz", + "integrity": "sha512-rgabVaR9M5c7xyuWFMyPN8vT8QkncF9skgA2/O6seiGX8mgl/WjDMkWi2Sm9PFdPc7WEryKh8Rlu/tgupulwSA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-block-scoping": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.0.0-beta.53.tgz", - "integrity": "sha1-nv1uUMofo5jcqnEZYh2j8fu4IbY=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.0.0-beta.56.tgz", + "integrity": "sha512-hqeciuZPUfsZIhJ6MaB68U3+G5eS12ahidn98oUxyOl+BnS/aN9EhSt877mJPlEBe3oQy35qNwg/HG3rq33O2A==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "lodash": "^4.17.5" + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "lodash": "^4.17.10" } }, "@babel/plugin-transform-classes": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.0.0-beta.53.tgz", - "integrity": "sha1-XcLsMb8emAZqzfDEiHt3RMFL7G4=", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "7.0.0-beta.53", - "@babel/helper-define-map": "7.0.0-beta.53", - "@babel/helper-function-name": "7.0.0-beta.53", - "@babel/helper-optimise-call-expression": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/helper-replace-supers": "7.0.0-beta.53", - "@babel/helper-split-export-declaration": "7.0.0-beta.53", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.0.0-beta.56.tgz", + "integrity": "sha512-uq0Nvjlkt5gpF+dlvJ1yOZu8liBfOp3QoA/hrP7LZ6XzmYwZOhIUpUbouvKjgvybWiDmNDGcELeC96CL/mtV5Q==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "7.0.0-beta.56", + "@babel/helper-define-map": "7.0.0-beta.56", + "@babel/helper-function-name": "7.0.0-beta.56", + "@babel/helper-optimise-call-expression": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/helper-replace-supers": "7.0.0-beta.56", + "@babel/helper-split-export-declaration": "7.0.0-beta.56", "globals": "^11.1.0" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.53.tgz", - "integrity": "sha1-mA0VYLhjV1v1o3eSUDfgEy71kh4=", - "dev": true, - "requires": { - "@babel/highlight": "7.0.0-beta.53" - } - }, - "@babel/helper-function-name": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.53.tgz", - "integrity": "sha1-USgEro6cvOVDHr6hnkdijC7WU/I=", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "7.0.0-beta.53", - "@babel/template": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.53.tgz", - "integrity": "sha1-3tiKsp+bHbYch9G7jTijXdp3neY=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.53.tgz", - "integrity": "sha1-rvVLix+ZYW6jfJhHhxajeAJjMls=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/highlight": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.53.tgz", - "integrity": "sha1-9OlS2tF4fSBeGI0+OEzc5JyjaPs=", - "dev": true, - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^3.0.0" - } - }, - "@babel/parser": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.53.tgz", - "integrity": "sha1-H0XrYXv5Rj1IKywE00nZ5O2/SJI=", - "dev": true - }, - "@babel/template": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.53.tgz", - "integrity": "sha1-MyIpCQDQsYewpxdDgeHzu3EFDS4=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - } - }, - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true - } } }, "@babel/plugin-transform-computed-properties": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.0.0-beta.53.tgz", - "integrity": "sha1-l0fiYIKulO2lMPmNLCBZ6NLbwAU=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.0.0-beta.56.tgz", + "integrity": "sha512-U0iHc3aEhgJsW5toS4ZjwWp9bV1l+gsJAt4PI/fXA4XK0DVZEZS82Xq3ozHLp5ccWiqJCCEWYAFys2c/ZPKmjA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-destructuring": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.0.0-beta.53.tgz", - "integrity": "sha1-DwrbDhptzTWjZkEBYJ7AYv8SenY=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.0.0-beta.56.tgz", + "integrity": "sha512-6Jyis4rwPNQ9a8t1PerzymtC0qfgKlI9SOc44xaZfVo2nxzhb09nXrGsjpXywZVepDUWKHXy17XT0ouiQJmrTw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-dotall-regex": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.0.0-beta.53.tgz", - "integrity": "sha1-TEZHMaRf8Fm36TOsdswFzHBlGkA=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.0.0-beta.56.tgz", + "integrity": "sha512-nM7ZXzwdDwviGUleCdDrQ4fGXtTkEFg0HHbZ5LD7XlJrN4goJmi6xHBOoZ8iWdTPrzAuDi+FT87RWCHFDcU4xA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/helper-regex": "7.0.0-beta.53", + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/helper-regex": "7.0.0-beta.56", "regexpu-core": "^4.1.3" } }, "@babel/plugin-transform-duplicate-keys": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.0.0-beta.53.tgz", - "integrity": "sha1-D1WZE6v6GCOcpOCPc+7DbF5XuB8=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.0.0-beta.56.tgz", + "integrity": "sha512-hnMT8itOVeLuLGtuE+SBpaCyLj97nq2LJwu2Ud6O6Nag1iswDp2MMgTYmFPzPF465LuP4cUp5bmjZcOvFkkoHQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-exponentiation-operator": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.0.0-beta.53.tgz", - "integrity": "sha1-PiZxeSBMd1GdhBepsZnyUiIejZU=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.0.0-beta.56.tgz", + "integrity": "sha512-t32wjgnTXwOMDd8cIUSpYu3k31EqrYTJsZf/Dw44RDT6EXJzeTKchMsvwd2n8vf02OzjO0a9/qXF5dKl4cK0HQ==", "dev": true, "requires": { - "@babel/helper-builder-binary-assignment-operator-visitor": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-builder-binary-assignment-operator-visitor": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-for-of": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.0.0-beta.53.tgz", - "integrity": "sha1-+gZSFeGFacj3TdUktXIeEdzKlzs=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.0.0-beta.56.tgz", + "integrity": "sha512-z4sift6xY65vOpFlRyPrcKNgusCV9NZZGOR9Dxt64XUEWnyxpabHZ9mGe0B3mqJbm168cK7sbxruvnyfyrO2fg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-function-name": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.0.0-beta.53.tgz", - "integrity": "sha1-Kzpbs2TB4cV+zL/iXGv1XygEET4=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.0.0-beta.56.tgz", + "integrity": "sha512-olcHC1WD2L36/vUl/aw5STpv/+O4C/mUGOytQ2NJn0VPKqeaYCBaEboz+4nnttlvTojaxWzBURTl675YvlPcWw==", "dev": true, "requires": { - "@babel/helper-function-name": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.53.tgz", - "integrity": "sha1-mA0VYLhjV1v1o3eSUDfgEy71kh4=", - "dev": true, - "requires": { - "@babel/highlight": "7.0.0-beta.53" - } - }, - "@babel/helper-function-name": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.53.tgz", - "integrity": "sha1-USgEro6cvOVDHr6hnkdijC7WU/I=", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "7.0.0-beta.53", - "@babel/template": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.53.tgz", - "integrity": "sha1-3tiKsp+bHbYch9G7jTijXdp3neY=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/highlight": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.53.tgz", - "integrity": "sha1-9OlS2tF4fSBeGI0+OEzc5JyjaPs=", - "dev": true, - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^3.0.0" - } - }, - "@babel/parser": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.53.tgz", - "integrity": "sha1-H0XrYXv5Rj1IKywE00nZ5O2/SJI=", - "dev": true - }, - "@babel/template": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.53.tgz", - "integrity": "sha1-MyIpCQDQsYewpxdDgeHzu3EFDS4=", - "dev": true, - "requires": { - "@babel/code-frame": "7.0.0-beta.53", - "@babel/parser": "7.0.0-beta.53", - "@babel/types": "7.0.0-beta.53", - "lodash": "^4.17.5" - } - }, - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true - } + "@babel/helper-function-name": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-literals": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.0.0-beta.53.tgz", - "integrity": "sha1-vsTxROmpbvUSHRQwx+vl/QiGV8k=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.0.0-beta.56.tgz", + "integrity": "sha512-uz7Hcui2qmf1fA8pl5CsLz8KjM3HuUbEws/59G9kaMOrSIMrGSfeN1zsthfFSJDpFQLwq5NZ0+lPIvuOwE61bA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-modules-amd": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.0.0-beta.53.tgz", - "integrity": "sha1-WFTXOeZ5IzqId8C0GCaca+t6Miw=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.0.0-beta.56.tgz", + "integrity": "sha512-qbYJ9Xfi17D6GWzqs6AIKbT5oN5A4ONwxMzqkvr501ft0JognN4Hc5W5UAyCGdNgY/V6+Qdf1t8Opd+zTcS1FA==", "dev": true, "requires": { - "@babel/helper-module-transforms": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-module-transforms": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-modules-commonjs": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.0.0-beta.53.tgz", - "integrity": "sha1-68P7ocWmyHQ7kJQD7NPn42gcr6U=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.0.0-beta.56.tgz", + "integrity": "sha512-48juOe+HB048Km4l7ZzCKptRlfnYGAC5WwPJrDzldHQ8JFFmbrZPoDGPSlDK/3z9JRMldBHioVHvID5WTYPE9g==", "dev": true, "requires": { - "@babel/helper-module-transforms": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/helper-simple-access": "7.0.0-beta.53" + "@babel/helper-module-transforms": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/helper-simple-access": "7.0.0-beta.56" } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.0.0-beta.53.tgz", - "integrity": "sha1-uA/NnBWXLcaCMhT1JIUnhgu/BY4=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.0.0-beta.56.tgz", + "integrity": "sha512-tr2KAI4jhBfZLkSIHU4vlS6I1RmFYfMxM49ese+iPryvj1aH7x1VSz2+DEA/Xr+gM4CTXpWk0Xf2r2u260lPEA==", "dev": true, "requires": { - "@babel/helper-hoist-variables": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-hoist-variables": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-modules-umd": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.0.0-beta.53.tgz", - "integrity": "sha1-Kjar5AodpnbkOhwwcVeOJ70tZ50=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.0.0-beta.56.tgz", + "integrity": "sha512-0ItEhFLodomK7FH2FgK+UAphXd95UKyj3SXcRRhbUifvpfnqv0QFgaffI01iEyFnbxdXKpZqESHZR1fV/w1igw==", "dev": true, "requires": { - "@babel/helper-module-transforms": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-module-transforms": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-new-target": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0-beta.53.tgz", - "integrity": "sha1-m3Sz1TtOhUzw42DwLCpEAwccagE=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0-beta.56.tgz", + "integrity": "sha512-8r4H92o1LX6xZ3gGCUwrIiMwEoOfUfbflKOzrNQig2ybhX+9thU63m0P7cIU4qgp60mzIDKj2m7bz17s6MCl5g==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-object-super": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.0.0-beta.53.tgz", - "integrity": "sha1-4sTwbts0s9eksnV7oYgp0N8gKcs=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.0.0-beta.56.tgz", + "integrity": "sha512-GB6OyxC16aIPE7lm13xfUsoP+zoqCn9PaocXzlGbQbotMoQ+qkmv3Ymq/Oy5YQl3kl5xrxX0JKNuOhYUjhG4YQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/helper-replace-supers": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/helper-replace-supers": "7.0.0-beta.56" } }, "@babel/plugin-transform-parameters": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.0.0-beta.53.tgz", - "integrity": "sha1-7+YM7IzsoNGdXG+hrnm8TjMnnVY=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.0.0-beta.56.tgz", + "integrity": "sha512-zhGeuH/eY3kDVfFCWpyc1pWoIyuTZghqazsqJkUKwJMHoqVZuwEvNmpPi9Hhbn+W+LOFt8MJv5dY+kgfbMlwAQ==", "dev": true, "requires": { - "@babel/helper-call-delegate": "7.0.0-beta.53", - "@babel/helper-get-function-arity": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53" - }, - "dependencies": { - "@babel/helper-get-function-arity": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.53.tgz", - "integrity": "sha1-3tiKsp+bHbYch9G7jTijXdp3neY=", - "dev": true, - "requires": { - "@babel/types": "7.0.0-beta.53" - } - }, - "@babel/types": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.53.tgz", - "integrity": "sha1-GaRhwNpRVZXftnQLS0Xce7Dms3U=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.5", - "to-fast-properties": "^2.0.0" - } - } + "@babel/helper-call-delegate": "7.0.0-beta.56", + "@babel/helper-get-function-arity": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-react-jsx": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.0.0-beta.53.tgz", - "integrity": "sha1-ZYC3v2Zl8UyFgrn8JmygHwDgoEc=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.0.0-beta.56.tgz", + "integrity": "sha512-xg1l6yyWxxE4NdCIs+d3xx9Q03BmktxI9fIfxKaT0y+UjABg6J1eGCJRBPa1s3X212gkUcEmYPjG6jo4ew40Sw==", "dev": true, "requires": { - "@babel/helper-builder-react-jsx": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/plugin-syntax-jsx": "7.0.0-beta.53" + "@babel/helper-builder-react-jsx": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/plugin-syntax-jsx": "7.0.0-beta.56" } }, "@babel/plugin-transform-regenerator": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0-beta.53.tgz", - "integrity": "sha1-T+u/YISvoMHJ7ISX3mjAaV/p2gs=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0-beta.56.tgz", + "integrity": "sha512-wSRlSwXSXlpAdAKethZu+JyrnSL1NvLn3VtomlOCqHWhRhjOkjehIBlAe/AmguSn9JTUja0vqBWn1FS8sSnp7Q==", "dev": true, "requires": { "regenerator-transform": "^0.13.3" } }, "@babel/plugin-transform-runtime": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.0.0-beta.53.tgz", - "integrity": "sha1-TefM/ewGl98PcKRqaCKTcUnI4rU=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.0.0-beta.56.tgz", + "integrity": "sha512-bzIp/hDJwvN0hiVMlkiwC43N74R49nO+syW2wql8L48Md2z9nfsS0zw3T96oCDBUgGXzOX8uKq9DUKZS9YktTA==", "dev": true, "requires": { - "@babel/helper-module-imports": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-module-imports": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-shorthand-properties": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.0.0-beta.53.tgz", - "integrity": "sha1-38SIG2vXZYoAMew7gWPliPCJjUs=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.0.0-beta.56.tgz", + "integrity": "sha512-qfN9LTjglikI4N2K/WkZAJQijWQpsQefsC/sXEN6c4/G9n5ZJFyXt23aXXcjibncKbcTrRpmH0nTeMiZK0A+5A==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-spread": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.0.0-beta.53.tgz", - "integrity": "sha1-g+j2Rsok8cmCKPnxREz2DL1JOLw=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.0.0-beta.56.tgz", + "integrity": "sha512-C0EUKGVSU5ttbRe+ATn54oR2jdGzGIA8Uo/0jwtMeTU+6lewpTX8nu+M36JZDIcq2sSu7zxfLiRkErb/PX/Q0g==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-sticky-regex": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.0.0-beta.53.tgz", - "integrity": "sha1-D888mUq92Lq1m6l4L+TZ+KVF1uc=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.0.0-beta.56.tgz", + "integrity": "sha512-VGPxbfefemuJg6/UVXf8WaaU9gIZRr31aLBsjDdYfj41N3W55LSvU+6CxCZ/ID6SfNCcQUEyBtZsWMWvv38Dhw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/helper-regex": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/helper-regex": "7.0.0-beta.56" } }, "@babel/plugin-transform-template-literals": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.0.0-beta.53.tgz", - "integrity": "sha1-+msLQXEA0j4tsUwd9HorGzl48dk=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.0.0-beta.56.tgz", + "integrity": "sha512-VMK/94Mlz24KFg0wc4Y4fAM6FNnx0wnr4A36rMdU54SYM3AEYzQcXtbI4uOCUSGdTOKR5zOiwhNnZFRodi29iA==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-annotate-as-pure": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-typeof-symbol": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.0.0-beta.53.tgz", - "integrity": "sha1-ZarocamqQPYRSDZlcxIJrr1cKis=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.0.0-beta.56.tgz", + "integrity": "sha512-BnKyH+AUvnVHyl+1Kt40jfr6+0/DUED9huSdirp1DrKwmjlcu4FliGDNcSSKBfawV4covKT7MBjWpE6s+XNk1g==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53" + "@babel/helper-plugin-utils": "7.0.0-beta.56" } }, "@babel/plugin-transform-unicode-regex": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0-beta.53.tgz", - "integrity": "sha1-CvdOyAGefVnji+ZNt/YikZQv7SU=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0-beta.56.tgz", + "integrity": "sha512-31lEbd5voBJR8ufUuOaRu/r2dxj53S/fs+VNgPqCqvOw7Ql8AuuinYvJjxbzpZ5GqAWLPX1MKBgJ+gsjomXb6g==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/helper-regex": "7.0.0-beta.53", + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/helper-regex": "7.0.0-beta.56", "regexpu-core": "^4.1.3" } }, "@babel/preset-env": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.0.0-beta.53.tgz", - "integrity": "sha1-KyBL9CZ14WbdpaJ1bEHrvyKbs34=", - "dev": true, - "requires": { - "@babel/helper-module-imports": "7.0.0-beta.53", - "@babel/helper-plugin-utils": "7.0.0-beta.53", - "@babel/plugin-proposal-async-generator-functions": "7.0.0-beta.53", - "@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.53", - "@babel/plugin-proposal-optional-catch-binding": "7.0.0-beta.53", - "@babel/plugin-proposal-unicode-property-regex": "7.0.0-beta.53", - "@babel/plugin-syntax-async-generators": "7.0.0-beta.53", - "@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.53", - "@babel/plugin-syntax-optional-catch-binding": "7.0.0-beta.53", - "@babel/plugin-transform-arrow-functions": "7.0.0-beta.53", - "@babel/plugin-transform-async-to-generator": "7.0.0-beta.53", - "@babel/plugin-transform-block-scoped-functions": "7.0.0-beta.53", - "@babel/plugin-transform-block-scoping": "7.0.0-beta.53", - "@babel/plugin-transform-classes": "7.0.0-beta.53", - "@babel/plugin-transform-computed-properties": "7.0.0-beta.53", - "@babel/plugin-transform-destructuring": "7.0.0-beta.53", - "@babel/plugin-transform-dotall-regex": "7.0.0-beta.53", - "@babel/plugin-transform-duplicate-keys": "7.0.0-beta.53", - "@babel/plugin-transform-exponentiation-operator": "7.0.0-beta.53", - "@babel/plugin-transform-for-of": "7.0.0-beta.53", - "@babel/plugin-transform-function-name": "7.0.0-beta.53", - "@babel/plugin-transform-literals": "7.0.0-beta.53", - "@babel/plugin-transform-modules-amd": "7.0.0-beta.53", - "@babel/plugin-transform-modules-commonjs": "7.0.0-beta.53", - "@babel/plugin-transform-modules-systemjs": "7.0.0-beta.53", - "@babel/plugin-transform-modules-umd": "7.0.0-beta.53", - "@babel/plugin-transform-new-target": "7.0.0-beta.53", - "@babel/plugin-transform-object-super": "7.0.0-beta.53", - "@babel/plugin-transform-parameters": "7.0.0-beta.53", - "@babel/plugin-transform-regenerator": "7.0.0-beta.53", - "@babel/plugin-transform-shorthand-properties": "7.0.0-beta.53", - "@babel/plugin-transform-spread": "7.0.0-beta.53", - "@babel/plugin-transform-sticky-regex": "7.0.0-beta.53", - "@babel/plugin-transform-template-literals": "7.0.0-beta.53", - "@babel/plugin-transform-typeof-symbol": "7.0.0-beta.53", - "@babel/plugin-transform-unicode-regex": "7.0.0-beta.53", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.0.0-beta.56.tgz", + "integrity": "sha512-kFjCCUuMr0Y0N1je1QtOd37WXCU3cEnAqjm4GRlbgWlBPcj7A7ZQ40jMfrPeqVUJBbFiqi/UbOK5iLP/K8wdsA==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "7.0.0-beta.56", + "@babel/helper-plugin-utils": "7.0.0-beta.56", + "@babel/plugin-proposal-async-generator-functions": "7.0.0-beta.56", + "@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.56", + "@babel/plugin-proposal-optional-catch-binding": "7.0.0-beta.56", + "@babel/plugin-proposal-unicode-property-regex": "7.0.0-beta.56", + "@babel/plugin-syntax-async-generators": "7.0.0-beta.56", + "@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.56", + "@babel/plugin-syntax-optional-catch-binding": "7.0.0-beta.56", + "@babel/plugin-transform-arrow-functions": "7.0.0-beta.56", + "@babel/plugin-transform-async-to-generator": "7.0.0-beta.56", + "@babel/plugin-transform-block-scoped-functions": "7.0.0-beta.56", + "@babel/plugin-transform-block-scoping": "7.0.0-beta.56", + "@babel/plugin-transform-classes": "7.0.0-beta.56", + "@babel/plugin-transform-computed-properties": "7.0.0-beta.56", + "@babel/plugin-transform-destructuring": "7.0.0-beta.56", + "@babel/plugin-transform-dotall-regex": "7.0.0-beta.56", + "@babel/plugin-transform-duplicate-keys": "7.0.0-beta.56", + "@babel/plugin-transform-exponentiation-operator": "7.0.0-beta.56", + "@babel/plugin-transform-for-of": "7.0.0-beta.56", + "@babel/plugin-transform-function-name": "7.0.0-beta.56", + "@babel/plugin-transform-literals": "7.0.0-beta.56", + "@babel/plugin-transform-modules-amd": "7.0.0-beta.56", + "@babel/plugin-transform-modules-commonjs": "7.0.0-beta.56", + "@babel/plugin-transform-modules-systemjs": "7.0.0-beta.56", + "@babel/plugin-transform-modules-umd": "7.0.0-beta.56", + "@babel/plugin-transform-new-target": "7.0.0-beta.56", + "@babel/plugin-transform-object-super": "7.0.0-beta.56", + "@babel/plugin-transform-parameters": "7.0.0-beta.56", + "@babel/plugin-transform-regenerator": "7.0.0-beta.56", + "@babel/plugin-transform-shorthand-properties": "7.0.0-beta.56", + "@babel/plugin-transform-spread": "7.0.0-beta.56", + "@babel/plugin-transform-sticky-regex": "7.0.0-beta.56", + "@babel/plugin-transform-template-literals": "7.0.0-beta.56", + "@babel/plugin-transform-typeof-symbol": "7.0.0-beta.56", + "@babel/plugin-transform-unicode-regex": "7.0.0-beta.56", "browserslist": "^3.0.0", "invariant": "^2.2.2", "js-levenshtein": "^1.1.3", "semver": "^5.3.0" } }, - "@babel/runtime": { - "version": "7.0.0-beta.53", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.0.0-beta.53.tgz", - "integrity": "sha1-nfIq40gjzon3kAYFlLg+5XLixdI=", + "@babel/runtime-corejs2": { + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs2/-/runtime-corejs2-7.0.0-beta.56.tgz", + "integrity": "sha512-LE2R7zTLAgaM54y/XdyAMzHERY1lv1cyQll3IvgN2VrTVxdlUBO7t/cHpc5iwqqHI85/VRNfGtQZdO2PecCIqg==", "requires": { "core-js": "^2.5.7", "regenerator-runtime": "^0.12.0" } }, "@babel/template": { - "version": "7.0.0-beta.52", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.52.tgz", - "integrity": "sha1-ROGPrDglH1f5JRHWdI8JWrAvmW4=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.56.tgz", + "integrity": "sha512-rsR9K18h0oiJTUmS/ICYREbV8qhPTic4SIqDSkzv9xOxupt7dKj8hWmZQLGPySO5x6cdn8py039o1wPQnsEGHg==", "dev": true, "requires": { - "@babel/code-frame": "7.0.0-beta.52", - "@babel/parser": "7.0.0-beta.52", - "@babel/types": "7.0.0-beta.52", - "lodash": "^4.17.5" + "@babel/code-frame": "7.0.0-beta.56", + "@babel/parser": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56", + "lodash": "^4.17.10" } }, "@babel/traverse": { - "version": "7.0.0-beta.52", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.52.tgz", - "integrity": "sha1-m4uplPcmTZhHhYrS/uzCc4xeLvM=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.56.tgz", + "integrity": "sha512-9WTqtKP2Ll+jG68r+JEecXAbdH/kk5inN1VDSDaTgdYtZ82BYUS9XRWMVpc5HB9LJsu2ZEyUA1cGybID7eeOXA==", "dev": true, "requires": { - "@babel/code-frame": "7.0.0-beta.52", - "@babel/generator": "7.0.0-beta.52", - "@babel/helper-function-name": "7.0.0-beta.52", - "@babel/helper-split-export-declaration": "7.0.0-beta.52", - "@babel/parser": "7.0.0-beta.52", - "@babel/types": "7.0.0-beta.52", + "@babel/code-frame": "7.0.0-beta.56", + "@babel/generator": "7.0.0-beta.56", + "@babel/helper-function-name": "7.0.0-beta.56", + "@babel/helper-split-export-declaration": "7.0.0-beta.56", + "@babel/parser": "7.0.0-beta.56", + "@babel/types": "7.0.0-beta.56", "debug": "^3.1.0", "globals": "^11.1.0", - "invariant": "^2.2.0", - "lodash": "^4.17.5" + "lodash": "^4.17.10" } }, "@babel/types": { - "version": "7.0.0-beta.52", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.52.tgz", - "integrity": "sha1-o+ViCxU0slOlCrzyIitSDiOxbaI=", + "version": "7.0.0-beta.56", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.56.tgz", + "integrity": "sha512-fRIBeHtKxAD3D1E7hYSpG4MnLt0AfzHHs5gfVclOB0NlfLu3qiWU/IqdbK2ixTK61424iEkV1P/VAzndx6ungA==", "dev": true, "requires": { "esutils": "^2.0.2", - "lodash": "^4.17.5", + "lodash": "^4.17.10", "to-fast-properties": "^2.0.0" } }, @@ -3003,14 +1940,14 @@ "@wordpress/a11y": { "version": "file:packages/a11y", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/dom-ready": "file:packages/dom-ready" } }, "@wordpress/api-fetch": { "version": "file:packages/api-fetch", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/hooks": "file:packages/hooks", "@wordpress/i18n": "file:packages/i18n" } @@ -3018,21 +1955,21 @@ "@wordpress/autop": { "version": "file:packages/autop", "requires": { - "@babel/runtime": "^7.0.0-beta.52" + "@babel/runtime-corejs2": "7.0.0-beta.56" } }, "@wordpress/babel-plugin-import-jsx-pragma": { "version": "file:packages/babel-plugin-import-jsx-pragma", "dev": true, "requires": { - "@babel/runtime": "^7.0.0-beta.52" + "@babel/runtime-corejs2": "7.0.0-beta.56" } }, "@wordpress/babel-plugin-makepot": { "version": "file:packages/babel-plugin-makepot", "dev": true, "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "gettext-parser": "^1.3.1", "lodash": "^4.17.10" } @@ -3041,12 +1978,12 @@ "version": "file:packages/babel-preset-default", "dev": true, "requires": { - "@babel/plugin-proposal-async-generator-functions": "^7.0.0-beta.52", - "@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.52", - "@babel/plugin-transform-react-jsx": "^7.0.0-beta.52", - "@babel/plugin-transform-runtime": "^7.0.0-beta.52", - "@babel/preset-env": "^7.0.0-beta.52", - "@babel/runtime": "^7.0.0-beta.52", + "@babel/plugin-proposal-async-generator-functions": "7.0.0-beta.56", + "@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.56", + "@babel/plugin-transform-react-jsx": "7.0.0-beta.56", + "@babel/plugin-transform-runtime": "7.0.0-beta.56", + "@babel/preset-env": "7.0.0-beta.56", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/browserslist-config": "file:packages/browserslist-config", "babel-core": "^7.0.0-bridge.0" } @@ -3054,7 +1991,7 @@ "@wordpress/blob": { "version": "file:packages/blob", "requires": { - "@babel/runtime": "^7.0.0-beta.52" + "@babel/runtime-corejs2": "7.0.0-beta.56" } }, "@wordpress/block-serialization-spec-parser": { @@ -3063,7 +2000,7 @@ "@wordpress/blocks": { "version": "file:packages/blocks", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/autop": "file:packages/autop", "@wordpress/blob": "file:packages/blob", "@wordpress/block-serialization-spec-parser": "file:packages/block-serialization-spec-parser", @@ -3092,7 +2029,7 @@ "@wordpress/components": { "version": "file:packages/components", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/a11y": "file:packages/a11y", "@wordpress/api-fetch": "file:packages/api-fetch", "@wordpress/compose": "file:packages/compose", @@ -3386,7 +2323,7 @@ "@wordpress/compose": { "version": "file:packages/compose", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/element": "file:packages/element", "@wordpress/is-shallow-equal": "file:packages/is-shallow-equal", "lodash": "^4.17.10" @@ -3395,7 +2332,7 @@ "@wordpress/core-data": { "version": "file:packages/core-data", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/api-fetch": "file:packages/api-fetch", "@wordpress/data": "file:packages/data", "@wordpress/url": "file:packages/url", @@ -3408,14 +2345,14 @@ "version": "file:packages/custom-templated-path-webpack-plugin", "dev": true, "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "escape-string-regexp": "^1.0.5" } }, "@wordpress/data": { "version": "file:packages/data", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/compose": "file:packages/compose", "@wordpress/deprecated": "file:packages/deprecated", "@wordpress/element": "file:packages/element", @@ -3435,7 +2372,7 @@ "@wordpress/date": { "version": "file:packages/date", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "moment": "^2.22.1", "moment-timezone": "^0.5.16" } @@ -3443,13 +2380,13 @@ "@wordpress/deprecated": { "version": "file:packages/deprecated", "requires": { - "@babel/runtime": "^7.0.0-beta.52" + "@babel/runtime-corejs2": "7.0.0-beta.56" } }, "@wordpress/dom": { "version": "file:packages/dom", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "element-closest": "^2.0.2", "lodash": "^4.17.10" } @@ -3457,13 +2394,13 @@ "@wordpress/dom-ready": { "version": "file:packages/dom-ready", "requires": { - "@babel/runtime": "^7.0.0-beta.52" + "@babel/runtime-corejs2": "7.0.0-beta.56" } }, "@wordpress/editor": { "version": "file:packages/editor", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/a11y": "file:packages/a11y", "@wordpress/api-fetch": "file:packages/api-fetch", "@wordpress/blob": "file:packages/blob", @@ -3486,7 +2423,6 @@ "@wordpress/viewport": "file:packages/viewport", "@wordpress/wordcount": "file:packages/wordcount", "classnames": "^2.2.5", - "dom-react": "^2.2.1", "dom-scroll-into-view": "^1.2.1", "element-closest": "^2.0.2", "lodash": "^4.17.10", @@ -3504,9 +2440,7 @@ "@wordpress/element": { "version": "file:packages/element", "requires": { - "@babel/runtime": "^7.0.0-beta.52", - "@wordpress/deprecated": "file:packages/deprecated", - "@wordpress/is-shallow-equal": "file:packages/is-shallow-equal", + "@babel/runtime-corejs2": "7.0.0-beta.56", "lodash": "^4.17.10", "react": "^16.4.1", "react-dom": "^16.4.1" @@ -3525,19 +2459,19 @@ "@wordpress/hooks": { "version": "file:packages/hooks", "requires": { - "@babel/runtime": "^7.0.0-beta.52" + "@babel/runtime-corejs2": "7.0.0-beta.56" } }, "@wordpress/html-entities": { "version": "file:packages/html-entities", "requires": { - "@babel/runtime": "^7.0.0-beta.52" + "@babel/runtime-corejs2": "7.0.0-beta.56" } }, "@wordpress/i18n": { "version": "file:packages/i18n", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "gettext-parser": "^1.3.1", "jed": "^1.1.1", "lodash": "^4.17.10", @@ -3547,14 +2481,14 @@ "@wordpress/is-shallow-equal": { "version": "file:packages/is-shallow-equal", "requires": { - "@babel/runtime": "^7.0.0-beta.52" + "@babel/runtime-corejs2": "7.0.0-beta.56" } }, "@wordpress/jest-console": { "version": "file:packages/jest-console", "dev": true, "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "jest-matcher-utils": "^22.4.3", "lodash": "^4.17.10" } @@ -3564,7 +2498,7 @@ "dev": true, "requires": { "@wordpress/jest-console": "file:packages/jest-console", - "babel-jest": "^23.2.0", + "babel-jest": "^23.4.2", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", "jest-enzyme": "^6.0.2" @@ -3573,7 +2507,7 @@ "@wordpress/keycodes": { "version": "file:packages/keycodes", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "lodash": "^4.17.10" } }, @@ -3581,7 +2515,7 @@ "version": "file:packages/library-export-default-webpack-plugin", "dev": true, "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "lodash": "^4.17.10", "webpack-sources": "^1.1.0" } @@ -3593,7 +2527,7 @@ "@wordpress/nux": { "version": "file:packages/nux", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/components": "file:packages/components", "@wordpress/compose": "file:packages/compose", "@wordpress/data": "file:packages/data", @@ -3606,7 +2540,7 @@ "@wordpress/plugins": { "version": "file:packages/plugins", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/compose": "file:packages/compose", "@wordpress/element": "file:packages/element", "@wordpress/hooks": "file:packages/hooks", @@ -3617,12 +2551,15 @@ "version": "file:packages/postcss-themes", "dev": true, "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "postcss": "^6.0.16" } }, "@wordpress/redux-routine": { "version": "file:packages/redux-routine", + "requires": { + "@babel/runtime-corejs2": "7.0.0-beta.56" + }, "dependencies": { "js-tokens": { "version": "4.0.0", @@ -3657,7 +2594,7 @@ "@wordpress/jest-preset-default": "file:packages/jest-preset-default", "@wordpress/npm-package-json-lint-config": "file:packages/npm-package-json-lint-config", "cross-spawn": "^5.1.0", - "jest": "^23.3.0", + "jest": "^23.4.2", "npm-package-json-lint": "^3.3.0", "read-pkg-up": "^1.0.1", "resolve-bin": "^0.4.0" @@ -3666,21 +2603,21 @@ "@wordpress/shortcode": { "version": "file:packages/shortcode", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "lodash": "^4.17.10" } }, "@wordpress/url": { "version": "file:packages/url", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "qs": "^6.5.2s" } }, "@wordpress/viewport": { "version": "file:packages/viewport", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/compose": "file:packages/compose", "@wordpress/data": "file:packages/data", "@wordpress/element": "file:packages/element", @@ -3690,7 +2627,7 @@ "@wordpress/wordcount": { "version": "file:packages/wordcount", "requires": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "lodash": "^4.17.10" } }, @@ -3970,6 +2907,12 @@ "es-abstract": "^1.7.0" } }, + "array-iterate": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/array-iterate/-/array-iterate-1.1.2.tgz", + "integrity": "sha512-1hWSHTIlG/8wtYD+PPX5AOBtKWngpDFjrsrHgZpe+JdgNGz0udYu6ZIkAa/xuenIUEqFv7DvE2Yr60jxweJSrQ==", + "dev": true + }, "array-union": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", @@ -4507,9 +3450,9 @@ } }, "babel-jest": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-23.4.0.tgz", - "integrity": "sha1-IsNMOS4hdvakw2eZKn/P9p0uhVc=", + "version": "23.4.2", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-23.4.2.tgz", + "integrity": "sha512-wg1LJ2tzsafXqPFVgAsYsMCVD5U7kwJZAvbZIxVm27iOewsQw1BR7VZifDlMTEWVo3wasoPPyMdKXWCsfFPr3Q==", "dev": true, "requires": { "babel-plugin-istanbul": "^4.1.6", @@ -5251,6 +4194,12 @@ "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", "dev": true }, + "bail": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.3.tgz", + "integrity": "sha512-1X8CnjFVQ+a+KW36uBNMTU5s8+v5FzeqrP7hTG5aTb4aPreSbZJlhwPon9VKMuEVgV++JM+SQrALY3kr7eswdg==", + "dev": true + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", @@ -5791,6 +4740,12 @@ "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", "dev": true }, + "ccount": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.0.3.tgz", + "integrity": "sha512-Jt9tIBkRc9POUof7QA/VwWd+58fKkEEfI+/t1/eOlxKM7ZhrczNzMFefge7Ai+39y1pR/pP6cI19guHy3FSLmw==", + "dev": true + }, "center-align": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", @@ -5813,6 +4768,30 @@ "supports-color": "^5.3.0" } }, + "character-entities": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.2.tgz", + "integrity": "sha512-sMoHX6/nBiy3KKfC78dnEalnpn0Az0oSNvqUWYTtYrhRI5iUIYsROU48G+E+kMFQzqXaJ8kHJZ85n7y6/PHgwQ==", + "dev": true + }, + "character-entities-html4": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-1.1.2.tgz", + "integrity": "sha512-sIrXwyna2+5b0eB9W149izTPJk/KkJTg6mEzDGibwBUkyH1SbDa+nf515Ppdi3MaH35lW0JFJDWeq9Luzes1Iw==", + "dev": true + }, + "character-entities-legacy": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.2.tgz", + "integrity": "sha512-9NB2VbXtXYWdXzqrvAHykE/f0QJxzaKIpZ5QzNZrrgQ7Iyxr2vnfS8fCBNVW9nUEZE0lo57nxKRqnzY/dKrwlA==", + "dev": true + }, + "character-reference-invalid": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.2.tgz", + "integrity": "sha512-7I/xceXfKyUJmSAn/jw8ve/9DyOP7XxufNYLI9Px7CmsKgEUaZLUTax6nZxGQtaoiZCjpu6cHPj20xC/vqRReQ==", + "dev": true + }, "chardet": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", @@ -6180,6 +5159,16 @@ } } }, + "clone-regexp": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-1.0.1.tgz", + "integrity": "sha512-Fcij9IwRW27XedRIJnSOEupS7RVcXtObJXbcUOX93UCLqqOdRpkvzKywOOSizmEK/Is3S/RHX9dLdfo6R1Q1mw==", + "dev": true, + "requires": { + "is-regexp": "^1.0.0", + "is-supported-regexp-flag": "^1.0.0" + } + }, "clone-response": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", @@ -6247,6 +5236,12 @@ "urlgrey": "0.4.4" } }, + "collapse-white-space": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.4.tgz", + "integrity": "sha512-YfQ1tAUZm561vpYD+5eyWN8+UsceQbSrqqlc/6zDY2gtAE+uZLSdkkovhnGpmCThsvKBFakq4EdY/FF93E8XIw==", + "dev": true + }, "collection-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", @@ -7657,11 +6652,6 @@ "esutils": "^2.0.2" } }, - "dom-react": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/dom-react/-/dom-react-2.2.1.tgz", - "integrity": "sha512-kqvoG+Q5oiJMQzQi245ZVA/X2Py2lBCebGcQzQeR51jOJqVghWBodKoJcitX8VRV+e6ku+9hRS+Bev/zmlSPsg==" - }, "dom-scroll-into-view": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/dom-scroll-into-view/-/dom-scroll-into-view-1.2.1.tgz", @@ -8306,6 +7296,15 @@ "strip-eof": "^1.0.0" } }, + "execall": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execall/-/execall-1.0.0.tgz", + "integrity": "sha1-c9CQTjlbPKsGWLCNCewlMH8pu3M=", + "dev": true, + "requires": { + "clone-regexp": "^1.0.0" + } + }, "exit": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", @@ -10187,6 +9186,12 @@ "pinkie-promise": "^2.0.0" } }, + "globjoin": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz", + "integrity": "sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM=", + "dev": true + }, "globule": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/globule/-/globule-1.2.1.tgz", @@ -10198,6 +9203,23 @@ "minimatch": "~3.0.2" } }, + "gonzales-pe": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/gonzales-pe/-/gonzales-pe-4.2.3.tgz", + "integrity": "sha512-Kjhohco0esHQnOiqqdJeNz/5fyPkOMD/d6XVjwTAoPGUFh0mCollPUTUTa2OZy4dYNAqlPIQdTiNzJTWdd9Htw==", + "dev": true, + "requires": { + "minimist": "1.1.x" + }, + "dependencies": { + "minimist": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.1.3.tgz", + "integrity": "sha1-O+39kaktOQFvz6ocaB6Pqhoe/ag=", + "dev": true + } + } + }, "good-listener": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz", @@ -10505,6 +9527,12 @@ "whatwg-encoding": "^1.0.1" } }, + "html-tags": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-2.0.0.tgz", + "integrity": "sha1-ELMKOGCF9Dzt41PMj6fLDe7qZos=", + "dev": true + }, "htmlparser2": { "version": "3.9.2", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.9.2.tgz", @@ -10602,6 +9630,12 @@ "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==" }, + "import-lazy": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-3.1.0.tgz", + "integrity": "sha512-8/gvXvX2JMn0F+CDlSC4l6kOmVaLOO3XLkksI7CI3Ud95KDYJuYur2b9P/PUt/i/pDAMd/DulQsNbbbmRRsDIQ==", + "dev": true + }, "import-local": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-1.0.0.tgz", @@ -10763,6 +9797,28 @@ } } }, + "is-alphabetical": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.2.tgz", + "integrity": "sha512-V0xN4BYezDHcBSKb1QHUFMlR4as/XEuCZBzMJUU4n7+Cbt33SmUnSol+pnXFvLxSHNq2CemUXNdaXV6Flg7+xg==", + "dev": true + }, + "is-alphanumeric": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-alphanumeric/-/is-alphanumeric-1.0.0.tgz", + "integrity": "sha1-Spzvcdr0wAHB2B1j0UDPU/1oifQ=", + "dev": true + }, + "is-alphanumerical": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.2.tgz", + "integrity": "sha512-pyfU/0kHdISIgslFfZN9nfY1Gk3MquQgUm1mJTjdkEPpkAKNWuBTSqFwewOpR7N351VkErCiyV71zX7mlQQqsg==", + "dev": true, + "requires": { + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0" + } + }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -10854,6 +9910,12 @@ "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", "dev": true }, + "is-decimal": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.2.tgz", + "integrity": "sha512-TRzl7mOCchnhchN+f3ICUCzYvL9ul7R+TYOsZ8xia++knyZAJfv/uA1FvQXsAnYIl1T3B2X5E/J7Wb1QXiIBXg==", + "dev": true + }, "is-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", @@ -10935,6 +9997,12 @@ "is-extglob": "^1.0.0" } }, + "is-hexadecimal": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.2.tgz", + "integrity": "sha512-but/G3sapV3MNyqiDBLrOi4x8uCIw0RY3o/Vb5GT0sMFHrVV7731wFSVy41T5FO1og7G0gXLJh0MkgPRouko/A==", + "dev": true + }, "is-number": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", @@ -11117,6 +10185,12 @@ "integrity": "sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY=", "dev": true }, + "is-supported-regexp-flag": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.1.tgz", + "integrity": "sha512-3vcJecUUrpgCqc/ca0aWeNu64UGgxcvO60K/Fkr1N6RSvfGCTU60UKN68JDmKokgba0rFFJs12EnzOQa14ubKQ==", + "dev": true + }, "is-svg": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-3.0.0.tgz", @@ -11153,12 +10227,24 @@ "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", "dev": true }, + "is-whitespace-character": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-whitespace-character/-/is-whitespace-character-1.0.2.tgz", + "integrity": "sha512-SzM+T5GKUCtLhlHFKt2SDAX2RFzfS6joT91F2/WSi9LxgFdsnhfPK/UIA+JhRR2xuyLdrCys2PiFDrtn1fU5hQ==", + "dev": true + }, "is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true }, + "is-word-character": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-word-character/-/is-word-character-1.0.2.tgz", + "integrity": "sha512-T3FlsX8rCHAH8e7RE7PfOPZVFQlcV3XRF9eOOBQ1uf70OxO7CjjSOjeImMPCADBdYWcStAbVbYvJ1m2D3tb+EA==", + "dev": true + }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -11324,13 +10410,13 @@ "integrity": "sha1-elSbvZ/+FYWwzQoZHiAwVb7ldLQ=" }, "jest": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-23.4.0.tgz", - "integrity": "sha1-685j9lKcJ8ZG2AxhCGbwMG9m3L8=", + "version": "23.4.2", + "resolved": "https://registry.npmjs.org/jest/-/jest-23.4.2.tgz", + "integrity": "sha512-w10HGpVFWT1oN8B2coxeiMEsZoggkDaw3i26xHGLU+rsR+LYkBk8qpZCgi+1cD1S6ttPjZDL8E8M99lmNhgTeA==", "dev": true, "requires": { "import-local": "^1.0.0", - "jest-cli": "^23.4.0" + "jest-cli": "^23.4.2" }, "dependencies": { "arr-diff": { @@ -11378,9 +10464,9 @@ } }, "jest-cli": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-23.4.0.tgz", - "integrity": "sha1-0f3R28Qdaa6L1D0AcM4jmI6s2G8=", + "version": "23.4.2", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-23.4.2.tgz", + "integrity": "sha512-vaDzy0wRWrgSfz4ZImCqD2gtZqCSoEWp60y3USvGDxA2b4K0rGj2voru6a5scJFjDx5GCiNWKpz2E8IdWDVjdw==", "dev": true, "requires": { "ansi-escapes": "^3.0.0", @@ -11394,17 +10480,17 @@ "istanbul-lib-coverage": "^1.2.0", "istanbul-lib-instrument": "^1.10.1", "istanbul-lib-source-maps": "^1.2.4", - "jest-changed-files": "^23.4.0", - "jest-config": "^23.4.0", + "jest-changed-files": "^23.4.2", + "jest-config": "^23.4.2", "jest-environment-jsdom": "^23.4.0", "jest-get-type": "^22.1.0", - "jest-haste-map": "^23.4.0", + "jest-haste-map": "^23.4.1", "jest-message-util": "^23.4.0", "jest-regex-util": "^23.3.0", - "jest-resolve-dependencies": "^23.4.0", - "jest-runner": "^23.4.0", - "jest-runtime": "^23.4.0", - "jest-snapshot": "^23.4.0", + "jest-resolve-dependencies": "^23.4.2", + "jest-runner": "^23.4.2", + "jest-runtime": "^23.4.2", + "jest-snapshot": "^23.4.2", "jest-util": "^23.4.0", "jest-validate": "^23.4.0", "jest-watcher": "^23.4.0", @@ -11535,30 +10621,30 @@ } }, "jest-changed-files": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-23.4.0.tgz", - "integrity": "sha1-8bME+YwjWvXZox7FJCYsXk3jxv8=", + "version": "23.4.2", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-23.4.2.tgz", + "integrity": "sha512-EyNhTAUWEfwnK0Is/09LxoqNDOn7mU7S3EHskG52djOFS/z+IT0jT3h3Ql61+dklcG7bJJitIWEMB4Sp1piHmA==", "dev": true, "requires": { "throat": "^4.0.0" } }, "jest-config": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-23.4.0.tgz", - "integrity": "sha1-ecz41oqg5I+eO+uBuDqlh1xj+j8=", + "version": "23.4.2", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-23.4.2.tgz", + "integrity": "sha512-CDJGO4H+7P+T6khaSHEjTxqVaIlmQMEFAyJFOVrAQeM+Xn12iZ+YY8Pluk1RDxi8Jqj9DoE09PHQzASCGePGtg==", "dev": true, "requires": { "babel-core": "^6.0.0", - "babel-jest": "^23.4.0", + "babel-jest": "^23.4.2", "chalk": "^2.0.1", "glob": "^7.1.1", "jest-environment-jsdom": "^23.4.0", "jest-environment-node": "^23.4.0", "jest-get-type": "^22.1.0", - "jest-jasmine2": "^23.4.0", + "jest-jasmine2": "^23.4.2", "jest-regex-util": "^23.3.0", - "jest-resolve": "^23.4.0", + "jest-resolve": "^23.4.1", "jest-util": "^23.4.0", "jest-validate": "^23.4.0", "pretty-format": "^23.2.0" @@ -11606,6 +10692,16 @@ "source-map": "^0.5.7" } }, + "babel-jest": { + "version": "23.4.2", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-23.4.2.tgz", + "integrity": "sha512-wg1LJ2tzsafXqPFVgAsYsMCVD5U7kwJZAvbZIxVm27iOewsQw1BR7VZifDlMTEWVo3wasoPPyMdKXWCsfFPr3Q==", + "dev": true, + "requires": { + "babel-plugin-istanbul": "^4.1.6", + "babel-preset-jest": "^23.2.0" + } + }, "braces": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", @@ -11960,9 +11056,9 @@ "dev": true }, "jest-haste-map": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-23.4.0.tgz", - "integrity": "sha1-8qDqpBr3Zs1RAebCkf3GQ1yT7hw=", + "version": "23.4.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-23.4.1.tgz", + "integrity": "sha512-PGQxOEGAfRbTyJkmZeOKkVSs+KVeWgG625p89KUuq+sIIchY5P8iPIIc+Hw2tJJPBzahU3qopw1kF/qyhDdNBw==", "dev": true, "requires": { "fb-watchman": "^2.0.0", @@ -12051,11 +11147,12 @@ } }, "jest-jasmine2": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-23.4.0.tgz", - "integrity": "sha1-F85Tn+YI74mNaYZRgUSs8nC+yo8=", + "version": "23.4.2", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-23.4.2.tgz", + "integrity": "sha512-MUoqn41XHMQe5u8QvRTH2HahpBNzImnnjS3pV/T7LvrCM6f2zfGdi1Pm+bRbFMLJROqR8VlK8HmsenL2WjrUIQ==", "dev": true, "requires": { + "babel-traverse": "^6.0.0", "chalk": "^2.0.1", "co": "^4.6.0", "expect": "^23.4.0", @@ -12064,7 +11161,7 @@ "jest-each": "^23.4.0", "jest-matcher-utils": "^23.2.0", "jest-message-util": "^23.4.0", - "jest-snapshot": "^23.4.0", + "jest-snapshot": "^23.4.2", "jest-util": "^23.4.0", "pretty-format": "^23.2.0" }, @@ -12335,9 +11432,9 @@ "dev": true }, "jest-resolve": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-23.4.0.tgz", - "integrity": "sha1-tAYdvNY5G15EXV/YTJ2tX/H/VmI=", + "version": "23.4.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-23.4.1.tgz", + "integrity": "sha512-VNk4YRNR5gsHhNS0Lp46/DzTT11e+ecbUC61ikE593cKbtdrhrMO+zXkOJaE8YDD5sHxH9W6OfssNn4FkZBzZQ==", "dev": true, "requires": { "browser-resolve": "^1.11.3", @@ -12346,30 +11443,30 @@ } }, "jest-resolve-dependencies": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-23.4.0.tgz", - "integrity": "sha1-5z785wJipuK/UmPQsjAJoJhnhiA=", + "version": "23.4.2", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-23.4.2.tgz", + "integrity": "sha512-JUrU1/1mQAf0eKwKT4+RRnaqcw0UcRzRE38vyO+YnqoXUVidf646iuaKE+NG7E6Gb0+EVPOJ6TgqkaTPdQz78A==", "dev": true, "requires": { "jest-regex-util": "^23.3.0", - "jest-snapshot": "^23.4.0" + "jest-snapshot": "^23.4.2" } }, "jest-runner": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-23.4.0.tgz", - "integrity": "sha1-GFmyEaJk6lpDt6MCLhGZBnxN/lc=", + "version": "23.4.2", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-23.4.2.tgz", + "integrity": "sha512-o+aEdDE7/Gyp8fLYEEf5B8aOUguz76AYcAMl5pueucey2Q50O8uUIXJ7zvt8O6OEJDztR3Kb+osMoh8MVIqgTw==", "dev": true, "requires": { "exit": "^0.1.2", "graceful-fs": "^4.1.11", - "jest-config": "^23.4.0", + "jest-config": "^23.4.2", "jest-docblock": "^23.2.0", - "jest-haste-map": "^23.4.0", - "jest-jasmine2": "^23.4.0", + "jest-haste-map": "^23.4.1", + "jest-jasmine2": "^23.4.2", "jest-leak-detector": "^23.2.0", "jest-message-util": "^23.4.0", - "jest-runtime": "^23.4.0", + "jest-runtime": "^23.4.2", "jest-util": "^23.4.0", "jest-worker": "^23.2.0", "source-map-support": "^0.5.6", @@ -12498,9 +11595,9 @@ } }, "jest-runtime": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-23.4.0.tgz", - "integrity": "sha1-ww72Gd71h7k7rUpJONqazLmTa00=", + "version": "23.4.2", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-23.4.2.tgz", + "integrity": "sha512-qaUDOi7tcdDe3MH5g5ycEslTpx0voPZvzIYbKjvWxCzCL2JEemLM+7IEe0BeLi2v5wvb/uh3dkb2wQI67uPtCw==", "dev": true, "requires": { "babel-core": "^6.0.0", @@ -12510,12 +11607,12 @@ "exit": "^0.1.2", "fast-json-stable-stringify": "^2.0.0", "graceful-fs": "^4.1.11", - "jest-config": "^23.4.0", - "jest-haste-map": "^23.4.0", + "jest-config": "^23.4.2", + "jest-haste-map": "^23.4.1", "jest-message-util": "^23.4.0", "jest-regex-util": "^23.3.0", - "jest-resolve": "^23.4.0", - "jest-snapshot": "^23.4.0", + "jest-resolve": "^23.4.1", + "jest-snapshot": "^23.4.2", "jest-util": "^23.4.0", "jest-validate": "^23.4.0", "micromatch": "^2.3.11", @@ -12717,18 +11814,17 @@ "dev": true }, "jest-snapshot": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-23.4.0.tgz", - "integrity": "sha1-dGPQNXyr3+HGOZTV4y9wfRAz1hY=", + "version": "23.4.2", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-23.4.2.tgz", + "integrity": "sha512-rCBxIURDlVEW1gJgJSpo8l2F2gFwp9U7Yb3CmcABUpmQ8NASpb6LJkEvtcQifAYSi22OL44TSuanq1G6x1GJwg==", "dev": true, "requires": { - "babel-traverse": "^6.0.0", "babel-types": "^6.0.0", "chalk": "^2.0.1", "jest-diff": "^23.2.0", "jest-matcher-utils": "^23.2.0", "jest-message-util": "^23.4.0", - "jest-resolve": "^23.4.0", + "jest-resolve": "^23.4.1", "mkdirp": "^0.5.1", "natural-compare": "^1.4.0", "pretty-format": "^23.2.0", @@ -13274,9 +12370,15 @@ "dev": true }, "kleur": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-1.0.1.tgz", - "integrity": "sha512-8srIZ5BK5PCJw1L/JN741xgNfSjuQNK9ImYbYzv7ZUD3WPfuywaY+yd7lQOphJ+2vwXnMLnRZoAh5X+orRt4LQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-2.0.1.tgz", + "integrity": "sha512-Zq/jyANIJ2uX8UZjWlqLwbyhcxSXJtT/Y89lClyeZd3l++3ztL1I5SSCYrbcbwSunTjC88N3WuMk0kRDQD6gzA==", + "dev": true + }, + "known-css-properties": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.6.1.tgz", + "integrity": "sha512-nQRpMcHm1cQ6gmztdvLcIvxocznSMqH/y6XtERrWrHaymOYdDGroRqetJvJycxGEr1aakXiigDgn7JnzuXlk6A==", "dev": true }, "lazy-cache": { @@ -14055,6 +13157,12 @@ "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", "dev": true }, + "longest-streak": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-2.0.2.tgz", + "integrity": "sha512-TmYTeEYxiAmSVdpbnQDXGtvYOIRsCMg89CVZzwzc2o7GFL1CjoiRPjH5ec0NFAVlAx3fVof9dX/t6KKRAo2OWA==", + "dev": true + }, "loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -14132,6 +13240,18 @@ "object-visit": "^1.0.0" } }, + "markdown-escapes": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/markdown-escapes/-/markdown-escapes-1.0.2.tgz", + "integrity": "sha512-lbRZ2mE3Q9RtLjxZBZ9+IMl68DKIXaVAhwvwn9pmjnPLS0h/6kyBMgNhqi1xFJ/2yv6cSyv0jbiZavZv93JkkA==", + "dev": true + }, + "markdown-table": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-1.1.2.tgz", + "integrity": "sha512-NcWuJFHDA8V3wkDgR/j4+gZx+YQwstPgfQDV8ndUeWWzta3dnDTBxpVzqS9lkmJAuV5YX35lmyojl6HO5JXAgw==", + "dev": true + }, "material-colors": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/material-colors/-/material-colors-1.2.6.tgz", @@ -14149,6 +13269,12 @@ "integrity": "sha1-izqsWIuKZuSXXjzepn97sylgH6w=", "dev": true }, + "mathml-tag-names": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.0.tgz", + "integrity": "sha512-3Zs9P/0zzwTob2pdgT0CHZuMbnSUSp8MB1bddfm+HDmnFWHGT4jvEZRf+2RuPoa+cjdn/z25SEt5gFTqdhvJAg==", + "dev": true + }, "md5.js": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.4.tgz", @@ -14159,6 +13285,16 @@ "inherits": "^2.0.1" } }, + "mdast-util-compact": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-compact/-/mdast-util-compact-1.0.1.tgz", + "integrity": "sha1-zbX4TitqLTEU3zO9BdnLMuPECDo=", + "dev": true, + "requires": { + "unist-util-modify-children": "^1.0.0", + "unist-util-visit": "^1.1.0" + } + }, "mdn-data": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-1.1.4.tgz", @@ -15098,6 +14234,12 @@ "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", "dev": true }, + "normalize-selector": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/normalize-selector/-/normalize-selector-0.2.0.tgz", + "integrity": "sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=", + "dev": true + }, "normalize-url": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-2.0.1.tgz", @@ -15706,6 +14848,20 @@ "pbkdf2": "^3.0.3" } }, + "parse-entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-1.1.2.tgz", + "integrity": "sha512-5N9lmQ7tmxfXf+hO3X6KRG6w7uYO/HL9fHalSySTdyn63C3WNvTM/1R8tn1u1larNcEbo3Slcy2bsVDQqvEpUg==", + "dev": true, + "requires": { + "character-entities": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "character-reference-invalid": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-hexadecimal": "^1.0.0" + } + }, "parse-github-repo-url": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz", @@ -16214,6 +15370,95 @@ } } }, + "postcss-html": { + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/postcss-html/-/postcss-html-0.31.0.tgz", + "integrity": "sha512-5orIml7dVf17OrHyO39BXMGlklKT884FvkB+gdCtGJ63b1AAeGF7NuXGC1HM83TI0Ip1gZyBowrPuXCOPqqerA==", + "dev": true, + "requires": { + "htmlparser2": "^3.9.2" + } + }, + "postcss-less": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-2.0.0.tgz", + "integrity": "sha512-pPNsVnpCB13nBMOcl5GVh8JGmB0JGFjqkLUDzKdVpptFFKEe9wFdEzvh2j4lD2AD+7qcrUfw9Ta+oi5+Fw7jjQ==", + "dev": true, + "requires": { + "postcss": "^5.2.16" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "dependencies": { + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + } + } + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "postcss": { + "version": "5.2.18", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", + "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "js-base64": "^2.1.9", + "source-map": "^0.5.6", + "supports-color": "^3.2.3" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "^1.0.0" + } + } + } + }, "postcss-load-config": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-1.2.0.tgz", @@ -16327,6 +15572,22 @@ "schema-utils": "^0.4.0" } }, + "postcss-markdown": { + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/postcss-markdown/-/postcss-markdown-0.31.0.tgz", + "integrity": "sha512-2fKbCxnyACX0ZSRpgZD0XYmVLlz0Sam8cCy423xn08t/EygOYPsK6FOp7gGrLsVXzQVwtN3HNLfcPkiseIZSSA==", + "dev": true, + "requires": { + "remark": "^9.0.0", + "unist-util-find-all-after": "^1.0.2" + } + }, + "postcss-media-query-parser": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", + "integrity": "sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ=", + "dev": true + }, "postcss-merge-idents": { "version": "2.1.7", "resolved": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz", @@ -16759,6 +16020,109 @@ "postcss-value-parser": "^3.0.0" } }, + "postcss-reporter": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-5.0.0.tgz", + "integrity": "sha512-rBkDbaHAu5uywbCR2XE8a25tats3xSOsGNx6mppK6Q9kSFGKc/FyAzfci+fWM2l+K402p1D0pNcfDGxeje5IKg==", + "dev": true, + "requires": { + "chalk": "^2.0.1", + "lodash": "^4.17.4", + "log-symbols": "^2.0.0", + "postcss": "^6.0.8" + } + }, + "postcss-resolve-nested-selector": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.1.tgz", + "integrity": "sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4=", + "dev": true + }, + "postcss-safe-parser": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-4.0.1.tgz", + "integrity": "sha512-xZsFA3uX8MO3yAda03QrG3/Eg1LN3EPfjjf07vke/46HERLZyHrTsQ9E1r1w1W//fWEhtYNndo2hQplN2cVpCQ==", + "dev": true, + "requires": { + "postcss": "^7.0.0" + }, + "dependencies": { + "postcss": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.2.tgz", + "integrity": "sha512-fmaUY5370keLUTx+CnwRxtGiuFTcNBLQBqr1oE3WZ/euIYmGAo0OAgOhVJ3ByDnVmOR3PK+0V9VebzfjRIUcqw==", + "dev": true, + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.4.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "postcss-sass": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/postcss-sass/-/postcss-sass-0.3.2.tgz", + "integrity": "sha512-0HgxikiZ07VKYr98KT+k7/rAzyMgZlP+3+R8vUti56T2dPdhW0OhPGDQzddxY/N2iDtBVZQqCHRDA09j5I6EWg==", + "dev": true, + "requires": { + "gonzales-pe": "4.2.3", + "postcss": "6.0.22" + }, + "dependencies": { + "postcss": { + "version": "6.0.22", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.22.tgz", + "integrity": "sha512-Toc9lLoUASwGqxBSJGTVcOQiDqjK+Z2XlWBg+IgYwQMY9vA2f7iMpXVc1GpPcfTSyM5lkxNo0oDwDRO+wm7XHA==", + "dev": true, + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.4.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "postcss-scss": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-2.0.0.tgz", + "integrity": "sha512-um9zdGKaDZirMm+kZFKKVsnKPF7zF7qBAtIfTSnZXD1jZ0JNZIxdB6TxQOjCnlSzLRInVl2v3YdBh/M881C4ug==", + "dev": true, + "requires": { + "postcss": "^7.0.0" + }, + "dependencies": { + "postcss": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.2.tgz", + "integrity": "sha512-fmaUY5370keLUTx+CnwRxtGiuFTcNBLQBqr1oE3WZ/euIYmGAo0OAgOhVJ3ByDnVmOR3PK+0V9VebzfjRIUcqw==", + "dev": true, + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.4.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, "postcss-selector-parser": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz", @@ -16770,6 +16134,12 @@ "uniq": "^1.0.1" } }, + "postcss-styled": { + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/postcss-styled/-/postcss-styled-0.31.0.tgz", + "integrity": "sha512-tyCeU0XuuJJdmLmnklWuvcQe8zFIRoq+zof2K19UqdvoH8+P007vu9ShSRcu7S/LcjB+VWJl1tyqUszgFIjcDQ==", + "dev": true + }, "postcss-svgo": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.0.tgz", @@ -16782,6 +16152,12 @@ "svgo": "^1.0.0" } }, + "postcss-syntax": { + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/postcss-syntax/-/postcss-syntax-0.31.0.tgz", + "integrity": "sha512-siI3tp74W8paHBCfEEeSCta5GUnEEEztAbkyL87/tqwW6wl2o4CbRA6utW30n9gz/FEqe+eOhvVPXpbpqmcdWw==", + "dev": true + }, "postcss-unique-selectors": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-4.0.0.tgz", @@ -16959,12 +16335,12 @@ "dev": true }, "prompts": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-0.1.12.tgz", - "integrity": "sha512-pgR1GE1JM8q8UsHVIgjdK62DPwvrf0kvaKWJ/mfMoCm2lwfIReX/giQ1p0AlMoUXNhQap/8UiOdqi3bOROm/eg==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-0.1.14.tgz", + "integrity": "sha512-rxkyiE9YH6zAz/rZpywySLKkpaj0NMVyNw1qhsubdbjjSgcayjTShDreZGlFMcGSu5sab3bAKPfFk78PB90+8w==", "dev": true, "requires": { - "kleur": "^1.0.0", + "kleur": "^2.0.1", "sisteransi": "^0.1.1" } }, @@ -17783,6 +17159,62 @@ } } }, + "remark": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/remark/-/remark-9.0.0.tgz", + "integrity": "sha512-amw8rGdD5lHbMEakiEsllmkdBP+/KpjW/PRK6NSGPZKCQowh0BT4IWXDAkRMyG3SB9dKPXWMviFjNusXzXNn3A==", + "dev": true, + "requires": { + "remark-parse": "^5.0.0", + "remark-stringify": "^5.0.0", + "unified": "^6.0.0" + } + }, + "remark-parse": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-5.0.0.tgz", + "integrity": "sha512-b3iXszZLH1TLoyUzrATcTQUZrwNl1rE70rVdSruJFlDaJ9z5aMkhrG43Pp68OgfHndL/ADz6V69Zow8cTQu+JA==", + "dev": true, + "requires": { + "collapse-white-space": "^1.0.2", + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-whitespace-character": "^1.0.0", + "is-word-character": "^1.0.0", + "markdown-escapes": "^1.0.0", + "parse-entities": "^1.1.0", + "repeat-string": "^1.5.4", + "state-toggle": "^1.0.0", + "trim": "0.0.1", + "trim-trailing-lines": "^1.0.0", + "unherit": "^1.0.4", + "unist-util-remove-position": "^1.0.0", + "vfile-location": "^2.0.0", + "xtend": "^4.0.1" + } + }, + "remark-stringify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-5.0.0.tgz", + "integrity": "sha512-Ws5MdA69ftqQ/yhRF9XhVV29mhxbfGhbz0Rx5bQH+oJcNhhSM6nCu1EpLod+DjrFGrU0BMPs+czVmJZU7xiS7w==", + "dev": true, + "requires": { + "ccount": "^1.0.0", + "is-alphanumeric": "^1.0.0", + "is-decimal": "^1.0.0", + "is-whitespace-character": "^1.0.0", + "longest-streak": "^2.0.1", + "markdown-escapes": "^1.0.0", + "markdown-table": "^1.1.0", + "mdast-util-compact": "^1.0.0", + "parse-entities": "^1.0.2", + "repeat-string": "^1.5.4", + "state-toggle": "^1.0.0", + "stringify-entities": "^1.0.1", + "unherit": "^1.0.4", + "xtend": "^4.0.1" + } + }, "rememo": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/rememo/-/rememo-3.0.0.tgz", @@ -18812,6 +18244,12 @@ "integrity": "sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA==", "dev": true }, + "specificity": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/specificity/-/specificity-0.4.0.tgz", + "integrity": "sha512-nGUlURFuoSsmJQ2TBKaO2l7+dBHtRnofSSQdiFKEpd+HBDWXR9/+gtJfgNpe3Nh6o5mqSxDpin/M4YoN7AijGg==", + "dev": true + }, "split": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", @@ -18889,6 +18327,12 @@ "integrity": "sha512-H89UNKr1rQJvI1c/PIR3kiAMBV23yvR7LItZiV74HWZwzt7f3YHuujJ9nJZlt58WlFox7XQsOahexwk7nTe69A==", "dev": true }, + "state-toggle": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.1.tgz", + "integrity": "sha512-Qe8QntFrrpWTnHwvwj2FZTgv+PKIsp0B9VxLzLLbSpPXWOgRgc5LVj/aTiSfK1RqIeF9jeC1UeOH8Q8y60A7og==", + "dev": true + }, "static-extend": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", @@ -19018,6 +18462,18 @@ "safe-buffer": "~5.1.0" } }, + "stringify-entities": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-1.3.2.tgz", + "integrity": "sha512-nrBAQClJAPN2p+uGCVJRPIPakKeKWZ9GtBCmormE7pWOSlHat7+x5A8gx85M7HM5Dt0BP3pP5RhVW77WdbJJ3A==", + "dev": true, + "requires": { + "character-entities-html4": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-hexadecimal": "^1.0.0" + }, + }, "stringify-object": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.2.2.tgz", @@ -19110,17 +18566,139 @@ "schema-utils": "^0.4.5" } }, + "style-search": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/style-search/-/style-search-0.1.0.tgz", + "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=", + "dev": true + }, "stylehacks": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.0.tgz", "integrity": "sha1-ZLMjlRxKJOX8ey7AbBN78y0VXoo=", "dev": true, "requires": { - "browserslist": "^4.0.0", - "postcss": "^6.0.0", - "postcss-selector-parser": "^3.0.0" + "browserslist": "^4.0.0", + "postcss": "^6.0.0", + "postcss-selector-parser": "^3.0.0" + }, + "dependencies": { + "browserslist": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.0.1.tgz", + "integrity": "sha512-QqiiIWchEIkney3wY53/huI7ZErouNAdvOkjorUALAwRcu3tEwOV3Sh6He0DnP38mz1JjBpCBb50jQBmaYuHPw==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30000865", + "electron-to-chromium": "^1.3.52", + "node-releases": "^1.0.0-alpha.10" + } + }, + "postcss-selector-parser": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz", + "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=", + "dev": true, + "requires": { + "dot-prop": "^4.1.1", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + } + } + } + }, + "stylelint": { + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-9.4.0.tgz", + "integrity": "sha512-pcw0Dpb4Ib/OfgONhaeF+myA+5iZdsI8dYgWs1++IYN/dgvo90O0FhgMDKb1bMgZVy/A2Q1CCN/PFZ0FLnnRnQ==", + "dev": true, + "requires": { + "autoprefixer": "^9.0.0", + "balanced-match": "^1.0.0", + "chalk": "^2.4.1", + "cosmiconfig": "^5.0.0", + "debug": "^3.0.0", + "execall": "^1.0.0", + "file-entry-cache": "^2.0.0", + "get-stdin": "^6.0.0", + "globby": "^8.0.0", + "globjoin": "^0.1.4", + "html-tags": "^2.0.0", + "ignore": "^4.0.0", + "import-lazy": "^3.1.0", + "imurmurhash": "^0.1.4", + "known-css-properties": "^0.6.0", + "lodash": "^4.17.4", + "log-symbols": "^2.0.0", + "mathml-tag-names": "^2.0.1", + "meow": "^5.0.0", + "micromatch": "^2.3.11", + "normalize-selector": "^0.2.0", + "pify": "^3.0.0", + "postcss": "^7.0.0", + "postcss-html": "^0.31.0", + "postcss-less": "^2.0.0", + "postcss-markdown": "^0.31.0", + "postcss-media-query-parser": "^0.2.3", + "postcss-reporter": "^5.0.0", + "postcss-resolve-nested-selector": "^0.1.1", + "postcss-safe-parser": "^4.0.0", + "postcss-sass": "^0.3.0", + "postcss-scss": "^2.0.0", + "postcss-selector-parser": "^3.1.0", + "postcss-styled": "^0.31.0", + "postcss-syntax": "^0.31.0", + "postcss-value-parser": "^3.3.0", + "resolve-from": "^4.0.0", + "signal-exit": "^3.0.2", + "specificity": "^0.4.0", + "string-width": "^2.1.0", + "style-search": "^0.1.0", + "sugarss": "^1.0.0", + "svg-tags": "^1.0.0", + "table": "^4.0.1" }, "dependencies": { + "arr-diff": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "dev": true, + "requires": { + "arr-flatten": "^1.0.1" + } + }, + "array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true + }, + "autoprefixer": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.1.0.tgz", + "integrity": "sha512-BbAIdxNdptG/x4DiGGfpkDVYyqu4nUyNdBB0Utr49Gn3+0RERV1MdHik2FSbbWwhMAuk1KrfVJHe7nEMheGdBA==", + "dev": true, + "requires": { + "browserslist": "^4.0.1", + "caniuse-lite": "^1.0.30000872", + "normalize-range": "^0.1.2", + "num2fraction": "^1.2.2", + "postcss": "^7.0.2", + "postcss-value-parser": "^3.2.3" + } + }, + "braces": { + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "dev": true, + "requires": { + "expand-range": "^1.8.1", + "preserve": "^0.2.0", + "repeat-element": "^1.1.2" + } + }, "browserslist": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.0.1.tgz", @@ -19132,6 +18710,166 @@ "node-releases": "^1.0.0-alpha.10" } }, + "caniuse-lite": { + "version": "1.0.30000874", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000874.tgz", + "integrity": "sha512-29nr1EPiHwrJTAHHsEmTt2h+55L8j2GNFdAcYPlRy2NX6iFz7ZZiepVI7kP/QqlnHLq3KvfWpbmGa0d063U09w==", + "dev": true + }, + "expand-brackets": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "dev": true, + "requires": { + "is-posix-bracket": "^0.1.0" + } + }, + "extglob": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "dev": true, + "requires": { + "is-extglob": "^1.0.0" + } + }, + "get-stdin": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", + "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", + "dev": true + }, + "globby": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-8.0.1.tgz", + "integrity": "sha512-oMrYrJERnKBLXNLVTqhm3vPEdJ/b2ZE28xN4YARiix1NOIOBPEpOUnm844K1iu/BkphCaf2WNFwMszv8Soi1pw==", + "dev": true, + "requires": { + "array-union": "^1.0.1", + "dir-glob": "^2.0.0", + "fast-glob": "^2.0.2", + "glob": "^7.1.2", + "ignore": "^3.3.5", + "pify": "^3.0.0", + "slash": "^1.0.0" + }, + "dependencies": { + "ignore": { + "version": "3.3.10", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", + "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", + "dev": true + } + } + }, + "ignore": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.3.tgz", + "integrity": "sha512-Z/vAH2GGIEATQnBVXMclE2IGV6i0GyVngKThcGZ5kHgHMxLo9Ow2+XHRq1aEKEej5vOF1TPJNbvX6J/anT0M7A==", + "dev": true + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + }, + "micromatch": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "dev": true, + "requires": { + "arr-diff": "^2.0.0", + "array-unique": "^0.2.1", + "braces": "^1.8.2", + "expand-brackets": "^0.1.4", + "extglob": "^0.3.1", + "filename-regex": "^2.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.1", + "kind-of": "^3.0.2", + "normalize-path": "^2.0.1", + "object.omit": "^2.0.0", + "parse-glob": "^3.0.4", + "regex-cache": "^0.4.2" + } + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "postcss": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.2.tgz", + "integrity": "sha512-fmaUY5370keLUTx+CnwRxtGiuFTcNBLQBqr1oE3WZ/euIYmGAo0OAgOhVJ3ByDnVmOR3PK+0V9VebzfjRIUcqw==", + "dev": true, + "requires": { + "chalk": "^2.4.1", + "source-map": "^0.6.1", + "supports-color": "^5.4.0" + } + }, + "postcss-selector-parser": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz", + "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=", + "dev": true, + "requires": { + "dot-prop": "^4.1.1", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "stylelint-config-recommended": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-2.1.0.tgz", + "integrity": "sha512-ajMbivOD7JxdsnlS5945KYhvt7L/HwN6YeYF2BH6kE4UCLJR0YvXMf+2j7nQpJyYLZx9uZzU5G1ZOSBiWAc6yA==", + "dev": true + }, + "stylelint-config-wordpress": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-wordpress/-/stylelint-config-wordpress-13.0.0.tgz", + "integrity": "sha512-GnrFFlAyf4TBgKAAY574+Qx/mVa2QlDfRALYgVKV8ZPsyazraZLz+z5JGkgH/BFCPKlh+4zRZcS8fbG9wT9pxg==", + "dev": true, + "requires": { + "stylelint-config-recommended": "^2.1.0", + "stylelint-scss": "^2.1.0" + } + }, + "stylelint-scss": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-2.5.0.tgz", + "integrity": "sha512-+joZpza5nQxAyGwzRMancFEl0EH9+1Vy88YzBghRMS0wHulzDPE9fEkBi6ZOlz+I3tYIBI4x9NbqO5/LkbeE3Q==", + "dev": true, + "requires": { + "lodash": "^4.17.4", + "postcss-media-query-parser": "^0.2.3", + "postcss-resolve-nested-selector": "^0.1.1", + "postcss-selector-parser": "^3.1.1", + "postcss-value-parser": "^3.3.0" + }, + "dependencies": { "postcss-selector-parser": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz", @@ -19145,6 +18883,15 @@ } } }, + "sugarss": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/sugarss/-/sugarss-1.0.1.tgz", + "integrity": "sha512-3qgLZytikQQEVn1/FrhY7B68gPUUGY3R1Q1vTiD5xT+Ti1DP/8iZuwFet9ONs5+bmL8pZoDQ6JrQHVgrNlK6mA==", + "dev": true, + "requires": { + "postcss": "^6.0.14" + } + }, "supports-color": { "version": "5.4.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", @@ -19154,6 +18901,12 @@ "has-flag": "^3.0.0" } }, + "svg-tags": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz", + "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=", + "dev": true + }, "svgo": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.0.5.tgz", @@ -19537,6 +19290,12 @@ "integrity": "sha512-DlX6dR0lOIRDFxI0mjL9IYg6OTncLm/Zt+JiBhE5OlFcAR8yc9S7FFXU9so0oda47frdM/JFsk7UjNt9vscKcg==", "dev": true }, + "trim": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", + "integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0=", + "dev": true + }, "trim-newlines": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz", @@ -19555,6 +19314,18 @@ "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", "dev": true }, + "trim-trailing-lines": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.1.tgz", + "integrity": "sha512-bWLv9BbWbbd7mlqqs2oQYnLD/U/ZqeJeJwbO0FG2zA1aTq+HTvxfHNKFa/HGCVyJpDiioUYaBhfiT6rgk+l4mg==", + "dev": true + }, + "trough": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.3.tgz", + "integrity": "sha512-fwkLWH+DimvA4YCy+/nvJd61nWQQ2liO/nF/RjkTpiOGi+zxZzVkhb1mvbHIIW4b/8nDsYI8uTmAlc0nNkRMOw==", + "dev": true + }, "true-case-path": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.2.tgz", @@ -19745,6 +19516,16 @@ "integrity": "sha1-YaajIBBiKvoHljvzJSA88SI51gQ=", "dev": true }, + "unherit": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unherit/-/unherit-1.1.1.tgz", + "integrity": "sha512-+XZuV691Cn4zHsK0vkKYwBEwB74T3IZIcxrgn2E4rKwTfFyI1zCh7X7grwh9Re08fdPlarIdyWgI8aVB3F5A5g==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "xtend": "^4.0.1" + } + }, "unicode-canonical-property-names-ecmascript": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", @@ -19773,6 +19554,20 @@ "integrity": "sha512-2WSLa6OdYd2ng8oqiGIWnJqyFArvhn+5vgx5GTxMbUYjCYKUcuKS62YLFF0R/BDGlB1yzXjQOLtPAfHsgirEpg==", "dev": true }, + "unified": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/unified/-/unified-6.2.0.tgz", + "integrity": "sha512-1k+KPhlVtqmG99RaTbAv/usu85fcSRu3wY8X+vnsEhIxNP5VbVIDiXnLqyKIG+UMdyTg0ZX9EI6k2AfjJkHPtA==", + "dev": true, + "requires": { + "bail": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^1.1.0", + "trough": "^1.0.0", + "vfile": "^2.0.0", + "x-is-string": "^0.1.0" + } + }, "union-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", @@ -19838,6 +19633,63 @@ "imurmurhash": "^0.1.4" } }, + "unist-util-find-all-after": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unist-util-find-all-after/-/unist-util-find-all-after-1.0.2.tgz", + "integrity": "sha512-nDl79mKpffXojLpCimVXnxhlH/jjaTnDuScznU9J4jjsaUtBdDbxmlc109XtcqxY4SDO0SwzngsxxW8DIISt1w==", + "dev": true, + "requires": { + "unist-util-is": "^2.0.0" + } + }, + "unist-util-is": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-2.1.2.tgz", + "integrity": "sha512-YkXBK/H9raAmG7KXck+UUpnKiNmUdB+aBGrknfQ4EreE1banuzrKABx3jP6Z5Z3fMSPMQQmeXBlKpCbMwBkxVw==", + "dev": true + }, + "unist-util-modify-children": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/unist-util-modify-children/-/unist-util-modify-children-1.1.2.tgz", + "integrity": "sha512-GRi04yhng1WqBf5RBzPkOtWAadcZS2gvuOgNn/cyJBYNxtTuyYqTKN0eg4rC1YJwGnzrqfRB3dSKm8cNCjNirg==", + "dev": true, + "requires": { + "array-iterate": "^1.0.0" + } + }, + "unist-util-remove-position": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-1.1.2.tgz", + "integrity": "sha512-XxoNOBvq1WXRKXxgnSYbtCF76TJrRoe5++pD4cCBsssSiWSnPEktyFrFLE8LTk3JW5mt9hB0Sk5zn4x/JeWY7Q==", + "dev": true, + "requires": { + "unist-util-visit": "^1.1.0" + } + }, + "unist-util-stringify-position": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-1.1.2.tgz", + "integrity": "sha512-pNCVrk64LZv1kElr0N1wPiHEUoXNVFERp+mlTg/s9R5Lwg87f9bM/3sQB99w+N9D/qnM9ar3+AKDBwo/gm/iQQ==", + "dev": true + }, + "unist-util-visit": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-1.4.0.tgz", + "integrity": "sha512-FiGu34ziNsZA3ZUteZxSFaczIjGmksfSgdKqBfOejrrfzyUy5b7YrlzT1Bcvi+djkYDituJDy2XB7tGTeBieKw==", + "dev": true, + "requires": { + "unist-util-visit-parents": "^2.0.0" + } + }, + "unist-util-visit-parents": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-2.0.1.tgz", + "integrity": "sha512-6B0UTiMfdWql4cQ03gDTCSns+64Zkfo2OCbK31Ov0uMizEz+CJeAp0cgZVb5Fhmcd7Bct2iRNywejT0orpbqUA==", + "dev": true, + "requires": { + "unist-util-is": "^2.1.2" + } + }, "universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", @@ -20045,6 +19897,41 @@ "extsprintf": "^1.2.0" } }, + "vfile": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-2.3.0.tgz", + "integrity": "sha512-ASt4mBUHcTpMKD/l5Q+WJXNtshlWxOogYyGYYrg4lt/vuRjC1EFQtlAofL5VmtVNIZJzWYFJjzGWZ0Gw8pzW1w==", + "dev": true, + "requires": { + "is-buffer": "^1.1.4", + "replace-ext": "1.0.0", + "unist-util-stringify-position": "^1.0.0", + "vfile-message": "^1.0.0" + }, + "dependencies": { + "replace-ext": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz", + "integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=", + "dev": true + } + } + }, + "vfile-location": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-2.0.3.tgz", + "integrity": "sha512-zM5/l4lfw1CBoPx3Jimxoc5RNDAHHpk6AM6LM0pTIkm5SUSsx8ZekZ0PVdf0WEZ7kjlhSt7ZlqbRL6Cd6dBs6A==", + "dev": true + }, + "vfile-message": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-1.0.1.tgz", + "integrity": "sha512-vSGCkhNvJzO6VcWC6AlJW4NtYOVtS+RgCaqFIYUjoGIlHnFL+i0LbtYvonDWOMcB97uTPT4PRsyYY7REWC9vug==", + "dev": true, + "requires": { + "unist-util-stringify-position": "^1.1.1" + } + }, "vinyl": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-1.2.0.tgz", @@ -21302,6 +21189,12 @@ "safe-buffer": "~5.1.0" } }, + "x-is-string": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/x-is-string/-/x-is-string-0.1.0.tgz", + "integrity": "sha1-R0tQhlrzpJqcRlfwWs0UVFj3fYI=", + "dev": true + }, "xml-name-validator": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", diff --git a/package.json b/package.json index 0a09e4b9d332f..14ad2951c10eb 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "rememo": "3.0.0" }, "devDependencies": { - "@babel/core": "7.0.0-beta.52", + "@babel/core": "7.0.0-beta.56", "@wordpress/babel-plugin-import-jsx-pragma": "file:packages/babel-plugin-import-jsx-pragma", "@wordpress/babel-plugin-makepot": "file:packages/babel-plugin-makepot", "@wordpress/babel-preset-default": "file:packages/babel-preset-default", @@ -113,6 +113,8 @@ "source-map-loader": "0.2.3", "sprintf-js": "1.1.1", "style-loader": "0.20.3", + "stylelint": "9.4.0", + "stylelint-config-wordpress": "13.0.0", "symlink-or-copy": "1.2.0", "uuid": "3.1.0", "webpack": "4.8.3", @@ -163,11 +165,13 @@ "fixtures:server-registered": "docker-compose run -w /var/www/html/wp-content/plugins/gutenberg --rm wordpress ./bin/get-server-blocks.php > core-blocks/test/server-registered.json", "fixtures:generate": "npm run fixtures:server-registered && cross-env GENERATE_MISSING_FIXTURES=y npm run test-unit", "fixtures:regenerate": "npm run fixtures:clean && npm run fixtures:generate", - "lint": "npm run lint-js && npm run lint-pkg-json", + "lint": "concurrently \"npm run lint-js\" \"npm run lint-pkg-json\" \"npm run lint-css\"", "lint-js": "eslint .", "lint-js:fix": "eslint . --fix", "lint-php": "docker-compose run --rm composer run-script lint", "lint-pkg-json": "wp-scripts lint-pkg-json ./packages", + "lint-css": "stylelint '**/*.scss'", + "lint-css:fix": "stylelint '**/*.scss' --fix", "package-plugin": "./bin/build-plugin-zip.sh", "postinstall": "npm run build:packages", "pot-to-php": "./bin/pot-to-php.js", diff --git a/packages/a11y/package.json b/packages/a11y/package.json index e81f0d5ece37e..433d973bc7168 100644 --- a/packages/a11y/package.json +++ b/packages/a11y/package.json @@ -20,7 +20,7 @@ "main": "build/index.js", "module": "build-module/index.js", "dependencies": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/dom-ready": "file:../dom-ready" }, "publishConfig": { diff --git a/packages/api-fetch/package.json b/packages/api-fetch/package.json index 465e95da203bc..5866de36d9c2c 100644 --- a/packages/api-fetch/package.json +++ b/packages/api-fetch/package.json @@ -20,7 +20,7 @@ "main": "build/index.js", "module": "build-module/index.js", "dependencies": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/hooks": "file:../hooks", "@wordpress/i18n": "file:../i18n" }, diff --git a/packages/api-fetch/src/index.js b/packages/api-fetch/src/index.js index d8d669841bc8d..a2ebeeff37a9a 100644 --- a/packages/api-fetch/src/index.js +++ b/packages/api-fetch/src/index.js @@ -18,6 +18,14 @@ function registerMiddleware( middleware ) { middlewares.push( middleware ); } +function checkCloudflareError( error ) { + if ( typeof error === 'string' && error.indexOf( 'Cloudflare Ray ID' ) >= 0 ) { + throw { + code: 'cloudflare_error', + }; + } +} + function apiFetch( options ) { const raw = ( nextOptions ) => { const { url, path, body, data, parse = true, ...remainingOptions } = nextOptions; @@ -68,8 +76,18 @@ function apiFetch( options ) { throw invalidJsonError; } + /* + * Response data is a stream, which will be consumed by the .json() call. + * If we need to re-use this data to send to the Cloudflare error handler, + * we need a clone of the original response, so the stream can be consumed + * in the .text() call, instead. + */ + const responseClone = response.clone(); + return response.json() - .catch( () => { + .catch( async () => { + const text = await responseClone.text(); + checkCloudflareError( text ); throw invalidJsonError; } ) .then( ( error ) => { @@ -78,6 +96,8 @@ function apiFetch( options ) { message: __( 'An unknown error occurred.' ), }; + checkCloudflareError( error ); + throw error || unknownError; } ); } ); diff --git a/packages/api-fetch/src/test/index.js b/packages/api-fetch/src/test/index.js index 4e940e18233ef..47aa4d2303e14 100644 --- a/packages/api-fetch/src/test/index.js +++ b/packages/api-fetch/src/test/index.js @@ -32,6 +32,9 @@ describe( 'apiFetch', () => { message: 'Bad Request', } ); }, + clone() { + return null; + }, } ) ); return apiFetch( { path: '/random' } ).catch( ( body ) => { diff --git a/packages/autop/package.json b/packages/autop/package.json index afa31166ef515..536d287ed65da 100644 --- a/packages/autop/package.json +++ b/packages/autop/package.json @@ -19,7 +19,7 @@ "main": "build/index.js", "module": "build-module/index.js", "dependencies": { - "@babel/runtime": "^7.0.0-beta.52" + "@babel/runtime-corejs2": "7.0.0-beta.56" }, "publishConfig": { "access": "public" diff --git a/packages/babel-plugin-import-jsx-pragma/package.json b/packages/babel-plugin-import-jsx-pragma/package.json index a993aa646a749..f2214c8d6da73 100644 --- a/packages/babel-plugin-import-jsx-pragma/package.json +++ b/packages/babel-plugin-import-jsx-pragma/package.json @@ -26,14 +26,14 @@ "main": "build/index.js", "module": "build-module/index.js", "dependencies": { - "@babel/runtime": "^7.0.0-beta.52" + "@babel/runtime-corejs2": "7.0.0-beta.56" }, "devDependencies": { - "@babel/core": "^7.0.0-beta.52", - "@babel/plugin-syntax-jsx": "^7.0.0-beta.52" + "@babel/core": "7.0.0-beta.56", + "@babel/plugin-syntax-jsx": "7.0.0-beta.56" }, "peerDependencies": { - "@babel/core": "^7.0.0-beta.52" + "@babel/core": "7.0.0-beta.56" }, "publishConfig": { "access": "public" diff --git a/packages/babel-plugin-makepot/package.json b/packages/babel-plugin-makepot/package.json index f158cc42d0652..d78d5cc95c7d8 100644 --- a/packages/babel-plugin-makepot/package.json +++ b/packages/babel-plugin-makepot/package.json @@ -25,16 +25,16 @@ "main": "build/index.js", "module": "build-module/index.js", "dependencies": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "gettext-parser": "^1.3.1", "lodash": "^4.17.10" }, "devDependencies": { - "@babel/core": "^7.0.0-beta.52", - "@babel/traverse": "^7.0.0-beta.52" + "@babel/core": "7.0.0-beta.56", + "@babel/traverse": "7.0.0-beta.56" }, "peerDependencies": { - "@babel/core": "^7.0.0-beta.52" + "@babel/core": "7.0.0-beta.56" }, "publishConfig": { "access": "public" diff --git a/packages/babel-preset-default/index.js b/packages/babel-preset-default/index.js index 2e8f3bb532d7c..d62a0c02dd24f 100644 --- a/packages/babel-preset-default/index.js +++ b/packages/babel-preset-default/index.js @@ -20,7 +20,7 @@ module.exports = function( api ) { pragma: 'createElement', } ], '@babel/plugin-proposal-async-generator-functions', - ! isTestEnv && '@babel/plugin-transform-runtime', + ! isTestEnv && [ '@babel/plugin-transform-runtime', { corejs: 2 } ], ].filter( Boolean ), }; }; diff --git a/packages/babel-preset-default/package.json b/packages/babel-preset-default/package.json index 9f1a5810d09eb..6ce29bd08b011 100644 --- a/packages/babel-preset-default/package.json +++ b/packages/babel-preset-default/package.json @@ -23,12 +23,12 @@ }, "main": "index.js", "dependencies": { - "@babel/plugin-proposal-async-generator-functions": "^7.0.0-beta.52", - "@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.52", - "@babel/plugin-transform-react-jsx": "^7.0.0-beta.52", - "@babel/plugin-transform-runtime": "^7.0.0-beta.52", - "@babel/preset-env": "^7.0.0-beta.52", - "@babel/runtime": "^7.0.0-beta.52", + "@babel/plugin-proposal-async-generator-functions": "7.0.0-beta.56", + "@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.56", + "@babel/plugin-transform-react-jsx": "7.0.0-beta.56", + "@babel/plugin-transform-runtime": "7.0.0-beta.56", + "@babel/preset-env": "7.0.0-beta.56", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/browserslist-config": "file:../browserslist-config", "babel-core": "^7.0.0-bridge.0" }, diff --git a/packages/blob/package.json b/packages/blob/package.json index 36304fa04e524..813b7f5ff688d 100644 --- a/packages/blob/package.json +++ b/packages/blob/package.json @@ -19,7 +19,7 @@ "main": "build/index.js", "module": "build-module/index.js", "dependencies": { - "@babel/runtime": "^7.0.0-beta.52" + "@babel/runtime-corejs2": "7.0.0-beta.56" }, "publishConfig": { "access": "public" diff --git a/packages/blocks/package.json b/packages/blocks/package.json index 20dff08bc09dc..23cdce52c379d 100644 --- a/packages/blocks/package.json +++ b/packages/blocks/package.json @@ -20,7 +20,7 @@ "module": "build-module/index.js", "react-native": "src/index", "dependencies": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/autop": "file:../autop", "@wordpress/blob": "file:../blob", "@wordpress/block-serialization-spec-parser": "file:../block-serialization-spec-parser", diff --git a/packages/blocks/src/api/factory.js b/packages/blocks/src/api/factory.js index ef9de61959bd5..b7c7474f7dbc3 100644 --- a/packages/blocks/src/api/factory.js +++ b/packages/blocks/src/api/factory.js @@ -58,8 +58,6 @@ export function createBlock( name, blockAttributes = {}, innerBlocks = [] ) { // attributes, and their inner blocks. return { clientId, - // TODO: Remove from block interface in 3.5 "UID" deprecation. - uid: clientId, name, isValid: true, attributes, @@ -83,8 +81,6 @@ export function cloneBlock( block, mergeAttributes = {}, newInnerBlocks ) { return { ...block, clientId, - // TODO: Remove from block interface in 3.5 "UID" deprecation. - uid: uuid(), attributes: { ...block.attributes, ...mergeAttributes, diff --git a/packages/blocks/src/api/test/factory.js b/packages/blocks/src/api/test/factory.js index 12363de75f072..c8fae32809452 100644 --- a/packages/blocks/src/api/test/factory.js +++ b/packages/blocks/src/api/test/factory.js @@ -1024,9 +1024,9 @@ describe( 'block factory', () => { const transformedBlocks = switchToBlockType( block, 'core/updated-text-block' ); - // Make sure the block UIDs are set as expected: the first + // Make sure the block client IDs are set as expected: the first // transformed block whose type matches the "destination" type gets - // to keep the existing block's UID. + // to keep the existing block's client ID. expect( transformedBlocks ).toHaveLength( 2 ); expect( transformedBlocks[ 0 ] ).toHaveProperty( 'clientId' ); expect( transformedBlocks[ 0 ].clientId ).not.toBe( block.clientId ); diff --git a/packages/components/CONTRIBUTING.md b/packages/components/CONTRIBUTING.md new file mode 100644 index 0000000000000..cebec43084b1e --- /dev/null +++ b/packages/components/CONTRIBUTING.md @@ -0,0 +1,15 @@ +# Contributing + +Thank you for taking the time to contribute. + +The following is a set of guidelines for contributing to the `@wordpress/components` package to be considered in addition to the general ones described in our [Contributing Policy](../../CONTRIBUTING.md). + +## Examples + +Each component needs to include an example in its README.md file to demonstrate the usage of the component. + +These examples can be consumed automatically from other projects in order to visualize them in their documentation. To ensure these examples are extractable, compilable and renderable, they should be structured in the following way: + +* It has to be included in a `jsx` code block. +* It has to work out-of-the-box. No additional code should be needed to have working the example. +* It has to define a React component called `My` which renders the example (i.e.: `MyButton`). Examples for the Higher Order Components should define a `MyComponent` component (i.e.: `MyComponentWithNotices`). diff --git a/packages/components/package.json b/packages/components/package.json index 27fb5fbc25178..df13648d43515 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -19,7 +19,7 @@ "main": "build/index.js", "module": "build-module/index.js", "dependencies": { - "@babel/runtime": "^7.0.0-beta.52", + "@babel/runtime-corejs2": "7.0.0-beta.56", "@wordpress/a11y": "file:../a11y", "@wordpress/api-fetch": "file:../api-fetch", "@wordpress/compose": "file:../compose", diff --git a/packages/components/src/autocomplete/README.md b/packages/components/src/autocomplete/README.md index fe7a467dfd30b..1a14bf6323724 100644 --- a/packages/components/src/autocomplete/README.md +++ b/packages/components/src/autocomplete/README.md @@ -111,7 +111,7 @@ The following is a contrived completer for fresh fruit. ```jsx import { Autocomplete } from '@wordpress/components'; -function FreshFruitAutocomplete() { +const MyAutocomplete = () => { const autocompleters = [ { name: 'fruit', diff --git a/packages/components/src/base-control/README.md b/packages/components/src/base-control/README.md index 1dd091908176d..b79ee413e2190 100644 --- a/packages/components/src/base-control/README.md +++ b/packages/components/src/base-control/README.md @@ -9,19 +9,17 @@ Render a BaseControl for a textarea input: ```jsx import { BaseControl } from '@wordpress/components'; -function MyBaseControl() { - return ( - ( + +