Skip to content

Commit 2082322

Browse files
authored
chore: release v2.4.2
chore: release v2.4.2
2 parents d2ed469 + 1e02769 commit 2082322

File tree

100 files changed

+769
-442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+769
-442
lines changed

.eslintrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ module.exports = {
1414
Vue: true
1515
},
1616
rules: {
17+
'no-unused-vars': [
18+
'error',
19+
{
20+
vars: 'all',
21+
args: 'after-used',
22+
ignoreRestSiblings: false
23+
}
24+
],
1725
'spaced-comment': 'off', // needed to ignore `/*#__PURE__*/` comments
1826
'vue/html-self-closing': [
1927
'error',

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@
44
> [standard-version](https://github.com/conventional-changelog/standard-version) for commit
55
> guidelines.
66
7+
<a name="2.4.2"></a>
8+
9+
## [v2.4.2](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.4.1...v2.4.2)
10+
11+
Released: 2020-02-15
12+
13+
### Bug Fixes v2.4.2
14+
15+
- **b-button:** when `href` is "#" add `role=button` and appropriate keydown handlers for A11Y
16+
([#4768](https://github.com/bootstrap-vue/bootstrap-vue/issues/4768))
17+
([087a128](https://github.com/bootstrap-vue/bootstrap-vue/commit/087a1283977061c44d5b059c203f13d2326dabae))
18+
- **b-modal:** fix transition show enter timing (closes
19+
[#4761](https://github.com/bootstrap-vue/bootstrap-vue/issues/4761))
20+
([#4766](https://github.com/bootstrap-vue/bootstrap-vue/issues/4766))
21+
([968c957](https://github.com/bootstrap-vue/bootstrap-vue/commit/968c95758e45610a8c002507790c79d87d8fe956))
22+
23+
### Other v2.4.2
24+
25+
- documentation updates
26+
- dev dependency updates
27+
728
<a name="2.4.1"></a>
829

930
## [v2.4.1](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.4.0...v2.4.1)

docs/common-props.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"description": "Sets the 'placeholder' attribute value on the form control"
127127
},
128128
"readonly": {
129-
"description": "Sets the 'readonly' attribute on hte form control"
129+
"description": "Sets the 'readonly' attribute on the form control"
130130
},
131131
"plaintext": {
132132
"description": "Set the form control as readonly and renders the control to look like plain text (no borders)"

docs/markdown/reference/images/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ In your `nuxt.config.js` file, add the following to your build section:
9797
```js
9898
module.exports = {
9999
build: {
100-
extend(config, ctx) {
100+
extend(config) {
101101
const vueLoader = config.module.rules.find(rule => rule.loader === 'vue-loader')
102102
vueLoader.options.transformAssetUrls = {
103103
video: ['src', 'poster'],

docs/nuxt.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ renderer.blockquote = function(text) {
9999

100100
// Bootstrap v4 table support for markdown renderer
101101
const originalTable = renderer.table
102-
renderer.table = function(header, body) {
102+
renderer.table = function() {
103103
let table = originalTable.apply(this, arguments)
104104
table = table
105105
.replace('<table>', '<table class="b-table table table-bordered table-striped bv-docs-table">')

docs/pages/play.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,15 +597,15 @@ export default {
597597
// appData watcher
598598
this.contentUnWatch = this.$watch(
599599
'appData',
600-
(newVal, oldVal) => {
600+
() => {
601601
this.run()
602602
},
603603
{ deep: true }
604604
)
605605
// Javascript watcher
606606
this.jsUnWatch = this.$watch(
607607
() => this.js.trim(),
608-
(newVal, oldVal) => {
608+
() => {
609609
this.compileJs()
610610
},
611611
{ immediate: true }

docs/plugins/play.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const destroyVM = (name, vm) => {
8686
;[...document.querySelectorAll(`.vue-example-${name}`)].forEach(removeNode)
8787
}
8888

89-
const processExamples = (el, binding, vnode, oldVnode) => {
89+
const processExamples = (el, binding, vnode) => {
9090
if (vnode.context.$options.beforeDestroy) {
9191
vnode.context.$options.beforeDestroy = []
9292
.concat(vnode.context.$options.beforeDestroy)

docs/utils/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export const makeTOC = (readme, meta = null) => {
113113
// Filter out un-matched values
114114
.filter(v => Array.isArray(v))
115115
// Create TOC structure
116-
.forEach(([value, tag, id, content]) => {
116+
.forEach(([, tag, id, content]) => {
117117
const href = `#${stripQuotes(id)}`
118118
const label = stripHTML(content)
119119
if (tag === 'h2') {

nuxt/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ module.exports = function nuxtBootstrapVue(moduleOptions = {}) {
9292
if (!usePretranspiled) {
9393
// Use bootstrap-vue source code for smaller prod builds
9494
// by aliasing 'bootstrap-vue' to the source files
95-
this.extendBuild((config, { isServer }) => {
95+
this.extendBuild(config => {
9696
if (!config.resolve.alias) {
9797
config.resolve.alias = {}
9898
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-vue",
3-
"version": "2.4.1",
3+
"version": "2.4.2",
44
"description": "BootstrapVue, with over 40 plugins and more than 80 custom components, 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.",
55
"main": "dist/bootstrap-vue.common.js",
66
"web": "dist/bootstrap-vue.js",
@@ -145,7 +145,7 @@
145145
"postcss-cli": "^7.1.0",
146146
"prettier": "1.14.3",
147147
"require-context": "^1.1.0",
148-
"rollup": "^1.31.0",
148+
"rollup": "^1.31.1",
149149
"rollup-plugin-babel": "^4.3.3",
150150
"rollup-plugin-commonjs": "^10.1.0",
151151
"rollup-plugin-node-resolve": "^5.2.0",

0 commit comments

Comments
 (0)