Skip to content

Commit

Permalink
Update devDependencies
Browse files Browse the repository at this point in the history
* @babel/cli                   ^7.14.8  →  ^7.15.5
* @babel/core                  ^7.14.8  →  ^7.15.4
* @babel/preset-env            ^7.14.8  →  ^7.15.6
* @rollup/plugin-commonjs      ^19.0.1  →  ^20.0.0
* @rollup/plugin-node-resolve  ^13.0.2  →  ^13.0.4
* autoprefixer                 ^10.3.1  →  ^10.3.4
* clean-css-cli                 ^5.3.0  →   ^5.3.3
* eslint                       ^7.31.0  →  ^7.32.0
* eslint-config-xo             ^0.37.0  →  ^0.38.0
* eslint-plugin-import         ^2.23.4  →  ^2.24.2
* eslint-plugin-unicorn        ^34.0.1  →  ^36.0.0
* hugo-bin                     ^0.74.0  →  ^0.76.1
* qunit                        ^2.16.0  →  ^2.17.1
* postcss                       ^8.3.5  →   ^8.3.6
* rollup                       ^2.53.3  →  ^2.56.3
* vnu-jar                      21.6.11  →   21.9.2
  • Loading branch information
XhmikosR committed Sep 15, 2021
1 parent cb55e38 commit e202996
Show file tree
Hide file tree
Showing 6 changed files with 644 additions and 546 deletions.
6 changes: 5 additions & 1 deletion build/vnu-jar.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ execFile('java', ['-version'], (error, stdout, stderr) => {
'Attribute “autocomplete” not allowed on element “button” at this point.',
// IE11 doesn't recognise <main> / give the element an implicit "main" landmark.
// Explicit role="main" is redundant for other modern browsers, but still valid.
'The “main” role is unnecessary for element “main”.'
'The “main” role is unnecessary for element “main”.',
// Per https://www.w3.org/TR/html-aria/#docconformance having "aria-disabled" on a link is
// NOT RECOMMENDED, but it's still valid - we explain in the docs that it's not ideal,
// and offer more robust alternatives, but also need to show a less-than-ideal example
'An “aria-disabled” attribute whose value is “true” should not be specified on an “a” element that has an “href” attribute.'
].join('|')

const args = [
Expand Down
2 changes: 1 addition & 1 deletion js/src/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ class Dropdown {
offset.fn = data => {
data.offsets = {
...data.offsets,
...(this._config.offset(data.offsets, this._element) || {})
...this._config.offset(data.offsets, this._element)
}

return data
Expand Down
2 changes: 1 addition & 1 deletion js/src/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ class Tooltip {
offset.fn = data => {
data.offsets = {
...data.offsets,
...(this.config.offset(data.offsets, this.element) || {})
...this.config.offset(data.offsets, this.element)
}

return data
Expand Down
1 change: 1 addition & 0 deletions js/tests/unit/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"prefer-arrow-callback": "off",
"prefer-rest-params": "off",
"prefer-template": "off",
"unicorn/prefer-add-event-listener": "off",
"unicorn/prefer-spread": "off"
}
}
Loading

0 comments on commit e202996

Please sign in to comment.