From d3a538aee47cf99984100c5e8e812da8330c9bb7 Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Sun, 22 Mar 2020 17:05:03 -0300 Subject: [PATCH 01/18] chore(hotfix): remove console statement from avatar --- src/components/avatar/avatar.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/avatar/avatar.js b/src/components/avatar/avatar.js index 9922d8efeda..c3e3bdb86cb 100644 --- a/src/components/avatar/avatar.js +++ b/src/components/avatar/avatar.js @@ -139,7 +139,6 @@ export const BAvatar = /*#__PURE__*/ Vue.extend({ const square = props.square const rounded = square ? false : props.rounded === '' ? true : props.rounded || 'circle' const size = computeSize(props.size) - console.log(props.size, size) let $content = null if (children) { From d1474f28729e4e13ad97b75a87d56f85543d4c96 Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Mon, 23 Mar 2020 16:57:25 -0300 Subject: [PATCH 02/18] feat(b-avatar): add `alt` prop for adding alt attribute to image and icon avatars (closes #4990) (#4991) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(b-avatar): add `img-alt` prop for adding alt attribute to image avatars (closes #4990) * Update package.json * Update avatar.js * Update package.json * Update avatar.js * Update avatar.js * Update avatar.js Co-authored-by: Jacob Müller --- src/components/avatar/avatar.js | 41 +++++++++++++++++------------- src/components/avatar/package.json | 5 ++++ 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/src/components/avatar/avatar.js b/src/components/avatar/avatar.js index c3e3bdb86cb..6c5423536ca 100644 --- a/src/components/avatar/avatar.js +++ b/src/components/avatar/avatar.js @@ -11,9 +11,12 @@ import { BIconPersonFill } from '../../icons/icons' // --- Constants --- const NAME = 'BAvatar' +const CLASS_NAME = 'b-avatar' const RX_NUMBER = /^[0-9]*\.?[0-9]+$/ +const FONT_SIZE_SCALE = 0.4 + const DEFAULT_SIZES = { sm: '1.5em', md: '2.5em', @@ -81,6 +84,10 @@ const props = { type: String // default: null }, + alt: { + type: String, + default: 'avatar' + }, variant: { type: String, default: () => getComponentConfig(NAME, 'variant') @@ -130,40 +137,38 @@ export const BAvatar = /*#__PURE__*/ Vue.extend({ functional: true, props, render(h, { props, data, children }) { - const isButton = props.button + const { variant, disabled, square, icon, src, text, button: isButton, buttonType: type } = props const isBLink = !isButton && (props.href || props.to) const tag = isButton ? BButton : isBLink ? BLink : 'span' - const variant = props.variant - const disabled = props.disabled - const type = props.buttonType - const square = props.square const rounded = square ? false : props.rounded === '' ? true : props.rounded || 'circle' const size = computeSize(props.size) + const alt = props.alt || null + const ariaLabel = props.ariaLabel || null let $content = null if (children) { // Default slot overrides props $content = children - } else if (props.icon) { + } else if (icon) { $content = h(BIcon, { - props: { icon: props.icon }, - attrs: { 'aria-hidden': 'true' } + props: { icon }, + attrs: { 'aria-hidden': 'true', alt } }) - } else if (props.src) { - $content = h('img', { attrs: { src: props.src } }) - } else if (props.text) { - const fontSize = size ? `calc(${size} * 0.4)` : null - $content = h('span', { style: { fontSize } }, props.text) + } else if (src) { + $content = h('img', { attrs: { src, alt } }) + } else if (text) { + const fontSize = size ? `calc(${size} * ${FONT_SIZE_SCALE})` : null + $content = h('span', { style: { fontSize } }, text) } else { - $content = h(BIconPersonFill, { attrs: { 'aria-hidden': 'true' } }) + $content = h(BIconPersonFill, { attrs: { 'aria-hidden': 'true', alt } }) } const componentData = { - staticClass: 'b-avatar', + staticClass: CLASS_NAME, class: { // We use badge/button styles for theme variants - [`${isButton ? 'btn' : 'badge'}-${props.variant}`]: !!props.variant, - // Rounding / Square + [`${isButton ? 'btn' : 'badge'}-${variant}`]: !!variant, + // Rounding/Square rounded: rounded === true, 'rounded-0': square, [`rounded-${rounded}`]: rounded && rounded !== true, @@ -171,7 +176,7 @@ export const BAvatar = /*#__PURE__*/ Vue.extend({ disabled }, style: { width: size, height: size }, - attrs: { 'aria-label': props.ariaLabel || null }, + attrs: { 'aria-label': ariaLabel }, props: isButton ? { variant, disabled, type } : isBLink ? pluckProps(linkProps, props) : {} } diff --git a/src/components/avatar/package.json b/src/components/avatar/package.json index 62ed6f7ce3d..91376c9cce1 100644 --- a/src/components/avatar/package.json +++ b/src/components/avatar/package.json @@ -22,6 +22,11 @@ "prop": "icon", "description": "Icon name to use for the avatar. Must be all lowercase. Defaults to `person-fill` if `text` or `src` props not provided" }, + { + "prop": "alt", + "version": "2.9.0", + "description": "Value to place in the 'alt' attribute for image and icon avatars" + }, { "prop": "size", "description": "Size of the avatar. Refer to the documentation for details" From f7b7bddd42b274b6e46cbeba61b372d79ed33b28 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2020 22:47:48 -0300 Subject: [PATCH 03/18] chore(deps): update devdependency autoprefixer to ^9.7.5 (#4994) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 39 ++++++++++++++++++++++++++++++++++++--- 2 files changed, 37 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2d59b8b2032..29244b74b92 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "@nuxtjs/google-analytics": "^2.2.3", "@nuxtjs/pwa": "^3.0.0-beta.20", "@vue/test-utils": "1.0.0-beta.29", - "autoprefixer": "^9.7.4", + "autoprefixer": "^9.7.5", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.1.0", "babel-jest": "^25.1.0", diff --git a/yarn.lock b/yarn.lock index 7ea73574db1..20bd2870bb3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2473,7 +2473,7 @@ atob@^2.1.2: resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -autoprefixer@^9.6.1, autoprefixer@^9.7.4: +autoprefixer@^9.6.1: version "9.7.4" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.7.4.tgz#f8bf3e06707d047f0641d87aee8cfb174b2a5378" integrity sha512-g0Ya30YrMBAEZk60lp+qfX5YQllG+S5W3GYCFvyHTvhOki0AEQJLPEcIuGRsqVwLi8FvXPVtwTGhfr38hVpm0g== @@ -2486,6 +2486,19 @@ autoprefixer@^9.6.1, autoprefixer@^9.7.4: postcss "^7.0.26" postcss-value-parser "^4.0.2" +autoprefixer@^9.7.5: + version "9.7.5" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.7.5.tgz#8df10b9ff9b5814a8d411a5cfbab9c793c392376" + integrity sha512-URo6Zvt7VYifomeAfJlMFnYDhow1rk2bufwkbamPEAtQFcL11moLk4PnR7n9vlu7M+BkXAZkHFA0mIcY7tjQFg== + dependencies: + browserslist "^4.11.0" + caniuse-lite "^1.0.30001036" + chalk "^2.4.2" + normalize-range "^0.1.2" + num2fraction "^1.2.2" + postcss "^7.0.27" + postcss-value-parser "^4.0.3" + aws-sign2@~0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" @@ -2947,6 +2960,16 @@ browserslist@^4.0.0, browserslist@^4.6.4, browserslist@^4.8.3, browserslist@^4.8 electron-to-chromium "^1.3.363" node-releases "^1.1.50" +browserslist@^4.11.0: + version "4.11.0" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.11.0.tgz#aef4357b10a8abda00f97aac7cd587b2082ba1ad" + integrity sha512-WqEC7Yr5wUH5sg6ruR++v2SGOQYpyUdYYd4tZoAq1F7y+QXoLoYGXVbxhtaIqWmAJjtNTRjVD3HuJc1OXTel2A== + dependencies: + caniuse-lite "^1.0.30001035" + electron-to-chromium "^1.3.380" + node-releases "^1.1.52" + pkg-up "^3.1.0" + bser@2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" @@ -3223,6 +3246,11 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001020, can resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001035.tgz#2bb53b8aa4716b2ed08e088d4dc816a5fe089a1e" integrity sha512-C1ZxgkuA4/bUEdMbU5WrGY4+UhMFFiXrgNAfxiMIqWgFTWfv/xsZCS2xEHT2LMq7xAZfuAnu6mcqyDl0ZR6wLQ== +caniuse-lite@^1.0.30001036: + version "1.0.30001036" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001036.tgz#930ea5272010d8bf190d859159d757c0b398caf0" + integrity sha512-jU8CIFIj2oR7r4W+5AKcsvWNVIb6Q6OZE3UsrXrZBHFtreT4YgTeOJtTucp+zSedEpTi3L5wASSP0LYIE3if6w== + capture-exit@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4" @@ -4773,6 +4801,11 @@ electron-to-chromium@^1.3.363: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.376.tgz#7cb7b5205564a06c8f8ecfbe832cbd47a1224bb1" integrity sha512-cv/PYVz5szeMz192ngilmezyPNFkUjuynuL2vNdiqIrio440nfTDdc0JJU0TS2KHLSVCs9gBbt4CFqM+HcBnjw== +electron-to-chromium@^1.3.380: + version "1.3.381" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.381.tgz#952678ff91a5f36175a3832358a6dd2de3bf62b7" + integrity sha512-JQBpVUr83l+QOqPQpj2SbOve1bBE4ACpmwcMNqWlZmfib7jccxJ02qFNichDpZ5LS4Zsqc985NIPKegBIZjK8Q== + elegant-spinner@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" @@ -8917,7 +8950,7 @@ node-object-hash@^1.2.0: resolved "https://registry.yarnpkg.com/node-object-hash/-/node-object-hash-1.4.2.tgz#385833d85b229902b75826224f6077be969a9e94" integrity sha512-UdS4swXs85fCGWWf6t6DMGgpN/vnlKeSGEQ7hJcrs7PBFoxoKLmibc3QRb7fwiYsjdL7PX8iI/TMSlZ90dgHhQ== -node-releases@^1.1.50: +node-releases@^1.1.50, node-releases@^1.1.52: version "1.1.52" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.52.tgz#bcffee3e0a758e92e44ecfaecd0a47554b0bcba9" integrity sha512-snSiT1UypkgGt2wxPqS6ImEUICbNCMb31yaxWrOLXjhlt2z2/IBpaOxzONExqSm4y5oLnAqjjRWu+wsDzK5yNQ== @@ -10388,7 +10421,7 @@ postcss-value-parser@^3.0.0, postcss-value-parser@^3.2.3: resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281" integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ== -postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.2: +postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.2, postcss-value-parser@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.0.3.tgz#651ff4593aa9eda8d5d0d66593a2417aeaeb325d" integrity sha512-N7h4pG+Nnu5BEIzyeaaIYWs0LI5XC40OrRh5L60z0QjFsqGWcHcbkBvpe1WYpcIS9yQ8sOi/vIPt1ejQCrMVrg== From 811944feda139277b91c189c5c5eaff184414503 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2020 08:10:13 +0100 Subject: [PATCH 04/18] chore(deps): update devdependency lint-staged to ^10.0.9 (#4997) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 29244b74b92..bc7388a1e36 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,7 @@ "husky": "^4.2.3", "jest": "^25.1.0", "jest-environment-jsdom-fourteen": "^1.0.1", - "lint-staged": "^10.0.8", + "lint-staged": "^10.0.9", "loader-utils": "^2.0.0", "lodash": "^4.17.15", "marked": "^0.8.2", diff --git a/yarn.lock b/yarn.lock index 20bd2870bb3..6dfbba4c38d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8044,10 +8044,10 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= -lint-staged@^10.0.8: - version "10.0.8" - resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-10.0.8.tgz#0f7849cdc336061f25f5d4fcbcfa385701ff4739" - integrity sha512-Oa9eS4DJqvQMVdywXfEor6F4vP+21fPHF8LUXgBbVWUSWBddjqsvO6Bv1LwMChmgQZZqwUvgJSHlu8HFHAPZmA== +lint-staged@^10.0.9: + version "10.0.9" + resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-10.0.9.tgz#185aabb2432e9467c84add306c990f1c20da3cdb" + integrity sha512-NKJHYgRa8oI9c4Ic42ZtF2XA6Ps7lFbXwg3q0ZEP0r55Tw3YWykCW1RzW6vu+QIGqbsy7DxndvKu93Wtr5vPQw== dependencies: chalk "^3.0.0" commander "^4.0.1" From 621e9fcbbb68331b19565bbd22651a603595ceb0 Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Tue, 24 Mar 2020 04:48:07 -0300 Subject: [PATCH 05/18] chore(docs): minor update to homepage icons (#4996) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jacob Müller --- docs/pages/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/index.vue b/docs/pages/index.vue index d52a1db6f90..91fb03c4ee2 100644 --- a/docs/pages/index.vue +++ b/docs/pages/index.vue @@ -208,7 +208,7 @@ - + Modular From e8104b93542ae4ff8d66fd5b546db61da4f6324e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2020 10:47:33 +0100 Subject: [PATCH 06/18] chore(deps): update devdependency @babel/standalone to ^7.9.4 (#4998) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index bc7388a1e36..0de25bcd540 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "@babel/plugin-transform-modules-commonjs": "^7.9.0", "@babel/plugin-transform-runtime": "^7.9.0", "@babel/preset-env": "^7.9.0", - "@babel/standalone": "^7.9.3", + "@babel/standalone": "^7.9.4", "@nuxtjs/google-analytics": "^2.2.3", "@nuxtjs/pwa": "^3.0.0-beta.20", "@vue/test-utils": "1.0.0-beta.29", diff --git a/yarn.lock b/yarn.lock index 6dfbba4c38d..f092f12fc4f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1009,10 +1009,10 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/standalone@^7.9.3": - version "7.9.3" - resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.9.3.tgz#d2f1269fced5472d128287d22be6fe28cb737751" - integrity sha512-VOSaRpE/nrAKfndgjBuNvEZs5IM66VtI5Lu12H8vtMDgdD1ipMo0EY7m3MlCe2hbuCgyDLvwK6+Ss4W1gknW8g== +"@babel/standalone@^7.9.4": + version "7.9.4" + resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.9.4.tgz#078025ada03c3d8e60b4abfb042326ad9bfb035d" + integrity sha512-liRTBSbwxaXmrAqH43qF/fh7soqTMF3+j2eUdsRwKzPwu1WCUBPG1yZQFfk3Wrw3Pk4GFcJpI9dksXY+bhNMwg== "@babel/template@^7.4.0", "@babel/template@^7.7.4", "@babel/template@^7.8.3", "@babel/template@^7.8.6": version "7.8.6" From 144d45fb0e4d66bbf243b4a4df39d7f3b9b5c7cc Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Tue, 24 Mar 2020 13:55:41 -0300 Subject: [PATCH 07/18] feat(b-navbar-toggle): make default slot scoped (#4995) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jacob Müller --- src/components/collapse/collapse.js | 23 ++++----- src/components/navbar/README.md | 33 +++++++++++++ src/components/navbar/navbar-toggle.js | 32 +++++++------ src/components/navbar/navbar-toggle.spec.js | 52 ++++++++++++++++----- src/components/navbar/package.json | 14 ++++++ src/directives/toggle/toggle.js | 14 +++--- 6 files changed, 125 insertions(+), 43 deletions(-) diff --git a/src/components/collapse/collapse.js b/src/components/collapse/collapse.js index 7ad53694992..b71211fb89e 100644 --- a/src/components/collapse/collapse.js +++ b/src/components/collapse/collapse.js @@ -1,23 +1,24 @@ import Vue from '../../utils/vue' -import { isBrowser } from '../../utils/env' +import { BVCollapse } from '../../utils/bv-collapse' import { addClass, hasClass, removeClass, closest, matches, getCS } from '../../utils/dom' +import { isBrowser } from '../../utils/env' import { EVENT_OPTIONS_NO_CAPTURE, eventOnOff } from '../../utils/events' -import { BVCollapse } from '../../utils/bv-collapse' import idMixin from '../../mixins/id' import listenOnRootMixin from '../../mixins/listen-on-root' import normalizeSlotMixin from '../../mixins/normalize-slot' +import { + EVENT_TOGGLE, + EVENT_STATE, + EVENT_STATE_REQUEST, + EVENT_STATE_SYNC +} from '../../directives/toggle/toggle' + +// --- Constants --- -// Events we emit on $root -const EVENT_STATE = 'bv::collapse::state' +// Accordion event name we emit on `$root` const EVENT_ACCORDION = 'bv::collapse::accordion' -// Private event we emit on `$root` to ensure the toggle state is -// always synced. It gets emitted even if the state has not changed! -// This event is NOT to be documented as people should not be using it -const EVENT_STATE_SYNC = 'bv::collapse::sync::state' -// Events we listen to on `$root` -const EVENT_TOGGLE = 'bv::toggle::collapse' -const EVENT_STATE_REQUEST = 'bv::request::collapse::state' +// --- Main component --- // @vue/component export const BCollapse = /*#__PURE__*/ Vue.extend({ name: 'BCollapse', diff --git a/src/components/navbar/README.md b/src/components/navbar/README.md index 1693244e73d..ab3a510e663 100644 --- a/src/components/navbar/README.md +++ b/src/components/navbar/README.md @@ -281,6 +281,39 @@ will reverse the placement of the toggler. See the first example on this page for reference, and also refer to [``](/docs/components/collapse) for details on the collapse component. +#### Custom navbar toggle + +`` renders the default Bootstrap v4 _hamburger_ (which is a background SVG image). +You can supply your own content (such as an icon) via the optionally scoped `default` slot. The +default slot scope contains the property `expanded`, which will be `true` when the collapse is +expanded, or `false` when the collapse is collapsed. You can use this to swap the toggle content +based on the collapse state: + +```html + + + +``` + ## Printing Navbars are hidden by default when printing. Force them to be printed by setting the `print` prop. diff --git a/src/components/navbar/navbar-toggle.js b/src/components/navbar/navbar-toggle.js index 74282149d29..94e5bca8e8c 100644 --- a/src/components/navbar/navbar-toggle.js +++ b/src/components/navbar/navbar-toggle.js @@ -1,20 +1,22 @@ import Vue from '../../utils/vue' +import { getComponentConfig } from '../../utils/config' +import { toString } from '../../utils/string' import listenOnRootMixin from '../../mixins/listen-on-root' import normalizeSlotMixin from '../../mixins/normalize-slot' -import { getComponentConfig } from '../../utils/config' +import { EVENT_TOGGLE, EVENT_STATE, EVENT_STATE_SYNC } from '../../directives/toggle/toggle' -const NAME = 'BNavbarToggle' +// TODO: +// Switch to using `VBToggle` directive, will reduce code footprint +// Although the `click` event will no longer be cancellable +// Instead add `disabled` prop, and have `VBToggle` check element +// disabled state -// TODO: Switch to using VBToggle directive, will reduce code footprint +// --- Constants --- -// Events we emit on $root -const EVENT_TOGGLE = 'bv::toggle::collapse' - -// Events we listen to on $root -const EVENT_STATE = 'bv::collapse::state' -// This private event is NOT to be documented as people should not be using it. -const EVENT_STATE_SYNC = 'bv::collapse::sync::state' +const NAME = 'BNavbarToggle' +const CLASS_NAME = 'navbar-toggler' +// --- Main component --- // @vue/component export const BNavbarToggle = /*#__PURE__*/ Vue.extend({ name: NAME, @@ -52,19 +54,23 @@ export const BNavbarToggle = /*#__PURE__*/ Vue.extend({ } }, render(h) { + const expanded = this.toggleState return h( 'button', { - class: ['navbar-toggler'], + staticClass: CLASS_NAME, attrs: { type: 'button', 'aria-label': this.label, 'aria-controls': this.target, - 'aria-expanded': this.toggleState ? 'true' : 'false' + 'aria-expanded': toString(expanded) }, on: { click: this.onClick } }, - [this.normalizeSlot('default') || h('span', { class: ['navbar-toggler-icon'] })] + [ + this.normalizeSlot('default', { expanded }) || + h('span', { staticClass: `${CLASS_NAME}-icon` }) + ] ) } }) diff --git a/src/components/navbar/navbar-toggle.spec.js b/src/components/navbar/navbar-toggle.spec.js index a052fe57270..5131a19ff19 100644 --- a/src/components/navbar/navbar-toggle.spec.js +++ b/src/components/navbar/navbar-toggle.spec.js @@ -5,7 +5,7 @@ describe('navbar-toggle', () => { it('default has tag "button"', async () => { const wrapper = mount(BNavbarToggle, { propsData: { - target: 'target' + target: 'target-1' } }) expect(wrapper.is('button')).toBe(true) @@ -14,7 +14,7 @@ describe('navbar-toggle', () => { it('default has class "navbar-toggler"', async () => { const wrapper = mount(BNavbarToggle, { propsData: { - target: 'target' + target: 'target-2' } }) expect(wrapper.classes()).toContain('navbar-toggler') @@ -24,11 +24,11 @@ describe('navbar-toggle', () => { it('default has default attributes', async () => { const wrapper = mount(BNavbarToggle, { propsData: { - target: 'target' + target: 'target-3' } }) expect(wrapper.attributes('type')).toBe('button') - expect(wrapper.attributes('aria-controls')).toBe('target') + expect(wrapper.attributes('aria-controls')).toBe('target-3') expect(wrapper.attributes('aria-expanded')).toBe('false') expect(wrapper.attributes('aria-label')).toBe('Toggle navigation') }) @@ -36,7 +36,7 @@ describe('navbar-toggle', () => { it('default has inner button-close', async () => { const wrapper = mount(BNavbarToggle, { propsData: { - target: 'target' + target: 'target-4' } }) expect(wrapper.find('span.navbar-toggler-icon')).toBeDefined() @@ -45,17 +45,45 @@ describe('navbar-toggle', () => { it('accepts custom label when label prop is set', async () => { const wrapper = mount(BNavbarToggle, { propsData: { - target: 'target', + target: 'target-5', label: 'foobar' } }) expect(wrapper.attributes('aria-label')).toBe('foobar') }) + it('default slot scope works', async () => { + let scope = null + const wrapper = mount(BNavbarToggle, { + propsData: { + target: 'target-6' + }, + scopedSlots: { + default(ctx) { + scope = ctx + return this.$createElement('div', 'foobar') + } + } + }) + + expect(scope).not.toBe(null) + expect(scope.expanded).toBe(false) + + wrapper.vm.$root.$emit('bv::collapse::state', 'target-6', true) + + expect(scope).not.toBe(null) + expect(scope.expanded).toBe(true) + + wrapper.vm.$root.$emit('bv::collapse::state', 'target-6', false) + + expect(scope).not.toBe(null) + expect(scope.expanded).toBe(false) + }) + it('emits click event', async () => { const wrapper = mount(BNavbarToggle, { propsData: { - target: 'target' + target: 'target-7' } }) let rootClicked = false @@ -77,22 +105,22 @@ describe('navbar-toggle', () => { it('sets aria-expanded when receives root emit for target', async () => { const wrapper = mount(BNavbarToggle, { propsData: { - target: 'target' + target: 'target-8' } }) // Private state event - wrapper.vm.$root.$emit('bv::collapse::state', 'target', true) + wrapper.vm.$root.$emit('bv::collapse::state', 'target-8', true) expect(wrapper.attributes('aria-expanded')).toBe('true') - wrapper.vm.$root.$emit('bv::collapse::state', 'target', false) + wrapper.vm.$root.$emit('bv::collapse::state', 'target-8', false) expect(wrapper.attributes('aria-expanded')).toBe('false') wrapper.vm.$root.$emit('bv::collapse::state', 'foo', true) expect(wrapper.attributes('aria-expanded')).toBe('false') // Private sync event - wrapper.vm.$root.$emit('bv::collapse::sync::state', 'target', true) + wrapper.vm.$root.$emit('bv::collapse::sync::state', 'target-8', true) expect(wrapper.attributes('aria-expanded')).toBe('true') - wrapper.vm.$root.$emit('bv::collapse::sync::state', 'target', false) + wrapper.vm.$root.$emit('bv::collapse::sync::state', 'target-8', false) expect(wrapper.attributes('aria-expanded')).toBe('false') wrapper.vm.$root.$emit('bv::collapse::sync::state', 'foo', true) expect(wrapper.attributes('aria-expanded')).toBe('false') diff --git a/src/components/navbar/package.json b/src/components/navbar/package.json index dbb8b881b18..563ba0a9398 100644 --- a/src/components/navbar/package.json +++ b/src/components/navbar/package.json @@ -86,6 +86,20 @@ } ] } + ], + "slots": [ + { + "name": "default", + "description": "Alternate content to replace the default Bootstrap hamburger", + "scope": [ + { + "prop": "expanded", + "version": "2.9.0", + "type": "Boolean", + "description": "`true` if the collapse is expanded, `false` otherwise." + } + ] + } ] } ] diff --git a/src/directives/toggle/toggle.js b/src/directives/toggle/toggle.js index 32ae2a35713..490371f369c 100644 --- a/src/directives/toggle/toggle.js +++ b/src/directives/toggle/toggle.js @@ -13,17 +13,17 @@ const BV_TOGGLE_CONTROLS = '__BV_toggle_CONTROLS__' const BV_TOGGLE_TARGETS = '__BV_toggle_TARGETS__' // Emitted control event for collapse (emitted to collapse) -const EVENT_TOGGLE = 'bv::toggle::collapse' +export const EVENT_TOGGLE = 'bv::toggle::collapse' // Listen to event for toggle state update (emitted by collapse) -const EVENT_STATE = 'bv::collapse::state' +export const EVENT_STATE = 'bv::collapse::state' -// Private event emitted on $root to ensure the toggle state is always synced. -// Gets emitted even if the state of b-collapse has not changed. -// This event is NOT to be documented as people should not be using it. -const EVENT_STATE_SYNC = 'bv::collapse::sync::state' +// Private event emitted on `$root` to ensure the toggle state is always synced +// Gets emitted even if the state of b-collapse has not changed +// This event is NOT to be documented as people should not be using it +export const EVENT_STATE_SYNC = 'bv::collapse::sync::state' // Private event we send to collapse to request state update sync event -const EVENT_STATE_REQUEST = 'bv::request::collapse::state' +export const EVENT_STATE_REQUEST = 'bv::request::collapse::state' // Reset and remove a property from the provided element const resetProp = (el, prop) => { From 36c0e5a881fb3d6f7af94ac331272b047de087ee Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2020 15:38:26 -0300 Subject: [PATCH 08/18] chore(deps): update devdependency rollup to ^2.2.0 (#5006) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0de25bcd540..8f8516a1140 100644 --- a/package.json +++ b/package.json @@ -145,7 +145,7 @@ "postcss-cli": "^7.1.0", "prettier": "1.14.3", "require-context": "^1.1.0", - "rollup": "^2.1.0", + "rollup": "^2.2.0", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", diff --git a/yarn.lock b/yarn.lock index f092f12fc4f..0fc4871f548 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11252,10 +11252,10 @@ rollup-pluginutils@^2.8.1: dependencies: estree-walker "^0.6.1" -rollup@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.1.0.tgz#552e248e397a06b9c6db878c0564ca4ee06729c9" - integrity sha512-gfE1455AEazVVTJoeQtcOq/U6GSxwoj4XPSWVsuWmgIxj7sBQNLDOSA82PbdMe+cP8ql8fR1jogPFe8Wg8g4SQ== +rollup@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.2.0.tgz#d82cfd6eda6d9561593a7e8a2fc0b72811a89b49" + integrity sha512-iAu/j9/WJ0i+zT0sAMuQnsEbmOKzdQ4Yxu5rbPs9aUCyqveI1Kw3H4Fi9NWfCOpb8luEySD2lDyFWL9CrLE8iw== optionalDependencies: fsevents "~2.1.2" From 68ad33f0d945c6f35645f0ea08340ac8c1014b7a Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Tue, 24 Mar 2020 16:49:20 -0300 Subject: [PATCH 09/18] docs(play): ensure that the Icons plugin is imported when exporting: (#5003) --- docs/pages/play.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/pages/play.vue b/docs/pages/play.vue index 11eb92f4804..bdd02eeb662 100644 --- a/docs/pages/play.vue +++ b/docs/pages/play.vue @@ -436,7 +436,8 @@ export default { externalJs: [ '//unpkg.com/babel-polyfill/dist/polyfill.min.js', `//unpkg.com/vue@${vueVersion}/dist/vue.min.js`, - `//unpkg.com/bootstrap-vue@${bootstrapVueVersion}/dist/bootstrap-vue.js` + `//unpkg.com/bootstrap-vue@${bootstrapVueVersion}/dist/bootstrap-vue.js`, + `//unpkg.com/bootstrap-vue@${bootstrapVueVersion}/dist/bootstrap-vue-icons.js` ] } }, @@ -479,13 +480,14 @@ export default { const htmlContent = '
' const jsContent = [ "import Vue from 'vue'", - "import BootstrapVue from 'bootstrap-vue'", + "import { BootstrapVue, BootstrapVueIcons } from 'bootstrap-vue'", "import App from './App'", '', "import 'bootstrap/dist/css/bootstrap.css'", "import 'bootstrap-vue/dist/bootstrap-vue.css'", '', 'Vue.use(BootstrapVue)', + 'Vue.use(BootstrapVueIcons)', '', "new Vue({ el: '#app', render: h => h(App) })" ].join('\r\n') From eb259b998dfd3e88a1b04ed8d3f4c97560f69dbb Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Tue, 24 Mar 2020 16:53:36 -0300 Subject: [PATCH 10/18] feat(b-form-datepicker, b-form-timepicker): emit `shown` and `hidden` events (#5004) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(b-form-datepicker, b-form-timepicker): emit shown and hidden events * Update form-timepicker.js * Update package.json * Update package.json Co-authored-by: Jacob Müller --- src/components/form-datepicker/form-datepicker.js | 2 ++ src/components/form-datepicker/package.json | 10 ++++++++++ src/components/form-timepicker/form-timepicker.js | 2 ++ src/components/form-timepicker/package.json | 10 ++++++++++ 4 files changed, 24 insertions(+) diff --git a/src/components/form-datepicker/form-datepicker.js b/src/components/form-datepicker/form-datepicker.js index 50b7d46efe6..033e64ad579 100644 --- a/src/components/form-datepicker/form-datepicker.js +++ b/src/components/form-datepicker/form-datepicker.js @@ -400,10 +400,12 @@ export const BFormDatepicker = /*#__PURE__*/ Vue.extend({ try { this.$refs.calendar.focus() } catch {} + this.$emit('shown') }) }, onHidden() { this.isVisible = false + this.$emit('hidden') }, // Render helpers defaultButtonFn({ isHovered, hasFocus }) { diff --git a/src/components/form-datepicker/package.json b/src/components/form-datepicker/package.json index b0f3f7fffab..f92a847c800 100644 --- a/src/components/form-datepicker/package.json +++ b/src/components/form-datepicker/package.json @@ -260,6 +260,16 @@ "type": "Object" } ] + }, + { + "event": "shown", + "version": "2.9.0", + "description": "Emitted when the picker popup has shown" + }, + { + "event": "hidden", + "version": "2.9.0", + "description": "Emitted when the picker popup has hidden" } ], "slots": [ diff --git a/src/components/form-timepicker/form-timepicker.js b/src/components/form-timepicker/form-timepicker.js index b369a040ce3..839580eabc0 100644 --- a/src/components/form-timepicker/form-timepicker.js +++ b/src/components/form-timepicker/form-timepicker.js @@ -316,10 +316,12 @@ export const BFormTimepicker = /*#__PURE__*/ Vue.extend({ try { this.$refs.time.focus() } catch {} + this.$emit('shown') }) }, onHidden() { this.isVisible = false + this.$emit('hidden') }, // Render function helpers defaultButtonFn({ isHovered, hasFocus }) { diff --git a/src/components/form-timepicker/package.json b/src/components/form-timepicker/package.json index 4e006db1f10..a491c8989f5 100644 --- a/src/components/form-timepicker/package.json +++ b/src/components/form-timepicker/package.json @@ -214,6 +214,16 @@ "type": "Object" } ] + }, + { + "event": "shown", + "version": "2.9.0", + "description": "Emitted when the picker popup has shown" + }, + { + "event": "hidden", + "version": "2.9.0", + "description": "Emitted when the picker popup has hidden" } ], "slots": [ From 0551dec4520f56c750c6e67ac69396ead2fdbb15 Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Tue, 24 Mar 2020 18:44:34 -0300 Subject: [PATCH 11/18] chore(docs): fix a few minor issues with some examples (#5007) --- src/components/form-datepicker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/form-datepicker/README.md b/src/components/form-datepicker/README.md index ce8ddf5c01e..952a9ad9d2b 100644 --- a/src/components/form-datepicker/README.md +++ b/src/components/form-datepicker/README.md @@ -343,7 +343,7 @@ In the following simple example, we are placing the datepicker (button only mode locale="en-US" aria-controls="example-input" > - +

Value: '{{ value }}'

From ee6fe52079924ca732166c58368d4f578e4900fc Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Wed, 25 Mar 2020 05:59:46 -0300 Subject: [PATCH 12/18] chore(docs): use docs issue template when reporting docs issue (#5011) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(docs): prompt user for issue type when reporting docs issue * Create DOCS_ISSUE_TEMPLATE.md * Update feedback.js * Update DOCS_ISSUE_TEMPLATE.md * Update DOCS_ISSUE_TEMPLATE.md Co-authored-by: Jacob Müller --- .github/ISSUE_TEMPLATE/DOCS_ISSUE_TEMPLATE.md | 26 +++++++++++++++++++ docs/components/feedback.js | 4 +-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/DOCS_ISSUE_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/DOCS_ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/DOCS_ISSUE_TEMPLATE.md new file mode 100644 index 00000000000..3445bd6d8ca --- /dev/null +++ b/.github/ISSUE_TEMPLATE/DOCS_ISSUE_TEMPLATE.md @@ -0,0 +1,26 @@ +--- +name: 📖 Documentation issue +about: Help improve our docs. +--- + +### Documentation issue + + + +- [ ] Reporting a typo +- [ ] Reporting a documentation bug +- [ ] Documentation improvement +- [ ] Documentation feedback + + + +### Is there a specific documentation page you are reporting? + +Enter the URL or documentation section here. + +### Additional context or description + +Provide any additional details here as needed. diff --git a/docs/components/feedback.js b/docs/components/feedback.js index a2450b7c3a1..bedb8338f80 100644 --- a/docs/components/feedback.js +++ b/docs/components/feedback.js @@ -12,8 +12,8 @@ export default { return slug || name === 'docs' || name === 'docs-icons' }, reportIssueUrl() { - // Add appreciate query params for proper issue title - return `${this.baseUrl}/issues/new?title=Docs` + // Select issue template + return `${this.baseUrl}/issues/new?template=DOCS_ISSUE_TEMPLATE.md` }, editPageUrl() { const name = this.$route.name From 662c8e0709c8c73fb2119976d1906943cfe6daad Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Wed, 25 Mar 2020 11:08:14 -0300 Subject: [PATCH 13/18] feat(b-aspect): new custom component `` (#5008) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jacob Müller --- src/components/aspect/README.md | 67 +++++++++++ src/components/aspect/aspect.js | 56 ++++++++++ src/components/aspect/aspect.spec.js | 117 ++++++++++++++++++++ src/components/aspect/index.d.ts | 11 ++ src/components/aspect/index.js | 8 ++ src/components/aspect/package.json | 21 ++++ src/components/embed/README.md | 4 + src/components/form-spinbutton/README.md | 8 +- src/components/form-spinbutton/package.json | 1 - src/components/index.d.ts | 1 + src/components/index.js | 2 + src/index.js | 4 + 12 files changed, 296 insertions(+), 4 deletions(-) create mode 100644 src/components/aspect/README.md create mode 100644 src/components/aspect/aspect.js create mode 100644 src/components/aspect/aspect.spec.js create mode 100644 src/components/aspect/index.d.ts create mode 100644 src/components/aspect/index.js create mode 100644 src/components/aspect/package.json diff --git a/src/components/aspect/README.md b/src/components/aspect/README.md new file mode 100644 index 00000000000..59156c9d278 --- /dev/null +++ b/src/components/aspect/README.md @@ -0,0 +1,67 @@ +# Aspect + +> The `` component can be used to maintain a minimum responsive aspect ratio for content. +> When the content is longer than the available height, then the component will expand vertically to +> fit all content. If the content is shorter than the computed aspect height, the component will +> ensure a minimum height is maintained. + +## Overview + +The `` component was introduced in BootstrapVue `v2.9.0`. + +The default [aspect]() ratio is `1:1` (ratio of +`1`), which makes the height always be at least the same as the width. The `aspect` prop can be used +to specify an arbitrary aspect ratio (i.e. `1.5`) or a ratio as a string such as `'16:9'` or +`'4:3'`. + +The width will always be 100% of the available width in the parent element/component. + +```html + + + + + +``` + +## See also + +- [`` component](/docs/components/embed) for responsive embeds (videos, iframes, etc) diff --git a/src/components/aspect/aspect.js b/src/components/aspect/aspect.js new file mode 100644 index 00000000000..905a226679f --- /dev/null +++ b/src/components/aspect/aspect.js @@ -0,0 +1,56 @@ +import Vue from '../../utils/vue' +import { toFloat } from '../../utils/number' +import normalizeSlotMixin from '../../mixins/normalize-slot' + +// --- Constants --- +const NAME = 'BAspect' +const CLASS_NAME = 'b-aspect' + +const RX_ASPECT = /^\d+(\.\d*)?[/:]\d+(\.\d*)?$/ +const RX_SEPARATOR = /[/:]/ + +// --- Main Component --- +export const BAspect = /*#__PURE__*/ Vue.extend({ + name: NAME, + mixins: [normalizeSlotMixin], + props: { + aspect: { + // Accepts a number (i.e. `16 / 9`, `1`, `4 / 3`) + // Or a string (i.e. '16/9', '16:9', '4:3' '1:1') + type: [Number, String], + default: '1:1' + }, + tag: { + type: String, + default: 'div' + } + }, + computed: { + padding() { + const aspect = this.aspect + let ratio = 1 + if (RX_ASPECT.test(aspect)) { + const [width, height] = aspect.split(RX_SEPARATOR).map(v => toFloat(v) || 1) + ratio = width / height + } else { + ratio = toFloat(aspect) || 1 + } + return `${100 / Math.abs(ratio)}%` + } + }, + render(h) { + const $sizer = h('div', { + staticClass: `${CLASS_NAME}-sizer flex-grow-1`, + style: { paddingBottom: this.padding, height: 0 } + }) + const $content = h( + 'div', + { + staticClass: `${CLASS_NAME}-content flex-grow-1 w-100 mw-100`, + style: { marginLeft: '-100%' } + }, + [this.normalizeSlot('default')] + ) + return h(this.tag, { staticClass: `${CLASS_NAME} d-flex` }, [$sizer, $content]) + } +}) diff --git a/src/components/aspect/aspect.spec.js b/src/components/aspect/aspect.spec.js new file mode 100644 index 00000000000..66e003c2c59 --- /dev/null +++ b/src/components/aspect/aspect.spec.js @@ -0,0 +1,117 @@ +import { mount } from '@vue/test-utils' +import { BAspect } from './aspect' + +describe('aspect', () => { + it('should have expected default structure', async () => { + const wrapper = mount(BAspect) + expect(wrapper.isVueInstance()).toBe(true) + expect(wrapper.is('div')).toBe(true) + expect(wrapper.classes()).toContain('b-aspect') + expect(wrapper.classes()).toContain('d-flex') + expect(wrapper.classes().length).toBe(2) + + const $sizer = wrapper.find('.b-aspect-sizer') + expect($sizer.exists()).toBe(true) + expect($sizer.is('div')).toBe(true) + expect($sizer.classes()).toContain('flex-grow-1') + // Default aspect ratio is 1:1 + expect($sizer.attributes('style')).toContain('padding-bottom: 100%;') + + const $content = wrapper.find('.b-aspect-content') + expect($content.exists()).toBe(true) + expect($content.is('div')).toBe(true) + expect($content.classes()).toContain('flex-grow-1') + expect($content.classes()).toContain('w-100') + expect($content.classes()).toContain('mw-100') + expect($content.attributes('style')).toContain('margin-left: -100%;') + + wrapper.destroy() + }) + + it('should have expected structure when prop `tag` is set', async () => { + const wrapper = mount(BAspect, { + propsData: { + tag: 'section' + } + }) + expect(wrapper.isVueInstance()).toBe(true) + expect(wrapper.is('section')).toBe(true) + expect(wrapper.classes()).toContain('b-aspect') + expect(wrapper.classes()).toContain('d-flex') + expect(wrapper.classes().length).toBe(2) + + const $sizer = wrapper.find('.b-aspect-sizer') + expect($sizer.exists()).toBe(true) + expect($sizer.is('div')).toBe(true) + expect($sizer.classes()).toContain('flex-grow-1') + // Default aspect ratio is 1:1 + expect($sizer.attributes('style')).toContain('padding-bottom: 100%;') + + const $content = wrapper.find('.b-aspect-content') + expect($content.exists()).toBe(true) + expect($content.is('div')).toBe(true) + expect($content.classes()).toContain('flex-grow-1') + expect($content.classes()).toContain('w-100') + expect($content.classes()).toContain('mw-100') + expect($content.attributes('style')).toContain('margin-left: -100%;') + + wrapper.destroy() + }) + + it('should have expected structure when aspect is set to "4:3"', async () => { + const wrapper = mount(BAspect, { + propsData: { + aspect: '4:3' + } + }) + expect(wrapper.isVueInstance()).toBe(true) + expect(wrapper.is('div')).toBe(true) + expect(wrapper.classes()).toContain('b-aspect') + expect(wrapper.classes()).toContain('d-flex') + expect(wrapper.classes().length).toBe(2) + + const $sizer = wrapper.find('.b-aspect-sizer') + expect($sizer.exists()).toBe(true) + expect($sizer.is('div')).toBe(true) + expect($sizer.classes()).toContain('flex-grow-1') + expect($sizer.attributes('style')).toContain('padding-bottom: 75%;') + + const $content = wrapper.find('.b-aspect-content') + expect($content.exists()).toBe(true) + expect($content.is('div')).toBe(true) + expect($content.classes()).toContain('flex-grow-1') + expect($content.classes()).toContain('w-100') + expect($content.classes()).toContain('mw-100') + expect($content.attributes('style')).toContain('margin-left: -100%;') + + wrapper.destroy() + }) + it('should have expected structure when aspect is set to `16/9`', async () => { + const wrapper = mount(BAspect, { + propsData: { + aspect: 16 / 9 + } + }) + expect(wrapper.isVueInstance()).toBe(true) + expect(wrapper.is('div')).toBe(true) + expect(wrapper.classes()).toContain('b-aspect') + expect(wrapper.classes()).toContain('d-flex') + expect(wrapper.classes().length).toBe(2) + + const $sizer = wrapper.find('.b-aspect-sizer') + expect($sizer.exists()).toBe(true) + expect($sizer.is('div')).toBe(true) + expect($sizer.classes()).toContain('flex-grow-1') + expect($sizer.attributes('style')).toContain('padding-bottom: 56.25%;') + + const $content = wrapper.find('.b-aspect-content') + expect($content.exists()).toBe(true) + expect($content.is('div')).toBe(true) + expect($content.classes()).toContain('flex-grow-1') + expect($content.classes()).toContain('w-100') + expect($content.classes()).toContain('mw-100') + expect($content.attributes('style')).toContain('margin-left: -100%;') + + wrapper.destroy() + }) +}) diff --git a/src/components/aspect/index.d.ts b/src/components/aspect/index.d.ts new file mode 100644 index 00000000000..d2113036ca6 --- /dev/null +++ b/src/components/aspect/index.d.ts @@ -0,0 +1,11 @@ +// +// Aspect +// +import Vue from 'vue' +import { BvPlugin, BvComponent } from '../../' + +// Plugin +export declare const AspectPlugin: BvPlugin + +// Component: b-aspect +export declare class BAspect extends BvComponent {} diff --git a/src/components/aspect/index.js b/src/components/aspect/index.js new file mode 100644 index 00000000000..82ca1cf7233 --- /dev/null +++ b/src/components/aspect/index.js @@ -0,0 +1,8 @@ +import { BAspect } from './aspect' +import { pluginFactory } from '../../utils/plugins' + +const AspectPlugin = /*#__PURE__*/ pluginFactory({ + components: { BAspect } +}) + +export { AspectPlugin, BAspect } diff --git a/src/components/aspect/package.json b/src/components/aspect/package.json new file mode 100644 index 00000000000..5a3440f7a3e --- /dev/null +++ b/src/components/aspect/package.json @@ -0,0 +1,21 @@ +{ + "name": "@bootstrap-vue/aspect", + "version": "1.0.0", + "meta": { + "title": "Aspect", + "new": true, + "version": "2.9.0", + "description": "The `` component can be used to maintain a minimum responsive aspect ratio for content.", + "components": [ + { + "component": "BAspect", + "props": [ + { + "prop": "aspect", + "description": "Aspect as a width to height numeric ratio (such as `1.5`) or `width:height` string (such as '16:9')" + } + ] + } + ] + } +} diff --git a/src/components/embed/README.md b/src/components/embed/README.md index 5957a3cb006..5ac71ad8672 100644 --- a/src/components/embed/README.md +++ b/src/components/embed/README.md @@ -56,4 +56,8 @@ embedded element. Note that the type `iframe` does not support any children. ``` +## See also + +- [`` component](/docs/components/aspect) + diff --git a/src/components/form-spinbutton/README.md b/src/components/form-spinbutton/README.md index c6c9637e979..e72da2c1dc9 100644 --- a/src/components/form-spinbutton/README.md +++ b/src/components/form-spinbutton/README.md @@ -4,7 +4,11 @@ > incrementing or decrementing a numerical value within a range of a minimum and maximum number, > with optional step value. -`` is +## Overview + +`` was introduced in BootstrapVue `v2.5.0`. + +The component `` is [WAI-ARIA compliant](https://www.w3.org/TR/wai-aria-practices-1.2/#spinbutton), allowing for [keyboard control](#accessibility), and supports both horizontal (default) and vertical layout. @@ -33,8 +37,6 @@ Similar to [range type inputs](/docs/components/form-input#range-type-input), Bo ``` -## Overview - The ArrowUp and ArrowDown keys can be used to increment or decrement the value. diff --git a/src/components/form-spinbutton/package.json b/src/components/form-spinbutton/package.json index 523f599eb94..d27b987de99 100644 --- a/src/components/form-spinbutton/package.json +++ b/src/components/form-spinbutton/package.json @@ -3,7 +3,6 @@ "version": "1.0.0", "meta": { "title": "Form Spinbutton", - "new": true, "version": "2.5.0", "description": "BootstrapVue custom numerical spinbutton form input component, featuring WAI-ARIA accessibility (a11y) and internationalization (i18n)", "components": [ diff --git a/src/components/index.d.ts b/src/components/index.d.ts index 102a27b47bb..5b3c3d1c7d0 100644 --- a/src/components/index.d.ts +++ b/src/components/index.d.ts @@ -5,6 +5,7 @@ export declare const componentsPlugin: BvPlugin // Export all components as named exports export * from './alert' +export * from './aspect' export * from './avatar' export * from './badge' export * from './breadcrumb' diff --git a/src/components/index.js b/src/components/index.js index 8b876cbc1d6..74e47073bb6 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -2,6 +2,7 @@ import { pluginFactory } from '../utils/plugins' // Component group plugins import { AlertPlugin } from './alert' +import { AspectPlugin } from './aspect' import { AvatarPlugin } from './avatar' import { BadgePlugin } from './badge' import { BreadcrumbPlugin } from './breadcrumb' @@ -53,6 +54,7 @@ import { TooltipPlugin } from './tooltip' export const componentsPlugin = /*#__PURE__*/ pluginFactory({ plugins: { AlertPlugin, + AspectPlugin, AvatarPlugin, BadgePlugin, BreadcrumbPlugin, diff --git a/src/index.js b/src/index.js index 8dfecef73db..80c4ce9eac1 100644 --- a/src/index.js +++ b/src/index.js @@ -67,6 +67,10 @@ export * from './icons/icons' export { AlertPlugin } from './components/alert' export { BAlert } from './components/alert/alert' +// export * from './components/aspect' +export { AspectPlugin } from './components/aspect' +export { BAspect } from './components/aspect/aspect' + // export * from './components/avatar' export { AvatarPlugin } from './components/avatar' export { BAvatar } from './components/avatar/avatar' From 447694540deff0bd4e5d7b63244f07de0d0c355c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 25 Mar 2020 15:23:43 -0300 Subject: [PATCH 14/18] chore(deps): update all non-major dependencies to ^25.2.0 (#5015) Co-authored-by: Renovate Bot --- package.json | 4 +- yarn.lock | 716 ++++++++++++++++++++++++++------------------------- 2 files changed, 370 insertions(+), 350 deletions(-) diff --git a/package.json b/package.json index 8f8516a1140..898a3271f45 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,7 @@ "autoprefixer": "^9.7.5", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.1.0", - "babel-jest": "^25.1.0", + "babel-jest": "^25.2.0", "babel-plugin-istanbul": "^6.0.0", "bootstrap-icons": "^1.0.0-alpha3", "clean-css-cli": "^4.3.0", @@ -134,7 +134,7 @@ "highlight.js": "^9.18.1", "html-loader": "^1.0.0", "husky": "^4.2.3", - "jest": "^25.1.0", + "jest": "^25.2.0", "jest-environment-jsdom-fourteen": "^1.0.1", "lint-staged": "^10.0.9", "loader-utils": "^2.0.0", diff --git a/yarn.lock b/yarn.lock index 0fc4871f548..572536ff59f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1113,46 +1113,46 @@ chalk "^2.0.1" slash "^2.0.0" -"@jest/console@^25.1.0": - version "25.1.0" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-25.1.0.tgz#1fc765d44a1e11aec5029c08e798246bd37075ab" - integrity sha512-3P1DpqAMK/L07ag/Y9/Jup5iDEG9P4pRAuZiMQnU0JB3UOvCyYCjCoxr7sIA80SeyUCUKrr24fKAxVpmBgQonA== +"@jest/console@^25.2.0": + version "25.2.0" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-25.2.0.tgz#e2c37024d97ded0448be8c846db4ce54aa4b66dd" + integrity sha512-mUQTLxw/q0S8duskmb1PY0Yq7RQ0Sr1st7pUhFCcJ7wcPRPFs5t6k6bJWTellAF/8wH/ar8tZSwSIiBYAj559w== dependencies: - "@jest/source-map" "^25.1.0" + "@jest/source-map" "^25.2.0" chalk "^3.0.0" - jest-util "^25.1.0" + jest-util "^25.2.0" slash "^3.0.0" -"@jest/core@^25.1.0": - version "25.1.0" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-25.1.0.tgz#3d4634fc3348bb2d7532915d67781cdac0869e47" - integrity sha512-iz05+NmwCmZRzMXvMo6KFipW7nzhbpEawrKrkkdJzgytavPse0biEnCNr2wRlyCsp3SmKaEY+SGv7YWYQnIdig== - dependencies: - "@jest/console" "^25.1.0" - "@jest/reporters" "^25.1.0" - "@jest/test-result" "^25.1.0" - "@jest/transform" "^25.1.0" - "@jest/types" "^25.1.0" +"@jest/core@^25.2.0": + version "25.2.0" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-25.2.0.tgz#c1d65a7a2e4339b815dc0fe16d447f5eea7ed591" + integrity sha512-8R7gaUuMnilS8QBQOT5lF6KS/+ocHIiM6Ou9gnRB0GQA138I2G9tRs/D9MR9hkvuYGLy+VoqOTdLKUT60nzlVw== + dependencies: + "@jest/console" "^25.2.0" + "@jest/reporters" "^25.2.0" + "@jest/test-result" "^25.2.0" + "@jest/transform" "^25.2.0" + "@jest/types" "^25.2.0" ansi-escapes "^4.2.1" chalk "^3.0.0" exit "^0.1.2" graceful-fs "^4.2.3" - jest-changed-files "^25.1.0" - jest-config "^25.1.0" - jest-haste-map "^25.1.0" - jest-message-util "^25.1.0" - jest-regex-util "^25.1.0" - jest-resolve "^25.1.0" - jest-resolve-dependencies "^25.1.0" - jest-runner "^25.1.0" - jest-runtime "^25.1.0" - jest-snapshot "^25.1.0" - jest-util "^25.1.0" - jest-validate "^25.1.0" - jest-watcher "^25.1.0" + jest-changed-files "^25.2.0" + jest-config "^25.2.0" + jest-haste-map "^25.2.0" + jest-message-util "^25.2.0" + jest-regex-util "^25.2.0" + jest-resolve "^25.2.0" + jest-resolve-dependencies "^25.2.0" + jest-runner "^25.2.0" + jest-runtime "^25.2.0" + jest-snapshot "^25.2.0" + jest-util "^25.2.0" + jest-validate "^25.2.0" + jest-watcher "^25.2.0" micromatch "^4.0.2" p-each-series "^2.1.0" - realpath-native "^1.1.0" + realpath-native "^2.0.0" rimraf "^3.0.0" slash "^3.0.0" strip-ansi "^6.0.0" @@ -1167,14 +1167,14 @@ "@jest/types" "^24.9.0" jest-mock "^24.9.0" -"@jest/environment@^25.1.0": - version "25.1.0" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-25.1.0.tgz#4a97f64770c9d075f5d2b662b5169207f0a3f787" - integrity sha512-cTpUtsjU4cum53VqBDlcW0E4KbQF03Cn0jckGPW/5rrE9tb+porD3+hhLtHAwhthsqfyF+bizyodTlsRA++sHg== +"@jest/environment@^25.2.0": + version "25.2.0" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-25.2.0.tgz#20984739c9d85d03a15c0fb2a75558702202353c" + integrity sha512-cLkCRmVYg9QnyTLxZMUK72BVnwe/+ukxhwbt0DyFK+wayrlUtseusLfl9yvnarPzHtCWVx2LL68C6iOg2V1TdA== dependencies: - "@jest/fake-timers" "^25.1.0" - "@jest/types" "^25.1.0" - jest-mock "^25.1.0" + "@jest/fake-timers" "^25.2.0" + "@jest/types" "^25.2.0" + jest-mock "^25.2.0" "@jest/fake-timers@^24.3.0", "@jest/fake-timers@^24.9.0": version "24.9.0" @@ -1185,28 +1185,27 @@ jest-message-util "^24.9.0" jest-mock "^24.9.0" -"@jest/fake-timers@^25.1.0": - version "25.1.0" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-25.1.0.tgz#a1e0eff51ffdbb13ee81f35b52e0c1c11a350ce8" - integrity sha512-Eu3dysBzSAO1lD7cylZd/CVKdZZ1/43SF35iYBNV1Lvvn2Undp3Grwsv8PrzvbLhqwRzDd4zxrY4gsiHc+wygQ== +"@jest/fake-timers@^25.2.0": + version "25.2.0" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-25.2.0.tgz#9410a2f4db59f09d661005193d1626df22b316bb" + integrity sha512-IcxxIEHsBspeentekQW5OLJqBWfAb+CSabDo8yyYG13iX5mKq54B2bdqvvPdAZ5LGK7dgBsTsFgteEn0xTtylQ== dependencies: - "@jest/types" "^25.1.0" - jest-message-util "^25.1.0" - jest-mock "^25.1.0" - jest-util "^25.1.0" + "@jest/types" "^25.2.0" + jest-message-util "^25.2.0" + jest-mock "^25.2.0" + jest-util "^25.2.0" lolex "^5.0.0" -"@jest/reporters@^25.1.0": - version "25.1.0" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-25.1.0.tgz#9178ecf136c48f125674ac328f82ddea46e482b0" - integrity sha512-ORLT7hq2acJQa8N+NKfs68ZtHFnJPxsGqmofxW7v7urVhzJvpKZG9M7FAcgh9Ee1ZbCteMrirHA3m5JfBtAaDg== +"@jest/reporters@^25.2.0": + version "25.2.0" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-25.2.0.tgz#828dc217cb7480cdb138e5ff91174deaae80624a" + integrity sha512-raHy7kGJACB+F5ioLoKMsbWJv2RgaFAq/RdnMUtOODqGo973NeWcUJckSSY/FCvAvf3Mw2UOmQA90x5UZ4C0sg== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^25.1.0" - "@jest/environment" "^25.1.0" - "@jest/test-result" "^25.1.0" - "@jest/transform" "^25.1.0" - "@jest/types" "^25.1.0" + "@jest/console" "^25.2.0" + "@jest/test-result" "^25.2.0" + "@jest/transform" "^25.2.0" + "@jest/types" "^25.2.0" chalk "^3.0.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" @@ -1216,11 +1215,10 @@ istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.0.0" - jest-haste-map "^25.1.0" - jest-resolve "^25.1.0" - jest-runtime "^25.1.0" - jest-util "^25.1.0" - jest-worker "^25.1.0" + jest-haste-map "^25.2.0" + jest-resolve "^25.2.0" + jest-util "^25.2.0" + jest-worker "^25.2.0" slash "^3.0.0" source-map "^0.6.0" string-length "^3.1.0" @@ -1238,10 +1236,10 @@ graceful-fs "^4.1.15" source-map "^0.6.0" -"@jest/source-map@^25.1.0": - version "25.1.0" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-25.1.0.tgz#b012e6c469ccdbc379413f5c1b1ffb7ba7034fb0" - integrity sha512-ohf2iKT0xnLWcIUhL6U6QN+CwFWf9XnrM2a6ybL9NXxJjgYijjLSitkYHIdzkd8wFliH73qj/+epIpTiWjRtAA== +"@jest/source-map@^25.2.0": + version "25.2.0" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-25.2.0.tgz#2b2d4e587a85fd95dcf6f3bb757680ac9f662bda" + integrity sha512-KX8sYbzd8h7Nfc6dQjED8FzzR6o3QocpJllrBmsnb4BuVN7k2pLeIc2lRrUPXrPiidUwvA1H/AeIgGWNVacZvw== dependencies: callsites "^3.0.0" graceful-fs "^4.2.3" @@ -1256,26 +1254,26 @@ "@jest/types" "^24.9.0" "@types/istanbul-lib-coverage" "^2.0.0" -"@jest/test-result@^25.1.0": - version "25.1.0" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-25.1.0.tgz#847af2972c1df9822a8200457e64be4ff62821f7" - integrity sha512-FZzSo36h++U93vNWZ0KgvlNuZ9pnDnztvaM7P/UcTx87aPDotG18bXifkf1Ji44B7k/eIatmMzkBapnAzjkJkg== +"@jest/test-result@^25.2.0": + version "25.2.0" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-25.2.0.tgz#8c0e50247c4633c92d463c5494a711215f7c1773" + integrity sha512-FoxHScuV+h2LFFF7I2Me22qSv+Rh1aBBKLvVqWNM0Rkevjil1+wKpri7hQh9NaTk28rAo/iZB1J4n4U75PzGQw== dependencies: - "@jest/console" "^25.1.0" - "@jest/transform" "^25.1.0" - "@jest/types" "^25.1.0" + "@jest/console" "^25.2.0" + "@jest/transform" "^25.2.0" + "@jest/types" "^25.2.0" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^25.1.0": - version "25.1.0" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-25.1.0.tgz#4df47208542f0065f356fcdb80026e3c042851ab" - integrity sha512-WgZLRgVr2b4l/7ED1J1RJQBOharxS11EFhmwDqknpknE0Pm87HLZVS2Asuuw+HQdfQvm2aXL2FvvBLxOD1D0iw== +"@jest/test-sequencer@^25.2.0": + version "25.2.0" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-25.2.0.tgz#9d700bdd3296ee093c4797fb31fe4a705aad86bf" + integrity sha512-eYbitqvFZo1S6nJIEoyeqcIK4WY6Z/Dz+8/7DoloYpgxUFHvJVK95UPGFMC36zvA9nB4Xpr7ICqOzrOvg2iVRg== dependencies: - "@jest/test-result" "^25.1.0" - jest-haste-map "^25.1.0" - jest-runner "^25.1.0" - jest-runtime "^25.1.0" + "@jest/test-result" "^25.2.0" + jest-haste-map "^25.2.0" + jest-runner "^25.2.0" + jest-runtime "^25.2.0" "@jest/transform@^24.9.0": version "24.9.0" @@ -1299,24 +1297,24 @@ source-map "^0.6.1" write-file-atomic "2.4.1" -"@jest/transform@^25.1.0": - version "25.1.0" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-25.1.0.tgz#221f354f512b4628d88ce776d5b9e601028ea9da" - integrity sha512-4ktrQ2TPREVeM+KxB4zskAT84SnmG1vaz4S+51aTefyqn3zocZUnliLLm5Fsl85I3p/kFPN4CRp1RElIfXGegQ== +"@jest/transform@^25.2.0": + version "25.2.0" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-25.2.0.tgz#c45ebbdc0414b1b20050b1fb58aadc67054a8643" + integrity sha512-PVElAX0TILnRB4iS81Yus0kvU1g/M4+jwies/joBg4Z6SljFRaWnz5ZEcb1io194hRp6G5VI+em8XTYNDVWHoQ== dependencies: "@babel/core" "^7.1.0" - "@jest/types" "^25.1.0" + "@jest/types" "^25.2.0" babel-plugin-istanbul "^6.0.0" chalk "^3.0.0" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" graceful-fs "^4.2.3" - jest-haste-map "^25.1.0" - jest-regex-util "^25.1.0" - jest-util "^25.1.0" + jest-haste-map "^25.2.0" + jest-regex-util "^25.2.0" + jest-util "^25.2.0" micromatch "^4.0.2" pirates "^4.0.1" - realpath-native "^1.1.0" + realpath-native "^2.0.0" slash "^3.0.0" source-map "^0.6.1" write-file-atomic "^3.0.0" @@ -1330,10 +1328,10 @@ "@types/istanbul-reports" "^1.1.1" "@types/yargs" "^13.0.0" -"@jest/types@^25.1.0": - version "25.1.0" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-25.1.0.tgz#b26831916f0d7c381e11dbb5e103a72aed1b4395" - integrity sha512-VpOtt7tCrgvamWZh1reVsGADujKigBUFTi19mlRjqEGsE8qH4r3s+skY33dNdXOwyZIvuftZ5tqdF1IgsMejMA== +"@jest/types@^25.2.0": + version "25.2.0" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-25.2.0.tgz#0659866d9b31843a737b601b950a690e576a415a" + integrity sha512-RLWBAON8LEjzD60Cn0XFmvMNTuV+scKlufIUApnG7VF7oA2jCEk5J0uzEchx6xuOwhrHohQM28K4CmEjgtDEwg== dependencies: "@types/istanbul-lib-coverage" "^2.0.0" "@types/istanbul-reports" "^1.1.1" @@ -1752,6 +1750,11 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== +"@types/prettier@^1.19.0": + version "1.19.1" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-1.19.1.tgz#33509849f8e679e4add158959fdb086440e9553f" + integrity sha512-5qOlnZscTn4xxM5MeGXAMOsIOIKIbh9e85zJWfBRVPlRMEVawzoPhINYbRGkBZCI8LxvBe7tJCdWiarA99OZfQ== + "@types/q@^1.5.1": version "1.5.2" resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8" @@ -2543,16 +2546,16 @@ babel-eslint@^10.1.0: eslint-visitor-keys "^1.0.0" resolve "^1.12.0" -babel-jest@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-25.1.0.tgz#206093ac380a4b78c4404a05b3277391278f80fb" - integrity sha512-tz0VxUhhOE2y+g8R2oFrO/2VtVjA1lkJeavlhExuRBg3LdNJY9gwQ+Vcvqt9+cqy71MCTJhewvTB7Qtnnr9SWg== +babel-jest@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-25.2.0.tgz#480de84cfa43c9403d7a5eaa6bf51a3ca75b2f84" + integrity sha512-N1ECYb8AvQ55yc5QkrdFAThYNDU9ec14b7GgGO8ohFp1p2KDw5fga1NFr8YLFjgtuyVaa2rfVTBAYKnVHzOyYA== dependencies: - "@jest/transform" "^25.1.0" - "@jest/types" "^25.1.0" + "@jest/transform" "^25.2.0" + "@jest/types" "^25.2.0" "@types/babel__core" "^7.1.0" babel-plugin-istanbul "^6.0.0" - babel-preset-jest "^25.1.0" + babel-preset-jest "^25.2.0" chalk "^3.0.0" slash "^3.0.0" @@ -2601,10 +2604,10 @@ babel-plugin-istanbul@^6.0.0: istanbul-lib-instrument "^4.0.0" test-exclude "^6.0.0" -babel-plugin-jest-hoist@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-25.1.0.tgz#fb62d7b3b53eb36c97d1bc7fec2072f9bd115981" - integrity sha512-oIsopO41vW4YFZ9yNYoLQATnnN46lp+MZ6H4VvPKFkcc2/fkl3CfE/NZZSmnEIEsJRmJAgkVEK0R7Zbl50CpTw== +babel-plugin-jest-hoist@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-25.2.0.tgz#08785be7f40bda12e54a09cc89a44c5560a96f61" + integrity sha512-3JlSf80rRq8q8PTrLQ/6Tt1H6w+xCUJ6jiJdHoRzMXGy7ppb9fMBJLzq1iL2K5FIr3wzga6q9E9uRFB7E5aNLQ== dependencies: "@types/babel__traverse" "^7.0.6" @@ -2626,14 +2629,14 @@ babel-plugin-transform-strict-mode@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-preset-jest@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-25.1.0.tgz#d0aebfebb2177a21cde710996fce8486d34f1d33" - integrity sha512-eCGn64olaqwUMaugXsTtGAM2I0QTahjEtnRu0ql8Ie+gDWAc1N6wqN0k2NilnyTunM69Pad7gJY7LOtwLimoFQ== +babel-preset-jest@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-25.2.0.tgz#e0e2532ec023d3c0192475f911ff0a952191cdeb" + integrity sha512-rgqa2neISQ+PT3KyzNTKK51PUuezRUB2AB5SiBidbvme5cVkic5CbWzsRkz7nP6WVqVxsnc6te1F+pHs9rhd7g== dependencies: "@babel/plugin-syntax-bigint" "^7.0.0" "@babel/plugin-syntax-object-rest-spread" "^7.0.0" - babel-plugin-jest-hoist "^25.1.0" + babel-plugin-jest-hoist "^25.2.0" babel-runtime@^6.22.0, babel-runtime@^6.26.0: version "6.26.0" @@ -4579,10 +4582,10 @@ detect-newline@3.1.0, detect-newline@^3.0.0: resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== -diff-sequences@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-25.1.0.tgz#fd29a46f1c913fd66c22645dc75bffbe43051f32" - integrity sha512-nFIfVk5B/NStCsJ+zaPO4vYuLjlzQ6uFvPxzYyHlejNZ/UGa7G/n7peOXVrVNvRuyfstt+mZQYGpjxg9Z6N8Kw== +diff-sequences@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-25.2.0.tgz#180bd89ff45c490b175de6dbb1d346db7b998a94" + integrity sha512-qTbUrz80F9q6rmEZjUoK2/SQTwgaOvnE5WjKlemKuod1iuB4WlSjY5ft2VUXacsqD9pXrWmERMPLi+j9RldxGg== diffie-hellman@^5.0.0: version "5.0.3" @@ -5317,17 +5320,17 @@ expand-tilde@^1.2.2: dependencies: os-homedir "^1.0.1" -expect@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/expect/-/expect-25.1.0.tgz#7e8d7b06a53f7d66ec927278db3304254ee683ee" - integrity sha512-wqHzuoapQkhc3OKPlrpetsfueuEiMf3iWh0R8+duCu9PIjXoP7HgD5aeypwTnXUAjC8aMsiVDaWwlbJ1RlQ38g== +expect@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-25.2.0.tgz#7f365c1a5c08a224dbe8d335edd263b37b3c7932" + integrity sha512-T+s8WKwJ9NCmju9cFQ5ZTlYpEld2iNl1bhO4jXIFiaLF1hfW7wA91q4x1LYZrQ55HZZYs6x9skRLm//ImFK6BA== dependencies: - "@jest/types" "^25.1.0" + "@jest/types" "^25.2.0" ansi-styles "^4.0.0" jest-get-type "^25.1.0" - jest-matcher-utils "^25.1.0" - jest-message-util "^25.1.0" - jest-regex-util "^25.1.0" + jest-matcher-utils "^25.2.0" + jest-message-util "^25.2.0" + jest-regex-util "^25.2.0" express@^4.16.3: version "4.17.1" @@ -7314,84 +7317,85 @@ istextorbinary@^2.2.1: editions "^2.2.0" textextensions "^2.5.0" -jest-changed-files@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-25.1.0.tgz#73dae9a7d9949fdfa5c278438ce8f2ff3ec78131" - integrity sha512-bdL1aHjIVy3HaBO3eEQeemGttsq1BDlHgWcOjEOIAcga7OOEGWHD2WSu8HhL7I1F0mFFyci8VKU4tRNk+qtwDA== +jest-changed-files@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-25.2.0.tgz#b2d7ba9a389346d7e83cc10f95ca4cd05350de63" + integrity sha512-4pKQ0Be43Glqptu3HvXL4Vk3vZnAWI/S7nfonVM8ZBECJ85UVs+MOQrXc+4E4j4zIZ7Hoj7puq2g9Hw0ysjc1g== dependencies: - "@jest/types" "^25.1.0" + "@jest/types" "^25.2.0" execa "^3.2.0" throat "^5.0.0" -jest-cli@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-25.1.0.tgz#75f0b09cf6c4f39360906bf78d580be1048e4372" - integrity sha512-p+aOfczzzKdo3AsLJlhs8J5EW6ffVidfSZZxXedJ0mHPBOln1DccqFmGCoO8JWd4xRycfmwy1eoQkMsF8oekPg== +jest-cli@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-25.2.0.tgz#cd5a30862df63b5db7daaf67a005e4da35e6d9dd" + integrity sha512-lf/ZGpR45oAvtr+3jqJYIoOrAfqLMUg6qKfmELDpeh7k7COst/xw598CBauWng0m3TO4fYhaNMzuJhGAQQuKfA== dependencies: - "@jest/core" "^25.1.0" - "@jest/test-result" "^25.1.0" - "@jest/types" "^25.1.0" + "@jest/core" "^25.2.0" + "@jest/test-result" "^25.2.0" + "@jest/types" "^25.2.0" chalk "^3.0.0" exit "^0.1.2" import-local "^3.0.2" is-ci "^2.0.0" - jest-config "^25.1.0" - jest-util "^25.1.0" - jest-validate "^25.1.0" + jest-config "^25.2.0" + jest-util "^25.2.0" + jest-validate "^25.2.0" prompts "^2.0.1" - realpath-native "^1.1.0" - yargs "^15.0.0" + realpath-native "^2.0.0" + yargs "^15.3.1" -jest-config@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-25.1.0.tgz#d114e4778c045d3ef239452213b7ad3ec1cbea90" - integrity sha512-tLmsg4SZ5H7tuhBC5bOja0HEblM0coS3Wy5LTCb2C8ZV6eWLewHyK+3qSq9Bi29zmWQ7ojdCd3pxpx4l4d2uGw== +jest-config@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-25.2.0.tgz#073f22c0679cce5de2dd5f7514966dc3c2bc2fbf" + integrity sha512-O8eKPyIiDNp6rRwSVyYiy5EZP2zKzIMEonzi0g4XBeZJIM/qebcMnPryzLR3eXKx4R8RlucLjLq6LOdKafrhOQ== dependencies: "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^25.1.0" - "@jest/types" "^25.1.0" - babel-jest "^25.1.0" + "@jest/test-sequencer" "^25.2.0" + "@jest/types" "^25.2.0" + babel-jest "^25.2.0" chalk "^3.0.0" + deepmerge "^4.2.2" glob "^7.1.1" - jest-environment-jsdom "^25.1.0" - jest-environment-node "^25.1.0" + jest-environment-jsdom "^25.2.0" + jest-environment-node "^25.2.0" jest-get-type "^25.1.0" - jest-jasmine2 "^25.1.0" - jest-regex-util "^25.1.0" - jest-resolve "^25.1.0" - jest-util "^25.1.0" - jest-validate "^25.1.0" + jest-jasmine2 "^25.2.0" + jest-regex-util "^25.2.0" + jest-resolve "^25.2.0" + jest-util "^25.2.0" + jest-validate "^25.2.0" micromatch "^4.0.2" - pretty-format "^25.1.0" - realpath-native "^1.1.0" + pretty-format "^25.2.0" + realpath-native "^2.0.0" -jest-diff@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-25.1.0.tgz#58b827e63edea1bc80c1de952b80cec9ac50e1ad" - integrity sha512-nepXgajT+h017APJTreSieh4zCqnSHEJ1iT8HDlewu630lSJ4Kjjr9KNzm+kzGwwcpsDE6Snx1GJGzzsefaEHw== +jest-diff@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-25.2.0.tgz#d9d0138494b9c34acbb63508836cf11b6736f5dc" + integrity sha512-4qNJ9ELNECVeApQ62d8HWGyWzLOXwO81awCoKkHA34Kz8jyP8fQE1lQiZDmLmZRnzoFfIZAAo84u2DlBQ8SrsQ== dependencies: chalk "^3.0.0" - diff-sequences "^25.1.0" + diff-sequences "^25.2.0" jest-get-type "^25.1.0" - pretty-format "^25.1.0" + pretty-format "^25.2.0" -jest-docblock@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-25.1.0.tgz#0f44bea3d6ca6dfc38373d465b347c8818eccb64" - integrity sha512-370P/mh1wzoef6hUKiaMcsPtIapY25suP6JqM70V9RJvdKLrV4GaGbfUseUVk4FZJw4oTZ1qSCJNdrClKt5JQA== +jest-docblock@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-25.2.0.tgz#b1b78e275131bcaa9a5722e663545ed949c278ee" + integrity sha512-M7ZDbghaxFd2unWkyDFGLZDjPpIbDtEbICXSzwGrUBccFwVG/1dhLLAYX3D+98bFksaJuM0iMZGuIQUzKgnkQw== dependencies: detect-newline "^3.0.0" -jest-each@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-25.1.0.tgz#a6b260992bdf451c2d64a0ccbb3ac25e9b44c26a" - integrity sha512-R9EL8xWzoPySJ5wa0DXFTj7NrzKpRD40Jy+zQDp3Qr/2QmevJgkN9GqioCGtAJ2bW9P/MQRznQHQQhoeAyra7A== +jest-each@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-25.2.0.tgz#745c60f5ada853e55af821e87d6f0ca0ad422d49" + integrity sha512-F8yllj7HhLvcvXO9FGmWm19S8N6ndGryx1INmyUVLduwph8nKos0vFTi0DzGC3QpCfyvlWIA/uCBry0zKbksNg== dependencies: - "@jest/types" "^25.1.0" + "@jest/types" "^25.2.0" chalk "^3.0.0" jest-get-type "^25.1.0" - jest-util "^25.1.0" - pretty-format "^25.1.0" + jest-util "^25.2.0" + pretty-format "^25.2.0" jest-environment-jsdom-fourteen@^1.0.1: version "1.0.1" @@ -7405,28 +7409,28 @@ jest-environment-jsdom-fourteen@^1.0.1: jest-util "^24.0.0" jsdom "^14.1.0" -jest-environment-jsdom@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-25.1.0.tgz#6777ab8b3e90fd076801efd3bff8e98694ab43c3" - integrity sha512-ILb4wdrwPAOHX6W82GGDUiaXSSOE274ciuov0lztOIymTChKFtC02ddyicRRCdZlB5YSrv3vzr1Z5xjpEe1OHQ== - dependencies: - "@jest/environment" "^25.1.0" - "@jest/fake-timers" "^25.1.0" - "@jest/types" "^25.1.0" - jest-mock "^25.1.0" - jest-util "^25.1.0" - jsdom "^15.1.1" - -jest-environment-node@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-25.1.0.tgz#797bd89b378cf0bd794dc8e3dca6ef21126776db" - integrity sha512-U9kFWTtAPvhgYY5upnH9rq8qZkj6mYLup5l1caAjjx9uNnkLHN2xgZy5mo4SyLdmrh/EtB9UPpKFShvfQHD0Iw== - dependencies: - "@jest/environment" "^25.1.0" - "@jest/fake-timers" "^25.1.0" - "@jest/types" "^25.1.0" - jest-mock "^25.1.0" - jest-util "^25.1.0" +jest-environment-jsdom@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-25.2.0.tgz#15b38b1ba30e22763f9b44e27d5865dfcd44b52e" + integrity sha512-ODoKx5G3KOlfyREL9ZqekChZFsOJzNtt3nsna0AeptWwEO+BYT0k0Gj89EkWNg7uwjVTomIlQpSeA45E9uTk1A== + dependencies: + "@jest/environment" "^25.2.0" + "@jest/fake-timers" "^25.2.0" + "@jest/types" "^25.2.0" + jest-mock "^25.2.0" + jest-util "^25.2.0" + jsdom "^15.2.1" + +jest-environment-node@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-25.2.0.tgz#80726d398421368e90546e4c05b9dc1130f8c4fe" + integrity sha512-TP8kV360YWCbR96Kw2YQW8/SaF4jDcw5k2ImUvfmxXE8x2hqz6ARrj/2RE2Jstpn2RVihbyR45PBerg4yIvWPg== + dependencies: + "@jest/environment" "^25.2.0" + "@jest/fake-timers" "^25.2.0" + "@jest/types" "^25.2.0" + jest-mock "^25.2.0" + jest-util "^25.2.0" jest-get-type@^25.1.0: version "25.1.0" @@ -7452,64 +7456,65 @@ jest-haste-map@^24.9.0: optionalDependencies: fsevents "^1.2.7" -jest-haste-map@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-25.1.0.tgz#ae12163d284f19906260aa51fd405b5b2e5a4ad3" - integrity sha512-/2oYINIdnQZAqyWSn1GTku571aAfs8NxzSErGek65Iu5o8JYb+113bZysRMcC/pjE5v9w0Yz+ldbj9NxrFyPyw== +jest-haste-map@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-25.2.0.tgz#ad425ff825f3fb8777154f055c5a7d11b3c6e7d2" + integrity sha512-VeoodAL671sKKXDvaT2r1Z/0GSDWJi/fAcDGuRAHrRCqkrPnPsV0Uq35YTNO0RrMF8LdRRogu6Mie1Eli2CVLA== dependencies: - "@jest/types" "^25.1.0" + "@jest/types" "^25.2.0" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.3" - jest-serializer "^25.1.0" - jest-util "^25.1.0" - jest-worker "^25.1.0" + jest-serializer "^25.2.0" + jest-util "^25.2.0" + jest-worker "^25.2.0" micromatch "^4.0.2" sane "^4.0.3" walker "^1.0.7" + which "^2.0.2" optionalDependencies: fsevents "^2.1.2" -jest-jasmine2@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-25.1.0.tgz#681b59158a430f08d5d0c1cce4f01353e4b48137" - integrity sha512-GdncRq7jJ7sNIQ+dnXvpKO2MyP6j3naNK41DTTjEAhLEdpImaDA9zSAZwDhijjSF/D7cf4O5fdyUApGBZleaEg== +jest-jasmine2@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-25.2.0.tgz#255026fd3beefd463c0b85d0ce7628a83a91e1f8" + integrity sha512-MWb5J32Ft/CsV8raj/DZrt3Yx/uJgODev0WFSiD0K3BA+Iowcds/+Z5m3Xv0SyV7P4jO1gJD7stUX9gEiJ1U/g== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^25.1.0" - "@jest/source-map" "^25.1.0" - "@jest/test-result" "^25.1.0" - "@jest/types" "^25.1.0" + "@jest/environment" "^25.2.0" + "@jest/source-map" "^25.2.0" + "@jest/test-result" "^25.2.0" + "@jest/types" "^25.2.0" chalk "^3.0.0" co "^4.6.0" - expect "^25.1.0" + expect "^25.2.0" is-generator-fn "^2.0.0" - jest-each "^25.1.0" - jest-matcher-utils "^25.1.0" - jest-message-util "^25.1.0" - jest-runtime "^25.1.0" - jest-snapshot "^25.1.0" - jest-util "^25.1.0" - pretty-format "^25.1.0" + jest-each "^25.2.0" + jest-matcher-utils "^25.2.0" + jest-message-util "^25.2.0" + jest-runtime "^25.2.0" + jest-snapshot "^25.2.0" + jest-util "^25.2.0" + pretty-format "^25.2.0" throat "^5.0.0" -jest-leak-detector@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-25.1.0.tgz#ed6872d15aa1c72c0732d01bd073dacc7c38b5c6" - integrity sha512-3xRI264dnhGaMHRvkFyEKpDeaRzcEBhyNrOG5oT8xPxOyUAblIAQnpiR3QXu4wDor47MDTiHbiFcbypdLcLW5w== +jest-leak-detector@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-25.2.0.tgz#0106b59877e79f180642e047ae24897f2b8fdb12" + integrity sha512-q9T+0roWegOMjoeGO4uxmnBSqvm33CXq6H+Eu2YmJxvUOiuVhfqMKekZqQS8SRxBiPZHXqEPVHgM3tDtWz0qIg== dependencies: jest-get-type "^25.1.0" - pretty-format "^25.1.0" + pretty-format "^25.2.0" -jest-matcher-utils@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-25.1.0.tgz#fa5996c45c7193a3c24e73066fc14acdee020220" - integrity sha512-KGOAFcSFbclXIFE7bS4C53iYobKI20ZWleAdAFun4W1Wz1Kkej8Ng6RRbhL8leaEvIOjGXhGf/a1JjO8bkxIWQ== +jest-matcher-utils@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-25.2.0.tgz#d61f725b14f46e9eaf1b335324ecdf0b28845124" + integrity sha512-8E2ggFOJ5h1DPUqAswp78rasfqPap2Iryt06wtwrYXNJrbX0R5pi76eYdduSpPXn1atIbK+uxeJNmqYXLpddog== dependencies: chalk "^3.0.0" - jest-diff "^25.1.0" + jest-diff "^25.2.0" jest-get-type "^25.1.0" - pretty-format "^25.1.0" + pretty-format "^25.2.0" jest-message-util@^24.9.0: version "24.9.0" @@ -7525,14 +7530,14 @@ jest-message-util@^24.9.0: slash "^2.0.0" stack-utils "^1.0.1" -jest-message-util@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-25.1.0.tgz#702a9a5cb05c144b9aa73f06e17faa219389845e" - integrity sha512-Nr/Iwar2COfN22aCqX0kCVbXgn8IBm9nWf4xwGr5Olv/KZh0CZ32RKgZWMVDXGdOahicM10/fgjdimGNX/ttCQ== +jest-message-util@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-25.2.0.tgz#acafbc2343421bc1d157d7dfff86a1defdb9efdd" + integrity sha512-M0cFd+XU+G1MWB7M3BWM2Dejln4Uzub+P8+pCPZKfo8cBwGH1kZTgsXchV2MgOmhj2QQGKVwsuPqkLb0hhmiiw== dependencies: "@babel/code-frame" "^7.0.0" - "@jest/test-result" "^25.1.0" - "@jest/types" "^25.1.0" + "@jest/test-result" "^25.2.0" + "@jest/types" "^25.2.0" "@types/stack-utils" "^1.0.1" chalk "^3.0.0" micromatch "^4.0.2" @@ -7546,12 +7551,12 @@ jest-mock@^24.0.0, jest-mock@^24.9.0: dependencies: "@jest/types" "^24.9.0" -jest-mock@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-25.1.0.tgz#411d549e1b326b7350b2e97303a64715c28615fd" - integrity sha512-28/u0sqS+42vIfcd1mlcg4ZVDmSUYuNvImP4X2lX5hRMLW+CN0BeiKVD4p+ujKKbSPKd3rg/zuhCF+QBLJ4vag== +jest-mock@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-25.2.0.tgz#494f750595ef1539e49d1546fb20520180acb3b8" + integrity sha512-nnYlMdySmipWkTIqQprLDY9zXDSi9kkQdiDVnlga5+rygQ0ORhljIkGbx3+qH9Nhh5kXDu8ae2otIK0ptY4aWw== dependencies: - "@jest/types" "^25.1.0" + "@jest/types" "^25.2.0" jest-pnp-resolver@^1.2.1: version "1.2.1" @@ -7563,115 +7568,117 @@ jest-regex-util@^24.9.0: resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-24.9.0.tgz#c13fb3380bde22bf6575432c493ea8fe37965636" integrity sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA== -jest-regex-util@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-25.1.0.tgz#efaf75914267741838e01de24da07b2192d16d87" - integrity sha512-9lShaDmDpqwg+xAd73zHydKrBbbrIi08Kk9YryBEBybQFg/lBWR/2BDjjiSE7KIppM9C5+c03XiDaZ+m4Pgs1w== +jest-regex-util@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-25.2.0.tgz#1386764a0f57b79a3d930b628ca83696c0ac142f" + integrity sha512-D85pUKyzdi4zFAnub4EDp48eB08oua2aaN8wPrcaL98SnmJmJCSC+8iMZvonyy8qTtXgElK8JcsdPl4Y8+WhGg== -jest-resolve-dependencies@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-25.1.0.tgz#8a1789ec64eb6aaa77fd579a1066a783437e70d2" - integrity sha512-Cu/Je38GSsccNy4I2vL12ZnBlD170x2Oh1devzuM9TLH5rrnLW1x51lN8kpZLYTvzx9j+77Y5pqBaTqfdzVzrw== +jest-resolve-dependencies@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-25.2.0.tgz#dc89deefe635b1e08f11519fb3e7ea9e257af55e" + integrity sha512-hwPhteqTnlZyC19qQWBFaLW9+IqCyjmajb5nHqTEi+Jsn+Y74xrugBW0NlkFyCFsP7Chq+MjfU6z/wMGZJelbQ== dependencies: - "@jest/types" "^25.1.0" - jest-regex-util "^25.1.0" - jest-snapshot "^25.1.0" + "@jest/types" "^25.2.0" + jest-regex-util "^25.2.0" + jest-snapshot "^25.2.0" -jest-resolve@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-25.1.0.tgz#23d8b6a4892362baf2662877c66aa241fa2eaea3" - integrity sha512-XkBQaU1SRCHj2Evz2Lu4Czs+uIgJXWypfO57L7JYccmAXv4slXA6hzNblmcRmf7P3cQ1mE7fL3ABV6jAwk4foQ== +jest-resolve@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-25.2.0.tgz#b1f5cc1ca1a67a215b9f425003eeabf5e60e98ad" + integrity sha512-VvmYRMDBFjKUri59zVa91s3V22XfON05oBIl+iNIktxOHxir0ui52+wVTBFGK19p2/aX0UzjKHkW/wJY1cELAw== dependencies: - "@jest/types" "^25.1.0" + "@jest/types" "^25.2.0" browser-resolve "^1.11.3" chalk "^3.0.0" jest-pnp-resolver "^1.2.1" - realpath-native "^1.1.0" - -jest-runner@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-25.1.0.tgz#fef433a4d42c89ab0a6b6b268e4a4fbe6b26e812" - integrity sha512-su3O5fy0ehwgt+e8Wy7A8CaxxAOCMzL4gUBftSs0Ip32S0epxyZPDov9Znvkl1nhVOJNf4UwAsnqfc3plfQH9w== - dependencies: - "@jest/console" "^25.1.0" - "@jest/environment" "^25.1.0" - "@jest/test-result" "^25.1.0" - "@jest/types" "^25.1.0" + realpath-native "^2.0.0" + resolve "^1.15.1" + +jest-runner@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-25.2.0.tgz#f3fcfc57cd6fb0b848896ce309a57723d665acaf" + integrity sha512-x2QqSL2lGYkFLruD/5kGvSBpus5VoP464lkxwrmipKsu+hV3E1bhLuSi0vxM2WSQDCRGC0bzwkwo5LoT5NralA== + dependencies: + "@jest/console" "^25.2.0" + "@jest/environment" "^25.2.0" + "@jest/test-result" "^25.2.0" + "@jest/types" "^25.2.0" chalk "^3.0.0" exit "^0.1.2" graceful-fs "^4.2.3" - jest-config "^25.1.0" - jest-docblock "^25.1.0" - jest-haste-map "^25.1.0" - jest-jasmine2 "^25.1.0" - jest-leak-detector "^25.1.0" - jest-message-util "^25.1.0" - jest-resolve "^25.1.0" - jest-runtime "^25.1.0" - jest-util "^25.1.0" - jest-worker "^25.1.0" + jest-config "^25.2.0" + jest-docblock "^25.2.0" + jest-haste-map "^25.2.0" + jest-jasmine2 "^25.2.0" + jest-leak-detector "^25.2.0" + jest-message-util "^25.2.0" + jest-resolve "^25.2.0" + jest-runtime "^25.2.0" + jest-util "^25.2.0" + jest-worker "^25.2.0" source-map-support "^0.5.6" throat "^5.0.0" -jest-runtime@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-25.1.0.tgz#02683218f2f95aad0f2ec1c9cdb28c1dc0ec0314" - integrity sha512-mpPYYEdbExKBIBB16ryF6FLZTc1Rbk9Nx0ryIpIMiDDkOeGa0jQOKVI/QeGvVGlunKKm62ywcioeFVzIbK03bA== - dependencies: - "@jest/console" "^25.1.0" - "@jest/environment" "^25.1.0" - "@jest/source-map" "^25.1.0" - "@jest/test-result" "^25.1.0" - "@jest/transform" "^25.1.0" - "@jest/types" "^25.1.0" +jest-runtime@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-25.2.0.tgz#8bff94eeb1d74c8807dc8080ab669b5b5ec69575" + integrity sha512-1FW9GrsYk5nfoD+ngICFu4Q2VglQyjg73/BixZkHwxSFIU5OKPrwBIL33lBFtRC/dwpn/rZDxmkxmqOH7jRGyg== + dependencies: + "@jest/console" "^25.2.0" + "@jest/environment" "^25.2.0" + "@jest/source-map" "^25.2.0" + "@jest/test-result" "^25.2.0" + "@jest/transform" "^25.2.0" + "@jest/types" "^25.2.0" "@types/yargs" "^15.0.0" chalk "^3.0.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" glob "^7.1.3" graceful-fs "^4.2.3" - jest-config "^25.1.0" - jest-haste-map "^25.1.0" - jest-message-util "^25.1.0" - jest-mock "^25.1.0" - jest-regex-util "^25.1.0" - jest-resolve "^25.1.0" - jest-snapshot "^25.1.0" - jest-util "^25.1.0" - jest-validate "^25.1.0" - realpath-native "^1.1.0" + jest-config "^25.2.0" + jest-haste-map "^25.2.0" + jest-message-util "^25.2.0" + jest-mock "^25.2.0" + jest-regex-util "^25.2.0" + jest-resolve "^25.2.0" + jest-snapshot "^25.2.0" + jest-util "^25.2.0" + jest-validate "^25.2.0" + realpath-native "^2.0.0" slash "^3.0.0" strip-bom "^4.0.0" - yargs "^15.0.0" + yargs "^15.3.1" jest-serializer@^24.9.0: version "24.9.0" resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-24.9.0.tgz#e6d7d7ef96d31e8b9079a714754c5d5c58288e73" integrity sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ== -jest-serializer@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-25.1.0.tgz#73096ba90e07d19dec4a0c1dd89c355e2f129e5d" - integrity sha512-20Wkq5j7o84kssBwvyuJ7Xhn7hdPeTXndnwIblKDR2/sy1SUm6rWWiG9kSCgJPIfkDScJCIsTtOKdlzfIHOfKA== +jest-serializer@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-25.2.0.tgz#fd81440a0bd52f3c182ecabc2426c8efb4c0cf41" + integrity sha512-wCaA4dM1F4klHEpjRzAnv/8K4eqvB/0x4f6AA4W8ie8DP2XarCt6yAsdRCE+zw+htZSwcNOWvYvpOVov8y8pJA== -jest-snapshot@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-25.1.0.tgz#d5880bd4b31faea100454608e15f8d77b9d221d9" - integrity sha512-xZ73dFYN8b/+X2hKLXz4VpBZGIAn7muD/DAg+pXtDzDGw3iIV10jM7WiHqhCcpDZfGiKEj7/2HXAEPtHTj0P2A== +jest-snapshot@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-25.2.0.tgz#2d852cce911ee93c801b2137d7e5e71ae43d57f7" + integrity sha512-oOVNsWwXWW5U6SozenTFkPTJdTkIudc5H2zpT4l8MA++HVU0pwNGKSZq0otbjaMUCs1ZE1PI/TfjaSKKg6fqNg== dependencies: "@babel/types" "^7.0.0" - "@jest/types" "^25.1.0" + "@jest/types" "^25.2.0" + "@types/prettier" "^1.19.0" chalk "^3.0.0" - expect "^25.1.0" - jest-diff "^25.1.0" + expect "^25.2.0" + jest-diff "^25.2.0" jest-get-type "^25.1.0" - jest-matcher-utils "^25.1.0" - jest-message-util "^25.1.0" - jest-resolve "^25.1.0" - mkdirp "^0.5.1" + jest-matcher-utils "^25.2.0" + jest-message-util "^25.2.0" + jest-resolve "^25.2.0" + make-dir "^3.0.0" natural-compare "^1.4.0" - pretty-format "^25.1.0" - semver "^7.1.1" + pretty-format "^25.2.0" + semver "^6.3.0" jest-util@^24.0.0, jest-util@^24.9.0: version "24.9.0" @@ -7691,38 +7698,38 @@ jest-util@^24.0.0, jest-util@^24.9.0: slash "^2.0.0" source-map "^0.6.0" -jest-util@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-25.1.0.tgz#7bc56f7b2abd534910e9fa252692f50624c897d9" - integrity sha512-7did6pLQ++87Qsj26Fs/TIwZMUFBXQ+4XXSodRNy3luch2DnRXsSnmpVtxxQ0Yd6WTipGpbhh2IFP1mq6/fQGw== +jest-util@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-25.2.0.tgz#56aa5e3fc4ba3510849c805f362bd8f18959c0c5" + integrity sha512-xdpHSYUdqQy6JO52AQR02Z7QnaeRCXFqpuXm2gDvCYarXyodAcOs8J330OTNheHNpQz1fLkB09g8hW5fkZgvYg== dependencies: - "@jest/types" "^25.1.0" + "@jest/types" "^25.2.0" chalk "^3.0.0" is-ci "^2.0.0" - mkdirp "^0.5.1" + make-dir "^3.0.0" -jest-validate@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-25.1.0.tgz#1469fa19f627bb0a9a98e289f3e9ab6a668c732a" - integrity sha512-kGbZq1f02/zVO2+t1KQGSVoCTERc5XeObLwITqC6BTRH3Adv7NZdYqCpKIZLUgpLXf2yISzQ465qOZpul8abXA== +jest-validate@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-25.2.0.tgz#2ea5ec81b0c4dec5454bcc4834c68f60c42a9b8c" + integrity sha512-FcueQUXWhnD45DJFhDux3FQDrXcLLFvPU6mNQimu1FCOblWxiqDPc9GzRc8dvvU5U8F+j6ohtd+vH/BkjZ1M/g== dependencies: - "@jest/types" "^25.1.0" + "@jest/types" "^25.2.0" camelcase "^5.3.1" chalk "^3.0.0" jest-get-type "^25.1.0" leven "^3.1.0" - pretty-format "^25.1.0" + pretty-format "^25.2.0" -jest-watcher@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-25.1.0.tgz#97cb4a937f676f64c9fad2d07b824c56808e9806" - integrity sha512-Q9eZ7pyaIr6xfU24OeTg4z1fUqBF/4MP6J801lyQfg7CsnZ/TCzAPvCfckKdL5dlBBEKBeHV0AdyjFZ5eWj4ig== +jest-watcher@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-25.2.0.tgz#5cb37355602b743eda565227ce2252bdc0ce92ee" + integrity sha512-jfUrHJfr4OEhJ0oGOqzH5yAXsUrtFWPalV2o6EI72T3Kp/mY3roUj/8RMmi7md/fL2GJ1BbcWzsQuaXuDRhJ0A== dependencies: - "@jest/test-result" "^25.1.0" - "@jest/types" "^25.1.0" + "@jest/test-result" "^25.2.0" + "@jest/types" "^25.2.0" ansi-escapes "^4.2.1" chalk "^3.0.0" - jest-util "^25.1.0" + jest-util "^25.2.0" string-length "^3.1.0" jest-worker@^24.9.0: @@ -7741,14 +7748,22 @@ jest-worker@^25.1.0: merge-stream "^2.0.0" supports-color "^7.0.0" -jest@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/jest/-/jest-25.1.0.tgz#b85ef1ddba2fdb00d295deebbd13567106d35be9" - integrity sha512-FV6jEruneBhokkt9MQk0WUFoNTwnF76CLXtwNMfsc0um0TlB/LG2yxUd0KqaFjEJ9laQmVWQWS0sG/t2GsuI0w== +jest-worker@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-25.2.0.tgz#2716fbf74fcae7d713778f60187fd1f96fa09d1a" + integrity sha512-oGzUBnVnRdb51Aru3XFNa0zOafAIEerqZoQow+Vy8LDDiy12dvSrOeVeO8oNrxCMkGG4JtXqX9IPC93JJiAk+g== + dependencies: + merge-stream "^2.0.0" + supports-color "^7.0.0" + +jest@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/jest/-/jest-25.2.0.tgz#d7b9b9ce7007002a9b4586da9bf0e0414a10a27d" + integrity sha512-6vlNxNhkZZcFBpn6GkVHyEQZKE9zAsnYithlHAnkVLJYFdD6o4dV2S7uTFcxi6k9XEEN2ilVLuTe6PJ1qgbi4w== dependencies: - "@jest/core" "^25.1.0" + "@jest/core" "^25.2.0" import-local "^3.0.2" - jest-cli "^25.1.0" + jest-cli "^25.2.0" jimp-compact@^0.8.0: version "0.8.5" @@ -7826,7 +7841,7 @@ jsdom@^14.1.0: ws "^6.1.2" xml-name-validator "^3.0.0" -jsdom@^15.1.1: +jsdom@^15.2.1: version "15.2.1" resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-15.2.1.tgz#d2feb1aef7183f86be521b8c6833ff5296d07ec5" integrity sha512-fAl1W0/7T2G5vURSyxBzrJ1LSdQn6Tr5UX/xD4PXDx/PDgwygedfW6El/KIj3xJ7FU61TTYnc/l/B7P49Eqt6g== @@ -10484,12 +10499,12 @@ pretty-error@^2.0.2: renderkid "^2.0.1" utila "~0.4" -pretty-format@^25.1.0: - version "25.1.0" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-25.1.0.tgz#ed869bdaec1356fc5ae45de045e2c8ec7b07b0c8" - integrity sha512-46zLRSGLd02Rp+Lhad9zzuNZ+swunitn8zIpfD2B4OPCRLXbM87RJT2aBLBWYOznNUML/2l/ReMyWNC80PJBUQ== +pretty-format@^25.2.0: + version "25.2.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-25.2.0.tgz#645003fb5da71a0ded46c90007dff0e03857de7d" + integrity sha512-BzmuH01b/lm0nl3M7Lcnku9Cv2UNMk9FgIrAiSuIus2QrjzV7Lf2DW+88SgEQUXQNkYWGtBV1289AuF6yMCtCQ== dependencies: - "@jest/types" "^25.1.0" + "@jest/types" "^25.2.0" ansi-regex "^5.0.0" ansi-styles "^4.0.0" react-is "^16.12.0" @@ -10843,6 +10858,11 @@ realpath-native@^1.1.0: dependencies: util.promisify "^1.0.0" +realpath-native@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/realpath-native/-/realpath-native-2.0.0.tgz#7377ac429b6e1fd599dc38d08ed942d0d7beb866" + integrity sha512-v1SEYUOXXdbBZK8ZuNgO4TBjamPsiSgcFr0aP+tEKpQZK8vooEUqV6nm6Cv502mX4NF2EfsnVqtNAHG+/6Ur1Q== + redent@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde" @@ -11128,7 +11148,7 @@ resolve@1.1.7: resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@^1.1.7, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.0, resolve@^1.11.1, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.2.0, resolve@^1.3.2, resolve@^1.8.1: +resolve@^1.1.7, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.0, resolve@^1.11.1, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.15.1, resolve@^1.2.0, resolve@^1.3.2, resolve@^1.8.1: version "1.15.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== @@ -11417,7 +11437,7 @@ semver@7.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@^7.1.1, semver@^7.1.3: +semver@^7.1.3: version "7.1.3" resolved "https://registry.yarnpkg.com/semver/-/semver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6" integrity sha512-ekM0zfiA9SCBlsKa2X1hxyxiI4L3B6EbVJkkdgQXnSEEaHlGdvyodMruTiulSRWMMB4NeIuYNMC9rTKTz97GxA== @@ -13360,7 +13380,7 @@ which@1, which@^1.2.12, which@^1.2.9, which@^1.3.1: dependencies: isexe "^2.0.0" -which@^2.0.1: +which@^2.0.1, which@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== @@ -13610,7 +13630,7 @@ yargs@15.0.2: y18n "^4.0.0" yargs-parser "^16.1.0" -yargs@^15.0.0, yargs@^15.0.2: +yargs@^15.0.2, yargs@^15.3.1: version "15.3.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.1.tgz#9505b472763963e54afe60148ad27a330818e98b" integrity sha512-92O1HWEjw27sBfgmXiixJWT5hRBp2eobqXicLtPBIDBhYB+1HpwZlXmbW2luivBJHBzki+7VyCLRtAkScbTBQA== From b39d31cede76b594b5608fa472d53e3dac525e2b Mon Sep 17 00:00:00 2001 From: Payton Burdette Date: Wed, 25 Mar 2020 15:11:10 -0400 Subject: [PATCH 15/18] feat(b-drodpown-item-button, b-drodpown-item-button): add `button-class` and `link-class` prop (#5014) * feat(b-drodpown-item-button): add button-class prop Add the button class prop to the b-dropdown-item-button and also add a test to ensure its working as expected. * Update dropdown-item-button.js * Update package.json * Update dropdown-item.js * Update package.json * Update dropdown-item.spec.js Add new test to ensure the linkClass prop value is applied correctly to the a element. Co-authored-by: pburdette Co-authored-by: Troy Morehouse --- src/components/dropdown/dropdown-item-button.js | 15 +++++++++++---- .../dropdown/dropdown-item-button.spec.js | 15 +++++++++++++++ src/components/dropdown/dropdown-item.js | 13 ++++++++++--- src/components/dropdown/dropdown-item.spec.js | 15 +++++++++++++++ src/components/dropdown/package.json | 14 ++++++++++++++ 5 files changed, 65 insertions(+), 7 deletions(-) diff --git a/src/components/dropdown/dropdown-item-button.js b/src/components/dropdown/dropdown-item-button.js index 68813e02f9e..8add2676c64 100644 --- a/src/components/dropdown/dropdown-item-button.js +++ b/src/components/dropdown/dropdown-item-button.js @@ -10,6 +10,10 @@ export const props = { type: String, default: 'active' }, + buttonClass: { + type: [String, Array, Object], + default: null + }, disabled: { type: Boolean, default: false @@ -48,10 +52,13 @@ export const BDropdownItemButton = /*#__PURE__*/ Vue.extend({ 'button', { staticClass: 'dropdown-item', - class: { - [this.activeClass]: this.active, - [`text-${this.variant}`]: this.variant && !(this.active || this.disabled) - }, + class: [ + this.buttonClass, + { + [this.activeClass]: this.active, + [`text-${this.variant}`]: this.variant && !(this.active || this.disabled) + } + ], attrs: { ...this.$attrs, role: 'menuitem', diff --git a/src/components/dropdown/dropdown-item-button.spec.js b/src/components/dropdown/dropdown-item-button.spec.js index f64e66ec2e0..620dfaa2404 100644 --- a/src/components/dropdown/dropdown-item-button.spec.js +++ b/src/components/dropdown/dropdown-item-button.spec.js @@ -102,4 +102,19 @@ describe('dropdown-item-button', () => { wrapper.destroy() }) + + it('has buttonClass when prop is passed a value', () => { + const wrapper = mount(BDropdownItemButton, { + propsData: { + buttonClass: 'button-class' + } + }) + expect(wrapper.is('li')).toBe(true) + + const button = wrapper.find('button') + expect(button.classes()).toContain('button-class') + expect(button.classes()).toContain('dropdown-item') + + wrapper.destroy() + }) }) diff --git a/src/components/dropdown/dropdown-item.js b/src/components/dropdown/dropdown-item.js index 51d0a716d3e..156a459691d 100644 --- a/src/components/dropdown/dropdown-item.js +++ b/src/components/dropdown/dropdown-item.js @@ -17,6 +17,10 @@ export const BDropdownItem = /*#__PURE__*/ Vue.extend({ }, props: { ...props, + linkClass: { + type: [String, Array, Object], + default: null + }, variant: { type: String, default: null @@ -43,9 +47,12 @@ export const BDropdownItem = /*#__PURE__*/ Vue.extend({ { props: this.$props, staticClass: 'dropdown-item', - class: { - [`text-${this.variant}`]: this.variant && !(this.active || this.disabled) - }, + class: [ + this.linkClass, + { + [`text-${this.variant}`]: this.variant && !(this.active || this.disabled) + } + ], attrs: { ...this.$attrs, role: 'menuitem' }, on: { click: this.onClick }, ref: 'item' diff --git a/src/components/dropdown/dropdown-item.spec.js b/src/components/dropdown/dropdown-item.spec.js index 5a1a3a50149..d8838c9d8d4 100644 --- a/src/components/dropdown/dropdown-item.spec.js +++ b/src/components/dropdown/dropdown-item.spec.js @@ -79,6 +79,21 @@ describe('dropdown-item', () => { wrapper.destroy() }) + it('has linkClass when prop is passed a value', () => { + const wrapper = mount(BDropdownItem, { + propsData: { + linkClass: 'link-class' + } + }) + expect(wrapper.is('li')).toBe(true) + + const item = wrapper.find('a') + expect(item.classes()).toContain('link-class') + expect(item.classes()).toContain('dropdown-item') + + wrapper.destroy() + }) + describe('router-link support', () => { it('works', async () => { const localVue = new CreateLocalVue() diff --git a/src/components/dropdown/package.json b/src/components/dropdown/package.json index 1ab846aa022..7141a186f70 100644 --- a/src/components/dropdown/package.json +++ b/src/components/dropdown/package.json @@ -198,6 +198,13 @@ "aliases": [ "BDdItem" ], + "props": [ + { + "prop": "linkClass", + "version": "2.9.0", + "description": "Class or classes to apply to the inner link element" + } + ], "events": [ { "event": "click", @@ -219,6 +226,13 @@ "BDdItemButton", "BDdItemBtn" ], + "props": [ + { + "prop": "buttonClass", + "version": "2.9.0", + "description": "Class or classes to apply to the inner button element" + } + ], "events": [ { "event": "click", From cd806eae026bd61d71a86bfd5ce9357ac0f4ba06 Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Wed, 25 Mar 2020 16:14:56 -0300 Subject: [PATCH 16/18] chore(docs): minor updates to modal props meta (#5013) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(docs): minor updates to modal props meta * Update package.json * Update package.json * Update package.json Co-authored-by: Jacob Müller --- src/components/modal/package.json | 96 +++++++++++++++---------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/src/components/modal/package.json b/src/components/modal/package.json index 483d8fd8dd4..367d77f2d74 100644 --- a/src/components/modal/package.json +++ b/src/components/modal/package.json @@ -189,7 +189,7 @@ { "arg": "isVisible", "type": "Boolean", - "description": "true if modal is visible, false otherwise" + "description": "The visibility state of the modal. `true` if the modal is visible and `false` if not visible" } ] }, @@ -200,7 +200,7 @@ { "arg": "bvModalEvt", "type": "BvModalEvent", - "description": "BvModalEvent object. Call bvModalEvt.preventDefault() to cancel show" + "description": "BvModalEvent object. Call `bvModalEvt.preventDefault()` to cancel show" } ] }, @@ -222,7 +222,7 @@ { "arg": "bvModalEvt", "type": "BvModalEvent", - "description": "BvModalEvent object. Call bvModalEvt.preventDefault() to cancel hide" + "description": "BvModalEvent object. Inspect `bvModalEvt.trigger` to find out what action triggered the hide. Call `bvModalEvt.preventDefault()` to cancel hide" } ] }, @@ -244,7 +244,7 @@ { "arg": "bvModalEvt", "type": "BvModalEvent", - "description": "BvModalEvent object. Call bvModalEvt.preventDefault() to cancel hide" + "description": "BvModalEvent object. Call `bvModalEvt.preventDefault()` to cancel hide" } ] }, @@ -255,7 +255,7 @@ { "arg": "bvModalEvt", "type": "BvModalEvent", - "description": "BvModalEvent object. Call bvModalEvt.preventDefault() to cancel hide" + "description": "BvModalEvent object. Call `bvModalEvt.preventDefault()` to cancel hide" } ] }, @@ -266,29 +266,29 @@ { "arg": "bvModalEvt", "type": "BvModalEvent", - "description": "BvModalEvent object. Call bvModalEvt.preventDefault() to cancel hide" + "description": "BvModalEvent object. Call `bvModalEvt.preventDefault()` to cancel hide" } ] }, { "event": "bv::modal::show", - "description": "Emitted on $root when modal is about to be shown. Cancelable", + "description": "Emitted on `$root` when modal is about to be shown. Cancelable", "args": [ { "arg": "bvModalEvt", "type": "BvModalEvent", - "description": "BvModalEvent object. Call bvEvt.preventDefault() to cancel show" + "description": "BvModalEvent object. Call `bvModalEvt.preventDefault()` to cancel show" }, { "arg": "modalId", "type": "String", - "description": "modal ID" + "description": "Modal ID" } ] }, { "event": "bv::modal::shown", - "description": "Emitted on $root when modal is shown", + "description": "Emitted on `$root` when modal is shown", "args": [ { "arg": "bvModalEvt", @@ -298,29 +298,29 @@ { "arg": "modalId", "type": "String", - "description": "modal ID" + "description": "Modal ID" } ] }, { "event": "bv::modal::hide", - "description": "Emitted on $root when modal is about to be hidden. Cancelable (as long as modal wasn't forcibly hidden)", + "description": "Emitted on `$root` when modal is about to be hidden. Cancelable (as long as modal wasn't forcibly hidden)", "args": [ { "arg": "bvModalEvt", "type": "BvModalEvent", - "description": "BvModalEvent object. Call bvEvt.preventDefault() to cancel hide" + "description": "BvModalEvent object. Call `bvModalEvt.preventDefault()` to cancel hide" }, { "arg": "modalId", "type": "String", - "description": "modal ID" + "description": "Modal ID" } ] }, { "event": "bv::modal::hidden", - "description": "Emitted on $root when modal is hidden", + "description": "Emitted on `$root` when modal is hidden", "args": [ { "arg": "bvModalEvt", @@ -338,12 +338,12 @@ "rootEventListeners": [ { "event": "bv::show::modal", - "description": "Show modal with specified ID when this event is emitted on $root", + "description": "Show modal with specified ID when this event is emitted on `$root`", "args": [ { "arg": "modalId", "type": "String", - "description": "modal ID to show" + "description": "Modal ID to show" }, { "arg": "elIDtoFocusOnClose", @@ -351,13 +351,13 @@ "String", "HTMLElement" ], - "description": "(optional), specify the element reference, or CSS selector, to return focus to once the modal is closed" + "description": "Specify the element reference, or CSS selector, to return focus to once the modal is closed (optional)" } ] }, { "event": "bv::hide::modal", - "description": "Hide modal with specified ID when this event is emitted on $root", + "description": "Hide modal with specified ID when this event is emitted on `root`", "args": [ { "arg": "modalId", @@ -381,7 +381,7 @@ "String", "HTMLElement" ], - "description": "(optional), specify the element reference, or CSS selector, to return focus to once the modal is closed" + "description": "Specify the element reference, or CSS selector, to return focus to once the modal is closed (optional)" } ] } @@ -389,141 +389,141 @@ "slots": [ { "name": "modal-header", - "description": "Entire modal header container contents. Also removes the top right X close button. Optionally scoped.", + "description": "Entire modal header container contents. Also removes the top right X close button. Optionally scoped", "scope": [ { "prop": "visible", "type": "Boolean", - "description": "The visibility state of the modal. true if the modal is visible and false if not visible" + "description": "The visibility state of the modal. `true` if the modal is visible and `false` if not visible" }, { "prop": "ok", "type": "Function", - "description": "Closes the modal and fires the 'ok' and 'hide' events, with bvModalEvent.trigger = 'ok'" + "description": "Closes the modal and fires the 'ok' and 'hide' events, with `bvModalEvent.trigger = 'ok'`" }, { "prop": "cancel", "type": "Function", - "description": "Closes the modal and fires the 'cancel' and 'hide' events, with bvModalEvent.trigger = 'cancel'" + "description": "Closes the modal and fires the 'cancel' and 'hide' events, with `bvModalEvent.trigger = 'cancel'`" }, { "prop": "close", "type": "Function", - "description": "Closes the modal and fires the close and hide events, with bvModalEvent.trigger = 'headerclose'" + "description": "Closes the modal and fires the close and hide events, with `bvModalEvent.trigger = 'headerclose'`" }, { "prop": "hide", "type": "Function", - "description": "Accepts one argument 'trigger'. Closes the modal and fires the 'hide' event, with the bvModalEvent.trigger = trigger (trigger is optional)" + "description": "Accepts one argument `trigger`. Closes the modal and fires the 'hide' event, with the `bvModalEvent.trigger = trigger` (`trigger` is optional)" } ] }, { "name": "modal-title", - "description": "Modal title. If modal-header slot is used, this slot will not be shown. Optionally scoped.", + "description": "Modal title. If `modal-header` slot is used, this slot will not be shown. Optionally scoped", "scope": [ { "prop": "visible", "type": "Boolean", - "description": "The visibility state of the modal. true if the modal is visible and false if not visible" + "description": "The visibility state of the modal. `true` if the modal is visible and `false` if not visible" }, { "prop": "ok", "type": "Function", - "description": "Closes the modal and fires the 'ok' and 'hide' events, with bvModalEvent.trigger = 'ok'" + "description": "Closes the modal and fires the 'ok' and 'hide' events, with `bvModalEvent.trigger = 'ok'`" }, { "prop": "cancel", "type": "Function", - "description": "Closes the modal and fires the 'cancel' and 'hide' events, with bvModalEvent.trigger = 'cancel'" + "description": "Closes the modal and fires the 'cancel' and 'hide' events, with `vModalEvent.trigger = 'cancel'`" }, { "prop": "close", "type": "Function", - "description": "Closes the modal and fires the close and hide events, with bvModalEvent.trigger = 'headerclose'" + "description": "Closes the modal and fires the close and hide events, with `vModalEvent.trigger = 'headerclose'`" }, { "prop": "hide", "type": "Function", - "description": "Accepts one argument 'trigger'. Closes the modal and fires the 'hide' event, with the bvModalEvent.trigger = trigger (trigger is optional)" + "description": "Accepts one argument `trigger`. Closes the modal and fires the 'hide' event, with the `bvModalEvent.trigger = trigger` (`trigger` is optional)" } ] }, { "name": "modal-footer", - "description": "Modal footer content. Also removes default OK and CANCEL buttons. Optionally scoped.", + "description": "Modal footer content. Also removes default OK and Cancel buttons. Optionally scoped", "scope": [ { "prop": "visible", "type": "Boolean", - "description": "The visibility state of the modal. true if the modal is visible and false if not visible" + "description": "The visibility state of the modal. `true` if the modal is visible and `false` if not visible" }, { "prop": "ok", "type": "Function", - "description": "Closes the modal and fires the 'ok' and 'hide' events, with bvModalEvent.trigger = 'ok'" + "description": "Closes the modal and fires the 'ok' and 'hide' events, with `bvModalEvent.trigger = 'ok'`" }, { "prop": "cancel", "type": "Function", - "description": "Closes the modal and fires the 'cancel' and 'hide' events, with bvModalEvent.trigger = 'cancel'" + "description": "Closes the modal and fires the 'cancel' and 'hide' events, with `vModalEvent.trigger = 'cancel'`" }, { "prop": "close", "type": "Function", - "description": "Closes the modal and fires the close and hide events, with bvModalEvent.trigger = 'headerclose'" + "description": "Closes the modal and fires the close and hide events, with `vModalEvent.trigger = 'headerclose'`" }, { "prop": "hide", "type": "Function", - "description": "Accepts one argument 'trigger'. Closes the modal and fires the 'hide' event, with the bvModalEvent.trigger = trigger (trigger is optional)" + "description": "Accepts one argument `trigger`. Closes the modal and fires the 'hide' event, with the `bvModalEvent.trigger = trigger` (`trigger` is optional)" } ] }, { "name": "modal-header-close", - "description": "Content of Modal header close button. If modal-header slot is used, this slot will not be shown." + "description": "Content of Modal header close button. If `modal-header` slot is used, this slot will not be shown" }, { "name": "modal-ok", - "description": "Modal OK button content." + "description": "Modal OK button content" }, { "name": "modal-cancel", - "description": "Modal CANCEL button content." + "description": "Modal CANCEL button content" }, { "name": "modal-backdrop", - "description": "Modal Backdrop content." + "description": "Modal Backdrop content" }, { "name": "default", - "description": "Content of modal body. Optionally scoped.", + "description": "Content of modal body. Optionally scoped", "scope": [ { "prop": "visible", "type": "Boolean", - "description": "The visibility state of the modal. true if the modal is visible and false if not visible" + "description": "The visibility state of the modal. `true` if the modal is visible and `false` if not visible" }, { "prop": "ok", "type": "Function", - "description": "Closes the modal and fires the 'ok' and 'hide' events, with bvModalEvent.trigger = 'ok'" + "description": "Closes the modal and fires the 'ok' and 'hide' events, with `bvModalEvent.trigger = 'ok'`" }, { "prop": "cancel", "type": "Function", - "description": "Closes the modal and fires the 'cancel' and 'hide' events, with bvModalEvent.trigger = 'cancel'" + "description": "Closes the modal and fires the 'cancel' and 'hide' events, with `bvModalEvent.trigger = 'cancel'`" }, { "prop": "close", "type": "Function", - "description": "Closes the modal and fires the close and hide events, with bvModalEvent.trigger = 'headerclose'" + "description": "Closes the modal and fires the close and hide events, with `bvModalEvent.trigger = 'headerclose'`" }, { "prop": "hide", "type": "Function", - "description": "Accepts one argument 'trigger'. Closes the modal and fires the 'hide' event, with the bvModalEvent.trigger = trigger (trigger is optional)" + "description": "Accepts one argument `trigger`. Closes the modal and fires the 'hide' event, with the `bvModalEvent.trigger = trigger` (`trigger` is optional)" } ] } From 0d85ed217f147851161c86f48fdbead25f4504a3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 25 Mar 2020 16:42:28 -0300 Subject: [PATCH 17/18] chore(deps): update devdependency nuxt to ^2.12.1 (#5016) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 651 ++++++++++++++++++++------------------------------- 2 files changed, 251 insertions(+), 402 deletions(-) diff --git a/package.json b/package.json index 898a3271f45..3712f7b71ee 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,7 @@ "lodash": "^4.17.15", "marked": "^0.8.2", "node-sass": "^4.13.1", - "nuxt": "^2.12.0", + "nuxt": "^2.12.1", "postcss-cli": "^7.1.0", "prettier": "1.14.3", "require-context": "^1.1.0", diff --git a/yarn.lock b/yarn.lock index 572536ff59f..cb6c72cfc6a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -43,7 +43,7 @@ invariant "^2.2.4" semver "^5.5.0" -"@babel/core@^7.1.0", "@babel/core@^7.7.5", "@babel/core@^7.8.7": +"@babel/core@^7.1.0", "@babel/core@^7.7.5": version "7.8.7" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.8.7.tgz#b69017d221ccdeb203145ae9da269d72cf102f3b" integrity sha512-rBlqF3Yko9cynC5CCFy6+K/w2N+Sq/ff2BPy+Krp7rHlABIr5epbA7OxVeKoMHB39LZOp1UY5SuLjy6uWi35yA== @@ -216,19 +216,6 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-module-transforms@^7.8.3": - version "7.8.6" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.8.6.tgz#6a13b5eecadc35692047073a64e42977b97654a4" - integrity sha512-RDnGJSR5EFBJjG3deY0NiL0K9TO8SXxS9n/MPsbPK/s9LbQymuLNtlzvDiNS7IpecuL45cMeLVkA+HfmlrnkRg== - dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.6" - "@babel/helper-simple-access" "^7.8.3" - "@babel/helper-split-export-declaration" "^7.8.3" - "@babel/template" "^7.8.6" - "@babel/types" "^7.8.6" - lodash "^4.17.13" - "@babel/helper-module-transforms@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.9.0.tgz#43b34dfe15961918707d247327431388e9fe96e5" @@ -407,14 +394,6 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-numeric-separator" "^7.8.3" -"@babel/plugin-proposal-object-rest-spread@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.8.3.tgz#eb5ae366118ddca67bed583b53d7554cad9951bb" - integrity sha512-8qvuPwU/xxUCt78HocNlv0mXXo0wdh9VT1R04WU8HGOfaOob26pF+9P5/lYjN/q7DHOX1bvX60hnhOvuQUJdbA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-proposal-object-rest-spread@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.0.tgz#a28993699fc13df165995362693962ba6b061d6f" @@ -431,14 +410,6 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" -"@babel/plugin-proposal-optional-chaining@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.8.3.tgz#ae10b3214cb25f7adb1f3bc87ba42ca10b7e2543" - integrity sha512-QIoIR9abkVn+seDE3OjA08jWcs3eZ9+wJCKSRgo3WdEU2csFYgdScb+8qHB3+WXsGJD55u+5hWCISI7ejXS+kg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-optional-chaining" "^7.8.0" - "@babel/plugin-proposal-optional-chaining@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.9.0.tgz#31db16b154c39d6b8a645292472b98394c292a58" @@ -570,20 +541,6 @@ "@babel/helper-plugin-utils" "^7.8.3" lodash "^4.17.13" -"@babel/plugin-transform-classes@^7.8.6": - version "7.8.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.8.6.tgz#77534447a477cbe5995ae4aee3e39fbc8090c46d" - integrity sha512-k9r8qRay/R6v5aWZkrEclEhKO6mc1CCQr2dLsVHBmOQiMpN6I2bpjX3vgnldUWeEI1GHVNByULVxZ4BdP4Hmdg== - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-define-map" "^7.8.3" - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.6" - "@babel/helper-split-export-declaration" "^7.8.3" - globals "^11.1.0" - "@babel/plugin-transform-classes@^7.9.0": version "7.9.2" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.9.2.tgz#8603fc3cc449e31fdbdbc257f67717536a11af8d" @@ -635,13 +592,6 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-for-of@^7.8.6": - version "7.8.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.8.6.tgz#a051bd1b402c61af97a27ff51b468321c7c2a085" - integrity sha512-M0pw4/1/KI5WAxPsdcUL/w2LJ7o89YHN3yLkzNjg7Yl15GlVGgzHyCU+FMeAxevHGsLVmUqbirlUIKTafPmzdw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-for-of@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.9.0.tgz#0f260e27d3e29cd1bb3128da5e76c761aa6c108e" @@ -671,15 +621,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-modules-amd@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.8.3.tgz#65606d44616b50225e76f5578f33c568a0b876a5" - integrity sha512-MadJiU3rLKclzT5kBH4yxdry96odTUwuqrZM+GllFI/VhxfPz+k9MshJM+MwhfkCdxxclSbSBbUGciBngR+kEQ== - dependencies: - "@babel/helper-module-transforms" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" - "@babel/plugin-transform-modules-amd@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.9.0.tgz#19755ee721912cf5bb04c07d50280af3484efef4" @@ -689,16 +630,6 @@ "@babel/helper-plugin-utils" "^7.8.3" babel-plugin-dynamic-import-node "^2.3.0" -"@babel/plugin-transform-modules-commonjs@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.8.3.tgz#df251706ec331bd058a34bdd72613915f82928a5" - integrity sha512-JpdMEfA15HZ/1gNuB9XEDlZM1h/gF/YOH7zaZzQu2xCFRfwc01NXBMHHSTT6hRjlXJJs5x/bfODM3LiCk94Sxg== - dependencies: - "@babel/helper-module-transforms" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-simple-access" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" - "@babel/plugin-transform-modules-commonjs@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.9.0.tgz#e3e72f4cbc9b4a260e30be0ea59bdf5a39748940" @@ -709,16 +640,6 @@ "@babel/helper-simple-access" "^7.8.3" babel-plugin-dynamic-import-node "^2.3.0" -"@babel/plugin-transform-modules-systemjs@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.8.3.tgz#d8bbf222c1dbe3661f440f2f00c16e9bb7d0d420" - integrity sha512-8cESMCJjmArMYqa9AO5YuMEkE4ds28tMpZcGZB/jl3n0ZzlsxOAi3mC+SKypTfT8gjMupCnd3YiXCkMjj2jfOg== - dependencies: - "@babel/helper-hoist-variables" "^7.8.3" - "@babel/helper-module-transforms" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - babel-plugin-dynamic-import-node "^2.3.0" - "@babel/plugin-transform-modules-systemjs@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.9.0.tgz#e9fd46a296fc91e009b64e07ddaa86d6f0edeb90" @@ -729,14 +650,6 @@ "@babel/helper-plugin-utils" "^7.8.3" babel-plugin-dynamic-import-node "^2.3.0" -"@babel/plugin-transform-modules-umd@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.8.3.tgz#592d578ce06c52f5b98b02f913d653ffe972661a" - integrity sha512-evhTyWhbwbI3/U6dZAnx/ePoV7H6OUG+OjiJFHmhr9FPn0VShjwC2kdxqIuQ/+1P50TMrneGzMeyMTFOjKSnAw== - dependencies: - "@babel/helper-module-transforms" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-modules-umd@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.9.0.tgz#e909acae276fec280f9b821a5f38e1f08b480697" @@ -797,16 +710,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-runtime@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.8.3.tgz#c0153bc0a5375ebc1f1591cb7eea223adea9f169" - integrity sha512-/vqUt5Yh+cgPZXXjmaG9NT8aVfThKk7G4OqkVhrXqwsC5soMn/qTCxs36rZ2QFhpfTJcjw4SNDIZ4RUb8OL4jQ== - dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - resolve "^1.8.1" - semver "^5.5.1" - "@babel/plugin-transform-runtime@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.0.tgz#45468c0ae74cc13204e1d3b1f4ce6ee83258af0b" @@ -862,69 +765,6 @@ "@babel/helper-create-regexp-features-plugin" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/preset-env@^7.8.7": - version "7.8.7" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.8.7.tgz#1fc7d89c7f75d2d70c2b6768de6c2e049b3cb9db" - integrity sha512-BYftCVOdAYJk5ASsznKAUl53EMhfBbr8CJ1X+AJLfGPscQkwJFiaV/Wn9DPH/7fzm2v6iRYJKYHSqyynTGw0nw== - dependencies: - "@babel/compat-data" "^7.8.6" - "@babel/helper-compilation-targets" "^7.8.7" - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-proposal-async-generator-functions" "^7.8.3" - "@babel/plugin-proposal-dynamic-import" "^7.8.3" - "@babel/plugin-proposal-json-strings" "^7.8.3" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-proposal-object-rest-spread" "^7.8.3" - "@babel/plugin-proposal-optional-catch-binding" "^7.8.3" - "@babel/plugin-proposal-optional-chaining" "^7.8.3" - "@babel/plugin-proposal-unicode-property-regex" "^7.8.3" - "@babel/plugin-syntax-async-generators" "^7.8.0" - "@babel/plugin-syntax-dynamic-import" "^7.8.0" - "@babel/plugin-syntax-json-strings" "^7.8.0" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" - "@babel/plugin-syntax-optional-chaining" "^7.8.0" - "@babel/plugin-syntax-top-level-await" "^7.8.3" - "@babel/plugin-transform-arrow-functions" "^7.8.3" - "@babel/plugin-transform-async-to-generator" "^7.8.3" - "@babel/plugin-transform-block-scoped-functions" "^7.8.3" - "@babel/plugin-transform-block-scoping" "^7.8.3" - "@babel/plugin-transform-classes" "^7.8.6" - "@babel/plugin-transform-computed-properties" "^7.8.3" - "@babel/plugin-transform-destructuring" "^7.8.3" - "@babel/plugin-transform-dotall-regex" "^7.8.3" - "@babel/plugin-transform-duplicate-keys" "^7.8.3" - "@babel/plugin-transform-exponentiation-operator" "^7.8.3" - "@babel/plugin-transform-for-of" "^7.8.6" - "@babel/plugin-transform-function-name" "^7.8.3" - "@babel/plugin-transform-literals" "^7.8.3" - "@babel/plugin-transform-member-expression-literals" "^7.8.3" - "@babel/plugin-transform-modules-amd" "^7.8.3" - "@babel/plugin-transform-modules-commonjs" "^7.8.3" - "@babel/plugin-transform-modules-systemjs" "^7.8.3" - "@babel/plugin-transform-modules-umd" "^7.8.3" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.8.3" - "@babel/plugin-transform-new-target" "^7.8.3" - "@babel/plugin-transform-object-super" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.8.7" - "@babel/plugin-transform-property-literals" "^7.8.3" - "@babel/plugin-transform-regenerator" "^7.8.7" - "@babel/plugin-transform-reserved-words" "^7.8.3" - "@babel/plugin-transform-shorthand-properties" "^7.8.3" - "@babel/plugin-transform-spread" "^7.8.3" - "@babel/plugin-transform-sticky-regex" "^7.8.3" - "@babel/plugin-transform-template-literals" "^7.8.3" - "@babel/plugin-transform-typeof-symbol" "^7.8.4" - "@babel/plugin-transform-unicode-regex" "^7.8.3" - "@babel/types" "^7.8.7" - browserslist "^4.8.5" - core-js-compat "^3.6.2" - invariant "^2.2.2" - levenary "^1.1.1" - semver "^5.5.0" - "@babel/preset-env@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.0.tgz#a5fc42480e950ae8f5d9f8f2bbc03f52722df3a8" @@ -1009,6 +849,13 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.9.2": + version "7.9.2" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.9.2.tgz#d90df0583a3a252f09aaa619665367bae518db06" + integrity sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q== + dependencies: + regenerator-runtime "^0.13.4" + "@babel/standalone@^7.9.4": version "7.9.4" resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.9.4.tgz#078025ada03c3d8e60b4abfb042326ad9bfb035d" @@ -1359,30 +1206,30 @@ "@nodelib/fs.scandir" "2.1.3" fastq "^1.6.0" -"@nuxt/babel-preset-app@2.12.0": - version "2.12.0" - resolved "https://registry.yarnpkg.com/@nuxt/babel-preset-app/-/babel-preset-app-2.12.0.tgz#1943b8eccb0f70cde4ffebe9cf43473ebe95ef12" - integrity sha512-DwYZkRsPcZ4rPe8O4Mlxs5YRyiW31M4vttItu521bnhzd/TR6u0+Hsdqadkf7wfDZAS2MlfSTLtdkmLpXbgWaw== +"@nuxt/babel-preset-app@2.12.1": + version "2.12.1" + resolved "https://registry.yarnpkg.com/@nuxt/babel-preset-app/-/babel-preset-app-2.12.1.tgz#54fe024800ebe4b373e94ed341b67ab41b2dcc12" + integrity sha512-CO8u9Lv67lHsZn310I9kRkvnk52tNPNVW1H8aItZKm1U5LIrhi9ezsVAFTRxGLEyyIHY71zHLE3nTqyP8OWFQA== dependencies: - "@babel/core" "^7.8.7" + "@babel/core" "^7.9.0" "@babel/helper-compilation-targets" "^7.8.7" "@babel/plugin-proposal-class-properties" "^7.8.3" "@babel/plugin-proposal-decorators" "^7.8.3" - "@babel/plugin-transform-runtime" "^7.8.3" - "@babel/preset-env" "^7.8.7" - "@babel/runtime" "^7.8.7" + "@babel/plugin-transform-runtime" "^7.9.0" + "@babel/preset-env" "^7.9.0" + "@babel/runtime" "^7.9.2" "@vue/babel-preset-jsx" "^1.1.2" core-js "^2.6.5" -"@nuxt/builder@2.12.0": - version "2.12.0" - resolved "https://registry.yarnpkg.com/@nuxt/builder/-/builder-2.12.0.tgz#5cf425f22251d2aae1af3eb9f75fd5e9e0a750ad" - integrity sha512-lgBdnv3jkI4Lgbtduaumjy5P2w4YxUOIzrdRCWufwY6lNSmjerTn1HBXObZUe27KCYoG25hX8zTKDlFuYSzvuA== +"@nuxt/builder@2.12.1": + version "2.12.1" + resolved "https://registry.yarnpkg.com/@nuxt/builder/-/builder-2.12.1.tgz#d4ff9eb3b83b845dc7cd2fab6860013accbd4601" + integrity sha512-gGRPkWUbEta7IrCRw2/FF2GzCU6320M/3WJj/CiG2t4aIyX+w4c4hmh2aVb4oNv7aMSLqqha9bySXJnIUJeIEA== dependencies: "@nuxt/devalue" "^1.2.4" - "@nuxt/utils" "2.12.0" - "@nuxt/vue-app" "2.12.0" - "@nuxt/webpack" "2.12.0" + "@nuxt/utils" "2.12.1" + "@nuxt/vue-app" "2.12.1" + "@nuxt/webpack" "2.12.1" chalk "^3.0.0" chokidar "^3.3.1" consola "^2.11.3" @@ -1396,13 +1243,13 @@ serialize-javascript "^3.0.0" upath "^1.2.0" -"@nuxt/cli@2.12.0": - version "2.12.0" - resolved "https://registry.yarnpkg.com/@nuxt/cli/-/cli-2.12.0.tgz#10083ad03c0f2999d85fea3ed577f5d0faa728a8" - integrity sha512-MBrDlPeq0hLNFqXIBNkvjSeMGMI5iOLyKt2/jxqhOSJCNsJU0p3xVzm/UQ10/Fv8ZR7B0guv/W0U4iJMSnxqYQ== +"@nuxt/cli@2.12.1": + version "2.12.1" + resolved "https://registry.yarnpkg.com/@nuxt/cli/-/cli-2.12.1.tgz#5aa4e6b48a9dd9ffac7077a1eb2dca457c22dcd1" + integrity sha512-7M6KcCjmzp3gOmIXnFrCypvUsZd8hmvu6GetfM1UwqrbL6gAN1yKrGv2gZa6rowcDqnVeXIbUHjzrkKD9lIFjg== dependencies: - "@nuxt/config" "2.12.0" - "@nuxt/utils" "2.12.0" + "@nuxt/config" "2.12.1" + "@nuxt/utils" "2.12.1" boxen "^4.2.0" chalk "^3.0.0" consola "^2.11.3" @@ -1417,26 +1264,26 @@ std-env "^2.2.1" wrap-ansi "^6.2.0" -"@nuxt/config@2.12.0": - version "2.12.0" - resolved "https://registry.yarnpkg.com/@nuxt/config/-/config-2.12.0.tgz#02a330b501aadbc2106b4d781505460619017b9d" - integrity sha512-DTg2QFzI5vLviJPgb6/MzzrpdoG/VQXsJh3sj3XAIecTJkssOj+cOGf3viAENbhxVtPVDd8tRGP8BI/Yap1VQw== +"@nuxt/config@2.12.1": + version "2.12.1" + resolved "https://registry.yarnpkg.com/@nuxt/config/-/config-2.12.1.tgz#5fe02a1af14ec7e099a7deb95d1dd38ab0747627" + integrity sha512-pfAVRwQdp9yyepQx4vuA2mWLDWSHePH9PtuKB2pFUPNg77P2pOff2cWmeYyvCvBvcccnnAYGJoi8wFSUWFs35Q== dependencies: - "@nuxt/utils" "2.12.0" + "@nuxt/utils" "2.12.1" consola "^2.11.3" esm "^3.2.25" std-env "^2.2.1" -"@nuxt/core@2.12.0": - version "2.12.0" - resolved "https://registry.yarnpkg.com/@nuxt/core/-/core-2.12.0.tgz#28da674102c714cd76a1f23593faaa84d02ab667" - integrity sha512-Hshv+topfJ4ToD7eMRRdGRMYsvomtian9nK5Rxmq54a8d0Pyc7d69J1Z2A09fvR1/ZeehpCbeqcOVia27PxwBA== +"@nuxt/core@2.12.1": + version "2.12.1" + resolved "https://registry.yarnpkg.com/@nuxt/core/-/core-2.12.1.tgz#ce075632a8855f3a726d0c93fb3fad9d21ebc59b" + integrity sha512-UOOXb5Dg494FmEH3caW9/yD8VdZqzBb/qU3IANqDtB3xpC3eJ19VWrM2/MIHIeiy9zMgzTSsDkpurR7f2mNVZA== dependencies: - "@nuxt/config" "2.12.0" + "@nuxt/config" "2.12.1" "@nuxt/devalue" "^1.2.4" - "@nuxt/server" "2.12.0" - "@nuxt/utils" "2.12.0" - "@nuxt/vue-renderer" "2.12.0" + "@nuxt/server" "2.12.1" + "@nuxt/utils" "2.12.1" + "@nuxt/vue-renderer" "2.12.1" consola "^2.11.3" debug "^4.1.1" esm "^3.2.25" @@ -1462,12 +1309,12 @@ error-stack-parser "^2.0.0" string-width "^2.0.0" -"@nuxt/generator@2.12.0": - version "2.12.0" - resolved "https://registry.yarnpkg.com/@nuxt/generator/-/generator-2.12.0.tgz#6e152a5291ef373e57f9be58b906c4a896dbc800" - integrity sha512-6tJvXHcEcG3zb1dutetWNETeJFKwozEze1WN2qVpXf0urwCxL/AhdSRLp/fqFtliHNXoLfA2SkRimNlQJ39h9Q== +"@nuxt/generator@2.12.1": + version "2.12.1" + resolved "https://registry.yarnpkg.com/@nuxt/generator/-/generator-2.12.1.tgz#57f4e7125feedfa507fbb6c3dcc11a0b3ecc35de" + integrity sha512-7PENrp0aVdqmUWM+/n+frbj4yaKiV7u3NF1l/SKrwotmX6QYHn7sdfsvL/gAQxyO9Pcb9ahHrpR7q2GA0CHXPg== dependencies: - "@nuxt/utils" "2.12.0" + "@nuxt/utils" "2.12.1" chalk "^3.0.0" consola "^2.11.3" fs-extra "^8.1.0" @@ -1492,14 +1339,14 @@ consola "^2.10.1" node-fetch "^2.6.0" -"@nuxt/server@2.12.0": - version "2.12.0" - resolved "https://registry.yarnpkg.com/@nuxt/server/-/server-2.12.0.tgz#fb5a3834cd80d75e173ba262c1cb20c22cd3ba17" - integrity sha512-1t+/A46f4E2ZYmyVuCFtY37G1fRZFDjKQp/TT50hWXJIr3VnNU43K24sSkdVpyPr2F5TOHLkGvFw+9Kt07fnTg== +"@nuxt/server@2.12.1": + version "2.12.1" + resolved "https://registry.yarnpkg.com/@nuxt/server/-/server-2.12.1.tgz#9480eef16d2ffb84595375a4df8e045fa6e5503f" + integrity sha512-nz+zRFkMVASsysAVLLJGxMOjgYl/GzDzsoYJz40dS1hUnAE5sg9iLINDPNn/rWDjuo2yTOZ8oAjlds2+RcxrRA== dependencies: - "@nuxt/config" "2.12.0" - "@nuxt/utils" "2.12.0" - "@nuxt/vue-renderer" "2.12.0" + "@nuxt/config" "2.12.1" + "@nuxt/utils" "2.12.1" + "@nuxt/vue-renderer" "2.12.1" "@nuxtjs/youch" "^4.2.3" chalk "^3.0.0" compression "^1.7.4" @@ -1516,10 +1363,10 @@ serve-static "^1.14.1" server-destroy "^1.0.1" -"@nuxt/utils@2.12.0": - version "2.12.0" - resolved "https://registry.yarnpkg.com/@nuxt/utils/-/utils-2.12.0.tgz#ebf069a40d3b2a80d3ad3535ee27b095e489933b" - integrity sha512-bJ0kHn7GnKbHYgINofknYiSISPIVkgKKkMSCKTlvm5mggGRhztTp2qrYbE4Tx5oNUO2c1odvh00XJH+doC17/g== +"@nuxt/utils@2.12.1": + version "2.12.1" + resolved "https://registry.yarnpkg.com/@nuxt/utils/-/utils-2.12.1.tgz#6e8ecaf38c55efcef16608e2a5b61c8950d45a5c" + integrity sha512-KlI2H2MlPqnhRONJv9ERwHBLIoQQIWB6wM5zJqXMTLdgNTLJDRk8GrTngiAgFn8fe31jaZ7lENLeCqE55u1RwA== dependencies: consola "^2.11.3" fs-extra "^8.1.0" @@ -1530,10 +1377,10 @@ signal-exit "^3.0.2" ua-parser-js "^0.7.21" -"@nuxt/vue-app@2.12.0": - version "2.12.0" - resolved "https://registry.yarnpkg.com/@nuxt/vue-app/-/vue-app-2.12.0.tgz#7ee77dd2c703dcc5a2f84920512d445476831ec2" - integrity sha512-skiplFupzxk2IynJAJ9evv52h4bfRRnfILucATyobIuzyXUccHmY1VqJRqk2QykL6jbQ3QumwqlfzpFkkhcvbg== +"@nuxt/vue-app@2.12.1": + version "2.12.1" + resolved "https://registry.yarnpkg.com/@nuxt/vue-app/-/vue-app-2.12.1.tgz#cfbe78c0646538e0f25c2fadd6623889aa754203" + integrity sha512-PrEyNvgpv0KD7YFsDBGBcLjOuJrKHTeLnzXoNM4lo7PB9x6qvy0xTGSEEvZ3zyYj74gOZ6BE/5oY0ioieLPZ8w== dependencies: node-fetch "^2.6.0" unfetch "^4.1.0" @@ -1545,13 +1392,13 @@ vue-template-compiler "^2.6.11" vuex "^3.1.3" -"@nuxt/vue-renderer@2.12.0": - version "2.12.0" - resolved "https://registry.yarnpkg.com/@nuxt/vue-renderer/-/vue-renderer-2.12.0.tgz#4d0590686229648cf214d4bf693ed2120a190acb" - integrity sha512-6Vlr1n+9Igcmwvo2z2xF8JSwZ+f0HgCERiUK1ne101QADVFDJyGryCbNzS2X6naFziJErqPrwcfwbowXlPg2pg== +"@nuxt/vue-renderer@2.12.1": + version "2.12.1" + resolved "https://registry.yarnpkg.com/@nuxt/vue-renderer/-/vue-renderer-2.12.1.tgz#ac01b9e784b6af61399c59763ae12cf45a5136f9" + integrity sha512-WRK/8HID/OxEywNNyaFwjqpCuV1W0g79fMAtKXiZZg2fDPo2Np8/YpPmP1XxxWnadZhO+C/CeLTr2tLwoe9gTw== dependencies: "@nuxt/devalue" "^1.2.4" - "@nuxt/utils" "2.12.0" + "@nuxt/utils" "2.12.1" consola "^2.11.3" fs-extra "^8.1.0" lru-cache "^5.1.1" @@ -1559,18 +1406,18 @@ vue-meta "^2.3.3" vue-server-renderer "^2.6.11" -"@nuxt/webpack@2.12.0": - version "2.12.0" - resolved "https://registry.yarnpkg.com/@nuxt/webpack/-/webpack-2.12.0.tgz#10c003f3539d52938021bae43592500af5fad006" - integrity sha512-Rc+CvuwMn1k+fSWxXU5mMTf9xvNUCrXXFlImHGel0+OCiYpJk3UksovY+B8+ljJNi8ALXraIKPtLa1UIIqq3ZQ== +"@nuxt/webpack@2.12.1": + version "2.12.1" + resolved "https://registry.yarnpkg.com/@nuxt/webpack/-/webpack-2.12.1.tgz#12c0b55df29ebfa45749aa34b9817d2879795718" + integrity sha512-LvpUH5V8+NMrJG6xY1mwqwd2eVfZr7xnKIDyfDLNw/8SulMT9IUz5j9xaP8i/bSvkcWNLMKlQXRPwa3QjT/yIw== dependencies: - "@babel/core" "^7.8.7" - "@nuxt/babel-preset-app" "2.12.0" + "@babel/core" "^7.9.0" + "@nuxt/babel-preset-app" "2.12.1" "@nuxt/friendly-errors-webpack-plugin" "^2.5.0" - "@nuxt/utils" "2.12.0" - babel-loader "^8.0.6" + "@nuxt/utils" "2.12.1" + babel-loader "^8.1.0" cache-loader "^4.1.0" - caniuse-lite "^1.0.30001035" + caniuse-lite "^1.0.30001036" chalk "^3.0.0" consola "^2.11.3" css-loader "^3.4.2" @@ -1598,8 +1445,8 @@ thread-loader "^2.1.3" time-fix-plugin "^2.0.6" url-loader "^2.3.0" - vue-loader "^15.9.0" - webpack "^4.42.0" + vue-loader "^15.9.1" + webpack "^4.42.1" webpack-bundle-analyzer "^3.6.1" webpack-dev-middleware "^3.7.2" webpack-hot-middleware "^2.25.0" @@ -1910,150 +1757,149 @@ dom-event-types "^1.0.0" lodash "^4.17.4" -"@webassemblyjs/ast@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359" - integrity sha512-aJMfngIZ65+t71C3y2nBBg5FFG0Okt9m0XEgWZ7Ywgn1oMAT8cNwx00Uv1cQyHtidq0Xn94R4TAywO+LCQ+ZAQ== - dependencies: - "@webassemblyjs/helper-module-context" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/wast-parser" "1.8.5" - -"@webassemblyjs/floating-point-hex-parser@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.5.tgz#1ba926a2923613edce496fd5b02e8ce8a5f49721" - integrity sha512-9p+79WHru1oqBh9ewP9zW95E3XAo+90oth7S5Re3eQnECGq59ly1Ri5tsIipKGpiStHsUYmY3zMLqtk3gTcOtQ== - -"@webassemblyjs/helper-api-error@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.5.tgz#c49dad22f645227c5edb610bdb9697f1aab721f7" - integrity sha512-Za/tnzsvnqdaSPOUXHyKJ2XI7PDX64kWtURyGiJJZKVEdFOsdKUCPTNEVFZq3zJ2R0G5wc2PZ5gvdTRFgm81zA== - -"@webassemblyjs/helper-buffer@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.5.tgz#fea93e429863dd5e4338555f42292385a653f204" - integrity sha512-Ri2R8nOS0U6G49Q86goFIPNgjyl6+oE1abW1pS84BuhP1Qcr5JqMwRFT3Ah3ADDDYGEgGs1iyb1DGX+kAi/c/Q== - -"@webassemblyjs/helper-code-frame@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.5.tgz#9a740ff48e3faa3022b1dff54423df9aa293c25e" - integrity sha512-VQAadSubZIhNpH46IR3yWO4kZZjMxN1opDrzePLdVKAZ+DFjkGD/rf4v1jap744uPVU6yjL/smZbRIIJTOUnKQ== - dependencies: - "@webassemblyjs/wast-printer" "1.8.5" - -"@webassemblyjs/helper-fsm@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.5.tgz#ba0b7d3b3f7e4733da6059c9332275d860702452" - integrity sha512-kRuX/saORcg8se/ft6Q2UbRpZwP4y7YrWsLXPbbmtepKr22i8Z4O3V5QE9DbZK908dh5Xya4Un57SDIKwB9eow== - -"@webassemblyjs/helper-module-context@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.5.tgz#def4b9927b0101dc8cbbd8d1edb5b7b9c82eb245" - integrity sha512-/O1B236mN7UNEU4t9X7Pj38i4VoU8CcMHyy3l2cV/kIF4U5KoHXDVqcDuOs1ltkac90IM4vZdHc52t1x8Yfs3g== - dependencies: - "@webassemblyjs/ast" "1.8.5" - mamacro "^0.0.3" - -"@webassemblyjs/helper-wasm-bytecode@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.5.tgz#537a750eddf5c1e932f3744206551c91c1b93e61" - integrity sha512-Cu4YMYG3Ddl72CbmpjU/wbP6SACcOPVbHN1dI4VJNJVgFwaKf1ppeFJrwydOG3NDHxVGuCfPlLZNyEdIYlQ6QQ== - -"@webassemblyjs/helper-wasm-section@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.5.tgz#74ca6a6bcbe19e50a3b6b462847e69503e6bfcbf" - integrity sha512-VV083zwR+VTrIWWtgIUpqfvVdK4ff38loRmrdDBgBT8ADXYsEZ5mPQ4Nde90N3UYatHdYoDIFb7oHzMncI02tA== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-buffer" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/wasm-gen" "1.8.5" - -"@webassemblyjs/ieee754@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.8.5.tgz#712329dbef240f36bf57bd2f7b8fb9bf4154421e" - integrity sha512-aaCvQYrvKbY/n6wKHb/ylAJr27GglahUO89CcGXMItrOBqRarUMxWLJgxm9PJNuKULwN5n1csT9bYoMeZOGF3g== +"@webassemblyjs/ast@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964" + integrity sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA== + dependencies: + "@webassemblyjs/helper-module-context" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/wast-parser" "1.9.0" + +"@webassemblyjs/floating-point-hex-parser@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz#3c3d3b271bddfc84deb00f71344438311d52ffb4" + integrity sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA== + +"@webassemblyjs/helper-api-error@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz#203f676e333b96c9da2eeab3ccef33c45928b6a2" + integrity sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw== + +"@webassemblyjs/helper-buffer@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz#a1442d269c5feb23fcbc9ef759dac3547f29de00" + integrity sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA== + +"@webassemblyjs/helper-code-frame@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz#647f8892cd2043a82ac0c8c5e75c36f1d9159f27" + integrity sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA== + dependencies: + "@webassemblyjs/wast-printer" "1.9.0" + +"@webassemblyjs/helper-fsm@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz#c05256b71244214671f4b08ec108ad63b70eddb8" + integrity sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw== + +"@webassemblyjs/helper-module-context@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz#25d8884b76839871a08a6c6f806c3979ef712f07" + integrity sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g== + dependencies: + "@webassemblyjs/ast" "1.9.0" + +"@webassemblyjs/helper-wasm-bytecode@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz#4fed8beac9b8c14f8c58b70d124d549dd1fe5790" + integrity sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw== + +"@webassemblyjs/helper-wasm-section@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz#5a4138d5a6292ba18b04c5ae49717e4167965346" + integrity sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-buffer" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/wasm-gen" "1.9.0" + +"@webassemblyjs/ieee754@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz#15c7a0fbaae83fb26143bbacf6d6df1702ad39e4" + integrity sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg== dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/leb128@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.8.5.tgz#044edeb34ea679f3e04cd4fd9824d5e35767ae10" - integrity sha512-plYUuUwleLIziknvlP8VpTgO4kqNaH57Y3JnNa6DLpu/sGcP6hbVdfdX5aHAV716pQBKrfuU26BJK29qY37J7A== +"@webassemblyjs/leb128@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.9.0.tgz#f19ca0b76a6dc55623a09cffa769e838fa1e1c95" + integrity sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw== dependencies: "@xtuc/long" "4.2.2" -"@webassemblyjs/utf8@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.8.5.tgz#a8bf3b5d8ffe986c7c1e373ccbdc2a0915f0cedc" - integrity sha512-U7zgftmQriw37tfD934UNInokz6yTmn29inT2cAetAsaU9YeVCveWEwhKL1Mg4yS7q//NGdzy79nlXh3bT8Kjw== - -"@webassemblyjs/wasm-edit@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.5.tgz#962da12aa5acc1c131c81c4232991c82ce56e01a" - integrity sha512-A41EMy8MWw5yvqj7MQzkDjU29K7UJq1VrX2vWLzfpRHt3ISftOXqrtojn7nlPsZ9Ijhp5NwuODuycSvfAO/26Q== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-buffer" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/helper-wasm-section" "1.8.5" - "@webassemblyjs/wasm-gen" "1.8.5" - "@webassemblyjs/wasm-opt" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" - "@webassemblyjs/wast-printer" "1.8.5" - -"@webassemblyjs/wasm-gen@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.5.tgz#54840766c2c1002eb64ed1abe720aded714f98bc" - integrity sha512-BCZBT0LURC0CXDzj5FXSc2FPTsxwp3nWcqXQdOZE4U7h7i8FqtFK5Egia6f9raQLpEKT1VL7zr4r3+QX6zArWg== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/ieee754" "1.8.5" - "@webassemblyjs/leb128" "1.8.5" - "@webassemblyjs/utf8" "1.8.5" - -"@webassemblyjs/wasm-opt@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.5.tgz#b24d9f6ba50394af1349f510afa8ffcb8a63d264" - integrity sha512-HKo2mO/Uh9A6ojzu7cjslGaHaUU14LdLbGEKqTR7PBKwT6LdPtLLh9fPY33rmr5wcOMrsWDbbdCHq4hQUdd37Q== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-buffer" "1.8.5" - "@webassemblyjs/wasm-gen" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" - -"@webassemblyjs/wasm-parser@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.5.tgz#21576f0ec88b91427357b8536383668ef7c66b8d" - integrity sha512-pi0SYE9T6tfcMkthwcgCpL0cM9nRYr6/6fjgDtL6q/ZqKHdMWvxitRi5JcZ7RI4SNJJYnYNaWy5UUrHQy998lw== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-api-error" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/ieee754" "1.8.5" - "@webassemblyjs/leb128" "1.8.5" - "@webassemblyjs/utf8" "1.8.5" - -"@webassemblyjs/wast-parser@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.8.5.tgz#e10eecd542d0e7bd394f6827c49f3df6d4eefb8c" - integrity sha512-daXC1FyKWHF1i11obK086QRlsMsY4+tIOKgBqI1lxAnkp9xe9YMcgOxm9kLe+ttjs5aWV2KKE1TWJCN57/Btsg== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/floating-point-hex-parser" "1.8.5" - "@webassemblyjs/helper-api-error" "1.8.5" - "@webassemblyjs/helper-code-frame" "1.8.5" - "@webassemblyjs/helper-fsm" "1.8.5" +"@webassemblyjs/utf8@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.9.0.tgz#04d33b636f78e6a6813227e82402f7637b6229ab" + integrity sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w== + +"@webassemblyjs/wasm-edit@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz#3fe6d79d3f0f922183aa86002c42dd256cfee9cf" + integrity sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-buffer" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/helper-wasm-section" "1.9.0" + "@webassemblyjs/wasm-gen" "1.9.0" + "@webassemblyjs/wasm-opt" "1.9.0" + "@webassemblyjs/wasm-parser" "1.9.0" + "@webassemblyjs/wast-printer" "1.9.0" + +"@webassemblyjs/wasm-gen@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz#50bc70ec68ded8e2763b01a1418bf43491a7a49c" + integrity sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/ieee754" "1.9.0" + "@webassemblyjs/leb128" "1.9.0" + "@webassemblyjs/utf8" "1.9.0" + +"@webassemblyjs/wasm-opt@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz#2211181e5b31326443cc8112eb9f0b9028721a61" + integrity sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-buffer" "1.9.0" + "@webassemblyjs/wasm-gen" "1.9.0" + "@webassemblyjs/wasm-parser" "1.9.0" + +"@webassemblyjs/wasm-parser@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz#9d48e44826df4a6598294aa6c87469d642fff65e" + integrity sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-api-error" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/ieee754" "1.9.0" + "@webassemblyjs/leb128" "1.9.0" + "@webassemblyjs/utf8" "1.9.0" + +"@webassemblyjs/wast-parser@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz#3031115d79ac5bd261556cecc3fa90a3ef451914" + integrity sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/floating-point-hex-parser" "1.9.0" + "@webassemblyjs/helper-api-error" "1.9.0" + "@webassemblyjs/helper-code-frame" "1.9.0" + "@webassemblyjs/helper-fsm" "1.9.0" "@xtuc/long" "4.2.2" -"@webassemblyjs/wast-printer@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.8.5.tgz#114bbc481fd10ca0e23b3560fa812748b0bae5bc" - integrity sha512-w0U0pD4EhlnvRyeJzBqaVSJAo9w/ce7/WPogeXLzGkO6hzhr4GnQIZ4W4uUt5b9ooAaXPtnXlj0gzsXEOUNYMg== +"@webassemblyjs/wast-printer@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz#4935d54c85fef637b00ce9f52377451d00d47899" + integrity sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA== dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/wast-parser" "1.8.5" + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/wast-parser" "1.9.0" "@xtuc/long" "4.2.2" "@xtuc/ieee754@^1.2.0": @@ -2559,15 +2405,16 @@ babel-jest@^25.2.0: chalk "^3.0.0" slash "^3.0.0" -babel-loader@^8.0.6: - version "8.0.6" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.0.6.tgz#e33bdb6f362b03f4bb141a0c21ab87c501b70dfb" - integrity sha512-4BmWKtBOBm13uoUwd08UwjZlaw3O9GWf456R9j+5YykFZ6LUIjIKLc0zEZf+hauxPOJs96C8k6FvYD09vWzhYw== +babel-loader@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.1.0.tgz#c611d5112bd5209abe8b9fa84c3e4da25275f1c3" + integrity sha512-7q7nC1tYOrqvUrN3LQK4GwSk/TQorZSOlO9C+RZDZpODgyN4ZlCqE5q9cDsyWOliN+aU9B4JX01xK9eJXowJLw== dependencies: - find-cache-dir "^2.0.0" - loader-utils "^1.0.2" - mkdirp "^0.5.1" + find-cache-dir "^2.1.0" + loader-utils "^1.4.0" + mkdirp "^0.5.3" pify "^4.0.1" + schema-utils "^2.6.5" babel-messages@^6.23.0: version "6.23.0" @@ -8168,7 +8015,7 @@ loader-utils@^0.2.16: json5 "^0.5.0" object-assign "^4.0.1" -loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3: +loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613" integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA== @@ -8406,11 +8253,6 @@ makeerror@1.0.x: dependencies: tmpl "1.0.x" -mamacro@^0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/mamacro/-/mamacro-0.0.3.tgz#ad2c9576197c9f1abf308d0787865bd975a3f3e4" - integrity sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA== - map-cache@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" @@ -8754,6 +8596,13 @@ mixin-deep@^1.2.0: dependencies: minimist "0.0.8" +mkdirp@^0.5.3: + version "0.5.4" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.4.tgz#fd01504a6797ec5c9be81ff43d204961ed64a512" + integrity sha512-iG9AK/dJLtJ0XNgTuDbSyNS3zECqDlAhnQW4CsNxBG3LQJBbHmRX1egw39DmtOdCAqY+dKXV+sgPgilNWUKMVw== + dependencies: + minimist "^1.2.5" + modify-values@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" @@ -9127,18 +8976,18 @@ number-is-nan@^1.0.0: resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= -nuxt@^2.12.0: - version "2.12.0" - resolved "https://registry.yarnpkg.com/nuxt/-/nuxt-2.12.0.tgz#b81794edc023352bd100532e5192f0d1b49ec67b" - integrity sha512-odEBOWQ6QSYhal7R9hZxHidm1kpTc2PoDL3w8a541PRSyzZFfVnWla7fRXOyMANbzfO8U7wpwq++eia8vnBr0A== +nuxt@^2.12.1: + version "2.12.1" + resolved "https://registry.yarnpkg.com/nuxt/-/nuxt-2.12.1.tgz#68489eeeaa287e8b8896d425265c6d951dae8247" + integrity sha512-L37yoOCerBE/vhn9dgpTWrd0yZMW0irjiTkjBZ4ogIMEXH2McAVK9IGP4gBsp+/GRdhrni516kzevDXQjSo8Tg== dependencies: - "@nuxt/builder" "2.12.0" - "@nuxt/cli" "2.12.0" - "@nuxt/core" "2.12.0" - "@nuxt/generator" "2.12.0" + "@nuxt/builder" "2.12.1" + "@nuxt/cli" "2.12.1" + "@nuxt/core" "2.12.1" + "@nuxt/generator" "2.12.1" "@nuxt/loading-screen" "^1.2.0" "@nuxt/opencollective" "^0.3.0" - "@nuxt/webpack" "2.12.0" + "@nuxt/webpack" "2.12.1" nwsapi@^2.1.3, nwsapi@^2.2.0: version "2.2.0" @@ -13112,10 +12961,10 @@ vue-jest@^3.0.5: tsconfig "^7.0.0" vue-template-es2015-compiler "^1.6.0" -vue-loader@^15.9.0: - version "15.9.0" - resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.9.0.tgz#5d4b0378a4606188fc83e587ed23c94bc3a10998" - integrity sha512-FeDHvTSpwyLeF7LIV1PYkvqUQgTJ8UmOxhSlCyRSxaXCKk+M6NF4tDQsLsPPNeDPyR7TfRQ8MLg6v+8PsDV9xQ== +vue-loader@^15.9.1: + version "15.9.1" + resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.9.1.tgz#bd2ab8f3d281e51d7b81d15390a58424d142243e" + integrity sha512-IaPU2KOPjs/QjMlxFs/TiTtQUSbftQ7lsAvoxe21rtcQohsMhx+1AltXCNhZIpIn46PtODiAgz+o8RbMpKtmJw== dependencies: "@vue/component-compiler-utils" "^3.1.0" hash-sum "^1.0.2" @@ -13294,15 +13143,15 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack- source-list-map "^2.0.0" source-map "~0.6.1" -webpack@^4.42.0: - version "4.42.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.42.0.tgz#b901635dd6179391d90740a63c93f76f39883eb8" - integrity sha512-EzJRHvwQyBiYrYqhyjW9AqM90dE4+s1/XtCfn7uWg6cS72zH+2VPFAlsnW0+W0cDi0XRjNKUMoJtpSi50+Ph6w== +webpack@^4.42.1: + version "4.42.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.42.1.tgz#ae707baf091f5ca3ef9c38b884287cfe8f1983ef" + integrity sha512-SGfYMigqEfdGchGhFFJ9KyRpQKnipvEvjc1TwrXEPCM6H5Wywu10ka8o3KGrMzSMxMQKt8aCHUFh5DaQ9UmyRg== dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-module-context" "1.8.5" - "@webassemblyjs/wasm-edit" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-module-context" "1.9.0" + "@webassemblyjs/wasm-edit" "1.9.0" + "@webassemblyjs/wasm-parser" "1.9.0" acorn "^6.2.1" ajv "^6.10.2" ajv-keywords "^3.4.1" @@ -13314,7 +13163,7 @@ webpack@^4.42.0: loader-utils "^1.2.3" memory-fs "^0.4.1" micromatch "^3.1.10" - mkdirp "^0.5.1" + mkdirp "^0.5.3" neo-async "^2.6.1" node-libs-browser "^2.2.1" schema-utils "^1.0.0" From 567061a33bdc8655b3ed69db0a5dc71889305deb Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Wed, 25 Mar 2020 21:05:50 -0300 Subject: [PATCH 18/18] chore: bump version and update changelog (#5020) --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03905e3f8bc..00f5ba73704 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,40 @@ > All notable changes to this project will be documented in this file. + + +## [v2.9.0](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.8.0...v2.9.0) + +Released: 2020-03-25 + +### Features v2.9.0 + +- **b-aspect:** new custom component `` + ([#5008](https://github.com/bootstrap-vue/bootstrap-vue/issues/5008)) + ([662c8e0](https://github.com/bootstrap-vue/bootstrap-vue/commit/662c8e0709c8c73fb2119976d1906943cfe6daad)) +- **b-avatar:** add `alt` prop for adding alt attribute to image and icon avatars (closes + [#4990](https://github.com/bootstrap-vue/bootstrap-vue/issues/4990)) + ([#4991](https://github.com/bootstrap-vue/bootstrap-vue/issues/4991)) + ([d1474f2](https://github.com/bootstrap-vue/bootstrap-vue/commit/d1474f28729e4e13ad97b75a87d56f85543d4c96)) +- **b-drodpown-item-button, b-drodpown-item-button:** add `button-class` and `link-class` prop + ([#5014](https://github.com/bootstrap-vue/bootstrap-vue/issues/5014)) + ([b39d31c](https://github.com/bootstrap-vue/bootstrap-vue/commit/b39d31cede76b594b5608fa472d53e3dac525e2b)) +- **b-form-datepicker, b-form-timepicker:** emit `shown` and `hidden` events + ([#5004](https://github.com/bootstrap-vue/bootstrap-vue/issues/5004)) + ([eb259b9](https://github.com/bootstrap-vue/bootstrap-vue/commit/eb259b998dfd3e88a1b04ed8d3f4c97560f69dbb)) +- **b-navbar-toggle:** make default slot scoped + ([#4995](https://github.com/bootstrap-vue/bootstrap-vue/issues/4995)) + ([144d45f](https://github.com/bootstrap-vue/bootstrap-vue/commit/144d45fb0e4d66bbf243b4a4df39d7f3b9b5c7cc)) + +### Docs v2.9.0 + +- Ensure that the `IconsPlugin` is imported when exporting from playground to CodePen, CodeSandbox, + and JsFiddle ([#5003](https://github.com/bootstrap-vue/bootstrap-vue/issues/5003)) + +### Other v2.9.0 + +- dev dependency updates + ## [v2.8.0](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.7.0...v2.8.0) diff --git a/package.json b/package.json index 3712f7b71ee..86d792f4c56 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bootstrap-vue", - "version": "2.8.0", + "version": "2.9.0", "description": "BootstrapVue, with more than 85 custom components, over 45 plugins, several custom directives, and over 300 icons, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-ARIA accessibility markup.", "main": "dist/bootstrap-vue.common.js", "web": "dist/bootstrap-vue.js",